:root {
	--first-color: #02457A;
	--second-color: #5F83B1;
	--third-color: #84b6f4;
	--fourth-color: #4d82bc;
	--fifth-color: #005187;
	--white-color: #ffffff;
	--black-color: #000;
	--gray-color: #6e7881;

	--border-radius: 6px;
}

* {
	margin: 0;
	padding: 0;
	font-size: 1rem;
	box-sizing: border-box;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body::-webkit-scrollbar {
  display: none;
}

html {
	scrollbar-width: none;
}

/* GLOBAL */
.flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* BUTTONS */
.double-button {
	gap: 40px;
}

.button {
	padding: 5px 10px;
	/*font-size: 1rem;*/
	font-weight: bold;
	outline-offset: 2px;
	outline: 2px solid transparent;
	border: 1px solid transparent;
	border-radius: var(--border-radius);
	background: var(--white-color);
}

.primary--button {
	color: var(--first-color);
	outline-color: var(--first-color);
}

.gray--button {
	color: var(--gray-color);
	outline-color: var(--gray-color);
}

/* FORM */
form {
	width: 300px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: var(--border-radius);
	border-bottom: 5px solid var(--first-color);
	background: var(--white-color);
	box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.7);
	/* height: 90%; ojo */
    margin: 10px 0;  /*ojo*/
}

form h2 {
	padding-bottom: 10px;
	text-align: center;
	/*font-size: 1.25rem;*/
	border-bottom: 1px solid var(--black-color);
}

.input-group {
	width: 240px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.input-group--large {
	width: 240px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* .input-group--radio {
	width: 220px;
	display: flex;
    justify-content: center;
    flex-direction: row;
	gap: 1px;
} */

.double-input {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.triple-input {
	width: 100%;
	display: flex;
	/* flex-wrap: wrap; */
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.triple-input > input{
	width: 33%;
}

.input-group--radio {
	width: 100%;
	display: flex;
	gap: 10px;
	align-items: center;
}

.input-group--radio > input, 
.input-group--radio > select {
	width: 40%;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type=number] { 
	-moz-appearance: textfield; 
}

label {
	/*font-size: 1.08rem;*/
	height: 29px;
	font-weight: bold;
	letter-spacing: 1px;
	display: flex;
    align-items: center;
}

.required {
	color: var(--fourth-color);
	font-size: 20px;
}

input {
	width: 100%;
	padding: 5px 10px;
	/*font-size: 1rem;*/
	border: 1px solid var(--black-color);
	border-radius: var(--border-radius);
}

select, textarea {
	width: 100%;
	padding: 5px 10px;
	/*font-size: 1rem;*/
	background-color: hsla(201, 30%, 95%, 0.4);
    border: 1px solid hsl(201, 6%, 20%);
	border-radius: var(--border-radius);
}

textarea {
	resize: none;
	height: 70px;
}

input[type='radio'] {
	width: 20px;
}

input[type='checkbox'] {
	width: 20px;
}

.input-center {
	text-align: center;
}

.input-uppercase {
	text-transform: uppercase;
}

/* LOGIN */
.login-section {
	width: 100vw;
	height: 100vh;
	background-image: url("./../img/banner.png");
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-color: rgb(41, 41, 165);
}

#loginForm {
	gap: 25px;
	/* box-shadow: none; */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	background-color: transparent;
	border: none;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.5);
}

#loginForm > img {
	width: 120px;
	height: 88px;
}

#loginForm > h2 {
	border: none;
	letter-spacing: 1px;
	color: var(--white-color);
}

#loginForm label {
	height: 1px;
	font-weight: 500;
	color: var(--white-color);
}

#loginForm input {
	/* background-color: var(--white-color);
	border-color: var(--white-color); */
	border: none;
	background: transparent;
	border: 1px solid white;
	color: var(--white-color);
}

#loginForm input::placeholder {
	text-transform: none;
}

#loginForm input::placeholder {
	color: var(--white-color);
}

#loginForm input:focus {
	outline: 2px solid var(--first-color);
	/* border: 1px solid var(--first-color); */
	/* outline: none; */
}

/* CONTENT SECTION */
.content-section {
	width: calc(100% - 80px);
	min-height: 100vh;
	padding: 1rem 0;
	position: relative; /*ojo*/
	top: 0;
	left: 80px;
	background: #d9d9d9;
	transition: all 0.8s ease;
}

.title-section {
	padding: 20px 0;
	justify-content: space-around;
	border-bottom: 2px solid var(--first-color);
	/* font-family: Verdana, Geneva, Tahoma, sans-serif; */
	color: var(--first-color);
}

.title-section > h2 {
	/*font-size: 1.4rem;*/
	/*font-style: italic;*/
	letter-spacing: 1.2px;
}


/* .title-section > section {
	display: flex;
	gap: 15px;
} */

.subtitle-section {
	height: 50px;
	padding-left: 20px;
	flex-wrap: wrap;
    justify-content: flex-start;
	gap: 20px;
}

.subtitle-section > a {
	padding: 5px 5px;
	color: var(--fifth-color);
	text-decoration: none;
	outline-offset: 2px;
	outline: 2px solid var(--fifth-color);
	border-radius: var(--border-radius);
	background: var(--white-color);
}

