/*
Theme Name: Townweb 2022
Theme URI: https://github.com/town-web/twt2022
Author: TownWeb
Description: Super template for Towns 2022
Version: 1.3.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: townweb
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
Super template for TownWeb clients. Everything is customisable!

*/
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    /*font-family: 'Encode Sans', sans-serif;
    font-size: 16px;
    color: #000000;*/
    position: relative;
    overflow-x: hidden;
}
h2 {
    /*color: #113E36;*/
}
h3 {
    font-size: 28px;
}
/*:root {
    --secondary-color: var(--secondary-color);
}*/
/*.tw-bg-red {*/
.tw-bg-secondary {
    background: var(--secondary-color);
}
/*.tw-bg-blue {*/
.tw-bg-primary {
    background: var(--primary-color);
}
/*.tw-bg-grey {*/
.tw-bg-tertiary {
    background: var(--tertiary-color);
}
/*.tw-red {*/
.tw-secondary {
    color: var(--secondary-color) !important;
}
/*.tw-blue {*/
.tw-primary {
    color: var(--primary-color);
}
/*.tw-blue-dark {*/
.tw-primary-dark {
    color: #293B6D;
}
.tw-fb-color {
    color: #1877F2;
}
.tw-fb-twitter {
    color: #1DA1F2;
}
.tw-fb-instagram {
    color: #F00073;
}
.tw-fb-youtube {
    color: #FF0000;
}
/*.tw-bg-yellow {
    background: #DECB53;
}
.tw-bg-green {
    background: #07483D;
}
.tw-bg-light-green {
    background: #F5F6EB;
}
.tw-yellow {
    color: #DECB53;
}
.tw-green {
    color: #07483D;
}*/
.tw-btn {
    padding: 10px 35px;
    background: #DECB53;
    border-radius: 8px;
    transition: unset;
    border-bottom: none;
    font-size: 17px;
    font-weight: 700;
    color: #07483D;
    display: inline-block;
}
.has-error {
    border: 2px solid #c0392b !important;
}
a.tw-btn {
    text-decoration: none;
}
a.tw-btn:hover {
    color: #07483D;
}
#back-to-top {
    display: none;
    position: fixed;
    right: 27px;
    bottom: 10px;
    cursor: pointer;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    opacity: .5;
    border-radius: 50%;
    z-index: 1000;
    text-align: center;
    transition: 1s;
    box-shadow: 0 16px 32px rgb(0 0 0 / 100%);
    -webkit-text-stroke: 3px var(--primary-color);
}

#back-to-top:hover {
    opacity: .8;
}

#back-to-top i {
    color: #ffffff;
    font-size: 35px;
    padding-top: 19%;
    background: transparent;
}
.fixed {
    position: fixed;
    top:0; left:0;
    width: 100%;
    box-shadow:  0 1px 9px 1px var(--primary-color);
}
.fixed-navbar {
    transition: .5s;
}

#fixed-header-logo {
    left: 10px;
    opacity: 0;
    transition: .8s;
    padding-top: .5rem;
    height: 67px;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    z-index: 1001;
}

.fixed #fixed-header-logo {
    opacity: 1;
}

.fixed.down #fixed-header-logo {
    animation-name: appear;
}

#bottom.up:not(.fixed) #fixed-header-logo {
    animation-name: disappear;
}

#fixed-header-logo img {
    height: 50px;
    width: auto;
    transition: .8s;
}

.fixed-side-menu {
    position: fixed;
    right: 0;
    z-index: 999;
}

.fixed-side-menu ul li {
    /*transition: .2s;*/
    width: 160px !important;
    padding-right: 0 !important;
    /*margin-right: 0 !important;*/
    /*width: 50px;*/
}

.fixed-side-menu a span:first-child {
    transition: .2s;
    display: flex !important;
}

.fixed-side-menu a span:last-child {
    transition: .2s;
    display: none;
}

.absolute-side-menu {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}


@keyframes appear {
    0% {
        transform: translatex(-200px);
        /*left: 0;*/
    }
    100% {
        transform: translatex(0px) translatey(0px) translateZ(0px);
        /*left: 0;*/
    }
}

@keyframes disappear {
    0% {
        transform: translatex(0px) translatey(0px) translateZ(0px);
        /*left: 0;*/
    }
    100% {
        transform: translatex(-200px);
        /*left: 0;*/
    }
}

@media (min-width:768px) {
    .fixed-navbar {
        padding-left: 150px;
    }
}
article .wp-post-image {
    width: 100%;
    height: auto;
    border-radius: 3px 3px 0 0;
}


