/*ul.errorlist > li {
  display: flex !important;
}
*/

body{
  font-family: 'DM Sans', sans-serif !important;
}

/* RESPONSIVE UI */
@media (max-width: 1292px) {
  .responsive .box-tools {
    display: block;
    width: 100%;
    padding-top: 10px;
  }

  .responsive .box-tools > .input-group .form-inline {
    text-align: left
  }

}

@media (max-width: 940px) {
  .responsive .box-tools,
  .responsive .box-title {
    display: none !important;
  }

  .responsive .responsive-toggle {
    display: block !important;
  }

  .responsive .responsive-toggle .form-inline .input-group{
    display: table;
    width: 100%
  }

}

@media only screen and (min-width:450px) and (max-width:940px){
  .responsive-toggle .form-inline .form-group {
    max-width: 350px;
    margin: 10px auto;
  }
}

.responsive-toggle .form-inline .input-group .input-group-addon, 
.responsive-toggle .form-inline .input-group .input-group-btn{
  width: 1%
}


.responsive-toggle .form-inline .form-group {
  display: block
}

.responsive-toggle .btn-float-right .btn-group .dropdown-menu{
  left:auto !important;
  right: 0 !important
}

.responsive-toggle .btn-float-left .btn-group .dropdown-menu{
  left:0 !important;
  right:auto !important
}

.responsive-toggle .select2-container--default .select2-selection--single, 
.responsive-toggle .select2-selection .select2-selection--single {
  padding: 4px 12px;
  height: 30px;
}

.responsive-toggle .input-group-btn {
  display: table-cell;
}

.responsive-toggle .form-group{
  margin-bottom:10px
}

.responsive-toggle .group-search{
  margin-top: -5px
}

.responsive-toggle .select2-container{
  width: 100% !important;
  display: block !important
}

.responsive-search-category {
  max-width:100%;
  width:calc(100% - 130px);
  overflow:hidden;
  display:inline-block;
}

/* END RESPONSIVE UI */

.dataTables_wrapper{
  overflow: auto
}

.sweet-alert .la-ball-fall {
  top: 60% !important
}

.la-ball-fall > div {
  width: 5px !important;
  height: 5px !important;
  margin: 3px !important;
}

.file-wrapper a {
  vertical-align: middle;
  max-width: 100% !important;
  display: inline-block;
  padding: 0 5px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.btn{
  padding: 4px 8px;
}

.btn.btn-xs {
  padding: 1px 5px;
}
/*Apple style checkbox*/
input[type="checkbox"] {
  position: relative !important;
  appearance: none; 
  -webkit-appearance:none;
  -moz-appearance:none;
  outline: none !important;
  width: 35px;
  height: 20px;
  background-color: #ffffff; 
  border: 1px solid #D9DADC;
  border-radius: 50px; 
  box-shadow: inset -15px 0 0 0 #ffffff;
  transition-duration: 200ms;
}

input[type="checkbox"]:after {
  content: "";
  position: absolute;
  top: 1px; 
  left: 1px;
  width: 16px; 
  height: 16px;
  background-color: transparent;
  border-radius: 50%; 
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.33);
}

input[type="checkbox"]:checked {
  border-color: #4ED164;
  box-shadow: inset 15px 0 0 0 #4ED164;
  outline: none !important
}

input[type="checkbox"]:focus {
  outline: none !important
}

input[type="checkbox"]:checked:after {
  left: 15px;
  box-shadow: -2px 0px 3px rgba(0, 0, 0, 0.17);
}

