/*
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;
}
.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: 'DIN';
    color: #595959;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: 0.11px;
}
a {
	color: #193B73;
	text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
.attachment-266x266, .thumbnail img {
    width: 100% !important;
    height: auto !important;
}
.strong {
    font-family: 'DIN-BOLD';
}
h1, h2, h3, h4, h5, h6 {
    color: #193B73;
    font-family: 'DIN-MEDIUM';
    margin:  0px 0px 1rem;
}
h1, .h1 {
    font-size: 100px;
    line-height: 110px;
}
h2, .h2 {
    font-size: 90px;
    line-height: 105px;
}
h3, .h3 {
    font-size: 44px;
    line-height: 55px;
}
h4, .h4 {
    font-size: 37px;
    line-height: 45px;
}
h5, .h5 {
    font-size: 25px;
    line-height: 35px;
}
h6, .h6 {
    font-size: 18px;
    line-height: 25px;
}
.acf-loop table tr:nth-child(even) {
    background: rgba(216, 216, 216, 0.25);
}
.acf-loop table tr td {
    padding: 30px;
}

/* HELPER */
.theme-border {
    border-color: #193B73 !important;
}

/* SITE NOTIFICATIONS */
.site-notification {
	background: #00ACA0;
	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;
}
.mobile-navigation .navbar-toggler {
    border-color: #193B73;
    color:  #193B73;
}
.mobile-navigation .navbar-toggler .navbar-toggler-icon {
    color:  #193B73;
}
.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 .current-menu-ancestor > a,
.header-menu-section .current-page-ancestor > a {
    color: #0a58ca;
}
.header-menu-section .menu-item-has-children > a:after {
    content: '>';
    display: inline-block;
    margin: 0px 0px 0px 5px;
    opacity: 0;
}
.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: #193B73;
    display: none;
}
.header-menu-section .menu-item-has-children:hover > .sub-menu {
    display: block;
}
.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: #009BDE;
}
.header-menu-section .menu-item-has-children .sub-menu li a {
    color:  #fff;
    padding: 15px;
    display: block;
}

/* 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 #193B73;
}
.header-quicklicks-wrapper .shortcut-menu {
	border: 1px solid #193B73;
    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: 27px;
    height: 55px;
    padding-left:  50px;
    border-color: #193B73;
    background: rgba(255, 255, 255, 0.25);
}
.header-search .search-submit {
    background: url(images/search.png) center no-repeat;
    background-size: 15px auto;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    width: 50px;
    border:  0px;
}

/* MAIN */
section.main {
    z-index: 1;
}
.acf-loop {
    background-size: cover !important;
    overflow-x: hidden;
}

/* SUBNAVIGATION */
.sub-navigation > ul > li > a {
    color: #193B73;
    font-size: 19px;
    letter-spacing: 0;
    line-height: 22px;
    background: rgba(41, 132, 195, 0.1);
    display: block;
    padding:  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 #009BDE;
    display: block;
}
.sub-navigation ul li.page_item_has_children > ul li.current_page_item a {
    background:  #009BDE;
}
@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: #193B73;
        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:  #009BDE;
        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 #193B73;
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
    }
}
@media all and (max-width: 767px) {
    .sub-navigation > ul {
        border:  1px solid #193B73;
    }
    .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: #193B73;
        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:  #193B73;
    }
    .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: #193B73;
        color: #fff !important;
        height: 56px;
        text-align: center;
        line-height: 56px;
    }
}

/* FOOTER */
footer {
    background: #193B73;
    color: #fff;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: 0.11px;
    font-weight: 300;
}
.footer-top{
	color: #009BDE;
	font-size: 14px;
	max-width: 1065px;
	margin: 0 auto;
}
footer a {
    color: #009BDE;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: 0.11px;
    font-weight: 300;
}
footer .menu-item {
    border-right: 1px solid #fff;
}
footer .menu-item:last-child {
    border:  0px;
}

/* FEATURED POSTS */
.featured-posts-container {
    /* background: rgba(216, 216, 216, 0.17); */
    background: #f8f8f8;
}
.featured-posts .border-spacer {
    border-bottom: 5px solid #009BDE;
}
.featured-posts .slick-slide {
    padding: 0px 15px;
}
.featured-posts .read-article-link {
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0.5px;
}
.sc-posts-item .post-info, 
.sc-insights-item .post-info, 
.featured-posts .post-info {
    background:  #D2D8E1;
}
.featured-posts .post-image {
    position: relative;
    display: block;
    height: 250px;
    background-size: cover !important;
}
.featured-posts .post-image .image-overlay {
    background: #009BDE;
    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: #193B73;
}
/* --- */
.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: 4px;
    overflow: hidden;
    border: 0px;
    background: #193B73;
    width: 25px;
    margin:  0px 15px;
}
.slick-dots .slick-active button {
    background: #00ACA0;
}
@media all and (max-width: 974px) {
    .featured-post .post-item-locked {
        left:  15px;
        right:  15px;
    }
}

/* BOOTSTRAP OVERRIDE */
.btn-primary {
    background-color: #009BDE;
    border-color: #009BDE;
}

.btn-primary.trigger-download-price-table
{
    color:white;
}

.btn-outline-primary {
    color: #009BDE;
    border-color: #009BDE;
}
.btn-primary:hover {
    background-color: #193B73;
    border-color: #193B73;
}
.btn-outline-primary:hover {
    background-color: #193B73;
    border-color: #193B73;
}
.btn-lg {
    width: 300px;
    max-width: 100%;
}
.color-primary {
    color: #193B73;
}
.color-secondary {
    color: #009BDE;
}
.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;
    }
}

/* ROW OVERRIDES */
.color-light .btn {
    border-color: #FFFFFF !important;
}
.color-light * {
    color: #FFFFFF !important;
}
.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: #193B73;
}