/*
    GLOBAL
    ROWS
    HEADER
    OTB NAVIGATION
    MEGANAV
    FOOTER
    HERO BANNER
    SUB TEMPLATE
    SUB BANNER
    CARDS
    NEWS/EVENTS/BLOGS
    FORMS
    SEARCH RESULTS
    RESPONSIVE
    BACKEND OVERWRITES
*/

@font-face {
    font-family: "Gentleman";
    src: url("fonts/Gentleman-600-Regular.otf") format("OpenType"), url("fonts/Gentleman-700-Medium.otf") format("OpenType"), url("fonts/Gentleman-800-Bold.otf") format("OpenType");
}

/* GLOBAL */


/* html / body to get the footer to be stuck at the bottom */

html {
    position: relative;
    overflow-x: hidden;
    height: 100%;
}
body {
    line-height: 1.75;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
    font-style: normal;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow-x: hidden;
}
main {
    padding-top: 165px;
    /* height of header */
}
.container {
    max-width: 1400px !important;
}
h1, h2, h3, h4, h5, p, ul, ol, img, blockquote, .card {
    margin-bottom: 1.5rem;
}
p>img {
    margin-bottom: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Gentleman", sans-serif;
    color: #006699;
    font-weight: 600;
    line-height: 1;
}
h1 {
    font-size: 3.75rem;
    font-weight: 800;
}
h2 {
    font-size: 3rem;
    font-weight: 700;
}
h3 {
    font-size: 1.875rem;
    font-weight: 700;
}
h4 {
    font-size: 1.5rem;
}
.sub-main h2, .sub-main h3, .sub-main h4 {
    margin-top: 1rem;
}
.sub-main h3, .sub-main h4, .sub-main h5 {
    margin-bottom: .5rem;
}
.sub-main h2 {
    margin-top: 3rem;
}
main ul li, main ol li {
    margin-bottom: 1rem;
}
main ul li:last-child, main ol li:last-child {
    margin-bottom: 0;
}
.lead {
    font-size: 1.5rem;
    font-style: italic;
}
blockquote {
    font-size: 1.25rem;
    font-style: italic;
    padding: 1.5rem;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}
a {
    color: #666;
    text-decoration: none;
    transition: color .3s ease-in-out;
}
a:hover {
    color: inherit;
    text-decoration: underline;
}
a.btn, .btn.primary, .btn.btn-primary, a.btn-link1, .btn-link1 a, a.btn-link2, .btn-link2 a {
    display: inline-block;
    font-size: 1.125rem;
    line-height: 1;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    padding: .75rem 1rem;
    background-color: #0978b6;
    border: 2px solid transparent;
    border-radius: 1.5rem;
    transition: color .3s ease-in-out, border .3s ease-in-out, background .3s ease-in-out;
}
a.btn.primary:hover, .btn.btn-primary:hover, a.btn-link1:hover, .btn-link1 a:hover {
    color: #FFF;
    border-color: transparent;
    background-color: #133563;
}
a.btn.secondary, a.btn.btn-secondary, a.btn-link2, .btn-link2 a {
    color: #FFF;
    background-color: #ff9933;
    border-color: #ff9933;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle, .btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle {
    color: inherit !important;
    background-color: inherit !important;
    border-color: inherit !important;
}
a.btn.secondary:hover, a.btn.btn-secondary:hover, a.btn-link2:hover, .btn-link2 a:hover {
    color: #ff9933;
    background-color: transparent;
}
p>.btn:not(:first-of-type), p>.btn-primary:not(:first-of-type), p>.btn-secondary:not(:first-of-type), p>.btn-link1:not(:first-of-type), p>.btn-link2:not(:first-of-type) {
    margin-left: 1rem;
}
a.btn[href=""] {
    display: none;
}
a.arrow, .arrow a {
    color: inherit;
}
a.arrow:after, .arrow a:after {
    display: inline-block;
    content: '\f054';
    font-family: "Font Awesome 5 Free";
    font-size: .75rem;
    font-weight: 900;
    color: #133563;
    margin-left: .25rem;
    transition: transform .3s ease-in-out;
}

/* breadcrumbs */

.breadcrumb {
    color: #666;
    padding: 0;
    margin-bottom: 0;
    background: none;
}
.breadcrumb a, .breadcrumb-item.active {
    color: #666;
}

/* pagination */

li.page-item .page-link {
    color: #666;
}
li.active.page-item .page-link {
    color: #FFF;
    border-color: #666;
    background-color: #666;
}

