/*
Theme Name: Townweb Windsor Theme
Theme URI: https://townweb.com
Author: Townweb
Author URI: https://townweb.com
Description: Template for Windsor Locks
Version: 1.0.0
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

Mini template for TownWeb clients. Everything is customisable!

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

body {
    /*font-family: 'Encode Sans', sans-serif;
    font-size: 16px;
    color: #000000;*/
    background: #FFFEF7;
    position: relative;
    overflow-x: hidden;
}
h2 {
    /*color: #113E36;*/
}
h3 {
    font-family: var(--text-font-family-secondary);
    font-size: 40px;
}
#page.site section {
    padding-top: 100px;
    padding-bottom: 100px;
}
.tw-primary {
    color: var(--primary-color);
}
.tw-bg-primary {
    background: var(--primary-color);
}
.tw-secondary {
    color: var(--secondary-color) !important;
}
.tw-bg-secondary {
    background: var(--secondary-color);
}
.tw-tertiary {
    color: var(--tertiary-color) !important;
}
.tw-bg-tertiary {
    background: var(--tertiary-color);
}

.tw-font-family-secondary {
    font-family: var(--text-font-family-secondary);
}
/*Section title styles*/
.tw-section-title h2,
.tw-section-title h3 {
    font-size: 60px !important;
    font-weight: 400 !important;
    font-family: var(--text-font-family-primary) !important;
    text-transform: uppercase !important;
    line-height: .9 !important;
}
.tw-section-title h3 {
    color: #fff;
}
.tw-section-title h2 {
    color: var(--secondary-color);
}
.tw-section-title.tw-section-title-white-bg h3 {
    color: var(--primary-color);
}
.tw-border-top-bottom {
    border-top: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
}
/*Carousel button styles*/
.tw-carousel-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    color: #fff;
    transition: .1s;
}
.tw-carousel-btn:first-child {
    margin-right: 10px;
}
.tw-carousel-btn.tw-carousel-btn-white-bg {
    color: var(--tertiary-color);
}
.tw-carousel-btn:hover {
    background: #fff;
    color: #fff;
}
.tw-carousel-btn.tw-carousel-btn-white-bg:hover {
    background: var(--tertiary-color);
}
.tw-view-all {
    /*font-family: 'Oxygen', sans-serif;*/
    /*font-size: 14px;*/

    border: 1px solid var(--tertiary-color);
    border-radius: 61px;
    width: 75px;
    height: 25px;
    font: 700 10px 'Roboto', sans-serif;
    color: var(--tertiary-color);
    text-decoration: none;
    transition: .3s;

}
.tw-view-all a {
    color: var(--tertiary-color);
}
.tw-view-all:hover {
    background: var(--tertiary-color);
}
.tw-view-all:hover a {
    color: #fff;
}












.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);*/
}
/*----------  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: var(--secondary-color);
    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:focus {
    box-shadow: none;
}
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 #tw-main-menu-wrapper {
    z-index: 4;
    height: 108px;
    /*border-top: 6px solid var(--primary-color);*/
}
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);*/
   /* padding-right: 20px;
    padding-left: 20px;*/
}
@media (max-width:767.99px) {
    header#header .tw-main-menu-wrapper {
        margin-left: 0;
        padding-left: 0;
    }
}
@media (min-width:992px) {
    header#header nav.navbar #mainMenuWrapper ul li {
        padding-left: 20px;
        padding-right: 20px;
    }
}
/*---------------------------------------------------------------------------*/
/*=====  End of HEADER STYLES  ======*/
/*===================================
=            HERO STYLES            =
===================================*/
section#tw-hero {
    background: var(--primary-color);
    /*padding-bottom: 6px;*/
}
section#tw-hero #tw-clip-test {
    position: absolute;
    /*background: var(--primary-color);*/
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    z-index: 2;
    /*clip-path: polygon(0 0, 0 0, 75% 100%, 0 100%);*/
}
section#tw-hero #tw-clip-left {
    position: absolute;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    z-index: 2;
    clip-path: polygon(0 0, 0 0, 75% 100%, 0 100%);
}
section#tw-hero #tw-clip-left-line {
    position: absolute;
    /*background: var(--secondary-color);*/
    background: var(--primary-color);
    height: 400px;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 2;
    clip-path: polygon(0 0, 75% 100%, 74.5% 100%, 0 0.5%);
}
section#tw-hero #tw-clip-right {
    position: absolute;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    z-index: 2;
    clip-path: polygon(100% 0, 25% 100%, 100% 100%, 100% 100%);
}
section#tw-hero #tw-clip-right-line {
    position: absolute;
    /*background: var(--secondary-color);*/
    background: var(--primary-color);
    height: 400px;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 2;
    clip-path: polygon(100% 0, 100% 0.5%, 25.5% 100%, 25% 100%);
}
section#tw-hero .carousel-item {
    height: 1000px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
