/*
    Help Center Article style Guide
*/
/*devicec anchors widget*/

.device_anchors {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.device_anchors a {
    position: relative;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 140px;
    height: 65px;
    margin-right: 0.5em;
}

.device_anchors a.gps1 {
    background-image: url("/wp-content/themes/angelsense/images/blog/GPS1_Selected.png");
}

.device_anchors a.gps4 {
    background-image: url("/wp-content/themes/angelsense/images/blog/GPS4_Selected.png");
}

.device_anchors a.watch {
    top: 5px;
    background-image: url("/wp-content/themes/angelsense/images/blog/WATCH_Selected.png");
}

section.header {
    display: block;
    margin-top: 0px;
    background-image: url("/wp-content/themes/angelsense/images/help-center/helpBGArticle.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 50px calc((100% - 1200px)/ 2);
    min-height: 187px;
    position: relative;
}

section.header div.title {
    position: absolute;
    top: 10%;
    z-index: 1000;
    width: 380px;
}

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

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

section.content {
    padding: 50px calc((100% - 1200px)/ 2);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    position: relative;
}

a#floating {
    position: absolute;
    right: calc(50% - 600px);
    bottom: calc(100% - 688px);
}

a#floating.float {
    position: fixed;
    right: calc(50% - 600px);
    bottom: calc(100% - 708px);
}

a#floating.float.bottom {
    position: absolute;
    right: calc(50% - 600px);
    z-index: 10000;
    bottom: 50px;
}

a#floating img {
    display: block;
}


a#back {
    font-size: 20px;
    padding-bottom: 1em;
    outline: 0;
    visibility: hidden;
    opacity: 0;
    text-decoration: none;
}

a#back.show {
    visibility: visible;
    opacity: 1;
}

a#back span.arrow {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    display: inline-block;
    position: relative;
    top: 0px;
    text-decoration: none;
}

section.content .article {
    width: 60%;
}

section.content .article h2,
section.content .article h1 {
    font-size: 40px;
    font-weight: 400;
    color: #32b4a6;
    line-height: 1.2;
}

section.content .article h3 {
    font-size: 36px;
    line-height: 46px;
    color: #292929;
    font-weight: 400;
}

section.content .article h2 {
    font-size: 40px;
    line-height: 50px;
}

section.content .article br {
    display: none;
}

section.content .article li,
section.content .article p {
    display: block;
    position: relative;
    margin: 0.5em 0em;
    font-weight: 400;
    font-size: 18px;
    color: #292929;
    line-height: 28px;
}

section.content .article li {
    padding-left: 30px;
}

section.content .article li:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    background-image: url(/wp-content/themes/angelsense/images/case-study/bullet.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 19px;
    height: 24px;
}

section.content .article span {
    font-size: 18px;
    color: #292929;
    line-height: 28px;
}

section.content .article a span,
section.content .article a {
    color: #32b4a6;
    text-decoration: underline;
    font-weight: 600;
}

section.content .article span.date {
    display: block;
    margin: 1em 0em;
    font-size: 18px;
    font-weight: 600;
    color: #5F5F5F;
}

section.content .article p img {
    display: block;
    width: auto;
}

section.content blockquote p,
section.content blockquote {
    font-size: 20px;
    line-height: 30px;
    color: #32b4a6;
    padding: 0.5em 0em  0em 0em;
    position: relative;
    margin-bottom: 1em;
}

blockquote:before {
    content: "";
    margin-right: auto;
    background-image: url(/wp-content/themes/angelsense/images/blog/quote-top.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 55px;
    height: 55px;
    display: block;
}

blockquote:after {
    content: "";
    margin-left: auto;
    background-image: url(/wp-content/themes/angelsense/images/blog/quote-bottom.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
    width: 55px;
    height: 55px;
    display: block;
    position: relative;
    top: -30px;
}

#notes {
    margin-top: 1em;
}

#notes h2.notes {
    color: #3abeb0;
    font-weight: 400;
    font-size: 20px;
}

#notes div {
    display: block;
    background-color: #fff;
    padding: 0.6em 0.5em;
    font-size: 16px;
    color: #292929;
    font-weight: 300;
    outline: 0;
    position: relative;
    transition: all 0.3s;
    border-top: 1px solid #E6E6E6;
}

img,
iframe {
    display: block;
}

section.content div.article a {
    color: #3abeb0;
    font-weight: 700;
}

section.content div.article a:hover {
    text-decoration: underline;
}

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

section.related > h2 {
    font-size: 40px;
    font-weight: 600;
    color: #32b4a6;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 2em;
}

section.related div.wrap {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

section.related div.wrap article {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3em;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 3em;
    position: relative;
}

section.related div.wrap article div.image {
    width: 35%;
}

section.related div.wrap article div.image a {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

section.related div.wrap article div.image a img {
    margin-left: auto;
    margin-right: auto;
}

section.related div.wrap article div.text {
    width: 60%;
    margin-bottom: 1em;
}

section.related div.wrap article div.text a {
    font-size: 18px;
    font-weight: 600;
    color: #32b4a6;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

section.related div.wrap article div.text p {
    margin: 0.5em 0em;
    font-weight: 300;
    color: #292929;
    line-height: 1.5;
}

section.related div.wrap article div.text a.action {
    position: absolute;
    right: 1em;
    bottom: 1em;
    background-color: #32b4a6;
    font-size: 1rem;
    padding: 0.5em 1em;
    color: white;
}

section.related div.wrap article div.text a.action:before {
    display: none;
}

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

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

    #subTopics div article ul.articles li {
        width: 49%;
    }

    a#floating {
        display: none;
    }
}

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

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

    #subTopics div article ul.articles li {
        width: 49%;
    }

    a#floating {
        display: none;
    }
}