/* row with same color */

.rowwrap.style2 a.arrow:after, .rowwrap.style2 .arrow a:after {
    color: #666;
}
a.arrow:hover, .arrow a:hover {
    text-decoration: none;
}
a.arrow:hover:after, .arrow a:hover:after {
    transform: translateX(5px);
}
img {
    max-width: 100%;
}
img.-align-right {
    margin-left: 2rem;
}
img.-align-left {
    margin-right: 2rem;
}
.img-bg {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
}
.img-bg>* {
    position: relative;
    z-index: 1;
}
.img-bg.overlay:after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
}
.object-fit-cover {
    object-fit: cover;
}

/* ROWS */

.rowwrap {
    padding: 3rem 0;
}
.rowwrap.style1 {
    background: #FFF;
}
.rowwrap.style2 {
    background: #d5e8fd;
}
.sub-main .rowwrap {
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
}
.sf_cols.row {
    width: auto;
    margin-left: -15px;
    margin-right: -15px;
}
.sf_3cols_1_33, .sf_3cols_2_34, .sf_3cols_3_33 {
    width: 33.3333% !important;
}

/* HEADER */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FFF;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .3);
    z-index: 9999;
    min-height: 165px;
}
header:after {
    content: '';
    display: block;
    width: 100%;
    height: .25rem;
    background: linear-gradient( 90deg, #87c540 0%, #87c540 6%, #5974b9 6%, #5974b9 28%, #d84f2b 28%, #d84f2b 50%, #f8981e 50%, #f8981e 72%, #87c540 72%, #87c540 94%, #5974b9 94%);
}
.header-top {
    color: #FFF;
    background: #006095;
}
.eyebrow, .login {
    display: inline-block;
}
.header-top a {
    color: #FFF;
}
.header-bottom>.container>.row {
    position: relative;
    /* height: 124px; Change this to the native height of the header */
}
a.logo {
    display: block;
    height: 117px;
    background: url(images/logo.jpg) no-repeat center;
    background-size: contain;
    text-indent: -9999px;
}
.eyebrow ul {
    list-style: none;
    margin: 0;
}
.eyebrow ul li {
    display: inline-block;
    margin: 0 0 0 1rem;
}
.login {
    display: inline-block;
    margin-left: 1rem;
    background: #133563;
}
.login-link {
    display: inline-block;
    text-decoration: none;
    color: #FFF;
    transition: background ease-in-out .3s;
}
.login i {
    font-size: 1.5rem;
}
.login a:hover {
    text-decoration: none;
}
.login .dropdown-menu.show {
    transform: translate3d(-31px, 25px, 0px) !important;
    /* Hack for fixed positioning */
}
.memberLinks {
    display: inline-block;
}
.memberLinks a {
    display: inline-block;
    margin: 0 .5rem;
}
a.btn-search {
    font-size: 0;
    text-decoration: none;
    color: #FFF;
    background: #006699;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 2.5rem;
    height: 2.5rem;
    transition: background ease-in-out .3s;
}
a.btn-search:before {
    content: '\f002';
    font-family: "Font Awesome 5 Free";
    font-size: 1.25rem;
    font-weight: 900;
    display: inline-block;
    min-width: 1.5rem;
}
a.btn-search.active:before {
    content: '\f00d';
}
a.btn-search:hover {
    background: #133563;
}
.search {
    opacity: 0;
    background: #d5e8fd;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: .75rem;
    z-index: 9998;
    box-shadow: 1px 1px 10px rgb(0 0 0 / 30%);
    transition: transform ease-in-out .5s, opacity ease-out 1s;
}
.search.active {
    opacity: 1;
    transform: translateY(165px);
    /* height of the header */
}
.search .col>div {
    width: 100%;
    max-width: 30em;
    background: #FFF;
    position: relative;
}
.sfsearchTxt {
    width: 100%;
    border: none;
    padding-right: 5rem;
    height: 2.5rem;
}
.search input[type="submit"] {
    color: #FFF;
    background: #133563 !important;
    border: none;
    padding: 0 .5rem;
    position: absolute;
    right: 0;
    height: 2.5rem;
}

/* OTB NAVIGATION */

.main-nav .k-menu>.k-item {
    border: none;
}
.main-nav  ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-nav ul > li {
    float: left;
    position: relative;
}
.main-nav ul > li a {
    display: block;
    padding: 0.5em 1.1em 0.4em;
    line-height: 1.34em;
}
.main-nav .k-menu-group li {
    float: none;
}
.main-nav .k-menu>.k-item .k-link {
    font-weight: 900;
    text-decoration: none;
    color: #153666;
    position: relative;
}
.main-nav .k-menu>.k-item .k-link .k-icon {
    display: none;
}
.main-nav .k-menu>.k-item .k-link:after {
    content: '';
    display: block;
    margin: auto;
    height: 4px;
    width: 0px;
    border: none;
    background: transparent;
    transition: width .5s ease, background-color .5s ease;
}
.main-nav .k-menu>.k-item .k-link:hover:after {
    width: 100%;
    background: #006095;
}
.main-nav .k-menu-group {
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    border: none !important;
    border-bottom: 5px solid #006095 !important;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .3);
}
.main-nav .k-menu .k-menu-group>.k-item:hover {
    background: #d5e8fd;
}
.main-nav .k-menu-group .k-item .k-link {
    font-size: 1rem;
    text-align: left;
    font-weight: normal;
}
.main-nav .k-menu-group .k-item .k-link:after {
    display: none;
}

/* MOBILE NAVIGATION */

#btn-mobile {
    display: none;
    font-size: 0;
    color: #006699;
    line-height: 40px;
    margin-left: 1.5rem;
    position: relative;
    top: .25rem;
}
#btn-mobile:before {
    content: '\f0c9';
    font-family: 'Font Awesome 5 Free';
    font-size: 2rem;
    font-weight: 900;
    display: inline-block;
}
a.mobile-close {
    display: block;
    text-align: center;
    color: #133563;
    padding: 1rem;
    background: #d5e8fd;
}
.mobile-login {
    text-align: center;
    padding: 1rem;
}
.mobile-eyebrow {
    background: #01476e;
}
.mobile-eyebrow ul {
    margin: 0;
}
.mobile-eyebrow ul li {
    border: none;
}
.mobile-eyebrow ul li a {
    color: #FFF;
}
.mobile-eyebrow ul li:hover {
    line-height: 48px;
}
.mobile-eyebrow ul li a:hover {
    box-shadow: none;
}
.mobile-menu .k-treeview {
    white-space: normal;
}
.mobile-menu .k-treeview .k-item {
    padding: 0;
}
.mobile-menu .k-treeview .k-item div {
    position: relative;
}
.mobile-menu .k-in {
    display: block;
    font-size: 1rem;
    color: #133563;
    margin: 0;
    padding: 1rem;
    padding-left: 2rem;
    border: none;
    border-bottom: 1px solid #CCC;
}
.mobile-menu .k-treeview .k-icon {
    position: absolute;
    width: auto;
    height: auto;
    margin: 0;
    padding-left: 5px;
    top: 50%;
    transform: translateY(-50%);
}
.mobile-menu .k-plus:before, .mobile-menu .k-minus:before {
    content: '\f054';
    font-family: "Font Awesome 5 Free";
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    color: #133563;
    display: inline-block;
    position: relative;
    left: .25rem;
}
.mobile-menu .k-minus:before {
    content: '\f078';
    color: #006699;
}
.mobile-menu .k-group .k-group {
    background: #EEE;
}
.mobile-menu .k-group .k-group .k-in {
    padding-left: 3rem;
}
.mobile-menu .k-treeview .k-group .k-group .k-icon {
    left: 1rem;
}
.mobile-menu .k-group .k-group .k-group .k-in {
    padding-left: 4rem;
}
.mobile-menu .k-treeview .k-group .k-group .k-group .k-icon {
    left: 2rem;
}
.mobile-menu .k-group .k-group .k-group .k-group .k-in {
    padding-left: 5rem;
}
.mobile-menu .k-treeview .k-group .k-group .k-group .k-group .k-icon {
    left: 3rem;
}

