#container { background-image: url(../images/Logo-SanAndreasSealTransparent.png)!important; }
/*//////////////////
// PSEUDO CLASSES //
//////////////////*/

input:required,
textarea:required,
select:required ~ .dropdown-toggle {
	border: 1px solid rgba(0,200,50,0.4)!important;
}

input:invalid,
textarea:invalid,
select:invalid ~ .dropdown-toggle {
    box-shadow: none;
    border: 1px solid rgba(255,0,0,0.4)!important;
}

::selection {
	background: rgba(200,200,200,.5);
}

/*/////////////////
// HTML ELEMENTS //
/////////////////*/

html {
	overflow-y: scroll;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

body {
	background-color: rgba(238, 238, 238, 0.95);
}

body #container {
	background-size: 500px 500px;
	background-position: calc(50% + 130px) 40%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	min-height: 100vh;
}

a {
	cursor: pointer;
	color: #e2b055;
	transition: color .1s linear!important;
}

a:hover {
	color: #b78f48;
	text-decoration: none;
}

a:not([href]) {
	color: #fff;
}
a:not([href]):hover {
	color: #fff;
	text-decoration: none;
}

.card:hover.cursor-disabled a {
	cursor: not-allowed!important;
}

optgroup {
	font-style: unset;
}

/*//////////////
// CONTAINERS //
//////////////*/

#wrapper {

}

#container {
	display: block;
	width: calc(100vw - 260px);
	margin-left: 260px;
}

.container-page {
	position: relative;
	padding: 4rem 0;
	min-height: 70vh;
	transition: transform .5s linear;
}

#breadcrumb {
	position: static;
	margin: 0;
	padding: 0 .75rem .75rem .75rem;
	background: #eee;
	border-bottom: 1px solid rgba(0,0,0,.1) !important;
	border-radius: 0 !important;
	font-weight: 600;
	text-shadow: 0 1px 2px #00000040 !important;
	transition: transform .5s linear;
}

#breadcrumb .breadcrumb-item {
	margin: .75rem 0 0 0;
}

#breadcrumb .user {
	margin-top: .75rem;
}

#footer {
	position: static;
	padding: .5rem 0;
	background-color: #eeeeee;
	border-top: 1px solid rgba(0,0,0,.1);
	text-align: center;
	z-index: -1;
	transition: transform .5s linear;
}

/*///////////
// SIDEBAR //
///////////*/

#sidebar {
	height: 100vh;
	position: fixed;
	font-size: 80%;
	min-width: 260px;
	max-width: 260px;
	background-color: #282828;
	overflow-y: auto;
}

#sidebar-logo {
	background: url("/images/MDC-Panel.svg");
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	width: 200px;
	height: 100px;
	margin: 0 auto;
}

#sidebar-logo img {
	display: none;
}

#sidebar > ul {
	margin-bottom: 75px;
}

#sidebar #generatorSubmenu {
	margin: 15px 0;
}

#sidebar a {
	color: #fff;
}

#sidebar a:hover {
	color: #ddd;
	text-decoration: none;
}

#sidebar i {
	color: #fff;
}

#sidebar li {
	border-radius: 3px;
	padding: 2px 0;
	margin-bottom: 2px;
	box-shadow: 0 1px 0 rgba(255,255,255,0);
	text-shadow: 0 1px 2px #000000!important;
	transition: all .1s linear;
}

#sidebar li:hover {
	color: #4095e8;
	background: rgba(255,255,255,0.1);
	box-shadow: 0 1px 0 rgba(255,255,255,.3);
}

#sidebar li:hover.cursor-disabled {
	color: unset;
	background: unset;
	box-shadow: unset;
	cursor: not-allowed!important;
}

#sidebar #timestamp {
	background-color: rgba(0,0,0,.1);
	border-radius: 5px;
}

#sidebar li img {
	transform: scale(1.1);
}

#timestamp {
	color: #FFF;
	font-size: 18px;
	letter-spacing: 2px;
	font-weight: 600;
	text-shadow: 0 2px 4px #000000!important;
}

#notification {
	display: block;
	background-color: #dc3545; 
	padding: 10px;
	color: #fff;
	text-align: center;
	transition: transform .5s linear, opacity .5s linear;
}

#notification .badge-trans {
	background-color: rgba(0,0,0,.2);
	transition: background-color .15s linear;
}

#notification .badge-trans:hover {
	background-color: rgba(0,0,0,.4);
}

