.validate_error_class {
    color:red!important;
}
.branch_notification{
    background: #EDF6F0;
}
.branch_white{
    background: white;
}
span{
    font-size:15px;
}
.box{
    padding:0px 0px;
    margin: 2px;
}

.box-part{
    background:#FFF;
    border-radius:6px;
    border:1px solid #00a950;
}
.text{
    margin:20px 0px;
    color:#ed1c24;
}

.view_more{
     color: rgb(174, 36, 91) !important;
    padding-right: 10px;
}
.view_more a {
    color: rgb(174, 36, 91)!important;
}


/* new navbar */

.newnavbar.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    color: #fff;
    /* background: #000; */
    border-left:none;
}
.newnavbar.navbar-dark .navbar-nav .nav-link {
    color: white !important;
    /* border-left:solid 1px #fff; */
    padding:0.55rem 0.75rem;
    font-size: 0.9rem;
    position: relative;
}
@media screen and (max-device-width: 1479px){
  .newnavbar.navbar-dark .navbar-nav .nav-link {
    color: white !important; 
    padding:0.55rem 0.5rem;
    font-size: 0.85rem;
    min-height: auto;
   
}
}
@media screen and (max-device-width: 1200px){
  .newnavbar.navbar-dark .navbar-nav .nav-link {
    color: white !important;
    /* border-left:solid 1px #fff; */
    padding:0.55rem 0.75rem;
    font-size: 0.95rem;
    position: relative;
    border-bottom:solid 1px #2b2b2b;
}
}


/* separator css */
@media screen and (min-device-width: 1201px){
  .newnavbar.navbar-dark .nav-item:not(:last-child):after {
    content: "";
    display: block;
    position: absolute;
    right: -1px;
    width: 1px;
    height:22px !important;
    top:7px;
    background: #B2B2B2;
}
}
.newnavbar.navbar-dark .nav-item:not(:last-child):after {
    content: "";
    display: block;
    position: absolute;
    right: -1px;
    /* top: 15px;
    height: 18px; */
    width: 1px;
    height:22px;
    top:7px;
    background: #B2B2B2;
}
/* separator css end*/



.newnavbar .nav-item.dropdown.active.show{
    background-color: #d24350;
}

.newnavbar.navbar-dark .navbar-nav .nav-item:first-child .nav-link {
    color: white !important;
}

.newnavbar .navbar-nav .dropdown-menu{
  background: #333333 !important;
}

.newnavbar .dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem .6rem;
    clear: both;
    font-weight: normal;
    font-size: 0.85rem;
    color: #fff;
    text-align: inherit;
    white-space: nowrap;
    background: 0 0;
    border-bottom: solid 0.1rem #5a5858;
}
.newnavbar .dropdown-item:last-child {
    border-bottom: none;
}
.dropdown-item:focus, .dropdown-item:hover {
   
    text-decoration: none;
    color:#fff;
    background-color: #d24350 !important;
}
.newnavbar  .dropdown-menu {
    padding:0.3rem 0rem 0rem 0rem;
    border-color:none !important;

}

/* .newnavbar .dropdown-menu {
    box-shadow: none;
    border-color: #333;
    margin:0 0.2rem 0 0 !important;
} */
.newnavbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0rem;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #333;
    border-radius: 0rem;
}

/* .newnavbar .nav-item:last-child .dropdown-menu{
     position: absolute;
    top: 100%;
    left:0px;
} */


@media screen and (min-width:1200px) {
    .newnavbar .dropdown-menu.show {
    display: block;
    max-height:calc(100vh - 170px);
    overflow-y: auto;
    width:auto;
}
}


@media screen  and (max-width:1199px) {
    .newnavbar .dropdown-menu.show {
    display: block;
    max-height:calc(100vh - 170px);
    overflow-y: auto;
    width:100%;
    
}
}

/* .nav-item.dropdown{
  padding: 0.5rem 0.75rem;
} */
.newnavbar .dropdown-menu.show::-webkit-scrollbar {
    width: 6px;
}

.newnavbar .dropdown-menu.show::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgb(52, 58, 64); 
    border-radius: 10px;
    background-color: rgb(52, 58, 64);
}

.newnavbar .dropdown-menu.show::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px #ccc; 
}

/* .newnavbar .dropdown-item:focus, .dropdown-item:hover {
    color: #fff;
    background-color: #333;
} */


/* css for dropdown arrow in small screens */

@media screen and (min-device-width: 992px) and (max-device-width: 1199px){
.newnavbar .dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: 0.45em solid;
    border-right: 0.45em solid transparent;
    border-bottom: 0;
    border-left: 0.45em solid transparent;
    position: absolute;
    right:20px;
    top:10px;
}  
.newnavbar .nav-item.dropdown.active.show .dropdown-toggle::after {
    transform: rotate(180deg);
}  
}

@media screen and (min-width:1200px) {
.newnavbar .dropdown-toggle::after {
    display: none;
}  
}

@media screen and (max-width:991px) {
.newnavbar .dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: 0.45em solid;
    border-right: 0.45em solid transparent;
    border-bottom: 0;
    border-left: 0.45em solid transparent;
    position: absolute;
    right:50px;
    top:10px;
}  
.newnavbar .nav-item.dropdown.active.show .dropdown-toggle::after {
    transform: rotate(180deg);
} 
}
.newnavbar .dropdown-toggle.no-arrow::after {
    display: none;
}  