/*=====================================
=            HEADER STYLES            =
=====================================*/
header#header {
    background: var(--primary-color);
}
header#header #bottom::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    z-index: 1001;
    bottom: 10px;
}
header#header #top .navbar-brand img {
    max-height: 60px;
    width: auto;
}
/*weather widget*/
header#header #top .tab-pane span.today,
header#header #top .tab-pane a.today {
    font-size: 22px;
    color: var(--secondary-color);
}
/*search type 1 mobile*/
header#header #top .sb-search-input-mobile:focus,
header#header #top .sb-icon-search-mobile:focus {
    box-shadow: none;
}
header#header #top .sb-icon-search-mobile {
    height: inherit;
    width: 40px;
}
header#header #top .sb-icon-search-mobile:hover {
    background: var(--primary-color);
}
/*serach type 2*/
header#header #top span.search-toogle {
    width: 65px;
}
header#header #top span.search-toogle i {
    -webkit-text-stroke: 3px var(--menu-top-color);
}
header#header #top span.search-toogle[aria-expanded=false] .search-expanded {
    display: none;
}
header#header #top span.search-toogle[aria-expanded=true] .search-collapsed {
    display: none;
}
header#header #top .search-form-wrapper #collapseSearch {
    right: 22px;
    width: calc(2*90%);
    max-width: 500px;
    z-index: 1002;
    padding-top: 10px;
    top: 65px;
}
header#header #top .search-form-wrapper #collapseSearch .card {
    box-shadow: 0 3px 5px 3px rgb(0 0 0 / 5%);
}
header#header #top .search-form-wrapper #collapseSearch .card::after {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    content: '';
    position: absolute;
    top: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(0,0,0,.125);
    border-left: 1px solid rgba(0,0,0,.125);
    background: #fff;
}
header#header #top .search-form-wrapper #collapseSearch .card form button {
    border-radius: 0 0.25rem 0.25rem 0;
}
header#header #top .search-form-wrapper #collapseSearch .card form input:focus,
header#header #top .search-form-wrapper #collapseSearch .card form button:focus {
    box-shadow: none;
}
header#header #top .search-form-wrapper #collapseSearch .card form input:focus {
    border: 1px solid var(--secondary-color);
}
header#header #bottom {
    background: var(--primary-color);
    z-index: 999;
}
header#header nav.navbar {
    z-index: 1000;
    transition: .5s;
    min-height: 60px;
}
header#header nav.navbar button.navbar-toggler:focus {
    box-shadow: none;
}
/*----------  hamburger animated  ----------*/
header#header nav.navbar button.navbar-toggler .tw-hamburger-animated-icon {
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

header#header nav.navbar button.navbar-toggler .tw-hamburger-animated-icon span {
    display: block;
    position: absolute;
    background: #fff;
    height: 3px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

header#header nav.navbar button.navbar-toggler .tw-hamburger-animated-icon span:nth-child(1) {
    top: 0px;
}

header#header nav.navbar button.navbar-toggler .tw-hamburger-animated-icon span:nth-child(2) {
    top: 10px;
}

header#header nav.navbar button.navbar-toggler .tw-hamburger-animated-icon span:nth-child(3) {
    top: 20px;
}

header#header nav.navbar button[aria-expanded="true"] .tw-hamburger-animated-icon span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

header#header nav.navbar button[aria-expanded="true"] .tw-hamburger-animated-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