#special-notification {
	display: block;
	background-color: #ff8000; 
	padding: 10px;
	color: #fff;
	text-align: center;
	transition: transform .5s linear, opacity .5s linear;
}

#special-notification .badge-trans {
	background-color: rgba(0,0,0,.2);
	transition: background-color .15s linear;
}

#special-notification .badge-trans:hover {
	background-color: rgba(0,0,0,.4);
}

/*///////////
// MASONRY //
///////////*/

#dashboard.grid {
	display: flex;
}

#dashboard .grid-col {
	float: left;
	min-width: 50%;
	padding: 0 .5em;
	flex-grow: 1;
}

#dashboard.grid .grid-item {
	margin-bottom: 1.25em;
}

#dashboard .grid-col--1 {
	display: none;
}

@media (min-width: 900px) {
	#dashboard .grid-col--1 {
		display: block;
	}
}

/* PAPERWORK GENERATORS */

#generators.grid {
	display: flex;
}

#generators .grid-col {
	float: left;
	min-width: 25%;
	padding: 0 .5em;
	flex-grow: 1;
}

#generators.grid .grid-item {
	margin-bottom: 1.25em;
}

#generators .grid-col--2 {
	display: none;
}

#generators .grid-col--3 {
	display: none;
}

#generators .grid-col--4 {
	display: none;
}

@media (min-width: 900px) {
	#generators .grid-col--2 {
		display: block;
	}
}

@media (min-width: 1100px) {
	#generators .grid-col--3 {
		display: block;
	}
}

@media (min-width: 1300px) {
	#generators .grid-col--4 {
		display: block;
	}
}

/* USEFUL RESOURCES */

#resources.grid {
	display: flex;
}

#resources .grid-col {
	float: left;
	min-width: 50%;
	padding: 0 .5em;
	flex-grow: 1;
}

#resources.grid .grid-item {
	margin-bottom: 1.25em;
}

#resources .grid-col--1 {
	display: none;
}

@media (min-width: 1100px) {
	#resources .grid-col--1 {
		display: block;
	}
}

/*///////////
// GENERAL //
///////////*/

.style-underline span {
	border-bottom: 1px solid rgba(255,255,255,0);
	transition: .15s border-bottom linear, .15s color linear!important;
	cursor: pointer;
}
.style-underline:hover span {
	border-bottom: 1px solid rgba(255,255,255,1);
}

#breadcrumb li a {
	background-color: rgba(255,255,255,1);
	padding: 4px 16px;
	border-radius: 5px;
}

.table {
	border-radius: 5px;
}

.text-golden {
	color: #e2b055;
}

.fa-ss {
	color: rgba(255,255,255,0.4)!important;
	transform: translate(0,-1px);
}

.btn:hover {
	transition: all .1s linear!important;
}

.toggle.btn {
	border-radius: 100vh;
}

.toggle-handle {
	padding: 0 15px!important;
}

.toggle-off.btn {
	padding-left: .75rem !important;
}

.toggle-on.btn {
	padding-right: .75rem !important;
}

.bootstrap-select .no-results {
	border-radius: 5px!important;
	padding: 5px 15px!important;
}

.dropdown-item {
	transition: all .1s linear!important;
}

.dropdown-menu li.disabled,
.dropdown-menu option.disabled {
	cursor: not-allowed;
}

.dropdown-menu li.disabled .text {
	color: rgba(0,0,0,0.5);
}

.bootstrap-select .dropdown-menu li a {
	color: #333;
}

.dropdown-item.active, .dropdown-item:active {
	color: #fff !important;
}

.textboxRP {
	margin-bottom: 10px;
}

/*//////////////
// CHANGELOGS //
//////////////*/

.changelog-spacing {
	position: absolute;
	z-index: -1;
	left: 0;
	margin-top: -300px;
}

.card-change {
	box-shadow: 0 0 15px #00000000!important;
	transition: all 5s linear;
}

.changelog-spacing:target + .card-change {
	box-shadow: 0 0 15px #e2b055!important;
}

.cl-general {
	color: #e2b055;
	font-weight: 600;
}

/*/////////
// CARDS //
/////////*/

.card {
	border: unset!important;
}

.card .text-muted {
	color: #e8e8e8!important;
}

.card .card-icon {
	text-align: center!important;
}

.card-panel .card-title {
	margin-top: .75rem;
	text-align: center;
}

