@font-face {
	font-family: 'Univers Condensed';
	src: url('./fonts/UniversCondensed.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Univers Condensed Light';
	src: url('./fonts/UniversCondensedLight.otf');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}


body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
	background: unset !important;
	font-family: 'Roboto' !important;
}

.selector-main {
    position: absolute;
    width: 100%;
    height: 100%;
	background: url(textures/background.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
	user-select: none;
}

.page-exit {
    position: absolute;
	float: left;
    width: 72px;
    box-shadow: 4px 3px 20px #000000d4;
    background-color: #ffffffd1;
    font-size: 1.5vh;
	z-index: 9;
}

.header-secondary-btn {
	margin-left: min(9vh, 90px);
    width: auto;
}

.header-container {
    position: relative;
	width: 100%;
    top: 0;
    z-index: 1000;
    padding: 5vh;
}

.centered-header {
    width: 100%;
    color: white;
    text-shadow: -4px 3px 20px #000000d4;
    text-align: center;
    font-family: 'Roboto';
    font-weight: bolder;
    font-size: 4.5vh;
    line-height: 0.8;
	user-select: none;
}

.scroll-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
				
    height: 100%;
    overflow-y: auto;
    position: relative;
}

.scroll-container::-webkit-scrollbar {
	width: 24px;
}

.scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-container::-webkit-scrollbar-thumb {
	background-color: #ffffffd1;
	border: 8px solid transparent;
	border-radius: 12px;
	background-clip: padding-box;  
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #ddddddd1;
	cursor: pointer;
}

.scroll-container::-webkit-scrollbar-thumb:active {
    background-color: #ddddddd1;
}

.scroll-container::-webkit-scrollbar-button {
    display: none;
}

.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;   
}

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

.right {
	float: right;
}


.blurred-background{
	backdrop-filter: blur(3px);
}

.green {
	color: #5cb85c;
}

.amber {
	color: #ffc107;
}

.red {
	color: #ff0707;
}

.disabled{
	pointer-events: none;
	opacity: 0.6;
	cursor: not-allowed;
}

hr {
    margin: 0 !important;
    margin-top: 15px !important;
    border: 0;
    border-top: 1px solid #b9b9b9 !important;
}

/* MUNICIPALITY SELECTOR */
#municipality-selector-container {
  display: grid;
  grid-template-columns: repeat(5, 0.5fr);
  grid-gap: 2vh;
  transition: filter 1s ease;
  pointer-events: auto;
}

#municipality-selector-exit:hover {
    background-color: #ddddddd1;
}

.municipality-grid-item {
    position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
    border-radius: 5px;
    /* border: solid 2px rgb(0 0 0); */
    overflow: hidden;
    box-shadow: 0px 3px 20px #000000b0;
	transition: transform 0.4s ease;

}

.municipality-grid-item:hover {
  transform: scale(1.1);
  cursor: pointer;
  z-index: 2;
}

.municipality-grid-item img {
  width: 300%;
  height: auto;
  border-radius: 5px;
}

@media (max-width: 1600px) {
	/* Modify grid template for 16:9 aspect ratio */
	#municipality-selector-container {
		grid-template-columns: repeat(5, 0.3fr);
	}
	.municipality-grid-item img {
		width: 150%;
	}
}

@media (min-width: 1600px) and (max-width: 1920px) {
	/* Modify grid template for 16:9 aspect ratio */
	#municipality-selector-container {
		grid-template-columns: repeat(5, 0.4fr);
	}
	.municipality-grid-item img {
		width: 150%;
	}
}

@media (min-width: 1920px) and (max-width: 2560px)  {
  /* Modify grid template for 4:3 aspect ratio */
  #municipality-selector-container {
    grid-template-columns: repeat(5, 0.5fr);
  }
}

@media (min-width: 2560px) and (max-width: 3440px)  {
  /* Modify grid template for 32:9 aspect ratio */
  #municipality-selector-container {
    grid-template-columns: repeat(5, 0.65fr);
  }
}

#mp-assignments-container{
	background-color: white;
    border-radius: 10px;
	width: 70%;
    height: auto;
    padding: 15px;
	user-select: none;
	box-shadow: 0px 0px 24px #00000082;
	height: 0;
    margin-top: 70%;
    overflow: hidden;
    transition: height 0.5s, margin-top 0.5s;

}

