/*! light-modal v1.0.3 | (c) 2017  | MIT License | git+https://github.com/hunzaboy/Light-Modal.git */




.light-modal {
    display: none;
    position: fixed;
    background: transparent;
    top: 0;
    bottom: 0;
    left: 0;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    right: 0;
    z-index: 30;
    transition: background 1s;
    font-size: 16px;
    visibility: hidden;
}
.light-modal-content {
    background: #fff;
    color: #000;
    width: 500px;
    border-radius: 0.2em;
    position: absolute;
    max-height: calc(100vh - 150px);
    line-height: 1.4;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    top: 150px;
    left: 50%;
    margin: 0px 0 0 -250px;
}
.light-modal-content img {
    max-width: 100%;
    border-radius: 0.2em;
}
.light-modal-content.large-content {
    width: 50vw;
}
.light-modal-header {
    padding: 20px;
    background: #fff;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
}
.light-modal-heading {
    margin: 0;
    font-size: 1.0em;
    padding: 10px;
    text-align: left;
}
/*
.light-modal-heading + .light-modal-close-icon {
    position: static;
}*/
.light-modal-body {
    padding: 0 20px 20px;
    overflow: auto;
    max-height: 450px;
}
.light-modal-footer {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    text-align: right;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}
.light-modal-close-btn,
.light-modal-close-icon,
.light-modal-close-btn:hover{
    cursor:pointer;
    text-decoration: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 0.2em;
    background: #0084ff;
    font-size: 1.2em;
    line-height: 1;
}

.light-modal-close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
}

.light-modal-caption {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.2em;
    width: 100%;
    text-align: center;
    margin-top: 5px;
}
.light-modal:target, #form1.active, #payment.active {
    background: rgba(0, 0, 0, 0.5);
    display: -ms-flexbox;
    display: flex;
    visibility: visible;
}

#form1 a
{font-size: 16px!important;}


#payment .light-modal-content{
    width: 60%;
    margin-left: calc(0px - 60%/2);
}


@media (max-width: 767px) {
    .light-modal:target .light-modal-content, .light-modal.active .light-modal-content {
        width: 70vw;
    }

    .light-modal {
        font-size: 14px;
    }
    #payment .light-modal-content{
        width: 100%;
        margin-left: 0;
        left: 0;
        height: 100%;
        max-height: 100%;
        top: 0;
    }
    #payment .light-modal-body{
        max-height: 100%;
    }
}


@keyframes a {
    0% {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.basic {
    animation-name: a;
}






