/*Event Publish*/
.event-publish-left h1,
.event-publish-left h2,
.event-publish-left h3,
.event-publish-left h4,
.event-publish-left h5,
.event-publish-left h6 {
    font-size: 16px;
    color: black;
    font-weight: bold;
    margin: 0 0 1em;
}
.event-publish-right {
    width: calc(50% + 60px);
}
.event-publish-image {
    padding-top: 80%;
    background-size: cover;
    background-position: center center;
    position: relative;
}
.event-publish-image img {
    display: none;
}
.event-publish-popup-icon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.grmprivateinstitute.com/uploads/images/popup-ic.svg');
    background-size: 65px;
    background-repeat: no-repeat;
    background-position: 20px 20px;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    -webkit-transition: all 0.35s ease;
    -moz-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
    cursor: pointer;
}
.event-gallery-carousel.owl-theme .owl-controls {
    margin: 0;
}
.event-gallery-carousel .owl-buttons {
    position: absolute;
    right: 20px;
    bottom: 10px;
    display: flex;
}
.event-gallery-carousel.owl-theme .owl-controls .owl-buttons div {
    height: 140px;
    width: 85px;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
}
.event-gallery-carousel.owl-theme .owl-controls .owl-buttons div.owl-prev {
    margin-right: 0;
    border-right: 1px solid white;
}
.event-gallery-carousel.owl-theme .owl-controls .owl-buttons div.owl-next {
    margin-left: 0;
}
.event-gallery-carousel.owl-theme .owl-controls .owl-buttons div img {
    width: 35px;
    height: 70px;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    -webkit-transition: all 0.35s ease;
    -moz-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
/*Event Popup*/
#events-gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.9);
    z-index: 100000;
    overflow: hidden;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-content: center;
}
#events-gallery-popup.active {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}
.events-gallery-popup-back {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.events-gallery-popup-close {
    cursor: pointer;
    position: absolute;
    width: 50px;
    top: 35px;
    right: 35px;
    -webkit-filter: brightness(0);
    filter: brightness(0);
    opacity: 0.3;
    -webkit-transition: all 0.35s ease;
    -moz-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
.events-gallery-popup-wrap {
    max-width: 1000px;
    width: 100%;
    margin: auto;
}
.events-gallery-popup-carousel-container {
    margin: 55px auto;
    max-width: 1115px;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.35);
    box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.35);
}
.events-gallery-popup-item {
    padding-top: 72.5%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: white;
}
.events-gallery-popup-carousel.owl-theme .owl-controls {
    margin: 0;
}
.events-gallery-popup-carousel .owl-buttons {
    position: absolute;
    right: -15px;
    bottom: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    display: flex;
}
.events-gallery-popup-carousel.owl-theme .owl-controls .owl-buttons div {
    height: 140px;
    width: 85px;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    position: relative;
}
.events-gallery-popup-carousel.owl-theme .owl-controls .owl-buttons div.owl-prev {
    margin-right: 0;
    border-right: 1px solid #00aadd;
}
.events-gallery-popup-carousel.owl-theme .owl-controls .owl-buttons div.owl-next {
    margin-left: 0;
}
.events-gallery-popup-carousel.owl-theme .owl-controls .owl-buttons div img {
    width: 35px;
    height: 70px;
    -webkit-transition: all 0.35s ease;
    -moz-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
.events-gallery-popup-carousel.owl-theme .owl-controls .owl-buttons div img.over {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    opacity: 0;
}
/*Responsive*/
@media only screen and (min-width: 1025px) {
    /*Event Publish*/
    .event-publish-popup-icon:hover {
        -webkit-filter: none;
        filter: none;
    }
    .event-gallery-carousel.owl-theme .owl-controls .owl-buttons div:hover img {
        -webkit-filter: none;
        filter: none;
    }
    /*Event Popup*/
    .events-gallery-popup-close:hover {
        opacity: 1;
    }
    .events-gallery-popup-carousel.owl-theme .owl-controls .owl-buttons div:hover img.normal {
        opacity: 0;
    }
    .events-gallery-popup-carousel.owl-theme .owl-controls .owl-buttons div:hover img.over {
        opacity: 1;
    }
}
@media only screen and (max-width: 1600px) {
    /*Event Popup*/
    .events-gallery-popup-carousel-container {
        max-width: 800px;
    }
}
@media only screen and (max-width: 1300px) {
    /*Event Publish*/
    #event-publish > [class*="row-"] {
        margin-left: -20px;
        margin-right: -20px;
    }
    #event-publish > [class*="row-"] >  [class*="col-"] {
        padding-left: 20px;
        padding-right: 20px;
    }
    .event-publish-right {
        width: calc(50% + 20px);
    }
    .event-publish-popup-icon {
        background-size: 40px;
        background-position: 10px 10px;
    }
    .event-gallery-carousel .owl-buttons {
        right: 0;
        bottom: 0;
    }
    .event-gallery-carousel.owl-theme .owl-controls .owl-buttons div {
        height: 90px;
        width: 65px;
    }
    .event-gallery-carousel.owl-theme .owl-controls .owl-buttons div img {
        width: 20px;
        height: 50px;
    }
    /*Event Popup*/
    .events-gallery-popup-carousel .owl-buttons {
        right: 0;
    }
    .events-gallery-popup-carousel.owl-theme .owl-controls .owl-buttons div {
        height: 90px;
        width: 55px;
    }
    .events-gallery-popup-carousel.owl-theme .owl-controls .owl-buttons div img {
        width: 20px;
        height: 50px;
    }
}
@media only screen and (max-width: 1024px) {
    /*Event Popup*/
    .events-gallery-popup-close {
        width: 35px;
        top: 20px;
        right: 20px;
    }
    .events-gallery-popup-wrap {
        padding: 0 20px;
    }
    .events-gallery-popup-carousel-container {
        margin: 85px auto;
    }
    .events-gallery-popup-carousel .owl-buttons {
        -webkit-transform: translateX(0) translateY(100%);
        -moz-transform: translateX(0) translateY(100%);
        -ms-transform: translateX(0) translateY(100%);
        -o-transform: translateX(0) translateY(100%);
        transform: translateX(0) translateY(100%);
    }
}
@media only screen and (max-width: 769px) {
    /*Event Publish*/
    .event-publish-right {
        width: 100%;
        margin-bottom: 25px;
    }
    .event-publish-left h1,
    .event-publish-left h2,
    .event-publish-left h3,
    .event-publish-left h4,
    .event-publish-left h5,
    .event-publish-left h6 {
        font-size: 14px;
    }
}