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

/*@font-face {
    font-family: 'DIN';
    src: url('fonts/DIN.OTF') format('opentype');
}
@font-face {
    font-family: 'DIN-MEDIUM';
    src: url('fonts/DIN-MEDIUM.OTF') format('opentype');
}
@font-face {
    font-family: 'DIN-BOLD';
    src: url('fonts/DIN-BOLD.OTF') format('opentype');
}*/

/* =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;
}
button:focus, input:focus, textarea:focus, select:focus, .form-control:focus {
    outline: none;
    box-shadow: 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 */
body {
    font-family: Arial;
    color: #595959;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: 0.11px;
}
a {
	color: #2984c3;
	text-decoration: none;
}
.acf-col a:not(.btn) {
    color: #009583;
}
img {
    max-width: 100%;
    height: auto;
}
.attachment-266x266, .thumbnail img {
    width: 100% !important;
    height: auto !important;
}
b, strong, .strong {
    /*font-family: 'DIN-BOLD' !important;*/
    font-weight: 700 !important;
}
h1, h2, h3, h4, h5, h6 {
    color: #1A3B73;
    /*font-family: 'DIN';*/
    margin:  0px 0px 24px;
    font-weight: 400;
}
h1, .h1 {
    font-size: 80px;
    line-height: 95px;
}
h2, .h2 {
    font-size: 70px;
    line-height: 85px;
}
h3, .h3 {
    font-size: 35px;
    line-height: 50px;
}
h4, .h4 {
    font-size: 30px;
    line-height: 45px;
}
h5, .h5 {
    font-size: 24px;
    line-height: 35px;
}
h6, .h6 {
    font-size: 18px;
    line-height: 24px;
}
p {
    margin-bottom: 24px;
}
.acf-loop table tr:nth-child(even) {
    background: rgba(216, 216, 216, 0.25);
}
.acf-loop table tr td {
    padding: 30px;
}
.acf-loop table > :not(caption)>*>* {
    border: 0;
}
.small, small {
    font-size: .860em;
}
.search header:not(.fixed-header) {
  background: #1A3B73;
}


/* HELPER */
.theme-border {
    border-color: #009583 !important;
}
.menu-btn a {
    position: relative;
    display: inline-block;
}
.menu-btn a:before {
    content: '';
    display: block;
    position: absolute;
    top: 1.5rem;
    bottom:  1.5rem;
    left:  5px;
    right: 5px;
    border: 1px solid #fff;
    border-radius: .25rem;
}
.mh-70 {
    height: 70px;
}
.credits-section .acf-row {
    padding:  0px !important;
    color: #fff;
    padding: 0px 30px !important;
}
.credits-section .container {
    max-width: 100% !important;
}
.credits-section .acf-row * {
    text-align: right !important;
}
.credits-column {
    display: block;
    position: absolute !important;
    right: 0px;
    left: 0px;
    bottom: 0px;
    font-size: 14px;
    padding: 0px 30px;
}

/* SITE NOTIFICATIONS */
.site-notification {
	background: #1A3B73;
	font-size: 13px;
	line-height: 16px;
	padding:  10px 12px;
	letter-spacing: 0.54px;
	color:  #fff;
}
.site-notification a {
    color: #2984c3;
}
.site-notification p {
	margin:  0px;
}
.site-notification .slick-slide,
.site-notification .slick-slider .slick-track {
    min-width: 100% !important;
}

