.modal, .modal-open {
    overflow:auto!important;
}
#top3-exit-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    /*padding-top: 50px;*/
    padding-top: 10px;
    min-height: 800px;
}

#top3-exit-popup .close {
    color: #fff;
    opacity: 1;
    font-weight: 400;
    position: absolute;
    /* top: 13px; */
    /*top: 63px;*/
    top: 22px;
    text-shadow: none;
    right: 9px;
    font-size: 31px;
}

.top3-exit-popup-st-patrick .close {
    border-radius: 50%;
    padding: 2px;
    top: 25px;
    right: 25px;
}
.top-3-exit-popup-slider {
    flex-wrap: wrap;
}

.top3-exit-popup-heading {
    font-size: 22px;
    line-height: 1.24;
    font-weight: 400;
    margin: 15px;
    text-align: center;
}

#top3-exit-popup .slider-slide {
    padding: 0;
}

#top3-exit-popup .owl-stage-outer {
    /* width: 100%; */
}
#top3-exit-popup .owl-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    pointer-events: none;
}

#top3-exit-popup .owl-next i,
#top3-exit-popup .owl-prev i {
    font-size: 50px;
}

#top3-exit-popup .owl-next {
    float: right;
    pointer-events: auto;
    margin-right: -7px;
}

#top3-exit-popup .owl-prev {
    float: left;
    pointer-events: auto;
    margin-left: -7px;
}
#top3-exit-popup .owl-dots {
    text-align: center;
    width: 100%;
    margin-top: -20px;
}

#top3-exit-popup .owl-dot {
    display: inline-block;
    vertical-align: middle;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: #87898d;
    margin: 10px 5px 10px;
}

#top3-exit-popup .owl-dot.active {
    background: #fff;
}

.popup-star {
    display: inline-block;
    vertical-align: middle;
    width: 27px;
    height: 27px;
    background: url(/wp-content/themes/ministrap-child/assets/images/popup-star.png) no-repeat 0 0;
}

#top3-exit-popup a,
#top3-exit-popup a:hover,
#top3-exit-popup a:focus {
    text-decoration: none;
    color: #404040;
}

#top3-exit-popup p {
    color: inherit;
    margin-bottom: 12px;
}

#top3-exit-popup .top3-exit-popup-offer {
    text-align: center;
    background: #fff;
    color: #404040;
    overflow: hidden;
    max-width: 360px;
    margin: 0 auto;
    min-height: 612px;
}


#top3-exit-popup .top3-exit-popup-offer-header {
    background: #2a7dfb;
    padding: 20px 10px 41px;
    position: relative;
}


#top3-exit-popup .top3-exit-popup-inner {
    position: relative;
    z-index: 1;
    min-height: 125px;
}

#top3-exit-popup .top3-exit-popup-offer-header img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    opacity: .2;
    z-index: 0;
}

#top3-exit-popup .top3-exit-popup-text {
    color: #fff;
    font-size: 21px;
    line-height: 1.07;
}

#top3-exit-popup .top3-exit-popup-rating {
    display: inline-block;
    vertical-align: middle;
    margin: -65px auto 0;
    background: #fff;
    padding: 5px;
    border-radius: 20px;
    font-size: 0;
}

#top3-exit-popup .top3-exit-popup-rating i {
    margin: 0 4px;
}

.top3-exit-popup-bonus {
    position: relative;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0;
    font-weight: 700;
    line-height: 1;
    color: #2a7dfb;
    display: inline-block;
    vertical-align: middle;
}

#top3-exit-popup  .top3-exit-popup-bonus img.crown {
    position: absolute;
    width: 50px;
    opacity: 1;
    height: auto;
    top: -27px;
    left: -14px;
    transform: rotate(-33deg);
}

.top3-exit-popup-bonus span {
    display: inline-block;
    vertical-align: middle;
    background: #fff;
    width: 60px;
    height: 90px;
    font-size: 76px;
    text-align: center;
    line-height: 90px;
    border-radius: 2px;
    margin: 0 3px;
    box-shadow: rgba( 0, 0, 0, .15) 0px 5px 15px;

}

.top3-exit-popup-bonus span.small-text {
    font-size: 40px;
    width: 50px;
    height: 50px;
    line-height: 50px;
}

.top3-exit-popup-bonus span.long-text {
    font-size: 50px;
    width: unset;
    height: unset;
    line-height: 1.3;
    text-transform: uppercase;
    padding: 10px;
}

.top3-exit-popup-bonus span:last-child {
    font-weight: 400;
}

.top3-exit-popup-bonus.class-amount span:last-of-type {
    font-weight: 700;
}

.top3-exit-popup-bonus.class-amount span:first-of-type {
    font-weight: 400;
}

.top3-exit-popup-body {
    position: relative;
    z-index: 2;
    /*padding: 20px 23px;*/
    padding: 10px 23px;
}

.top3-exit-popup-logo {
    display: inline-block;
    vertical-align: middle;
    width: 150px;
    margin: -15px auto -5px;
    border: none;
    padding: 0;
}

