@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

/* Montserrat */

@font-face {
	font-family: 'Montserrat';
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
}

@font-face {
	font-family: 'Montserrat';
	font-weight: 700;
	font-style: normal;
	font-variant: normal;
	src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
}

/* Patria */

@font-face {
	font-family: 'Patria';
	src: url('../fonts/Patria-Regular.woff2') format('woff2'),
		url('../fonts/Patria-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Patria';
	src: url('../fonts/Patria-Light.woff2') format('woff2'),
		url('../fonts/Patria-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Patria';
	src: url('../fonts/Patria-Bold.woff2') format('woff2'),
		url('../fonts/Patria-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* NotoSans */

@font-face {
	font-family: 'NotoSans';
	font-weight: normal;
	font-style: normal;
	src: url('../fonts/NotoSans-Regular.ttf') format('truetype');
}

@font-face {
	font-family: 'NotoSans';
	font-weight: 700;
	font-style: normal;
	src: url('../fonts/NotoSans-Bold.ttf') format('truetype');
}

@font-face {
	font-family: 'NotoSans';
	font-weight: normal;
	font-style: italic;
	src: url('../fonts/NotoSans-Italic.ttf') format('truetype');
}

@font-face {
	font-family: 'NotoSans';
	font-weight: 700;
	font-style: italic;
	src: url('../fonts/NotoSans-BoldItalic.ttf') format('truetype');
}

html * {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html,
body {
	height: 100%;
	width: 100%;
}

:root {
	--color-primario: #9F2241;
	--color-secundario: #691C32;
	--color-resalte: #bc955c;
	--color-main-bg: #fff;
	--color-main-text: #10312b;
	--color-logo-imss: #235b4e;

	--color-msg-info: hsl(210, 50%, 40%);
	--color-msg-info-light: hsl(210, 50%, 90%);
	--color-msg-warn: hsl(50, 100%, 40%);
	--color-msg-warn-light: hsl(50, 100%, 90%);
	--color-msg-error: hsl(0, 50%, 40%);
	--color-msg-error-light: hsl(0, 50%, 90%);
}

body {
	min-width: 720px;
	font-family: 'NotoSans', Arial, Helvetica, sans-serif;
	font-size: 16px;
	background-color: #e3e8e4;
}

input,
select {
	font-family: 'NotoSans', Arial, Helvetica, sans-serif;
}

header {
	height: 160px;
	box-sizing: content-box;
	background: none;
	background-color: white;
	display: flex;
	flex-direction: row;
	border-bottom: 8px solid var(--color-main-text);
}

header .header-gradient {
	width: 100%;
}

header #felipe {
	padding: 20px;
}

main {
	padding: 2em;
	background-color: var(--color-main-bg);
	color: var(--color-logo-imss);
}

footer {
	background: url(../img/bg-footer.png) no-repeat;
	color: #fff;
	height: 97px;
	padding-bottom: 32px;
	padding-top: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 0.75em;
	line-height: 00.75em;
}

h1,
h2,
h3,
hr,
p {
	margin-bottom: 1em;
}

h1 {
	font-family: 'Patria', 'NotoSans', Arial, Helvetica, sans-serif;
	font-weight: 700;
	color: var(--color-resalte);
}

hr {
	clear: both;
}

main ul {
	margin-left: 32px;
	margin-bottom: 1em;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
	box-shadow: 1px 1px 8px 8px #00000080;
}

/* BARRA DE NAVEGACION */

nav {
	background-color: #ccc;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	width: 100%;
}

nav ul {
	list-style: none;
	display: flex;
	justify-content: left;
	align-items: center;
	padding: 0;
}

nav ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

nav ul li a {
	display: block;
	padding: 8px 16px;
	text-decoration: none;
	color: #001122;
}

nav ul li a:hover {
	background-color: #eee;
}

nav ul li a.active {
	background-color: #fff;
}

article a {
	text-decoration: none;
	color: var(--color-resalte);
}

article a:hover {
	text-decoration: underline;
}

.valign {
	vertical-align: middle;
}

/* BOTON DESCARGAR */

.download {
	display: inline-block;
	color: #fff;
	background-color: #f7af09;
	text-decoration: none;
	text-align: center;
	font-weight: bold;
	line-height: 1em;
	margin-bottom: 1em;
	padding: 0.5em 1em;
	border: none;
	border-radius: 0.25em;
	cursor: pointer;
}

.download:hover {
	background-color: #f7af09;
}

.download:visited {
	background-color: #b48725;
}

.download:disabled {
	background-color: #ccc;
	pointer-events: none;
	cursor: default;
}

.file-container {
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
	margin-bottom: 16px;
}

.file-icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 120px;
}

.file-icon img {
	margin: 1px 0 0 1px;
	width: 96px;
}

.file-icon:hover img {
	margin: 0 1px 1px 0;
	filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
}

.file-icon label {
	width: 100%;
	margin-top: 16px;
	text-align: center;
	font-size: 12px;
	font-weight: normal;
	color: black;
}

.get-adobe img {
	margin-bottom: 0;
}

.acciones {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 2px;
	font-size: 13px;
}

.acciones a {
	padding: 0;
	margin: 0;
	color: lightgray;
	background-color: transparent;
}

.acciones a:hover {
	color: white;
	background-color: #f7af09;
}

.acciones a.disabled:hover {
	color: lightgray;
	background-color: transparent;
	cursor: default;
}

.docs-draw {
	width: min(100%, 760px);
}

.some-workers {
	position: relative;
	overflow: hidden;
	height: 200px;
}

.some-workers>img {
	max-width: min(100%, 720px);
	position: absolute;
	top: 0;
}

.developers {
	position: relative;
	/* overflow: hidden; */
	height: 350px;
}

.developers>img {
	max-width: min(100%, 720px);
	position: absolute;
	bottom: -32px;
}

.img-capacitacion {
	position: relative;
	/* overflow: hidden; */
	height: 260px;
}

.img-capacitacion>img {
	max-width: min(100%, 720px);
	position: absolute;
	bottom: -31px;
}

/* NOTA EN LATERAL */

.sidenote {
	background-color: #eee;
	padding: 1em;
	margin-bottom: 1em;
}

.sidenote .thumb-v {
	float: left;
	height: 130px;
	width: 100px;
	margin: 0 1em 1em 0;
}

.sidenote>hr {
	border: 1px dashed #ddd;
}

.flex-column {
	display: flex;
	flex-direction: column;
}

.content-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.card {
	background-color: white;
	border-radius: 4px;
	box-shadow: 2px 2px 4px #ddd;
	padding: 8px 8px;
	margin: 16px;
}

.chart {
	position: relative;
	clear: both;
	height: 360px;
	width: 580px;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="password"] {
	vertical-align: middle;
	padding: 4px;
	border: none;
	border-radius: 8px;
	font-size: 1em;
}

/* BARRAS DE NENSAJES */

.msg-bar {
	display: flex;
	align-items: center;
	gap: 4px;
	border-radius: 4px;
	font-size: 14px;
	margin-bottom: 8px;
}

.msg-text {
	flex-grow: 1;
}

.msg-close {
	visibility: hidden;
}

.msg-bar:hover .msg-close {
	visibility: visible;
	cursor: default;
}

.msg-error {
	color: var(--color-msg-error);
	background-color: var(--color-msg-error-light);
	border: 1px solid var(--color-msg-error);
}

.msg-warn {
	color: var(--color-msg-warn);
	background-color: var(--color-msg-warn-light);
	border: 1px solid var(--color-msg-warn);
}

.msg-info {
	color: var(--color-msg-info);
	background-color: var(--color-msg-info-light);
	border: 1px solid var(--color-msg-info);
}

/* BARRA DE PROGRESO */

.progress-border {
	width: 100%;
	line-height: 24px;
	padding: 0;
	border-radius: 4px;
	color: var(--color-logo-imss);
	border: 1px solid var(--color-logo-imss);
	background-color: white;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

.progress-bar {
	color: white;
	background-color: var(--color-logo-imss);
	height: 24px;
	text-align: center;
}

/* TABLA DE AVANCES */

.avances table {
	margin-bottom: 8px;
	font-size: 10px;
}

.avances th {
	color: var(--color-main-bg);
	background-color: var(--color-logo-imss);
	border-radius: 4px;
	padding: 4px 4px;
	margin: 2px;
}

.avances td {
	color: var(--color-main-text);
	background-color: var(--color-main-bg);
	border: none;
	border-radius: 4px;
	padding: 4px 4px;
	margin: 2px;
}

/* TABLA DE GUIAS */

#adscripcion-select {
	padding: 4px 4px;
	border: none;
	border-radius: 4px;
}

#adscripcion-guias table {
	width: 100%;
	margin-bottom: 8px;
	font-size: 13px;
}

#adscripcion-guias th {
	color: var(--color-main-bg);
	background-color: var(--color-logo-imss);
	border-radius: 4px;
	padding: 4px 4px;
	margin: 2px;
}

#adscripcion-guias th[onClick] {
	cursor: pointer;
}

