.modal_overlay {
    display: none;
}

/* .modal_overlay.booknow {
    display: none;
} */

.modal_overlay.booknow{
    background: rgba(0,0,0,0.8);
}

.modal_overlay.booknow iframe{
    width: 100%;
    height: 100%;
}

.modal_overlay.booknow .modal_event{
    max-width: 515px;
    margin-left: auto;
    margin-right: auto;
}

.modal_overlay.booknow .modal_content{
    padding: 0;
    border: none;
    height: 700px;
}



.modal_overlay {
    background-color: #b7b7b71a;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
    top: 0;
    background-color: rgba(255,255,255,0.7);
}

.modal_overlay_wrap{
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    flex-wrap: wrap;
}

.font-medium{
    font-weight: 600;
}

.modal_event {
    max-width: 600px;
    width: 95%;
    position: relative;
    margin-bottom: 20px;
    margin-top: 20px;
    transform: translateY(30px);
    transition: transform .25s;
}

.modal_event .content_about {
    margin-bottom: 2rem;
}

.modal_event .content_social {
    margin-bottom: 2rem;
}

.modal_event .content_social a {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 8px;
}

.modal_overlay.open .modal_event{
    transform: translateY(0px);
}

.modal_event.modal_event_featured{
    margin-top: 80px;
}

.modal_close, .modal_close_booknow, .modal_close_homepage {
    position: absolute;
    right: -15px;
    top: -15px;
    background-color: #0083BF;
    width: 33px;
    height: 33px;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    padding: 0;
    line-height: 27px;
    color: #ffffff;
    border: 2px solid #ffffff;
    z-index: 2;
    cursor: pointer;
    transition: 0.3s;
}
.modal_close:hover, .modal_close_booknow:hover, .modal_close_homepage:hover {
    background-color: #0069d9;
}
.banner_modal {
    width: 100%;
    height: 150px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
    position: relative;
    padding-bottom: 60%;
    height: 0;
}

.banner_modal_content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    /* height: 150px; */
    /* display: flex; */
    justify-content: center;
    flex-direction: column;
    text-align: center;
    /* position: relative; */
    padding-bottom: 60%;
}

.banner_modal_content:before {
    content: " ";
    display: block;
    height: 50%;
    background: red;
}

h2.modal_title {
    color: #ffffff;
    font-weight: 800;
    font-size: 40px;
    margin: 0 0 0 30px;
    z-index: 1;
    padding: 20px;
    line-height: 42px;
    /* height: 100%; */
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}

.modal_event_featured h2.modal_title{
    margin-left: 175px;
}

img.modal_image_dj {
    position: absolute;
    bottom: 0;
    margin-left: 0;
    height: 230px;
}

img.img_dj_name {
    width: 150px;
    height: auto;
    margin: 10px auto;
}

.modal_content {
    padding: 35px;
    color: #ffffff;
    text-align: center;
    border-bottom: 1px solid #ffffff;
}

.modal_event_featured .modal_content .date_event {
    text-align: left;
    line-height: 1.2em;
    font-size: 1.2rem;
}

.modal_content .date_event_item {
    margin-bottom: 1.3rem;
}

.modal_content .date_event_date {
    display: block;
    text-transform: uppercase;
    white-space: nowrap;
}

p.date_event {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 600;
}