/* FOOTER */

footer {
    color: #FFF;
    margin-top: auto;
    background: #01476e;
}
footer a, footer h1, footer h2, footer h3, footer h4, footer h5 {
    color: #FFF;
}
.footer-links ul {
    font-size: 1.15rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links ul li {
    display: inline-block;
    margin-left: 1rem;
}
.header-social a, .footer-social a {
    color: #FFF;
}
.header-social a:hover, .footer-social a:hover {
    color: #ff9933;
}
a.social.comm {
    display: block;
    width: 16px;
    height: 16px;
    background: url(images/social-comm.png);
    top: 2px;
    position: relative;
}
a.social.comm:hover {
    background-position: 0 -16px;
}
footer a.social.comm {
    display: block;
    width: 26px;
    height: 26px;
    background: url(images/social-comm-bot.png);
    top: 5px;
    position: relative;
}
footer a.social.comm:hover {
    background-position: 0 -25.5px;
}
.footer-address {
    position: relative;
    background: #006095;
}
.footer-address:before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    left: -200%;
    top: 0;
    background: #006095;
}
.footer-address {
    font-size: 1.5rem;
}
.footer-address h3 {
    font-family: 'Raleway', sans-serif;
    margin-bottom: .5rem;
}
.footer-bottom {
    color: #FFF;
    background: #012a40;
}

