﻿.arrow {
    position: fixed;
    background: url('../images/arrow_show.png') no-repeat right 30%;
}

    .arrow:hover {
        background: url('../images/arrow_show_hover.png') no-repeat right 30%;
    }

.arrow-vertical {
    width: 30px;
    height: 100%;
    top: 10.5%;
    z-index: 1000;
}

.arrow-right {
    right: 0;
}

    .arrow-right.arrow-open {
        right: 30%;
        background: url('../images/arrow_hide.png') no-repeat right 30%;
    }

        .arrow-right.arrow-open:hover {
            background: url('../images/arrow_hide_hover.png') no-repeat right 30%;
        }
/*************Start Nav*********************************/
.cbp-spmenu {
    backg/round: #0A2740;
    position: fixed;
   /* position: absolute;*/
    height: fit-content;
    overflow:auto;
    height:100vh;
}

    .cbp-spmenu h4 {
        color: #FFFFFF;
        font-size: 1.6em;
        padding: 20px;
        margin: 0;
        font-weight: bold;
        background: #0A2740;
        direction: rtl;
        text-align: center;
        font-family: 'Al Watan Headlines Bold','Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }

    .cbp-spmenu a {
        display: block;
        color: #299BFF;
        font-size: 1.3em !important;
        font-weight: bold;
        font-family: 'Al Watan Headlines Bold', Arial, sans-serif;
    }

        .cbp-spmenu a:hover {
            background: #258ecd;
        }

        .cbp-spmenu a:active {
            background: #afdefa;
            color: #299BFF;
        }

.cbp-spmenu-vertical {
    width: 30%;
    height: 100vh;
    he/ight: auto;
    top: 0;
    z-in/dex: 1000;
    bottom: 0;
}

    .cbp-spmenu-vertical a {
        border-bottom: 1px solid #299BFF;
        padding: 1em;
    }

.cbp-spmenu-right {
    right: -30%;
}

    .cbp-spmenu-right.cbp-spmenu-open {
        right: 0px;
        -webkit-box-shadow: -15px 0px 20px -5px rgba(0,0,0,0.4);
        -moz-box-shadow: -15px 0px 20px -5px rgba(0,0,0,0.4);
        box-shadow: -15px 0px 20px -5px rgba(0,0,0,0.4);

    }
/* Horizontal menu that slides from the top or bottom */

.cbp-spmenu-top {
    top: -150px;
}

.cbp-spmenu-bottom {
    bottom: -150px;
}

.cbp-spmenu-top.cbp-spmenu-open {
    top: 0px;
}

.cbp-spmenu-bottom.cbp-spmenu-open {
    bottom: 0px;
}
/* Push classes applied to the body */

.cbp-spmenu-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
}

.cbp-spmenu-push-toright {
    left: 20%;
}

.cbp-spmenu-push-toleft {
    left: -20%;
}
/* Transitions */

.cbp-spmenu, .cbp-spmenu-push, .arrow {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
/* Example media queries */



/*::-webkit-scrollbar {
    display: none; 
    }
*/

::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #0275d8;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #0A2740;
    }



@media screen and (max-width: 55.1875em) {
    .cbp-spmenu-vertical {
        width: 80%;
    }

    .cbp-spmenu-right {
        right: -80%;
    }

    .cbp-spmenu-horizontal {
        font-size: 75%;
        height: 110px;
    }

    .cbp-spmenu-top {
        top: -110px;
    }

    .cbp-spmenu-bottom {
        bottom: -110px;
    }

    .arrow-right.arrow-open {
        right: 80%;
        background: url('../images/arrow_hide.png') no-repeat right 30%;
    }
}

@media screen and (max-height: 26.375em) {
    .cbp-spmenu-vertical {
    }

    .cbp-spmenu-vertical {
        font-size: 90%;
        width: 40%;
    }

    .cbp-spmenu-left, .cbp-spmenu-push-toleft {
        left: -40%;
    }

    .cbp-spmenu-right {
        right: -40%;
    }

    .cbp-spmenu-push-toright {
        left: 40%;
    }
}
/*************Start Nav*********************************/
.cbp-spmenu .TreeView {
    direction: rtl;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 64vh;
}

    .cbp-spmenu .TreeView a {
        display: inline-block;
        color: #ffffff;
        font-size: 1.3em !important;
        font-weight: bold;
        font-family: 'Al Watan Headlines Bold', Arial, sans-serif;
    }