.newnavbar .navbar-collapse.collapse.show{
    background-color: #343a40;
}

.newnavbar #navbarSupportedContent {
    background: #343a40 !important;
}

  .newnavbar .dropdown-toggle .caret {
      display:none;
  } 

  /* in navitem */
.active-link{
    background-color: #d24350 !important;
}

/* in dropdown-item */
.active-submenu-link{
    background-color: #d24350 !important;
}

@media screen and (min-device-width: 1480px){
    .newnavbar.navbar-dark .navbar-nav .nav-link {
        color: white !important;
        padding: 0.55rem 0.5rem;
        font-size: 0.95rem;
        min-height: auto;
    }
    }
    
    @media screen and (min-device-width: 1480px){
    .newnavbar .dropdown-item {
        display: block;
        width: 100%;
        padding: .25rem 0.6rem;
        clear: both;
        font-weight: normal;
        font-size: 0.92rem;
        color: #fff;
        text-align: inherit;
        white-space: nowrap;
        background: 0 0;
        border-bottom: solid 0.1rem #5a5858;
    }
    }


    @media screen and (max-device-width: 1200px){
        .newnavbar.navbar-dark .navbar-nav .nav-link {
        color: white !important;
        padding: 0.55rem 0.5rem;
        font-size: 0.85rem !important;
        min-height: auto;
        }
        }
        @media screen and (min-device-width: 1201px) and (max-device-width: 1479px) {
            .newnavbar.navbar-dark .navbar-nav .nav-link {
                color: white !important;
                padding: 0.55rem 0.35rem;
                font-size: 0.8rem !important;
                min-height: auto;
            }
            }


            .navbar {
                z-index: 999;
            }
            @media screen and (max-width: 991px){
            .navbar {
                justify-content: left;
            }
            }
            
            @media screen and (max-width: 991px){
            .newnavbar .dropdown-toggle::after {
                display: inline-block;
                width: 0;
                height: 0;
                margin-left: 0.255em;
                vertical-align: 0.255em;
                content: "";
                border-top: 0.45em solid;
                border-right: 0.45em solid transparent;
                border-bottom: 0;
                border-left: 0.45em solid transparent;
                position: absolute;
                right: 45px;
                top: 10px;
            }
            }
            @media screen and (max-width: 575px){
            .newnavbar .dropdown-toggle::after {
                display: inline-block;
                width: 0;
                height: 0;
                margin-left: 0.255em;
                vertical-align: 0.255em;
                content: "";
                border-top: 0.45em solid;
                border-right: 0.45em solid transparent;
                border-bottom: 0;
                border-left: 0.45em solid transparent;
                position: absolute;
                right: 30px;
                top: 10px;
            }
            }
            @media screen and (max-device-width: 991px){
            .newnavbar.navbar-dark .navbar-nav .nav-link {
                color: white !important;
                padding: 0.55rem 1rem;
                font-size: 0.85rem !important;
                min-height: auto;
            }
            .newnavbar .dropdown-item {
                display: block;
                width: 100%;
                padding: 0.55rem 1rem;
                clear: both;
                font-weight: normal;
                font-size: 0.85rem;
                color: #fff;
                text-align: inherit;
                white-space: nowrap;
                background: 0 0;
                border-bottom: solid 0.1rem #5a5858;
            }
            }
            
            @media screen and (max-device-width: 1199px){
                .newnavbar .dropdown-menu {
                position: relative;
                top: 100%;
                left: 0;
                z-index: 1000;
                display: none;
                float: left;
                min-width: 10rem;
                padding: 0rem;
                margin: 0;
                font-size: 1rem;
                color: #212529;
                text-align: left;
                list-style: none;
                background-color: #fff;
                background-clip: padding-box;
                border: 1px solid #333;
                border-radius: 0rem;
            }
            /* .newnavbar .nav-item:last-child .dropdown-menu {
                position: absolute;
                top: 100%;
                left: 0px;
            } */
            }
            
.dropdown-menu, .select2-dropdown {
    z-index: 999999 !important;
}
.modal{
    z-index: 105015;
}

.select2-dropdown{z-index: 105020;}

@media screen and (min-device-width: 1200px) and (max-device-width: 1500px) {
    .newnavbar .nav-item:last-child .dropdown-menu {
       position: absolute;
       top: 100%;
       left:auto;
       right: 0;
   }
   .newnavbar .nav-item:nth-last-child(2) .dropdown-menu  {
       position: absolute;
       top: 100%;
       left:auto;
       right: 0;
   }
   }
   
   @media screen and (max-device-width: 1199px){
   .newnavbar .nav-item:last-child .dropdown-menu {
       position: absolute;
       top: 100%;
       left:0px;
   }
   .newnavbar .nav-item:nth-last-child(2) .dropdown-menu  {
       position: absolute;
       top: 100%;
       left:0px;
   }
   }
   
   @media screen and (min-device-width: 1501px){
    /* .newnavbar .nav-item:last-child .dropdown-menu, .newnavbar .nav-item:nth-last-child(2) .dropdown-menu  {
        left:unset;
        right: 0;
    } */
    .newnavbar .nav-item.rightview .dropdown-menu {
        left:unset;
        right: 0;
    }

   }
