/*===== Dynamic Popup styles ====== */
.amp-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.55);
    z-index: -9;
    opacity: 0;
    transition: all 0.5s ease 0s;
}
.amp-popup.active {
    z-index: 9999;
    opacity: 1;
}
.amp-popup .popup-body-wrapper {
    max-width: 1600px;
    position: absolute;
    background: #fff;
    height: auto;
    max-height: 80vh;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    overflow: auto;
}
.popup-content {
    padding: 30px;
}
section.popup-banner.has-bg {
    height: 300px;
    position: relative;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}
.amp-popup.theme_2 section.popup-banner.has-bg {
    background-size: cover;
    background-repeat: no-repeat;
}
.popup-banner-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
/*
section.popup-banner {
    height: 300px;
    position: relative;
    background-position: center center;
    background-size: cover;
}
*/
.amp-popup .popup-body-wrapper .amp-popup-close {
    position: absolute;
    width: 45px;
    height: 45px;
    cursor: pointer;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    line-height: 45px;
    color: #fff;
    right: 0;
    top: 0;
    z-index: 999;
        overflow: hidden;
}
.amp-popup .popup-body-wrapper .amp-popup-close span {
    display: block;
    transform: rotate(45deg);
}
h2.popup-title {
        font-size: 36px;
    text-align: center;
    margin: 25px 0;
    position: relative;    
    text-transform: uppercase;
}
.popup-banner.has-bg h2.popup-title {
    color: #fff;
}
.popup-content p, .popup-content ul li {
    line-height: 1.6;
}
.amp-popup .popup-body-wrapper.popup-style-dark {
    color: #fff;
}
.amp-popup .popup-body-wrapper.popup-style-dark .amp-popup-close {
    background: #fff;
}
.popup-btns {
    padding: 0 22px 30px;
        text-align: center;
}
.popup-content ul li {
    display: block;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}
.popup-content ul li:before {
    position: absolute;
    content: "";
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    top: 8px;
    left: 3px;
}
.popup-style-light .popup-content ul li:before {
    background: #000;
}
.hidden-hrs-groups {
    display: none !important;
}
.amp-popup.popup-bg-black .popup-body-wrapper, .amp-popup.theme_2.popup-bg-black .popup-body-wrapper .popup-flex {
    background: #000;
}
.amp-popup.popup-bg-white .popup-body-wrapper, .amp-popup.theme_2.popup-bg-white .popup-body-wrapper .popup-flex {
    background: #fff;
}
.amp-popup.theme_2 .popup-body-wrapper .popup-flex {
    display: flex;
    flex-flow: wrap;
    height: auto;
    max-height: 80vh;
    overflow: auto;
    border: 3px solid #fff;
    border-radius: 5px;
}
.amp-popup.theme_2 .popup-body-wrapper {
    background: transparent !important;
    padding-top: 40px; 
    max-height: none;
    overflow: hidden;
}
.amp-popup.theme_2 .popup-body-wrapper .amp-popup-close {
    background: transparent !important;
}
.popup-left {
    width: 40%;
}
.popup-right {
    width: 60%;
}
.amp-popup.theme_2 section.popup-banner {
    height: 100%;
}
.theme_2 h2.popup-title {
    text-align: left;
}
.theme_2 .popup-content {
    padding: 15px 0;
}
.theme_2 .popup-btns {
    text-align: left;
    padding-left: 0;
    margin-left: -8px;
}
.popup-right {
    width: 60%;    
    padding: 0 25px;
}
.no-img .slide_in-right {
    max-width: 100%;
}


.amp-slide_in {
    display: block;
    position: fixed;
    background: #fff;
    width: 100%;  
    top: 0;
/*    top: -100%;*/
    transition: top 0.5s ease 0s;
    z-index: -9;
    opacity: 0;
}
.slide_in-body-wrapper {
    padding: 20px 0;
    margin: 0 auto;
}
.slide_in-body-wrapper .popup-flex { 
    display: flex;
    flex-flow: wrap;
}
.slide_in-left img {
    width: auto;
    max-width: 100%;
}
.slide_in-left {
    width: auto;
    max-width: 40%;
    padding-right: 20px;
}
section.slide_in-banner {
    display: flex;
    flex-flow: column;
    justify-content: center;
    height: 100%;
}
.slide_in-right {
    width: auto;
    max-width: 60%;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.slide_in-right h2.popup-title {
    margin: 0;
}
.slide_in-right .popup-content {
    padding: 10px 0 0 10px;
}
.amp-slide_in-close {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 999;
    font-size: 30px;
    font-weight: 600;    
    cursor: pointer;
        transform: rotate(45deg);
}
.amp-slide_in.active {
    top: 0 !important;
}
.amp-slide_in.visible {
    z-index: 9999;
    opacity: 1;
}
body.admin-bar .amp-slide_in.active {
    top: 32px !important;
}
.amp-slide_in.slide_in-bg-black {
    background: #fff;
}
.slide_in-right h2.popup-title {
    margin: 0;
    text-align: left;
    padding: 0 10px;
}
.popup-text-medium p {
    font-size: 21px;
}
.popup-text-large p {
    font-size: 24px;
}
.popup-form div#submit {
    text-align: center;
}








@media screen and (max-width:767px) {
        .slide_in-left {
    order: 1;
    width: 100%;
    max-width: 100%;
    margin-bottom: 25px;
            padding: 0;
}
    .slide_in-right {
    order: 2;
    width: 100%;
    max-width: 100%;
    text-align: center;
}
    .slide_in-right h2.popup-title {
    text-align: center;
    font-size: 27px;
}
    .popup-left {
    width: 100%;
    height: 200px;
}
    .popup-right {
    width: 100%;
    padding: 0 10px;
}
    h2.popup-title {
    font-size: 21px;
}
    .popup-btns {
    padding: 0;
}
    .popup-btns a.cb-btn {
    font-size: 15px;
    text-align: center;
    padding: 10px;
}
    .popup-body-wrapper {
    width: 90% !important;
}
}