/*
    Invite A Friend Style
*/

body.sale div.action p.promotion:before {
    display: none;
}
div#chatRequest {
    display: none !important;
}
header.desktop div.header_content nav {
    visibility: hidden;
    opacity: 0;
}

div.action {
    margin-top: 2em;
}

section.about div.action {
    display: block;
    margin-top: 0;
    position: relative;
    top: -73px;
}

body.sale a.action,
a.action {
    width: 300px;
    padding: 0.5em 1em;
}

body.sale div.action p.promotion strong {
    font-size: 16px;
}

#strip a.action {
    margin-top: 0;
    width: auto;
    font-size: 1rem;
}

body.sale div#strip div.action a.action {
    font-size: 1rem;
}

body.sale div#strip div.message p {
    font-size: 17px;
}

body.sale a.action:before,
a.action:before {
    display: none;
}

section.header_coupon {
    margin-top: 75px;
    padding: 50px calc((100% - 1190px)/ 2);
    background-image: url("/wp-content/themes/angelsense/images/invite-lp/header1-min.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    min-height: 457px;
    border-bottom: 5px solid rgb(58, 190, 176);
}

section.title h2,
section.about h2,
section.capabilities h2,
section.header_coupon h1 {
    font-size: 40px;
    color: rgb(58, 190, 176);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.3em;
}

section.title h2,
section.about h2,
section.capabilities h2 {
    display: block;
    text-align: center;
}

section.title h2 {
    margin-bottom: 1.5em;
}

section.header_coupon p {
    font-weight: 400;
    font-size: 26px;
    color: rgb(15, 15, 15);
}

a.save {
    display: inline-block;
    margin-top: 0.5em;
    background-image: url("/wp-content/themes/angelsense/images/invite-lp/coupon_Desk.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 462px;
    height: 224px;
    position: relative;
    top: 25px;
    left: -7px;
    padding-top: 220px;
}

body.candy a.save {
    background-image: url("/wp-content/themes/angelsense/images/invite-lp/Coupon-Generic-Big-Desktop.png");
    width: 442px;
    height: 209px;
    top: 15px;
}

span.note {
    display: block;
    text-align: center;
    color: #292929;
    position: relative;
}

section.about span.note {
    top: -25px;
}

section.capabilities {
    padding: 50px calc((100% - 1190px)/ 2);
}

section.capabilities div.wrap {
    margin-top: 4em;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
}

section.capabilities div.wrap div.list {
    width: 40%;
}

section.capabilities div.wrap div.list li {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: left;
    align-items: top;
    margin-bottom: 2em;
}

section.capabilities div.wrap div.list li span.image {
    width: 53px;
    height: 53px;
}

section.capabilities div.wrap div.list li span.image img {
    display: block;
    width: 100%;
    height: auto;
}

section.capabilities div.wrap div.list li div {
    width: calc(100% - 53px);
    padding-left: 10px;
}

section.capabilities div.wrap div.list li div p {
    color: #292929;
    font-size: 20px;
}

figure {
    width: 35%;
    margin: 0em 1em;
}

section.testimonials {
    padding: 50px calc((100% - 1090px)/ 2);
    background-color: #f7f7f9;
}

section.testimonials {
    display: block;
    position: relative;
    overflow: hidden;
}

section.testimonials div.action {
    top: 0px;
}

section.testimonials h2 {
    display: block;
    font-size: 40px;
    font-weight: 600;
    color: #32b4a6;
    line-height: 1.2;
    text-align: center;
}

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;
    background-color: white;
    border: 2px solid rgb(236, 236, 236);
    border-radius: 8px;
}

section.testimonials div.wrapper div.testimonial > h3 {
    display: block;
    text-align: center;
    font-size: 36px;
    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;
    padding: 1.5em 6em;
}

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 100px !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: 30px !important;
    display: none;
}

.slick-dots li {
    background-color: rgb(191, 191, 191);
    border-radius: 50%;
    width: 12px !important;
    height: 12px !important;
}

.slick-dots li.slick-active {
    background-color: rgb(50, 180, 166);
}

.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;
}

section.about {
    padding: 50px calc((100% - 1090px)/ 2);
    padding-top: 0em;
}

section.about a.action {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 315px;
    position: relative;
    background-color: #f34023;
    margin-top: 0;
}

body.candy section.about a.action:before {
    background-image: url("/wp-content/themes/angelsense/images/invite-lp/Coupon_Generic-M-Desk.png");
}

section.about div.wrap {
    margin-top: 4em;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-bottom: 2em;
}

section.about div.wrap div.image {
    width: 564px;
}

section.about div.wrap .content {
    width: calc(100% - 585px);
}

section.about div.wrap .content ul {
    padding-bottom: 0.5em;
    border-bottom: 1px solid #e1e1e1;
}

