/*
	Theme Name: UNAM MAPAS
	Theme URI: https://virkapp.com/
	Author: virkapp
	Author URI: https://virkapp.com/
	Description:  custom theme for UNAM
	Version: 1.0
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: unam
	Tags: unam web site
*/
:root{
	--primary-color : #313A5B;
	--default-color : #555555;
	--secondary-color: #0E1737;
	--muted-color : #6A7393;
	--muted-accent-color : #D8C394;
	--accent-color:#B09861;
	--purple-color : #001734;
	--border-color : #DDDDDD;
	--primary-font:'Open Sans', sans-serif;
}

body{
	margin: 0px;
	padding: 0px;
	font-family: var(--primary-font);
	font-size: 14px;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
p{
	font-size: 14px;
	font-family: var(--primary-font);
	font-weight: 400;
}
.wrapper{
	min-height: 300px;
}

header{
	z-index: 9;
	height: 90px;
	position: sticky;
	top: 0px;
	background-color: #002453;
	box-shadow: 0px 1px 5px rgba(106,115,147,0.16);
}
header nav{
	height: 90px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
header .navbar-logo{
	max-height: 80px;
}
footer{
	background-color: var(--secondary-color);
	padding-bottom: 15px;
}
.logofooter{
	height: 75px;
	width: auto;
	margin-top: 40px;
}
.menu-footer ul{
	list-style: none;
	display: flex;
	padding-inline-start: 0px;
}
.menu-footer li a{
	color: white;
	font-size: 13px;
	text-decoration: none; 
	margin-right: 25px;
}
h1,h2,h3,h4,h5,h6{
	color : white;
	font-family: var(--primary-font);
	font-weight: bold;
	font-style: normal;
	position: relative;
}
h1{
	font-size: 48px;
}
h1.section:after,h2.section:after,h3.section:after,h4.section:after,h5.section:after{
	content: '';
	height: 2px;
	background-color: var(--accent-color);
	width: 33%;
	position: absolute;
	bottom:  -6px;
	left: 0px;
}
h2.section:after{
	width: 25%;
}
h3.section:after{
	width: 20%;
}
h4.section:after{
	width: 15%;
}
h5.section:after{
	width: 5%;
}

h2{
	font-size: 35px;
}

footer h1,footer h2, footer h3 , footer h4, footer h5, footer h6{
	color: white;
}
footer p{
	color: var(--border-color);
}

footer a{
	text-decoration: none;
}

footer .btn-whiteus{
	border:1px #D8C394 solid;
	color:#D8C394;
	margin:15px 0;
	width:160px;
	height:52px;
	font-weight: bold;
}

header .btn-header{
	border: 2px #555555 solid;
    color: #555555;
    margin: 0px 15px;
    width: 168px;
    height: 52px;
    font-weight: bold;
    font-size:16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}


/*header*/
#menu-header-menu{
	height: 90px;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
}

#menu-header-menu li.menu-item{
	margin-left: 10px;
	margin-right: 10px;
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
	cursor: pointer;
}
#menu-header-menu li.menu-item:first-child{
	margin-left: 0px;
}
#menu-header-menu li.menu-item:last-child{
	margin-right: 0px;
}
#menu-header-menu li:hover, #menu-header-menu li.current_page_item{
	border-top: 2px solid #B09861;
	border-bottom: 2px solid #B09861;

}

#menu-header-menu li.menu-item a{
	display: block;
	padding-top: 5px;
	padding-bottom: 5px;
	color : white;
	text-decoration: none;
	font-weight: 700;
	font-family: var(--primary-font);
}