#mp-assignments-button {
    position: relative;
    box-shadow: 4px 3px 20px #000000d4;
    z-index: 9;
    margin-bottom: 3vw;
	pointer-events: auto;
}


/* VEHICLE SELECTOR */
.vehicle-selector-container {
  display: grid;
  grid-template-columns: repeat(5, 0.5fr);
  grid-gap: 2vh;
}

#vehicle-selector-return:hover {
    background-color: #ddddddd1;
}

.vehicle-grid-item {
    position: relative;
    border-radius: 5px;
    /* border: solid 2px rgb(0 0 0); */
    overflow: hidden;
    box-shadow: 0px 3px 20px #000000b0;
	transition: transform 0.4s ease;
}

.vehicle-grid-item:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.image-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0 0 0 / 80%));
    color: #fff;
    padding-top: 30px;
    font-family: 'Roboto';
    font-weight: bolder;
    font-size: 1.4em;
}

.image-text-counter {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px;
    line-height: 1.1em;
    color: #fff;
    font-family: 'Roboto';
    font-weight: normal;
    font-size: 1.4em;
	text-align: right;
}

.larger-counter {
	font-size: 1.6em;
}


.oos-grid-display {
    color: red;
    /* font-weight: bolder; */
    /* text-shadow: 0px 0px 0px black; */
}

.image-restrictions {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px;
    line-height: 1.1em;
    color: #ffffff63;
    font-size: 1.4em;
    transition: opacity 0.3s ease;
	z-index: 2;
}

.image-restrictions:hover {
    opacity: 0;
}

.restriction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgb(0 0 0 / 35%);
    backdrop-filter: blur(2px);
	z-index: 1;
}

.restrictions-inner {
    line-height: 1.1em;
	color: #ff6a00;
    font-family: 'Roboto';
    font-size: 1.6em;
    text-align: center;
    font-weight: bolder;
	text-shadow: rgb(0 0 0) 0px 2px 0px;
}

.restrictions-msg {
    font-size: 0.8em;
}

.vehicle-grid-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.vehicle-type-header {
    color: #fff;
    padding-top: 3vh;
    font-family: 'Roboto';
    font-weight: bolder;
    font-size: 1.7em;
    margin-left: -10px;
}

#vehicle-selector-header {
    float: right;
    color: #ffffffd1;
    text-shadow: -4px 3px 20px #000000d4;
    font-family: 'Roboto';
    font-weight: bolder;
    font-size: 4vh;
    line-height: 0.8;
}

@media (max-width: 1600px) {
  /* Modify grid template for 16:9 aspect ratio */
  .vehicle-selector-container {
    grid-template-columns: repeat(5, 0.3fr);
  }
}

@media (min-width: 1600px) and (max-width: 1920px) {
  /* Modify grid template for 16:9 aspect ratio */
  .vehicle-selector-container {
    grid-template-columns: repeat(5, 0.4fr);
  }
}

@media (min-width: 1920px) and (max-width: 2560px)  {
  /* Modify grid template for 4:3 aspect ratio */
  .vehicle-selector-container {
    grid-template-columns: repeat(5, 0.5fr);
  }
}

@media (min-width: 2560px) and (max-width: 3440px)  {
  /* Modify grid template for 32:9 aspect ratio */
  .vehicle-selector-container {
    grid-template-columns: repeat(5, 0.65fr);
  }
}

.vehicle-customize-inner {
    height: auto;
    width: auto;
    padding: 0vh;
    background-color: rgb(255, 255, 255);
    border: rgb(88 88 88) 0.5vh solid;
    border-radius: 8px;
    font-family: 'Roboto';
    box-shadow: 0px 0px 24px #00000082;
}

#vehicle-preview-model {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
	padding: 3vh 1vh 1vh;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0 0 0 / 80%));
    color: #fff;
    font-family: 'Roboto';
    font-weight: bolder;
	font-size: 2.2em;
    line-height: 1;
}

.vehicle-preview-subtext {
    color: rgb(195 195 195);
    font-size: 0.8em;
    font-style: italic;
}

.checkbox-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-left: 2vw;
    padding-right: 2vw;
}

.vehicle-preview {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
    height: auto;
}

.vehicle-customize-inner2 {
    padding: 15px;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bolder;
}

.btn-secondary {
    background-color: rgb(235 235 235);
}

.btn-secondary:hover {
    color: #333;
    text-decoration: none;
    background-color: rgb(215 215 215) !important;
}

