/*  --------------------------------------------------------------------------------------------------------------
 	PromoCode
 	--------------------------------------------------------------------------------------------------------------
*/

#share-voucher {
    background-color: #75b42b;
    border-radius: 2px;
    font-size: 18px;
    font-size: 1.8rem;
    /*height: 40px;*/
    line-height: 40px;
    padding: 0 10px;
    margin: 3rem 0;
    position: relative;
    color: #FFF;
    border: 2px solid #75b42b;
    box-shadow: none;
    text-align: center;
    display: block;
    text-decoration: none;
    font-weight: bold;
    -webkit-transition: all 200ms ease; /* Firefox */
    -moz-transition: all 200ms ease; /* WebKit */
    -o-transition: all 200ms ease; /* Opera */
    transition: all 200ms ease; /* Standard */
}

.website-container #share-voucher.btn-disabled:hover {
    color: #FFF !important;
}

#share-voucher.btn-disabled {
    opacity: 0.5;
}

#share-voucher:hover {
    color: #75b42b;
    background-color: #FFF;
}

.promocode-campaign-card {
    border-radius: 5px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.promocode-campaign-card .promocode-campaing-image {
    background-image: url("images/campaignImageTA.png");
    background-color: #75b42b;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 50.25%;
}

.promocode-campaign-card .promocode-campaing-image.cf-image {
    background-image: url("images/campaignImageCF.png");
}

.promocode-campaign-card .promocode-campaing-text {
    padding: 2rem 3rem;
    line-height: 1.38;
    letter-spacing: normal;
}

.promocode-intro-text {
    font-weight: bold;
    font-size: 2rem;
}

.promocode-list {
    list-style: none;
    padding: 0px !important;

}

.promocode-list-item {
    display: block;
    margin-bottom: 5px;
    padding: 2rem 1.5rem 0.5rem 1.5rem;
    height: 48px;
    overflow: visible;
    position: relative;
    -webkit-transition: all 200ms ease; /* Firefox */
    -moz-transition: all 200ms ease; /* WebKit */
    -o-transition: all 200ms ease; /* Opera */
    transition: all 200ms ease; /* Standard */
}

.promocode-list-item.send-item {
    border-top: 1px solid #d8d8d8;
    margin-top: 5px !important;
}

.promocode-list-item:first-of-type,
.promocode-list-item.send-item:not(:last-child):last-of-type {
    border-top: 1px solid #fff !important;
    margin-top: 0px !important;
}

.promocode-list-item.own-item.empty-item:after {
    display: none;
}

.promocode-list-item.own-item .item-click {
    width: 100%;
    height: 48px;
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    pointer-events: none;
}

.promocode-list-item.own-item.open:not(.empty-item):after {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.promocode-list-item.open {
    height: auto !important;
}

.promocode-list-item:first-of-type {
    margin-bottom: 9px;
}

.promocode-list-item:before {
    content: "" !important;
    background-image: url("images/icon-account-blue.png");
    background-color: #FFF;
    background-size: 48px;
    background-repeat: no-repeat;
    background-position: 4px -5px;
    width: 50px !important;
    height: 48px;
    display: inline-block;
    position: absolute;
    margin: 0 !important;
    left: 10px;
}

.promocode-list-item.own-item:before {
    background-image: url("images/icon-account.png");
    background-size: 42px;
    background-position: 4px -3px;
}

.promocode-list-item .item-content {
    display: inline-block;
    padding: 0px;
    float: left;
    width: 100%;
    overflow: hidden !important;
}

.promocode-list-item .item-details {
    display: block;
    padding: 0px;
    float: left;
    width: 100%;
    margin-top: 26px;
}

.promocode-list-item .item-details ul {
    list-style: none;
    padding-left: 60px;
}

.promocode-list-item .item-details ul li:not(:last-child) {
    margin-bottom: 15px;
}

.promocode-list-item .item-details ul li .promocode-own-item {
    font-weight: bold;
}

.promocode-list-item.open .item-details {
    /*pointer-events: none;*/
}

.promocode-list-item .item-content h3 {
    margin: 0px 0px 0px 0px;
    padding-left: 60px;
}

.promocode-list-item .item-details ul li,
.promocode-list-item .item-details ul li div,
.promocode-list-item .item-details ul li div span,
.promocode-list-item .item-content span {
    font-size: 1.4rem;
}

.promocode-list-item .item-content div.item-meta {
    padding-left: 60px;
    display: block;
    font-size: 1.4rem;
    color: #000;
    position: relative;
}

.promocode-list-item .voucher-status {
    display: inline-block;
    min-width: 10px;
    padding: 5px 5px;
    font-size: 1.4rem !important;
    line-height: 1;
    color: #000 !important;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #777;
    border-radius: 20px;
    float: right;
    width: 90px;
    position: absolute;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                     supported by Chrome and Opera */
}

.promocode-list-item.send-item .voucher-status {
    top: -15px;
    right: 0px;
}

.promocode-list-item .voucher-status.status-1 {
    background: #fbe17e;
}

.promocode-list-item .voucher-status.status-2 {
    background: #75b42b;
    padding: 5px 10px;
    margin-top: -13px;
    cursor: pointer;
    pointer-events: inherit;
}

.promocode-list-item .voucher-status.status-3 {
    background: #c6dfb4;
}

.promo-list-note {
    font-size: 1.4rem;
    margin-top: 10px;
    padding: 1.5rem 1.5rem;
    position: relative;
    color: rgba(0, 0, 0, 0.6);
}

.promo-list-note:before {
    content: '* ';
    display: inline-block;
    position: absolute;
    left: 3px;
}

.promocode-list-item.own-item {
    margin-top: 2rem;
}

.voucher-dialog {
    height: inherit !important;
}

.voucher-dialog #the-dialog-message {
    text-align: center;
}

/* Desktop changes */

.website-container ul {
    padding-left: 0px !important;
}

.website-container .promocode-list-item.own-item {
    margin-bottom: 10px !important;
    margin-top: 2rem;
}

.website-container .promocode-list-item {
    height: 75px !important;
    margin-bottom: 5px !important;
}

.website-container .promocode-list-item.own-item .item-click {
    height: 75px;
}

.website-container .promocode-list-item .item-details {
    margin-top: 10px;
}

.website-container .promocode-list-item.open {
    height: auto !important;
}

.website-container .promocode-list-item .item-details {
    padding-left: 60px;
}

.website-container .promocode-list-own li:before {
    content: "" !important;
}

.website-container .promocode-list {
    margin-top: 1.5rem;
}

.website-container .promocode-list-item .voucher-status {
    width: 120px;
    padding: 5px 12px;
    font-size: 1.6rem !important;
}

@media screen and (max-width: 400px) {
    #share-voucher{
        line-height: 2.2rem;
        padding: 6px 10px;
    }

    .promocode-list-item{
        padding: 2rem .5rem 0.5rem .5rem;
    }

    .promocode-list-item:before{
        background-position: 0px -5px;
    }

    .promocode-list-item.own-item:before{

    }

    .promocode-list-item .item-content {
        overflow: visible !important;
    }

    .promocode-list-item .voucher-status {
        top: -23px !important;
    }


}

