/*
Theme Name: RIO
Text Domain: rio
Version: 1.0
Requires PHP: 7.4.15
Description: Tema personalizado para RIO Asociación Cooperativa.
Tags: Portal educativo
Author: @abi_mendlewicz
Author URI: https://cracodea.com/
Theme URI: https://cracodea.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url( 'https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,800;1,300&display=swap' );

@font-face {
	font-family: 'D-DIN Exp Bold';
	src: url( 'assets/fonts/D-DINExp-Bold.otf' );
}

@font-face {
	font-family: 'D-DIN Exp Italic';
	src: url( 'assets/fonts/D-DINExp-Italic.otf' );
}

@font-face {
	font-family: 'DIN Alternate Bold';
	src: url( 'assets/fonts/DIN-Alternate-Bold.ttf' );
}



/*
 * Screen reader
 */
.screen-reader-text {
	border: 0;
	clip: rect( 1px, 1px, 1px, 1px );
	-webkit-clip-path: inset( 50% );
	clip-path: inset( 50% );
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	word-break: normal;
}

.skip-link:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba( 0, 0, 0, 0.6 );
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875em;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/*
 * Generales
 */
* {
	box-sizing: border-box;
}

html[lang] {
  margin-top: 0 !important;
}

body {
	margin: 0;
}

h1 {
	font-family: 'D-DIN Exp Bold';
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

p {
	font-family: Montserrat;
	color: #575756;
}

a:any-link {
	text-decoration: none;
}

.rio-oculto {
	display: none;
}

.rio-flexbox {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}

.rio-flexbox-right {
	-webkit-justify-content: flex-end;
	justify-content: flex-end;
}

.rio-block-padding {
	padding: 1.75em 15vw;
}

.rio-popup {
	overflow: hidden;
}

.rio-popup-container {
	position: fixed;
	top: 0;
	left: 0;
	padding: 6em 10vw 2em;
	height: 100vh;
	width: 100vw;
	font-family: 'DIN Alternate Bold';
	font-size: 1.1em;
	color: white;
	overflow: scroll;
}

.rio-popup-container a {
	text-decoration: none;
	color: white;
}

#rio-popup-close {
	position: fixed;
	top: 4em;
	right: 4em;
}

#rio-popup-close > span::after {
	content: url( 'assets/icons/close.svg' );
}

.rio-heading-italic {
	font-family: 'D-DIN Exp Italic';
}

.rio-read-more {
	position: relative;
	top: -1em;
	padding: 0.1em;
	height: 1em;
	width: 1em;
	border: 1px solid;
	color: red;
	float: right;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
}

/*
 * Íconos
 */
.rio-icon {
	width: 2.25em;
	height: 2.25em;
	display: inline-block;
}

.rio-icon-button {
	background: none;
	border: none;
	cursor: pointer;
}

.rio-social-menu-icon::after {
	margin-right: 0.5em;
	width: 1.25em;
	height: 1.25em;
	display: inline-block;
}

.rio-social-menu-facebook::after {
	content: url( 'assets/icons/facebook.svg' );
}

.rio-social-menu-linkedin::after {
	content: url( 'assets/icons/linkedin.svg' );
}

.rio-social-menu-instagram::after {
	content: url( 'assets/icons/instagram.svg' );
}

.rio-social-menu-youtube::after {
	width: 1.75em;
	content: url( 'assets/icons/youtube.svg' );
}

/*
 * Header
 */
.rio-main-header {
	height: 21.5vh;
	min-height: 6em;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.rio-main-header > div {
	height: 100%;
	max-height: 4em;
}

.rio-logo {
	width: 25%;
	height: 4em;
}

.rio-logo img {
	height: 100%;
	width: auto !important;
}

.rio-header-menu-container {
	width: 75%;
}

.rio-entry-header, .rio-archive-header {
	position: relative;
}

.rio-entry-header figure {
	margin: 0;
}

.rio-entry-header img {
	width: 100%;
	height: auto;
}

.rio-title-wrap {
	position: absolute;
	bottom: 0;
	margin: 0 10vw;
	padding: 1em 5vw;
	width: 80vw;
	background-color: white;
	border-top-left-radius: 2em;
	border-top-right-radius: 2em;
}

.rio-title {
	margin-bottom: 0;
	width: 35vw;
	font-family: 'DIN Alternate Bold';
	text-transform: uppercase;
	word-break: keep-all;
	color: #494998;
	overflow-x: visible;
}

/*
 * Menús
 */
.rio-menu {
	margin-right: 0.5em;
	font-family: 'DIN Alternate Bold';
}

.rio-menu li {
	list-style: none;
}

.rio-menu a {
	text-decoration: none;
}

/*
 * Menú principal
 */
#rio-main-menu-list li {
	padding: 1em;
	max-width: 5em;
	height: 3em;
	border-left: 2px solid #666666;
	font-size: 0.8em;
	box-sizing: content-box;
}

#rio-main-menu-list a {
	color: #666666;
}

.rio-popup-menu {
	background-color: #494998;
}

.rio-menu-min-list li {
	padding: 1.5em 0;
}

.rio-popup-search {
	background-color: #ef7f7d;
}

#rio-search-form label, #rio-search-form input {
	color: white;
}

#rio-search-form input[type="search"] {
	width: 100%;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid white;
}

#rio-search-form input[type="submit"] {
	padding: 0.5em 1.5em;
	background-color: #494998;
	border: none;
	border-radius: 1.5em;
}

/*
 * Menú al pie
 */