/* HERO BANNER */

#hero-banner .img-bg {
    display: flex;
    align-items: flex-end;
    padding: 5rem 0;
    height: calc(100vh - 124px);
}
#hero-banner .banner-text {
    width: 100%;
    max-width: 70%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    padding: 2rem;
    background: #FFF;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .3);
}
#hero-banner .banner-text p:last-of-type {
    margin-bottom: 0;
}

/* SUB TEMPLATE */

.sub-main {
    width: 75vw !important;
}
.sub-left {
    flex: 0 0 250px;
    margin-right: 2rem;
}
.left-nav {
    padding: 1rem;
    background: #EEE;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .3);
}
.left-nav h2, .left-nav h3, .left-nav h4 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* SUB NAVIGATION */

ul.collapsibleNav {
    margin-bottom: 0;
}
ul.collapsibleNav, ul.nested {
    padding: 0 0 0 1.5rem;
    list-style: none;
}
main ul.collapsibleNav a {
    color: #000;
    text-decoration: none;
}
main ul.collapsibleNav a:hover {
    text-decoration: underline;
}
ul.nested {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    padding: 0 0 0 1.5rem;
    transition: all ease-in-out .3s;
}
ul.nested.active {
    margin-top: 1rem;
    visibility: visible;
    max-height: 800px;
}
ul.nested.active a {
    font-style: italic;
}
.collapsibleNav li {
    position: relative;
    margin-bottom: 1rem;
}
.collapsibleNav li:last-child {
    margin-bottom: 0;
}
span.toggleTree {
    position: absolute;
    margin-left: -1.25rem;
}
span.toggleTree:before {
    content: '\f054';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #666;
    display: inline-block;
    transition: all ease-in-out .3s;
}
span.toggleTree.tt-down:before {
    transform: rotate(90deg);
}

/* SUB BANNER */

.sub-banner {
    position: relative;
}
.sub-banner .img-bg {
    display: flex;
    align-items: center;
    min-height: 50vh;
}
.sub-banner .img-bg:before {
    filter: grayscale(100%);
}
.sub-banner .banner-text {
    position: relative;
    color: #FFF;
    padding: 2rem;
    z-index: 999;
}

/* CARDS */

.card {
    display: flex;
    flex: 1 1 auto;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .3);
}
.card.hero .img-bg {
    color: #FFF;
    background-color: #333;
    min-height: 30em;
}
.card-row .img-bg {
    color: #FFF;
    display: flex;
    align-items: center;
    min-height: 30vh;
    background-attachment: fixed !important;
}
.card.testimonial .card-text {
    position: relative;
}
.card.testimonial .card-text:before, .card.testimonial .card-text:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 2rem;
    display: block;
    position: absolute;
    opacity: .2;
}
.card.testimonial .card-text:before {
    content: '\f10d';
    top: -3rem;
}
.card.testimonial .card-text:after {
    content: '\f10e';
    right: 0;
    bottom: -3rem;
}

/* NEWS/EVENTS/BLOGS */

.content-type h3 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
}
ul.content-type li {
    margin-bottom: 1.5rem;
}
ul.content-type li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.content-type .media img {
    width: 100px;
    height: 100px;
    margin-right: 1.5rem;
    object-fit: cover;
}
.card-date {
    position: absolute;
    font-size: .9rem;
    color: #FFF;
    padding: .5rem 1rem;
    background: #666;
}
.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 1.5rem 1.5rem 0;
    background: #CCC;
}
.placeholder span:before {
    font-family: "Font Awesome 5 Free";
    font-size: 2.5rem;
    font-weight: 900;
    color: #666;
    display: block;
}
.news.placeholder span:before {
    content: '\f1ea';
}
.events.placeholder span:before {
    content: '\f073';
}
.blogs.placeholder span:before {
    content: '\f1d8';
}
.content-detail {
    max-width: 800px;
    margin: 0 auto;
}
.detail-info {
    border-left: 5px solid #666;
    padding-left: 1rem;
}
.detail-text:first-letter {
    font-size: 5rem;
    color: #666;
    float: left;
    line-height: 1;
    margin-right: .25rem;
}
.sf-icon-comment {
    fill: #666;
}

