/* ==========================================================================
    little_sails - layout
    Bootstrap 5.3.8
    - Header, footer and slider overlay use flexbox instead of floats/tables.
    - Vendor prefixes and IE-only .htc behaviours removed (BS5 has no IE support).
    - All IDs / classes kept so custom.js, mmenu and owl.carousel keep working.
    ========================================================================== */

/* Main Wrapper */

#mainWrapper {
    position: relative;
    text-align: left;
    margin: 0 auto;
    min-width: 320px;
    font-size: 16px;
    overflow: hidden;
    padding-top: 100px;
}

/* Header */

#header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    border-top: 8px solid #1cbfd0;
    background-color: #fff;
    z-index: 10000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

#header .section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 92px;
}

#header .logo {
    flex: 0 0 auto;
    width: 495px;
    max-width: 100%;
    margin: 7px 0 0;
}

#header .logo img {
    display: block;
    width: 100%;
}

#header .headerRight {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 0;
}

#header .contact {
    display: flex;
    margin: 4px 23px 0 0;
    padding: 0;
    list-style: none;
}

#header .contact li {
    margin: 0 0 0 16px;
    padding: 0;
    list-style: none;
}

#header .contact li:first-child {
    margin-left: 0;
}

#header .contact li img {
    display: block;
    height: 31px;
    width: auto;
}

#header .contact li a:hover img {
    transform: scale(1.05);
}

#header #navigation {
    margin-right: 16px;
    margin-top: 17px;
}

#header #navigation ul {
    margin: 0;
    padding: 0;
}

#header #navigation > ul {
    display: flex;
}

#header #navigation ul li {
    position: relative;
    margin: 0 0 0 52px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
}

#header #navigation ul li a {
    position: relative;
    display: inline-block;
    transition: color 0.4s ease 0s;
}

#header #navigation ul li.hasSub a {
    padding-right: 0.9285714285714286em;
}

#header #navigation ul li.hasSub a:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.5714285714285714em;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.3571428571428571em 0.25em 0 0.25em;
    border-color: #74d1dd transparent transparent transparent;
}

#header #navigation ul li.hasSub ul li a:before {
    display: none;
}

#header #navigation ul li:first-child {
    margin-left: 0;
}

#header #navigation ul li a:after {
    position: absolute;
    bottom: -0.6em;
    content: "";
    width: 0px;
    height: 0.3571428571428571em;
    left: 50%;
    border-radius: 2.142857142857143em;
    background: #1cbfd0;
    transition: all 0.3s;
    transform: skewX(15deg);
}

#header #navigation ul li:hover a:after,
#header #navigation ul li.Current a:after,
#header #navigation ul li.Parent a:after {
    width: 80%;
    margin-left: -40%;
}

/* Drop-down */

#header #navigation ul li ul {
    margin: 0;
    text-align: left;
    position: absolute;
    left: 0;
    bottom: auto;
    right: auto;
    padding: 20px 0 0;
    border-bottom: 4px solid #00a7b8;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    min-width: 100%;
    transform: translateY(-2em);
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

#header #navigation ul li ul li {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #1cbfd0;
    color: #fff;
    text-shadow: none;
}

#header #navigation ul li ul li:after {
    display: none;
}

#header #navigation ul li ul li a {
    display: block;
    padding: 7px 15px;
    line-height: 1.2;
    text-transform: capitalize;
    white-space: nowrap;
    color: #fff !important;
}

#header #navigation ul li ul li a:after {
    display: none;
}

#header #navigation ul li ul li:hover {
    background-color: #00adbe;
    color: #fff;
    text-shadow: none;
}

#header #navigation li:hover ul {
    visibility: visible;
    opacity: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
}


/* Slider */

#slider .slides {
    margin: 0;
    padding: 0;
}

#slider .slides li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

#slider .slides li img {
    display: block;
    width: 100%;
}

#slider .slides li .overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    color: #fff;
    font-size: 16px;
}

#slider .slides li .overlay .section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding-left: 0;  /* the old display:table ignored .section's side padding */
    padding-right: 0;
}

#slider .slides li .overlay .section .inner {
    padding: 0 22px 9.28%;
}

/* contain the floated slider logo */
#slider .slides li .overlay .section .inner::after {
    content: "";
    display: block;
    clear: both;
}

#slider .slides li .overlay .logo {
    position: relative;
    float: left;
    width: 6.875em;
    z-index: 2;
}

#slider .slides li .overlay .text {
    position: relative;
    margin-left: 6em;
    font-size: 1.25em; /* 20px */
    text-shadow: 0px 1px 0.25em rgba(0, 0, 0, 0.99);
    line-height: 1.55;
    margin-top: 0.4em;
    z-index: 1;
}

#slider .slides li .overlay .text:after {
    content: "";
    position: absolute;
    left: -11.9em;
    top: -7.95em;
    width: 24.5em;
    height: 20.7em;
    background: url(../images/slider-shadow.png) no-repeat;
    background-size: 100%;
    opacity: 0.5;
    z-index: -1;
}

#slider .slides li .overlay .text .title {
    font-family: 'Connected', cursive, sans-serif;
    font-weight: bold;
    font-size: 4.35em; /* 87px */
    line-height: 0.8;
    margin: 0;
    text-shadow: 0 0 1px #114f82;
}

#slider .slides .owl-prev,
#slider .slides .owl-next {
    position: absolute;
    top: 50%;
    margin-top: -41px;
    width: 82px;
    height: 82px;
    padding: 0;
    border: 1px solid #fff;
    text-indent: -9999em;
    overflow: hidden;
    border-radius: 100%;
    outline: none;
    background: url(../images/slider-prev-arrow.png) no-repeat left top;
    background-size: 100%;
}

