img {
	max-width: 100%;
}

#login_result {
	color: #b00;
	text-align: center;
}

.navbar-nav>.user-menu .user-image {
	margin-top: -8px;
}

.nav-link {
	padding: .5rem .5rem;
}

.nav-sidebar>.nav-item .nav-icon.fas {
	font-size: 1.2rem;
	vertical-align: middle !important;
}

.brand-link .brand-image {
	max-height: 2.5rem;
	max-width: none !important;
}


.layout-navbar-fixed.sidebar-mini-md.sidebar-collapse .wrapper .brand-link,
.layout-navbar-fixed.sidebar-mini.sidebar-collapse .wrapper .brand-link {
	width: 3.6rem;
}

.sidebar-collapse .sidebar-no-expand.main-sidebar.sidebar-focused,
.sidebar-collapse .sidebar-no-expand.main-sidebar:hover {
	width: 3.6rem;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
	background-color: #df2e1b !important;
}

.nav-pills .nav-link:not(.active):hover {
	color: #df2e1b !important;
}

.nav-pills>li {
	margin-bottom: 1rem;
}

.content-wrapper {
	background: #FFF;
}

.content-wrapper.content-wrapper-home {
	background: #f4f6f9;
}

.content-wrapper>.content-header,
.main-footer {
	background: #F5F5F5;
}

.content-wrapper>.content {
	padding: 1rem .5rem;
}

.content-header {
	border-bottom: 1px dashed #CCC;
	padding: 0.25rem 0.5rem;
}

.content-header .breadcrumb {
	line-height: 2.2rem;
}

.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
	background-color: #C8C8C8;
}

.currenttable.table-hover tbody tr:hover td,
.currenttable.table-hover tbody tr:hover th {
	background-color: rgba(255, 0, 0, 0.2);
	cursor: pointer;
}

.stocktable.table-hover tbody tr:hover td,
.stocktable.table-hover tbody tr:hover th {
	background-color: rgba(255, 0, 0, 0.2);
	cursor: pointer;
}

table.dataTable.table-sm>thead .sorting:after,
table.dataTable.table-sm>thead .sorting_asc:after,
table.dataTable.table-sm>thead .sorting_desc:after,
table.dataTable.table-sm>thead .sorting_asc_disabled:after,
table.dataTable.table-sm>thead .sorting_desc_disabled:after {
	right: 0.2em;
	top: 2px;
	font-size: 1rem;
}

table.dataTable.table-sm>thead .sorting:before,
table.dataTable.table-sm>thead .sorting_asc:before,
table.dataTable.table-sm>thead .sorting_desc:before,
table.dataTable.table-sm>thead .sorting_asc_disabled:before,
table.dataTable.table-sm>thead .sorting_desc_disabled:before {
	top: 2px;
	font-size: 1rem;
}

.form-group label {
	margin-bottom: 0;
	cursor: pointer;
}

form label {
	margin-bottom: 0;
	cursor: pointer;
}

.form-group {
	margin-bottom: 0;
	padding: .5rem;
	background-color: #F8F8F8;
	border: 1px solid #CCC;
	border-top-color: #F8F8F8;
}

.form-group:first-child {
	border: 1px solid #CCC !important;
	border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-top-right-radius: 5px 5px 0 0;
}

.form-group:nth-child(even) {
	background-color: #EEE;
}

.form-group:not(.nohover):hover {
	background-color: #DDD;
}

.requiredstar {
	color: #B00;
	font-size: .6rem;
}

.form-group .seo {
	background-color: #cfffff;
}

.formerror,
.formmailerror {
	color: #B00;
	display: none;
	vertical-align: middle;
	padding-left: 0.5rem;
}

.formsuccess,
.formmailsuccess {
	color: #0B0;
	display: none;
	vertical-align: middle;
	padding-left: 0.5rem;
}

.card-body {
	padding: .5rem;
}

.card-body form {
	margin: 0 .5rem;
}

@media (min-width: 768px) {

	.form-group>label {
		line-height: 2.25rem;
	}
}

@media (min-width: 992px) {

	.sidebar-mini.sidebar-collapse .main-sidebar,
	.sidebar-mini.sidebar-collapse .main-sidebar::before {
		margin-left: 0;
		width: 3.6rem;
	}

	.sidebar-mini.sidebar-collapse .content-wrapper,
	.sidebar-mini.sidebar-collapse .main-footer,
	.sidebar-mini.sidebar-collapse .main-header {
		margin-left: 3.6rem !important;
	}
}

.btn-xs {
	padding: .125rem .4rem;
}

.profile-user-img {
	width: 140px;
}

.btn-tool {
	font-size: 1.4rem;
	margin: -1rem 0;
}

.alert h1,
.alert h2,
.alert h3,
.alert h4,
.alert h5,
.alert h6,
.alert h7 {
	border-bottom: 1px dotted #333;
	padding-bottom: 0.3rem;
}

.dattable th,
.dattable td {
	vertical-align: middle;
}

.dattable td img,
.listtable td img {
	max-width: 100px;
	max-height: 50px
}

@media (min-width: 768px) {

	.dattable td img,
	.listtable td img {
		max-width: 200px;
		max-height: 100px
	}
}

.flag {
	font-size: 30px;
}

@media (min-width: 768px) {
	.flag {
		font-size: 60px;
	}
}

.gallery div {
	border: 1px solid #FFF;
}

.gallery div:hover {
	border: 1px solid #999;
}

.nav-item.passive a {
	color: #F00 !important;
}

#galleryadd {
	display: table;
}

#galleryadd i {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	font-size: 4rem;
	cursor: pointer;
	transition: all 0.3s;
}

#galleryadd i:hover {
	color: #df2e1b;
}

.gallery img {
	max-width: 100%;
	height: auto;
}

.gallery div,
.gallery div a {
	text-align: center;
	cursor: move;
}

.gallery .gallerydelete i {
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	padding: 8px;
	background: #EEE;
	font-size: 1.5rem;
}

.gallery .gallerydelete i:hover {
	color: #333 !important;
}

.select2-results__option {
	padding: 0.25rem;
}

.select2-container--bootstrap4 .select2-dropdown.select2-dropdown--below {
	border: 2px solid #419aff;
	padding: 0.25rem;
}

.select2-container--bootstrap4 .select2-dropdown.select2-dropdown--above {
	border: 2px solid #419aff;
	padding: 0.25rem;
}

.ui-sortable-helper {
	display: table;
}

.card-header {
	border-bottom: 0;
}

.sorter2 .handle {
	cursor: grab;
}