#rio-footer-menu-list a {
	color: white;
}

#rio-social-menu-list li:not( :last-child ) {
	display: inline;
}

#rio-social-menu-list li:last-child {
	margin-top: 1em;
}

#rio-social-menu-list li:last-child a {
	font-family: 'DIN Alternate Bold';
	color: white;
}

/*
 * Main content
 */
.rio-main-content {
	min-height: 60vh;
}

/*
 * Page
 */
.rio-page-content {
	margin: 0 10vw;
	padding: 1em 5vw;
}

/*
 * Footer
 */
.rio-footer {
	padding-top: 3em;
	background-color: #666666;
}

.rio-footer-main {
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

.rio-footer-main > div {
	width: 100%;
}

.rio-footer-main > div:not( :last-child ) {
	margin-bottom: 3em;
	padding: 0 1em;
}

#rio-footer-menu-list li {
	padding: 0.5em 0;
}

.rio-footer-logo-container svg, .rio-footer-decoration svg {
	width: 100%;
}

.rio-footer-decoration svg path {
	fill: #6f6f6e;
}

.rio-footer-decoration{
	padding-right: 1em;
}

.rio-footer-notice {
	margin: 0;
	padding: 0.5em 1em;
	background-color: #3c3c3b;
	font-family: 'D-DIN Exp Italic';
	font-size: 0.8em;
	color: white;
}

/*
 * Estilos por pantalla
 */
@media all and ( orientation: portrait ) {
	/*
	 * Generales
	 */
	.rio-hide-if-portrait {
		display: none;
	}

	.rio-hide-if-landscape {
		display: block;
	}

	/*
	 * Page
	 */
	.rio-page-content-float {
		background-color: white;
		border-radius: 2em;
	}
}

@media all and ( orientation: portrait ) and ( min-width: 600px ) {
	/*
	 * Generales
	 */
	.rio-hide-if-portrait {
		display: block;
	}

	.rio-hide-if-landscape {
		display: none;
	}
}

@media all and ( orientation: landscape ) {
	/*
	 * Generales
	 */
	.rio-hide-if-landscape {
		display: none;
	}

	.rio-hide-if-portrait {
		display: block;
	}

	/*
	 * Header
	 */
	.rio-main-header {
		border-top: 20px solid #494998;
	}

	.rio-title-wrap {
		padding-bottom: 0;
		background-color: transparent;
	}
 
	.rio-title {
		width: 16vw;
		color: white;
	}
}

@media all and ( orientation: landscape ) and ( max-width: 600px ) {
	/*
	 * Generales
	 */
	.rio-hide-if-landscape {
		display: block;
	}

	.rio-hide-if-portrait {
		display: none;
	}

	.rio-block-padding {
		padding: 1em 15vw;
	}
}

@media all and ( min-width: 400px ) {
	/*
	 * Generales
	 */
	.rio-popup-container {
		font-size: 1.5em;
	}

	/*
	 * Íconos
	 */
	.rio-icon {
		width: 2em;
		height: 2em;
	}
}

@media all and ( min-width: 600px ) {
	/*
	 * Generales
	 */
	.rio-block-padding {
		padding: 1.25em 15vw;
	}
}

@media all and ( min-width: 760px ) {
	/*
	 * Generales
	 */
	.rio-popup-container {
		font-size: 2.5em;
	}

	/*
	 * Íconos
	 */
	.rio-icon {
		width: 3em;
		height: 3em;
	}

	/*
	 * Header
	 */
	.rio-main-header > div {
		max-height: 5em;
	}

	.rio-entry-header img {
		width: 100%;
		height: auto;
	}

	/*
	 * Menú al pie
	 */
	.rio-footer-logo-container {
		max-width: 60%;
	}

	/*
	 * Footer
	 */
	.rio-footer {
		font-size: 1.5em;
	}
}

@media all and ( min-width: 790px ) {
	/*
	 * Íconos
	 */
	.rio-social-menu-icon::after {
		width: 1em;
		height: 1em;
	}

	.rio-social-menu-youtube::after {
		width: 1.5em;
	}

	/*
	 * Menú principal
	 */
	.rio-menu {
		width: 90%;
	}

	.rio-search-container {
		width: 10%;
	}

	/*
	 * Menú al pie
	 */
	 .rio-footer-logo-container {
		padding-left: 15vw !important;
		padding-right: 2em !important;
		align-self: flex-start;
	}

	 .rio-footer-menu {
		padding-left: 15vw !important;
		order: 1;
	}

	.rio-footer-decoration {
		padding-right: 2em !important;
		order: 2;
	}

	.rio-footer-redes {
		margin-bottom: 0 !important;
		padding: 0 !important;
		order: 3;
	}

	#rio-social-menu-list li:last-child {
		display: inline;
		font-size: 0.8em;
	}

	/*
	 * Footer
	 */
	.rio-footer-main > div {
		width: 50%;
	}
}

@media all and ( min-width: 1000px ) {
	/*
	 * Header
	 */
	.rio-main-header > div {
		max-height: 6em;
	}

	/*
	 * Menú principal
	 */
	#rio-main-menu-list li {
		font-size: 1em;
	}
}

@media all and ( min-width: 1300px ) {
	/*
	 * Header
	 */
	.rio-title {
		width: 10vw;
	}

	/*
	 * Menú principal
	 */
	#rio-main-menu-list li {
		max-width: 6em;
		font-size: 1.125em;
	}

	/*
	 * Menú al pie
	 */
	#rio-social-menu-list li:last-child {
		font-size: 1em;
	}
}