﻿/*----------- Modal Box ------------*/
/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 800;
    /* Sit on top */
    left: 0;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
    width: 100%;
    /* Full width */
    overflow: auto;
    /* Enable scroll if needed */
}

.big.modal {
    z-index: 1500;
}

.modal .modal-content.short {
    width: 600px;
}

.modal .px-800 {
    width: 800px;
}

.modal-shadow {
    width: 100%;
    height: 110vh;
    background-color: #000;
    opacity: 0.3;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 700;
    display: none;
}

/* The Close Button */
.modal .close {
    color: #9b9b9b;
    position: absolute;
    right: 10px;
    font-size: 30px;
    z-index: 10;
}

    .modal .close:hover,
    .modal .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* Modal Header */
.modal .modal-header {
    padding: 2px 16px;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    padding: 10px;
}

/* Modal Body */
.modal .modal-body {
    padding: 10px 16px;
}

.big.modal .modal-body {
    min-height: 93vh;
}

    .big.modal .modal-body iframe {
        height: 93vh;
    }

/* Modal Footer */
.modal .modal-footer {
    padding: 2px 16px;
    color: white;
}

/* Modal Content */
.modal .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 80%;
    height: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
}

    .modal .modal-content.short {
        width: 500px;
    }

.modal .modal-body .control-form {
    display: table;
    width: 60%;
    margin: auto;
}

    .modal .modal-body .control-form .row {
        display: inline-flex;
        width: 100%;
        padding: 10px 0;
    }

        .modal .modal-body .control-form .row .col {
            width: 50%;
        }

            .modal .modal-body .control-form .row .col .control {
                float: right;
                padding-right: 30px;
            }

/*----- Modal form elements -----*/
.modal .field {
    padding: 10px 10px 10px 50px;
}

    .modal .field label {
        display: block;
        padding-bottom: 5px;
        width: 80%;
    }

.modal input {
    border: none;
    border-bottom: 1px solid #000;
    width: 80%;
}

.modal .buttons {
    padding: 20px 0;
}

/* Add Animation 
@keyframes animatetop {
  from {top: $modal_top; opacity: 0;}
  to {top:0; opacity: 1}
}*/
/*
 Developer level hacks and overrides here.
*/

/*# sourceMappingURL=global.css.map */