.card-panel {
	width: 100%;
	background-color: #fff;
	color: #212529;
	box-shadow: 0px 1px 0 rgba(0, 0, 0, .5);
	transition: all .1s ease-in-out!important;
}

.card-panel a {
	color: unset;
}

.card-panel i {
	text-shadow: 0px 1px 0 rgba(0, 0, 0, .25);
	transition: all .1s ease-in-out!important;
}

.card-resource {
	margin-bottom: 10px;
	background-color: #fff;
	color: #212529;
	box-shadow: 0px 1px 0 rgba(0, 0, 0, .5);
	transition: all .1s ease-in-out!important;
}

.card-resource i {
	text-shadow: 0px 1px 0 rgba(0, 0, 0, .25);
	transition: all .1s ease-in-out!important;
}

#card-main-mdc:hover {
	box-shadow: #005db8 0 1px 0px;
}

#card-main-mdc:hover i {
	color: #005db8!important;
	text-shadow: #005db880 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-main-cad:hover {
	box-shadow: #a82e2e 0 1px 0px;
}

#card-main-cad:hover i {
	color: #a82e2e!important;
	text-shadow: #a82e2e80 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-main-map:hover {
	box-shadow: #e74c3c 0 1px 0px;
}

#card-main-map:hover i {
	color: #e74c3c!important;
	text-shadow: #e74c3c80 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-main-generators:hover {
	box-shadow: #ca9159 0 1px 0px;
}

#card-main-generators:hover i {
	color: #ca9159!important;
	text-shadow: #ca915980 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-main-resources:hover {
	box-shadow: #8764d7 0 1px 0px;
}

#card-main-resources:hover i {
	color: #8764d7!important;
	text-shadow: #8764d780 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-main-bbcoderip:hover {
	box-shadow: #ffc83d 0 1px 0px;
}

#card-main-bbcoderip:hover i {
	color: #ffc83d!important;
	text-shadow: #ffc83d80 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-main-penal:hover {
	box-shadow: #e2b055 0 1px 0px;
}

#card-main-penal:hover i {
	color: #e2b055!important;
	text-shadow: #e2b05580 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-generators-charges:hover {
	box-shadow: #EAB543 0 1px 0px;
}

#card-generators-charges:hover i {
	color: #EAB543!important;
	text-shadow: #EAB54380 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-generators-arrest:hover {
	box-shadow: #cbc2c5 0 1px 0px;
}

#card-generators-arrest:hover i {
	color: #cbc2c5!important;
	text-shadow: #cbc2c580 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-generators-traffic:hover {
	box-shadow: #c9222e 0 1px 0px;
}

#card-generators-traffic:hover i {
	color: #c9222e!important;
	text-shadow: #c9222e80 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-generators-impound:hover {
	box-shadow: #fedd3c 0 1px 0px;
}

#card-generators-impound:hover i {
	color: #fedd3c!important;
	text-shadow: #fedd3c80 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-generators-parking:hover {
	box-shadow: #0066b2 0 1px 0px;
}

#card-generators-parking:hover i {
	color: #0066b2!important;
	text-shadow: #0066b280 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-generators-death:hover {
	box-shadow: #F8EFBA 0 1px 0px;
}

#card-generators-death:hover i {
	color: #F8EFBA!important;
	text-shadow: #F8EFBA80 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-generators-patrol:hover {
	box-shadow: #11cab9 0 1px 0px;
}

#card-generators-patrol:hover i {
	color: #11cab9!important;
	text-shadow: #11cab980 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-generators-tdpatrol:hover {
	box-shadow: #5b1d16 0 1px 0px;
}

#card-generators-tdpatrol img {
	filter: grayscale(100%);
	transition: filter .1s linear;
}

#card-generators-tdpatrol:hover img {
	filter: grayscale(0%);
}

#card-generators-sd-incident:hover {
	box-shadow: #fedd3c 0 1px 0px;
}

#card-generators-sd-incident:hover i {
	color: #fedd3c!important;
	text-shadow: #fedd3c80 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-generators-sd-uof:hover {
	box-shadow: #c9222e 0 1px 0px;
}

#card-generators-sd-uof:hover i {
	color: #c9222e!important;
	text-shadow: #c9222e80 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

#card-generators-trespass:hover {
	box-shadow: #288541 0 1px 0px;
}

#card-generators-trespass:hover i {
	color: #288541!important;
	text-shadow: #28854180 0 0 15px, 0px 1px 0 rgba(0, 0, 0, .75);
}