#slider .slides .owl-prev:hover,
#slider .slides .owl-next:hover {
    background-position: left bottom;
    border-color: #3297a2;
}

#slider .slides .owl-prev {
    left: 3.055555555555556%;
}

#slider .slides .owl-next {
    background-image: url(../images/slider-next-arrow.png);
    right: 3.055555555555556%;
}


#gallery .slides.owl-carousel .image {
    aspect-ratio: 275 / 200;
    overflow: hidden;
}

#gallery .slides.owl-carousel .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Mobile Slider */

#mobileSlider {
    display: none;
}

#mobileSlider .slides {
    margin: 0;
    padding: 0;
}

#mobileSlider .slides li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#mobileSlider .slides li a {
    display: block;
}

#mobileSlider .slides li img {
    display: block;
    width: 100%;
}

/* Banner */

#banner img {
    display: block;
    width: 100%;
}

/* Footer */

#footer {
    background: #114f82;
    color: #fff;
}
.subPage #footer {
    margin-top: -50px;
}

#footer .bg {
    padding-top: 12.70833333333333%;
    background: url(../images/footer-bg.jpg) no-repeat center bottom;
    background-size: cover;
}

#footer .section {
    padding-top: 67px;
    padding-bottom: 50px;
}

#footer > .section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#footer .logo {
    flex: 0 0 auto;
    width: 473px;
    max-width: 100%;
}

#footer .logo img {
    display: block;
    width: 100%;
}

#footer .pageLinks {
    display: flex;
    flex: 0 0 auto;
}

#footer .pageLinks .links {
    flex: 0 0 auto;
    width: 130px;
    margin-right: 90px;
}

#footer .pageLinks .links ul {
    margin: 0;
    padding: 0;
}

#footer .pageLinks .links ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .pageLinks .links ul li ul li {
    font-size: 14px;
}

#footer .pageLinks .links ul li.hasSub ul {
    margin-top: 7px;
}

#footer .pageLinks .links ul li.hasSub>a {
    position: relative;
    font-weight: bold;
    display: inline-block;
}

#footer .pageLinks .links ul li.hasSub>a:after {
    position: absolute;
    right: -15px;
    top: 8px;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 5px 0 5px;
    border-color: #ffffff transparent transparent transparent;
}

#footer .copyright {
    margin: 0 0 0 73px;
    font-size: 14px;
}

#footer .bottom {
    background: #fff;
    color: #1cbfd0;
}

#footer .bottom .section {
    position: relative;
    padding-top: 25px;
    padding-bottom: 15px;
}

#footer .bottom .copyright {
    text-align: center;
    font-size: 13px;
    margin: 0;
}

/* Mobile Navigation */

#menuBtn {
    display: none;
    position: absolute;
    left: 8px;
    top: 25px;
    width: 25px;
    outline: none;
    z-index: 1;
}

#menuBtn span {
    display: block;
    height: 3px;
    margin-bottom: 4px;
    background: #000;
    border-radius: 10px;
}

.mm-menu {
    text-align: left;
}

.mm-menu ul {
    color: rgba(0, 0, 0, 0.3);
}

.mm-menu ul li.Current,
.mm-menu ul li.active {
    background: rgba(255,255,255,0.8);
}

.mm-menu *:after, .mm-menu *:before {
    box-sizing: content-box;
}

.mm-menu .mm-listview p span {
    display: block;
}


/* Styling MMenu */

.mm-menu .mm-listview img {
    display: block;
    float: left;
    width: 95px;
}

.mm-menu .mm-listview p {
    position: relative;
    margin: 0 0 0 110px;
    font-size: 12px;
    min-height: 103px;
    padding-bottom: 30px;
}

.mm-menu .mm-listview p:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 8px;
    border-color: transparent transparent transparent #f03f28;
}

.mm-menu .mm-listview p span {
    display: block;
    font-size: 14px;
    font-weight: bold;
}

.owl-carousel .owl-item {
    transform: translateZ(0);
}

/* Justified Gallery */

.justified-gallery strong {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background: #000000;
    line-height: 1.2;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    color: #ffffff;
    font-weight: normal;
}

.justified-gallery strong span {
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    height: 100%;
    font-size: 14px;
}

.justified-gallery strong span em {
    display: table-cell;
    vertical-align: middle;
    font-style: normal;
    width: 100%;
    padding: 8px 15px;
    height: 80px;
}

.galleryWrapper .gallery a {
    overflow: hidden;
}

.galleryWrapper .gallery a img {
    transition: transform 0.6s;
}

.galleryWrapper .gallery a:hover img {
    transform: scale(1.06);
}

.justified-gallery a:hover strong {
    opacity: 1;
    visibility: visible;
}

.justified-gallery p {
    margin-bottom: 12px;
}

/* Forms */

#ContactForm {
    max-width: 400px;
}

#ContactForm .form-group,
#ContactForm .mb-3 {
    margin-left: 0;
    margin-right: 0;
}

label.error {
    color: red;
    font-weight: normal;
    font-size: 12px;
}

.fieldRequired {
    color: red;
}

.grecaptcha-badge {
    z-index: 999 !important;
}
/* FAQ: footer blue + pill ends */
#faqlist .faq .faq_question {
    border-color: #114f82;
    color: #114f82;
    border-radius: 999px;   /* pill ends */
    padding-left: 28px;     /* was 20px – keeps text clear of the rounded end */
}

#faqlist .faq .faq_question.active {
    background-color: #114f82;
    color: #fff;
}

/* white arrow on the blue active bar (it's black by default) */
#faqlist .faq .faq_question.active::after {
    filter: brightness(0) invert(1);
}