/*
  Seed CSS untuk semua project.
  Harus selalu include css ini di header!
*/

/* Reset */

* {
	outline: none !important;
}

body.body-login {
	color: #252f42;
}

body {
	position: relative;
	font-size: 13px;
}

/* Login */

.login-wrapper {
	height: 100vh;
	position: relative;
	width: 100%;
	background: #222e44;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.login {
	width: 500px;
	background: white;
	padding: 40px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.login-form input {
	border: 2px solid #eee;
	background: transparent;
	padding: 15px;
	width: 100%;
	font-size: inherit;
	margin-bottom: 10px;
}

.login-submit {
	border: none;
	background: #64b899;
	color: white;
	margin: 0;
	padding: 15px;
	width: 100%;
	font-size: 16px;
	cursor: pointer;
	font-weight: bold;
}

.login, .login-form input, .login-submit {
	border-radius: 3px;
}

.login-title {
	text-transform: uppercase;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 30px;
	font-size: 32px;
	font-family: Helvetica, Arial;
}

.forgot-password {
	margin-top: 20px;
	text-align: center;
	text-decoration: underline;
}

.forgot-password a {
	color: inherit;
}

.login-form .invalid, form .invalid {
	color: #e62154;
	font-style: normal;
	font-size: 13px;
	display: block;
}

.login-form .invalid {
	margin-top: -5px;
}

.custom-form .invalid {
	margin-top: 5px;
}

/* SWAL Override */

.swal2-container [aria-labelledby] {
	opacity: 1;
}
.swal2-container.swal2-shown{
	z-index: 9999;
}

/* Datatables */

.custom-dt .dataTables_processing {
	position: absolute;
	top: 30px;
	right: 30px;
	color: #00bed6;
}
.custom-dt .fa-spinner {
	font-size: 18px;
}
.custom-dt table{
	width: 100% !important;
}

#dataTable input.filter-this::placeholder {
	color: #999;
}

.custom-dt .dataTables_info {
	display: flex;
	flex: 1;
}

.custom-dt th {
	cursor: pointer;
}

.dataTables_length, .dataTables_paginate {
	display: block;
}

.custom-dt .dataTables_length {
	margin-bottom: 30px;
}

.custom-dt .dataTables_length label {
	display: block;
}

.custom-dt .dataTables_length select {
	max-width: 50px;
	display: inline-block;
}


.custom-dt .pagination {
	margin: 0;
	-ms-flex-wrap: wrap!important;
	flex-wrap: wrap!important;
	-webkit-box-pack: end!important;
	-ms-flex-pack: end!important;
	justify-content: flex-end!important;
}

.custom-dt li.page-item {
	margin-right: 5px;
}

.custom-dt ul.pagination li a.page-link {
	padding: 0.67143rem 1.07143rem !important;
	border-color: #e1eaea !important;
	color: #555;
	border-radius: 4px;
	text-align: center;
	border: solid 1px transparent;
	transition: all .3s ease;
	font-size: 12px;
}

.custom-dt ul.pagination li.active a.page-link {
	border-color: #1cc9e4 !important;
	background-color: #1cc9e4 !important;
	color: white !important;
}

select.filter-this, select.nondt-filter{
	height: 41px !important;
}
th.th-action {
	width: 140px !important;
}
th.delete-all{
	display: none;
}
.btn-action{
	margin: 0 2px;
}
.btn-utility a{
    margin-right: 5px;
    font-size: 13px;
}
.btn-utility{
    flex-wrap: wrap;
    //margin-bottom: 30px;
}
.dt-thumbs{
	max-height: 35px;
    border-radius: 3px;
}

table.has-columns-hidden{
	line-height: 2;
}
table.has-columns-hidden span.responsiveExpander::before{
	content: "+";
}
table.has-columns-hidden span.responsiveExpander{
    background: #56bbd1 !important;
    color: white;
    padding: 1px 8px !important;
    font-size: 18px;
    font-weight: 600;
    margin-right: 10px;
}

table.has-columns-hidden>tbody>tr.row-detail>td>ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

table.has-columns-hidden>tbody>tr.row-detail>td>ul>li>span.columnTitle {
	font-weight: 600;
}

.row-detail .sorting {
	display: none !important;
}

table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
	cursor: pointer;
	position: relative;
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
	right: 0.5em;
	bottom: 1em;
	content: "\e90d";
	font-family: 'hs-admin-icons';
	font-size: 12px;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
	position: absolute;
	display: block;
	opacity: 0.3;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before {
	right: 0.5em;
	bottom: 1.9em;
	content: "\e910";
	font-family: 'hs-admin-icons';
	font-size: 12px;
}

