.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}
.app-header{
    background: #20a8d8;
}
.navbar-brand{
    color: white;
    text-transform: uppercase;
    font-weight: 900;
}
.navbar-toggler{
    color: white;
    background-color: white;
}
.order-tabs li{
    padding: 12px 30px;
    background-color: #20a8d8;
}
.order-tabs li a{
    color: white;
}
.order-tabs li.active{
    background-color:#f5302e;;
}
.control-label{
    font-weight: 800!important;
}
#upper_table tr td{
    padding:0px !important;
}
#upper_table tr td button{
    margin: 3px;
}
#upper_table tr td input{
   border: 0px;
}


#lower_table tr td{
    padding:0px !important;
}
#lower_table tr td button{
    margin: 3px;
}
#lower_table tr td input{
   border: 0px;
}

.error .select2-container--default .select2-selection--single {
    border: 1px solid #f5302e !important;
}

.select2-results__option {
    padding-left: 15px !important;
    padding-right: 0px;
}

#order-form .select2-container .select2-selection--single {
    
    height: calc(1.5em + .75rem + 2px) !important ;
}

#order-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height:  33px !important ;
}

#order-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + .75rem + 2px) !important ;
  
}

#order-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    border:  0px !important ;
}
.img-block{
    padding:20px;
}
.img-header{
    padding:20px 0px !important;
}


/* Customize the label (the container) */
#statusModal .container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Hide the browser's default checkbox */
  #statusModal .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 23px;
    background-color:  #1d7d75fa;
  }
  
  /* On mouse-over, add a grey background color */
  .container:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .container input:checked ~ .checkmark {
    background-color: #2196F3;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .container input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .back-btn{
    color: black !important;
  }
.hd-background{
    background-color: #dc3545;
}
.hd-background h4, .hd-background h4 a{
    color: white;
    font-size:15px !important;
}
.app-header{
    padding-left: 20px;
}

.help-block{
    color: red;
}
.star-red{
    color: red;
    margin-left: 5px;
}

@media only screen and (max-width: 600px) {
    .order-tabs li{
        width:50%;
    }
    .order-tabs li:last-child{
        width:100% !important;
    }
    .right-wrap{
        overflow:scroll;
    }
    .logo-div img{
        width: 100%;
    }
    .main .container-fluid {
        padding: 10px !important;
    }
    .loader {
       
        width: 70px !important;
        height: 70px !important;
       
        left: 40% !important;
        bottom: 125px !important;
        display: none;
    }
  }
  .select2-container *:focus {
        outline: none;
    }

    .loader {
        border: 16px solid #f3f3f3;
        border-radius: 50%;
        border-top: 16px solid blue;
        border-right: 16px solid green;
        border-bottom: 16px solid red;
        border-left: 16px solid pink;
        width: 100px;
        height: 100px;
        -webkit-animation: spin 2s linear infinite;
        animation: spin 2s linear infinite;
        position: absolute;
        left: 50%;
        bottom: 125px;
        display: none;
    }
        
      
     
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  
  .sidebar .sidebar-nav {
    position: relative;
    -ms-flex: 1;
    flex: 1;
    width: 217px;
}
