﻿
table {
    border-spacing: 0;
}

textarea {
    resize: vertical;
}

html, body, div, span, applet, object, p, a, img, ul, li, table, h1, input, textarea {
    margin: 0;
    padding: 0;
    font-family: 'NotoSansGeorgian-Medium';
}

/* ------------ */

/*#region Fonts */

@font-face {
    font-family: BPG Arial;
    src: url(/fonts/bpg_arial.ttf);
    font-weight: 400;
}

@font-face {
    font-family: "algeti";
    src: url("/fonts/bpg_algeti.ttf");
}

@font-face {
    font-family: "firago-regular";
    src: url("../fonts/FiraGO-Regular.otf");
    font-display: swap;
}

@font-face {
    font-family: "firago-medium";
    src: url("../fonts/FiraGO-Medium.otf");
    font-display: swap;
}

@font-face {
    font-family: 'NotoSansGeorgian-Medium';
    src: url('../fonts/NotoSansGeorgian-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'NotoSansGeorgian-Regular';
    src: url('../fonts/NotoSansGeorgian-Regular.ttf') format('truetype');
}

* {
    outline: none !important;
}
/*#endregion */

::placeholder {
    font-size: 16px;
    font-weight: 100;
}

/*#region Header */




#operator_header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #2d7ed0;
}

.site-logo {
    grid-column: 1/2;
}

    .site-logo img {
        margin-top: 5px;
        margin-left: 15px;
    }

.oper-info {
    grid-column: 3/4;
    align-self: center;
    display: grid;
    grid-template-columns: 90px 105px 80px 160px 40px;
    align-items: center;
    column-gap: 14px;
    justify-self: end !important;
    text-align: end;
    font-family: 'firago-regular';
    margin-right: 25px;
}

.btn_logout {
    width: 33.95px;
    height: 30.98px;
}
/*#endregion Header */


button, .button {
    padding: 0;
    border: none;
    cursor: pointer;
    background:none;
    font-family: 'firago-regular';
    font-size: 16px;
}

    button:hover, .button:hover {
        opacity: 0.5;
    }

    button[disabled] {
        cursor: not-allowed !important;
    }

        button[disabled] * {
            color: #b7b1b4 !important;
        }


/*#region alert box*/
div#alert_box {
    position: fixed;
    left: 15%;
    width: 70%;
    top: -350px;
    background-color: black;
    color: white;
    padding: 20px 0;
    border-radius: 0 0 10px 10px;
    text-align: center;
    font-size: 25px;
    transition: top 1s, background-color 1s, color 0.25s;
    font-family: 'firago-medium';
    letter-spacing: 1px;
    border-bottom: 1px solid;
    border-color: black
}

#alert_box.show {
    top: 0;
}

.alert-success {
    color: white !important;
    background-color: #077f25 !important;
}

.alert-error {
    color: white !important;
    background-color: #C73333 !important;
}


@media (max-width:450px) {
   
     div#alert_box {
        font-size: 16px !important;
     }
}
/*#endregion alert box*/

/*#region Default styles */

.status-swich {
    display: none;
}

/*#endregion Default styles */


/*#region Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 175px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 72%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    display: grid;
    padding: 2px 16px;
    color: white;
    width: 33%;
    margin: auto;
    padding-bottom: 15px;
}


#alert_modal .modal-content {
    width: 26%;
    font-family: NotoSansGeorgian-Regular;
}

#alert_modal .close {
    color: black;
    float: right;
    font-size: 76px;
    margin-top: -26px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}
/* The Close Button */
.close {
    color: #fdfdfd;
    float: right;
    cursor: pointer;
    font-size: 46px;
    margin-top: 5px;
}

    .close:hover {
        opacity: 0.5;
    }

.modal-header {
    padding: 2px 16px;
    background-color: #4A62A3;
    font-size: 13px;
    color: #ffffff;
}

.modal-window {
    font-family: NotoSansGeorgian-Regular;
}
    /*#endregion Modal*/