header#header nav.navbar button[aria-expanded="true"] .tw-hamburger-animated-icon span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
header#header nav.navbar #mainMenuWrapper ul {
    padding-top: 40px;
}
header#header nav.navbar #mainMenuWrapper ul li {
    border-bottom: .5px solid rgba(234, 234, 234, .2);
}
/*---------------------------------------------------------------------------*/
header#header li {
    position: relative;
}
header#header ul#main-menu > li > a {
    height: 100%;
}
header#header a {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    transition: .2s;
}
header#header ul#main-menu ul.dropdown-menu {
    width: 100%;
    margin-top: 0;
    background-clip: unset;
    border: none;
    border-radius: 0;
}
header#header ul#main-menu ul.dropdown-menu a {
    font-weight: 400;
}
header#header.fixed-header #top a.navbar-brand {
    position: absolute;
    top: 67%;
    left: 0;
}
@media (min-width:768px) {
    header#header nav.navbar a.navbar-brand {
        position: relative;
        top: 0;
        left: 0;
    }
    header#header div#tw-header-menus-wrapper {
        margin-top: 0;
        z-index: 1;
    }
    header#header nav.navbar #mainMenuWrapper ul {
        padding-top: 0;
    }
    header#header nav.navbar #mainMenuWrapper ul li {
        border-bottom: none;
    }
}
@media (max-width:991.99px) {
    header#header .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}
@media (min-width:992px) {
    header#header div#bottom li {
        margin-right: 30px;
    }
}
/*=====  End of HEADER STYLES  ======*/
/*===================================
=            HERO STYLES            =
===================================*/
section#tw-hero h2 {
    /*font-size: 10vw;*/
    /*font-weight: 700;*/
    /*color: #fff;*/
    /*letter-spacing: 0.11em;*/
    margin-right: -0.11em;
    /*line-height: .7;*/
    text-shadow: 0px 4px 50px #000000;
}
section#tw-hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 160px;
    min-height: 480px;
    overflow: hidden;
}
section#tw-hero::after,
section#tw-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}
section#tw-hero::before {
    /*background-image: url('assets/images/hero-image.png');*/
    background-size: cover;
    background-position: center;
}
section#tw-hero::after {
    background: #1A1A1B;
    opacity: .5;
}
section#tw-hero h2 {
    text-transform: uppercase;
}
section#tw-hero h2 span {
    font-weight: 400;
    font-size: calc(10vw/1.5);
    letter-spacing: 0.105em;
    /*letter-spacing: 0.305em;*/
    margin-right: -0.46em;
}
section#tw-hero form {
    width: 630px;
    max-width: 100%;
}
section#tw-hero form .input-group {
    position: relative;
}
section#tw-hero form input.form-control {
    height: 63px;
    background: #F4F4F1;
    border: 1px solid #FAF3E3;
    box-shadow: 0px 4px 4px #000000;
    border-radius: 0;
    padding-left: 40px;
}
section#tw-hero form input.form-control::-webkit-input-placeholder {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}
section#tw-hero form input.form-control::-moz-placeholder {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}
section#tw-hero form input.form-control::-ms-input-placeholder {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}
section#tw-hero form input.form-control::-moz-placeholder {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}
section#tw-hero form .input-group-btn input {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 25px;
    position: absolute;
    top: 10%;
    right: 20px;
    background: transparent;
    color: var(--primary-color);
    border: none;
    z-index: 3;
}
section#tw-hero form .input-group-btn input:focus {
    box-shadow: none;
}
@media (min-width:768px) {
    section#tw-hero h2 {
        margin-right: 200px;
    }
}
@media (min-width:992px) {
    section#tw-hero h2 {
        font-size: 96px;
        margin-right: 0;
    }
    section#tw-hero h2 span {
        font-size: 64px;
    }
}
/*=====  End of HERO STYLES  ======*/
/*======================================
=            HERO LINE MENU            =
======================================*/
div#heroLineMenuWrapper {
    transition: .1s;
    /*margin-top: 200px;*/
    z-index: 999;
}
div#heroLineMenuWrapper ul {
    background: rgba(255, 255, 255, .5);
    box-shadow: 0 16px 32px rgb(0 0 0 / 30%);
}
div#heroLineMenuWrapper ul li {
    position: relative;
    /*overflow: hidden;*/
    margin-bottom: 5px;
    background: var(--primary-color);
    width: 300px;
    margin-right: -100px;
    padding-right: 100px;
    margin-left: -5px;
    white-space: nowrap;
    /*width: 200px;*/
    /*z-index: 1;*/
    transition: margin-left .1s, width .2s;
}
div#heroLineMenuWrapper ul li:last-child {
    margin-bottom: 5px;
}
div#heroLineMenuWrapper ul li:first-child {
    margin-top: 5px;
}
/*div#heroLineMenuWrapper ul li::before {
    content: '';
    position: absolute;
    width: 3.5em;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 50%;
    top: 0;
    left: -40px;
    transition: 0.5s ease-out;
    z-index: 2;
}*/

/*div#heroLineMenuWrapper ul li:hover::before {
    transform: scale(10);
}*/

/*div#heroLineMenuWrapper ul li::before {
    display: none;
    transition: .1s;
    position: absolute;
    font-size: 30px;
    top: calc(50% - 15px);
    left: 10px;
}

div#heroLineMenuWrapper ul li:hover::before {
    display: block;
}*/

div#heroLineMenuWrapper ul li:hover {
    /*background-image: url('assets/images/button.webp');*/
    /*background-size: 100% 100%;*/
    color: #27262c;
    /*animation: spring 300ms ease-out;*/
    /*text-shadow: 0 -1px 0 #ef816c;*/
    /*font-weight: bold;*/
    /*width: 120%;*/
    /*font-size: ;*/
    margin-left: -20px;
    box-shadow: 0 0 4px 1px #000;
    z-index: 2;
    /*padding-right: 100px;*/
}
/*div#heroLineMenuWrapper.absolute-side-menu ul li:hover {
    margin-left: -20px;
    box-shadow: 0 0 4px 1px #000;
}*/
/*div#heroLineMenuWrapper.fixed-side-menu ul li:hover {
    margin-left: -130px;
    transition: .2s;
}
div#heroLineMenuWrapper.fixed-side-menu ul li:hover a {
    background: var(--primary-color);
    box-shadow: 0 0 4px 1px #000;
    transition: .2s;
    width: 200px !important;
    padding-right: 50px !important;
}*/
div#heroLineMenuWrapper ul li:active {
  transform: translateY(4px);
}