p.date_subtitle {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

p.date_event::after {
    content: "";
    display: block;
    text-align: center;
    margin: 10px auto;
    width: 30px;
    height: 1px;
    background-color: #ffffff;
}

p.featuring {
    text-transform: uppercase;
}

.modal_footer {
    padding: 20px;
    color: #ffffff;
    text-align: center;
}

p.modal_footer_content {
    margin-bottom: 0;
}

.modal_footer a {
    color: #ffffff;
}
.modal_footer a:hover {
    text-decoration: underline;
}

.modal_event_featured .btn_booknow{
    margin-top: 15px;
}

.btn_booknow {
    text-transform: uppercase;
    border: 1px solid #fff;
    padding: 10px 20px;
    max-width: 160px;
    margin: 30px auto 10px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    color: #fff;
}
.btn_booknow:hover{
   background-color: #ffffff;
}
.blue-to-dark .btn_booknow:hover{
    color: rgb(174,244,247);
}
.blue-to-pink .btn_booknow:hover{
    color: rgb(57,143,255);
}
.pink-to-orange .btn_booknow:hover{
    color:rgb(255,183,191);
}

.featured-event-item{
    position: relative;
    max-width: 474px;
    margin-left: auto;
    margin-right: auto;
}


.featured-event-item .card-image {
    position: absolute;
    z-index: 99;
    left: 0;
    align-self: flex-end;
}

.featured-event-item .card-image img {
    max-width: 240px;
}

.featured-event-item .card-bg{
    position: absolute;
    width: 80%;
    top: 0;
    bottom: 0;
    align-items: flex-end;
    border:unset;
}


.modal_overlay.modal_featured{}

.modal_overlay.modal_featured .modal_bg_helper_top{
    position: absolute;
    width: 100%;
    top: 0;
}

.modal_overlay.modal_featured .modal_bg_helper_bottom{
    position: absolute;
    width: 100%;
    bottom: 0;
}

#openingpopup.modal_overlay {
    background-color: rgba(0,0,0,0.5);
    pointer-events: none;
}

#openingpopup .modal_overlay_wrap {
    pointer-events: none;
}

#openingpopup .modal_overlay_wrap .modal_event{
    pointer-events: auto;
}


@media (min-width: 768px){
    .modal_event_featured .modal_content .date_event {
        font-size: 1.5rem;
    }
    
    .modal_event_featured h2.modal_title{
        margin-left: 210px;
    }

    .featured-event-item .card-image img {
        max-width: 210px;
    }
}

@media (min-width: 992px){
    .featured-event-item .card-image img {
        max-width: 206px;
    }

    .modal_overlay.modal_featured .modal_event{
        max-width: 1100px;
    }
}

@media (min-width: 1200px){
    .featured-event-item .card-image img {
        max-width: 243px;
    }
    .featured-event__wrapper .card .card-body{
        min-height: 252px;
    }
    .modal_featured .modal_content .date_event{
        
    }
    .modal_featured .modal_content .date_event_item{
        width: auto;
        flex: 0 0 20%;
    }
    .modal_featured .modal_content{
        padding: 30px 70px;
    }
}

@media (min-width: 1500px){
    .featured-event-item{
        max-width: unset;
    }
    .featured-event-item__wrapper{
        margin-top: 10px;
    }
    .featured-event-item .card-image img {
        max-width: 320px;
        /* margin-left: 40px; */
    }
    .featured-event__wrapper .card .card-body{
        min-height: 305px;
        padding: 20px 20px 20px 0 !important;
        width: 50%;
    }
    .featured-event__wrapper .card .card-body img{
        max-width: 180px;
    }
    .featured-event-item .kbb_box_day_date{
        font-size: 2.5rem;
    }
}

@media (min-width: 2000px){
    .featured-event-item__wrapper {
        margin-top: 35px;
    }
    
    .featured-event__wrapper .card .card-body{
        height: 18vw;
        max-height: 410px;
        padding: 40px !important;
    }

    .featured-event-item .card-image img {
        max-width: 400px;
        width: 150%;
        margin-left: 40px;
    }
}

@media (max-width: 767px){
    img.modal_image_dj {
        margin-left: -18px;
    }
    img.img_dj_name {
        width: 180px;
    }
    h2.modal_title {
        margin: 0 0 0 30%;
        font-size: 30px;
        line-height: 36px;
    }
    p.date_event {
        font-size: 18px;
    }
    p.description_event{
        font-size: 14px;
    }
    p.modal_footer_content {
        font-size: 14px;
    }
    p.date_subtitle{
        font-size: 15px;
    }
    .btn_booknow{
        font-size: 14px;
        padding: 10px;
        margin: 25px auto 0;
    }
   
}
@media (max-width: 375px){
    p.modal_footer_content {
        font-size: 13px;
    }
    .banner_modal{
        height: 120px;
    }
    .banner_modal_content{
        height: 120px;
    }
    .modal_close, .modal_close_booknow {
        right: 0;
        top: 0;
    }
}