body{
    background-color: #ffffff;
}
a, button {
    outline: none !important;
}
.label-bold {
    font-size:15px;
    font-weight:600;
}
.bd-navbar {
    background-color: #414E59;  /*/5c99db; */
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
    height:47px;
    min-width: 1000px;
}
#top-header{
    padding-top: 1px !important;
    padding-bottom: 0 !important;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.75);
}
.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255,255,255,1);
}

.navbar.sub-menu .nav-link.active{
    background-color: #f5f5f5;
    border-radius: 5px;
}
.bd-navbar .navbar-nav .nav-link.active {
    font-weight: 600;
}
.navbar-expand .navbar-nav .nav-link{
    
    padding-right: .7rem !important;
    padding-left: .7rem !important;   
}
.nav-pills .nav-link{
    color: #4C7695 !important;
}
.nav-pills .nav-link.active{
    color: white !important;
}


.nav-link.menu-1{
    font-size: 15px !important;
    padding: .5rem 1.3rem !important;
}
.nav-item{
    position: relative; 
}
.nav-tabs{
    border: 0;
}

.nav-item .menu-under{
    display: none;
    position:absolute;
    left:0;
    height:5px;
    width:96%;
    background-color: #eeeeee;
}
.nav-item.active .menu-under{
    display: block;
}
.nav-item:hover .menu-under{
    display: block;
}

/*nav-pills*/
.nav-pills{
    margin-bottom: 0 !important
}
.nav-pills .nav-link{
    font-size:15px;
    margin-right:8px;
}
.nav-pills .nav-link.active{
    background-color: #4C7695;
}
.nav-pills .nav-link.active:hover{
    background-color: #4C7695;
    color : white;
}
.nav-pills .nav-link:hover{
    background-color: #eeeeee;
}

.nav-level-3{
    position: fixed;
    width: 100%;
    margin-top:96px;
    padding: 7px 10px 7px 30px;
    border-bottom: 1px solid rgb(221, 221, 221) !important;
    z-index: 100;
    background-color: white;
    box-shadow: 0 5px 5px -5px #dddddd;
}

.page-content-level-2{
    position:relative;
    float:left;
    width: calc(100% - 28px);
    padding-right: 28px;
    margin-left: 28px;
    height:100%;
    background-color:#ffffff;
    margin-top: 125px;
    margin-left:28px;
    font-size: 14px;
}

.page-content-level-3{
    position:relative;
    float:left;
    width: calc(100% - 28px);
    padding-right: 28px;
    margin-left: 28px;
    height:100%;
    background-color:#ffffff;
    margin-top: 170px;
    margin-left:28px;
    font-size: 14px;
}

#page-content{
    position:relative;
    float:left;
    height:100%;
    background-color:#ffffff;
    margin-top:125px;
    margin-left:28px;
    font-size: 14px;
    margin-bottom: 50px;
}

.mr-md-2, .mx-md-2{
    margin-right: 1.2rem !important;
}
.container-fluid.top-restricted{
    margin-top:30px !important;
}
#body-cnt{
    float:left;
    width:100%;
    min-width:1000px;
}

/*restricted mod*/
#top-restricted{
    position:fixed;
    background-color: #db4e4e;
    height: 30px;
    padding-top:2px;
    width: 100%;
    top: 0;
    z-index: 1000;
    text-align:center;
    color:white;
    font-weight:bold;
    display:none;
}
#body-cnt.top-restricted{
    margin-top:30px;
}
#top-header.top-restricted{
    top: 30px;
}
.mai-sub-header.top-restricted{
    top: 77px;
}
.buttons-bar.top-restricted{
    top: 83px;
}

/*restricted mod*/

#loadingModal{
    display:none;
}
#loadingModal .background{
  background-color: black;
  opacity: 0.4;
}
#loadingModal .spinner{
    position: fixed; 
    top: 300px;
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    width:140px;
    height:140px;
    z-index: 10000;
}

#loadingConfirmModal{
    display:none;
}
#loadingConfirmModal .background{
    background-color: black;
    opacity: 0.4;
}

