/**
 * Theme Name: Anáhuac Veracruz 2027
 * Template:   twentytwentyfour
 * Author: UAV Web team
 * Author URI: https://wdp.uav.mx/
 * Description: Actualización para la campaña 2026-2027.
 * Version: 1.0
 * License: GNU General Public License v2 or later
 */

:root {
    --wp--style--global--content-size: 804px;
    --wp--style--global--wide-size: 1280px;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

html, body {
	font-family: "Roboto", Helvetica, sans-serif;
	/* tamaño de la fuente base, sobre este se definen todos los demás tamaños de fuente */
	font-size: 18px;
}

body {
	background-color: #ffffff;
}

.entry-content .tight, .entry-summary .tight {
	margin: 0 0 0;
}

h1.wp-block-post-title {
	font-family: sharpslab;
    font-size: 39.6px;
    line-height: 1.25;
    font-weight: normal;
    color: #231f20;
	margin: 0 0 5px;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    clear: both;
    font-family: "Roboto", Helvetica, sans-serif;
    line-height: 1.3;
}

.entry-content h4 {
	font-size: 23.4px;
	font-weight: bold;
    margin: 25px 0 10px 0;
}

.entry-content h3 {
	font-weight: bold;
}

.entry-content hr {
	background: url("./images/dotted-line.png") repeat center top;
	background-size: 4px 4px;
	border: 0;
	height: 1px;
	margin: 0 0 24px;
}


/*
	TablePress style
*/

.entry-content table {
    border-bottom: 1px solid #ededed;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 16.2px;
    line-height: 2;
    margin: 0 0 20px;
    width: 100%;
}
 
.entry-content table.tablelist .column-1 {
	width: 80%;
}

.entry-content table.tablelist td.details {
	width: 100%;
}

.entry-content table.tablelist .column-2 {
	width: 20%;
	text-align: center;
}

.entry-content .tablepress .odd td {
    background-color: #f9f9f9;
}

.entry-content .tablepress td {
	padding: 0.75rem;
}

.entry-content .tablepress a:hover {
	color: #7d2305;
}

.entry-content .details {
	position: relative;
}

.entry-content .details .collapseomatic {
	width: 80%;
	padding: 0;
	padding-right: 1.3rem;
	border-radius: 0;
	margin-bottom: 0;
	color: #bc360a;
	background-color: transparent;
	background-position: right 0.4rem;
}

.entry-content .details:hover .collapseomatic {
	color: #7d2305;
}

.entry-content .details .item-credits {
	position: absolute;
	width: 20%;
	top: 0;
	right: 0;
	padding: 0.75rem;
	text-align: center;
}

.entry-content .details .course-container {
	display: flex;
	flex-wrap: wrap;
	padding: 0.8rem 0.4rem;
}
	
.entry-content .details .course-container div.left-data {
	flex: 0 0 65%;
	padding-right: 1.5rem;
}

.entry-content .details .course-container div.right-data {
	flex: 0 0 35%;
}

.entry-content .details .course-container div.equal-left-data {
	flex: 0 0 52%;
	padding-right: 1.5rem;
}

.entry-content .details .course-container div.equal-right-data {
	flex: 0 0 48%;
}

.entry-content .details .course-container div.small-left-data {
	flex: 0 0 37%;
	padding-right: 1.5rem;
}

.entry-content .details .course-container div.big-right-data {
	flex: 0 0 63%;
}

.entry-content .details .course-container div.left-data,
.entry-content .details .course-container div.right-data,
.entry-content .details .course-container div.equal-left-data,
.entry-content .details .course-container div.equal-right-data, 
.entry-content .details .course-container div.small-left-data,
.entry-content .details .course-container div.big-right-data {
	line-height: 1.8;
	padding-bottom: 1rem;
}

.entry-content .details .course-container div.bottom-data {
	flex: 0 0 100%;
	line-height: 1.5;
	padding: 0.5rem 1.2rem;
    background-color: rgba(0,0,0,.1);
    border-radius: 0.5rem;
}

.entry-content .details .course-container .resources {
	font-size: 85%;
}

.entry-content a.classKey, a.classKey:hover {
	display: block;
	margin-top: 1rem;
	color: #000000;
	text-decoration: none;
}


.entry-content table#tablepress-1 {
	display: none;
}


/*
	collapseomatic style
*/

.entry-content .collapseomatic {
	background-image: url('./images/arrow-down.png');
	background-repeat: no-repeat;
	padding: 0 0 10px 16px;
	cursor: pointer;
}

.entry-content .collapseomatic:focus {
      outline: 0;
}

.entry-content .arrowright {
	background-position: top right;
	padding: 0 16px 10px 0;
}

.entry-content .noarrow {
	background-image: none !important;
	padding: 0 0 10px 0;
}

.entry-content .colomat-hover {
	text-decoration: underline;
}

.entry-content .colomat-close {
	background-image: url('./images/arrow-up.png');
}

.entry-content .colomat-swap {
	display: none;
}

.entry-content .collapseomatic_excerpt, .entry-content .collapseomatic_content {
	/* margin-top: 0px;
	margin-left: 16px;
	padding: 0px; */
	margin: 0 0 15px 0;
    padding: 14px 8px 0 20px;
    background-color: #fffefd;
    border-color: #fdf9f3;
    border-width: 2px;
    border-style: solid;
}