section#tw-hero .tw-carousel-nav-wrapper {
    bottom: 45%;
    left: 50%;
    z-index: 3;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
}
section#tw-hero .tw-carousel-nav-wrapper a {
    border: 1px solid #fff;
    border-radius: 61px;
    width: 75px;
    height: 25px;
    font: 400 10px 'Roboto', sans-serif;
    color: #fff;
    transition: .3s;
}
section#tw-hero .tw-carousel-nav-wrapper button {
    width: 40px;
    height: 40px;
    background: transparent;
    color: #fff;
    transition: .1s;
}
section#tw-hero .tw-carousel-nav-wrapper button:hover {
    background: #fff;
    color: #000;
}
/*section#tw-hero .tw-carousel-nav-wrapper button i {
    -webkit-text-stroke: 2px transparent !important;
}*/
section#tw-hero .tw-carousel-nav-wrapper a:hover {
    background: #fff;
    color: #000;
}
section#tw-hero #tw-hero-line-carousel::after {
    /*content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #1A1A1B;*/
}
section#tw-hero #tw-hero-widget {
    /*left: calc(50% - );*/
}
/*----------  Search Button  ----------*/
header#header #tw-main-menu-wrapper #tw-search-btn {
    font-family: var(--text-font-family-secondary);
    z-index: 3;
    top: -2px;
    padding: 15px 10px;
}
header#header #tw-main-menu-wrapper #tw-search-btn:focus {
    box-shadow: none;
}
@media (max-width:767.99px) {
    header#header #tw-main-menu-wrapper .tw-search-wrapper {
        margin-right: 0;
        padding-right: 0;
    }
}
/*=====  End of HERO STYLES  ======*/
/*======================================
=            HERO LINE MENU            =
======================================*/
div#heroLineMenuWrapper {
    bottom: 260px;
    transition: .3s;
    background: rgba(51, 51, 51, 0.75);
    backdrop-filter: blur(25px);
    z-index: 2;
}
div#heroLineMenuWrapper ul {
    /*max-width: 600px;*/
}
div#heroLineMenuWrapper ul li {
    list-style: none;
    transition: .3s;
    /*padding-left: 40px;
    padding-right: 40px;*/
}
/*div#heroLineMenuWrapper ul li a p {
    font: 400 18px 'Playfair Display', serif;
    text-transform: capitalize;
}*/
div#heroLineMenuWrapper ul > li > a > div > img {
    height: 60px;
}
div#heroLineMenuWrapper ul li a {
    color: #fff;
    font: 900 16px 'Roboto', sans-serif;
    transition: .3s;
}
/*div#heroLineMenuWrapper ul li:hover a {
    transform: scale(1.15);
}*/
header#header .tw-main-menu-wrapper > nav {
    width: 100%;
}
div#heroLineMenuWrapper .owl-carousel .owl-stage {
    display: flex;
}
div#heroLineMenuWrapper .owl-carousel .owl-stage div {
    display: inline;
}
div#heroLineMenuWrapper .owl-carousel .owl-item img {
    width: auto;
    height: 60px;
}
/*----------  sticky styles  ----------*/
header#header #tw-main-menu-wrapper .tw-fixed-logo {
    /*opacity: 0;*/
    /*transition: .3s;*/
    /*z-index: -1;*/
    top: -25px;
    left: -10px;
}
header#header #tw-main-menu-wrapper.tw-fixed .tw-fixed-logo {
    opacity: 1;
    z-index: 2;
}
header#header #tw-main-menu-wrapper.tw-fixed .tw-fixed-logo a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
header#header #tw-main-menu-wrapper .tw-fixed-logo a img {
    height: 141px;
    width: auto;
}
div#heroLineMenuWrapper.tw-visible {
    opacity: 1;
    z-index: 2;
}
header#header #tw-main-menu-wrapper {
    transition: .3s;
}
header#header #tw-main-menu-wrapper.tw-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    -moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}
/*----------  sidebar menu  ----------*/
.menu-quick-menu-container {
    position: fixed;
    top: 200px;
    right: 0;
    /*background: rgba(67, 116, 120, 0.81);*/
    border-radius: 20px 0px 0px 20px;
    padding: 10px;
    width: 80px;
    transition: .3s;
    z-index: 4;
    -webkit-box-shadow: -1px 1px 10px 1px var(--primary-color); 
    box-shadow: -1px 1px 10px 1px var(--primary-color);
}
.tw-homepage-sidebar-menu-wrapper .menu-quick-menu-container {
    opacity: 0;
    z-index: -1;
}
.menu-quick-menu-container a {
    color: #fff;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.menu-quick-menu-container a:hover {
    color: #fff;
}
.menu-quick-menu-container a i {
    font-size: 22px;
    background: var(--primary-color);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 7px;
    transition: .3s;
}
.menu-quick-menu-container a:hover i {
    transform: scale(1.1);
}
.menu-quick-menu-container a p {
    margin: 0;
}
.menu-quick-menu-container.tw-quick-menu-showed {
    opacity: 1;
    z-index: 4;
}