#adscripcion-guias td {
	color: var(--color-main-text);
	background-color: var(--color-main-bg);
	border: none;
	border-radius: 4px;
	padding: 4px 4px;
	margin: 2px;
}

#guias {
	margin-bottom: 1em;
}

/* ADMIN SECTION */

.admin {
	background-color: var(--color-main-text) !important;
	color: var(--color-resalte);
}

.hide {
	display: none;
}

.flex-1 {
	flex: 1;
}

#session-info {
	display: flex;
	flex-direction: row;
	margin-right: 16px;
	align-items: center;
	gap: 8px;
}

#session-info a {
	text-decoration: none;
	color: var(--color-secundario);
}

#session-info a:hover {
	text-decoration: none;
	color: var(--color-primario);
}

#user-name {
	font-weight: 700;
	color: var(--color-primario);
	font-size: 16px;
}

#user-role {
	font-weight: lighter;
	color: var(--color-secundario);
}

#spn-filename {
	padding: 3px 8px;
	border-radius: 8px;
	background-color: var(--color-main-bg);
}

#sheet-selector {
	height: 32px;
	padding: 6px 10px;
	border-radius: 8px;
	border: 1px solid #ccc;
	background-color: white;
	color: #333;
	font-size: 14px;
	margin-right: 8px;
	cursor: pointer;
}

/* ADMIN SECTION BUTTONS */

.admin #admin-sections {
	list-style: none;
	margin: 0;
	padding: 0;
	width: fit-content;
}

.admin #admin-sections li {
	margin-bottom: 8px;
}

.admin #admin-sections li a {
	margin: 8px;
	padding: 8px;
	display: flex;
	flex-direction: row;
	gap: 8px;
	align-items: center;
	text-decoration: none;
}

.admin #admin-sections li a:hover {
	color: var(--color-main-bg);
	background-color: var(--color-secundario);
}

.admin #admin-sections li a .material-icons {
	font-size: 32px;
}

/* Fin del CSS */