.iaf #top-banner-mobile {display: none}

.iaf section#coupon-top {
    background-image: url('/wp-content/themes/angelsense/images/pages/iaf/invite-b2s.jpg');
}

.iaf section#coupon-top h1 {
    color: rgb(58, 190, 176);
    margin-top: 40px;
    font-size: 40px;
    line-height: 1.1;
}

.iaf section#coupon-top p {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.3;
    margin: 0.8em 0em 0em 0em;
    color: rgb(15, 15, 15);
}

.iaf section#coupon-top h1 span {
    font-weight: 900;
    font-size: 50px;
}

.iaf .coupon-holder {
    background-image: url('/wp-content/themes/angelsense/images/pages/iaf/iaf-coupon-banner.png');
}

.invite-friend-cta a {
    background-color: #f04;
    margin: 0 auto;
    font-size: 1.2em;
    font-weight: 700;
    display: block;
    width: 100%;
    padding: 0.7em 0;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 5px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    position: relative;
    outline: 0;
}

.iaf .invite-friend-cta {
    width: 260px;
    text-align: center;
}

.iaf #bottom-coupon-holder {
    background-image: url('/wp-content/themes/angelsense/images/invite-lp/above-coupon-button.png');
}

#main-content section#testimonials {
    padding: 4em calc((100% - 1090px)/ 2);
    background-color: rgb(247, 245, 246);
}

section#testimonials div.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0em;
    margin-bottom: 6em;
    position: relative;
}

section#testimonials div.wrapper div.testimonial {
    border-radius: 8px;
    margin: 0em;
    padding: 1em 0.5em;
    min-height: 250px;
}

section#testimonials div.wrapper div.testimonial > h3 {
    display: block;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: rgb(50, 180, 166);
    line-height: 1.2;
    width: 95%;
    margin: 0 auto;
    margin-bottom: 1em;
}

section#testimonials div.wrapper div.testimonial div.content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: 2px solid rgb(236, 236, 236);
    padding: 1.5em;
    background-color: rgba(255, 255, 255, 0.8);
}

section#testimonials div.wrapper div.testimonial div.content div.image {
    width: 175px;
}

section#testimonials div.wrapper div.testimonial div.content div.text {
    width: 100%;
    padding: 0em 1em;
}

section#testimonials div.wrapper div.testimonial div.content div.text p {
    font-size: 20px;
    color: #0f0f0f;
    line-height: 1.3;
    font-weight: 300;
    display: inline;
}

section#testimonials div.wrapper div.testimonial div.content div.text p:first-of-type:after {
    content: '"...';
    display: inline-block;
    vertical-align: bottom;
}

section#testimonials div.wrapper div.testimonial div.content div.text p.show:first-of-type:after,
section#testimonials div.wrapper div.testimonial div.content div.text p:nth-of-type(2) {
    display: none;
}

section#testimonials div.wrapper div.testimonial div.content div.text p.show {
    display: inline;
}

section#testimonials div.wrapper div.testimonial div.content div.text p a {
    color: #848484;
    text-decoration: underline;
    display: inline-block;
    outline: 0;
}

section#testimonials div.wrapper div.testimonial div.content div.text span.name {
    font-style: italic;
    font-size: 16px;
    color: rgb(15, 15, 15);
    line-height: 1.3;
    font-weight: 700;
    margin-top: 1em;
    display: block;
}

/*.slick-initialized .slick-slide {*/
/*    margin: 0em 150px !important;*/
/*}*/

section#testimonials .slick-next,
section#testimonials .slick-prev {
    top: 150px !important;
}

ul.slick-dots {
    margin: 0;
    padding: 10px 0;
    bottom: -50px !important;
    left: 50%;
    -webkit-transform: translateX(-50%) !important;
    transform: translateX(-50%) !important;
}

.slick-dots li button:before {
    font-size: 15px !important;
}

.slick-next,
.slick-prev {
    width: 30px !important;
    height: 30px !important;
    background-color: transparent !important;
    z-index: 100000 !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% auto !important;
    outline: 0 !important;
    z-index: 0 !important;
}

.slick-next {
    background-image: url("/wp-content/themes/angelsense/images/home-page/next-reg.png") !important;
    width: 45px !important;
    height: 45px !important;
    right: -45px !important;
}

.slick-next:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("/wp-content/themes/angelsense/images/home-page/next-hover.png");
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
}

.slick-prev {
    background-image: url("/wp-content/themes/angelsense/images/home-page/prev-reg.png") !important;
    width: 45px !important;
    height: 45px !important;
    left: -45px !important;
}

.slick-prev:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("/wp-content/themes/angelsense/images/home-page/prev-hover.png");
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
}

.slick-prev:hover:after,
.slick-next:hover:after {
    opacity: 1;
}

.slick-next:before,
.slick-prev:before {
    display: none !important;
}

.slick-dots li.slick-active button:before {
    color: rgb(50, 180, 166) !important;
}

.slick-initialized .slick-slide {
    margin: 0em 150px !important;
}