#menu-header-menu li:hover a, #menu-header-menu li.current_page_item a{
	color : white;
}
p.copyright{
	color:var(--muted-color);
	text-align: center;
	margin: 0px;
	padding: 0px;
}
.terms a{
	color:var(--muted-color);
	margin: 0px;
	padding: 0px;
}
.content-footer{
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
}
.footer-space{
	margin-bottom: 15px;
}
.social-footer{
	display: flex;
	align-items: center;
}
.social-footer a i{
	color: var(--muted-color);
	font-size: 16px;
    margin-right: 20px;
}
/*helpers*/
.text-center{
	text-align: center;
}
.el-right {
	margin: 0px 0px 0px auto !important;
}
.m-banner{
	margin-bottom: 60px;
	margin-top: 40px;
}


/*home*/

.home-banner{
	background-color: #F2F2F2;
	background-image: url('./images/home-bannerx1.png');
	background-repeat: no-repeat;
	background-position: right;
	height: 675px;
}
.home-banner-content{
	height: 675px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}
.home-banner-content h1{
	font-size: 72px;
	color: var(--default-color );
	margin-bottom: 15px;
	margin-top: 0px;
}
.home-banner-content p{
	font-family: var(--primary-font);
	font-size: 16px;
	color: var(--default-color );
	font-weight: 400;
}
.home_banner, .page_banner{
	width: 100%;
	height: 700px;
	min-height: 700px;
	background-image: url('./images/image_home.jpg');
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-attachment: fixed;
}
.home_banner .mask{
	background: rgba(0,36,83,.6);
	display: flex;
	height: 100%;
}
.home_banner h2{
	color: white;
	margin-top: 50%;
}
.home_banner p{
	color: white;
}
.banner-head{
	background-image: url('./images/home-bannerx1.png');
	background-repeat: no-repeat;
	background-position: right;
	height: 420px;
	border-radius: 5px;
}
.mask-banner{
	background: rgba(33,33,33,.6);
	display: flex;
	height: 100%;
	border-radius: 5px;
}
.content-banner{
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}
#banners .slick-dots{
	bottom: 15px;
}
#banners .slick-dots li button:before{
	color: #fff;
    opacity: .9;
}
.banner-head p{
	color: white;
	margin-bottom: 40px;
}
.banner-head h2{
	margin-bottom: 0px;
	font-size: 32px;
}
.banner-head .btn{
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
}
.slider-btn{
	margin-top: 35%;
	margin-bottom: 8%;
}
.slick-dots li button:before {
	font-size: 40px !important;
}

.slick-dots li.slick-active button:before, .slick-dots li:hover button:before{
	color: var(--accent-color) !important;
}
.slick-dotted.slick-slider{
	margin-bottom: 0px !important;
}
#slider-home .slick-dots{
	bottom: 50px;
	z-index: 99;
}

#slider-home .slick-dots li button:before{
	color: #fff;
	opacity: .9;
}

@media all and (max-width: 768px) {
	.home-banner{
		background-image: url('./images/home-banner-mobile.png');
		background-size: 100% auto;
		background-position: 0px -100px;
		height: 500px;
	}
	.home-banner-content{
		height: 500px;
	}
	.home-banner-content h1{
		font-size: 36px;
	}
	.home-banner-content a{
		width: 200px;
	}
}

.main-features{
	background-color: var(--purple-color);
	position: relative;
	padding-top: 60px;
	padding-bottom: 60px;
	min-height: 523px;
}
.main-links{
	background-color: var(--purple-color);
	position: relative;
	padding-top: 60px;
	background: linear-gradient(to bottom, var(--purple-color) 50%, white 50%);
	padding-bottom: 60px;
	min-height: 523px;
}