#loadingConfirmModal .spinner{
    position: fixed;
    top: 300px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width:290px;
    height:182px;
    z-index: 10000;
    background-color: #495865;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #dbdbdb;
}
#loadingConfirmModal .spinner .lds-spinner {
    margin-top: 15px;
}
#loadingConfirmModal .link-stop{
    text-align:center;
    color: white;
    width: 100%;
    margin-top:15px;
}
#loadingConfirmModal .link-stop-cancel{
    text-align:center;
    color: #dddddd;
    width: 85px;
    margin: 18px auto;
}
#loadingConfirmModal .link-stop-cancel a{
    border: 1px solid white;
    border-radius: 2px;
    color: #dddddd;
    padding:2px 6px;
    text-decoration:none;
}
#loadingConfirmModal .link-stop-cancel:hover a{
    color: white;
}

.mai-sub-header {
    position: fixed;
    top: 47px;
    left: 0;    
    z-index: 100;
    width:100%;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    background-color: #E3F2FD; /* A0D1F5  E3F2FD BADCF5;*/
    padding: 12px 0 0 0;
    min-width: 1300px;
}
.container-fluid{
    padding: 0;
}
.container{
    padding: 0 30px;
}
.bd-navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}
.bd-navbar > .container {
    padding: 0 12px;
    max-width:2000px;
    position: relative;
    display: block;
}
.mai-sub-header > .container {
    padding: 0 30px;
    min-width:1050px;
    max-width:2000px;
    position: relative;
}
.nav-link.menu-1 {
    display: block;
    padding: .7rem 1.5rem;
    color:  #444444;
    border: 0;
}

@supports (-ms-ime-align:auto) {
    .nav-link.menu-1:hover {
        background-color: #C9E1F2;
        margin-bottom: 0 !important;
        
    } 
}
@supports not (-ms-ime-align:auto) {
    .nav-link.menu-1:hover {
        background-color: #C9E1F2;
        margin-bottom: 1px !important;
    }    
}


.nav-link.menu-1.active:hover {
    background-color: #ffffff;
}
.dropdown-toggle.custom-toggle.up::after {
    transform: rotate(180deg) !important;
}

.btn-custom-disabled{
    color: white !important;
    background-color: #6c757d !important;
    border-color: #525a60  !important;
    cursor: default !important;
}
.btn-custom-blue{
    color: #444444;
    border-color: #63B7F5;
    padding: .250rem .75rem;
}
.btn-custom-blue.active{
    color: white;
    background-color: #4D90C2;
}
.btn-custom-green{
    color: #444444;
    border-color: #66CC39;
    padding: .250rem .75rem;    
}
.btn-custom-green.active{
    color: white;
    background-color: #59B430;
}
.btn-custom-green.focus{
    box-shadow: 0 0 0 .2rem rgba(0, 255, 0, 0.25);
}
.btn-custom-yellow{
    color: #444444;
    border-color: #ffc107;
    padding: .250rem .75rem;
}
.btn-custom-yellow.active{
    color: black;
    background-color: #ffc107;
}
.btn-custom-yellow.focus{
    box-shadow: 0 0 0 .2rem rgba(255, 238, 0, 0.50);
}

.btn-warning{
    margin-right: 2px;
    padding: .250rem .75rem;   
}

.badge.badge-custom-blue{
    background-color: #4D90C2;
    color: white;
}
.badge.badge-custom-green{
    background-color: #66CC39;
    color: white;
}
.badge.badge-custom-yellow{
    background-color: #ffc107;
    color: #444444;
}

.row{
    margin-right:0 !important;
    margin-left:0 !important;
}
.row .cell{
    float:left;
    margin-right:20px;
}
.custom-toggle {
    color: #555555 !important;
    border:0 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}
.custom-toggle:hover{
    background-color: #eeeeee;
}
.custom-toggle:after {
    color: #444444 !important;
}

.custom-toggle.open:after{
    transform: rotate(180deg);
}
.badge-custom-light{
    color: #212529;
    background-color: #dfeaf6;
}
/*form */
.form-group .form-control{
    line-height: 14px !important;
    font-size: 14px !important;
    height: 26px !important;
    padding: 0 5px;
    text-align: center;
}
.form-group label{
    margin-bottom: 3px !important;
}


.buttons-bar{
    position: fixed;
    right: auto;
    left: 800px;
    top: 53px;   
    z-index: 100; 
    width: 500px;
}

@media all and (min-width: 1000px) {
    .buttons-bar{
        left: auto;
        right: 10px;
        width: auto;
    }
}


.btn-custom{
    width:70px;
    margin-left: 2px;
}

