@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700&display=swap");

::-webkit-scrollbar {
    width: var(--scroll-bar-size);
    height: var(--scroll-bar-size);
    background: 0 0;
    cursor: pointer;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-bar-thumb-background-color);
    border-radius: var(--scroll-bar-size);
    border-color: transparent;
    border-style: solid;
    border-width: calc(var(--scroll-bar-size) / 3);
    background-clip: padding-box;
}

    ::-webkit-scrollbar-thumb:active {
        background-color: var(--scroll-bar-thumb-background-color-active);
    }

    ::-webkit-scrollbar-thumb:active,
    ::-webkit-scrollbar-thumb:hover {
        border-width: 1px;
        background-color: var(--scroll-bar-thumb-background-color-active);
        cursor: pointer;
    }


html {
    font-size: 0.8vw;
}

body {
    background-color: #C4D6F6;
    direction: rtl;
}

.backgroud_open {
    background-image: url('../images/background.jpg');
    /*        background-position: bottom left;
*/ background-repeat: no-repeat;
    background-size: cover;
    transition: background .3s,border .3s,border-radius .3s,box-shadow .3s;
    margin-top: -48px;
    margin-bottom: 0;
    padding: 50px 50px 50px 50px;
    height: 800px;
}

.navbar-nav {
    padding: 20px;
    text-align: center !important;
    display: inline-block !important;
}

.navbar-brand {
    padding-top: 1.3125rem !important;
}

#content-wrap {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 1.25rem 1.625rem;
}

    #content-wrap #content {
        background-color: #fff;
        width: 100%;
        height: 100%;
        border-radius: 3.125rem;
        position: relative;
        min-height: calc(100vh - 2.5rem);
    }


        #content-wrap #content #header {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            height: 5.625rem;
            padding: 1.125rem;
            direction: rtl;
        }

            #content-wrap #content #header #header-left {
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-pack: center;
                -ms-flex-pack: center;
                justify-content: center;
            }

                #content-wrap #content #header #header-left .separator {
                    height: 4.25rem;
                    width: 0.125rem;
                    background-color: #808080;
                    margin: 0 1.6875rem;
                }

                #content-wrap #content #header #header-left #archive-logo img {
                    height: 3.1875rem;
                }


            #content-wrap #content #header #header-right {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                text-align: center;
            }

                #content-wrap #content #header #header-right #hamburger {
                    background-color: #fff;
                    height: 5rem;
                    width: 5rem;
                    padding: 1.375rem;
                    -webkit-box-sizing: border-box;
                    box-sizing: border-box;
                    border-radius: 1.0625rem;
                    display: -webkit-inline-box;
                    display: -ms-inline-flexbox;
                    display: inline-flex;
                    -webkit-box-orient: vertical;
                    -webkit-box-direction: normal;
                    -ms-flex-direction: column;
                    flex-direction: column;
                    -webkit-box-align: center;
                    -ms-flex-align: center;
                    align-items: center;
                    -webkit-box-pack: center;
                    -ms-flex-pack: center;
                    justify-content: center;
                    cursor: pointer;
                }

                    #content-wrap #content #header #header-right #hamburger > span {
                        width: 3.9375rem;
                        height: 1.25rem;
                        padding: 0.3125rem;
                        background-color: #fff;
                        border-radius: 3.125rem;
                        margin-bottom: 0.5875rem;
                        background-color: #128DFF;
                    }


                #content-wrap #content #header #header-right #header-links {
                    display: -webkit-box;
                    display: -ms-flexbox;
                    display: flex;
                    background-color: #128DFF;
                    border-radius: 2.0625rem;
                    margin: 0 0.6875rem;
                    -webkit-box-shadow: 0.1875rem 0.1875rem 0.5rem 0rem rgba(0, 0, 0, 0.2509803922);
                    box-shadow: 0.1875rem 0.1875rem 0.5rem 0rem rgba(0, 0, 0, 0.2509803922);
                    opacity: 0;
                    /*overflow: hidden;*/
                }

                    #content-wrap #content #header #header-right #header-links.visible {
                        -webkit-transition: 0.3s ease-in-out;
                        transition: 0.3s ease-in-out;
                        opacity: 1;
                        z-index: 999;
                        height: 87px;
                    }

                    #content-wrap #content #header #header-right #header-links .header-link {
                        display: -webkit-box;
                        display: -ms-flexbox;
                        display: flex;
                        -webkit-box-pack: center;
                        -ms-flex-pack: center;
                        justify-content: center;
                        -webkit-box-align: center;
                        -ms-flex-align: center;
                        align-items: center;
                        text-decoration: none;
                        color: #fff;
                        font-weight: bold;
                        padding: 1.4375rem 3rem;
                        border-radius: 1.25rem;
                        position: relative;
                    }

                        #content-wrap #content #header #header-right #header-links .header-link:hover {
                            background-color: #4D4D4D;
                            -webkit-transition: 0.3s ease-in-out;
                            transition: 0.3s ease-in-out;
                        }

                        #content-wrap #content #header #header-right #header-links .header-link .title {
                            max-width: 10.375rem;
                            font-size: 1.375rem;
                            line-height: 2rem;
                        }

                        #content-wrap #content #header #header-right #header-links .header-link .icon {
                            margin-left: 1rem;
                        }



#header-links .header-link .header-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #E3EDFF;
    border-radius: 0 0 1.25rem 1.25rem;
    transition: 0.3s ease-in-out;
    overflow: hidden;
    z-index: 99999;
}

    #header-links .header-link .header-dropdown a {
        display: block;
        padding: 13px 1.5rem;
        text-decoration: none;
        color: #4D4D4D;
    }

        #header-links .header-link .header-dropdown a:hover {
            background: #0058FF;
            color: #fff;
        }

