@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@500;800&display=swap');

p.legal-disclaimer {
    font-style: italic;
    color: gray;
}

p.legal-disclaimer.footer-disclaimer {
    text-align: center;
}

/** css for the countdown sale display **/

.refer-cd-wrap {
    max-width: 900px;
    display: block;
    clear: both;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 40px;
    margin-top: 12px;
    /*padding: 2px;*/
    position: relative;
}

.refer-cd-wrap.sticky-top:not(.header-banner-preview){
    position: fixed;
    z-index: 500;
    width:100%;
    left: 0;
    right: 0;
    margin:0;
    padding: 0;
    max-width: unset;
    text-align: center;
}

.refer-cd-wrap.border{
    border: 1px solid;
}

.refer-cd-wrap.no-border{
    border: none;
}

body.admin-bar .refer-cd-wrap.sticky-top:not(.header-banner-preview){
    top: 32px;
}

.refer-cd-wrap.sticky-top:not(.header-banner-preview){
    top: 0;
}

.refer-cd-content {
    padding: 30px 0;
    font-size: 14px;
    color: #424242;
    background-color: #FFFFFF;
    border: 1px solid #B7D2E5;
}

.refer-cd-content .refer-cd-row,
.refer-cd-call-to-action,
.refer-cd-product-price-wrap,
.refer-cd-button-wrap {
    padding: 0 30px;
}

.refer-cd-wrap.sticky-top .refer-cd-content,
.refer-cd-wrap.sticky-bottom .refer-cd-content{
    position: relative;
    width:100%;
    max-width: unset!important;
    margin:0;
    padding:0;
    display: flex;
    justify-content: center;
}

.refer-cd-content .clear-both {
    clear: both;
}

.refer-cd-close {
    position: absolute;
    /*font-size: 11px;*/
    font-size: 14px;
    line-height: 11px;
    top: 11px;
    right: 12px;
    color: #000000;
    margin: 0;
    padding: 0;
    width: 16px;
    height: 16px;
}

.refer-cd-close a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.refer-cd-image-wrap {
    width: 210px;
    height: 210px;
    background-position: center center;
    background-size: cover;
    border: 1px solid #B7D2E5;
}

.refer-cd-description {
    font-family: Heebo;
    font-size: 18px;
    line-height: 24px;
    /*color: #9CADBC;*/
}

.refer-cd-product-info{
    display: block;
    width: 100%;
    text-align: center;
}

.refer-cd-wrap:not(.sticky-top) .refer-cd-product-info{
    padding-top:15px;
}

.refer-cd-wrap.sticky-top .refer-cd-product-info{
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin:auto;
}

.refer-cd-wrap.sticky-top .refer-cd-product-info.space-between{
    justify-content: space-between;
}

.refer-cd-wrap.sticky-top .refer-cd-product-info.centered{
    justify-content: center;
}

.refer-cd-wrap.sticky-top .refer-cd-product-info > *{
    margin:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top:0;
    /*flex-shrink: 0;*/
}

.refer-cd-product-price-wrap{
    display: flex;
    flex-direction: column;
    text-align: center;
}

.refer-cd-wrap:not(.sticky-top) .refer-cd-product-price-wrap{
    margin: 15px 0;
}

.refer-cd-product-price-wrap .strikethrough {
    text-decoration: line-through;
    font-family: Heebo;
    font-style: normal;
    font-weight: bold;
    font-size: 30px;
    line-height: 32px;
    color: #B90C0C;
}

.timer-note {
    font-size: 0.75em;
}

.refer-cd-wrap.sticky-top .refer-cd-product-name-wrap {
    text-align: center;
    font-weight: bold;
}

.refer-cd-wrap:not(.sticky-top) .refer-cd-product-name-wrap {
    font-family: Heebo;
    font-style: normal;
    font-weight: bold;
    font-size: 30px;
    line-height: 32px;
    margin: -5px 0 15px;
}


.refer-cd-call-to-action {
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
}

.refer-cd-button-wrap {
    font-family: Heebo;
    font-weight: 800;
    font-size: 20px;
    line-height: 22px;
    text-align: center;
}

.refer-cd-button-wrap.in-context {
    clear: both;
    font-size: 26px;
}

.refer-cd-button-wrap.in-context a, 
.refer-cd-button-wrap.in-context a:visited {
    padding:16px 13px 16px;
}

.refer-cd-button-wrap a, 
.refer-cd-button-wrap a:visited {
    display: inline-block;
    background-color: #c93738;
    border-radius: 3px;
    padding: 13px 10px 10px 10px;
    /*text-transform: uppercase;*/
    text-decoration: none;
}

.refer-cd-button-wrap a:hover {
    text-decoration: none;
    opacity: 0.95;
}

.refer-cd-product-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.refer-cd-flipdown-wrap {
    /*padding-top: 13px;*/
    min-width: 308px;
    display: block;
    position: relative;
}

.refer-cd-flipdown.flipdown {
    width: 308px;
    height: 77px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}

/* Rotor group headings */
.rotor-group-heading {
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 1;
}

.refer-cd-wrap.sticky-top .refer-cd-flipdown.flipdown {
    height: 75px;
}

.refer-cd-flipdown.flipdown .rotor-group{
    min-width: 65px;
    padding-right:16px;
}

.rotor-group:not(:last-child):after {
    content: ":";
    position: absolute;
    top: 10px;
    right: 0;
    font-size: 24px;
}

#modal.preview .rotor-group:after{
    top: 19px;
}

.refer-cd-flipdown.flipdown .rotor {
    width: 24px;
}
    /** flipdown overrides **/
.refer-cd-wrap .rotor-group-heading {
    /*font-size: 10pt;*/
    font-size: 14px;
}

@media (max-width: 768px) {

    .refer-cd-image-wrap {
        margin: 0 auto 35px;
    }

    .refer-cd-product-info {
        width: 100%;
        float: none;
    }

    .refer-cd-wrap.sticky-top .refer-cd-product-info,
    .refer-cd-wrap.sticky-bottom .refer-cd-product-info{
        flex-direction: column;
        padding:20px;
    }

    body.admin-bar .refer-cd-wrap.sticky-top:not(.header-banner-preview) {
        top: 46px;
    }

}

@media (min-width: 778px) {

    .refer-cd-wrap.sticky-top .refer-cd-content,
    .refer-cd-wrap.sticky-bottom .refer-cd-content{
        height:100px;
    }

    .refer-cd-image-wrap {
        margin-right: 35px;
        flex-shrink: 0;
    }

    .refer-cd-content {
        padding: 35px 50px 20px;
    }

    .refer-cd-row {
        display: flex;
    }

    .refer-cd-wrap.sticky-top,
    .refer-cd-wrap.sticky-bottom {
        height:100px;
        max-width: none;
    }

    .refer-cd-image-wrap .hover-effect:not(.disabled):hover,
    .refer-cd-image-wrap .hover-effect.active:not(.disabled){
        box-shadow: rgba(0,0,0,0.1) 7px 7px 12px;
        transform: translate(-2px, -2px);
        cursor: pointer;
    }
}
