/* Theme Name: Community All Theme */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* font-family: "Roboto", sans-serif;
font-family: "Montserrat", sans-serif; */


@font-face {
    font-family: 'almost_there_regular';
    src: url('assets/fonts/almost_there-webfont.woff2') format('woff2'),
         url('assets/fonts/almost_there-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    font-family: "Montserrat", sans-serif;
}
.custom-related-events .events-title {
    font-size: 28px;
    margin-bottom: 30px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.h4, h4 {
        font-size: 22px;
    }
.event-card {
    background: #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
}
.row.blog-container h4 {
    color: #0b3d47;
}
figure.blog-image {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 100%;
    border: 1px solid;
    border-radius: 50px;
}
.vc_gitem-post-data-source-post_excerpt p {
    margin: 0;
}
.excerpt-blog p {
    font-size: 14px;
}
a.readmore {
    font-size: 13px;
}
section#tribe-events-pg-template {
    padding-top: 150px;
}

figure.blog-image img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.event-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.event-image img {
    width: 100%;
    height: auto;
    display: block;
}

.event-placeholder {
    background: #e0e0e0;
    height: 200px;
}

.event-content {
    padding: 15px;
}

.event-title {
    font-size: 16px;
    margin: 0 0 10px;
}

.event-date {
    font-size: 14px;
    color: #000;
}
img{
    max-width: 100%;
    height: auto;
}
img.alignright {
    float: right;
    margin: 0 0 10px 10px;
}
img.alignleft {
    float: left;
    margin: 0 10px 10px 0px;
}
ul{
    padding: 0;
    margin: 0;
    list-style: none;
}
.h3, h3 {
    font-size:46px;
}
header.header.hasScrolled {
    background: #0b3d47;
}
.top-header svg{
    width: 16px;
    height: 16px;
}
.social-head a{
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: inline-block;
}
.social-head {
    text-align: center;
}
.social-head a:hover {
    background: rgba(255, 255, 255, 0.7);
}
.social-head a path{
    fill: #0b3d47;
}
.header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    padding: 16px 0;
    z-index: 99;
    width: 100%;
}
.top-header{
    display: flex;
    flex-wrap: wrap;
        justify-content: flex-end;
    align-items: center;
}
.header-search{
    position: relative;
        margin-right: 14px;
}
.header-search input{
    outline: none;
    border: 1px solid white;
    border-radius: 18px;
    padding: 6px;
    background: transparent;
    width: 200px;
    text-align: center;
    color: white;
    font-size: 12px;
    font-style: italic;
}
.ngg-gallery-thumbnail {

    border: 0 !important;
    margin: 0px 0px 5px 0px !important;
}
.header-search input::placeholder{
    color: white;
}
.small-container {
    margin-left:auto !important;
    margin-right:auto !important;
    max-width:750px;
    width:100%;
    box-sizing:border-box;
    padding-left:0.725em;
    padding-right:0.725em;
}
.wpcf7-form input, .wpcf7-form select, .wpcf7-form textarea {
    font-size: 16px;
    font-family: 'MONTSERRAT';
    border: 1px solid #0b3d47;
    padding: 10px;
    border-radius: 30px;
    color: #0b3d47;
    width: 100%;
    margin-bottom: 10px !important;
}
.wpcf7-form textarea {
    height: 130px;
}
.wpcf7 label {
    font-size: 16px;
    width: 100%;
}
input[type="checkbox"], input[type="radio"] {
    width: auto;
}
.wpcf7-not-valid-tip {
    font-size: 13px !important;
}
input.wpcf7-form-control.wpcf7-submit {
    font-weight: bold;
    background: #0b3d47;
    color: white;
    max-width: 250px;
}
input.wpcf7-form-control.wpcf7-submit:hover {
    background: white;
    color: #0b3d47;
}
span.wpcf7-spinner {
    position: absolute;
}
.header-search svg path{
    stroke: white;
}
.main-single-container .container {
    margin-top: 30px;
}
.header-search button{
    position: absolute;
    right: 12px;
        background: transparent;
     transform: translateY(-50%);
     top: 50%;
     outline: none;
    border: none;
}
h1.page-title.posttitle.listing-title {
    text-align: left;
    margin-top: 0;
}
.social-head ul{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.header-bottom li.current-menu-item a {
    text-decoration: underline !important;
}
.header-bottom ul.slimmenu li{background: transparent; border: none; float: none;}
.header-bottom ul.slimmenu li a{
    color: white;
    font-size: 14px;
    padding: 10px 26px 12px 12px;
    text-decoration: none;
}
.main-listing-cat-holder h2 {
    color: #0B3D47;
    font-size: 24px;
    text-decoration: none;
    padding-bottom: 12px;
    display: block;
    font-weight: bold;
}
.header-bottom ul.slimmenu li:last-child a{
    padding-right: 0;
}
.header-bottom ul.slimmenu li .sub-toggle>i{font-size: 14px; color: white;}
.header-bottom ul.slimmenu li .sub-toggle{width: 28px; right: -2px;}
.header-bottom ul.slimmenu li a:hover{
    background: transparent;
    text-decoration: underline;
}
.header-bottom ul.slimmenu ul > li{
    background: white;
    text-align: left;
    width: 100%;
}
.header-bottom ul.slimmenu ul > li a{
    color: black;
    white-space: nowrap;
}
.header-bottom ul.slimmenu li>ul{
    width: 184px;
}

.banner figure{
    position: relative;
    margin: 0;
}

.banner figure figcaption{
    position: absolute;
    top: 55%;
    transform: translateY(-45%);
    left: 30%;
    right: 30%;
    width: 40%;
    text-align: center;
}
.banner figure figcaption h2{
    font-size: 70px;
    font-family: 'almost_there_regular';
    color: white;
    margin-bottom: 18px;
    /*line-height: 60px;*/
    line-height: 1.2;
}
.banner figure figcaption p{
    font-size: 30px;
    color: white;
    font-style: italic;
    font-weight: 300;
    line-height: 32px;
}
.pos-rel {
    position:relative;
}
.footer {
    padding: 70px 0 20px;
    background: #2c626d;
    color: white;
    position: relative;
    background-image: url(/new_sites/westport/wp-content/themes/communityalltheme/assets/images/footer-compass.png);
    background-repeat: no-repeat;
    background-position-x: calc(50% - 700px);
    background-position-y: 100%;
}
.collapse-button:hover, .collapse-button:focus {
    background-color: #0B3D47;
}

.flogo{
    display: block;
    margin-bottom: 34px;
}
.left-footer p{
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 34px;
}
.social-footer svg{
    width: 16px;
    height: 16px;
}
.social-footer a path {
    fill: #0b3d47;
}
.social-footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.social-footer a {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 28px;
}
.ftMenu li{
    margin-bottom: 10px;
}
.ftMenu a{
    font-size: 14px;
    color: white;
    text-decoration: none;
}
.ftMenu a:hover{
    text-decoration: underline;
}
.foo-container{
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid #1d515b;
}
.foo-container a{
      font-size: 14px;
    color: white;
}
.foo-container p{
        font-family: "Roboto", sans-serif;
    font-size: 14px;
}


.post-row-grid .vc_gitem-is-link{
    border-radius: 40px;
    border: 1px solid #365f67;
    margin-bottom: 28px;
}

.post-row-grid h4{
    font-size: 22px;
    color: #0b3d47;
    font-weight: bold;
    margin-bottom: 28px;
}
.post-row-grid p{
    font-size: 14px;
     overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 5; /* number of lines to show */
   line-clamp: 5; 
   -webkit-box-orient: vertical;
}
.post-row-grid .vc_btn3{
       background: transparent !important;
    color: #9abac0 !important;
    font-size: 13px !important;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 12px 0 0!important;
    position: relative;
}
.post-row-grid .vc_btn3::after{
    position: absolute;
    right: 0;
    content: ">";
    top: 50%;
    transform: translateY(-50%);
}

.vc_section .vc_row.container.explore-westport{
    margin-left: auto;
    margin-right: auto;
}
.explore-westport h4{
    font-family: 'almost_there_regular';
    font-size: 56px;
    color: #2c626d;
}
.explore-westport h2{
    font-family: "Montserrat", sans-serif; 
    font-size: 46px;
    font-weight: bold;
    color: #0b3d47;
    margin-bottom: 36px;
}
.explore-westport p{
    font-size: 18px;
     font-family: "Roboto", sans-serif;
     color: #4d5051;
}
.explore-westport .left-explore .vc_column-inner{
    padding: 40px 60px;
    background-color: white;
}
.explore-westport .vc_carousel-control{
    top: 105%!important;
}
.explore-westport .vc_carousel-control span{
    font-size: 48px;
    color: #0b3d47;
}
.explore-westport .vc_left.vc_carousel-control{
    left: 28%!important;
}
.explore-westport .vc_right.vc_carousel-control{
    right: 40%!important;
}
.left-explore .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern{
    background: #0b3d47;
        border-radius: 32px;
        color: white;
}

.explore-westport .vc_carousel-inner img{
border-radius: 40px 0 40px 0;
}
.spotlight-row {
    max-width:980px;
    margin-left:auto !important;
    margin-right:auto !important;
}
.spotlight img{
    border-radius: 40px;
    border: 1px solid #53767d;
}
.spotlight h4{
    font-size: 24px;
    color: #0b3d47;
    font-weight: bold;
}
.spotlight .wpb_text_column a{
    font-size: 14px;
    text-transform: uppercase;
    color: #9abac0;
}

.subscribe-mailing .wpb_text_column h3{
     font-family: 'almost_there_regular';
    font-size: 56px;
     color: #2c626d;
}
.subscribe-mailing .wpb_text_column p{
    font-size: 30px;
    font-weight: bold;
    color: #0b3d47;
}

/* Inner pages */
.inner-container{
   padding: 136px 0 52px 0;
}
.inner-header{
    background: #2c626d;
}
.page-title{
    font-size: 46px;
    color: #0B3D47;
    text-align: center;
    font-family: Montserrat;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 36px;
	margin-top: 50px;
}
section.banner img {
    width: 100% !important;
}
.entry-content p {
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    color: #4d5051;
    line-height: 1.7em;
}
.entry-content a{
    color: #9abac0;
    text-decoration: none;
}
.entry-content a:hover{
    text-decoration: underline;
}
.entry-content img{
margin: 0 12px 20px 0;
}
header.tribe-events-header.tribe-events-header--has-event-search {
    margin-top: 70px !important;
}
.post-meta{
    text-align: center;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    color: #4d5051;
    margin-bottom: 36px;
}
.post-meta a{
    color: #0B3D47;
}
.post-title {
    font-size: 46px;
    color: #0B3D47;
    text-align: center;
    font-family: Montserrat;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 12px;
}
.list-post {
    width: 100%;
    display: block;
    float: left;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    font-family: "Roboto", sans-serif;
    color: #4d5051;
}
.list-post h3{
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
}
.list-post h3 a{
     color: #0B3D47;
     text-decoration: none;
}
.list-post h3 a:hover{
    text-decoration: underline;
}
.list-post figure{
    max-width: 180px;
    height: auto;
    float: left;
    margin: 0 12px 12px 0;
}
.readmore{
    text-transform: uppercase;
    color: #9abac0;
    text-decoration: none;
    display: block;
    margin-top: 12px;
}
.readmore:hover{
    text-decoration: underline;
}

.navnextpre{
    width: 100%;
    float: left;
    display: flex;
    justify-content: space-between;
}
.navnextpre a{
     text-transform: uppercase;
    color: #2c626d;
    text-decoration: none;
    display: block;
    margin-top: 12px;
}
.navnextpre a:hover{
   text-decoration: underline; 
}
.blog-container{
    padding-bottom: 52px;
}

.essential-element img{
    border-radius: 20px 0 20px 0;
}
.desc-text h1{
    font-weight: bold;
    font-size: 24px;
    color: #0B3D47;
    margin-bottom: 12px;
}
.desc-text p, .desc-text table, .description-below{
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    color: #4d5051;
}
.desc-text a{
    color: #2c626d;
}
.social-and-web{
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 15px;
}
.social-and-web a{
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    display: inline-block;
    border-radius: 50%;
    background: #0B3D47;
    color: white;
}
.owl-dots button{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #0B3D47!important;
    margin: 0 4px;
}
.owl-dots button.active{
    background: #0B3D47;
}
.owl-dots{
    text-align: center;
}
.basic-element{
      font-size: 18px;
    font-family: "Roboto", sans-serif;
    color: #4d5051;
    margin: 0 auto;
}
.directory-categories hr {
    margin: 30px 0px;
}
.basic-element a{
    color: #2c626d;
}

.main-listing-cat-holder {
    margin-bottom: 40px;
}
p.sm-sub-cat a {
    margin-top: 0;
    color: #2c626d;
    font-weight: bold;
    font-size: 18px;
}
.main-listing-cat-holder h2 a{
    color: #0B3D47;
    font-size: 24px;
    text-decoration: none;
    padding-bottom: 12px;
    display: block;
    font-weight: bold;
}
.main-listing-cat-holder p a{
    color: #4d5051;
    font-size: 20px;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
}
@media only screen and (max-width: 1199px) {
    .header-bottom ul.slimmenu li a{
        padding: 10px 18px 12px 10px;
    }
    .banner figure figcaption h2{
        font-size: 50px;
        line-height: 40px;
    }
    .banner figure figcaption p{
        font-size: 24px;
        line-height: 24px;
    }
}
@media only screen and (min-width: 980px) {
    span.sub-toggle {
        display: none;
    }
    ul#navigation {
        text-align: right;
    }
    .footer ul#navigation {
        text-align: left;
    }
    
}
@media only screen and (max-width: 979px) {
    .fr-shadow {
    height: 50px !important;
}
    main.main-container {
        overflow-x: hidden;
    }
    .explore-westport .left-explore .vc_column-inner {
        padding:40px 20px;
    }
    a.logo img {
        position: relative;
        top: 10px;
    }
    .h3, h3 {
        font-size: calc(1.3rem + .6vw);
    }
    .desktop-top-h .top-header {
        display:none;
    }
    .header-bottom ul.slimmenu {
        background: white;
        position: fixed;
        left: 30px;
        right: 30px;
        width: auto;
        top: 0;
        width: 100%;
        left: 0;
        height: 100%;
        background: #0b3d47;
        padding-top: 40px;
    }
    .collapse-button {
        background: #0b3d47 !IMPORTANT;
    }
    .header-bottom .menu-collapser{
        background: transparent;
        z-index: 9;
    }
    .header-bottom ul.slimmenu li>ul {
        width: 100%;
    }
    .header-bottom ul.slimmenu ul > li {
        background: transparent;
        text-align: left;
        width: 100%;
    }
    .header-bottom ul.slimmenu ul > li a {
        color: white;
    }
    .header-bottom ul.slimmenu li a{
        text-align: left;
    }
    .header-bottom ul.slimmenu li .sub-toggle{
        background: transparent;
    }
        .banner figure figcaption h2 {
        font-size: 40px;
        line-height: 30px;
    }
        .banner figure figcaption p {
        font-size: 20px;
        line-height: 20px;
    }

    .basic-element{
        max-width: 60%;
    }
}

