/*--------------------------- VSTREET POPUP STYLES --------------------------*/

@font-face {
  font-family: 'Cafe Francoise';
  src: url('fonts/Cafe Francoise.otf');
}

.vst-popups {
	position: fixed;
	top: 50%;
	left: 50%;
	        transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 9999;
}



.popup-container {
	margin: 0 auto;
    width: 700px;
    height: 400px;
    background-size: cover;
    border: 4px solid #fff;
    color: #fff;
    font-family: inherit;
    position: relative;
}

.popup-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.popup-header h2 {
    font-family: inherit;
    color: #fff;
    text-align: center;
    border: none;
    font-size: 48px;
    margin: 15px;
}

.popup-body {
    width: 100%;
    box-sizing: border-box;
    padding: 0 6%;
}

.popup-text {
    float: left;
    width: 65%;
    margin-left: 5%;
}

.popup-body p {
    color: #fff;
    font-size: 30px;
    margin-top: 0;
}

.popup-animate {
    animation: popup .25s ease-in both;
    animation-delay: 3s;
}

@keyframes popup {
    0% {
        -webkit-transform: translateY(500%);
            -ms-transform: translateY(500%);
                transform: translateY(500%);
    }
    100% {
        -webkit-transform: translateY(0);
            -ms-transform: translateY(0);
                transform: translateY(0);
    }
}

.vst-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.vst-overlay-animate {
    animation: overlay .25s ease-in both;
    animation-delay: 3s;
}

@keyframes overlay {
    0% {
        background: rgba(0, 0, 0, 0);
    }
    100% {
        background: rgba(0, 0, 0, 0.7);
    }
}

#popup-close {
    height: 48px;
    width: 48px;
    cursor: pointer; 
    position: absolute;
    top: -20px;
    left: -20px;
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.9);
    border: 4px solid #fff;
    line-height: 36px;
    font-size: 26px;
    text-align: center;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.6);
    color: #fff;
    box-sizing: border-box;
}

#popup-close:active {
    top: -19px;
    left: -19px;
}




/*------------------------------------- THEME SPECIFIC ----------------------------------------*/

/*--------------------- V STREET ---------------------*/

.popup-container.vst-theme {
    font-family: Cafe Francoise;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6);
}

.popup-container img.vst-popup-bg,
.popup-container img.custom-popup-bg {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.vst-popup-featured {
    width: 30%;
    float: left;
}

.vst-popup-featured img {
    width: 100%;
    height: auto;
    border: 1px solid #fff;
    display: block;
}

.popup-featured.vst-shadow {
    box-shadow: 0 0 48px 14px rgba(0, 0, 0, 0.6);
}

.popup-learn-more.vst-link {
    position: absolute;
    bottom: 30px;
    right: 20px;
    font-size: 26px;
}

.popup-learn-more.vst-link a {
    color: #fff;
}

.vst-popup-text {
    float: left;
    width: 65%;
    margin-left: 5%;
}

/*--------------------- VEDGE ---------------------*/

.popup-container.vedge-theme {
    font-family: Arial;
    color: #000;
    padding: 20px 20px 20px 40px;
}

.popup-container img.vedge-popup-bg {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

.vedge-popup-text {
    width: 49%;
    float: right;
}

.vedge-popup-featured {
    width: 40%;
    float: left;
    border: 3px solid #fff;
    box-sizing: border-box;
}

.vedge-popup-featured img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

.popup-container.vedge-theme .popup-body p {
    font-size: 20px;
    color: #000;
    line-height: 1em;
}

.popup-container.vedge-theme .popup-header h2 {
    color: #a8a00f;
    font-size: 42px;
}

.popup-featured.vedge-shadow {
    box-shadow: 2px 2px 3px rgba( 0, 0, 0, 0.3 );
}

.popup-learn-more.vedge-link {
    position: absolute;
    bottom: 10%;
    right: 5%;
    font-size: 26px;
}

.popup-learn-more.vedge-link a {
    color: #a8a00f;
}

/*------------------------------------- CUSTOM STYLES -----------------------------------------*/

@media only screen and (max-width: 800px) {
    .popup-container {
        width: 550px;
        height: 400px;
    }

    .popup-container.vedge-theme {
        padding: 15px 10px 10px 20px;
    }

    .popup-container.vedge-theme .popup-header h2 {
        font-size: 36px;
    }    
}

@media only screen and (max-width: 550px) {
    .vst-popups {
        width: 95%;
        transform: translate(0, 0,);
        font-size: 14px;

    }

    .popup-container {
        box-sizing: border-box;        
    }

    .popup-container.vedge-theme .popup-body p,
    .popup-container.vst-theme .popup-body p {
        font-size: 18px;
    }

    .popup-container.vedge-theme .popup-header h2,
    .popup-container.vst-theme .popup-header h2 {
        font-size: 21px;
    }

    .popup-container.vedge-theme {
        text-shadow: 1px 1px #fff;
    }

    .popup-container {
        width: 100%;
    }

    .vedge-popup-featured,
    .vst-popup-featured {
        display: none;
    }

    .vedge-popup-text,
    .vst-popup-text {
        width: 100%;
    }
}


/*------------------------------------- ADMIN STYLES -----------------------------------------*/

.popup-bg-container {
    padding: 15px 0;
}

#bg-img-container {
    width: 100%;
    max-width: 600px;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
}

#bg-img-container img {
    width: 100%;
    height: auto;
}

select#popup-bg-select {
    width: 100%;
    max-width: 600px;
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    margin-left: 10px;
}

input[type="text"].learn-more {
    width: 300px;
    margin: 10px;
}

input[type="checkbox"] {
    margin-right: 10px;
}