.vega_modal {
    position: fixed;
    display: none;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    padding: 0;
    text-align: center;
}
#vega_modal_content {
    position: static;
}
.vega_modal a {
    color: #489600;
}
.vm_background {
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
    z-index:-1;
}
.vm_wrap {
    display: table-cell;
    z-index: 1;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
.vm_container, .vm_message {
    position: relative;
    display: none;
    background: #fff;
    max-width: 80%;
    min-height: 150px;
}
.vm_message {
    min-width: 50%;
}
.vm_message {
    display: none;
    padding-bottom: 20px;
    text-align: left;
    box-shadow: 0 3px 9px rgba(0,0,0,0.5);
    border-radius: 4px;
    overflow: hidden;
}
.vm_message .button{
    min-width: 100px;
    margin-right: 20px;
}
.vm_form {
    min-width: 400px;
}
@media (max-width: 767px){
    .vm_form { min-width: 320px; }
}
/*.vm_win_title {
    background-color: #91c84a;
    height: 28px;
    color: #fff;
    font-size: 115%;
    font-family: "Roboto",sans-serif !important;
    padding: 4px 12px;
}*/
.vm_win_msg {
    padding: 10px 20px;
    text-align: center;
    overflow: auto;
    max-width: 100%;
    max-height: 500px;
    min-height: 55px;
}
.vm_win_buttons {
    text-align: right;
}
.vm_win_buttons > .button{
    vertical-align: top;
}
.vm_content{
    padding: 30px 20px 10px 20px;
    text-align: justify;
    /* overflow: hidden; */
    min-height: 150px;
    text-align: left;
    margin: 0;
}
.vm_content .error{
    position: relative;
    display: table;
    border: 1px solid red;
    padding: 20px 0;
    font: 500 120% 'Roboto', sans-serif;
    top: -30px;
    min-height: 150px;
    margin-bottom: -40px;
    left: -20px;
    width: calc(100% - -40px);
}
.vm_content .error .error_mess{
    display: table-cell;
    vertical-align: middle;
    padding: 10px 20px;
}
.vm_content_title, .vm_win_title {
    margin: -20px 20px 10px 0;
    font-family: Roboto, sans-serif;
    font-size: 23px;
    font-weight: 400;
    color: #91c84a;
}
.vm_win_title {
    margin: 10px 20px 0;
    min-height: 25px;
}
.vm_close {
    position: absolute;
    width: 20px;
    height: 20px;
    right: 10px;
    top: 10px;
    z-index: 999;
    cursor: pointer;
}
.vm_close:before,.vm_close:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    border: 1px solid #000;
}
.vm_close:before {
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.vm_close:after {
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.vm_progress_bar {
    position: absolute;
    display: table;
    height: 100%;
    width: 90%;
    left: 5%;
    top: 0;
    text-align: left;
    min-height: inherit;
}
.vm_progress_bar_wrap{
    display: table-cell;
    vertical-align: middle;
}
.vm_progress_bar_title{
    text-align: center;
}
.wp_progress_bar_line {
    width: 100%;
    height: 25px;
    display: inline-block;
    left: 0;
    position: relative;
    background-color: green;
    border-radius: 3px;
    background-size: 50px 25px;
    background-image: -webkit-linear-gradient(-45deg, #406213 35%, transparent 35%, transparent 65%, #406213 65%);
    background-image: -moz-linear-gradient(-45deg, #406213 35%, transparent 35%, transparent 65%, #406213 65%);
    background-image: -ms-linear-gradient(-45deg, #406213 35%, transparent 35%, transparent 65%, #406213 65%);
    background-image: -o-linear-gradient(-45deg, #406213 35%, transparent 35%, transparent 65%, #406213 65%);
    background-image: linear-gradient(-45deg, #406213 35%, transparent 35%, transparent 65%, #406213 65%);
}
.wp_progress_bar_win {
    position: absolute;
    height: inherit;
    right: 0;
    width: 100%;
    background: #fff;
    z-index: 9;
    display: block;
    top: 0;
    -webkit-animation: animate-shine 10s linear infinite;
    -moz-animation: animate-shine 10s linear infinite;
    -ms-animation: animate-shine 10s linear infinite;
    -o-animation: animate-shine 10s linear infinite;
    animation: animate-shine 10s linear infinite;
}
@-webkit-keyframes animate-shine {
    0% {width: 100%;}
    50% {width: 0;}
    100% {width: 100%;}
}
@-moz-keyframes animate-shine {
    0% {width: 100%;}
    50% {width: 0;}
    100% {width: 100%;}
}
@-ms-keyframes animate-shine {
    0% {width: 100%;}
    50% {width: 0;}
    100% {width: 100%;}
}
@-o-keyframes animate-shine {
    0% {width: 100%;}
    50% {width: 0;}
    100% {width: 100%;}
}
@keyframes animate-shine {
    0% {width: 100%;}
    50% {width: 0;}
    100% {width: 100%;}
}

@media (max-width: 767px){
    .vm_container, .vm_message {
        min-width: 322px;
    }
}
@media (max-width: 567px){
    .vm_container, .vm_message {
        max-width: 100%;
    }
    .vm_content{
        padding: 30px 10px 20px;
    }
}
@media (max-width: 257px){
    input, select, textarea {
        max-width: 215px;
    }
}
