/*
Theme Name: Pure Digital Theme
Version: 1.0
Text Domain: pure-digital
*/

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700;900&display=swap');

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
p:empty {
    display: none;
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* GLOBAL */
html {
    position: relative;
    overflow-x: hidden;
    max-width: 100vw;
}
body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    position: relative;
    transition: all 0.3s;
    max-width: 100vw;
    color: #4A4A4A;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 28px;
}
body.sidebar-active {
    padding-right: 0px !important;
}
body.sidebar-active .navbar-toggler {
    display: none;
}
a {
    color: #2984C3;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
.attachment-266x266, .thumbnail img {
    width: 100% !important;
    height: auto !important;
}
.strong {
    font-weight: 700;
}
.main p {
    margin: 0px 0px 24px;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: mrs-eaves-xl-serif, serif;
    color: #013446;
    font-weight: 700;
    margin:  0px 0px 20px;
    font-style: italic;
}
h1, .h1 {
    font-size: 100px;
    line-height: 110px;
}
h2, .h2 {
    font-size: 50px;
}
h3, .h3 {
    font-size: 41px;
    line-height: 50px;
}
h4, .h4 {
    font-size: 31px;
    line-height: 40px;
}
h5, .h5 {
    font-size: 22px;
    line-height: 32px;
}
h6, .h6 {
    font-size: 18px;
    line-height: 25px;
}
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
.h1 span, .h2 span, .h3 span, .h4 span, .h5 span, .h6 span {
    color: #FFA260;
}
.acf-loop .table-responsive {
    background: rgba(206,219,240,0.5);
    padding:  15px;
}
.acf-loop table {
    font-size: 12px;
    letter-spacing: 0.43px;
    line-height: 20px;
}
.acf-loop table tr {
    border-bottom: 2px solid #2984C3;
}
.acf-loop table tr td {
    padding: 15px 0px;
    vertical-align: top;
}
.investment-tabs .acf-loop .table-responsive {
    padding:  0px;
    background: transparent;
}
.investment-tabs .acf-loop table tr,
.investment-tabs .acf-loop table tr td {
    border: 0px !important;
    padding: 8px 15px 8px 0px;
}
small, .small {
    font-size: 12px;
}
.text-white {
    color: #fff !important;
}
@media all and (max-width:  767px) {
    .main .row {
        margin-right: -30px;
        margin-left: -30px;
    }
    .main .row > *,
    .main .container, 
    .main .container-fluid, 
    .main .container-lg, 
    .main .container-md, 
    .main .container-sm, 
    .main .container-xl, 
    .main .container-xxl {
        padding-right: 30px;
        padding-left: 30px;
    }
}

/* HELPER */
.theme-border {
    border-color: #1A3B73 !important;
}

/* SITE NOTIFICATIONS */
.site-notification {
    background: #EF7622;
    font-size: 13px;
    line-height: 16px;
    padding:  10px 12px;
    letter-spacing: 0.54px;
    color:  #fff;
}
.site-notification p {
    margin:  0px;
}

/* HEADER NAV */
header {
    z-index: 2;
    transition: transform .5s ease-in-out;
}
header .navbar {
    /*background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0) 100%);
    background-blend-mode: normal;*/
    padding: 30px 0px;
}
header.fixed-header .navbar {
    padding: 15px 0px;
}
.navbar-toggler {
    border: 0px;
}
.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    box-shadow: none;
}
.navbar-toggler .navbar-toggler-icon {
    background: url(images/menu.svg) center no-repeat;
}
header #menu-header-main li {
    display: inline-block;
    padding: 0px 25px;
}
header #menu-header-main li a {
    color: #013446;
    font-size: 20px;
    font-weight: 600;
}
header .offcanvas-end.bg-dark {
    background: rgba(1, 52, 70, 0.9) !important;
    min-height: 100vh;
    border: 0px;
}
header .offcanvas-end .offcanvas-header {
    padding: 30px 30px 15px;
}
header .offcanvas-end .offcanvas-header .btn-close {
    background: url(images/close.svg) center no-repeat;
    filter: none;
    opacity:  1;
}
header .offcanvas-end .offcanvas-body {
    padding: 0px 30px 30px;
}
header .offcanvas-backdrop {
    display: none;
}
header .menu-header-side-container a {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 0.51px;
}
header #menu-header-main li a:hover,
header .menu-header-side-container a:hover {
    color: #FFA260;
}
header .menu-header-side-container .current_page_item > a {
    font-weight: 600;
}
header .offcanvas-body .menu-header-main-container {
    margin:  0px 0px 15px;
}
header .offcanvas-body .menu-header-main-container .menu-item {
    margin: 0px 0px 30px;
}
header .offcanvas-body .menu-header-main-container a {
    color: #fff;
    font-size: 43px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    font-family: mrs-eaves-xl-serif, serif;
}
header .offcanvas-body .menu-header-main-container a span {
    color: #FFA260;
    font-size: 22px;
    letter-spacing: 1.27px;
    font-style: normal !important;
    font-weight: 400;
    margin: 0px 0px 0px 5px;
    font-family: 'Source Sans Pro', sans-serif;
}
header .menu-header-side-container .sub-menu,
header .menu-header-side-container .sub-menu .menu-item {
    display: inline-block;
    padding: 0px;
}
header .menu-header-side-container .sub-menu .menu-item {
    padding: 0px 0px 0px 10px;
    border-left: 1px solid #fff;
    margin:  0px 0px 0px 10px;
}
@media all and (max-width:  767px) {
    header .offcanvas-end.bg-dark {
        background: transparent !important;
    }
    header .offcanvas-end .offcanvas-header {
        padding:  30px;
    }
    header .offcanvas-end .offcanvas-body {
        background: rgba(1, 52, 70, 0.9) !important;
        padding: 60px 30px 30px;
    }
}