div#heroLineMenuWrapper ul li a span:first-child {
    display: none;
    transition: .1s;
    position: absolute;
    font-size: 30px;
    top: calc(50% - 15px);
    left: 0;
    width: 60px;
    justify-content: center;
    align-items: center;
}

div#heroLineMenuWrapper ul li:hover a span:first-child {
    display: flex;
}

div#heroLineMenuWrapper ul li:hover a span:last-child {
    font-size: 12px;
    padding-left: 60px;
    /*display: flex !important;*/
}

/*div#heroLineMenuWrapper ul li:hover*/

/*@keyframes spring {
  15% {
    -webkit-transform-origin: center center;
    -webkit-transform: scale(1.2, 1.1);
  }
  40% {
    -webkit-transform-origin: center center;
    -webkit-transform: scale(0.95, 0.95);
  }
  75% {
    -webkit-transform-origin: center center;
    -webkit-transform: scale(1.05, 1);
  }
  100% {
    -webkit-transform-origin: center center;
    -webkit-transform: scale(1, 1);
  }
}*/

/*.shameless-plug{
  position: absolute;
  bottom: 10px;
  right: 0;
  padding: 8px 20px;
  color: #ccc;
  text-decoration: none;
}*/






div#heroLineMenuWrapper ul li a {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*color: #fff;*/
    /*text-transform: uppercase;*/
    /*font-size: 15px;*/
    /*font-weight: 700;*/
    /*z-index: 3;*/
    /*mix-blend-mode: difference;*/
    transition: font-size .1s;
}
div#heroLineMenuWrapper ul li a:hover {
    /*color: #fff;
    background: var(--secondary-color);*/
}
@media (min-width:992px) {
    div#heroLineMenuWrapper ul li a {
        /*font-size: 20px;*/
    }
}
/*=====  End of HERO LINE MENU  ======*/
/*============================================
=            COMBINED MOBILE MENU            =
============================================*/
ul#tw-combined-mobile-menu li {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

ul#tw-combined-mobile-menu li::before {
    display: none;
}

ul#tw-combined-mobile-menu li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 38px;
    text-decoration: none;
    background: var(--secondary-color);
    text-transform: uppercase;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
/*=====  End of COMBINED MOBILE MENU  ======*/
/*===============================
=            MARQUEE            =
===============================*/
.marquee {
    overflow: hidden;
    height: 49px;
}
/*=====  End of MARQUEE  ======*/
/*============================================
=            SOCIAL NETWORKS MENU            =
============================================*/
ul.social-networks-menu li a {
    color: var(--secondary-color);
    font-size: 34px;
}
/*=====  End of SOCIAL NETWORKS MENU  ======*/
/*=============================================
=            HOMEPAGE NEWS&NOTICES            =
=============================================*/

section#tw-news-notices div#newsNoticesSideMenuWrapper ul {
    list-style: none;
}
section#tw-news-notices div#newsNoticesSideMenuWrapper ul li {
    margin-bottom: 26px;
}
section#tw-news-notices div#newsNoticesSideMenuWrapper ul li a {
    background: var(--secondary-color);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*=====  End of HOMEPAGE NEWS&NOTICES  ======*/




/*=============================================
=            EVENTS SECTION STYLES            =
=============================================*/
section#tw-events > div::after {
    content: '';
    background: var(--tertiary-color);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    opacity: .7;
}
section#tw-events > div::before {
    content: '';
    background-size: 70%;
    background-repeat: no-repeat;
    position: absolute;
    top: 20px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    filter: blur(1px);
    opacity: .3;
}
section#tw-events h3.tw-events-title {
    font-size: 28px;
}
section#tw-events article > div:first-child {
    width: 167px;
    height: 167px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}
section#tw-events article > div:first-child div.tw-date {
    font-size: 28px;
    word-spacing: 15px;
}
section#tw-events article > div:first-child div.tw-date::after {
    content: '';
    width: 40%;
    height: 1px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -10px;
}
section#tw-events article > div:first-child div.tw-event-title {
    font-size: 14px;
}
section#tw-events article > div:first-child div.tw-event-venue {
    font-size: 12px;
}
section#tw-events article > div:first-child div.tw-event-time {
    font-size: 12px;
    color: #000;
    opacity: .36;
}
section#tw-events .owl-nav {
    position: absolute;
    width: 100%;
    top: 44%;
    /*padding: 0 10px;*/
}
@media (min-width:1200px) {
    section#tw-events > div::before {
        background-size: 760px;
    }
}