@media only screen and (max-width: 767px) {
    
    .ess-sideways {
        height: 300px !important;
    }
    .header{
        padding: 10px 0;
    }
    .header-search{
        margin-right: 6px;
    }
    .header-search input {
        width: 100px;
        padding: 2px;
        font-size: 8px;
    }
    .top-header svg {
    width: 10px;
    height: 10px;
}
.social-head a {
    width: 16px;
    height: 16px;
    line-height: 16px;
}
.social-head ul {
        gap: 4px;
}
.header-search button {
    right: 6px;
}
.banner img{
    min-height: 240px;
    object-fit: cover;
}
.banner figure figcaption{
    left: 20%;
    right: 20%;
    width: 60%;
}
    .banner figure figcaption h2 {
        font-size: 34px;
        line-height: 1.1em;
    }
        .banner figure figcaption p {
        font-size: 16px;
        line-height: 16px;
    }

    .footer .col-md-3{
        padding-bottom: 30px;
    }
    .page-title {
		margin-top:10px;
        font-size: 36px;
    }
}

@media only screen and (max-width: 575px) {
.add-slider .vc_item > .vc_inner{
    text-align: center;
}
.add-slider .vc_item > .vc_inner > img{
    display: inline-block!important;
}
.basic-element{
        max-width: 100%;
    }
}

