/* Styles regarding the loyalty program */

/* Advertisement on cart page */
#CartLoyaltyAd{
    border: 1px solid #f2f0db;
    background-color: #f9f8f3;
}

#CartLoyaltyAd .six.column, #CartLoyaltyAd .four.column{
    padding: 13px 13px 7px;
}

.button.premiumMembership{
    width: 100%;
    padding-bottom: 5px;
    padding-top: 5px;
    color: #ffffff;
    font-size: 12px;
    border-radius: 30px;
    border: none !important;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3e6463+0,264040+100 */
    background: #3e6463; /* Old browsers */
    background: -moz-linear-gradient(top,  #3e6463 0%, #264040 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #3e6463 0%,#264040 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #3e6463 0%,#264040 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3e6463', endColorstr='#264040',GradientType=0 ); /* IE6-9 */
}
.button.premiumMembership:hover{
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#264040+0,3e6463+100 */
    background: #264040; /* Old browsers */
    background: -moz-linear-gradient(top,  #264040 0%, #3e6463 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #264040 0%,#3e6463 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #264040 0%,#3e6463 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#264040', endColorstr='#3e6463',GradientType=0 ); /* IE6-9 */
}
.button.premiumMembership img{
    padding-bottom: 2.5px;
}
.button.premiumMembership span{
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: normal;
    color: #ffffff;
    padding-bottom: 5px;
}

#LoyaltyPDPButtonDiv .produkt_liste_btn_div {
    padding-top: 0px;
}

#CartLoyaltyAd p {
    margin: 5px 0px 0px 0px;
    font-size: 13px;
    text-align: center;
}

#CartLoyaltyAd p b.gold {
    font-size: 16px;
}

#CartLoyaltyAd table {
    float: right;
    background: none;
    border: none;
    margin: 0px;
}

#CartLoyaltyAd table tbody tr:nth-child(2n) {
    background: none;
}

#CartLoyaltyAd table tbody tr td {
    padding: 0px;
    font-size: 12px;
    text-align: left;
}

#CartLoyaltyAd table tbody tr td.right {
    text-align: right;
    padding-left: 20px;
}

#CartLoyaltyAd table tbody .bold {
    font-weight: bold;
}

#CartLoyaltyAd table tbody tr td.underlined {
    text-decoration: underline;
}

#CartLoyaltyAd table tbody .gold td, #CartLoyaltyAd .gold {
    color: #CFBD79;
}

/* Popup */
#CartLoyaltyPopup {

    display: none;
    position: relative;
    margin: auto;
    width: 95%;
    max-width: 900px;
    height: auto;
    max-height: 90%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    top: 10%;
    z-index: 1000;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background-image: url("../images/loyalty/krone-popup.png");
    background-repeat: no-repeat;
    background-position: 0px 80px;
}
@media only screen and (max-width: 767px) {
    #CartLoyaltyPopup {
        top: 1em;
        max-height: 95%;
        overflow-y: scroll;
    }
    #CartLoyaltyPopup > #CartLoyaltyPopupContent h1{
        font-size: 25px !important;
    }
    #CartLoyaltyAd table {
        float : none !important;
        margin: 0 auto;
    }
}
#CartLoyaltyPopup > #CartLoyaltyPopupHeader {
    width: 100%;
    height: 43px;
    text-align: right;
}
#CartLoyaltyPopup > #CartLoyaltyPopupContent {
    height: auto;
    text-align: center;
    padding: 10px;
    overflow: hidden;
}
#CartLoyaltyPopup > #CartLoyaltyPopupHeader > #CartLoyaltyPopupClose
{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 999;
}
#CartLoyaltyPopup .priceBadge{
    position: absolute;
    right: 80px;
    top: -30px;
    background-color: #eee7cb;
    border-radius: 200px;
    text-align: center;
    text-transform: uppercase;
    width: 120px;
    height: 120px;
    color: #5C5B60;
}