@media all and (max-width: 768px) {

    .iaf #top-banner-mobile {display: block}

    #top-banner-mobile {width: 100%;}
    .iaf section#coupon-top {
        background-image: url("/wp-content/themes/angelsense/images/pages/iaf/Top_banner_Mobile-min.jpg");
        background-repeat: no-repeat;
        background-position: center bottom;
        height: calc(100vw * (928/640));
    }

    .iaf section#coupon-top h1 {
        padding-top: 0.5em;
        font-size: 1.7em;
        line-height: 1.2em;
    }

    .iaf section#coupon-top h1 span {
        font-size: 2.3rem;
    }

    .iaf section#coupon-top p {
        margin: 0 auto;
        text-align: center;
        font-size: 20px;
        font-weight: 600;
    }

    .iaf #iaf-coupon-code-wrap {
        top: 0;
    }

    .iaf .coupon-subscription {
        top: 80px;
    }

    .iaf .invite-friend-cta {
        top: 35px;
    }

    #main-content section#testimonials {
        display: block;
        position: relative;
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 2em;
        padding-bottom: 2em;
    }

    .slick-dots {
        bottom: -45px !important;
    }

    #main-content section#testimonials .slick-prev,
    #main-content section#testimonials .slick-next {
        top: 167px !important;
    }

    #main-content section#testimonials .slick-prev {
        left: 25px !important;
    }

    #main-content section#testimonials .slick-next {
        right: 25px !important;
    }

    #main-content section#testimonials div.action {
        top: 0px;
    }

    #main-content section#testimonials h2 {
        display: block;
        margin-bottom: 0.5em;
        font-size: 30px;
        font-weight: 600;
        color: #32b4a6;
        line-height: 1.2;
        text-align: center;
    }

    #main-content section#testimonials div.wrapper {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border: 2px solid rgb(236, 236, 236);
        border-radius: 8px;
        padding: 1em 0em 0em 0em;
        margin-bottom: 0em;
    }

    #main-content section#testimonials div.wrapper div.testimonial {
        border-radius: 8px;
    }

    #main-content section#testimonials div.wrapper div.testimonial > h3 {
        display: block;
        font-size: 24px;
        font-weight: 600;
        color: rgb(50, 180, 166);
        line-height: 1.2;
        width: 95%;
        margin: 0 auto;
        text-align: center;
    }

    #main-content section#testimonials div.wrapper div.testimonial div.content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0em;
        background-color: transparent;
        border: none;
    }

    #main-content section#testimonials div.wrapper div.testimonial div.content div.image {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1em;
    }

    #main-content section#testimonials div.wrapper div.testimonial div.content div.text {
        width: 100%;
        padding: 0.5em 1.5em 1em 1.5em;
    }

    #main-content section#testimonials div.wrapper div.testimonial div.content div.text p {
        font-size: 18px;
        color: #0f0f0f;
        line-height: 1.3;
        font-weight: 300;
        display: inline;
    }

    #main-content section#testimonials div.wrapper div.testimonial div.content div.text p:first-of-type:after {
        content: '"...';
        display: inline-block;
        vertical-align: bottom;
    }

    #main-content section#testimonials div.wrapper div.testimonial div.content div.text p.show:first-of-type:after,
    #main-content section#testimonials div.wrapper div.testimonial div.content div.text p:nth-of-type(2) {
        display: none;
    }

    #main-content section#testimonials div.wrapper div.testimonial div.content div.text p.show {
        display: inline;
    }

    #main-content section#testimonials div.wrapper div.testimonial div.content div.text p a {
        color: #848484;
        text-decoration: underline;
        display: inline-block;
        outline: 0;
    }

    #main-content section#testimonials div.wrapper div.testimonial div.content span.name {
        font-style: italic;
        font-size: 16px;
        color: rgb(15, 15, 15);
        line-height: 1.3;
        font-weight: 700;
        margin-top: 0.5em;
        display: block;
    }

    .slick-dots li button:before {
        font-size: 30px !important;
    }

    .slick-prev:hover:after,
    .slick-next:hover:after {
        opacity: 0;
    }

    .slick-next,
    .slick-prev {
        width: 30px !important;
        height: 30px !important;
        background-color: transparent !important;
        z-index: 100000 !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: 100% auto !important;
        outline: 0 !important;
        top: calc(100% - 95px) !important;
    }

    .slick-next {
        background-image: url("/wp-content/themes/angelsense/images/home-page/next-reg.png") !important;
        width: 35px !important;
        height: 37px !important;
        right: 20px !important;
    }

    .slick-prev {
        background-image: url("/wp-content/themes/angelsense/images/home-page/prev-reg.png") !important;
        width: 35px !important;
        height: 37px !important;
        left: 20px !important;
    }

    .slick-next:before,
    .slick-prev:before {
        display: none !important;
    }

    .slick-prev:hover,
    .slick-next:hover {
        background-color: rgb(73, 201, 187);
    }

    .slick-dots li.slick-active button:before {
        color: rgb(50, 180, 166) !important;
    }

    .slick-slide img {
        display: block;
        margin: 0 auto;
    }

    .slick-initialized .slick-slide {
        margin: 0em 0px !important;
    }
}

/*Tablet Version Landscape*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1367px) and (orientation: landscape){
    section#testimonials div.wrapper {
        margin-bottom: 0.5em;
    }
    #main-content section#testimonials {
        padding-left: calc((100% - 850px)/2);
        padding-right: calc((100% - 850px)/2);
    }
}

@media all and (min-width: 768px) and (max-width: 1024px) {
    .iaf #valid-date { left: calc(((100% - 1190px) / 2) + 435px); }

}

