/*  CSS Reset  */

*, ::before, ::after { box-sizing: border-box; }
* { margin: 0; padding: 0; word-wrap: break-word; }

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Raleway, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #040d34;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    clear: both;
}

p {
    color: #555;
    margin: 0;
    font-weight: 400;
}

ul { list-style: none; margin: 0; padding: 0; }
li { margin: 0; padding: 0; }

a, button, input, textarea {
    font-weight: 600;
}
a, a:active, a:focus, a:hover, button {
    text-decoration: none;
    border: none;
    outline: 0;
}
a, a:focus, a:hover { color: #0cbdbd; }
a:active, a:hover { color: #f48c1e; }

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-style: none;
    transition: all 0.3s ease-in-out;
}

strong { font-weight: bolder; }

/* Bootstrap carryover  */

.container {
    width: 100%;
    max-width: 1200px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 100%;
    max-width: 100%;
}

.fa {
    font-size: 2rem;
}

/* HEADER */

.header {
    position: relative;
    background: #2A2E40;
}

.header-inner {
    z-index: 3000;
    position: relative;
    padding: 30px 0;
}

.logo .normal-text a {
    color: #fff;
    font-size: 32px;
    line-height: 1.1;
    display: inline-block;
    margin-top: 2px;
    font-weight: bold;
    font-style: italic;
}

.logo .site-description {
    color: #ccc;
    font-size: 15px;
    margin-top: 5px;
}

/* NAVIGATION — desktop */

.main-menu {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #cccccc73;
    box-shadow: 0 0 5px #0000002e;
}

.main-menu-bar { position: relative; }

.header .main-navigation ul {
    display: block;
    margin: 0;
    padding: 0;
}

.header .main-navigation ul li {
    margin-right: 5px;
    position: relative;
    display: inline-block;
}
.header .main-navigation ul li:last-child { margin: 0; }

.header .main-navigation ul li a {
    color: #333;
    display: block;
    background: transparent;
    padding: 20px 12px;
    position: relative;
}

.header .main-navigation ul li:hover > a,
.header .main-navigation ul li.current_page_item > a {
    color: #fff;
    background: #0CBDBD;
}

.header .main-navigation ul li ul {
    box-shadow: 0 3px 3px rgba(0,0,0,.2);
    position: absolute;
    top: 100%;
    z-index: 99999;
    background: #2A2E40;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    width: 200px;
}
.header .main-navigation ul li:hover ul { opacity: 1; visibility: visible; }
.header .main-navigation ul li ul li { display: block; margin: 0; }
.header .main-navigation ul li ul li a {
    color: #eee !important;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    background: transparent !important;
}
.header .main-navigation ul li ul li a:hover { color: #F48C1E; }

/* NAVIGATION — mobile */

.mobile-menu { display: none; }

.mobile-menu .menu-click a {
    color: #F48C1E;
    z-index: 3333;
    position: relative;
    font-size: 20px;
}
.mobile-menu .menu-click a span { padding-left: 5px; }

.mobile-menu .menu-inner {
    position: relative;
    padding: 22px 0 20px;
    display: none;
}
.mobile-menu .menu-inner.active { display: block; }

.mobile-menu .menu-inner ul li {
    display: block;
    float: none;
    width: 100%;
    border-bottom: 1px solid #cccccc82;
}
.mobile-menu .menu-inner ul li:last-child { border: none; }

.mobile-menu .menu-inner ul li a {
    padding: 10px;
    display: block;
    width: 100%;
    color: #333;
}

.mobile-menu .menu-inner ul li ul { border-left: 1px solid #ccc; }
.mobile-menu .menu-inner ul li ul li { border: none; }

.mobile-menu .close-menu { margin-top: 12px; }
.mobile-menu .close-menu a {
    background: #F4932C;
    color: #fff;
    padding: 6px 20px;
    border-radius: 30px;
    border: 1px solid transparent;
}
.mobile-menu .close-menu a:hover,
.mobile-menu .close-menu a:focus {
    background: #2A2E40 !important;
    color: #fff;
    border-color: #F48C1E;
}
.mobile-menu .close-menu a i { margin-right: 5px; }

/* WP carryover */

html :where(img[class*=wp-image-]) { height: auto; max-width: 100%; }
iframe { max-width: 100%; }

.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.alignnone { margin: 0; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em; }
.entry-content { margin: 1.5em 0 0; }

.blog-section { padding: 20px 0 50px; }
.site-page .page-top { margin-top: 30px; }

h1 {
    font-size: 3em;
    margin: 0.67em 0;
}
h2 {
    margin-top: 1em;
    font-size: 2rem;
}
h3 { font-size: 1.75rem; }

/* TWW theme */

.tww-container {
    width: 100%;
    margin: 2em auto;
    padding: 0;
    display: flex;
    justify-content: flex-start;
}

.tww-full-width  { width: 100%; }
.tww-half-width  { 
    width: 45%;
    margin-right: 10%;
}
.tww-third-width {
    width: 30%;
    margin-right: 5%;
}
.tww-half-width:last-of-type, .tww-third-width:last-of-type { margin-right: 0; }

.tww-blue-box {
    width: 100% !important;
    background-color: #bbdefb;
    padding: 2em !important;
    margin-bottom: 2em;
    align-items: center;
}

.tww-fill-images img { width: 100%; height: auto; }

.tww-home-page-welcome {
    background: #fff;
    text-align: center;
    align-self: stretch;
}
.tww-home-page-welcome h1 {
    font-size: 36px;
    font-family: 'Amethysta', serif;
    font-weight: 400;
    line-height: 1;
    padding-bottom: 0.25em;
    border-bottom: 1px dotted #000;
    width: fit-content;
    margin: 0.5em auto;
}
.tww-home-page-welcome p {
    font-size: 24px;
    margin-bottom: 0.5em;
}
.tww-home-page-welcome p strong { text-transform: uppercase; }

.tww-content-box {
    background-color: #eeeeee;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 2em;
    padding: 2em;
}
.tww-content-box h2 { margin-top: 0; }

.tww-link-list {
    font-size: 16px;
    list-style-type: none;
    margin: 1em 0 0 0;
    padding: 0;
}
.tww-link-list li { margin-bottom: 0.5em; }
.tww-link-list a  { color: #33cccc; }
.tww-link-list a:hover { color: #f48c1e; }

.tww-home-page-map p {
    color: #000;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}
.tww-home-page-map p:first-of-type { font-size: 22px; }
.tww-home-page-map p:last-of-type { margin-bottom: 0; }

.tww-accordion {
    margin-top: 1.4em;
    width: 100%;
    border-bottom: 1px solid #cccccc;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    position: sticky;
    top: 0;
    background: #fff;
}
.tww-accordion:hover {
    background-color: #eeeeee;
    border-bottom-color: #eeeeee;
    cursor: pointer;
}
.tww-accordion::before {
    content: '+';
    color: #000000;
    font-weight: normal;
    position: absolute;
    right: 0.5em;
}
.tww-accordion.is-open::before {
    content: '-';
}
.tww-accordion-content {
    display: none;
}
.is-open + .tww-accordion-content {
    display: block;
}

.tww-accordion-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
}
.tww-content-box h3 {
    font-size: 1.75rem;
    margin-top: 0;
}

/* Footer */

.footer-bottom {
    background: #2A2E40;
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.scroll-top a {
    background: #0CBDBD;
    display: inline-block;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 40px;
    border-radius: 100%;
    color: #fff;
    position: absolute;
    top: -20px;
    right: 30px;
}
.scroll-top a:hover { background: #fff; color: #0CBDBD; }

.footer-bottom .single-line {
    display: inline-block;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #bbb;
}
.footer-bottom .single-line:last-child { border: none; padding: 0; margin: 0; }
.footer-bottom .single-line p,
.footer-bottom .single-line p a { color: #ccc; }
.footer-bottom .single-line p a:hover { color: #F38B1D; }

/* Mobile (≤ 767px) */

@media only screen and (max-width: 767px) {

    /* Swap desktop nav for mobile menu */
    #site-navigation  { display: none; }
    .mobile-menu      { display: block; }
    .main-menu           { padding: 15px 0; }

    /* Stack TWW flex columns */
    .tww-container       { flex-wrap: wrap; margin-bottom: 0; }
    .tww-half-width,
    .tww-third-width     { width: 100%; margin-bottom: 2em; margin-right: 0; }
    .tww-half-width:last-of-type,
    .tww-third-width:last-of-type { margin-bottom: 0; }
}

/* Tablet (768px – 991px) */

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header .main-navigation ul li          { margin-right: 2px; }
    .header .main-navigation ul li a        { padding: 18px 5px; font-size: 14px; }
}