@media only screen and (max-width: 767px) {
    #CartLoyaltyPopup .priceBadge{
        display: block;
        top: 110px;
        width: 80px;
        height: 80px;
        right: 10px;
    }
    #CartLoyaltyPopup .priceBadge  p  b{
        font-size: 14px !important;
    }
    #CartLoyaltyPopup > #CartLoyaltyPopupContent h1{
        margin-bottom: 80px !important;
        text-align: left;
        display: block !important;
    }
    #CartLoyaltyPopupContent i.fa{
        font-size: 4em;
        color : #294644;
    }
    #CartLoyaltyPopupContent i.fa-truck{
        transform: scaleX(-1);
        -moz-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        -ms-transform: scaleX(-1);
    }

    #CartLoyaltyPopupContent > .row{
        margin: 0px !important;
    }
    #CartLoyaltyPopup{
        background-size: 180px !important;
        background-position-y: 120px;
    }

    #CartLoyaltyAd .row .hide-for-small {
        display: block !important;
    }
    .button.premiumMembership {
        z-index: 100;
    }
}




#CartLoyaltyPopup .priceBadge p{
    margin-bottom: 0px;
    padding-top: 25%;
    display: inline-block;
    height: 50%;
}
#CartLoyaltyPopup .priceBadge p b{
    display: inline-block;
    width: 100%;
    font-size: 20px;
}
#CartLoyaltyPopup > #CartLoyaltyPopupContent h1{
    font-size: 40px;
    display: inline-block;
    margin: 0px 0px 40px 0px;
    color: #5C5B60;
    text-transform: uppercase;
    font-weight: normal;
}
#CartLoyaltyPopup > #CartLoyaltyPopupContent h1 b{
    text-transform: none;
}
#CartLoyaltyPopupContent{
    color: #5C5B60;
}
#CartLoyaltyPopupContent > .row{
    margin: 0px 0px 30px;
}
#CartLoyaltyPopupContent h2{
    color: #5C5B60;
    font-size: 16px;
    margin-bottom: 0px;

}
#CartLoyaltyPopup > #CartLoyaltyPopupContent button {
    padding: 10px 20px;
}
#CartLoyaltyPopup > #CartLoyaltyPopupContent > #CartLoyaltyPopupFooter *,
#CartLoyaltyPopup > #CartLoyaltyPopupContent > #CartLoyaltyPopupFooter {
    margin-bottom: 0px;
    font-size: 10px;
    text-align: left;
}
#CartLoyaltyBlackBackground {
    position: fixed;
    display: none;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
/** Hint when loyalty product is added to cart */
#cartLoyaltyHint{
    float: left;
    position: absolute;
    top: 60px;
    z-index: 999;
    background-color: #e0d39e;
    width: 160%;
    margin-left: -60%;
    padding: 22px 22px 12px 22px;
    text-align: center;
    color: #736B4D;
    font-size: 12px;
}
#cartLoyaltyHint h5{
    margin-top: 0px;
    color: #736B4D;
}
#cartLoyaltyHint p{
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
}
@media only screen and (max-width: 767px) and (min-width: 660px){
    .row .mobile-two { width: 50% !important;  }
    #CartLoyaltyPopupContent > h1 br {
        display: none;
    }
    #CartLoyaltyPopup{
        background-size: 180px !important;
        background-position-y: 90px;
    }

    #CartLoyaltyPopup .priceBadge{
        display: block;
        top: 70px;
        width: 80px;
        height: 80px;
        right: 10px;
    }
    #CartLoyaltyAd .row .hide-for-small {
        display: block !important;
    }
    .button.premiumMembership {
        z-index: 100;
    }
    #CartLoyaltyPopupContent h2 {
        font-size: 15px;
    }
}
@media only screen and (max-width: 767px) {
    #cartLoyaltyHint{
        float: left;
        position: relative;
        width: 100%;
        background-color: #e0d39e;
        margin-left: 0px;
        padding: 22px 22px 12px 22px;
        text-align: center;
        color: #736B4D;
        font-size: 12px;
        top: 0px;
        margin-bottom: 10px;
    }
    #CartLoyaltyPopupContent h2 {
        font-size: 14px;
    }
}
@media only screen and (max-width: 310px) {
    #CartLoyaltyPopupContent h2 {
        font-size: 12px;
    }
}