/*subscribe*/
section#tw-events #tw-subscribe-inner {
    border: 1px solid var(--primary-color);
}
section#tw-events #tw-subscribe-inner a,
section#tw-events #tw-subscribe-inner label {
    font-size: 17px;
}
section#tw-events #tw-subscribe-inner form .tw-custom-selection input {
    visibility: hidden;
    position: absolute;
}

section#tw-events #tw-subscribe-inner form .tw-custom-selection label {
    cursor: pointer;
    width: 100%;
    border-radius: 8px;
    padding: 10px 0;
    border: 2px solid transparent;
}
section#tw-events #tw-subscribe-inner form .tw-custom-selection.tw-custom-selection-sm label {
    border-radius: 10px;
    padding: 0 5px;
    white-space: nowrap;
}
section#tw-events #tw-subscribe-inner form #sub_name,
section#tw-events #tw-subscribe-inner form #sub_email,
section#tw-events #tw-subscribe-inner form #sub_phone {
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 0;
}
section#tw-events #tw-subscribe-inner form .tw-custom-selection.tw-custom-selection-lg label {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
section#tw-events #tw-subscribe-inner form .tw-custom-selection.tw-custom-selection-lg input:checked+label {
    color: #ffffff !important;
    background: var(--primary-color);
}
section#tw-events #tw-subscribe-inner form .tw-custom-selection.tw-custom-selection-sm input+label {
    background: var(--primary-color);
    border-radius: 10px;
    font-weight: 900;
    padding: 0 5px;
    white-space: nowrap;
    cursor: pointer;
    width: 100%;
    border: 2px solid transparent;
    font-size: 16px;
}
section#tw-events #tw-subscribe-inner form .tw-custom-selection.tw-custom-selection-sm input:checked+label {
    background: var(--secondary-color);
}
section#tw-events #tw-subscribe-inner form #homepage-extra-subscribe {
    display: none;
}
/*=====  End of EVENTS SECTION STYLES  ======*/



















/*===========================================
=            NEWS&NOTICES STYLES            =
===========================================*/
section#tw-news-notices span#tw-news-notices-section-latest-news {
    background: #07483D;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    padding: 5px 15px;
}
section#tw-news-notices #tw-news-notices-title-wrapper{
    width: 95%;
}
section#tw-news-notices h3#tw-news-notices-title {
    z-index: 2;
    width: 50%;
    font-size: 28px;
    height: 70px;
}
section#tw-news-notices > div > div > div > div.tw-nn-border {
    border: 1px solid var(--secondary-color);
}
section#tw-news-notices article {
    height: 375px;
}
section#tw-news-notices article .tw-article-thumbnail.tw-article-thumbnail-absolute {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
section#tw-news-notices article .tw-article-content {
    margin-top: 70px;
    font-size: 18px;
}
section#tw-news-notices article .tw-article-content > div.row > div > span:last-child {
    color: #B0B7C3;
}
section#tw-news-notices article .tw-article-content > div.row > div.tw-read-more a,
section#tw-news-notices article .tw-article-content .tw-title {
    font-size: 20px;
}
section#tw-news-notices article .tw-article-content .tw-content {
    color: #8A94A6;
}
section#tw-news-notices article .tw-article-content .tw-read-more a {
    text-decoration: none;
}
section#tw-news-notices article .tw-article-content .tw-read-more a:hover {
    color: var(--secondary-color);
}
section#tw-news-notices .owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    padding: 0 10px;
}
.owl-carousel {
    width: auto;
}
/*=====  End of NEWS&NOTICES STYLES  ======*/











/*===========================
=            FAQ            =
===========================*/
section#tw-faq h3 {
    font-size: 20px;
}
section#tw-faq {
    font-size: 18px;
}

section#tw-faq .tw-faq-wrapper {
    height: 171px;
    margin-top: 10px;
    box-shadow: 0px 2px 12px rgba(223, 223, 223, 0.5);
}
section#tw-faq .tw-faq-wrapper a.tw-collapse-btn {
    width: 64px;
    height: 48px;
    bottom: -24px;
    left: calc(50% - 60px/2);
    cursor: pointer;
    box-shadow: 0px 1px 6px var(--secondary-color);
    -webkit-text-stroke: 1px var(--secondary-color);
    z-index: 2;
}
section#tw-faq .tw-faq-wrapper a.tw-collapse-btn i {
    transition: .3s transform ease-in-out;
}
section#tw-faq .tw-faq-wrapper.tw-faq-wrapper-middle {
    height: 192px;
    margin-top: 0;
    box-shadow: 0px 1px 12px var(--secondary-color);
}
section#tw-faq .tw-faq-wrapper a[aria-expanded=true] i {
    transform: rotate(180deg);
}
section#tw-faq .tw-faq-wrapper.tw-faq-wrapper-middle a.tw-collapse-btn {
    box-shadow:  0px 1px 10px var(--secondary-color);
    -webkit-text-stroke: 1px #fff;
}
section#tw-faq .card-body {
    z-index: -1;
    border-radius: 0;
    font-size: 16px;
}
section#tw-faq a.tw-faqs-view-more {
    font-size: 16px;
}
@media (min-width:768px) {
    section#tw-faq h3 {
        font-size: 40px;
    }
    section#tw-faq {
        font-size: 26px;
    }
}
/*events owl carousel*/
section#tw-faq .tw-owl-dot {
    width: 20px;
    height: 20px;
    box-shadow: none;
    border: none;
    outline: none;
}
section#tw-faq .tw-owl-dot.active {
    background: var(--secondary-color);
}
/*=====  End of FAQ  ======*/
