.btn-custom.blue{
    width:70px;
    color: #4D90C2;
    border-color: #4D90C2;
    background-color: white;
}
.btn-custom.blue:hover{
    background-color: #4D90C2;
    color: white;
}
.btn-custom.green{
    width:70px;
    color: #218838;
    border-color: #218838;
    background-color: white;
}
.btn-custom.green:hover{
    background-color: #218838;
    color: white;
}
.btn-custom.red{
    width:70px;
    color: #c82333;
    border-color: #c82333;
    background-color: white;
}
.btn-custom.red:hover{
    background-color: #c82333;
    color: white;
}

.modal-header{
    padding: 0.5rem 1rem;
}
.modal-content{
    font-size:14px;
}

@media (min-height: 500px) {
    .modal-body-scroll {
        height: 500px;
        overflow-y: auto;}
}

@media (min-height: 800px) {
    .modal-body-scroll {
        height: 700px;
        overflow-y: auto; }
}

.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    z-index: 100;
}
.lds-spinner div {
    transform-origin: 32px 32px;
    animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 29px;
    width: 5px;
    height: 14px;
    border-radius: 20%;
    background: #fff;
}
.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}
@keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.user-menu {
    margin-right: -20px;
}
.user-menu i{
    vertical-align: middle;
    font-size:30px !important;
}
#dropdown-user-menu{
    display: block;
    z-index: 1000;
    background-color: #293138;
    width: 220px;
    position: fixed;
    top: -175px;
    right: 10px;
    padding: 5px 10px 2px 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    opacity: 0;
    display: none;
}
#dropdown-user-menu div {
    width: 100%;
}
#dropdown-user-menu a{
    margin-bottom: 4px;
    color: rgba(255,255,255,.75);
}
#dropdown-user-menu a:hover{
    color: rgba(255,255,255,1);
}
.nav-item.with-bottom{
    border-bottom: 1px solid #6f6f6f;
    margin-bottom:5px;
}
#btn-agent-mode{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid #339cff !important;
    min-width: 120px;
    padding-top: 0 !important;
    padding-bottom: 2px !important;
  }
  #btn-internal-mode{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: 1px solid #339cff !important;
    min-width: 120px;
    padding-top: 0 !important;
    padding-bottom: 2px !important;
  }

/* modal style */
.modal-footer{
    display: block !important;
    text-align: right !important;
}
.btn-modal-close{
    float:right;
}
.error404 {

    float: left;
    width: 100%;
    text-align: center;
    margin-top: 100px;
    font-size: 170px;
    text-shadow: 0 1px 0 #dee5e7,0 2px 0 #fcfdfd,0 5px 10px rgba(0,0,0,.125),0 10px 20px rgba(0,0,0,.2);
    color: #fff;
    font-weight: 500;
    line-height: 1.1;
    box-sizing: border-box;
}

 /* stli per old pages */
.btn.blue,
.btn.blue:focus,
.btn.blue:active{
    color: #4C7695;
    background-color:white;
    outline:none;
}
.btn.blue:hover{
    color: white;
    background-color:#4C7695;
    outline:none;
}