@media (max-width:767.99px) {
    /*div#heroLineMenuWrapper {
        display: none;
    }*/
}
@media (min-width:992px) {
    div#heroLineMenuWrapper ul li {
        /*padding-left: 60px;
        padding-right: 60px;*/
    }
}
@media (min-width:768px) {
    header#header #tw-main-menu-wrapper .tw-fixed-logo {
        left: 0;
    }
}
@media (min-width:992px) {
    header#header .tw-main-menu-wrapper > nav {
        width: 75%;
    }
}
/*=====  End of HERO LINE MENU  ======*/
/*==================================================
=            HERO LINE QUICK LINKS MENU            =
==================================================*/
section#tw-homepage-quick-links-menu {
    top: 75%;
    z-index: 2;
}
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-container ul.tw-homepage-quick-links-menu {
    background: #fff;
    height: 150px;
}
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-container .tw-homepage-quick-links-menu li {
    border: 1px solid var(--secondary-color);
    transition: transform .2s;
    background: #fff;
}
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-container .tw-homepage-quick-links-menu li a,
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-mobile-container .tw-homepage-quick-links-menu li a {
    color: var(--secondary-color);
    font-family: var(--text-font-family-secondary);
    font-weight: 900;
    font-size: 16px;
}
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-container .tw-homepage-quick-links-menu img {
    height: 50px;
    width: auto;
}
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-container .tw-homepage-quick-links-menu li:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    z-index: 5;
}
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-container .tw-homepage-quick-links-menu li:hover a {
    color: #fff;
    transition: unset;
}
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-container .tw-homepage-quick-links-menu li:hover a img {
    filter: brightness(0) invert(1);
}
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-mobile-container .tw-homepage-quick-links-menu li {
    padding-top: 4px;
    padding-bottom: 4px;
}
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-mobile-container .tw-homepage-quick-links-menu li:nth-child(odd) {
    padding-right: 4px;
}
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-mobile-container .tw-homepage-quick-links-menu li:nth-child(even) {
    padding-left: 4px;
}
section#tw-homepage-quick-links-menu .tw-homepage-quick-links-menu-mobile-container .tw-homepage-quick-links-menu li a {
    min-height: 220px;
    border: 1px solid var(--secondary-color);
    background: #fff;
}
/*=====  End of HERO LINE QUICK LINKS MENU  ======*/
#tw-hero-bottom-space-maker {
    margin-bottom: 450px;
}
@media (min-width:992px) {
    #tw-hero-bottom-space-maker {
        margin-bottom: 200px;
    }
}

























