﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


.bootstrap-select {
    border: 1px solid #ced4da;
}

.form-group .bootstrap-select, .form-horizontal .bootstrap-select, .form-inline .bootstrap-select {
    margin-bottom: 0;
    border: 1px solid #ced4da;
}

.bootstrap-select .dropdown-toggle .filter-option, .dropdown-item {
    text-align: right;
}


/*
*
* ==========================================
*    CUSTOM UTIL CLASSES
*    https://bootstrapious.com/p/bootstrap-multilevel-dropdown
* ==========================================
*
*/

/*.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > a:after {
        content: "\f0da";
        float: right;
        border: none;
        font-family: 'FontAwesome';
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: 0px;
        margin-left: 0px;
    }
*/


/*
*
* ==========================================
*    CodePen Home
*    RTL multi dropdown menu
*    https://codepen.io/duaa94/pen/GRKvPQK
* ==========================================
*
*/

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        right: 100%;
        margin-top: -45px;
        margin-left: 0px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

.dropdown-submenu-leftshow > .dropdown-menu {
    left: 100%;
    margin-top: -20px;
    margin-left: 0px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu-leftshow:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: left;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 5px 5px 0;
    border-right-color: #000;
    margin-top: 8px;
    margin-right: -20px;
    margin-left: -10px;
}

.dropdown-submenu-leftshow > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 5px 5px 5px;
    border-left-color: #000;
    margin-top: 8px;
    margin-right: -20px;
    margin-left: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

    .dropdown-submenu.pull-left > .dropdown-menu {
        left: -100%;
        margin-left: 10px;
        -webkit-border-radius: 6px 0 6px 6px;
        -moz-border-radius: 6px 0 6px 6px;
        border-radius: 6px 0 6px 6px;
    }




.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        width: fit-content;
    }

.float-left {
    margin-right: 5px;
}



nav > a {
    border-right: solid 1px #eff0f1;
}

    nav > a:last-of-type {
        border-right: none;
    }



/* کد های مربوط به 

https://mdbootstrap.com/docs/standard/extended/dropdown-multilevel/

*/
/*
.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu .dropdown-submenu-right {
    right: auto;
    left: 100%;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}*/


/*پایان کدهای قبلی*/


.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem auto -1rem -1rem;
}


.tblrow-warnin {
    background-color: yellow;
}

.tblrow-crital {
    background-color: red;
}


.accent {
    display: inline-block;
    min-width: 30%;
    font-weight: bolder;
}

.accent-8 {
    display: inline-block;
    min-width: 15%;
    font-weight: bolder;
}

.accent-10 {
    display: inline-block;
    min-width: 10%;
    font-weight: bolder;
}

.accent-12 {
    display: inline-block;
    min-width: 5%;
    font-weight: bolder;
}

/*.dropdown-submenu .dropdown-menu
{
    width:fit-content;
}*/