.main-features h2, .main-links h2{
	color: white;
	position: relative;
	z-index: 2;
	margin-bottom: 10px;
}
.main-links h1{
	margin-top: 10px;
}
.half-content{
	width: 50%;
	background-color: #001734;
	border-radius: 5px;
	padding: 20px;
	display: flex;
	justify-content: center;
	flex-direction: column;
	height: 600px;
	z-index: 3;
}
.half-content h2{
	margin-bottom: 10px;
	color: white;
	font-size: 30px;
	width: 60%;
}
.half-content p{
	width: 90%;
	line-height: 26px;
	color: white;
}
.half-r{
	width: 50%;
	height: 100%;
	z-index: 2;
	left: -40px;
	top: 40px;
	position: relative;
}
.mghalf{
	margin-bottom: 100px;
}
.line-y{
	background-color: #FACF72;
	height: 2px;
	width: 80px;
}
.line-blue{
	background-color: #001734;
	height: 3px;
	width: 80px;
}
.redes_sociales i{
	margin-right: 5px;
}
.card-features{
	z-index: 2;
	position: relative;
	padding: 30px;
	background-color: white;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	box-shadow: 0px 1px 5px rgba(106,115,147,0.16);
}
.card-features .icon{
	width: 72px;
	height: 72px;
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: flex-start;
}
.card-features h2{
	font-size: 24px;
	margin-top: 25px;
	margin-bottom: 25px;
}
.card-features p{
	margin: 0px;
	font-size: 16px;
	color: var(--default-color);
}