.switch{
  width:50px;
  border-radius:20px;
  height:30px;
  background:linear-gradient(to bottom left,#fff 40%,#cacaca);
  margin:-10px 10px;
  transition:all .2s ease-in-out;
  box-shadow:inset 0px 0px 1px 2px rgba(0, 0, 0,0.38);
  float: right;
}

.switch-indicator{
  height: 26px;
  width: 26px;
  position: relative;
  top: calc(50% - (26px/2));
  top: -webkit-calc(50% - (26px/2));
  top: -moz-calc(50% - (26px/2));
  top: -o-calc(50% - (26px/2));
  top: -ms-calc(50% - (26px/2));
  margin-left: 1px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow:0px 0px 3px 1px rgba(0,0,0,0.4);
  transition: all .2s linear;
}

.checkbox-wrapped{
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  opacity:0;
  margin:0px;
  width: 100%;
  height: 100%;
}


.abs-position {
	position: relative;
  right: 0;
  left: 0; 
}

.overflow-text-sidebar{
	display: block;
    max-width: 140px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.box-files p{
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}

.new-file-wrapper-main{
  position: absolute;
  top:0;
  right:0;
}

.new-file-wrapper{
  position: relative;
}

.box-new-file{
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.col:after {
  content:' ';
  display: block;
  clear: both;
}

.float{
  position:fixed;
  width:60px;
  height:60px;
  bottom:40px;
  right:40px;
  border-radius:50px;
  text-align:center;
  box-shadow: 2px 2px 3px #999;
  z-index: 99999
}

.my-float{
  margin-top:18px;
}

.approved-badge {
  position: absolute;
  right: -125px;
  background: #8ad919e0;
  top: 35px;
  transform: rotate(45deg);
  padding: 10px;
  width: 400px;
  text-align: center;
  display: none;
  box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.13);
  border: none !important; 
}

.approved-badge > * {
  color: #fff !important; 
}

.approved-badge.in {
  display:block !important; 
}

.approve-status-badge{
  overflow: hidden; 
}

.modal-info {
  margin-bottom: 5px !important;
}

.modal-info:after {
  content: '';
  display: block;
  clear: both !important;
}

.fa-green{
  color: #41e823 !important;
}

.fa-red{
  color: #ff1b1b !important;
}

.modal .table-wrapper {
  overflow-x: auto; 
}

.modal .wrapper-update p {
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal .close{
  margin-top: -21px !important;
}

#qr-container img {
  margin: 0 auto;
  max-width: 100% !important;
}

.print-qr {
  position: absolute;
  top: 0;
  right: 15px
}

.tab-pane{
  padding-top: 20px;
}

ul.errorlist{
  margin-bottom: 0 !important;
}

small.info {
  margin-top: 10px;
  display: block;
  color: #868686;
}

.box-widget {
  box-shadow: 0px 1px 14px 0px rgb(222, 222, 222);
}

#qr-canvas {
  display: none;
}

.upload-qr{
  position: absolute;
  opacity: 0;
  left : 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.table-wrapper {
  overflow-x: auto;
}

.dataTables_wrapper > .row{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#table-list-admin {
  width: 100% !important;
}

#table-list-admin thead tr > th:first-child {
  width: 7%
}

#table-list-admin_paginate,
#table-detail-pr,
#table-detail-po {
  margin-bottom: 20px;
}

input.column_search {
  width:100% !important;
}

.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a>div{
  overflow: hidden;
  text-overflow: ellipsis;
}


/* MODAL MINIMIZEABLE */
.modal-header .btnGrp{
  position: absolute;
  top: 8px;
  right: 10px;
} 

.min{
    width: 300px; 
    height: 40px;
    overflow: hidden !important;
    padding: 0px !important;
    margin: 0px;    
    float: right;  
    position: static !important; 
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.13);
  }

.min .modal-dialog, .min .modal-content{
    height: 100%;
    width: 100%;
    margin: 0px !important;
    padding: 0px !important; 
  }

.min .modal-header{
  height: 100%;
  width: 100%;
  margin: 0px !important;
  padding: 10px 15px !important;
  background-color: #3c8dbc;
  border-color: #367fa9;
  color: #fff;
}

.display-none{display: none}

