﻿/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    padding: 0;
    max-width: 475px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -ms-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    margin-bottom: 200px;
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 2em;
    font-weight: bold;
}

.close:hover,
.close:focus {
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    height: 60px;
    line-height: 60px;
    background: #2bdd49;    
    background: -webkit-linear-gradient(#2eeb4e, #25c545); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#2eeb4e, #25c545); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#2eeb4e, #25c545); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#2eeb4e, #25c545); /* Standard syntax */
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#2eeb4e', endColorstr='#25c545');/*For IE7-8-9*/
    color: white;
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    -ms-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    padding: 0 20px 0 30px;
}

.modal-body {
    padding: 30px 20px 20px 30px;

    font-family: 'Montserrat', sans-serif;
    line-height: 1.5em;
}

.modal-footer {
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    -ms-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}

.btn-login,
.btn-sign-up,
.btn-complete-registration,
.btn-password-reset,
.btn-activate-login {
    text-transform: uppercase;
}

.btn-complete-registration {
    width: 250px;
}

.btn-activate-login {
    margin: 20px 0 20px 0;
}

.btn-password-reset {
    width: 220px;
}

.btn-signup-today,
.btn-forgot-password,
.btn-login-now {
    text-decoration: underline;
    cursor: pointer;
}

.div-forgot-password {
    font-family: 'Montserrat', sans-serif;
    font-size: .8em;
    text-decoration: underline;
    margin: 0 0 10px 0;
    text-align: right;
}

.div-sign-up-today {
    font-family: 'Montserrat', sans-serif;
    margin: 35px 0 10px 0;
}

.div-forgot-password-description {
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 10px 0;
}

.popup-heading {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 20px;
    display: block;
}

@media screen and (min-width: 400px) {
    .modal-content {
        -webkit-animation-name: animatetop;
        -webkit-animation-duration: 0.4s;
        animation-name: animatetop;
        animation-duration: 0.4s;
    }
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@-moz-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}   

@media screen and (max-width: 495px) {
    .modal-content {
        margin: 0 10px 0 10px;
    }
}

@media screen and (max-width: 400px) {
    .modal-content {
        margin: 0;
        -webkit-border-radius: 0 0 0 0;
        -moz-border-radius: 0 0 0 0;
        -ms-border-radius: 0 0 0 0;
        border-radius: 0 0 0 0;
        border: 0;
        box-shadow: none;
    }

    .modal-body {
        padding: 20px 10px 90px 10px;
    }

    .modal {
        padding-top: 0;
        position: absolute;
        height: auto;
        background-color: #FFF;
    }

    .modal-header {
        -webkit-border-radius: 0 0 0 0;
        -moz-border-radius: 0 0 0 0;
        -ms-border-radius: 0 0 0 0;
        border-radius: 0 0 0 0;
        font-size: 1.2em;
    }

    .modal-footer {
        -webkit-border-radius: 0 0 0 0;
        -moz-border-radius: 0 0 0 0;
        -ms-border-radius: 0 0 0 0;
        border-radius: 0 0 0 0;
    }
}