.top3-exit-popup-logo.button {
    background-color: transparent;

}
.exit-popup-bonuscode-input {
    display: block;
    height: 40px;
    line-height: 36px;
    border-radius: 5px;
    border: 2px dashed #b7b7b7;
    color: #2a7dfb;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 10px;
}

#top3-exit-popup .top3-exit-popup-button {
    display: block;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.47);
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25);
}

#top3-exit-popup .top3-exit-popup-button:hover,
#top3-exit-popup .top3-exit-popup-button:focus {
    color: #fff;
}

.top3-exit-popup-offer .tnc-link {
    text-transform: none;
    font-size: 14px;
    line-height: 1.61;
    color: #b0b0b0;
}

#top3-exit-popup .top3-exit-popup-description {
    margin-bottom: 19px;
    display: flex;
    align-items: center; 
}

#top3-exit-popup .container {
    padding: 0;
}

/*#top3-exit-popup .p-tnc {
    font-size: 0.6em!important;
}*/
/*
		#top3-exit-popup  .top3-exit-popup-bonus img.crown {
		    left: -14px;
		}

		#top3-exit-popup .top3-exit-popup-bonus {
			display: inline-block;
		} */
#top3-exit-popup .underlay,
.top-3-underlay {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1049;
    /* background-color: rgba(0, 0, 0, .85); */
    cursor: pointer;
    -webkit-animation: fadein .5s;
    animation: fadein .5s;
    background-size: 100%;
    background-color: #000;
    background-repeat: no-repeat; 
}

.top3-exit-popup-st-patrick .top3-exit-modal-dialog {
    margin-top: 14%;
}
#top3-exit-popup .button-transparent.top3-exit-popup-button {
    color: #2a7dfb;
    box-shadow: none;
}

#top3-exit-popup .button-transparent.top3-exit-popup-button:focus,
#top3-exit-popup .button-transparent.top3-exit-popup-button:hover{
    color: #fff;
}

#top3-exit-popup .empty-line {
    min-height: 10px;
}

#top3-exit-popup .top3-exit-popup-offer-header img.no-overlay {
    opacity: 1;
}

#top3-exit-popup .container ~ strong,
#top3-exit-popup .container ~ span {
    display: block;
    text-align: center;
    text-transform: uppercase;   
}
#top3-exit-popup .container ~ span {
    opacity: .7;
}


@-webkit-keyframes fadein {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@-ms-keyframes fadein {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes fadein {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@-webkit-keyframes popin {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        opacity: 0
    }
    85% {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 1
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1
    }
}

@-ms-keyframes popin {
    0% {
        -ms-transform: scale(0);
        transform: scale(0);
        opacity: 0
    }
    85% {
        -ms-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 1
    }
    100% {
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1
    }
}

@keyframes popin {
    0% {
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        opacity: 0
    }
    85% {
        -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 1
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1
    }
}

@media ( min-width: 767px ) {
    .top3-exit-popup {
        padding-top: 0;
    }
    .top3-exit-modal-dialog {
       /*  position: absolute;
       top: 50%;
       left: 50%;
       transform: translate(-50%, -50%); */
       padding-top: 5%;
       min-height: 1100px;
       max-width: 1170px;
       margin: auto;
       position: relative; 
    }

    .top3-exit-popup-heading {
        margin-bottom: 35px;
        margin-top: 0;
        text-align: center;
        font-size: 36px;
    }

    #top3-exit-popup .top3-exit-popup-offer {
        border-radius: 10px;
    }

    .top3-exit-popup-body {
        padding: 20px 40px;
    }

    #top3-exit-popup .container {
        display: flex;
        padding: 0 15px;
    }

    #top3-exit-popup .container > div.col-md-4:first-child {
        order: 1;
    }
    #top3-exit-popup .container > div.col-md-4:nth-child(2) {
        order: 0;
    }
    #top3-exit-popup .container > div.col-md-4:last-child {
        order: 2;
    }

    #top3-exit-popup .top3-exit-popup-description {
        min-height: 80px;
    }

    .top3-exit-popup-bonus span {
        width: 55px;
        height: 85px;
        font-size: 70px;
        line-height: 85px;
    }

    .top3-exit-popup-body {
        padding: 20px;
    }
    #top3-exit-popup .container {
        width: 100vw;
        min-height: 850px;
    }

    #top3-exit-popup .close {
        top: 3px;
    }
}

@media ( min-width: 992px ) {
    /* 	#top3-exit-popup .top3-exit-popup-bonus {
        display: block;
    }

    #top3-exit-popup  .top3-exit-popup-bonus img.crown {
        left: 52px;
    } */

    #top3-exit-popup .close {
        top: 7px;
    }
    .top3-exit-popup-st-patrick .top3-exit-modal-dialog {
       margin-top: 8%;
    }
    #top3-exit-popup .container ~ strong {
        margin: 15px 0 5px;
    }
    #top3-exit-popup .top3-exit-popup-description {
        font-size: .8em;
    }
}

@media ( min-width: 1200px ) {
    #top3-exit-popup .container {
        width: 1170px;
    }
    .top3-exit-popup-bonus span {
        width: 60px;
        height: 90px;
        font-size: 76px;
        line-height: 90px;
    }

    .top3-exit-popup-body {
        padding: 20px 40px;
    }
}