/*=============================================
=            EVENTS SECTION STYLES            =
=============================================*/
section#tw-events h3.tw-events-title {
    font-size: 28px;
}
section#tw-events #tw-events-section-events-wrapper 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 #tw-events-section-events-wrapper article > div:first-child div.tw-date {
    font-size: 28px;
    word-spacing: 15px;
}
section#tw-events #tw-events-section-events-wrapper article > div:first-child div.tw-date::after {
    content: '';
    width: 40%;
    height: 1px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -10px;
}
section#tw-events #tw-events-section-events-wrapper article > div:first-child div.tw-event-title {
    font-size: 14px;
}
section#tw-events #tw-events-section-events-wrapper article > div:first-child div.tw-event-venue {
    font-size: 12px;
}
section#tw-events #tw-events-section-events-wrapper 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;
    }
}
/*----------  Events shortcode plugin customization  ----------*/
section#tw-events .tw-calendar-shortcode .tw-calendar-table-header {
    font-size: 16px;
}
section#tw-events .tw-calendar-shortcode .tw-calendar-event-article-title,
section#tw-events .tw-calendar-shortcode .tw-calendar-month-active {
    font-family: var(--text-font-family-secondary);
    font-weight: 700;
}
section#tw-events .tw-calendar-shortcode .tw-calendar-events-cards article .tw-calendar-event-article-date,
section#tw-events .tw-calendar-shortcode .tw-calendar-events-cards article .tw-calendar-event-article-time {
    /*font-family: 'Oxygen', sans-serif;*/
}
section#tw-events #tw-events-section-events-wrapper + div,
section#tw-events .tw-calendar-shortcode > div:nth-child(3),
section#tw-events .tw-calendar-shortcode .tw-calendar-shortcode > div:nth-child(3) {
    display: none;
}
/*=====  End of EVENTS SECTION STYLES  ======*/










/*==================================================
=            SUBSCRIBERS SECTION STYLES            =
==================================================*/
section#tw-subscribe a,
section#tw-subscribe label {
    font-size: 12px;
    font-family: var(--text-font-family-secondary);
}
section#tw-subscribe form .tw-custom-selection input {
    visibility: hidden;
    position: absolute;
}
section#tw-subscribe form .tw-subscribers-form-text {
    font-size: 20px;
}
section#tw-subscribe form .tw-custom-selection label {
    cursor: pointer;
    width: 100%;
    border-radius: 8px;
    padding: 10px 0;
    border: 2px solid transparent;
}
section#tw-subscribe form .tw-custom-selection label,
section#tw-subscribe form input {
    height: 50px;
    color: var(--tertiary-color);
    border-radius: 61px;
    border: 2px solid var(--tertiary-color);
}
section#tw-subscribe form input {
    color: #4E4F51;
    border: 2px solid #4E4F51;
}
section#tw-subscribe form input::placeholder {
    color: #4E4F51;
    font-size: 12px;
    font-family: var(--text-font-family-secondary);
}
section#tw-subscribe form .tw-custom-selection input:checked+label {
    color: #ffffff !important;
    background: var(--tertiary-color);
}
section#tw-subscribe form #homepage-extra-subscribe {
    display: none;
}
section#tw-subscribe form a#subs_button {
    background: var(--tertiary-color);
    border-radius: 61px;
}
section#tw-subscribe form a#subs_button img {
    padding-left: 5vw;
}
/*=====  End of SUBSCRIBERS 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 h3 span {
    font-weight: 400;
    letter-spacing: 10px;
}
section#tw-news-notices #tw-news-notices-section-articles-wrapper {
    /*margin: 0 -3rem;*/
}
section#tw-news-notices article {
    height: 500px;
    min-height: 500px;
}
section#tw-news-notices article > div:first-child {
    /*border-radius: 8px;*/
}
section#tw-news-notices article .tw-article-thumbnail.tw-article-thumbnail-absolute {
    border-radius: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-right: 70px;
    height: 342px;
}
section#tw-news-notices article .tw-article-content {
    margin: 0 35px 0 70px;
    /*margin: 0 35px;*/
    margin-top: -40px;
    background: rgba(51, 51, 51, 0.75);
    font-family: var(--text-font-family-secondary);
}
section#tw-news-notices article .tw-article-content,
section#tw-news-notices article .tw-article-content a {
    color: #fff;
}
section#tw-news-notices article .tw-article-content > div.row > div.col-6,
section#tw-news-notices article .tw-article-content > div.row > div.tw-read-more a {
    font-size: 14px;
}
section#tw-news-notices article .tw-article-content .tw-title {
    font-size: 19px;
}
@media (min-width:992px)  and (max-width:1199.99px) {
    section#tw-news-notices article .tw-article-thumbnail.tw-article-thumbnail-absolute {
        margin-right: 0;
    }
    section#tw-news-notices article .tw-article-content {
        margin: 0 10px;
        margin-top: -40px;
    }
}
@media (min-width:1200px) {
    section#tw-news-notices article .tw-article-content {
        margin: 0 35px;
        margin-top: -40px;
    }
}
.owl-carousel {
    width: auto;
}
.owl-stage{
    /*left:-80px;*/
}
section#tw-news-notices .owl-nav {
    position: absolute;
    top: -65px;
    display: flex;
    justify-content: end;
    width: 90px;
    padding: 0;
    right: 0;
}
section#tw-news-notices .owl-nav button {
    width: 40px;
    height: 40px;
    background: transparent;
    color: var(--tertiary-color);
    transition: .1s;
    /*background: lightblue;*/
    /*border-radius: 50%;*/
    display: flex;
    justify-content: center;
    align-items: center;
}
section#tw-news-notices .owl-nav button:first-child {
    margin-right: 10px;
}
section#tw-news-notices .owl-nav button:hover {
    background: var(--tertiary-color);
    color: #fff;
}
/*view all*/
section#tw-news-notices .tw-view-all {
    bottom: 8px;
    right: 100px;
}
/*=====  End of NEWS&NOTICES STYLES  ======*/




