/*
    Desktop Style
*/

header > a.tel {
    position: absolute;
    top: 50%;
    right: 1em;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 400;
}

header a.tel:before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background-image: url("/wp-content/themes/angelsense/images/dementia-gps/call.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 45px;
    height: 45px;
    margin: 0em 0.3em;
}

header a.tel span {
    display: block;
    font-weight: 700;
}

header.desktop div.header_content {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

section.header {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 100px calc((100% - 1200px)/ 2);
    color: white;
    position: relative;
    background-color: #f3f4f8;
    height: calc(100vw * (668/1920));
    min-height: 668px;
}

section.header div.title {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 670px;
}

body.sale section.header div.title {
    top: 50%;
}

section.header div.title h1 {
    font-size: 40px;
    font-weight: 650;
    color: #32b4a6;
    line-height: 1.2;
}

section.header div.title h1 span {
    font-weight: 600;
}

section.header div.title >  h2  {
    font-weight: 400;
    font-size: 26px;
    line-height: 1.3;
    margin: 0.8em 0em 0em 0em;
    color: #0f0f0f;
}

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

div.action a.action {
    padding: 0.5em 3em 0.5em 3em;
}

div.action a.action:before {
    display: none;
}

div.action span.tel {
    display: block;
    color: #292929;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 20px;
    margin-top: 0.3em;
}

div.action span.tel a {
    font-weight: 700;
}

section#video {
    padding: 50px calc((100% - 1200px)/ 2);
    padding-top: 0em;
    text-align: center;
    position: relative;
    background-color: #f8f8fa;
}

section#video div.video.container {
    position: relative;
    margin-top: 0;
}

section#video div.video.container:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url(/wp-content/themes/angelsense/images/b2b/play.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 75px;
    height: 75px;
    z-index: 0;
}

.wistia_responsive_padding {
    position: absolute !important;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

section#video a {
    padding: 1em 2.5em;
    color: white;
    background-color: #32b4a6;
    text-transform: uppercase;
    display: inline-block;
    font-weight: 700;
    border-radius: 8px;
    font-size: 18px;
    margin-top: 2em;
}

section#features {
    padding: 50px calc((100% - 1200px)/ 2);
    padding-bottom: 80px;
    text-align: center;
}

section#features > h2 {
    font-size: 40px;
    font-weight: 600;
    color: #32b4a6;
    line-height: 1.2;
}

section#features > h3 {
    font-weight: 400;
    font-size: 26px;
    line-height: 1.3;
    margin: 0.3em 0em 0em 0em;
    color: #0f0f0f;
    position: relative;
}

section#features > h3:after {
    content: '';
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    height: 3px;
    background-color: #32b4a6;
    margin-top: 1.2em;
}

ul.features {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

ul.features li {
    width: 25%;
    margin-top: 70px;
}

ul.features li span.image {
    position: relative;
    background-color: #32b4a6;
    display: inline-block;
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

ul.features li span.image img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
}

ul.features li h4 {
    margin-top: 5px;
    color: #292929;
    font-weight: 700;
    font-size: 18px;
}

ul.features li p {
    color: #292929;
    font-size: 16px;
}

section.about {
    background-color: #f8f8fa;
    padding: 50px calc((100% - 1200px)/ 2);
}

section.about article {
    position: relative;
    width: 60%;
}

section.about article:after {
    content: '';
    position: absolute;
    top: -19%;
    left: 120%;
    background-image: url(/wp-content/themes/angelsense/images/dementia-gps/ballons-eview.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 250px;
    height: 490px;
}

section.about article h2 {
    font-size: 30px;
    font-weight: 700;
    color: #32b4a6;
    line-height: 1.2;
    position: relative;
}

section.about article h2:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #32b4a6;
    margin-top: 0.8em;
}

section.about article div.content {
    display: inline-block;
    vertical-align: top;
    width: 37%;
    margin-top: 3em;
}

section.about article div.content h4 {
    font-size: 30px;
    font-weight: 700;
    color: #32b4a6;
    line-height: 1.2;
    position: relative;
}

section.about article div.content ul {
    margin-top: 0.5em;
}

section.about article div.content ul li {
    font-size: 18px;
    color: #292929;
    position: relative;
    padding-left: 20px;
}

section.about article div.content ul li:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: #32b4a6;
    border-radius: 50%;
}

section.about article div.action {
    margin-top: 5em;
}

section#testimonails {
    display: block;
}

section#testimonails div.article {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px calc((100% - 1200px)/ 2);
}

section#testimonails div.article article {
    width: 56%;
    order: 2;
}

section#testimonails div.article div.image {
    width: 40%;
    order: 1;
}

section#testimonails div.wrap:nth-of-type(2) div.article div.image {
    order: 2;
}

section#testimonails div.wrap:nth-of-type(2) div.article article {
    order: 1;
}

section#testimonails div.article article h2 {
    font-size: 30px;
    font-weight: 700;
    color: #32b4a6;
    line-height: 1.2;
    position: relative;
}

section#testimonails div.article article h3 {
    font-weight: 400;
    font-size: 22px;
    line-height: 1.3;
    margin: 0.3em 0em 0.5em 0em;
    color: #0f0f0f;
    position: relative;
}

section#testimonails div.article article h3:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #32b4a6;
    margin-top: 0.8em;
    margin-bottom: 1.0em;
}

section#testimonails div.article article p {
    color: #292929;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    margin: 0.8em 0em;
    width: 90%;
}