.btn-primary{
    background-color: #4C7695 !important;
    padding: .310rem .75rem !important;
}
.btn-primary:hover{
    background-color: #2d6a9f !important;
}
.table td{
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    padding: 3px 3px !important;
    font-size:14px;
}
.table th{
    padding: 5px 8px !important;
}
.centra{
    text-align:center !important;
}
.inte {
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    background-color: #4C7695;
    font-weight: normal;
    color: #ffffff;
    padding: 10px 5px !important;
    min-width: 30px;
    font-size:14px;
}
.bg-primary {
    background-color: #4C7695 !important;
    color: white;
}
.table > thead > tr > td.warning, .table > tbody > tr > td.warning, .table > tfoot > tr > td.warning, .table > thead > tr > th.warning, .table > tbody > tr > th.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td, .table > tbody > tr.warning > td, .table > tfoot > tr.warning > td, .table > thead > tr.warning > th, .table > tbody > tr.warning > th, .table > tfoot > tr.warning > th{
    background-color: #fcf8e3;
}
.table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th{
    background-color: #f2dede;
}
.table > thead > tr > td.success, .table > tbody > tr > td.success, .table > tfoot > tr > td.success, .table > thead > tr > th.success, .table > tbody > tr > th.success, .table > tfoot > tr > th.success, .table > thead > tr.success > td, .table > tbody > tr.success > td, .table > tfoot > tr.success > td, .table > thead > tr.success > th, .table > tbody > tr.success > th, .table > tfoot > tr.success > th {
    background-color: #dff0d8;
}
.popover{
    background-color: white !important;
    min-width:515px !important;
    max-width:515px !important;
    width:515px !important;
}
.input-sm {
    height: 25px !important;
    padding: 2px 5px !important;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.tab-vertical{
    float:left;
    width: 120px;
    margin-top: 0 !important;
}
.tab-vertical .nav-tabs-vertical {
    border-bottom: none;
    border-right: 1px solid #ddd;
    display: flex;
    flex-flow: column nowrap;
}

.tab-vertical .nav-link {
    transition: border-color .125s ease-in;
    white-space: nowrap;
}
.tab-vertical .nav-link:hover {
    background-color: lighten(#ddd, 10%);
    border-color: transparent;
}
.tab-vertical .nav-link.active {
    border-bottom-color: #ddd;
    border-right-color: #fff;
    border-bottom-left-radius: .25rem;
    border-top-right-radius: 0;
    margin-right: -1px;
}
.tab-vertical .nav-link.active:hover {
    background-color: #fff;
    border-color: #0275d8 #fff #0275d8 #0275d8;
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto{
    padding-left: 0 !important;
}

.line25{
    float:left;
    width:30%;
    line-height: 25px;
}
.modal-dialog dd {
    margin-bottom: .5rem;
    margin-left: 0;
    width: 70%;
    float: left;
}
.modal-header-success {
    color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #5cb85c;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
     border-top-left-radius: 5px;
     border-top-right-radius: 5px;
}
.modal-header-warning { 
	color:#333;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #fff7ca;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
     border-top-left-radius: 5px;
     border-top-right-radius: 5px;
}
.modal-header-danger {
	color:#333;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #f2dede;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
     border-top-left-radius: 5px;
     border-top-right-radius: 5px;
}
.modal-header-info {
    color: #333;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #fff;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
     border-top-left-radius: 5px;
     border-top-right-radius: 5px;
}
.modal-title{
    line-height: 1.2;
}

/* datepicker css */

.ui-datepicker {
    background: #4C7695; /* Old browsers */
    font-size:11px;
    padding:10px;
    border:1px solid #fff;
    width: 300px;
}

.ui-datepicker table td {
    text-align:center;
}

.ui-datepicker a {
    cursor:pointer;
    text-decoration:none;
}

.ui-datepicker-prev {
}

.ui-datepicker-next {
    float:right;
}

.ui-datepicker-title {
    text-align: center;
    font-weight:bold;
}

.ui-widget.ui-widget-content{
    border: 2px solid white;
}

.ui-datepicker th {
    padding: .7em .3em;
    text-align: center;
    font-weight: bold;
    border: 0;
    color: #fff;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default{
    border: 1px solid #fff;
    background: #4C7695;
    font-weight: normal;
    color: #fff;
}

a.ui-state-default:hover{
    border: 1px solid white;
    background: #fff;
    font-weight: bold;
    color: black;
}

.ui-state-active, .ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 1px solid white;
    background: #fff;
    font-weight: bold;
    color: black;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {

    background: #fff;
    color: black;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: #d6d87e;
}

.ui-widget-header {
    border: 1px solid #fff;
    background: #4C7695;
    color: #fff;
    font-weight: bold;
}
body .ui-datepicker .ui-datepicker-prev,
body .ui-datepicker .ui-datepicker-next {
    width: 2.6em;
}
.ui-widget-header .ui-icon{
    background-image: url("images/ui-icons_ffffff_256x240.png");
}
body .ui-datepicker .ui-corner-all .ui-state-hover{
    background: #4C7695;
    top: 2px;
}

/* old style */
.ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content{
    background-color: white !important;
    font-weight: normal !important;
    border: 1px solid #bbbbbb !important;
    height: auto !important;
    max-height: 300px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding-bottom:2px;
}
.ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content .ui-menu-item{
    color: #212529 !important;
    font-size:13px !important;
    font-weight: normal !important;
    padding: 2px !important;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important;
}
.ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content .ui-menu-item:hover{
    font-weight: normal !important;
}
.page-item .page-link{
    colorr: #4C7695 !important;
    border-color: #4C7695 !important;
}
.page-item.active .page-link{
    background-color: #4C7695 !important;
    border-color: #4C7695 !important;
}
/* end old style */