.huk-popup-wrapper{
    position:fixed;
    background-color:rgba(0,0,0,0.6);
    top:0;
    left:0;
    bottom:0;
    right:0;
    z-index: 9000;

    opacity: 1;
    transition: opacity .3s;
}


.huk-popup-wrapper.delayed {
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
}


.huk-popup{
    background-color:white;
    width:100%;
    max-width: 800px;
    color:#08415C;
    position:fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius:5px;
    overflow:hidden;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.75);

    margin-top: 0;
    transition: margin-top .3s;
}


.huk-popup-wrapper.delayed .huk-popup {
    margin-top: 50px;
}

.huk-popup p.popup-title{
    font-family: Ludicrous,Open Sans,sans-serif;
    font-size:30px;
    line-height:1.25;
}

.huk-popup p.popup-text{
    font-size:16px;
    line-height:1.5;
    margin-bottom:22px;
}

.huk-popup-close{
    font-size:33px;
    position: absolute;
    right:0px;
    top:0px;
    color:white;
}

.huk-popup-close i{
    padding:15px 20px;
    cursor:pointer;
}

.huk-popup-left{
    float:left;
    width:320px;
    padding:50px 40px 20px 40px;
    height:480px;
    overflow-y:auto;
}

.huk-popup-left form{
    margin-top:30px;
}


.huk-popup-left input{
    width:100%;
    
}

.huk-popup-right{
    float:right;
    width:400px;
}
.huk-popup-right img{
    display:block;
}

.huk-popup.white-red{
    background-color:white;
}

.huk-popup.white-red p.popup-title{
    color:#08415C;
}
.huk-popup.white-red input.button{
    background-image:linear-gradient(270deg,#E20613,#E20613 50%,#042435 0,#042435);
}

.huk-popup.blue-red{
    background-color:#08415C;
    color:white;
}

.huk-popup.blue-red input.button{
    background-image:linear-gradient(270deg,#E20613,#E20613 50%,#042435 0,#042435);
}



.huk-popup.blue-blue{
    background-color:#265AA6;
    color:white;
}

.huk-popup.blue-blue input.button{
    background-image:linear-gradient(270deg,#08415C,#08415C 50%,#E20613 0,#E20613);
}





.huk-popup.teal-blue{
    background-color:#1BAFB1;
    color:white;
}

.huk-popup.teal-blue input.button{
    background-image:linear-gradient(270deg,#08415C,#08415C 50%,#042435 0,#042435);
}



.huk-popup.red-blue{
    background-color:#E20613;
    color:white;
}

.huk-popup.red-blue input.button{
    background-image:linear-gradient(270deg,#08415C,#08415C 50%,#042435 0,#042435);
}

.huk-popup-wrapper .huk-popup-mobile-btn{
    display:none;
}


.admin-module-preview-pane .huk-popup{
    position:relative;
    top: 0%;
    left: 0%;
    transform: none;
    margin:0px auto;
    min-height:550px;
    text-align:left;
    width:800px;
}


.admin-module-preview-pane input, .admin-module-preview-pane select{
    font-size: 18px;
    line-height: 26px;
    border: 2px solid #eaeaea;
    border-radius: 5px;
    margin-bottom: 20px;
    outline: none;
    padding: 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    -webkit-transition: border-color .2s;
    transition: border-color .2s;
}

.huk-popup select:invalid, .admin-module-preview-pane select:invalid { color: #757575; }

.admin-module-preview-pane input.button{

    display: inline-block;
    vertical-align: middle;
    border: none;
    font-family: Open Sans,sans-serif;
    font-size: 16px;
    line-height: 24px;
    border-radius: 5px;
    padding: 15px 20px;
    color: #fff;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    background-image: -webkit-gradient(270deg,left top,left bottom,color-stop(0,#08415c),color-stop(50%,#08415c),color-stop(50%,#08415c),color-stop(100%,#042435));
    background-image: -webkit-gradient(linear,right top,left top,from(#08415c),color-stop(50%,#08415c),color-stop(50%,#042435),to(#042435));
    background-image: linear-gradient(270deg,#08415c,#08415c 50%,#042435 0,#042435);
    background-size: 220% 100%;
    background-position: 95% 0;
    background-repeat: no-repeat;
    -webkit-transition: background-position .2s,color .2s;
    transition: background-position .2s,color .2s;
    cursor: pointer;
    margin-bottom: 2rem;
}



@media only screen and (max-width:850px){
    .huk-popup-wrapper{
       /* background:none;
        position: relative;*/
    }
    .huk-popup{
        border-radius: 0px;
        position: fixed;
        max-width:100%;
        /*top:0;
        left:0;
        transform:none;*/
    }
    .huk-popup-wrapper .huk-popup-mobile-btn{
        display:block;
    }
    
    .popup-text-1, .popup-text-2, .huk-popup form{
        display:none;
    }
    .huk-popup-wrapper.expanded .popup-text-1, .huk-popup-wrapper.expanded .popup-text-2, .huk-popup-wrapper.expanded .huk-popup form{
        display:block;
    }
    .huk-popup-wrapper.expanded .huk-popup-mobile-btn{
        display:none;
    }
    .huk-popup-close{
        color:#08415C;
        font-size:24px;
    }
    
    .huk-popup.blue-red .huk-popup-close, .huk-popup.blue-blue .huk-popup-close, .huk-popup.red-blue .huk-popup-close{
        color:white;
    }
    .huk-popup-left{
        float:none;
        height:auto;
        width:calc(100% - 40px);
        padding:20px;
    }
    .huk-popup-right{
        display:none;
    }
    
}

