/*
 * Theme Name: Charlotte Business Group
 * Author: Deinna	
 * Version: 1.1.0
 **/
 
.h-auto {
 height: auto;
}
.font-noah {
    font-family: "Noah";
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.hero .carousel-item .container::after {
    background: linear-gradient(180deg, rgb(2, 0, 36) 5%, rgba(0, 0, 0, 0) 100%);
}

.header-logo {
    max-width: 300px;
}
.hero .carousel-item .video-bg video {
    left: 50%;
    transform: translateX(-50%);
}
@media (max-width: 991px){
    .hero .carousel-item .container::after {
        background: linear-gradient(180deg, rgb(2, 0, 36) 0%, rgba(0, 0, 0, 0) 20%);
    }
    .hero .carousel-item .video-bg {
        display: none;
    }
}
@media (max-height: 700px) {
    .hero .carousel-item .video-bg {
        top:360px;
    }
}

.events-wrapper .event-img {
    aspect-ratio: 4 / 3;
}

.link-button {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.link-button i {
    font-size: 14px;
}
.layout-cta_ribbon .cta-label {
    font-size: 20px;
}

.home header {
    position: absolute;}
    
.layout-simple_content_logos .layout-content {
    padding-top: 128px;
    padding-bottom: 64px;
}

#back-to-top {
    background: #01051e;
}

.hero .carousel-item {
    min-height: 607px;
}

.layout-simple_content_logos .button-wrapper {
    margin-bottom: 96px;
}

.post-item-image {
    aspect-ratio: 1/1;   
}
.post-item-details .excerpt {
    font-family: "Noah";
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: 1px;
}

.post-item-details .meta {
    font-family: "Noah";
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: 1px;
}

.post-archives .post-archives-head {
    background-color: #01051e;
    color: #fff;
    font-family: "Noah";
    font-size: 20px;
    line-height: 1.35;
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 15px;
    letter-spacing: 1px;
}
.post-archives {
    box-shadow: 6px 10px 10px rgba(0, 0, 0, 0.2);
}
.post-archives ul {
    list-style: none;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
    letter-spacing: 1px;
}
.post-archives ul li a {
    text-decoration: none;
    font-family: "Noah";
    font-size: 18px;
    line-height: 1.35;
    text-transform: uppercase;
    font-weight: 700;
    transition: 0.3s all;
    color: #000;
}
.post-archives ul li a:hover {
    color: #00aeef;
}
.post-archives ul li:last-child {
    border: 0;
}
.post-archives ul li {
    padding: 15px 15px;
    border-bottom: 1px solid;
}

.post-item-content {
    font-family: "Noah";
    font-size: 18px;
    line-height: 1.8;   
    color: #01051e;
    letter-spacing: 1px;
}

.post-item-content p {
    margin-bottom: 30px;
}

.post-item-content .wp-block-image .wp-element-caption {
    font-size: 14px;
    line-height: 1.35;
}
.post-item-content .wp-block-image {
    margin-bottom: 30px;
}
.post-item-content .wp-block-image img {
    width: 100%;
}

@media (max-width: 991px) {
    .post-archives .post-archives-head {
       font-size: 18px;     
    }
    .post-item-details .excerpt {
        font-size: 16px;
    }

    .post-archives ul li a {
        font-size: 16px;
    }
    
    .post-item-content {
        font-size: 16px;
    }
    
    .post-item-content p {
        margin-bottom: 20px;
    }
    
    .post-item-content .wp-block-image .wp-element-caption {
        font-size: 14px;
        line-height: 1.35;
    }
    .post-item-content .wp-block-image {
        margin-bottom: 20px;
    }
}
.event-card-content {
    letter-spacing: 1px;
}
.cbg-events .event-card-content {
    background-color: transparent;
    box-shadow: 5px 10px 10px rgba(0,0,0,0.2)
}

.cbg-events .event-date-time {
    font-size: 16px;
}

.cbg-events .event-location {
    font-size: 16px;
}

.cbg-events .event-card-content {
    border: 4px solid #eeb21b;
}

.affiliate-events .event-card-content {
    border: 4px solid #00aeef;
}

.link-button.text-underline {
    text-decoration: underline; 
}
.post-event-details {
}
.post-event-details .event-category {
    font-family: "Noah";
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.25;
}
.post-event-details .event-title {
    font-family: "Noah";
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.divider {
    border-bottom: 2px solid #01051d;
}


.event-content {
    font-family: "Noah";
    font-size: 18px;
    line-height: 1.8;   
    letter-spacing: 1px;
    padding-bottom: 32px;
}

.post-event-details .event-content p {
    margin-bottom: 30px;
}

.post-event-details .event-date-time {
   font-size: 20px; 
}

.post-event-details .event-location {
    font-size: 20px;
}

.affiliate-events .event-card-content .event-title {
    color: #00aeef;
}


@media (max-width: 991px) {
    .cbg-events .event-date-time {
        font-size: 14px;
    }
    .cbg-events .event-location {
        font-size: 14px;
    }
    .post-event-details .event-title {
        font-size: 22px;
    }
    .post-event-details .event-category {
        font-size: 14px;
    }
    .event-content {
        font-size: 16px;
    }
    .post-event-details .event-date-time {
       font-size: 18px; 
    }
    
    .post-event-details .event-location {
        font-size: 18px;
    }
    .post-event-details .event-content p {
        margin-bottom: 20px;
    }
}
#tribe-events-pg-template {
    padding:0!important;
    max-width: 100%!important;
}

.pagination {
    font-family: "Noah";
    margin-bottom: 0;
    text-align: left
}.page-link {
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent !important;
    color: #01051e;
    padding: 0 10px;
    font-weight: 700;
}
.page-link.active, .active > .page-link {
    z-index: 3;
    color: #eeb21b;
}

.dropdown  {
        width: max-content;
}
.dropdown-item {
    padding: 5px 5px;
}

.dropdown-toggle {
    position: relative;
    padding-right: 50px !important;
}

 button.dropdown-toggle {
     background-color: transparent;
     border: 3px solid #eeb21b;
    font-family: "Noah";
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 10px;
    font-weight: 700;
    border: 3px solid #eeb21b;
    color: #eeb21b;
 }
 
 ul.dropdown-menu {
    border: 3px solid #eeb21b;
    border-radius: 0;
    width: 100%;
    top: -6px !important;
    font-family: "Noah";
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0;
    font-weight: 700;
    color: #eeb21b;
}

.dropdown-item {
    padding: 5px 15px;
}
.dropdown-item:hover, 
.dropdown-item.active, 
.dropdown-item:active {
    background-color: #eeb21b;
    color:  #ffffff;
}

.affiliate-events button.dropdown-toggle {
    border: 3px solid #00adef;
    color:  #00adef;
}
.affiliate-events ul.dropdown-menu  {
    color: #00adef;
}
.affiliate-events .dropdown-menu {
         border: 3px solid #00adef;
}

.affiliate-events .dropdown-item:hover, 
.affiliate-events .dropdown-item.active, 
.affiliate-events .dropdown-item:active {
    background-color: #00adef;
        color:  #ffffff;
}


.partner-dropdown .dropdown-toggle {
    border-color: #01051e;
    color: #01051e;
    width: 350px;
    text-align: left;
}
.partner-dropdown ul.dropdown-menu {
    border-color: #01051e;
}

.partner-dropdown .dropdown-item:hover, 
.partner-dropdown .dropdown-item.active, 
.partner-dropdown .dropdown-item:active {
    background-color: #01051e;
}

.partner-box-modal {
    overflow: auto;
}

.partner-box {
    display: flex;
    aspect-ratio: 1 / 1;
    border: 1px solid #9f9e9e;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.partner-box img {
    max-width: 100%;
    height: auto;
}

.partner-box:hover {
    border-color: #01051e;
}
.partner-box:hover img {
    opacity: 0.7;
}
.partner-modal h5 {
    margin-bottom: 4px;
    font-size: 14px;
}

.partner-modal p {
    margin-bottom: 24px;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 400;
}
.partner-modal {
    max-width: 800px;
    background-color: #f4f4f4;
    padding: 40px 30px;
    color: #555555;
    overflow-y: scroll;
}

.partner-modal-title {
    line-height: 1.1;   
}

.partner-modal h4 {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 4px;
}
.partner-modal .certfication-image {
    max-width: 130px;
    height: auto;
}

.partner-alternate-logo img {
    margin: 0 !important;
    max-width: 100%;
    height: auto;
}
.partner-alternate-logo {
    border: 2px solid #eeb21b;
    background-color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 30px;
    aspect-ratio: 6/3;
}

.partner-details a:hover {
    text-decoration: underline;
}
.partner-details .h6 {
    font-size: 14px;
}
.partner-details a {
    font-size: 12px;
    letter-spacing: 1px;
    text-underline-offset: 3px;
    word-break: break-word;
}

ul.partner-social-media li a {
    font-size: 16px;
}
ul.partner-social-media {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 14px;
}
.layout-simple_half_columns p {
    line-height: 1.8;
}


.layout-simple_half_columns .link-button {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.heading-3.layout-simple_half_columns h2, .heading-3.layout-simple_half_columns h3, .heading-3.layout-simple_half_columns h4, .heading-3.layout-simple_half_columns h5, .heading-3.layout-simple_half_columns h6 {
  font-size: 35px;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
    .heading-3.layout-simple_half_columns h2, .heading-3.layout-simple_half_columns h3, .heading-3.layout-simple_half_columns h4, .heading-3.layout-simple_half_columns h5, .heading-3.layout-simple_half_columns h6 {
          font-size: 28px;
          margin-bottom: 8px;
        }
        .mt-md-n5 {
            margin-top: -3rem !important;
        }
        .partner-modal h4 {
            font-size: 16px;
    
        }
        .partner-modal .certfication-image {
            max-width: 80px;
            margin-bottom: 16px;
        }

    }

.corporate-section .slick-slide a {
    display:  inline-block;
    text-align: center;
    padding: 0 48px;
}
.corporate-section .slick-slide img {

    width: auto;
    max-width: max-content;
    display: inline-block;
}
.event-card-content {
    position: relative;
}
.event-cta {
    position: absolute;
    bottom: 1.5rem;
}

.layout-featured .alignright {
  float: right;
  margin-left: 48px;
  margin-bottom: 48px;
}
.layout-featured .alignleft {
  float: left;
  margin-right: 48px;
  margin-bottom: 48px;
}
.layout-featured .aligncenter {
  margin-top: 48px;
  margin-bottom: 48px;
}
.event-card-content .event-title {
    font-size: 22px;
}

@media (max-width: 991px) {
    .layout-featured .alignright,
    .layout-featured .alignleft,
    .layout-featured .aligncenter {
        width: 100%;
        float: none;
        display: block;
        margin:0;
        margin-bottom: 24px;
    }
    .event-card-content .event-title {
        font-size: 18px;
    }

}
.layout-local_news a.link-button {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.layout-video_gallery .image-gallery-wrapper .video-col:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(180deg, transparent 50%, #000 100%);
}

.layout-video_gallery .image-gallery-wrapper .video-col span {
    color: #ffffff;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-family: "Noah";
    position: relative;
    z-index: 9;
    letter-spacing: 1px;
    font-weight: 600;
}

.layout-video_gallery .image-gallery-wrapper .video-col {
    display: flex;
    align-items: end;
    padding: 0;
    text-decoration: none;
    position: relative;
}

.layout-video_gallery .image-gallery-wrapper .row {

    grid-template-columns: repeat(3, 1fr);
}


.dropdown-toggle::after {
    border: 0;
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    position: absolute;
    right: 10px;
}

.mobile-social-icon {
    display: block !important;
    float: left !important;
    clear: none !important;
}
.mobile-social-icon a:hover {
    color: #eeb21b!important;
}

#mega-menu-menu-3 .mega-menu-item:not(.mobile-button) a.mega-menu-link:hover {
    color: #eeb21b!important;
}

#mega-menu-wrap-menu-3 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

@media (max-width: 991px) {
        .layout-image_gallery .image-gallery-wrapper .row {
            grid-template-columns: repeat(3, 1fr);
        }
        
        .layout-video_gallery .image-gallery-wrapper .row {

            grid-template-columns: repeat(2, 1fr);
        }
        .heading-new-line-mobile h2 span {
            display: block;
        }
}

@media (max-height: 700px) {
    .hero .carousel-item .container > div {
        margin-top: 70px;
    }
}


@media (max-width: 767px) {
    .layout-image_gallery .image-gallery-wrapper .row {
        grid-template-columns: repeat(2, 1fr);
    }
    .layout-video_gallery .image-gallery-wrapper .row {

    grid-template-columns: repeat(1, 1fr);
}
    .hero .title {
        font-size: 38px;
    }
}

.lity-close {
        color: #cbcbcb!important;
    font-size: 60px!important;
}