.cbp-spmenu-vertical .TreeView a {
    border-bottom: 0;
    padding: .3em .5em .5em .5em;
}

.cbp-spmenu .TreeView a:hover {
    background: none;
    cursor: default;
    text-decoration: none;
}

.cbp-spmenu-vertical .TreeView a:hover {
    background: none;
    cursor: default;
    text-decoration: none;
}

.TreeView [type=checkbox] {
    margin-top: .8rem;
    margin-left: 0rem;
    box-sizing: border-box;
    -ms-transform: scale(1.5); /* IE */
    -moz-transform: scale(1.5); /* FF */
    -webkit-transform: scale(1.5); /* Safari and Chrome */
    -o-transform: scale(1.5); /* Opera */
    padding: 10px;
    background-color: red !important;
}


    .TreeView [type=checkbox]:checked {
        background-color: red;
    }

.TreeView .RootNode {
    padding-right: 0px;
}

.TreeView .LeafNode {
    padding-right: 25px;
    font-weight: normal;
}

#TreeView1 input[type="checkbox"] {
    margin: 20px;
    padding: 20px;
    width: 100px;
}

.TreeView input[type=checkbox] {
    display: none;
}

    .TreeView input[type=checkbox] + div {
        padding-top: 14px;
        display: inline-block
    }

        .TreeView input[type=checkbox] + div > label, .TreeView input[type=checkbox]:checked + div > label, .TreeView input[type=checkbox]:indeterminate + div > label {
            height: 22px;
            width: 20px;
            display: inline-flex;
            padding: 0 0 0 0px;
            background-repeat: no-repeat;
            background-position-x: center;
            background-position-y: bottom;
            margin-bottom: 0;
        }

        .TreeView input[type=checkbox] + div > label {
            background-image: url('../imgs/icons-none.png');
        }

    .TreeView input[type=checkbox]:checked + div > label {
        background-image: url('../imgs/icons-tick.png');
    }

    /*
.TreeView input[type=checkbox]:indeterminate + div > label{
    background-image: url('../imgs/icons-indeterminate.png');
}
*/
    .TreeView input[type=checkbox]:disabled + div > label {
        background-image: url('../imgs/icons-disabled_2.png');
    }

    .TreeView input[type=checkbox] + div > label:hover {
        cursor: pointer;
    }

    .TreeView input[type=checkbox]:checked + div > label:hover {
        cursor: pointer;
    }

    .TreeView input[type=checkbox]:indeterminate + div > label:hover {
        cursor: pointer;
    }

/*************Menu************************************/
.navigation {
    padding: 0;
    margin: 0;
    border: 0;
    line-height: 1;
}

    .navigation ul, .navigation ul li, .navigation ul ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .navigation ul {
        position: relative;
        z-index: 500;
        float: left;
    }

        .navigation ul li {
            float: left;
            min-height: 0.05em;
            line-height: 1em;
            vertical-align: middle;
            position: relative;
        }

            .navigation ul li.hover, .navigation ul li:hover {
                position: relative;
                z-index: 510;
                cursor: default;
            }

        .navigation ul ul {
            visibility: hidden;
            position: absolute;
            top: 100%;
            left: 0px;
            z-index: 520;
            width: 100%;
            -webkit-box-shadow: -15px 15px 20px -5px rgba(0,0,0,0.4);
            -moz-box-shadow: -15px 15px 20px -5px rgba(0,0,0,0.4);
            box-shadow: -15px 15px 20px -5px rgba(0,0,0,0.4);
        }

            .navigation ul ul li {
                float: none;
            }

            .navigation ul ul ul {
                top: 0;
                right: 0;
            }

        .navigation ul li:hover > ul {
            visibility: visible;
        }

        .navigation ul ul {
            top: 100px;
            left: 99%;
        }

        .navigation ul li {
            float: none;
        }

        .navigation ul ul {
            margin-top: 0.05em;
        }