/* ACCORDION */

.accordion {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .3);
}
.accordion .card {
    box-shadow: none;
    margin: 0;
}
.accordion .card-header {
    position: relative;
    padding: 0;
    margin: 0;
}
.accordion .btn {
    display: block;
    width: 100%;
    color: #FFF;
    font-size: 1.25rem;
    white-space: normal;
    text-transform: none;
    text-align: left;
    text-decoration: none;
    padding: 1rem;
    padding-right: 3rem;
    background: #666;
    border-radius: 0;
}
.accordion .btn.collapsed {
    background: #CCC;
    color: #666;
}
.accordion .btn:after {
    content: '\f078';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}
.accordion .btn.collapsed:after {
    content: '\f054';
    color: #666;
}

/* SEARCH RESULTS */

.sf-search-results .sf-media {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #CCC;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .3);
}

/* RESPONSIVE */


/* XL */

@media (max-width: 1200px) {
    header {
        min-height: 117px;
    }
    .header-top, .main-nav {
        display: none;
    }
    #btn-mobile {
        display: inline-flex;
    }
    main {
        padding-top: 117px;
    }
    .search.active {
        transform: translateY(117px);
        /* height of the header */
    }
    .login .dropdown-toggle::after {
        display: none;
    }
    .login .dropdown-menu.show {
        right: -1.5rem;
        /* width of the icon */
        left: auto !important;
    }
}

/* LG */

@media(max-width: 992px) {}

/* MD */

@media(max-width: 768px) {
    .sub-main {
        width: 100% !important;
    }
    .footer-links ul li {
        margin: 0 .5rem;
    }
    /* hero banner */
    #hero-banner .img-bg {
        height: auto;
    }
    #hero-banner .banner-text {
        max-width: 100%;
        position: relative;
        left: auto;
        transform: none;
        margin: 0 auto;
        padding: 1rem;
    }
    /* layout block breaks */
    .sf_2cols_1_25, .sf_2cols_2_75, .sf_2cols_1_33, .sf_2cols_2_67, .sf_2cols_1_67, .sf_2cols_2_33, .sf_2cols_1_75, .sf_2cols_2_25, .sf_2cols_1_50, .sf_2cols_2_50, .sf_3cols_1_25, .sf_3cols_2_50, .sf_3cols_3_25, .sf_5cols_1_20, .sf_5cols_2_20, .sf_5cols_3_20, .sf_5cols_4_20, .sf_5cols_5_20, .sf_4cols_1_25, .sf_4cols_2_25, .sf_4cols_3_25, .sf_4cols_4_25, .sf_3cols_1_33, .sf_3cols_2_34, .sf_3cols_3_33 {
        width: auto !important;
        float: none;
    }
    .sf_colsIn {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .home-adverts .sf_colsOut {
        margin-bottom: 1.5rem !important;
    }
}

/* SM */

@media (max-width: 576px) {
    /* Headers */
    h1 {
        font-size: 2.75rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.75rem;
    }
    h4 {
        font-size: 1.25rem;
    }
    blockquote {
        font-size: 1rem;
    }
    /* buttons */
    a.btn, .btn.primary, .btn.btn-primary, a.btn-link1, .btn-link1 a, a.btn-link2, .btn-link2 a {
        display: block;
        margin: 1.5rem auto;
        max-width: 60vw;
    }
    p>.btn:nth-of-type(2) {
        margin-left: auto;
    }
    .lead {
        font-size: 1.25rem;
    }
}

/* BACKEND OVERWRITES */

.sfPageEditor header {
    position: relative;
}
.sfPageEditor header .row {
    height: auto;
}
.sfTemplateEditor .search {
    position: relative;
    opacity: 1;
}
.sfPageEditor main {
    padding-top: 0;
}
.sfPageEditor div[data-aos] {
    opacity: 1 !important;
    transform: none;
}
.sfTemplateEditor .sidr {
    position: relative;
    width: 100%;
    left: auto;
}