/* HEADER NAV */
header {
    z-index: 2;
}
header a,
header a:hover {
    color: #fff;
}
.menu-header-top-container ul:not(.sub-menu) > li.menu-item:not(.menu-btn) > a {
    position: relative;
    display: inline-block;
}
.menu-header-top-container ul:not(.sub-menu) > li.menu-item:not(.menu-btn) > a:before,
.menu-header-top-container ul:not(.sub-menu) > li.menu-item.current-page-ancestor:not(.menu-btn) > a:before,
.header-menu-section ul:not(.sub-menu) > li.current-menu-ancestor > a:before,
.header-menu-section ul:not(.sub-menu) > li.current-page-ancestor > a:before {
    content: '';
    display: block;
    height: 2px;
    left: 0px;
    right: 0px;
    bottom: -5px;
    position: absolute;
}
.menu-header-top-container ul:not(.sub-menu) > li.menu-item:not(.menu-btn) > a:hover:before,
.menu-header-top-container ul:not(.sub-menu) > li.menu-item.current-page-ancestor:not(.menu-btn) > a:hover:before,
.header-menu-section .current-menu-ancestor > a:before,
.header-menu-section .current-page-ancestor > a:before {
    background: #009583;
}
.mobile-navigation .navbar-toggler {
    border-color: #1A3B73;
    color:  #1A3B73;
}
.mobile-navigation .navbar-toggler .navbar-toggler-icon {
    color:  #1A3B73;
}
.mobile-navigation li a {
    padding: 15px 0px;
    display: block;
}
.mobile-navigation li:last-child {
    border:  0px !important;
}
#menu-header-bottom li.nav-link {
    padding:  0px;
}
#menu-header-bottom > li > a {
    display: inline-block;
    padding: 2rem 1.5rem;
}
.header-menu-section .menu-item-has-children {
    position: relative;
}
.header-menu-section #menu-header-top > .current-menu-ancestor > a:after,
.header-menu-section #menu-header-top > .current-page-ancestor > a:after,
.header-menu-section #menu-header-top > .menu-item-has-children > a:after {
    content: '>';
    display: inline-block;
    margin: 0px 0px 0px 5px;
    opacity: 0;
}
.header-menu-section #menu-header-top > .current-menu-ancestor > a:after,
.header-menu-section #menu-header-top > .current-page-ancestor > a:after,
.header-menu-section #menu-header-top > .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: #fff;
    display: none;
    z-index: 2;
}
.header-menu-section .menu-item-has-children:hover > .sub-menu {
    display: block;
}
.header-menu-section .menu-item-has-children .sub-menu li {
    border-bottom: 1px solid #16C4AE;
}
.header-menu-section .menu-item-has-children .sub-menu li a {
    color:  #1A3B73;
    display: block;
}
.header-menu-section .menu-item-has-children .sub-menu li.blue-bg {
    background: #1A3B73;
    padding: 0.5rem 8px 0.5rem 24px !important;
}
.header-menu-section .menu-item-has-children .sub-menu li.blue-bg a {
    color: #16C4AE;
}
.fixed-header .site-notification,
body:not(.menu-active) header:not(.fixed-header) .logo-fixed,
body.menu-active .logo-normal,
header.fixed-header .logo-normal,
body.menu-active .menu-btn a:before {
    display: none;
}
body.menu-active header .menu-item a {
    color: #1A3B73;
}
body.menu-active .banner-container {
    margin: 0 !important;
}
@media all and (min-width: 992px) {
    header.fixed-header a,
    header.fixed-header a:hover {
        color: #1A3B73;
    }
    header.fixed-header .header-menu-section {
        margin-left:  0px !important;
    }
    header.fixed-header .header-menu-section > div,
    header.fixed-header .menu-header-bottom-container {
        display: inline-block !important;
        padding: 0px !important;
        border: 0px !important;
    }
    header.fixed-header .menu-item,
    header.fixed-header #menu-header-bottom > li > a {
        padding: 0.5rem 8px !important;
    }
    header.fixed-header .menu-btn a:before {
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        border: 1px solid #009583;
    }
    .fixed-header > .container {
        padding-top:  10px !important;
        padding-bottom:  10px !important;
    }
    .fixed-header {
        top: -40px;
        transform: translateY(40px);
        position: fixed;
        right: 0;
        left: 0;
        z-index: 1030;
        background: #fff;
        border-color: #fff;
    }
}
@media all and (max-width: 991px) {
    body.menu-active 
}

/* HEADER QUICKLINKS */
.header-quicklicks-wrapper .dropdown-toggle::after {
    position: absolute;
    background: url(images/dropdown-light.png) center no-repeat;
    border: 0px;
    width: 14px;
    height: 14px;
    background-size: contain;
    top: 21px;
    right:  15px;
}
.header-quicklicks-wrapper .dropdown-toggle::before {
    position: absolute;
    width:  1px;
    top:  0px;
    right: 40px;
    bottom:  0px;
    content:  "";
    display: block;
    border-left: 1px solid #1A3B73;
}
.header-quicklicks-wrapper .shortcut-menu {
	border: 1px solid #1A3B73;
    padding: 14px 70px 15px 18px;
    border-radius: 8px;
    background: rgba(26, 59, 115, 0.13);
}

/* HEADER SEARCH  */
.header-search {
	position: relative;
}
.header-search .form-control {
    border-radius: 0;
    height: 55px;
    border-color: transparent;
    background: transparent;
    border-bottom: 3px solid #fff;
    color: #fff;
    width: calc(100% - 60px);
    display: inline-block;
    font-size: 28px;
}
.header-search .form-control::placeholder {
    color: #fff;
}
.header-search .search-submit {
    border: 0px;
    color: #fff;
    background: transparent;
    font-size: 35px;
    width: 50px;
    display: inline-block;
    margin-right: 6px;
}

/* MAIN */
section.main {
    z-index: 1;
}
.acf-loop {
    background-size: cover !important;
}
.acf-col {
    position: relative;
    padding-left: 30px;
}
.self-has-side-line:before {
    content: '';
    display: inline-block;
    width: 2px;
    bottom: 5px;
    top: 5px;
    left: 0px;
    background: #009583;
    max-height: 275px;
    position: absolute;
}
.has-row-side-line {
    position: relative;
}
.has-row-side-line:before {
    content: '';
    display: inline-block;
    width: 2px;
    bottom: 53px;
    top: 53px;
    left: 0px;
    background: #009583;
    max-height: 275px;
    position: absolute;
}