/*///////////////////////////////////////////////////////////////////////////////////////////
// MOBILE DEVICES //
//////////////////*/

@media (max-width: 768px) {

	body #container {
		background-size: 250px 250px;
		background-position: calc(50% + 50px) 50%;
	}

	#container {
		display: block;
		width: calc(100vw - 60px);
		margin-left: 60px;
	}

	#map {
		width: calc(100% - 60px)!important;
		left: 100px!important;
	}

	#breadcrumb {
		display: none;
	}

	#sidebar {
		min-width: 60px;
		max-width: 60px;
	}

	#sidebar ul {
		padding: 8px!important;
	}

	#sidebar .nav-link {
		padding: .2rem .5rem;
	}

	#sidebar-logo {
		background: url("/images/MDC-Panel-Favicon.svg");
		background-size: 100%;
		background-repeat: no-repeat;
		background-position: center;
		width: 50px;
		height: 50px;
		margin: 0 auto;
	}

	#sidebar .icon-text {
		display: none;
	}

	#sidebar a {
		text-align: center;
	}

	#sidebar i, #sidebar img {
		margin-right: 0!important;
		font-size: 16px;
	}

	#sidebar img {
		transform: scale(1.4)!important;
	}

	.dropdown-toggle::after {
		content: unset;
	}

	.container-time {
		padding: 0 0!important;
	}

	.sidebar-visitor-text {
		display: none;
	}

	#sidebar #timestamp {
		background-color: unset;
		font-size: 10px;
	}

	.container h1 {
		font-size: 1.5rem!important;
	}

}

@media (max-width: 991px) {

	.container-page {
		padding-top: 2rem;
	}

	.breadcrumb-item {
		display: block!important;
		padding-left: unset!important;
	}

	.breadcrumb-item::before {
		display: none!important;
		padding-right: unset!important;
		content: ""!important;
	}

}

/*//////////////////////////////////////////////////////////////////////////////////////
// DARKMODE //
////////////*/


/*/////////////////
// HTML ELEMENTS //
/////////////////*/

body {
	color: #fff;
	background-color: #1f1f1f;
}

hr {
	border-top: 1px solid rgba(0,0,0,.25);
}

optgroup {
	background-color: #282828;
}

small.text-muted {
	color: #c9c9ca !important;
}

/*////////////////
// INPUT FIELDS //
////////////////*/

.form-control {
	display: block;
	width: 100%;
	height: calc(1.5em + .75rem + 2px);
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #ffffff;
	background-color: #282828;
	background-clip: padding-box;
	border: 1px solid #282828;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-control:disabled, .form-control[readonly] {
	background-color: #313131;
	color: #ddd;
	opacity: 1;
}

.form-control:focus {
	color: #ffffff;
	background-color: #313131;
	border-color: #80bdff;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.input-group-text {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	padding: .375rem .75rem;
	margin-bottom: 0;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #ffffff;
	text-align: center;
	white-space: nowrap;
	background-color: #404040;
	border: 1px solid #404040;
	border-radius: .25rem;
}

.form-control::placeholder {
	color: #515151;
}

.input-group .bootstrap-select.form-control .dropdown-toggle {
	background: #282828;
	color: #fff;
	border: 1px solid transparent;
}

.dropdown-toggle.btn-light {
	color: #fff;
	background-color: #282828;
	border-color: #282828;
}

.btn-light:not(:disabled):not(.disabled).active, .btn-light:not(:disabled):not(.disabled):active, .show > .btn-light.dropdown-toggle {
	color: #fff;
	background-color: #212121;
	border-color: #212121;
}

.bootstrap-select .no-results {
	background: #282828!important;
	color: #fff!important;
}

.dropdown-header {
	color: #a4a4a4;
}

.dropdown-divider {
	border-top: 1px solid rgba(0,0,0,0.2);
}

.dropdown-menu {
	background-color: #313131;
}

.dropdown-item {
	color: #fff!important;
}

.dropdown-item:hover {
	background-color: #212121;
}

.dropdown-menu li.disabled .text {
	color: rgba(255,255,255,0.25);
}

/*//////////
// TABLES //
//////////*/

.table-light {
	color: #fff;
	background-color: #303131;
}

.table-light td, .table-light th, .table-light thead th {
	border-color: #454d55;
}

.table-light.table-hover tbody tr:hover {
    color: #fff;
    background-color: rgba(255,255,255,.075);
}

/*///////////////
// BREADCRUMBS //
///////////////*/