/* Removing the vertical margin and make the first and last bars rotate again when the sidebar is open, hiding the second bar */
/*.sidebar-active .mobile-navigation-toggler span {
    margin: 0 auto;
}
.sidebar-active .mobile-navigation-toggler span:first-of-type {
    transform: rotate(45deg) translate(3px, 3px);
}
.sidebar-active .mobile-navigation-toggler span:nth-of-type(2) {
    opacity: 0;
}
.sidebar-active .mobile-navigation-toggler span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}
.sidebar-active .fixed-header {
    right: 250px;
    left: -250px;
}*/
.mobile-navigation {
    /*margin-right: -250px;*/
    width: 250px;
    min-height: 100vh;
    position: absolute;
    top: 0px;
    bottom: -1px;
    right: -250px;
    background: #1A3B73;
    transition: all 0.3s;
    padding: 25px 35px 25px 25px;
    text-decoration: none;
    display: none;
}
/*.sidebar-active .mobile-navigation {
    display: block;
}
.sidebar-active .mobile-navigation .navbar-nav {
    position: fixed;
    top: 25px;
    width: 190px;
    right: 25px;
}*/
.mobile-navigation li:not(.menu-item-has-children),
.mobile-navigation li.menu-item-has-children a {
    margin: 0px 0px 15px;
}
.mobile-navigation li.btn-link {
    border: 1px solid #FFFFFF;
    border-radius: 18.5px;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    margin: 15px 0px;
}
.mobile-navigation li a {
    color: #FFFFFF;
    font-size: 14px;
    letter-spacing: 0.57px;
    line-height: 18px;
    display: block;
}
.mobile-navigation .sub-menu {
    list-style: none;
}
.header-menu-section li a {
    color: #1A3B73;
    font-size: 17px;
    letter-spacing: 0.54px;
    line-height: 21px;
    transition: all 0.5s ease;
}
.header-menu-section li.btn-link a {
    background: #1A3B73;
    color: #fff;
    border-radius: 13px;
    padding: 8px 20px;
    font-size: 12px;
    letter-spacing: 0.43px;
    line-height: 13px;
}
.mobile-navigation li a:hover {
    text-decoration: none;
    color: #A1C9EB;
}
.header-menu-section .menu-item-has-children {
    position: relative;
}
.header-menu-section li a:hover,
.header-menu-section .current-menu-item > a,
.header-menu-section .current-menu-ancestor > a,
.header-menu-section .current-page-ancestor > a {
    text-decoration: underline;
}
.header-menu-section .menu-item-has-children > a i {
    margin: 0px 0px 0px 8px;
}
.header-menu-section .menu-item-has-children:hover > a:after {
    opacity: 1;
}
.header-menu-section .menu-item-has-children .sub-menu {
    position: absolute;
    top: 100%;
    left: 15px;
    padding: 0px;
    width: 200px;
    background: #1A3B73;
    display: none;
}
.header-menu-section .menu-item-has-children:hover > .sub-menu {
    display: block;
    padding: 15px 0px;
}
/*.header-menu-section .menu-item-has-children .sub-menu li.current-menu-item,
.header-menu-section .menu-item-has-children .sub-menu li.current-page-ancestor {
    background: #2984C3;
}*/
.header-menu-section .menu-item-has-children .sub-menu li.current-menu-item a,
.header-menu-section .menu-item-has-children .sub-menu li.current-page-ancestor a,
.header-menu-section .menu-item-has-children .sub-menu li a:hover,
.mobile-navigation li.current_page_item a {
    color: #A1C9EB;
    text-decoration: none;
}
.header-menu-section .menu-item-has-children .sub-menu li a {
    color: #fff;
    padding: 0px 0px;
    display: block;
    text-align: left;
    font-size: 14px;
}
.fixed-header {
  top: -40px;
  transform: translateY(40px);
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;

  background: #fff;
  border-color: #fff;
}
header:not(.fixed-header) {
    position: relative;
}
.header-menu-section #menu-header-top li:not(.btn-link) a {
    color: #041A31;
}
@media all and (max-width:  767px) {
    /*.sidebar-active .fixed-header {
        right: 0px;
        left: 0px;
    }*/
}