/*==========================================
=            MEETING REPOSITORY            =
==========================================*/
section#tw-meet-repo {
    color: #000;
    min-height: 300px;
}
section#tw-meet-repo .tw-meet-repo-date {
    font-size: 14px;
    /*font-family: 'Oxygen', sans-serif;*/
}
section#tw-meet-repo .tw-meet-repo-title::after {
    content: '';
    width: 40%;
    height: 1px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -10px;
}
section#tw-meet-repo .tw-meet-repo-title {
    font-size: 20px;
    font-family: var(--text-font-family-secondary);
    font-weight: 500;
}
section#tw-meet-repo .tw-meet-repo-files {
    font-size: 12px;
}
section#tw-meet-repo .tw-meet-repo-files a {
    color: #000;
}
section#tw-meet-repo .tw-meet-repo-files i {
    font-size: 16px;
}
section#tw-meet-repo .tw-meet-repo-files div:first-child i {
    color: #4A8C94;
}
section#tw-meet-repo .tw-meet-repo-files div:last-child i {
    color: #FA8461;
}
section#tw-meet-repo::before {
    content: '';
    background: var(--primary-color);
    opacity: .25;
    position: absolute;
    top: -600px;
    bottom: 0;
    left: 0;
    right: 0;
    /*clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);*/
    clip-path: polygon(0 100%, 100% 50%, 100% 100%, 0 100%);
    min-height: 900px;
    z-index: -1;
}
section#tw-meet-repo .owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}
section#tw-meet-repo .owl-carousel .owl-dots.disabled {
    display: none;
}
section#tw-meet-repo .owl-carousel .owl-dots button.owl-dot {
    width: 50px;
    height: 4px;
    /*border-radius: 50%;*/
    background: #DFDFDF;
    /*margin: 0 10px;*/
}
section#tw-meet-repo .owl-carousel .owl-dots button.owl-dot.active {
   /* width: 16px;
    height: 16px;*/
    background: var(--secondary-color);
}
/*=====  End of MEETING REPOSITORY  ======*/







/*===========================
=            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  ======*/












/*========================================
=            HOMEPAGE CONTENT            =
========================================*/
.homepage-content::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    opacity: .25;
    z-index: -1;
}


/*=====  End of HOMEPAGE CONTENT  ======*/




















/*=============================================
=            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;
    border: 1px solid var(--secondary-color);
    font-family: var(--text-font-family-secondary);
    color: #000;
}
footer#footer h3 {
    font-family: var(--text-font-family-primary);
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
}
footer#footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer#footer a {
    color: #000;
    text-decoration: none;
}
footer#footer #footer-town-name h2,
footer#footer #footer-town-name h3 {
    font-size: 60px;
    text-transform: uppercase;
    font-weight: 400;
    font-family: var(--text-font-family-primary);
    line-height: .9;
}
footer#footer #footer-town-name h3 {
    color: var(--primary-color);
}
footer#footer #footer-town-name h2 {
    color: var(--secondary-color);
}
/*=====  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  ======