#breadcrumb li a {
	background-color: rgba(0,0,0,.25);
}

#breadcrumb {
	background: #1f1f1f;
	border-bottom: 1px solid rgba(0,0,0,.2)!important;
}

/*//////////
// FOOTER //
//////////*/

#footer {
	border-top: 1px solid rgba(0,0,0,.1);
	background-color: #1f1f1f;
}

/*/////////
// CARDS //
/////////*/

.card-panel {
	background-color: #151515;
	color: #fff;
	box-shadow: 0px -1px 0 rgba(255, 255, 255, .1);
}

.card-panel:hover {
	box-shadow: 0px -1px 0 rgba(255, 255, 255, .5);
}

.card-resource {
	background-color: #151515;
	color: #fff;
	box-shadow: 0px -1px 0 rgba(255, 255, 255, .1);
}

.card-resource:hover {
	box-shadow: 0px -1px 0 rgba(255, 255, 255, .5);
}

.card.text-white {
	color: #fff!important;
}

.card.bg-dark {
	background-color: #151515!important;
}

.card .text-muted {
	text-shadow: 0px -1px 0 rgba(255, 255, 255, 0.2);
	color: #2f2f2f!important;
}

#card-main-mdc:hover {
	box-shadow: #005db880 0 -1px 0px;
}

#card-main-mdc:hover i {
	text-shadow: #005db880 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-main-cad:hover {
	box-shadow: #a82e2e80 0 -1px 0px;
}

#card-main-cad:hover i {
	text-shadow: #a82e2e80 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-main-map:hover {
	box-shadow: #e74c3c80 0 -1px 0px;
}

#card-main-map:hover i {
	text-shadow: #e74c3c80 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-main-generators:hover {
	box-shadow: #ca915980 0 -1px 0px;
}

#card-main-generators:hover i {
	text-shadow: #ca915980 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-main-resources:hover {
	box-shadow: #8764d780 0 -1px 0px;
}

#card-main-resources:hover i {
	text-shadow: #8764d780 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-main-bbcoderip:hover {
	box-shadow: #ffc83d80 0 -1px 0px;
}

#card-main-bbcoderip:hover i {
	text-shadow: #ffc83d80 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-main-penal:hover {
	box-shadow: #e2b05580 0 -1px 0px;
}

#card-main-penal:hover i {
	text-shadow: #e2b05580 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-generators-charges:hover {
	box-shadow: #EAB54380 0 -1px 0px;
}

#card-generators-charges:hover i {
	text-shadow: #EAB54380 0 0 15px, 0px -1px 0 rgba(0, 0, 0, .5);
}

#card-generators-arrest:hover {
	box-shadow: #cbc2c580 0 -1px 0px;
}

#card-generators-arrest:hover i {
	text-shadow: #cbc2c580 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-generators-traffic:hover {
	box-shadow: #c9222e80 0 -1px 0px;
}

#card-generators-traffic:hover i {
	text-shadow: #c9222e80 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-generators-impound:hover {
	box-shadow: #fedd3c80 0 -1px 0px;
}

#card-generators-impound:hover i {
	text-shadow: #fedd3c80 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-generators-parking:hover {
	box-shadow: #0066b280 0 -1px 0px;
}

#card-generators-parking:hover i {
	text-shadow: #0066b280 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-generators-death:hover {
	box-shadow: #F8EFBA80 0 -1px 0px;
}

#card-generators-death:hover i {
	text-shadow: #F8EFBA80 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-generators-tdpatrol:hover {
	box-shadow: #5b1d1680 0 -1px 0px;
}

#card-generators-tdpatrol:hover i {
	text-shadow: #5b1d1680 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-generators-patrol:hover {
	box-shadow: #11cab980 0 -1px 0px;
}

#card-generators-patrol:hover i {
	text-shadow: #11cab980 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-generators-sd-incident:hover {
	box-shadow: #fedd3c80 0 -1px 0px;
}

#card-generators-sd-incident:hover i {
	text-shadow: #fedd3c80 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-generators-sd-uof:hover {
	box-shadow: #c9222e80 0 -1px 0px;
}

#card-generators-sd-uof:hover i {
	text-shadow: #c9222e80 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

#card-generators-trespass:hover {
	box-shadow: #28854180 0 -1px 0px;
}

#card-generators-trespass:hover i {
	text-shadow: #28854180 0 0 15px, 0px -1px 0 rgba(255, 255, 255, .5);
}