table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:after {
	opacity: 1;
}

@media (max-width: 576px) {
	.custom-dt ul.pagination li.first, .custom-dt ul.pagination li.last {
		display: none;
	}
}
@media (max-width: 991px) {
	.btn-utility{
		justify-content: flex-start !important;
		margin-bottom: 15px;
	}
	.btn-utility a{
		margin-bottom: 5px;
	}
}

.custom-dt ul.pagination li a.page-link:hover {
	border-color: #1cc9e4;
	color: #e62154;
}

/* Form */

span.required {
	color: #e62154;
}

.form-control {
	font-size: 13px;
}

/* Cropper */

.crop-modal {
	background: rgba(0, 0, 0, .7);
}

.crop-modal .modal-content {
	border: none;
	border-radius: 5px;
	z-index: 999;
}

/* Content */

.img-container, .img-container-pro, .img-preview, .img-preview-pro {
	background-color: white;
	overflow: hidden;
	width: 100%;
	text-align: center;
}

.img-preview{
	max-width: 230px;
}

.img-container, .img-container-pro {
	height: 350px;
	margin-bottom: 20px;
}

.img-container>img, .img-container-pro>img {
	max-width: 100%;
}

.docs-preview {
	margin-right: -15px;
	margin-bottom: 10px;
}

.img-preview, .img-preview-pro {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

.img-preview>img, .img-preview-pro>img {
	max-width: 100%;
}

.preview-lg {
	width: 263px;
	height: 148px;
}

.preview-md {
	width: 139px;
	height: 78px;
}

.preview-sm {
	width: 69px;
	height: 39px;
}

.preview-xs {
	width: 35px;
	height: 20px;
	margin-right: 0;
}

.docs-data>.input-group {
	margin-bottom: 10px;
}

.docs-data>.input-group>label {
	min-width: 80px;
}

.docs-data>.input-group>span {
	min-width: 50px;
}

.docs-buttons>.btn, .docs-buttons>.btn-group, .docs-buttons>.form-control {
	margin-right: 5px;
	margin-bottom: 10px;
}

.docs-toggles>.btn, .docs-toggles>.btn-group, .docs-toggles>.dropdown {
	margin-bottom: 10px;
}

.docs-tooltip {
	display: block;
	margin: -6px -12px;
	padding: 6px 12px;
}

.docs-tooltip>.icon {
	margin: 0 -3px;
	vertical-align: top;
}

.tooltip-inner {
	white-space: normal;
}

.btn-upload .tooltip-inner {
	white-space: nowrap;
}

@media (max-width: 400px) {
	.btn-group-crop {
		margin-right: -15px!important;
	}
	.btn-group-crop>.btn {
		padding-left: 5px;
		padding-right: 5px;
	}
	.btn-group-crop .docs-tooltip {
		margin-left: -5px;
		margin-right: -5px;
		padding-left: 5px;
		padding-right: 5px;
	}
}

.docs-options .dropdown-menu {
	width: 100%;
}

.docs-options .dropdown-menu>li {
	padding: 3px 20px;
}

.docs-options .dropdown-menu>li:hover {
	background-color: #f7f7f7;
}

.docs-options .dropdown-menu>li>label {
	display: block;
}

.docs-cropped .modal-body {
	text-align: center;
}

.docs-cropped .modal-body>img, .docs-cropped .modal-body>canvas {
	max-width: 100%;
}

.jcroppperlabel {
	margin-bottom: 5px;
}

.add-image-preview {
	overflow: hidden;
	margin-bottom: 10px;
	border-radius: 100%;
	max-width: 300px;
}

.img-preview-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.image-file {
	margin: 0px 0 15px 0;
	border: 1px dashed #e0e0e0;
	background-color: #f5f5f5;
	padding: 7px;
	width: 100%;
}

/* Loading */

.loading-box {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #222e44;
	opacity: .9;
	display: none;
	height: 100%;
	width: 100%;
	z-index: 10000;
}

.loading-inner {
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.lds-ripple {
	display: inline-block;
	position: relative;
	width: 64px;
	height: 64px;
}

.lds-ripple div {
	position: absolute;
	border: 4px solid #fff;
	opacity: 1;
	animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
	border-radius: 50%;
}

.lds-ripple div:nth-child(2) {
	animation-delay: -0.5s;
}

@keyframes lds-ripple {
	0% {
		top: 48px;
		left: 48px;
		width: 0;
		height: 0;
		opacity: 1;
	}
	100% {
		top: -1px;
		left: -1px;
		width: 98px;
		height: 98px;
		opacity: 0;
	}
}

/* Helper */

.helper i {
	cursor: pointer;
	margin-right: 10px;
}

/* Advanced search */

#search-body {
	padding: 20px;
	background: rgb(37, 47, 66);
	color: white;
}

.adv-search-form-header a {
	border-radius: 0;
}

/* Custom select2 */

.custom-aria [aria-labelledby] {
	opacity: 1;
}

.custom-select2 .select2-selection--single .select2-selection__rendered {
	line-height: 40px !important;
}

.custom-select2 .select2-selection--multiple .select2-selection__rendered {
	padding: 4px 10px 0 10px;
    margin-top: 2px;
}

.custom-select2 .select2-selection {
	min-height: 40px !important;
}

.custom-select2 .select2-container--default .select2-selection--multiple .select2-selection__choice {
	border-radius: 26px;
	background: #1cc9e4;
	color: white;
	border: none;
	padding: 3px 6px;
	margin: 0px 8px 0 -3px;
}

.custom-select2 .select2-container .select2-search--inline .select2-search__field {
	margin-top: 3px !important;
}

.custom-select2 .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: white;
	margin-right: 5px;
}