/*=============================================
=            HOME PAGE DEPARTMENTS            =
=============================================*/
section#tw-departments {
    position: relative;
    /*transform: scale(1,-1);*/
    /*transform: perspective(800px) rotateY(-10deg);*/
    /*-webkit-backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-transform-origin: 50%  51%;
    will-change: transform;*/
    /*zoom: 1.005;*/
    /*-webkit-transform-style: preserve-3d;*/
    /*transform-origin: 80px 30px;*/
    min-height: 800px;
    /*perspective: 800px;*/
    /*transform: rotateY(-45deg);
    transform-style: preserve-3d;
    margin: 0 20px;*/
    /*transform:  perspective(800px);*/
    /*transform:  translateX(120px) rotateY(45deg);*/
    /*clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%);*/

    /*transform: skew(-1deg);*/
}
section#tw-departments > div {
    /*height: 500px;*/
    /*height: 100%;*/
    /*display: inline-block;*/
    /*transform: rotateX(45deg);*/
}
section#tw-departments article > div:first-child {
    min-height: 400px;
    /*padding: 0 80px 0 25px;*/
    /*background: red !important;*/
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%);
}
section#tw-departments article {
    /*height: 600px;*/
    /*clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%);*/
}
section#tw-departments article > div:first-child > div {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
section#tw-departments .owl-carousel .owl-nav,
section#tw-departments article > div:last-child {
    margin-top: -30px;
    /*transform: scaleY(1,-1);*/
    /*transform: perspective(800px) rotateY(10deg) rotateZ(0deg);*/
   /* display: inline-block;
    -webkit-transform-origin: 50%  51%;
    will-change: transform;*/
    /*zoom: 1.005;*/
    /*transform-origin: 80px 30px;*/
     /*transform:scale(0.5) 
 transform-origin: 0% 0;*/
   /* -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;*/
}
section#tw-departments article > div:last-child .tw-departments-logo a img {
    width: 15vw;
    height: 15vw;
    max-width: 164px;
    max-height: 164px;
}
section#tw-departments article > div:last-child a.btn {
    font-size: 17px;
    font-weight: 700;
}
section#tw-departments .owl-carousel {
    position: relative;
}
section#tw-departments .owl-carousel .owl-item article img {
    width: auto;
}
section#tw-departments .owl-carousel .owl-item article .tw-departments-logo {
    pointer-events: none;
}
section#tw-departments .owl-carousel .owl-item article .tw-departments-title {
    /*text-decoration: none;*/
    font-weight: 900;
    font-size: 35px;
    max-width: 350px;
}
section#tw-departments .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-left: 150px;
    /*padding-right: 150px;*/
}
section#tw-departments .owl-carousel .owl-nav.disabled {
    display: none;
}
section#tw-departments .owl-carousel .owl-nav button {
    border-radius: 50%;
    background: #fff;
    border: 2px solid #D7E5E3;
    width: 67px;
    height: 63px;
    font-size: 30px;
}
section#tw-departments .owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}
section#tw-departments .owl-carousel .owl-dots.disabled {
    display: none;
}
section#tw-departments .owl-carousel .owl-dots button.owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D7E5E3;
    margin: 0 10px;
}
section#tw-departments .owl-carousel .owl-dots button.owl-dot.active {
    width: 16px;
    height: 16px;
    background: #9CC890;
}
section#tw-departments .owl-carousel .owl-nav button i {
    -webkit-text-stroke: 2px white;
}
@media (max-width:767.99px) {
    section#tw-departments .container {
        max-width: 100vw;
        margin: 0;
        padding: 0;
    }
    section#tw-departments article > div:last-child {
        padding-left: 0;
        padding-right: 0;
    }
}
@media (min-width:768px) {
     section#tw-departments {
        background: #F5F6EB;
     }
    section#tw-departments,
    section#tw-departments article {
        height: 600px;
        clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 80%);
    }
    section#tw-departments article > div:first-child {
        clip-path: none;
    }
    section#tw-departments article > div:last-child {
        margin-top: 0;
    }
}
@media (min-width:992px) {
    section#tw-departments .container {
        max-width: calc(((100% - 970px) / 2) + 970px) !important;
        margin-left: 0;
    }

    section#tw-departments article > div:first-child {
        padding: 0 80px 0 25px;
    }
}
@media (min-width:1200px) {
    section#tw-departments .container {
        max-width: calc(((100% - 1440px) / 2) + 1440px) !important;
        margin-left: 0;
    }
}

