/* ---------------------------------------------------
    TOPBAR NAVIGATION STYLE
----------------------------------------------------- */

.navbar-toggler {
    margin-right:10px;
}

    .navbar-toggler:focus {
        margin-right: 10px;
        background-color: transparent;
        outline: 0px dotted;
        outline: 0px auto -webkit-focus-ring-color;
    }

.dropdown-item.active, .dropdown-item:active {
    text-decoration: none;
    background-color: #fff;
}

.dropdown-item:hover, .dropdown-item:focus {
    text-decoration: none;
    background-color: #fff;
}

.nav-link:hover {
    color: var(--linkHoverColor) !important;
}

.nav-link i {
    font-size: 18px;
    display: inline-block;
}

.card {
    border: 0px;
    box-shadow: none;
    -webkit-box-shadow: none;
    padding: 10px;
    border-top: 2px solid var(--linkColor);
    border-radius: 0px;
}

.row a {
    color: var(--linkColor);
    text-decoration: none;
    background-color: transparent;
    line-height: 30px;
}

    .row a:hover {
        color: var(--linkHoverColor);
        text-decoration: none;
        background-color: transparent;
        line-height: 30px;
    }

.arabictranslationMenu {
    display: inline-block;
    width: 100%;
    text-align: right;
}

.arabictranslation {
    display: block;
    width: 100%;
    text-align: right;
    margin-right: 2px;
    position: relative;
    margin-top: -20px;
}

.menu-large {
    position: static !important;
}

.megamenu {
    padding: 20px 20px;
    width: 100%;
}

    .megamenu > div > li > ul {
        padding: 0;
        margin: 0;
    }

        .megamenu > div > li > ul > li {
            list-style: none;
        }

            .megamenu > div > li > ul > li > a {
                display: block;
                padding: 3px 20px;
                clear: both;
                font-weight: normal;
                line-height: 1.428571429;
                color: #333333;
                white-space: normal;
            }

                .megamenu > div > li > ul > li > a:hover,
                .megamenu > div > li > ul > li > a:focus {
                    text-decoration: none;
                    color: #262626;
                    background-color: #f5f5f5;
                }

    .megamenu.disabled > a,
    .megamenu.disabled > a:hover,
    .megamenu.disabled > a:focus {
        color: #999999;
    }

        .megamenu.disabled > a:hover,
        .megamenu.disabled > a:focus {
            text-decoration: none;
            background-color: transparent;
            background-image: none;
            filter: progid: DXImageTransform.Microsoft.gradient(enabled=false);
            cursor: not-allowed;
        }

    .megamenu.dropdown-header {
        color: #428bca;
        font-size: 18px;
    }

@media (max-width: 768px) {
    .megamenu {
        margin-left: 0;
        margin-right: 0;
        padding:0px;
    }

        .megamenu > li {
            margin-bottom: 30px;
        }

            .megamenu > li:last-child {
                margin-bottom: 0;
            }

        .megamenu i {
            font-size: 1.15rem;
            color: #dc3545 !important;
        }

        .megamenu span {
            font-size: 1.15rem;
        }

        .menuHyperlink {
            text-align: center;
            border: 1px solid #ced4da;
            border-radius: 0.25rem;
            background-color: #f8f9fa;
            padding: 0.5rem !important;
            margin-bottom: 0.25rem !important;
        }
            .menuHyperlink i {
                font-size: 1.5rem;
                color: #dc3545 !important;
            }

            .menuHyperlink span {
                display: block;
                font-size: 1.15rem;
            }

        .megamenu.dropdown-header {
            padding: 3px 15px !important;
        }

    .navbar-nav .open .dropdown-menu .dropdown-header {
        color: #fff;
    }
}

/*-------------------------------------------------------*/


.navbar {
    padding: 0px;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    margin-bottom: 40px;
    box-shadow: none;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.letterspacing {
    letter-spacing: -1px;
}

nav ul a:hover {
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: rgb(221,0,16) !important;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    align-items: stretch;
    perspective: 1500px;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: rgba(255,255,255,1);
    color: initial;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
    -webkit-box-shadow: none;
    box-shadow: none;
    height:100vh;
}

#sidebar.active {
    margin-left: -250px;
    /*transform: rotateY(100deg);*/
}

#sidebar.hidden {
    display:none;
}

#sidebar.show {
    margin-left:0px;
}

#sidebar .sidebar-header {
    padding: 20px;
}

#sidebar .sidebar-header .header-logo {
    max-width:200px;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 0px solid #47748b;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}
#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

a[data-toggle="collapse"] {
    position: relative;
}

.img-thumbnail {
    width:100px;
}


.logged-in-user {
    padding: 10px 20px;
    letter-spacing: .05em;
    pointer-events: none;
    cursor: default;
    font-size: 0.6875rem;
    color: #adb5bd;
    font-weight: 500;
}