#header-links .header-link[data-dropdown="tables-dropdown"]:hover {
    border-radius: 1.25rem 1.25rem 0 0 !important;
}

    #header-links .header-link[data-dropdown="tables-dropdown"]:hover #tables-dropdown {
        display: block;
        font-size: 16px;
    }

.dropdown-link {
    font-size: 18px;
}


.uploadWrapper {
    display: flex;
    justify-content: center;
}

#header-title {
    width: 300px;
    margin: 10px;
}

    #header-title span {
        font-size: 40px;
    }

.center {
    justify-content: center !important;
    margin: auto;
}

/*Admin*/

.jsgrid {
    margin: auto;
}

.jsgrid-grid-header {
    overflow-y: scroll !important;
}

.jsgrid-grid-body {
    overflow-y: scroll !important;
}

.multiselect {
    text-align: center;
}

    .multiselect button {
        width: 220px;
    }

    .multiselect ul {
        width: 220px;
    }

    .multiselect a {
        /*    direction: ltr;
*/ float: right;
        margin-right: 40px;
        padding: 8px;
        font-size: 16px;
    }

    .multiselect label {
        width: 170px;
        display: flex;
    }

.multiselect-container > li > a > label {
    padding: 3px 0px 3px 40px !important;
}

.multiselect input[type=checkbox] {
    margin: 4px -27px 0 !important;
}

.jsgrid-insert-row .btn-group {
    display: block;
}

    .jsgrid-insert-row .btn-group.open {
        display: -webkit-box;
    }


@media only screen and (max-width: 768px) {
    html {
        font-size: 14px !important;
    }

    #content-wrap {
        padding: 1.25rem 1.125rem;
    }

    .topImg {
        width: 100%;
        height: 70px;
    }

    .navbar-nav {
        padding: 0px;
    }

    .navbar-brand {
        white-space: inherit !important;
    }

    .navbar-brand h4 {
        margin-top: 20px;
    }

    .logo img{
        width: 100%;
    }

    .custom-control-label {
        display: contents !important;
    }

    .d-flex img {
        height: 50px !important;
        width: 50px !important;
    }

    .topPadding {
        padding-top: 10%;
    }

    .allRights {
        width: 100%;
        display: flex;
    }

    /*    #header-language-selector {
        left: 20px;
    }

    #content-wrap #content::after {
        width: 15rem;
    }

    #content-wrap #content {
        max-height: 95vh;
    }

    #content-wrap {
        padding: 0.85rem 1rem;
    }
*/
    /*    #header-links .header-link[data-dropdown="tables-dropdown"]:hover #tables-dropdown {
        font-size: 15px;
    }
*/
}

@media (max-width: 767px) {

    #header-language-selector {
        left: 15px !important;
    }

    #content-wrap #content #header #header-left {
        display: block !important;
        width: calc(100%);
    }

        #content-wrap #content #header #header-left #archive-logo {
            width: auto !important;
        }

            #content-wrap #content #header #header-left #archive-logo img {
                height: 25px !important;
                width: auto !important;
                float: left;
                /*                margin-left: 55px;
*/ margin-top: 19px;
            }


        #content-wrap #content #header #header-left .separator {
            display: none;
        }

    .customerConnected .logoCustomer {
        width: auto;
        height: 53px;
        max-width: 22vw;
    }

    .customerConnected > span {
        position: static !important;
        top: auto !important;
        left: auto !important;
    }

    .customerConnected {
        left: auto;
    }

        .customerConnected span span {
            display: none;
        }


    /* MENU */

    #content-wrap #content #header #header-right #header-links {
        display: none;
    }

        #content-wrap #content #header #header-right #header-links.visible {
            width: calc(100% - 7rem);
            display: block;
            position: absolute;
            right: 5.2rem;
            z-index: 10000;
            height: auto;
        }

        #content-wrap #content #header #header-right #header-links .header-link {
            display: block;
            text-align: right;
            line-height: 18px;
            padding: 10px;
            min-width: 95%;
            width: auto !important;
            /*            height: 60px;
*/ /*            padding-top: 18px;
*/
        }

            #content-wrap #content #header #header-right #header-links .header-link .icon img {
                width: 25px;
                height: 26px;
                margin-right: 8px;
                margin-left: 4px;
            }

            #content-wrap #content #header #header-right #header-links .header-link .title {
                max-width: 100% !important;
                width: 100% !important;
                min-width: 100px;
                font-size: 15px;
            }

    #header-links .header-link .header-dropdown {
        position: relative !important;
        border-radius: 0px !important;
    }



    #content-wrap #content #header #header-right #header-links .header-link + .header-link:before {
        border-top: 1px solid #fff;
        content: ' ';
        display: block;
        width: 90%;
        margin-bottom: 7px;
    }


    #content-wrap #content #header {
        /*        padding: 7px;
*/
    }

        #content-wrap #content #header #header-right #hamburger {
            height: 60px;
            width: 60px;
            border-radius: 1.1625rem;
        }


            #content-wrap #content #header #header-right #hamburger > span {
                width: 3.4375rem;
                height: 0.25rem;
                padding: 0.2125rem;
                background-color: #128DFF;
            }

/*    .logo {
        display: inline-grid;
        padding: 5px;
        position: absolute;
        top: 18px;
        left: 117px;
    }
*/
    #header-title {
        width: 150px;
        margin: 10px;
    }

        #header-title span {
            font-size: 20px;
        }
}