.vehicle-customize-footer {
    display: grid;
    grid-template-columns: 17% 83%;
}

.btn-group-sm>.btn, .btn-sm {
    width: 4vw !important;
	max-width: 100px !important;
}

/* INFO DIALOG */
#dialog-container{
	z-index: 4;
}

.dialog-body {
	display: grid;
    align-content: center;
    justify-content: center;
}

.dialog-header {
	text-shadow: unset;
    margin-bottom: 0px;
    font-weight: bolder;
    font-size: 20px;
    line-height: 2;
}

.dialog-button {
	margin: 4px !important; 
    padding: 6px 11px !important;
	font-size: 12px !important;
}

#result-dialog {
	background-color: rgb(255, 255, 255);
	padding: 10px 50px;
    border: rgb(39, 39, 39) 0.5vh solid;
    font-family: 'Roboto';
    border-radius: 10px;
}

/* LOADING OVERLAY */
#loading-dialog-container {
    border-radius: 0px;
    z-index: 5;
    padding-bottom: 0;
}

.loading-dialog {
    background: #eeeeee;
    width: 3.85in !important;
    height: 100px !important;
    border: 10px;
    border-radius: 10px;
}

 /* MY VEHICLE */
#my-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(2, 51vh);
    background: #00000080;
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 3vh 0px #0000006b;
}

.my-vehicle-info {
    color: #d7d7d7;
    font-family: 'Roboto';
    font-size: 1.9vh;
    line-height: 0.6;
    margin-left: 3.2vh;
}

.my-vehicle-info > .title {
    font-size: 1.5vh;
    font-weight: bolder;
    line-height: 1;
    margin-left: -1.5vh;
    margin-top: 3.4vh;
    color: #ffffff;
}

.my-vehicle-buttons{
	display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4vh;
}

.my-vehicle-buttons > button {
    margin: 0px 1vh;
    box-shadow: 0 0 3vh 0px #0000006b;
	width: 18vh;
    height: 5vh;
	max-width: 250px;
	max-height: 55px;
}


/* TABLET */
#manage-vehicle-container{
	z-index: 1;
}

#tablet-container{
	z-index: 0;
}

.tablet-header {
    float: left;
    font-family: 'Univers Condensed';
    font-size: 49px;
    font-style: italic;
	line-height: 1.2;
    margin: 0 0 0 23px;
}


#tablet{
    background-color: rgb(255, 255, 255);
    border: rgb(39, 39, 39) 1.5vh solid;
    border-radius: 20px;
    width: 82vw;
    height: auto;
    max-height: 1080px;
    max-width: 1920px;
    box-shadow: 0 0 20px 0px #000000ad;
	z-index: 2;
	position: relative; /* Establish positioning context */
}

.table-container {
    position: relative;
	width: 100%;
    height: 34vw;
	padding: 15px;
}

#tablet-loading-container {
    position: absolute;
    display: flex;
    top: 59px;
    left: -1px;
    width: 100.1%;
    height: calc(100% - 58px);
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.dropdown-menu {
	min-width: 130px !important;
}

.dataTables_filter{
	width: 100%;
	margin-bottom: 6px !important;
}

.table td, .table th {
	height: 12px;
	line-height: 12px !important;
	vertical-align: middle !important;
	text-align: center !important;
	white-space: nowrap;
}

/*
.municipality, .model {
	padding: 5px !important;
}
*/

.player {
	font-weight: bold !important;
}

.tracking, .manage, .details {
	width: 7%;
	max-width: 90px;
	padding: 0 !important;
}

.table-btn{
	width: 90%;
	height: 73%;
    border-radius: 4px;
	background-color: #fff;
	border: 1px solid #ccc;
}

.table-btn:hover{
	background-color: #e6e6e6;
	border: 1px solid #adadad;
}

.table-btn.active {
	background-color: #e6e6e6;
}

.table-btn.active:hover {
    background-color: #e6e6e6;
    border: 1px solid #adadad;
}

.table-btn[disabled] {
opacity: 0.6;
pointer-events: none;
}

.btn-primary.active {
  background-color: #e74c3c;
}

.btn-primary.active:hover {
  background-color: #c0392b;
}

/* PRINT VIEW */
#manage-vehicle > table {
    text-align: center !important;
    border-spacing: 3px !important;
    border-collapse: separate !important;
    font-size: 14px !important;
    table-layout: auto !important;
    padding: 10px;
}