section.about div.wrap .content ul.activation {
    margin-top: 2em;
    margin-left: 1.6em;
    border-bottom: none;
}

section.about div.wrap .content ul li {
    position: relative;
    font-size: 20px;
    font-weight: 300;
    color: #292929;
    margin: 0.5em 0em;
    padding-left: 25px;
}

section.about div.wrap .content ul.activation li {
    color: rgb(58, 190, 176);
}

section.about div.wrap .content ul.activation li.shipping:after {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    margin-left: 0.5em;
    background-image: url(../images/dementia/shipping.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center center;
    width: 28px;
    height: 19px;
}

section.about div.wrap .content ul li:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgb(58, 190, 176);
}

body.remove div.overlay,
div.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

div.overlay.show {
    visibility: visible;
    opacity: 1;
}

body.remove #contact,
#contact {
    z-index: 1000000;
    position: fixed;
    top: -150%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    border-radius: 8px;
    padding: 2em 3em;
    transition: all 0.5s;
}

#contact.show {
    top: 100px;
}

body.strip #contact.show {
    top: 220px;
}

#contact a.remove {
    position: absolute;
    top: 1em;
    right: 1em;
    width: 1.5em;
    height: 1.5em;
    background-image: url(/wp-content/themes/angelsense/images/b2b-HP/close2.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    padding: 0.5em;
    z-index: 0;
}

#contact div.form_title {
    display: block;
    margin-bottom: 0.5em;
}

#contact div.form_title h2 {
    text-align: center;
    color: rgb(18, 45, 56);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;
}

#case-signup {
    position: relative;
}

#case-signup .success {
    display: block;
    padding: 1em;
    background-color: white;
    color: rgb(250, 100, 39);
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
}

#case-signup label,
#sign label {
    display: block;
    vertical-align: top;
    margin-bottom: 1em;
    width: 100%;
    position: relative;
}

#sign label:last-of-type {
    margin-bottom: 0em;
}

#case-signup textarea,
#case-signup select,
#case-signup input,
#sign textarea,
#sign label select,
#sign label input {
    background-color: white;
    border-radius: 4px;
    border: 1px solid rgb(222, 222, 222);
    padding: 13px 10px;
    color: #828282;
    font-size: 16px;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#sign textarea,
#sign label select,
#sign label input {
    padding: 10px;
}

select::-ms-expand {
    display: none;
}

#case-signup textarea {
    height: 112px;
    resize: none;
}

#case-signup label.custom:after,
#sign label.custom:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.5em;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background-image: url(/wp-content/themes/angelsense/images/b2b/arrow.gif);
    background-repeat: no-repeat;
    background-position: center center;
    width: 10px;
    height: 10px;
}

#case-signup label input[type="submit"],
#sign label input[type="submit"] {
    background-color: #f34022;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1.4rem;
    padding: 0.5em 1em;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 400;
    -webkit-appearance: none;
}

#case-signup label input[type="submit"] {
    width: 30%;
    margin-left: auto;
    margin-right: 1.35em;
    display: block;
    font-size: 1.4rem;
}

.success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(18, 45, 56);
    visibility: hidden;
    opacity: 0;
    color: white;
    padding: 50% 1em 50% 1em;
    font-size: 1.5rem;
}

.success.show {
    visibility: visible;
    opacity: 1;
}

/*Tablet Version Landscape*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1367px) and (orientation: landscape){
    header.mobile a.menu {
        visibility: hidden;
    }

    header a.request-spanish,
    header a.request {
        display: inline-block;
        vertical-align: middle;
        margin-left: 1em;
        text-transform: uppercase;
        border: 2px solid #3abeb0;
        border-radius: 8px;
        transition: all 0.3s;
        font-weight: 600;
        text-decoration: none;
        color: #3abeb0;
        padding: 0.5em 0.5em;
        outline: 0;
        text-transform: capitalize;
        transition: all 0.3s;
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        font-size: 14px;
        right: 0.5em;
    }

    section.about,
    section.testimonials,
    section.capabilities,
    section.header_coupon {
        padding: 50px calc((100% - 950px)/ 2);
    }

    body.sale a.sticky_banner {
        display: none !important;
    }

    section.header_coupon {
        margin-top: 55px;
    }

    section.testimonials {
        padding: 50px calc((100% - 900px)/ 2);
    }

    section.about div.wrap div.image {
        width: 50%;
    }

    section.about div.wrap .content {
        width: 40%;
    }
}

/* Portrait */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    section.about,
    section.testimonials,
    section.capabilities,
    section.header_coupon {
        padding: 50px calc((100% - 750px)/ 2);
    }

    section.testimonials {
        padding: 50px calc((100% - 700px)/ 2);
    }

    section.about div.wrap div.image {
        width: 50%;
    }

    section.about div.wrap .content {
        width: 40%;
    }
}