/* COUNTER SECTION */
.counter-section {
	margin-bottom: 40px;
	flex-wrap: wrap;
    gap: 20px;
}

.counter {
	width: 170px;
	height: 80px;
	padding: 5px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: var(--first-color);
	background: var(--white-color);
	border-radius: var(--border-radius); 
	border: 3px solid var(--first-color);
}

.counter > img {
	width: 30px;
	height: 30px; 
}

.counter > div { 
	width: 100%;
	height: 60%;
	padding-left: 5px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.counter >  p {
	/* font-size: 0.8rem; */
	margin-bottom: 5px;
}

.counter > div > p {
	font-weight: bold;
	font-size: 22px;
}

/* MODAL */
.hidden-modal {
	opacity: 0;
	visibility: hidden;
	transition: 0.5s;
}

.show-modal {
	opacity: 1;
	visibility: visible;
	transition: 0.5s;
}

.modal {
	/* min-height: 100vh; */
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	background-color: rgba(18, 23, 30, 0.7);
	height: 105vh; /*ojo*/
    padding: 10px 0; /*ojo*/
}

.modal > form,
.normal-modal > form {
	gap: 50px;
}

.form-title {
	position: relative;
}

.form-inputs {
	flex-wrap: wrap;
	gap: 25px;
	max-height: 400px; /*ojo*/
    overflow: auto; /*ojo*/
}

.print-inputs {
	gap: 50px;
}

/* TABLE */
.table-section {
	width: 240px;
	margin: 40px auto;
	padding: 10px;
}

.dataTables_wrapper .dataTables_length select {
  width: 50px;
}

.dataTable > thead {
	color: #fff;
	background: var(--first-color);
	
}

.dataTable-icon {
	/*font-size: 1.4rem;*/
}

.dataTable--details {
	/*font-size: 1.1rem;*/
	color: var(--black-color);
	text-decoration: underline;
}

.dataTables_filter {
	margin-bottom: 20px;
}

.dataTables_info, 
.dataTables_paginate {
	margin-top: 20px;
}

.cell {
	letter-spacing: 1.1px;
	/*text-transform: uppercase;*/
	color: #fff;
}

.first--color {
	background: var(--first-color);
}

.second--color {
	background: var(--second-color);
}

.third--color {
	background: var(--third-color);
}

.fourth--color {
	background: var(--fourth-color);
}

.fifth--color {
	background: var(--fifth-color);
}

.text-cut {
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-cut--small {
	max-width: 50px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* FLOAT MODAL */
.float-modal {
	width: 300px;
	padding: 20px;
	/*font-size: 1.1rem;*/
	background: var(--white-color);
	border-radius: var(--border-radius);
	border-bottom: 5px solid var(--first-color);
}

.float-modal > h2, 
.float-modal > p {
	margin-bottom: 30px;
	text-align: center;
	/*font-size: 1.4rem;*/
	font-weight: bold;
}

.modal-title {
	font-weight: bold;
}

.float-modal > div {
	margin: 15px 0;
	display: flex;
	/*align-items: center;*/
	justify-content: space-between;
	gap: 10px;
}

.float-modal > button {
	margin: 30px auto 10px;
	display: block;
}

/* ICON MENU */
.icons-section {
	margin: 20px auto;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	gap: 80px;
}

.icons-section > a {
	width: 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: center;
	/*font-size: 1rem;*/
	text-decoration: none;
	color: var(--first-color);
}

/* NORMAL MODAL */
.normal-modal {
	/*min-height: 80vh;*/
	/*margin-top: 40px;*/
	padding: 50px 20px 20px;
}

/* FOOTER */
footer {
	padding: 10px 0;
	text-align: center;
	/*font-size: 1.14rem;*/
	letter-spacing: 1.1px;
	color: var(--black-color);
	background-color: var(--first-color);
}

/* MEDIA QUERIES */
@media (hover:hover) {
	.button:hover {
		cursor: pointer;
		color: var(--white-color);
	}
	.primary--button:hover {
		outline-color: var(--first-color);
		background-color: var(--first-color);
	}
	.gray--button:hover {
		outline-color: var(--gray-color);
		background-color: var(--gray-color);
	}
	.subtitle-section > a:hover {
		color: var(--white-color);
		outline-color: var(--fifth-color);
		background-color: var(--fifth-color);
	}
	.dataTable-icon:hover {
		cursor: pointer;
		opacity: 0.6;
	}
	.icons-section > a:hover {
		cursor: pointer;
		opacity: 0.6;
	}
}

@media screen and (min-width: 768px) {
	.content-section {
		padding: 2rem;
	}
	.subtitle-section {
		padding-left: 80px;
	}
	.modal > form,
	.normal-modal > form,
	.float-modal {
		width: 500px;
	}
	.form-inputs {
		justify-content: space-between;
	}
	.input-group {
		width: 220px
	}
	.input-group--large {
		width: 460px;
	}
	.double-input {
		justify-content: space-between;
		gap: 0px;
	}
	.table-section {
		width: 98%;
	}
}