﻿/* modals */

.modal {
    width: 100%;
    height: 100%;
    z-index: 1000;
    position: fixed;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
}

    .modal .modal-backdrop {
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.7);
        position: fixed;
        z-index: 1000;
    }

    .modal .modal-container {
        position: relative;
        max-width: 800px;
        width: 98%;
        height: auto;
        display: flex;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        border-radius: 5px;
        animation-duration: 0.25s;
        animation-name: bounceIn;
        z-index: 1001;
        margin-top: 30px;
        margin-bottom: 30px;
        overflow-y: auto;
    }

    .modal .modal-footer button + button {
        margin-left: 10px;
    }

body.modal-open {
    overflow: hidden;
}

.modal-close-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 30px;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}



.modal .modal-header, .modal .modal-body, .modal .modal-footer {
    padding: 15px;
}

.modal .modal-header {
    border-bottom: 1px solid #288090;
    font-size: 16pt;
    font-weight: bold;
}

.modal .modal-footer {
    border-top: 1px solid #288090;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}



/*input-component*/

.input-component .label {
    font-size: 11pt;
    color: #9c9c9c;
}

.input-component .action-slot button {
    padding-left: 10px;
    padding-right: 10px;
}

.input-component .skeleton {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

    .input-component .skeleton.no-match {
        border-left: 2px solid #ff4f4a;
        border-bottom-left-radius: 5px;
        border-top-left-radius: 5px;
    }

        .input-component .skeleton.no-match input {
            border-left: 0;
        }

        .input-component .skeleton.no-match .cdk-textbox {
            color: #ff4f4a;
        }

    .input-component .skeleton.match {
        border-left: 2px solid green;
        border-bottom-left-radius: 5px;
        border-top-left-radius: 5px;
    }

        .input-component .skeleton.match input {
            border-left: 0;
        }


    .input-component .skeleton .saturn {
        display: flex;
        align-items: stretch;
        position: relative;
        width: 100%;
    }

        .input-component .skeleton .saturn .saturn-textbox {
            width: 100%;
        }

.input-component .saturn-textbox-error {
    position: absolute;
    right: 32px;
    top: 0;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4f4a;
    cursor: pointer;
    font-size: 12pt;
}

    .input-component .saturn-textbox-error.saturn-dropdown-error {
        right: 22px;
        width: 20px;
    }

.input-component .saturn-textbox-error-message {
    position: absolute;
    right: 1px;
    background: white;
    height: 40px;
    z-index: 2;
    color: #ff4f4a;
    height: 24px;
    padding-left: 10px;
    padding-right: 0px;
}

.input-component .skeleton .saturn .saturn-icon {
    font-size: 12px;
    background-color: #e0e0e0;
    color: #fff;
    box-sizing: border-box;
    padding: 10px 12px;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    position: relative;
}


.input-component .skeleton .cdk {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

    .input-component .skeleton .cdk .cdk-textbox {
        width: 100%;
    }

    .input-component .skeleton .cdk .cdk-icon {
        position: absolute;
        right: 7px;
        color: #e0e0e0;
        height: 26px;
        display: flex;
        align-items: center;
        font-size: 8pt;
    }

        .input-component .skeleton .cdk .cdk-icon .cdk-off {
            color: #ff4f4a;
            font-size: 10px;
            margin-right: 5px;
        }




.input-component .saturn input, .input-component .saturn select, .input-component .saturn textarea {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: 0;
    width: 100%;
    font-size: 12pt;
}

.input-component .saturn textarea {
    font-size: 12pt;
    font-family: roboto;
    padding: 5px;
    box-sizing: border-box;
    resize: none;
    border: 1px solid #EFEFEF;
    height: 100%;
}


.input-component .saturn select {
    border-right: 1px solid #c3c3c3;
    border-top-right-radius: 5px;
}

.input-component .cdk input, .input-component .cdk select {
    font-size: 11pt;
    height: 26px;
    color: #bbbbbb;
    margin-top: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    width: 100%;
}

.input-component span.cdk-paste {
    display: none;
    margin-right: 6px;
    color: #288090;
    cursor: pointer;
}

    .input-component span.cdk-paste:hover {
        opacity: 0.9;
    }

.input-component .cdk:hover span.cdk-paste, .cdk span.cdk-paste:hover {
    display: unset;
}

/*panel-menu*/
.floating-header-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

    .floating-header-container > * {
        margin-left: 0px;
        border-left: 5px solid #287f90;
        border-right: 1px solid #287f90;
        border-bottom: 1px solid #287f90;
        margin-right: 15px;
        padding: 5px;
        background-color: #f7f7f7;
        color: #287f90;
        border-bottom-right-radius: 5px;
    }

.sidemenu-contents.has-floating-header {
    padding-top: 0px;
}






.panel {
    box-shadow: 0px 1px 7px -5px #000000;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #d2d2d2;
}

    .panel .panel-header {
        height: 40px;
        color: #288090;
        width: 100%;
        background-color: #f7f7f7;
        border-bottom: 2px solid #288090;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .panel .panel-header-title {
        margin-left: 10px;
        font-weight: bold;
        font-size: 20px;
    }

    .panel .panel-header-subtext {
        margin-right: 10px;
        font-weight: bold;
        font-size: 18px;
    }

    .panel span.panel-header-subtext-label {
        color: #000000;
        margin-right: 5px;
    }

    .panel span.panel-header-subtext-value {
        color: #288090;
        font-weight: bold;
    }

    .panel .panel-body {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .panel .panel-header-subtext-array {
        display: flex;
        margin-right: 15px;
        font-weight: bold;
        font-size: 18px;
    }

    .panel .panel-header-subtext-item {
        margin-left: 25px;
    }