﻿/* Modal overlay form */
.modal-loading {
    display: none;
    width: 100%;
    justify-content: center;
    font-size: 24px;
}

    .modal-loading.visible {
        display: flex;
    }

.rule-manager-menu,
.modal-menu {
    visibility: hidden;
    z-index: 1000;
    font-weight: 500;
    position: fixed;
    border-radius: 15px;
    background: rgb(255,255,255);
    box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.2);
    margin: 15px;
    padding: 15px;
    max-width: 75%;
    max-height: 85%;
    overflow: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

    .rule-manager-menu.visible,
    .modal-menu.visible {
        visibility: visible;
    }

.modal-title {
    font-size: 25px;
    padding-left: 10px;
    padding-bottom: 10px;
    color: rgb(74,74,112);
}

.modal-atts-container {
    border-radius: 10px;
    background-color: rgb(244,244,244);
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.modal-atts {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 5px;
    padding: 5px;
    overflow: auto;
}


.modal-att {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 10px;
    margin-top: 5px;
    padding: 5px;
    flex-grow: 1;
}



    .modal-att label {
        font-size: 12px;
        color: rgb(74,74,112);
    }

    .modal-att input,
    .modal-att select,
    .modal-att textarea,
    .radio-group {
        margin-top: 5px;
        width: 100%;
        font-size: 15px;
        padding: 12px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

.radio-group {
    border: none;
}

    .radio-group input {
        width: auto;
    }

    .radio-group label {
        font-size: 15px;
        padding: 0px 8px 0px 20px;
    }

input::placeholder {
    opacity: 0.6;
}

input:focus {
    outline: none !important;
    border: 2px solid rgb(74,74,112);
    box-shadow: 0 0 5px rgb(74,74,112);
}


.controls {
    display: flex;
    float: right;
}

.new-btn-action {
    background: rgb(99,108,161);
    border-radius: 5px;
    margin: 10px 5px;
    padding: 0 30px 0 30px;
    font-size: 14px;
    color: white;
    cursor: pointer;
}

.btn-primary {
    background: rgb(46,53,97);
}

/* Media width controls */
@media (min-width: 576px) {
    .modal-atts {
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .modal-atts {
        flex-direction: row;
    }
}
/* END Modal overlay form */

