﻿/*-------------------------------------MODAL STYLES--------------------------------*/
.modal-flat .modal-content {
    border-radius: 0;
}

.modal-flat .panel {
    background-color: transparent;
    box-shadow: none;
    -webkit-box-shadow: none;
    border: none;
}

.modal-flat .panel-default > .panel-heading {
    color: white;
    background-color: transparent;
    border: none;
}

.modal-flat .modal-header {
    border: none;
    background-color: grey;
}

.modal-flat .modal-title {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: inline-block;
}

.modal-flat label {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.8em;
}

.modal-flat input, .modal-flat select, .modal-flat textarea {
    border-radius: 0;
    color: white;
    background-color: rgba(255,255,255,0.1);
    border: none;
}

.modal-flat option {
    background-color: dimgray;
    border: none;
}

.modal-flat .modal-footer {
    border: none;
    display: flex;
    justify-content: space-around;
    padding-bottom: 2em;
    margin-top: -2em;
}

.modal-flat .btn {
    border-radius: 0;
    width: 40%;
    border: none;
    padding: 0.7em;
    font-size: small;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.modal-flat#message .modal-body {
    max-height: 100%;
    min-height: 15vh;
    display: flex;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    font-size: large;
}

.modal-flat .bg-dark-grey {
    background-color: #333;
    color: white;
}

.modal-flat .bg-grey {
    background-color: grey;
    color: white;
}

.modal-flat-v2 .modal-content {
    background-color: #4e4e4e;
    color: white;
    border-radius: 0;
    border: none;
    -webkit-box-shadow: 25px 26px 43px 12px rgba(0,0,0,0.43);
    -moz-box-shadow: 25px 26px 43px 12px rgba(0,0,0,0.43);
    box-shadow: 25px 26px 43px 12px rgba(0,0,0,0.43);
}

.modal-flat-v2 .modal-title {
    text-align: center;
    padding-top: 1.5rem;
    text-transform: uppercase;
}

.modal-flat-v2 .circle {
    font-size: xx-large;
    border-radius: 3rem;
    width: 4.8rem;
    text-align: center;
    margin: auto;
    padding: 1rem;
    display: flex;
}

.modal-flat-v2 .modal-header {
    padding-top: 2em;
    border-bottom: none;
}

.modal-flat-v2 label {
    max-width: 30%;
    min-width: 30%;
    text-align: right;
    display: inline-block;
}

.modal-flat-v2 input {
    width: 62%;
    display: inline-block;
    margin-left: 2%;
    color: white;
    background: #404040;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

    .modal-flat-v2 input:focus {
        box-shadow: none;
        border: 2px solid grey;
    }

    .modal-flat-v2 input::placeholder {
        font-style: italic;
    }

.modal-flat-v2 .input-label-pair {
    margin-bottom: 1.5rem;
}

.modal-flat-v2 input[type="radio"] {
    width: 3rem;
    margin-left: 2%;
}

    .modal-flat-v2 input[type="radio"] + label.full {
        max-width: 80%;
        font-weight: normal;
    }

    .modal-flat-v2 input[type="radio"] + label {
        text-align: left;
        min-width: 16%;
        margin-left: 2%;
    }

.modal-flat-v2 input:disabled {
    opacity: 0.5;
    background: #404040;
}

.modal-flat-v2 .form-check.radio {
    text-align: right;
    margin: 0;
    display: inline;
}

.modal-flat-v2 .modal-footer {
    border: none;
    padding: 0;
    padding-top: 1em;
}

.modal-flat-v2 button.btn.two-button {
    width: 50%;
    padding: 2rem 1.4rem;
    border: none;
    border-radius: 0;
    margin: 0;
    box-sizing: border-box;
    float: right;
    text-transform: uppercase;
}

    .modal-flat-v2 button.btn.two-button:active, .modal-flat-v2 button.btn.two-button:focus {
        border: none;
        outline: none;
        box-shadow: none;
    }

.modal-flat-v2 .error {
    margin-left: 33%;
}

.modal-flat-v2.icon-link {
    color: rgba(255,255,255,0.6);
    padding: 0.3em 1em;
    border-radius: 1em;
}

.modal-flat-v2 .icon--order-success {
    transform: scale(2);
}

.modal-flat-v2.success .modal-body {
    visibility: hidden;
    min-height: 15rem;
}

.modal-flat-v2.success .circle {
    display: none;
}

.modal-flat-v2.success .checkmark {
    display: block;
}

.modal-flat-v2.success .modal-title {
    transform: translate(0, 4rem)
}

.modal-flat-v2.success .modal-header {
    transform: translate(0, 50%)
}

.modal-flat-v2.success .modal-footer button:nth-of-type(2n) {
    width: 100%;
}

.modal-flat-v2.success .modal-footer button:first-of-type, .modal-flat-v2.success .input-label-pair {
    display: none;
}

.modal-flat-v2 .checkmark {
    display: none;
}

.modal-flat-v2.success .modal-footer a {
    text-align: center;
    width: 100%;
    display: block;
    text-decoration: underline;
    margin-top: -3em;
    margin-bottom: 2em;
    font-style: italic;
    color: lightgreen;
}

    .modal-flat-v2.success .modal-footer a:hover {
        cursor: pointer;
    }

.modal-flat-v2.success #resetInterpsReload {
    display: block;
    width: 100%;
}

.modal-flat-v2.success .display-none-success {
    display: none;
}

.modal-flat-v2 #resetInterpsReload {
    display: none;
}

#inputModal .modal-content {
    margin-top: 10em;
    -webkit-box-shadow: 0 99px 73px rgba(0, 0, 0, .8);
    box-shadow: 0 99px 73px rgb(0 0 0 / 81%);
}

#inputModal .modal-body {
    padding: 2em 3em 3em 3em;
}

#inputModal .submit:hover {
    background-color: darkred;
    filter: brightness(120%);
    color: white;
}

.modal.btn:active {
    border: none;
}