/* ---------------------------------------------------
    SIDEBAR SHORTCUT STYLE
----------------------------------------------------- */
.shortcutskeys i:hover {
    font-size: 18px;
    color: var(--primaryColor);
}

.shortcutskeys i {
    font-size: 18px;
    color:rgb(95,95,95);
}


/* ---------------------------------------------------
    SIDEBAR SHORTCUT STYLE
----------------------------------------------------- */
.shortcut {
    line-height:50px;
}

.shortcut .menu-title {
    padding: 0px 20px;
    letter-spacing: .05em;
    pointer-events: none;
    cursor: default;
    font-size: 0.6875rem;
    text-transform: uppercase;
    color: #adb5bd;
    font-weight: 500;
}

    .shortcut > a {
        color: var(--linkColor);
        display: block;
        -webkit-transition: all 0.4s;
        transition: all 0.4s;
    }

        .shortcut > a:hover {
            text-decoration: none;
            color: var(--linkHoverColor);
        }

        .shortcut > a i {
            display: inline-block;
            text-align: center;
            font-size: 18px !important;
            height: 0px;
            line-height: 0px;
            color: var(--iconColor);
        }

.shortcut > a span {
}

/* ---------------------------------------------------
    SIDEBAR SWTICH OPTION STYLE
----------------------------------------------------- */

.swtichoption {
    line-height: 56px !important;
}

    .swtichoption .list-group-item {
        border: 0px;
    }

    .swtichoption .list-group-item-action:hover, .swtichoption .list-group-item-action:focus {
        background-color: transparent !important;
    }

    .swtichoption .menu-title {
        padding: 10px 20px;
        letter-spacing: .05em;
        pointer-events: none;
        cursor: default;
        font-size: 0.6875rem;
        text-transform: uppercase;
        color: #adb5bd;
        font-weight: 500;
    }
.switchradcombobox {
    margin:0px 7px;
}

    .switchradcombobox .rcbReadOnly {
        background-color: transparent !important;
        width: 230px !important;
    }

    .switchradcombobox .rcbFocused, .switchradcombobox .rcbExpanded {
        width: 230px !important;
    }

    .switchradcombobox .rcbInput {
        color: rgb(95,95,95) !important;
        width: 230px !important;
        margin: -5px !important;
    }

    .switchradcombobox .rcbActionButton .p-icon {
        color: rgb(95,95,95) !important;
    }

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
@media (max-width: 768px) {
    #content {
        overflow-x:hidden;
    }

    .contentAllowOverflow {
        overflow:visible !important; 
    }
}

#content {
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    width: 100%;
    border-left: 1px solid rgba(95,95,95,0.2);
}

    #content .navbar-brand {
        margin-right: 0px;
        margin-top: -3px;
        color: rgba(0, 0, 0, 0.5);
        padding: 0px 0.5rem;
    }

        #content .navbar-brand i {
            font-size: 18px;
            display: inline-block;
        }

        #content .navbar-brand span {
            font-size: 1rem;
        }

    #content .container {
        padding: 10px;
    }



    #sidebarCollapse {
        color: rgba(0, 0, 0, 0.5);
        border: 0px;
        background-color: #f8f9fa;
        border-right: 1px solid;
        width: 40px;
    }

        #sidebarCollapse:hover {
            color: var(--linkHoverColor) !important;
        }

        #sidebarCollapse:focus {
            outline: 0px dotted;
            outline: 0px auto -webkit-focus-ring-color;
        }

        #sidebarCollapse span {
            width: 80%;
            height: 2px;
            margin: 0 auto;
            display: block;
            background: #555;
            transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
            transition-delay: 0.2s;
        }

            #sidebarCollapse span:first-of-type {
                transform: rotate(45deg) translate(2px, 2px);
            }

            #sidebarCollapse span:nth-of-type(2) {
                opacity: 0;
            }

            #sidebarCollapse span:last-of-type {
                transform: rotate(-45deg) translate(1px, -1px);
            }


        #sidebarCollapse.active span {
            transform: none;
            opacity: 1;
            margin: 5px auto;
        }


    /* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
    @media (max-width: 768px) {
        #sidebar {
            margin-left: -250px;
            /*transform: rotateY(90deg);*/
        }

            #sidebar.active {
                margin-left: 0;
                transform: none;
            }

        #sidebarCollapse span:first-of-type,
        #sidebarCollapse span:nth-of-type(2),
        #sidebarCollapse span:last-of-type {
            transform: none;
            opacity: 1;
            margin: 5px auto;
        }

        #sidebarCollapse.active span {
            margin: 0 auto;
        }

            #sidebarCollapse.active span:first-of-type {
                transform: rotate(45deg) translate(2px, 2px);
            }

            #sidebarCollapse.active span:nth-of-type(2) {
                opacity: 0;
            }

            #sidebarCollapse.active span:last-of-type {
                transform: rotate(-45deg) translate(1px, -1px);
            }
    }