/* MAIN */
section.main {
    z-index: 1;
    position: relative;
}
.acf-loop {
    background-size: cover !important;
    overflow-x: hidden;
    position: relative;
}
.acf-loop .acf-loop-section-overlay {
    opacity: 0.85;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* SUBNAVIGATION */
.sub-navigation-wrapper {
    background: #EEF5FF;
    transition: all .5s ease-in-out;
    z-index: 2;
}
.sub-navigation > ul > li > a {
    background: #fff;
    display: block;
    padding:  20px 15px;
    width: 100%;
    color: #1A3B73;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.64px;
    line-height: 20px;
    border: 15px solid #EEF5FF;
}
.sub-navigation > ul > li > a:after {
    content: "\f0d7";
    font-family: "Font Awesome 5 Free";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-weight: 900;
    font-size: inherit;
    margin: 0px 0px 0px 10px;
}
.sub-navigation > ul > li > a:hover,
.sub-navigation > ul > li.current_page_item > a {
    background: #1A3B73;
    color: #fff;
    border-color: #1A3B73;
}
.sub-navigation ul li.page_item_has_children {
    position: relative;
}
.sub-navigation ul li.page_item_has_children > ul li a {
    color: #fff;
    padding:  10px 15px;
    border-bottom: 1px solid #2984C3;
    display: block;
}
.sub-navigation ul li.page_item_has_children > ul li.current_page_item a {
    background:  #2984C3;
}
@media all and (min-width: 768px) {
    .sub-navigation > ul > li {
        display: inline-flex;
        flex: 1 0 0%;
        text-align: center;
        padding: 0px;
    }
    .sub-navigation ul li.page_item_has_children > ul {
        display: none;
        position: absolute;
        top: 100%;
        z-index: 2;
        background: #1A3B73;
        padding: 0px;
        list-style: none;
        left: 2px;
        right:  2px;
        text-align: left;
    }
    .sub-navigation > ul > li.page_item_has_children:hover > ul {
        display: block;
    }
}
@media all and (max-width: 767px) {
    .sub-navigation-wrapper {
        padding: 0px;
    }
    .sub-navigation > ul > li {
        display: block;
        width: 100%;
        border-bottom: 1px solid #CEDBF0;
        padding: 0px;
    }
    .sub-navigation > ul > li > a {
        border: 0px;
        text-align: center;
    }
    .sub-navigation ul > li:first-child {
        padding: 0px !important;
    }
    .sub-navigation ul > li:last-child {
        padding-bottom: 0px !important;
    }
    .sub-navigation ul li.page_item_has_children > ul {
        background: #1A3B73;
        padding: 0px;
        list-style: none;
        text-align: left;
    }
    .mobile-navigator {
        position: absolute;
        /*background: url(images/dropdown-light.png) center no-repeat;*/
        border: 0px;
        width: 50px;
        background-size: 20px auto;
        top: 0px;
        right: var(--bs-gutter-x,.75rem);
        display: block;
        background-color: #1A3B73;
        color: #fff !important;
        height: 56px;
        text-align: center;
        line-height: 56px;
    }
}

/* FOOTER */
footer {
    background: #00202C;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.37px;
}
footer .footer-top {
    border-bottom: 1px solid #FFA260;
}
.footer-bottom-container {
    color: #fff;
    font-size: 14px;
    letter-spacing: 2.1px;
    line-height: 30px;
}
.footer-bottom-container .text-lg-end {
    color: #fff;
    font-size: 10px;
    letter-spacing: 1.29px;
    line-height: 13px;
}
@media all and (max-width: 767px) {
    footer .footer-top {
        border: 0px;
    }
    .footer-top .footer-col-1 {
        order: 2;
    }
    .footer-top .footer-col-2 {
        order: 3;
    }
    .footer-top .footer-col-3 {
        order: 4;
    }
    .footer-top .footer-col-4 {
        order: 1;
        margin-bottom: 3rem !important;
    }
    .footer-bottom .footer-links {
        border-bottom: 1px solid #FFA260;
        margin: 0px 0px 15px;
    }
}

/* FEATURED POSTS */
.featured-posts .border-spacer {
    border-bottom: 5px solid #2984C3;
}
.featured-posts .slick-slide {
    padding: 0px 5px !important;
    background-size: cover;
}
.featured-posts .slick-slide .featured-post-item {
    padding: 0px 15px !important;
    height:  300px;
    background: #1A3B73;
}
.featured-posts .slick-slide .featured-post-item .post-info {
    position: absolute;
    left: 20px;
    bottom: 20px;
    right: 20px;
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 20px;
    font-weight: 400;
}
.featured-posts .slick-slide .featured-post-item .post-info .title {
    font-size: 22px;
    letter-spacing: 0.80px;
    line-height: 30px;
}
.featured-posts .post-image {
    position: absolute;
    top: 0px;
    left: 10px;
    right: 10px;
    bottom: 0px;
    display: block;
    z-index: 4;
}
/*.featured-posts .read-article-link {
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0.5px;
}*/
/*.featured-posts .post-image {
    position: relative;
    display: block;
    height: 250px;
    background-size: cover !important;
}
.featured-posts .post-image .image-overlay {
    background: #2984C3;
    opacity: 0.1;
    position: absolute;
    top:  0px;
    left:  0px;
    right:  0px;
    bottom:  0px;
}*/
.featured-post {
    position: relative;
}
.featured-post .post-item-locked {
    position: absolute;
    top: 0px;
    left: 1.5rem;
    right: 1.5rem;
    bottom:  0px;
    z-index: 2;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    display: flex;
    background: rgba(255, 255, 255, 0.5);
    font-size: 80px;
    color: #1A3B73;
}
/* --- */
.slick-prev, 
.slick-next {
    font-size: 24px;
    line-height: 24px;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: #000 !important;
    border: none;
    outline: none;
    background: transparent;
}
.slick-prev {
    left: -25px;
}
.slick-next {
    right: -25px;
}
.slick-dots {
    display: flex;
    padding: 0px;
    align-items: center;
    list-style: none;
    justify-content: center;
    margin: 60px auto 0px;
}
.slick-dots button {
    display: inline-block;
    height: 10px;
    overflow: hidden;
    border: 0px;
    border-radius: 100%;
    background: #D8D8D8;
    color: #D8D8D8;
    width: 10px;
    padding:  0px;
    margin:  0px 5px;
}
.slick-dots .slick-active button {
    background: #4A4A4A;
    color: #4A4A4A;
}
@media all and (max-width: 974px) {
    .featured-post .post-item-locked {
        left:  15px;
        right:  15px;
    }
}

/* BOOTSTRAP OVERRIDE */
.btn {
    padding: 15px 80px 15px 40px;
    border-radius: 0px;
    color: #FFFFFF;
    text-align: left;
    font-size: 20px;
    font-style: italic;
    letter-spacing: 0;
    line-height: 24px;
    font-weight: 700;
    font-family: mrs-eaves-xl-serif, serif;
    position: relative;
}
.link-marker {
    position: absolute;
    top: 50%;
    margin-top: -12px;
    right: 40px;
}
.btn i {
    margin: 0px;
    float: right;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}
.btn-primary {
    background-color: #FFA260;
    border-color: #FFA260;
    color: #013446;
}
.btn-outline-primary {
    color: #FFA260;
    border-color: #FFA260;
    color: #013446;
}
.btn-primary:hover {
    background-color: #013446;
    border-color: #013446;
    color: #fff;
}
.btn-outline-primary:hover {
    background-color: #013446;
    border-color: #013446;
    color: #fff;
}
.btn-secondary {
    background-color: #013446 !important;
    border-color: #013446 !important;
}
.btn-secondary:hover {
    background-color: #FFA260 !important;
    border-color: #FFA260 !important;
}
.color-primary {
    color: #1A3B73;
}
.color-secondary {
    color: #2984C3;
}
.btn-load-more {
    border: 0px;
    border-top: 2px solid #FFA260;
    border-bottom: 2px solid #FFA260;
    background: transparent;
    color: #013446;
}
.btn-load-more i,
.btn-outline-primary i,
.btn-outline-secondary i {
    color: #FFA260;
}
.btn-outline-secondary,
.btn-outline-secondary:hover i {
    color: #013446;
}
.btn-outline-secondary:hover {
    background: #FFA260;
    border-color: #FFA260;
}
.btn-load-more:hover {
    border-color: #FFA260;
    background: #FFA260;
}
.btn-load-more:hover i {
    color: #013446;
}
.btn-lg {
    border-width: 6px;
    font-size: 38px;
    padding: 60px 30px 60px 0px;
}
.btn-lg .link-marker {
    right: 0px;
}
.btn-sm {
    font-size: 12px;
    line-height: 16px;
}
@media all and (min-width: 768px) {
    .acf-col.text-center p {
        text-align: center !important;
    }
    .acf-col.text-right p {
        text-align: right !important;
    }
}
@media all and (max-width: 767px) {
    .btn {
        margin-left: auto;
        margin-right: auto;
        padding: 15px 30px 15px 15px;
    }

    .link-marker {
        right: 15px;
    }
}

/* ROW OVERRIDES */
.color-light * {
    color: #fff;
}
.acf-col p a:not(.btn) {
    text-decoration: underline;
    font-weight: 700;
}

/* Subscription */
.subscribe-container {
    background: #fff;
}

/* SINGLE */
.single .post-locked {
    position: absolute;
    top: 0px;
    left:  calc(var(--bs-gutter-x) * .5);
    right:  calc(var(--bs-gutter-x) * .5);
    bottom:  0px;
    z-index: 2;
    cursor: pointer;
    align-items: start;
    justify-content: center;
    display: flex;
    background: rgba(255, 255, 255, 0.5);
    font-size: 150px;
    color: #1A3B73;
}
.single .post-date {
    color: #FFA260;
    font-size: 22px;
    letter-spacing: 0;
    line-height: 33px;
}
.single .post-image {
    width: auto;
    max-width: 50%;
    margin: 0px 0px 40px 40px;
}
@media all and (max-width: 767px) {
    .single .post-image {
        max-width: 100%;
        margin: 30px 0px;
    }
}