.entry-content .content_collapse_wrapper {
	position: absolute; left: -999em;
}

.entry-content .collapseall, .entry-content .expandall {
	cursor: pointer;
}

.entry-content .collapseall:hover, .entry-content .expandall:hover, .entry-content .collapseall:focus, .entry-content .expandall:focus {
	text-decoration: underline;
}

.entry-content .maptastic {
	position: absolute !important;
	left: -10000px !important;
	display:block !important;
	max-width: 9999px;
}

.entry-content .span_fix {
	padding: 0 !important;
	margin: 0 !important;
}

.entry-content .span_fix:before, .entry-content .span_fix:after {
	content: none;
}

/*
 *Estilos personalizado
 */
 
.entry-content .collapseomatic {
	display: inline-block;
	clear: both;
	margin-bottom: 8px;
	color: #ff5900;
	border-radius: 5px;	
	background-color: #fdf9f3;
	background-position: calc(100% - 12px) center;
	padding: 5px 5px 5px 20px;
	width: 100%;
	line-height: 1.5;
}


/*
	Cards style
*/

.entry-content .item-list-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 14px;
	justify-content: stretch;
}

.entry-content .item-list-container .item-container {
	border-radius: 6px;
	box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.2);
	transition: all 450ms;
	background: #fcfcfc;
}

.entry-content .item-list-container .item-container:hover {
	box-shadow: 1px 1px 12px 0 rgba(0,0,0,0.3);
	background: #ffffff;
}

.entry-content .item-list-container .item-container img {
	width: 100%;
	height: auto;
	border-radius: 6px 6px 0px 0px;
}

.entry-content .item-list-container .item-container .text-info {
	width: 100%;
	text-align: center;
	padding: 12px 10px;
	border-top: 1px solid #f0f0f0;
}

.entry-content .item-list-container .item-container .text-info h3 {
	font-size: 18px;
	margin: 4px;
}

.entry-content .item-list-container .item-container .text-info h3 a {
	color: #404040;
}

.entry-content .item-list-container .item-container .text-info h3 a:hover,
.entry-content .item-list-container .item-container:hover .text-info h3 a {
	color: #ff5900;
}

.entry-content .item-list-container .item-container .text-info p {
	font-size: 80%;
	line-height: 1.3;
}

.entry-content .item-list-container .item-container:focus, .entry-content .item-list-container .item-container:active,
.entry-content .item-list-container .item-container a:focus, .entry-content .item-list-container .item-container a:active {
	outline: none;
}

.entry-content .spacer {
	margin-bottom: 3rem;
}


/* Query para pantallas HD superiores a 1920 - Posiblemente QHD */
@media (min-width: 2500px) {
	.entry-content .collapseomatic {
		padding: 8px 8px 8px 30px;
		margin-bottom: 15px;
		border-radius: 8px;
		background-size: 20px auto;
		background-position: calc(100% - 20px) center;
	}
	
	.entry-content .collapseomatic_excerpt, .entry-content .collapseomatic_content {
		margin: 0 0 22px 0;
		padding: 22px 12px 0 30px;
		border-width: 3px;
	}
	
	.entry-content .item-list-container {
		grid-gap: 26px;
	}

	.entry-content .item-list-container .item-container {
		border-radius: 9px;
		box-shadow: 2px 2px 6px 0 rgba(0,0,0,0.2);
	}
	
	.entry-content .item-list-container .item-container:hover {
		box-shadow: 2px 2px 18px 0 rgba(0,0,0,0.3);
	}
	
	.entry-content .item-list-container .item-container img {
		border-radius: 9px 9px 0px 0px;
	}
	
	.entry-content .item-list-container .item-container .text-info {
		padding: 15px 13px;
	}
	
	.entry-content .item-list-container .item-container .text-info h3 {
		font-size: 24px;
		margin: 5px;
	}
}


@media (max-width: 999px) {
	.entry-content .item-list-container {
		grid-template-columns: repeat(3, 1fr);
	}
}


@media (max-width: 699px) {
	.entry-content .item-list-container {
		grid-template-columns: repeat(2, 1fr);
	}
}


@media (max-width: 480px) {
	.entry-content .details .course-container div.left-data,
	.entry-content .details .course-container div.right-data,
	.entry-content .details .course-container div.equal-left-data,
	.entry-content .details .course-container div.equal-right-data, 
	.entry-content .details .course-container div.small-left-data,
	.entry-content .details .course-container div.big-right-data {
		flex: 0 0 100%;
		padding-right: 0;
		padding-bottom: 1.25rem;
	}
	
	.entry-content .details .course-container div.bottom-data {
		padding: 0;
		line-height: 1.8;
		background-color: transparent;
		border-radius: 0;
	}
	
	.entry-content .details .course-container .resources {
		font-size: 100%;
	}	
	
	.entry-content .item-list-container {
		grid-template-columns: 1fr;
		grid-gap: 30px;
		margin: 2rem 0px 4rem 0px;
	}
	
	.entry-content .item-list-container .item-container .text-info {
		padding: 16px 12px;
	}

	.entry-content .item-list-container .item-container .text-info h3 {
		font-size: 22px;
	}
	
	.entry-content .item-list-container .item-container .text-info p {
		font-size: 100%;
	}
}