/*
Theme Name: BlankSlate
Theme URI: https://opencollective.com/blankslate
Author: Bryan Hadaway
Author URI: https://opencollective.com/blankslate#section-contributors
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/bhadaway/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2024.2
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme 2011-2024
BlankSlate is distributed under the terms of the GNU GPL
*/

@font-face {
    font-family: 'Urbanist';
    src: url('Urbanist-VariableFont_wght.ttf') format('ttf');
    font-weight: 100 400 900;
    font-style: normal;
    font-display: swap;
}

/*html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,*/
output,ruby,section,summary,time,mark,audio,video{
    margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline
}
html{
    scroll-behavior:smooth
}
body{
    line-height:1;
    margin: 0;
}
a{
    text-decoration-skip-ink:auto
}
a[href^="tel"]{
    color:inherit;text-decoration:none
}
button{
    outline:0
}
nav ol,nav ul,ul#menu-footer{list-style:none}
blockquote,q{
    quotes:none
}
blockquote:before,blockquote:after,q:before,q:after{
    content:'';content:none
}
q{
    display:inline;font-style:italic
}
q:before{
    content:'"';font-style:normal
}
q:after{
    content:'"';font-style:normal
}
textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{
    -webkit-appearance:none;appearance:none;border-radius:0
}
input[type="search"]{
    -webkit-appearance:textfield
}
table{
    border-collapse:collapse;border-spacing:0
}
th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

body {
    background-color: #d3d6c3;
    font-family: Figtree, sans-serif;
    font-weight: 400;
    line-height: 1.3em;
}

a {
    color: inherit;
}

.post-edit-link {
    display: none;
}

input[type="search"] {
    border: none;
}

input[type="search"]:focus-visible {
    outline: none;
}

#header {
    background: #002B43;
    display: grid;
    grid-column-gap: 0;
    grid-row-gap: 0;
}

.bb-logo {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

#site-title #header-logo-div {
    width: 76%;
    max-width: 600px;
    height: 18vw;
    max-height: 100px;
    position: relative;
    border-color: #fff;
    border-top-width: 0;
    border-left-width: 20px;
    border-right-width: 20px;
    border-bottom-width: 10px;
    border-style: solid;
}

#menu a {
    text-decoration: none;
}

#container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 15px;
    min-height: calc(100vh - 338px);
}

/* mobile */
@media only screen and (max-width:910px) { 
    #header {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: 1fr auto;
        padding-bottom: 20px;
    }
    #branding {
        grid-area: 1 / 1 / 2 / 6;
    }
    .mob-menu-header-holder {
        grid-area: 2 / 1 / 3 / 2;
    }
    #header #search {
        grid-area: 2 / 2 / 3 / 5;
        padding: 20px 0 0;
    }

    #header #search i.fa-search {
        position: absolute;
        right: 4px;
        top: 4px;
        bottom: 4px;
        margin: auto;
        font-size: 21px;
        color: #fff;
        background: #002B43;
        padding: 4px;
    }
    #header form.search-form {
        background: #fff;
        height: 36px;
        position: relative;
    }
    #header .search-submit {
        width: 20%;
        position: absolute;
        right: 3px;
        top: 3px;
        bottom: 3px;
        opacity: 0;
        cursor: pointer;
    }
    #header .search-field {
        width: calc(100% - 74px);
        position: absolute;
        left: 4px;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    #close-search {
        display: none;
    }
    #menu {
        display: none;
    }
    .bb-logo {
        background: url(images/logo-mbl.png) no-repeat center center #fff;
        background-size: contain;
    }

    #site-title #header-logo-div {
        margin: 0 auto;
        border-radius: 0 0 20px 20px;
    }

    #search-click {
        display: none;
    }
    #menu-footer {
        display: block;
        text-align: center;
        padding: 0;
    }
}