section#testimonails div.testimonial {
    padding: 50px calc((100% - 950px)/ 2);
    text-align: center;
    color: white;
    background-color: #32b4a6;
}

section#testimonails div.testimonial p {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    width: 100%;
    position: relative;
    margin-bottom: 0.5em;
}

section#testimonails div.testimonial p:before {
    content: '';
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5em;
    background-image: url("/wp-content/themes/angelsense/images/dementia-gps/quote.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 60px;
    height: 60px;
}

section#testimonails div.testimonial span.name {
    display: block;
    font-weight: 700;
    margin-bottom: 1.5em;
}

section#featured-video {
    padding: 50px calc((100% - 950px)/ 2);
    text-align: center;
    background-color: #f8f8fa;
}

section#featured-video > h2 {
    font-size: 30px;
    font-weight: 700;
    color: #32b4a6;
    line-height: 1.2;
    position: relative;
}

section#featured-video > h2:after {
    content: '';
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    height: 3px;
    background-color: #32b4a6;
    margin-top: 0.8em;
    margin-bottom: 1.0em;
}

.video.container {
    position: relative;
    margin-top: 50px;
}

div.video.container:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url(/wp-content/themes/angelsense/images/b2b/play.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 75px;
    height: 75px;
    z-index: 0;
}

section#wearing {
    padding: 50px calc((100% - 1000px)/ 2);
    padding-bottom: 80px;
    background-color: white;
}

section#wearing > h2 {
    font-size: 40px;
    font-weight: 600;
    color: #32b4a6;
    line-height: 1.2;
    text-align: center;
}

section#wearing > h3 {
    font-weight: 400;
    font-size: 26px;
    line-height: 1.3;
    margin: 0.8em 0em 0em 0em;
    color: #0f0f0f;
    text-align: center;
}

section#wearing div.wearing_slide {
    margin-top: 50px;
}

section#wearing div.wearing_slide div.slide {
    display: block;
}

section#wearing div.wearing_slide div.slide div.image {
    display: inline-block;
    vertical-align: middle;
    width: 250px;
    margin-left: 10px;
    position: relative;
    left: 15px;
}

section#wearing div.wearing_slide div.slide div.content {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 270px);
    padding-left: 35px;
}

section#wearing div.wearing_slide div.slide div.content h3 {
    margin-bottom: 0.5em;
    color: #32b4a6;
    font-size: 26px;
    font-weight: 600;
}

section#wearing div.wearing_slide div.slide div.content p {
    font-size: 18px;
    color: #292929;
    font-weight: 400 !important;
    position: relative;
}

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.sponsers {
    padding: 50px calc((100% - 1200px)/ 2);
    text-align: center;
}

section.sponsers > h2 {
    font-size: 40px;
    font-weight: 600;
    color: #32b4a6;
    line-height: 1.2;
}

section.sponsers > h2:after {
    content: '';
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    height: 3px;
    background-color: #32b4a6;
    margin-top: 0.8em;
    margin-bottom: 1.0em;
}

section.risk {
    padding: 50px calc((100% - 800px)/ 2);
    text-align: center;
    background-image: url("/wp-content/themes/angelsense/images/dementia-gps/section9.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    height: calc(100vw * (513/1920));
    min-height: 513px;
}

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

section.risk h2:after {
    content: '';
    display: block;
    margin: 0.5em auto 0.5em auto;
    width: 134px;
    height: 134px;
    background-image: url("/wp-content/themes/angelsense/images/home-page/stamp.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
}

section.risk p {
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
    color: #292929;
    line-height: 1.3;
    font-weight: 400;
    width: 450px;
}

section.risk div.action {
    top: 0;
    margin-top: 0em;
}

section.risk a.action {
    margin-top: 0.5em;
    padding: 0.5em 2em 0.5em 2em;
}

section.risk div.action a.action:before {
    left: -50px;
}

/*Tablet Version Landscape*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1367px) and (orientation: landscape){
    section.header {
        padding: 50px calc((100% - 950px)/ 2);
        min-height: 400px;
    }

    section.risk,
    section.sponsers,
    section#testimonails div.article,
    section.about,
    section#features,
    section#video {
        padding: 50px calc((100% - 950px)/ 2);
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    section.header {
        padding: 100px calc((100% - 750px)/ 2);
        min-height: 375px;
    }

    section.header div.title {
        width: 450px;
    }

    section.header div.title h1 {
        font-size: 28px;
    }

    section.header div.title > h2 {
        font-size: 20px;
    }

    section.sponsers,
    section#featured-video,
    section#testimonails div.article,
    section.about,
    section#video {
        padding: 50px calc((100% - 750px)/ 2);
    }

    section.sponsers > h2,
    section.about article h2,
    section#features > h2 {
        font-size: 28px;
    }

    section.about article {
        width: 80%;
    }

    section.about article:after {
        content: '';
        position: absolute;
        top: -19%;
        left: 89%;
        background-image: url(/wp-content/themes/angelsense/images/dementia-gps/ballons-eview.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 100% auto;
        width: 207px;
        height: 452px;
    }

    section.risk {
        padding: 50px calc((100% - 800px)/ 2);
        text-align: center;
        background-image: url(/wp-content/themes/angelsense/images/dementia-gps/section9.png);
        background-repeat: no-repeat;
        background-position: 0px top;
        background-size: cover;
        height: calc(100vw * (513/1920));
        min-height: 513px;
    }
}