.fr-shadow {
    position: absolute;
    z-index: 9;
    background: #2A7B9B;
    background: linear-gradient(180deg, rgb(16 97 129) 0%, rgb(18 92 121 / 65%) 48%, rgba(255, 255, 255, 0) 100%);
    width: 100%;
    height: 200px;
}

/*LISTINGS*/

.essential-slider .ess-top {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 50%;
}
.essential-slider.ess-sideways {
    height: 100%;
}
.essential-slider .ess-sideways {
    position: relative;
    height: 100%;
}
.essential-slider .ess-sideways img {
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
    position: absolute;
}
.essential-slider .ess-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}
.essential-slider {
    position:relative;
}
.essential-slider ul.slick-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
}
.essential-slider ul.slick-dots li {
    display: inline-block;
    margin: 3px;
}
.essential-slider ul.slick-dots li.slick-active button {
    background: rgba(0,0,0,0.3);
}
.essential-slider ul.slick-dots li button {
    font-size: 0px !important;
    width: 15px !important;
    height: 15px !important;
    padding: 0;
    background: rgba(0,0,0,0.8);
    border-radius: 15px;
}
.ess-sideways .slick-track, .ess-sideways .slick-list, .ess-sideways {
    height: 100%;
}

.mt-sixty {
    margin-top:60px;
}
.element-with-border {
    padding: 20px;
}
p.ss-res {
    text-align: left;
}
p.ss-res a {
    color: #444444;
    font: bold 12px 'Lucida Grande', Verdana, Arial, Sans-Serif;
}
.directory-categories {
    margin: 150px 0px;
}
h2.posttitle.listing-title {
    font-size: 20px;
}
h2.posttitle.listing-title a {
    color: #2c626d;
}
/*Listings css is top*/
