﻿/*========================================================
                        Modal
=========================================================*/
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

    .modal.fade {
        opacity: 0;
        transition: opacity 0.3s linear;
    }

        .modal.fade.show {
            opacity: 1;
        }

.modal-dialog {
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    margin: 0.5rem;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 13px;
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 1rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-title {
    margin-bottom: 0;
    font-weight: bold;
    line-height: 1.5;
}

.modal-body {
    display: flex;
    flex: 1 1 auto;
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 5px 1rem;
    border-top: 1px solid #e9ecef;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

    .close:hover, .close:focus {
        color: #000;
        text-decoration: none;
        opacity: .75;
    }

.btn, .btn-default {
    font-size: 24px;
    font-weight: bold;
    padding: 6px 15px;
    border-radius: 10px;
    background: rgba(96, 193, 189, 1);
    opacity: 0.8;
}
.btn-secondary {
    color: #fff;
    background-color: #868e96;
    border-color: #868e96;
}
.btn-default,.btn:hover {
    opacity: 1;
}


@media (min-width: 0px) and (max-width: 576px) {
    .modal-dialog {
        width: 90%;
        max-width: 500px;
        left: 5%;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .modal-dialog {
        width: 70%;
        max-width: 700px;
        left: 15%;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .modal-dialog {
        width: 60%;
        max-width: 900px;
        left: 20%;
    }
}


@media (min-width: 993px) and (max-width: 1200px) {
    .modal-dialog {
        width: 50%;
        max-width: 1100px;
    }
}
