﻿/* Override CoreUI */
button:focus {
    outline: none;
}

.c-app {
    background-color: #f3f3f4;
}

.c-sidebar {
    background-color: #122f3b;
}

.c-sidebar-nav-link, .c-sidebar-nav-dropdown-toggle {
    white-space: normal;
}

.c-sidebar-nav-icon {
    line-height: 1.09375rem;
}

.c-icon:not(.c-icon-c-s):not(.c-icon-custom-size) {
    line-height: 1.3rem;
}

.c-footer {
    background: #fff;
}

.btn-warning,
.btn-warning:hover,
.btn-warning.disabled,
.btn-warning:disabled {
	color: #fff;
}

/* Extend CoreUI */
.c-footer.c-footer-sticky {
    position: sticky;
	bottom: 0px;
	z-index: 1;
}

@media (min-width: 768px) {
    .c-footer.c-footer-sticky > .container-fluid,
    .c-footer.c-footer-sticky > .container-sm,
    .c-footer.c-footer-sticky > .container-md,
    .c-footer.c-footer-sticky > .container-lg,
    .c-footer.c-footer-sticky > .container-xl {
        padding-right: 30px;
        padding-left: 30px;
    }
}

.c-dark-theme select.form-control option {
    background: #23242d;
}

.font-weight-600 {
	font-weight: 600 !important;
}

/* Extend Date Picker */
.input-group .date-picker {
	display: flex;
	flex: 1 1 0%;
}

.c-chart-wrapper .c-chart-loading {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

/* Override Select2 */
.select2-selection__rendered {
    line-height: 32px !important;
}

.select2-selection {
    height: 36px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #d8dbe0;
}

.c-dark-theme .select2-container--default .select2-selection--single {
	color: #e1e1e1;
    background-color: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.15);
}

.c-dark-theme .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #e1e1e1;
}

.c-dark-theme .select2-dropdown,
.c-dark-theme .select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #23242d;
}

.c-dark-theme .select2-container--default .select2-results__option[aria-selected=true] {
	background-color: #0a0b18;
}

/* Common */
:focus {
    outline: none;
}

@media only screen and (max-width: 575px) {
    .table-responsive-sm .table-data {
        width: 1000px;
    }
}

/* Loading */
.loading {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 99999;
	background: rgba(0, 0, 0, 0.5);
	display: none;
}

.loading .wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}

.loading .wrapper .icon {
	position: absolute;
	width: 80px;
	height: auto;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
}

body.show-loading {
	overflow: hidden;
}

body.show-loading .loading {
	display: block;
}

/* Image */
.image-wrapper {
	width: 100%;
	position: relative;
}

.image-wrapper:after {
	padding-top: 100%;
	display: block;
	content: '';
}

.image-wrapper.active:before {
	content: '';
	position: absolute;
	z-index: 1;
	top: 0px;
	left: 0px;
	background: rgba(0, 0, 0, 0.6);
	width: 100%;
	height: 100%;
}

.image-wrapper.image-16-9:after {
	padding-top: 56.25%;
}

.image-wrapper.image-3-2:after {
	padding-top: 66.66667%;
}

.image-wrapper * {
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	color: white;
	background: no-repeat center bottom #fff;
	background-size: cover;
}

/* Login */
#login .logo {
	width: 220px;
}