/*
    Protect style
*/

div.action {
    display: block;
    text-align: center;
    position: relative;
    top: -30px;
}

div.action p.promotion {
    margin-top: 0;
}

body.sale section.header div.action p.promotion strong {
    color: white;
}

body.sale section.header div.action p.promotion span,
body.sale section.header div.action p.promotion strong span {
    color: white;
}

section {
    padding: 50px calc((100% - 1200px)/ 2);
    font-weight: 600;
}

section.header {
    margin-top: 75px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    height: calc(100vw * (570/1940));
    padding: 100px calc((100% - 1200px)/ 2);
    color: white;
    position: relative;
}

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%);
}

section.header div.title h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
}

section.header div.title p  {
    font-size: 30px;
    line-height: 1.3;
    margin: 0.2em 0em;
}

section.header div.action {
    display: inline-block;
    margin-top: 3em;
    top: 0px;
}

section.header div.action p {
    font-size: 1.4rem;
}

section.video,
section.about {
    padding: 50px 0px;
    background-color: #32b4a6;
    text-align: center;
    font-weight: 600;
}

section.video {
    background-color: #fbfbfb;
}

section.about h2 {
    color: white;
    font-size: 40px;
    font-weight: 600;
}

section.video h2 {
    color: #32b4a6;
    font-size: 40px;
    font-weight: 600;
}

section.video div.wrap,
section.about div.wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3em;
}

section.video div.wrap {
    width: 1100px;
}

section.video div.wrap div,
section.about div.wrap div {
    flex: 1;
}

section.about div.wrap div h3 {
    font-weight: 600;
    font-size: 26px;
    color: white;
    margin-bottom: 0.5em;
}

section.about div.wrap div p {
    font-weight: 400;
    font-size: 20px;
    color: rgb(255, 255, 255);
    padding: 0em 2em;
    position: relative;
}

section.about div.wrap div p:first-of-type:after {
    content: '';
    display: block;
    width: 80%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0.5em auto;
}

section.video div.wrap div a.image {
    display: inline-block;
    width: 300px;
    height: 181px;
    overflow: hidden;
    position: relative;
}

section.video div.wrap div a.image:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url("/wp-content/themes/angelsense/images/read_more.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
}

section.video div.wrap div a.image.data-lity:before {
    background-image: url("/wp-content/themes/angelsense/images/play.svg");
}

section.video div.wrap div a img {
    display: block;
    width: 100%;
    height: auto;
}

section.video div.wrap div p {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
    text-align: left;
}

section.video div.wrap div p:first-of-type {
    font-style: italic;
    color: #86a0ae;
    margin-bottom: 0.3em;
}

section.video div.wrap div p a {
    color: #32b4a6;
    font-weight: 600;
    text-decoration: underline;
}

section.view {
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    height: calc(100vw * (607/1920));
}

section.alerts {
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    height: calc(100vw * (545/1950));
}

section.voice {
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    height: calc(100vw * (530/1940));
}

section.wearing {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    height: calc(100vw * (585/1920));
}

section.app {
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    height: calc(100vw * (618/1935));
}

section.support {
    background-repeat: no-repeat;
    background-position: center -20px;
    background-size: 100% auto;
    height: calc(100vw * (523/1930));
    background-color: rgb(237, 241, 244);
}

section:nth-of-type(odd) div.feature {
    display: block;
    width: 45%;
    position: relative;
    margin-right: auto;
}

section:nth-of-type(even) div.feature {
    display: block;
    width: 45%;
    position: relative;
    margin-left: auto;
}

section div.feature {
    display: block;
    width: 45%;
    position: relative;
    padding-left: 70px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

section.app div.feature {
    top: 20%;
}

section:nth-of-type(odd) div.feature {
    margin-right: 25px;
}

section div.feature span.image {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(58, 190, 176);
    width: 50px;
    height: 50px;
    display: inline-block;
    border-radius: 50%;
}

section.app div.feature span.image {
    display: none;
}

section div.feature span.image img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

section div.feature span.image img[src=""] {
    display: none;
}

section div.feature h3 {
    color: #292929;
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

section div.feature p {
    font-size: 18px;
    color: #292929;
    line-height: 1.3;
    font-weight: 300;
}

section div.feature p a {
    display: inline-block;
    text-transform: uppercase;
    color: rgb(58, 190, 176);
    font-weight: 600;
    padding-top: 1em;
}

/*Tablet version*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1367px) and (orientation: landscape) {
    section.header {
        margin-top: 55px;
        padding: 100px calc((100% - 900px)/ 2);
    }

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

    section.header div.title p {
        font-size: 23px;
    }

    section.header div.action {
        margin-top: 1em;
    }

    section {
        padding: 20px calc((100% - 900px)/ 2);
        font-weight: 600;
    }

    section.video div.wrap,
    section.about div.wrap {
        justify-content: space-evenly;
        width: auto;
    }

    section.video div.wrap div,
    section.about div.wrap div {
        width: 31%;
        flex: 0 0 auto;
    }

    section.about div.wrap div h3 {
        font-size: 24px;
    }

    section.about div.wrap div p {
        padding: 0em 0.2em;
    }
}

/* Portrait */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    section.header {
        margin-top: 55px;
        padding: 100px calc((100% - 900px)/ 2);
    }

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

    section.header div.title p {
        font-size: 23px;
    }

    section {
        padding: 20px calc((100% - 900px)/ 2);
        font-weight: 600;
    }

    section.video div.wrap,
    section.about div.wrap {
        justify-content: space-evenly;
        width: auto;
    }

    section.video div.wrap div,
    section.about div.wrap div {
        width: 31%;
        flex: 0 0 auto;
    }

    section.about div.wrap div h3 {
        font-size: 24px;
    }

    section.about div.wrap div p {
        padding: 0em 0.2em;
    }
}