/* *********  For the King  **************************** */
img { /*filter: gray; !* IE6-9 *!*/ /*filter: grayscale(1); !* Microsoft Edge and Firefox 35+ *!*/ /*-webkit-filter: grayscale(1); !* Google Chrome, Safari 6+ & Opera 15+ *!*/ }

/* Disable grayscale on hover */
img:hover { /*filter: none;*/ /*-webkit-filter: grayscale(0);*/ }

/* *********  For the King  **************************** */
h1, h2, h3, h4 { color: #73879C; }

label { color: #73879C; }

.margin-bottom-small { margin-bottom: 10px; }

.margin-top { margin-top: 20px !important; }

.no-border-bottom { border-bottom: 0 !important; }

.no-border-left { border-left: 0 !important; }

.no-border-right { border-right: 0 !important; }

.no-border-top { border-top: 0 !important; }

.no-margin-bottom { margin-bottom: 0 !important; }

.no-padding-bottom { padding-bottom: 0 !important; }

.no-size { width: 0 !important; height: 0 !important; }

/* Button */
.btn-left-space { margin-left: 10px; }

.form-group-button-without-label { margin-top: 25px; }

/* Color */
.alert > .white-text, .callout > .white-text { color: #ffffff; }

/* Content */
.content-wrapper { background-color: #F7F7F7; }

/* Date picker */
.datepicker.dropdown-menu { z-index: 1200 !important; }

/* Form group */
.form-group-middle { padding-top: 6px; }

/* Left menu */
.back-navigation-bar-button { position: fixed; font-size: 16px; font-weight: 500; height: 50px; padding: 15px; }

/* *********  For the King  **************************** */
.back-navigation-bar-button > a { /*color: white;*/ }

/* *********  For the King  **************************** */
@media (max-width: 767px) { .fixed .content-wrapper { padding-top: 50px; }
  .main-sidebar, .left-side { padding-top: 50px; }
  .main-header .logo { height: 0; } }

.sidebar-mini.sidebar-collapse .no-left-sidebar, .sidebar-mini.sidebar-collapse .main-header .no-left-sidebar { margin-left: 0 !important; }

/*.sidebar-expanded-on-hover {*/
/*height: 50px;*/
/*}*/
/* Modal */
.modal-content { border-radius: 6px; }

/* File upload */
.fileupload { position: relative; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 3px; background: rgba(0, 0, 0, 0.02); padding: 1em; }

/* Modal - error page */
.error-page > .headline { margin-top: 0; }

.code-page > .headline { float: left; font-size: 100px; font-weight: 300; margin-bottom: 10px; margin-top: 0; width: 100%; }

.code-page > .title { font-size: 25px; font-weight: 300; margin-top: 0; margin-bottom: 20px; }

.code-page > .content { margin-bottom: 20px; }

/* New line */
.hr-bottom { border-bottom: 1px solid #f4f4f4; margin-bottom: 10px; padding-bottom: 15px; }

.hr-bottom-no-space { border-bottom: 1px solid #f4f4f4; }

.hr-top { border-top: 1px solid #f4f4f4; padding-top: 10px; }

/* *********  Media gallery  **************************** */
.col-md-55 { width: 50%; margin-bottom: 10px; }

@media (min-width: 768px) { .col-md-55 { width: 20%; } }

@media (min-width: 992px) { .col-md-55 { width: 20%; } }

@media (min-width: 1200px) { .col-md-55 { width: 20%; } }

@media (min-width: 192px) and (max-width: 1270px) { table.tile_info span.right { margin-right: 7px; float: left; } }

.col-md-55 { position: relative; min-height: 1px; float: left; padding-right: 10px; padding-left: 10px; }

.blueimp-gallery > .title { margin-top: 20px; }

/* Theme */
.thumbnail .image { max-width: 100%; max-height: 120px; height: inherit !important; overflow: hidden; }

.caption { padding: 9px 5px; }

.caption p { margin-bottom: 5px; }

.thumbnail { height: 190px; overflow: hidden; margin-bottom: 5px; }

.view { overflow: hidden; position: relative; text-align: center; -webkit-box-shadow: 1px 1px 2px #e6e6e6; box-shadow: 1px 1px 2px #e6e6e6; cursor: default; }

.view .mask, .view .content { position: absolute; width: 100%; height: 100%; overflow: hidden; top: 0; left: 0; }

.view img { display: block; position: relative; margin: auto; }

.view .tools { text-transform: uppercase; color: #fff; text-align: center; position: relative; font-size: 17px; padding: 3px; background: rgba(0, 0, 0, 0.35); margin: 44px 0 0 0; }

.mask.no-caption .tools { margin: 90px 0 0 0; }

.view .tools a, .view .tools button { display: inline-block; color: #FFF; font-size: 18px; font-weight: 400; padding: 0 4px; }

.view p { font-family: Georgia, serif; font-style: italic; font-size: 12px; position: relative; color: #fff; padding: 10px 20px 20px; text-align: center; }

.view a.info { display: inline-block; text-decoration: none; padding: 7px 14px; background: #000; color: #fff; text-transform: uppercase; -webkit-box-shadow: 0 0 1px #000; box-shadow: 0 0 1px #000; }

.view-first img { -webkit-transition: all 0.2s linear; transition: all 0.2s linear; }

.view-first .mask { opacity: 0; background-color: rgba(0, 0, 0, 0.5); -webkit-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; }

.view-first .tools { -webkit-transform: translateY(-100px); transform: translateY(-100px); opacity: 0; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }

.view-first p { -webkit-transform: translateY(100px); transform: translateY(100px); opacity: 0; -webkit-transition: all 0.2s linear; transition: all 0.2s linear; }

.view-first:hover img { -webkit-transform: scale(1.1); transform: scale(1.1); }

.view-first:hover .mask { opacity: 1; }

.view-first:hover .tools, .view-first:hover p { opacity: 1; -webkit-transform: translateY(0px); transform: translateY(0px); }

.view-first:hover p { -webkit-transition-delay: 0.1s; transition-delay: 0.1s; }

/* *********  /Media gallery  **************************** */
/* Navigation bar */
.main-header li.user-header { background-color: #888 !important; }

/* Profile */
.profile-username { color: inherit; }

/* select2 */
.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single { padding: 6px 12px 6px 12px; }

/* Tab */
.nav-tabs { /*background-color: rgba(245, 247, 250, 1);*/ }

.nav-tabs-custom > .nav-tabs > li > a { color: #5A738E; }

.nav-tabs-custom > .nav-tabs > li > a:hover { color: #2A3F54; }

/* Table */
table { border: 1px solid rgba(221, 221, 221, 0.78); }

/*table thead { background: rgba(52, 73, 94, 0.94); color: #ECF0F1; }*/
table tbody th { background: rgba(245, 245, 245, 0.9) !important; border-color: rgba(200, 200, 200, 0.15) !important; vertical-align: middle !important; }

table tbody tr.no-hover:hover, table tbody tr.no-hover:hover td { background: transparent !important; }

table tbody tr:hover td { background: rgba(38, 185, 154, 0.07); border-top: 1px solid rgba(38, 185, 154, 0.11); border-bottom: 1px solid rgba(38, 185, 154, 0.11); }

table tbody tr:hover .td-d, table tbody tr:hover .td-d-m, table tbody tr:hover .td-e, table tbody tr:hover .td-e-m, table tbody tr:hover .td-l, table tbody tr:hover .td-l-m, table tbody tr:hover .td-v, table tbody tr:hover .td-v-m { cursor: pointer; /* hand cursor */ }

table tbody tr.selected { background: rgba(38, 185, 154, 0.16); }

table tbody tr.selected td { border-top: 1px solid rgba(38, 185, 154, 0.4); border-bottom: 1px solid rgba(38, 185, 154, 0.4); }

/** Table - error message */
.error-message { margin: 20px 0; }

th { text-align: center; }

.header-address-description { min-width: 100px; }

.header-address-type { min-width: 20px; }

.h-add-credit-button { width: 140px; }

.h-branch { min-width: 30px; }

.h-branches { min-width: 200px; }

.h-button { width: 29px; }

.h-id-card { min-width: 40px; }

.header-contract-type { min-width: 50px; }

.h-checkbox { width: 80px; }

.h-money { width: 45px; }

.h-money-large { width: 120px; }

.h-print-in-contracts {
  width: 150px;
}

.h-date { width: 75px; }

.h-full-name { min-width: 100px; }

.header-first-name, .header-last-name { min-width: 50px; }

.h-nickname { min-width: 50px; }

.header-loan-condition-type { min-width: 50px; }

.header-loan-type-bad-dept { min-width: 30px; }

.header-loan-type-bu { min-width: 15px; }

.header-loan-type-closing { min-width: 30px; }

.header-loan-type-other { min-width: 30px; }

.header-loan-type-other-description { min-width: 100px; }

.header-loan-type-p, .header-loan-type-t { min-width: 10px; }

.h-no { width: 10px; }

.h-receipt-no { width: 100px; }

.h-renewal-sequence { width: 60px; }

.h-roles { min-width: 200px; }

.header-remark { width: 400px; }

/*.h-tag {*/
/*min-width: 20px;*/
/*}*/
.h-status { width: 50px; }

.h-username { min-width: 100px; }

.c-c { /* center */ text-align: center; }

.c-checkbox { text-align: center; }

.c-money { text-align: right; }

.c-date { text-align: center; }

.c-nowrap { white-space: nowrap; }

.c-r { /* right */ text-align: right; }

.c-receipt-fill { background-color: #B6F8D0 !important; }

/** Table - fullcalendar **/
.fc-body tr:hover td { background: transparent !important; }

.fc-body tr:hover td.fc-today { background: #fcf8e3 !important; }

.fc-body tr:hover td.fc-nonbusiness { background: #d7d7d7 !important; }

/* Text area */
textarea { resize: none; /* user can resize vertically, but width is fixed */ }