/* SUBNAVIGATION */
.sub-navigation-wrapper {
    background: rgba(27, 101, 164, 0.75);
    padding: 30px 0px;
}
.sub-navigation > ul > li > a {
    color: #fff;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 22px;
    background: rgba(41, 132, 195, 0.8);
    display: block;
    padding:  25px 15px;
    width: 100%;
}
.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 #16C4AE;
    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 2px;
    }
    .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;
    }
    .sub-navigation > ul > li.current_page_item > a, 
    .sub-navigation > ul > li.current_page_parent > a {
        background: #fff;
        color:  #2984C3;
        position: relative;
    }
    .sub-navigation > ul > li.current_page_item > a:after, 
    .sub-navigation > ul > li.current_page_parent > a:after {
        content: '';
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #fff;
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
    }
}
@media all and (max-width: 767px) {
    .sub-navigation > ul {
        border:  1px solid #1A3B73;
    }
    .sub-navigation > ul > li {
        display: block;
        width: 100%;
        padding: 2px 0px;
    }
    .sub-navigation ul > li:first-child {
        padding-top: 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;
    }
    .sub-navigation:not(.show-options) > ul > li,
    .sub-navigation:not(.show-options) > ul > li .children {
        display: none;
    }
    .sub-navigation:not(.show-options) > ul > li.current_page_item, 
    .sub-navigation:not(.show-options) > ul > li.current_page_parent {
        display: block;
    }
    .sub-navigation > ul > li.current_page_item > a, 
    .sub-navigation > ul > li.current_page_parent > a {
        background: #fff;
        color:  #1A3B73;
    }
    .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: #231f20;
    color: #fff;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: 0.11px;
    font-weight: 300;
}
footer a {
    color: #fff;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: 0.11px;
    font-weight: 300;
}
footer p:last-child {
    margin:  0px;
}

/* FEATURED POSTS */
.featured-posts-container {
    background: #fff;
}
.featured-posts .border-spacer {
    border-bottom: 5px solid #2984C3;
}
.featured-posts .slick-slide {
    padding: 0px 15px;
}
.featured-posts .slick-slide a,
.featured-posts .slick-slide h5 {
    color: #fff;
}
.featured-posts .read-article-link {
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0.5px;
}
.featured-posts .post-image {
    position: relative;
    display: block;
    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: 15px;
    right: 15px;
    bottom:  0px;
    z-index: 2;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    font-size: 50px;
}
/* --- */
.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: 2px;
    overflow: hidden;
    border: 0px;
    background: #d8d8d8;
    width: 25px;
    margin:  2px 15px 0px;
}
.slick-dots .slick-active button {
    background: #d8d8d8;
    height: 4px;
    margin-top:  0px;
}
.featured-posts-container .slick-dots button,
.featured-posts-container .slick-dots .slick-active button {
    background: #2984c3;
}

/* BOOTSTRAP OVERRIDE */
.btn-primary {
    background-color: #009583;
    border-color: #009583;
    color: #fff;
}
.btn-outline-primary {
    color: #009583;
    background: #fff;
    border-color: #009583;
}
.btn-primary:hover {
    background-color: #1A3B73;
    border-color: #1A3B73;
}
.btn-outline-primary:hover {
    background-color: #1A3B73;
    border-color: #1A3B73;
}
.btn-lg {
    width: 300px;
    max-width: 100%;
}
.btn-sc {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
}
.color-primary {
    color: #1A3B73;
}
.color-secondary {
    color: #2984C3;
}
.fw-normal {
    /*font-family: 'DIN';*/
}
@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-sc {
        margin: 0px 0px 15px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* ROW OVERRIDES */
.color-light .btn {
    border-color: #FFFFFF !important;
}
.color-light * {
    color: #FFFFFF !important;
}

/* Subscription */
.subscribe-container {
    background: #e2e2e5;
}
#subscribeModal.modal .modal-dialog {
    max-width: 96%;
}
#subscribeModal.modal .close {
    position: absolute;
    top: 0px;
    right: 0px;
    color: #fff;
    background: transparent;
    border: 0px;
    font-size: 18px;
    cursor: pointer;
}
#subscribeModal.modal .close span {
    font-size: 50px;
}
#subscribeModal.modal .modal-content {
    justify-content: center;
    flex-direction: unset;
    background: transparent;
    border:  0px;
}
#subscribeModal.modal .modal-body {
    max-width: 500px;
}
.modal-backdrop.show {
    background: #009583;
    opacity: 0.8;
}