.dialog-header {
    background-color: rgb(24 24 24) !important;
    width: auto;
    height: 39px !important;
    margin: -1px;
}

#manage-vehicle > table > tbody > tr > th {
    background-color: rgb(237, 237, 237);
}

.footer-container {
    justify-content: center;
    display: flex;
    padding: 10px;
}

.footer-container > button{
	margin-left: 5px;
	margin-right: 5px;
}

.manage-vehicle-print-btn {
	margin: 4px !important; 
    padding: 6px 11px !important;
	font-size: 12px !important;
	float: right;
	background-color: #fff;
}

.manage-vehicle-print-btn:hover {
	background-color: #e6e6e6;
}

.fa-print {
  color: black;
}

.no-border {
	border-width: 0 !important;
}

.indent{
	padding-left: 12px;
}

.left {
	text-align: left !important;
}

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

.no-background {
	background: unset !important;
}

/* PRINT VIEW PRINT RESULT DIALOG */
#tablet-dialog {
	background-color: rgb(255, 255, 255);
    padding: 0.4in 0.1in 0;
    border: rgb(39, 39, 39) 0.5vh solid;
    font-family: 'Roboto';
    border-radius: 10px;
}

#table_filter {
    margin-bottom: 10px;
}

#tablet-close{
	float: right; 
	margin: 10px; 
	padding: 2px 19px; 
	font-size: 25px;
}

.btn-group {
  float: left;
  margin: 5px;
}

.btn-fix{
	padding: revert !important;
}

#date-time {
    text-shadow: unset;
    float: right;
    margin: 22px 22px 0px 0px;
    font-size: 16px;
    color: rgb(147 147 147);
	cursor: none;
}

.checkbox input[type=checkbox], .checkbox-inline input[type=checkbox], .radio input[type=radio], .radio-inline input[type=radio] {
    position: absolute;
    margin-top: 4px\9;
    margin-left: -20px !important;
}

.multiselect-container>li.multiselect-group label {
    margin: 0;
    padding: 3px 20px 3px 20px;
    height: 100%;
    font-weight: 700;
    margin-left: -10px !important;
}

.multiselect-label {
    float: left;
    line-height: 2;
    font-weight: bolder;
	margin: 3px 2px 5px 20px;
}

/* MORE DIALOGS */
form {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 10px;
    margin: 0 auto;
    padding: 10px;
}

label {
	text-align: right;
	margin-top: 0px;
    margin-bottom: 10px;
}

.checkbox {
	text-align: left;
}

input[type="text"], select {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

textarea#notes {
    min-width: 38vh;
    max-width: 45vh;
    max-height: 12vh;
    min-height: 4vh;
    text-transform: uppercase;
}

#oos-header {
    text-align: center;
    margin-top: 10px;
    font-size: 1.5em;
    font-weight: bolder;
    text-transform: capitalize;
}

input[type="submit"] {
	width: auto;
    grid-column: 1/-1;
    margin-left: 0;
	padding: 10px 20px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 4px;
}

input[type="submit"]:hover {
	background-color: #0056b3;
}
  
.dialog-inner {
    background-color: rgb(255, 255, 255);
    border: rgb(66 66 66) 0.5vh solid;
    border-radius: 8px;
    font-family: 'Roboto';
    box-shadow: 0px 0px 24px #00000082;
}

.dialog-close-btn {
	margin: 4px !important; 
    padding: 6px 11px !important;
	font-size: 12px !important;
	float: right;
}

.select-disable-override {
	opacity: 1 !important;
    background-color: rgba(239, 239, 239, 0.3) !important;
}

#oos-form-footer {
	grid-column: 1/-1; 
	margin-bottom: -10px; 
	margin-top: 10px; 
	text-align: center; 
	font-style: italic; 
	font-weight: bolder;
}

/* TRACKING BUBBLE / OVERLAY */
#tracking-overlay-container {
    display: block;
    position: absolute;
    top: 0;
    right: 20%;
    justify-content: center;
}

.tracking-overlay {
    min-width: 29vh;
    padding: 10px 30px;
    border-radius: 0 0 16px 16px;
    background: #0e0e0eb8;
    color: #a3a3a3;
    text-align: center;
    font-size: 0.9em;
}

.tracking-overlay-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px; 
    align-items: center;
}

.tracking-overlay-item {
    flex-grow: 1;
}

#tracking-overlay-location {
    font-size: 1.2em;
    font-weight: bolder;
    color: white;
}