.navigation {
    width: 100%;
    font-family: 'roboto', Tahoma, Arial, sans-serif;
    zoom: 1;
}

    .navigation:before {
        content: '';
        display: block;
    }

    .navigation:after {
        content: '';
        display: table;
        clear: both;
    }

    .navigation a {
        display: block;
        padding: 1em 1.3em;
        color: #ffffff;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 1.3em;
        font-weight: bold;
        font-family: 'Al Watan Headlines Bold', Arial, sans-serif;
    }

    .navigation > ul {
        width: 100%;
    }

    .navigation ul ul {
        width: 100%;
    }

    .navigation > ul > li > a {
        border-right: 0.3em solid #299BFF;
        color: #FFFFFF;
    }

        .navigation > ul > li > a:hover {
            color: #299BFF;
        }

    .navigation > ul > li a:hover, .navigation > ul > li:hover a {
        background: #299BFF;
        color: #FFFFFF;
    }

    .navigation li {
        position: relative;
    }

    .navigation ul li.has-sub > a:after {
        content: '»';
        position: absolute;
        right: 1em;
    }

    .navigation ul ul li.first {
        -webkit-border-radius: 0 3px 0 0;
        -moz-border-radius: 0 3px 0 0;
        border-radius: 0 3px 0 0;
    }

    .navigation ul ul li.last {
        -webkit-border-radius: 0 0 3px 0;
        -moz-border-radius: 0 0 3px 0;
        border-radius: 0 0 3px 0;
        border-bottom: 0;
    }

    .navigation ul ul {
        -webkit-border-radius: 0 3px 3px 0;
        -moz-border-radius: 0 3px 3px 0;
        border-radius: 0 3px 3px 0;
    }

    .navigation ul ul {
        border: 1px solid #299BFF;
    }

        .navigation ul ul a {
            color: #ffffff;
            font-size: 1em;
            font-weight: bold;
            font-family: Arial, sans-serif;
        }

            .navigation ul ul a:hover {
                color: #299BFF;
            }

        .navigation ul ul li {
            border-bottom: 1px solid #fff;
        }

            .navigation ul ul li:hover > a {
                background: #FFFFFF;
                color: #299BFF;
            }
    /************Right*********************************/
    .navigation.align-right > ul > li > a {
        border-right: 0.3em solid #299BFF;
        border-left: none;
    }

    .navigation.align-right {
        float: right;
    }

        .navigation.align-right li {
            text-align: right;
        }

        .navigation.align-right ul li.has-sub > a:before {
            content: '«';
            position: absolute;
            top: 50%;
            left: 15px;
            margin-top: -6px;
            direction:ltr;
        }

        .navigation.align-right ul li.has-sub > a:after {
            content: none;
        }

        .navigation.align-right ul ul {
            max-height: 60vh;
            overflow: auto;
            visibility: hidden;
            position: absolute;
            top: 0;
            left: -100%;
            z-index: 598;
            width: 100%;
            direction: ltr;
        }

            .navigation.align-right ul ul li.first {
                -webkit-border-radius: 3px 0 0 0;
                -moz-border-radius: 3px 0 0 0;
                border-radius: 3px 0 0 0;
            }

            .navigation.align-right ul ul li.last {
                -webkit-border-radius: 0 0 0 3px;
                -moz-border-radius: 0 0 0 3px;
                border-radius: 0 0 0 3px;
            }

        .navigation.align-right ul ul {
            -webkit-border-radius: 3px 0 0 3px;
            -moz-border-radius: 3px 0 0 3px;
            border-radius: 3px 0 0 3px;
        }

/*************end Menu****************************/


#multiService .form-check .TreeView > table {
    width: 100%
}

    #multiService .form-check .TreeView > table:first-child tr {
        display: block;
        border-bottom: 1px solid #808080;
        border-top: 0px solid red;
    }

    #multiService .form-check .TreeView > table tr {
        display: block;
        border-bottom: 1px solid #808080;
        border-top: 1px solid #808080;
    }


.scrollbar {
    background-color: palevioletred;
    margin-top: 40px;
    margin-left: 40px;
    float: right;
    width: 250px;
    height: 300px;
    display:contents;
}