/*=====  End of HOME PAGE DEPARTMENTS  ======*/







/*=================================================
=            HOMEPAGE DEPARTMENTS GRID            =
=================================================*/
section#tw-department-grid a:hover article {
    color: var(--secondary-color);
}
section#tw-department-grid article {
    border-radius: 5px;
    box-shadow: 1px 2px 20px 0px rgb(230 230 230 / 80%);
}
section#tw-department-grid article::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 15px;
    background: var(--secondary-color);
    right: 0;
    top: 20px;
}
section#tw-department-grid article::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    right: 0;
    top: 40px;
}
section#tw-department-grid article img.tw-departments-icon {
    width: 80px;
    max-width: 80px;
    height: auto;
    transition: .2s;
}
section#tw-department-grid a:hover article img.tw-departments-icon {
    transform: scale(1.3);
}


/*=====  End of HOMEPAGE DEPARTMENTS GRID  ======*/











/*=========================================
=            SINGLE DEPARTMENT            =
=========================================*/
div#tw-department div.tw-department-featured-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    height: 600px;
}
div#tw-department h2 {
    font-size: 35px;
}
div#tw-department h2 b {
    font-weight: 900;
}
div#tw-department h2 b + br + span {
    font-weight: 400;
    letter-spacing: 5px;
}
div#tw-department article p {
    color: #969393;
}
div#tw-department article h4 {
    font-size: 20px;
    font-weight: 900;
}
div#tw-department #tw-team .tw-member {
    border-radius: 6px;
}
div#tw-department #tw-team .tw-member div.row div:last-child {
    font-size: 14px;
}
div#tw-department #tw-team .tw-member .tw-member-name {
    font-size: 24px;
    font-weight: 900;
}
div#tw-department #tw-team .tw-member .tw-member-title {
    font-size: 18px;
    font-weight: 300;
}
div#tw-department #tw-team .tw-member .tw-member-email a {
    font-size: 30px;
    border-radius: 10px;
}
div#tw-department aside h4 {
    font-size: 26px;
    font-weight: 900;
    text-transform: capitalize;
}
div#tw-department aside #tw-contact-us {
    border-radius: 8px;
}
div#tw-department aside #tw-contact-us div {
    font-size: 20px;
}
div#tw-department aside #tw-latest-news {
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.05);
}
div#tw-department aside #tw-latest-news .tw-latest-news-item > div h5 {
    font-size: 22px;
}
div#tw-department aside #tw-latest-news .tw-latest-news-item > div a {
    text-decoration: none;
}
div#tw-department aside #tw-latest-news .tw-latest-news-item > div span {
    font-size: 14px;
}

/*----------  Accordion Nav Menu  ----------*/
div#tw-department .tw-accordion-menu ul {
    list-style: none;
    padding: 0;
}
div#tw-department .tw-accordion-menu ul > li.active {
    background: #293B6D;
}
div#tw-department aside.tw-accordion-menu ul li a {
    color: #fff;
    padding: 0;
    text-decoration: none;
}
div#tw-department aside.tw-accordion-menu > nav > div > div {
    width: 100%;
}
div#tw-department aside.tw-accordion-menu > nav > div > div > ul > li {
    margin-bottom: 2px;
    padding-top: 10px;
    padding-bottom: 10px;
}
div#tw-department aside.tw-accordion-menu li {
    padding-left: 40px;
    /*padding-right: 20px;*/
    width: 100%;
    background: var(--primary-color);
}
div#tw-department aside.tw-accordion-menu span[data-bs-toggle="collapse"] {
    cursor: pointer;
    position: relative;
    color: #fff;
}
div#tw-department aside.tw-accordion-menu span[data-bs-toggle="collapse"]::after {
    position: absolute;
    left: -20px;
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f146";
}
div#tw-department aside.tw-accordion-menu span.collapsed[data-bs-toggle="collapse"]::after {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0fe";
}
/*accordion nav hamburger animated*/
div#tw-department aside.tw-accordion-menu button:focus {
    box-shadow: none;
}
div#tw-department aside.tw-accordion-menu button label {
    display:flex;
    flex-direction:column;
    width:40px;
    cursor:pointer;
}
div#tw-department aside.tw-accordion-menu button label span {
    background: #fff;
    border-radius:10px;
    height:4px;
    margin: 4px 0;
    transition: .4s  cubic-bezier(0.68, -0.6, 0.32, 1.6);
}
div#tw-department aside.tw-accordion-menu button label span:nth-of-type(1){
    width:50%;
}
div#tw-department aside.tw-accordion-menu button label span:nth-of-type(2){
    width:100%;
}
div#tw-department aside.tw-accordion-menu button label span:nth-of-type(3){
    width:75%;
}
div#tw-department aside.tw-accordion-menu button input[type="checkbox"]{
    display:none;
}
div#tw-department aside.tw-accordion-menu button input[type="checkbox"]:checked ~ span:nth-of-type(1){
    transform-origin:bottom;
    transform:rotatez(45deg) translate(6px,.5px)
}
div#tw-department aside.tw-accordion-menu button input[type="checkbox"]:checked ~ span:nth-of-type(2){
    transform-origin:top;
    transform:rotatez(-45deg)
}
div#tw-department aside.tw-accordion-menu button input[type="checkbox"]:checked ~ span:nth-of-type(3){
    transform-origin:bottom;
    width:50%;
    transform: translate(17px,-6px) rotatez(45deg);
}
/*=====  End of SINGLE DEPARTMENT  ======*/


