html{
    height:100%;
}
body{
    max-height:100%;
    height:100%;
    background-color: #fff;
    font-family: 'Roboto', sans-serif
}
body, html {
    width: 100%;
}
.container{
    max-height:100%;
}
.login-card {
    width: 100%;
    max-width: 420px;
    padding: 15px;
}
.login-header{
    text-align:center;
    padding-top:10px;
    color:white;
    background: #555;
}
.body-content{
    height:100%;
}
.fa-user-circle{
    font-size:60px;
}

.form-control{
  border: 0;
  outline: 0;
  background: transparent;
  border-bottom: 2px solid #ccc;
  border-radius:0;
  color:inherit;
  padding-left:0;
}
.form-control:focus{
    background: transparent;
    color:inherit;
    border-color: #2f61cc;
    box-shadow:none;
    -webkit-box-shadow:none;
}
.navbar-brand{
    width:70px;
    height:auto;
}
.bread-crump .card-header{
    background-color:rgb(142, 136, 136);
    color:white;
}
.btn-link {
    color:#2f61cc;
}
.btn-primary{
    border-color:#2f61cc;
    background-color:#2f61cc;
}
body .btn-primary:hover,.btn-primary:focus,.btn-primary:active{
    border-color:#214eaf !important;
    background-color:#214eaf !important;
    box-shadow:none !important;
    -webkit-box-shadow:none !important;
}
.dataTables_filter {
   text-align: left !important;
}
.modal{
    color:black;
}
label.required::after {
  content: '*';
  margin-left: 4px;
  color: #ff732d;
}
body .wrong-credentials{
    font-size:14px;
}
.alert {
  width: 50%;
  height: auto;
  position: absolute;
  top: 100px;
  left: 23%;
  z-index:100;
  text-align:center;
}

.dataTables_filter label input{
    width: 100%;
    padding: 5px;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;  
}
.form-row .error{
    color:red;
}
.form-group .error{
    color:red;
}
body .modal-content{
    color:black;
    background-color:white;
}
.dataTables_filter label{
    width:100%;
}
table a:hover{
    text-decoration: none;
}
.navbar-dark .navbar-nav .nav-link
{
    color: hsl(0, 0%, 100%);
}
.navbar-dark{
    background:#555;
}

.child .row{
    margin-right:0px !important;
}
.error_field,.error_field_doc{
    color:red;
}
.full-width{
    display: block;
}
.ck-content{
    height:200px !important;
}
.sidebar-mail{
    background-color: #eaeaea;
}
.sidebar-mail li a{
    color:#656565;
}
.sidebar-mail li a:hover, .sidebar-mail li a:focus{
    color:#333;
    text-decoration:none;
}

.flex-column li{
    display:block;
}
@media(min-width:766px){
    .sidebar-mail{
        min-height: calc(100vh - 79px);
    }
}
.info-text{
    border-bottom:1px solid #a5a6ab;
}
.read-mail{
    background: white;
}
.button__badge {
  position:relative;
  background-color: #fa3e3e;
  border-radius: 2px;
  color: white;
  padding: 1px 3px;
  font-size: 10px;
  top: 0;
  right: 0;
}
#commentmodal .form-control{
  border: 0;
  outline: 0;
  background: transparent;
  border-bottom: 1px solid #ccc;
  border-radius:0;
  color:white;
}
#commentmodal .form-control:focus{
  border: 0;
  outline: 0;
  background: transparent;
  border-bottom: 2px solid #2f61cc;
  border-radius:0;
  color:black
}
.dropdown-item:active{
    border-color: #686767 !important;
    background-color: #686767 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
#inbox-class td{
    border:none;
}
#inbox-class tr{
    border-color:transparent;
}
.mailbox{
    padding:0;
}
.read-mail{
    padding:0;
}
.mailbox-name{
    color:#2f61cc !important;
}
.mailbox-attachment {
    color:#2f61cc;
}
.sidebar-header .fa{
    width:20px;
}
.wrap{
    max-width: 106px;
    word-wrap: break-word;
}
#shipments_filter +div{
    width:100%;
    overflow:auto;
}
::placeholder{
    color:#aaa !important;
}

.table th{
    border-top:0;
}
.table-striped tbody tr:nth-of-type(odd){
    background-color: rgba(0,0,0,.03);
}
.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,.05);
}
.modal-footer{
    border-top:none;
}
.modal .dataTables_filter,.modal .dataTables_info{
    margin-left:5px;
}
ul.attachment{
    list-style-type: none;
}
.mailbox-read-message{
    word-wrap:break-word !important;
    overflow:auto;
}

.attachment{
    padding:0px;
}

.attachment li{
    background:#dad5d3;
    padding:5px;
    margin-bottom:5px;
}
.nav-link{
    cursor:pointer;
}

.addshipment .form-row>.col, .form-row>[class*=col-]{
    padding-right:0px;
    padding-left:15px;
}
.home{
    background:white;
}

.navbar {
    min-height:77px;
}

.main-div{
    background: white;
}
.calendar-control .input-group {
    z-index: 1;
}
.calendar-control .input-group-append{
    position: absolute;
    right:0;
    top:0;
}
.calendar-control .input-group-append .input-group-text{
    background: transparent;
    border-color: transparent
}
.calendar-control input:focus + .input-group-append .input-group-text {
    color: #2f61cc;
}
.fa-calendar:before {
    content: "\f073";
}
.btn-icon{
    background: transparent;
    border: 0;
    color:#214EAF;
    padding-left:0px;
}
.details-control{
    cursor:pointer;
}
.child td{
    border-top:2px solid gray;
    border-bottom:2px solid gray;
}

.doc_popup{
    color:#214EAF;
}

.avail{
    font-weight: bold;
    color:green;
}

.avail:hover{
    font-weight: bold;
    color:green;
}
.delete{
    color:#e82828 !important;
}
.multiple_emails-close:before{
    /*content:"*";*/
    font-size:18px;
}
.multiple_emails-ul a:hover{
    text-decoration:none;
}
.box-body{
    padding-left: 15px;
    padding-right: 15px;
}
.page-link{
    color:#214EAF;
}
.page-item.active .page-link{
    background-color:#214EAF;
    border-color:#214EAF;
}
.page-item.active .page-link:hover{
    background-color:#214EAF;
    border-color:#214EAF;
}
.font-mail{
    font-weight:bold;
}
.mailbox-date{
    color:#214EAF;
}
.fa-arrow-left{
    color:white;
    font-size:22px;
}
.no-border{
    border:none;
}

.edit-attach {
    margin-top: 10px;
}

.edit-attach li{
    width: 340px;
}

.edit-attach li{
    background:#dad5d3;
    padding:5px;
    margin-bottom:5px;
}

@media print{@page {size: landscape}}


/* Style the loading container */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8); /* Light background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it is on top of all elements */
    font-family: Arial, sans-serif;
    text-align: center;
}

/* Create the spinner animation */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/* Animation for the spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Optional: Style for the loading text */
.loading-container p {
    margin-top: 15px;
    font-size: 18px;
    color: #3498db;
}

.custom-close-btn {
        width: 16px;
        height: 16px;
        background: transparent;
        border: none;
        font-size: 18px;
        font-weight: bold;
        color: #000;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-close-btn::after {
        content: "×";
    }

    .custom-close-btn:hover {
        color: red;
    }