/* desktop */
@media only screen and (min-width:911px) { 
    #header {
        /* grid-template-columns: repeat(7, 1fr);
        grid-template-rows: 1fr;  */
        position: relative;
        padding-bottom: 15px;
        display: block;
    }

    #header:after {
        content: '';
        clear: both;
        display: block;
    }

    #header:before {
        content: '';
        display: block;
        width: 100%;
        height: 30px;
        position: absolute;
        background: #fff;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    #branding {
        /* grid-area: 1 / 1 / 2 / 3; */
        float: left;
        max-width: 200px;
        height: 130px;
        display: block;
        width: 15%;
    }
    #menu {
        display: block;
        background: #fff;
        width: 75%;
        height: 78px;
        border-radius: 12px;
        position: absolute;
        left: calc(48px + 12%);
        top: 0;
        bottom: 0;
        margin: auto;
    }
    .menu-item {
        position: relative;
      }
      #header #menu ul.sub-menu {
        position: absolute;
        top: 98%;
        display: inline-block;
        min-width: 300px;
        padding: 30px 0 0 0;
        display: none;
        /* border-left: 12px solid #fff; */
        left: 0;
      }

      #header #menu .menu-item:hover ul.sub-menu {
        display: block;
      }
      #header #menu ul .sub-menu ul {
        display: none !important;
      }
      #header #menu ul .sub-menu li {
        text-align: left;
        background: #fff;    
        padding-bottom: 3px;
        border-left: 1px solid rgba(0, 43, 67, 0.2);
        border-right: 1px solid rgba(0, 43, 67, 0.2);
        padding-left: 12px;
      }

      #header #menu ul .sub-menu li:last-child {
        border-radius: 0 0 10px 10px;
        padding-bottom: 5px;
        border-bottom: 1px solid rgba(0, 43, 67, 0.2);
      }
    .page_item {
        margin: 0 10px;
        text-align: center;
    }
    #menu .page_item {margin:0;}
    #header #search {
        /* grid-area: 1 / 7 / 2 / 8; */
        position: absolute;
        right: 0;
        bottom: 0;
        top: 100%;
        margin: auto;
        height: 140px;
        width: 100%;
        background: #002B43;
        text-align: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.8s ease;
        z-index: 2;
    }

    #header #search input#s {
        width: 64%;
        height: 2.5em;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        top: 0;
        bottom: 0;
    }

    #header.search-showing + #container::after {
        content: '';
        position: absolute;
        display: block;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        background: rgba(0,0,0,0.5);
    }

    #header #search #searchsubmit {
        background: #5F74A4;
        border-radius: 6px;
        padding: 4px 8px;
        cursor: pointer;
        position: absolute;
        bottom: 12px;
        left: 0;
        right: 0;
        width: 300px;
        display: inline-block;
        margin: auto;
        color: #fff;
        font-weight: bold;
        border: 1px solid rgba(255,255,255,0.5);
    }

    #close-search {
        display: none;
    }

    #search #close-search {
        border-radius: 50%;
        background: #5F74A4;
        width: 30px;
        height: 30px;
        display: flex;
        font-family: sans-serif;
        color: #fff;
        font-weight: normal;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        top: 0;
        bottom: 0;
        transform: translateX(-34vw);
        z-index: 4;
        cursor: pointer;
        justify-content: center;
        align-items: center;
    }

    #header.search-showing #search {
        max-height: 215px;
        padding: 6px 0;
    }

    #header #search .fa-search {
        display: none;
    }

    #search-click {
        position: absolute;
        color: #002B43;
        top: 0;
        bottom: 0;
        margin: auto;
        height: 50px;
        left: 95%;
        cursor: pointer;
        background: #fff;
        padding: 10px;
        border-radius: 50%;
        width: 50px;
        text-align: center;
    }

    #search-click::after {
        content: "Search";
        font-family: serif;
        font-weight: normal;
        position: absolute;
        left: 0;
        right: 0;
        display: inline-block;
        bottom: 9px;
        font-size: 0.8em;
      }

    .bb-logo {
        background: url(images/bb_logo.png) no-repeat center center #fff;
        background-size: contain;
    }

    #site-title #header-logo-div {
        margin: 24px 0 0 26px;
        border: 0;
        height: 98px;
        width: auto;
    }

    #header #menu ul {
        display: flex;
        justify-content: space-between;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        align-items: center;
        padding: 0 28px;
    }

    #header:before {
        content: '';
        display: block;
        width: 100%;
        height: 30px;
        position: absolute;
        background: #fff;
        top: 0;
        bottom: 0;
        margin: auto;
      }
    

    #menu a {
        color: #002B43;
    }

    #menu a:hover {
        text-decoration: underline;
    }

    #header #site-title #header-logo-div {
        border: 3px solid #fff;
    }

    #menu li {
        padding: 0 7px;
        text-align: center;
    }
    #menu-footer {
        display: flex;
        justify-content: space-around;
        padding: 0;
    }
}

.page header.header {
    font-size: 2em;
    margin: 0.6em 0 0.8em;
}

footer {
    background: #002B43;
    color: #fff;
    padding: 1em 0 0.4em;
}

#footer a {
    color: #fff;
    /* text-decoration: none; */
}

#address {
    text-align: center;
    padding: 2em 0;
}

#copyright {
    text-align: center;
    font-size: 0.7em;
}

@media screen and (max-width: 781px){
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: auto !important;
      }
}