/*=====================================
=            FOOTER STYLES            =
=====================================*/
footer#footer {
    position: relative;
    z-index: 0;
}
footer#footer a.navbar-brand img {
    /*max-height: 300px;*/
    width: 100%;
    height: auto;
}
footer#footer a {
    color: #07483D;
}
footer#footer ul.menu {
    list-style: none;
    padding: 0;
}
footer#footer ul.menu a {
    padding-left: 0;
    padding-right: 0;
}
footer#footer #tw-footer-ribbon {
    background: var(--primary-color);
    border-bottom: 4px solid #fff;
    /*box-shadow: 0 2px 15px -15px var(--primary-color);*/
    height: 54px;
}
footer#footer #tw-footer-blue-ribbon::after {
    content:"";
    position:absolute;
    width:100%;
    bottom:1px;
    z-index:-1;
    box-shadow: 0px 2px 13px 2px var(--primary-color);
}
footer#footer,
footer#footer a {
    color: var(--primary-color);
    font-size: 16px;
}
footer#footer h3 {
    font-size: 20px;
    font-weight: 700;
}
@media (min-width:768px) {

}
/*=====  End of FOOTER STYLES  ======*/







@media (min-width: 1200px) {
    .container{
        max-width: 1440px;
    }
}










.tribe-common--breakpoint-medium.tribe-events .myclass {
    display: none;
}
.tribe-common--breakpoint-full.tribe-events .myclass {
    display: none;
}


/*===============================
=            ARCHIVE            =
===============================*/
div#archive-wrapper article {
    position: relative;
    box-shadow: 0 0 2px rgb(0 0 0 / 20%);
    background: #fff;
    border-radius: 5px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
}
div#archive-wrapper article a {
    color: var(--secondary-color);
}
div#archive-wrapper article .entry-wrap {
    padding: 2rem 2.5rem 1rem;
}
div#archive-wrapper article .entry-wrap p {
    font-weight: 400;
}
div#archive-wrapper article .wp-post-image {
    width: 100%;
    height: auto;
    border-radius: 3px 3px 0 0;
}
div#archive-wrapper article .entry-footer {
    display: none;
}
/*----------  pagination  ----------*/
div#archive-wrapper .pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
}
div#archive-wrapper .page-item .page-link a {
    color: var(--secondary-color);
}
div#archive-wrapper .page-item a.page-link:focus {
    box-shadow: none;
}
div#archive-wrapper .page-item.active .page-link {
    z-index: 2;
    color: #fff;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
div#archive-wrapper .page-item:first-child .page-link {
    margin-left: 0;
    border-bottom-left-radius: .25rem;
    border-top-left-radius: .25rem;
}
div#archive-wrapper .page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--secondary-color);
    background-color: #fff;
    border: 1px solid var(--secondary-color);
}
/*----------  side bar  ----------*/
div#archive-wrapper .widget-area .widget {
    margin: 1.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    color: var(--secondary-color);
}
div#archive-wrapper .widget-area .widget li {
    margin-bottom: 10px;
}
div#archive-wrapper .widget-area .widget a {
    color: var(--secondary-color);
}
/*=====  End of ARCHIVE  ======*/


/*FAQ homepage*/
#tw-faq .tw-faq-wrapper{
	z-index: 3!important;
}
#tw-faq .tw-faq-wrapper a.tw-collapse-btn{ 	
	z-index: 0 !important
}
#tw-faq .card-body{
	z-index: 2!important;
}

.row-disclaimer {
    opacity: 0.5; 
    background-color: white; 
    padding: 0.5rem;
    border-radius: 5px 
}
.homepage-subscriber-disclaimer {
    color: black;
 }  
.homepage-subscriber-disclaimer a {
    color: #0d6efd; 
}