.wrapper-featured-image{
	left: calc( ( ( 100vw / 2) - 100% ) * -1 );
	width: calc(100vw / 2);
	height: calc(100vh - 90px);
	min-height: 500px;
	position: relative;
}
#mapa{
	width: 100%;
	height: 100%;
}
.featured-image{
	background-position: center;
	margin-left: calc( ( ( 100vw / 2) - 100% ) * -1 );
	width: calc(100vw / 2);
	height: calc(100vh - 90px);
	min-height: 500px;
	background-size: cover;
	background-repeat: no-repeat;
	position:sticky !important;
	top: 90px;
}
.featured-image .credit-image{
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	padding: 15px;
	padding-left: 30px;
	color: white;
	font-size: 16px;
	background-image: linear-gradient(to bottom, rgba(255,0,0,0), rgba(14,23,55,1));
}
.card-enlaces h3{
	font-size: 20px;
	color: #001734;
	font-weight: bold !important;
	width: 70%;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
@media all and (max-width: 1023px){
	.half-content, .half-r{
		width: 100%;
	}
	.imghalf{
		height: 100px;
	}
	.half-text{
		padding-right: 10px;
	}
	.menu-footer ul{
		flex-flow: wrap;
	}
	.menu-footer ul li{
		margin-bottom: 10px;
	}
	.half-r{
		left: 0px;
		top:0px;
		height: 500px;
	}
	.half-content{
		height: 500px;
	}
	.mghalf{
		margin-bottom: 40px;
	}
	.half-content h2{
		font-size: 28px;
	}
	.half-content p{
		font-size: 12px;
		line-height: 20px;
	}
	footer *{
		text-align: center;
		justify-content: center;
	}

	.enlaces-de-interes ul li{
		justify-content: center;
	}
	footer .btn-whiteus{
		margin:20px auto;
	}
	footer .social-footer{
		float:none;
		margin:20px auto;
	}

}

.tool-sidebar-overlay{
	display: none;
}
.filter-bar{
	display: none;
}
@media all and (max-width: 768px) {
	h1{
		font-size: 30px;
	}
	.featured-image{
		margin-left: 0px;
		width: calc(100% + 30px);
		height: 300px;
		margin-left: -15px;
		min-height: 300px;
	}
	.btn-go-back{
		display: none !important;
	}

	.tool .tool-sidebar{
		position: fixed;
		transition: all 0.4s ease-in;
		transition: all 0.4s ease-out;
		left: -330px;
		z-index: 999;
		height: auto !important;
		min-height: auto !important;
		top: 0px;
		bottom: 0px;
	}
	body.open .tool-sidebar{
		transition: all 0.4s ease-in;
		transition: all 0.4s ease-out;
		left: 0px;
	}

	body.open .tool-sidebar-overlay{
		position: fixed;
		top: 0px;
		bottom: 0px;
		right: 0px;
		left: 0px;
		z-index: 99;
		display: block;
		background-color: rgba(29,58,91,0.2);
	}
	.filter-bar{
		height: 50px;
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		padding-left: 15px;
		padding-right: 15px;
		background-color: white;
	}
	.filter-bar button{
		font-family: cormorant-garamond,serif;
		border:1px solid #DDDDDD;
		color: #555555;
		background-color: white;
		font-size: 16px;
		width: 93px;
		height: 36px;
	}
	.tool .tool-wrapper-map,.tool{
		min-height: 300px !important;
    	height: calc(100vh - 90px) !important;
	}
	.tool .tool-wrapper-map .mapa{
		min-height: 300px !important;
    	height: calc(100vh - 90px - 50px) !important;
	}
}

@media all and (max-width: 320px) {
	.tool .tool-sidebar{
		width: 280px !important;
		min-width: 280px !important;
		left: -300px;
		 
	}
}

.filter-years{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 15px;
}
.filter-years{
	color: #555555;
	font-family: var(--primary-font);
	font-size: 16px;
}
.filter-years input{
	font-size: 12px;
	color: #555555;
	font-family: var(--primary-font);
	text-align: center;
	height: 45px;
	width: 112px;
	border:1px solid #DDDDDD;
	outline: none;
}
.half-text{
	padding-right: 90px;
}
.blue-text{
	color: #001734;
}
.half-text p{
	color: #868B99;
	line-height: 20px;
	font-size: 14px;
}
.imghalf{
	margin-top: auto;
	margin-bottom: auto;
	margin-left: auto;
	margin-right: auto;
}
.map-half{
	width: 50%;
}
.form-half{
	padding: 40px;
	padding-top: 70px;
	padding-bottom: 70px;
}
.form-contact p{
	font-size: 16px;
	color: #868B99;
}
.form-contact span{
	color: #000000;
	font-size: 16px;
}
.div-datos{
    align-items: center;
	display: flex;
}
.div-datos span{
	margin-right: 10px;
}
fieldset{
	border: none;
	font-size: 18px;
	color: #000000;
}
.form-contact label{
	font-size: 16px;
	color: #868B99;
}
.form-contact input, .form-contact textarea{
	border: none;
	border-bottom: 1px solid black;
	width: 80%;
	margin-top: 0px;
}
.margin-label{
	margin-top: 80px;
}
.blue-tenue{
	background-color: #002453;
}
@media all and (max-width: 320px) {
	.filter-years input{
		width: 80px;
	}
}
@media all and (min-width:1024px){
	.text-right-lg{
		text-align: right;
	}

	.bg-about{	
		margin-bottom:-42px;
		z-index:1;
	}

	.openbtn{
		display: none;
	}

}

@media all and (max-width: 1023px){	
	.openbtn span{
		font-size:30px;		
	}
	.search-opts{
		display: none !important;
	}
	nav{
		position: relative;
	}
	#mySidebar{
		max-height:0px;	
		width:0px;
		height:0px;	    
		overflow: hidden;
		visibility: hidden;
		position: absolute;
		top:90px;
		transition: max-height .3s ease-out;
	}
	#mySidebar.open{
		visibility: visible;
		height:auto;
		max-height: 500px !important;    					
		width: calc(100% + 30px);
    	background: #001734;
    	margin: 0px -15px 0px -15px !important;
    	transition: max-height .3s ease-in;
	}
	#menu-header{
		flex-direction: column;
		height: auto;
	}
	#menu-header-menu{
		flex-direction:column;
		height: 300px;
	}

	.search-form{
		position:relative;
		top:0px;
		right:0px;		
		width:80%;
		box-shadow: none;
		padding:5px;
		display:block;
		margin:15px auto;
		border: 2px #313A5B solid;
	}

	.btn-header{
		margin:15px auto !important;
	}
	#menu-header li.menu-item:first-child{
		margin-left:10px !important;
	}
}

@media all and (max-width:480px){
	header .navbar-logo{
	    max-width: 70%;
	}
}