/*.visibility-hidden{
  visibility: hidden;
}*/

button .fa{
  font-size: 16px;
  margin-left: 2px;
}

.min .fa{
  font-size: 14px; 
}

.min .menuTab{display: none;}

button:focus { outline: none; }

.minmaxCon{
  height: 40px;
  bottom: 1px;
  left: 1px;
  position: fixed;
  right: 1px;
  z-index: 9999;
}

.minmaxCon .modal-title{
  font-size: 16px;
}

.minmaxCon > .min button.close{
  top: -3px !important;
  opacity: 0.6 !important;
  color:#fff !important;
}

button.modalMinimize {
  position: relative;
  left: -30px;
}

.box .overlay {
  display: none;
}

.box .overlay.in {
  display: block !important;
}

.nav-tabs-custom > .tab-content {
  background: #f9f9f9 !important;
}

.sidebar-collapse .user-panel > .image {
  padding: 0px !important;
}

.sidebar-mini .user-panel > .image > img {
  object-fit: cover;
  width : 100px;
  height: 100px;
}

.sidebar-collapse .user-panel > .image > img {
  width : 45px !important;
  height: 30px !important;
}

.user-panel > .image {
  text-align: center;
  padding: 10px 0 20px;
}

.user-panel > .info.relative {
  position: relative;
  left: 0;
}

.user-panel > .image > img {
  max-width: 100%;
  max-height: 100%;
  padding: 5px;
  background: #364048;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  color:#fff;
}
.modal .form-group .select2-container{
  width: 100% !important;
}

.select2-container{
  max-width :100% !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin:1px 5px 0 0
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered{
  position: relative;
  top: 3px
}

.photo a {
  max-width: 300px;
  overflow: hidden;
  display: inline-block;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.box-tools > .input-group .form-control, .input-group-addon, .input-group-btn {
  float: none;
  display: inline-block;
}

.box-tools > .input-group .form-inline {
  text-align: right;
}

.box-tools > .input-group .form-inline.log-btn {
  text-align: left !important;
}

.qr-data img,
.qr-data-vessel img {
  margin: 0 auto !important;
  max-width: 100%;
  max-height: 100%;
}

.qr-content:after {
  display: block;
  content: '';
  margin-bottom: 3em
}

.qr-content h4{
  text-overflow: ellipsis;
  overflow: hidden;
}

.qr-content {
  white-space: nowrap;
}

.chart {
  width: 100%; 
  min-height: 50px;
}

.inline-show-data{
  margin: 10px 0 5px
}

.inline-show-data .inline-select{
  display: inline-block;
  max-width: 100px
}

.small-box>.inner{
  min-height: 112px;
}

.small-box>.inner .label{
  display: inline-block;
  margin-bottom: 3px;
}

.small-box>.inner .sub-type{
  display: block;
  margin-right: 10px;
  padding-right: 5px;
  max-width:100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  height: 30px;
  max-height: 100%;
  scrollbar-color:auto;
  scrollbar-width:thin;
}

.sub-type .sub-type-link{
  cursor: pointer;
}

th.sticky {
  background: white;
  position: sticky;
  position: -webkit-sticky;
  top: -12px;
  box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.07);
  z-index: 99;
}

.table-responsive{
  overflow-y: auto !important;
}

@media (min-width: 981px){
::-webkit-scrollbar {
    width: 15px;
    height: 5px;
    box-shadow: inset 0 0 9px rgba(0,0,0,.23);
}
@media (min-width: 981px){
::-webkit-scrollbar-thumb {
    background: #0095c9;
}
@media (min-width: 981px){
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0;
    border-radius: 0;
}

input[type="checkbox"][readonly] {
  pointer-events: none;
}

input[type="checkbox"][readonly] + label {
  pointer-events: none;
}

input[type="checkbox"][readonly]:hover,
input[type="checkbox"][readonly] + label:hover {
  cursor:not-allowed;
}