.custom-select2 .select2-selection, .custom-select2 .select2-container--default.select2-container--focus .select2-selection--multiple {
	border: 1px solid #ccc;
}

.custom-select2 .select2-selection__arrow {
	height: 40px !important;
}
.custom-select2 .select2-container{
	width: 100% !important;
}

/* Is Active */
.active-true{
	color: teal;
}
.active-false{
	color: crimson;
}

/* Profile Menu */
#profileMenu{
	min-width: 150px;
}

/* Modal box untuk btn-action view */
#log-modal, #tools-modal{
	display: none;
	overflow-x: auto;
}

/* Placeholder */
.form-control::placeholder {
    color: #999;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #999;
}

.form-control::-ms-input-placeholder {
    color: #999;
}

.img-preview-square{
	border-radius: 0 !important;
}
.img-responsive{
	max-width: 100%;
}

/* Modal Box Bootstrap */
.custom-modal{
	background: rgba(0,0,0,.8) !important;
}
.custom-modal .modal-content{
	border: none;
    border-radius: 0;
}

/* Disabled */
.disabled-select {
    background-color: #d5d5d5;
    opacity: 0.5;
    border-radius: 3px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 10;
}

.form-control:disabled, .form-control[readonly], .flatpicker-custom[disabled], .disabled-select {
    cursor: not-allowed;
}
.th-action-180{
    width: 180px !important;
}


/* Thinner Navbar */
.navbar {
  max-height: 40px;
}
.navbar .u-header-logo-toggler {
  height: 40px;
}
.navbar .u-header-logo-toggler .navbar-brand {
  height: 34px;
}
.navbar .u-header-logo-toggler .navbar-brand img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.navbar [class*=col-] {
  height: 40px;
}
.navbar .custom-select2 {
  padding-top: 2px !important;
}
.navbar .custom-select2 .select2-selection {
  min-height: 30px !important;
}
.navbar .select2-container .select2-selection--single {
  height: 30px;
}
.navbar .custom-select2 .select2-selection--single .select2-selection__rendered {
  line-height: 30px !important;
}
.navbar .custom-select2 .select2-selection__arrow {
  height: 30px !important;
}
.navbar .helper a {
  line-height: 34px !important;
}
.navbar .profilemenu {
  height: 34px !important;
  padding-top: 2px !important;
}

.sidebar-fixed {
  position: fixed;
  top: 40px;
  height: 80%; /* Fallback */
  min-height: 80%; /* Fallback */
  height: calc(100% - 40px);
  min-height: calc(100% - 40px);
  overflow-y: scroll;
  overflow-x: visible;
  direction: rtl;
}

.sidebar-fixed::-webkit-scrollbar { width: 0 !important }
.sidebar-fixed { overflow: -moz-scrollbars-none; scrollbar-width: none; }
.sidebar-fixed { -ms-overflow-style: none; }

.sidebar-fixed > ul {
  direction: ltr;
}

.container-body {
}

.body-with-sidebar {
  margin-left: 50px !important;
  transition: margin-left .3s;
  transition-delay: .05s;
}

@media (min-width: 992px) {
  .container-body {
    margin-left: 0 !important;
  }
  .body-with-sidebar {
    margin-left: 250px !important;
  }
}

.u-side-nav-mini .body-with-sidebar {
  margin-left: 50px !important;
  transition: margin-left .3s;
  transition-delay: .1s;
}

@media (max-width: 425px) {
  .body-with-sidebar,
  .u-side-nav-mini .body-with-sidebar {
    margin-left: 0 !important;
  }
  .u-sidebar-navigation-v1--mini {
    overflow-x: hidden;
  }
}