.block-popup .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: visible;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;

}
.block-popup .overlay.hide{

    visibility: hidden;
    opacity: 0;
}


.block-popup .popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
    min-width: 450px;
}

.block-popup .popup{
    background-size: cover;
    width: 80vw;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.block-popup .popup:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #2d1d13;
    opacity: 0.6
}
.block-popup .popup h2 {
    font-size: 56px;
    letter-spacing: -.84px;
    line-height: 52px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}
.block-popup .popup p{
    font-size: 19px;
    line-height: 25px;
    max-width: 800px;
    color: #fff;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0;
}
.block-popup .popup .close {
    position: absolute;
    top: 20px;
    right: 40px;
    transition: all 200ms;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 9;
}
.block-popup .popup .close:after {
    content: '';
    height: 30px;
    border-left: 2px solid #fff;
    position: absolute;
    transform: rotate(45deg);
    left: 28px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

.block-popup .popup .close:before {
    content: '';
    height: 30px;
    border-left: 2px solid #fff;
    position: absolute;
    transform: rotate(-45deg);
    left: 28px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
.block-popup .popup .close:hover:before,
.block-popup .popup .close:hover:after{
    border-color:  #1F419B;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
.block-popup .popup .content {
    max-height: initial;
}


.block-popup #mc_embed_signup div.mce_inline_error{
    margin-top: -7px;
}
.block-popup #mc_embed_signup .mc-field-group input{
    background: none;
    border: none;
    width: 100%;
    padding: 15px 0px;
    color: #fff;


}
.block-popup #mc_embed_signup .mc-field-group input::placeholder{
    color: #fff;
}
.block-popup  .global-button{
    cursor: pointer;
}
.block-popup  .global-button input{
    background: none;
    border: none;
    font-size:19px;
    color: #18a7b5;
    font-weight:600;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    font-family:"Montserrat",sans-serif;
}
.block-popup .global-button:hover input{
    color: #fff;
}
.block-popup #mc_embed_signup_scroll{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    background: none;
    position: relative;
    z-index: 1;
}
.block-popup .mc-field-group{
    flex: 0 0 48%;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 20px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
.block-popup .mc-field-group:hover{
    border-bottom: 1px solid #1F419B;
}
.block-popup input {
    background: none;
    border: none;
    width: 100%;
    padding: 15px 0px;
    color: #fff;
}
.block-popup .global-button{
    padding: 0;
    border: 1px solid #fff;
    margin: 0 auto;
}

.block-popup .global-button::after{
    background: #fff
}
.block-popup #mc-embedded-subscribe{
    text-align: center;
    font-size: 12px;
    padding: 8px 24px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    z-index: 1;
    font-weight: 600;
    width: 100%;
    transition: all .5s ease;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    cursor: pointer;
}
.block-popup .global-button:hover #mc-embedded-subscribe{
    color: #000;
    background: #fff;
}
.block-popup .gdprRequired{
    flex:0 0 100%;
    border: none;
}
.block-popup .gdprRequired:hover{
    border: none;
}
.block-popup .gdprRequired span{
    padding-left: 30px;
    position: relative;
    color: #fff;
    cursor: pointer;
}
.block-popup .gdprRequired span a{
    color: #fff;
    text-decoration: underline;
}
.block-popup .gdprRequired span:before{
    border: 1px solid #fff;
    height: 14px;
    width: 14px;
    border-radius: 40px;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    display: block;
    content: "";
    left: 0;
}
.block-popup .gdprRequired input{
    display: none;
}
.block-popup .gdprRequired span:after{
    display: block;
    content: "";
    height: 4px;
    left: 6px;
    top:6px;
    position: absolute;
    width: 4px;

    border-radius: 40px;
}
.block-popup .gdprRequired input:checked ~ span::after{
    background: #fff;

}

.block-popup:hover .c1 {
    -ms-transform: translate(-5px, -5px);
    transform: translate(-5px, -5px);
}
.block-popup:hover .c2 {
    -ms-transform: translate(-5px, 5px);
    transform: translate(-5px, 5px);
}
.block-popup:hover .c3 {
    -ms-transform: translate(5px, -5px);
    transform: translate(5px, -5px);
}
.block-popup:hover .c4 {
    -ms-transform: translate(5px, 5px);
    transform: translate(5px, 5px);
}
.block-popup  .c {
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
    transition: all 0.3s;
    backface-visibility: hidden;
    z-index: 1;
}
.block-popup  .c:before {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
    z-index: 1;
}
.block-popup  .c1 {
    top: 20px;
    left: 30px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
}
.block-popup  .c1:before {
    top: 10px;
    left: -10px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
}
.block-popup  .c2 {
    bottom: 20px;
    left: 30px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
}
.block-popup  .c2:before {
    bottom: 10px;
    left: -10px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
}
.block-popup  .c3 {
    top: 20px;
    right: 30px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}
.block-popup  .c3:before {
    top: 10px;
    right: -10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}
.block-popup  .c4 {
    bottom: 20px;
    right: 30px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}
.block-popup  .c4:before {
    bottom: 10px;
    right: -10px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}
@media only screen and (max-width: 800px) {
    .block-popup .popup h2{
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 20px;
    }
    .block-popup .popup p{
        font-size: 14px;
        line-height: 20px;
    }
    .block-popup .wrapper{
        flex-direction: column;
    }
    .block-popup .text {
        margin-right: 0;
        font-size: 16px;
        margin-bottom: 20px;
    }
    .block-popup  .mc-field-group {
        flex: 0 0 100%;
    }
    #mc_embed_signup .mc-field-group input{
        padding: 5px 0px;
        margin-bottom: 5px;
        font-size: 14px;
    }
    .block-popup .popup{
        min-width: 100vw;
    }
}