body { font-family: 'Roboto', sans-serif; font-weight: 400; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Roboto', sans-serif; font-weight: 700; }
.navbar-brand { font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.content-header h1 {display:inline-block;}
.m-0 {margin:0;} .mb-0 {margin-bottom:0;} .mb-5{margin-bottom:5px;}
.opacity_7 { opacity:0.7; } .opacity_7:hover { opacity:1; }

.login-logo small { font-size: 18px !important; } .login-logo { line-height: 35px !important; } 
.bg-light .badge{background:#fff; color:#000;} .label-dark { background-color: #181C32; } .label-light, .bg-light { background-color: #777; }
.input-group-addon { background-color: #eee !important; }

.alert-warning-custom { color: #8a6d3b; background-color: #fcf8e3; border-color: #faebcc; }
.alert-warning-custom hr { border-top-color: #f7e1b5; }
.alert-warning-custom .alert-link { color: #66512c; }
.alert-info-custom { color: #31708f; background-color: #d9edf7; border-color: #bce8f1; }
.alert-info-custom .alert-link { color: #245269; }
.alert { margin-bottom: 10px; padding: 10px; }
.alert-dismissible { padding-right: 35px; }

.panel-info { font-weight: 600; color:#fff; }
.panel-info p { margin-bottom:0px; }

/* datatable */
div.dataTables_wrapper div.dataTables_paginate {float:none!important; text-align:center!important;}
div.dataTables_wrapper .text-right div.dataTables_paginate {float:right!important;}
/* div.dataTables_wrapper { width: 1400px; margin: 0 auto; } */
/* datatable plus-minus button */
.dt_search_input { font-weight:normal!important; width: 100%; padding: 6px 12px; font-size: 14px; line-height: 30px; color: #555; background-color: #fff; border: 1px solid #ccc; height: 30px; min-height: 32px; font-size: 13px; padding: 5px 10px; }
.dt_search_input:hover, .dt_search_input:active, .dt_search_input:focus { border-color: #3c8dbc; box-shadow: none; outline:none; }
div.dataTables_wrapper .disabled {cursor: not-allowed; background-color: #eee; opacity: 1;}
/* datatable plus-minus button */
td.details-control { background: url('../img/details_open.png') no-repeat center center; cursor: pointer; }
tr.shown td.details-control { background: url('../img/details_close.png') no-repeat center center; }
/* datatable header */
.table thead tr th {white-space: nowrap; overflow:hidden;}
/* table.dataTable tbody td { word-break: break-word; vertical-align: top; } */
/* .table-column-header{ white-space:nowrap; overflow:hidden; } */
.action_tab form {display:inline!important;}
.action_tab .btn {padding:3px 5px; }
.action_tab .btn i {width:16px; height:16px; text-align:center;}
/* datatable selected */
.table thead tr th {white-space: nowrap;}
.table tbody .selected td { background-color: #AAB7D1 !important;}
.table tbody .bg-white td {background:#ffffff;}
/* datatable colvish */
.dt-button-collection .dt-button.buttons-columnVisibility { background: none !important; background-color: transparent !important; box-shadow: none !important; border: none !important; padding: 0.25em 1em !important; margin: 0 !important; text-align: left !important; }
.dt-button-collection .buttons-columnVisibility:before, .dt-button-collection .buttons-columnVisibility.active span:before { display:block; position:absolute; top:1.2em; left:0; width:12px; height:12px; box-sizing:border-box; }
.dt-button-collection .buttons-columnVisibility:before { content:' '; margin-top:-8px; margin-left:10px; border:1px solid black; border-radius:3px; }
.dt-button-collection .buttons-columnVisibility.active span:before { font-family: 'Arial' !important; content:'\2714'; margin-top: -15px; margin-left: 12px; text-align: center; text-shadow: 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff; }
.dt-button-collection .buttons-columnVisibility span { margin-left:17px; }
th { vertical-align: middle!important; }

/* fieldset { margin-bottom:10px;} */
/* fieldset legend { font-size:16px; margin-bottom:5px; font-weight:bold;} */
/* .mycustom a .data-box { display: block; background: #fff; width: 100%; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); border-radius: 2px; margin-bottom: 15px; opacity:0.7;} */
/* .mycustom a .data-box:hover {opacity:1;} */
/* .mycustom a .data-box-content { padding: 5px 10px; } */
/* .mycustom a .data-box-text { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color:#000;} */
/* .mycustom a .data-box-link {font-weight:normal!important; padding:0px; margin:0px;} */
/* .mycustom a .data-box-number {display: block; font-weight: bold; font-size: 18px; color:#000;} */
/* .mycustom a .data-box:hover .data-box-link i{font-weight:bold!important;} */

fieldset { margin-bottom:10px;}
fieldset legend { font-size:16px; margin-bottom:5px; font-weight:bold;}
.mycustom .data-box { display: block; width: 100%; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); margin-bottom: 15px; opacity:0.7;}
.mycustom .data-box:hover {opacity:1;}
.mycustom .data-box-number,
.mycustom a .data-box-text {background: #fff; border-radius: 5px; padding: 3px 10px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);}
.mycustom .data-box-number {position:relative; display: block; font-weight: bold; font-size: 16px; color:#000; border-bottom:1px solid lightgray;}
.mycustom .data-box-number {border-bottom-right-radius:0px; border-bottom-left-radius:0px;}
.mycustom a .data-box-text {border-top-right-radius:0px; border-top-left-radius:0px;}
.mycustom .data-box-number .btn {position:absolute; right:0; color:gray; z-index:1001;}
.mycustom a .data-box-text {position:relative; display: block; }
.mycustom a .data-box-text span { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color:#000;}
.mycustom a .data-box-text .data-box-link {position:absolute; right:7px; font-weight:normal!important; padding:0px; margin:0px;}
.mycustom .data-box:hover .mycustom a .data-box-text .data-box-link i{font-weight:bold!important;}
.mycustom .data-box:hover .data-box-number .btn {display:inline-block!important;}

.custom-well { min-height: 20px; margin-bottom:5px; padding: 4px 4px; border-radius: 4px; border: 1px solid #e5e5e5; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); color:#fff; }
.custom-well h5 {margin-bottom:7px;}

.summary-box h4 { border-bottom:1px solid #d5d5d5; margin-top:0;}
.summary-box .summary-header, 
.summary-box .summary-detail-box  {margin-left:10px; padding:4px;}
.summary-box .summary-detail-box { max-height:200px; overflow-y:auto; overflow-x:hidden; border:1px solid #d5d5d5; background:#fff;}

.select_box { display: block; width: 100%; height: 34px; padding: 6px 12px; font-size: 14px; line-height: 1.42857143; color: #555; background-color: #fff; background-image: none; border: 1px solid #ccc; cursor:pointer; }
.select_box input { opacity: 0; }
.select_box span { font-weight:normal; }
.select_box:hover { border-color: #3c8dbc; box-shadow: none; outline:none; }

.well-sm {margin-bottom:0px;}
.well-sm .label-primary { display:inline-block; }
.timeline > li > .timeline-item > .timeline-header { font-weight :normal; font-size:small; }

.switch { position: relative; display: inline-block; width: 40px; height: 20px; }
/* Hide default HTML checkbox */
.switch input { opacity: 0; width: 0; height: 0; }
/* The slider */
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; -webkit-transition: .3s; transition: .3s; }
.slider:before { position: absolute; content: ""; height: 15px; width: 15px; left: 3px; bottom: 3px;  background-color: white; -webkit-transition: .3s; transition: .3s; }
input:checked + .slider { background-color: #dd4b39; }
input:focus + .slider { box-shadow: 0 0 1px #dd4b39; }
input:checked + .slider:before { -webkit-transform: translateX(20px); -ms-transform: translateX(20px); transform: translateX(20px); }
/* Rounded sliders */
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }
.timeline > .time-label > span { font-weight: bold; font-size:12px; padding: 2px 4px; }
/* https://gist.github.com/kanakiyajay/15e4fc98248956614643 */
@media (min-width: 768px) {
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1  {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1 {
    width: 14.285714285714285714285714285714%;
  }
}

@media (min-width: 1200px) {
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1 {
    width: 14.285714285714285714285714285714%;
  }
}
@media (max-width: 767px) { /* .hidden-xs { display: none !important; } */
	.text-right-my { text-align: right; }
}
@media (min-width: 768px) and (max-width: 991px) { /* .hidden-sm { display: none !important; } */
	.text-right-my { text-align: right; }
}
@media (min-width: 992px) and (max-width: 1199px) { /* .hidden-md { display: none !important; } */
	.text-right-my { text-align: center; }
}
@media (min-width: 1200px) { /* .hidden-lg { display: none !important; } */
	.text-right-my { text-align: center; }
}
/************************* header search
.navbar-custom-form { display:inline-block; } .navbar-custom-form { padding: 10px 15px; margin-top: 8px; margin-right: -15px; margin-bottom: 8px; margin-left: -15px; border-top: 1px solid transparent; border-bottom: 1px solid transparent; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); } @media (min-width: 768px) { .navbar-custom-form .form-group { display: inline-block; margin-bottom: 0; vertical-align: middle; } } @media (max-width: 767px) { .navbar-custom-form .form-group { margin-bottom: 5px; } .navbar-custom-form .form-group:last-child { margin-bottom: 0; } } @media (min-width: 768px) { .navbar-custom-form { width: auto; padding-top: 0; padding-bottom: 0; margin-right: 0; margin-left: 0; border: 0; -webkit-box-shadow: none; box-shadow: none; } }
*/