@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

body{ background: rgba(50,57,62,1.00); margin:0;}

h1{font-family: "DM Sans", sans-serif; color:rgba(255,255,238,1.00); font-size:2.0em; font-weight: 800; text-align:left; margin: auto; }
h2{font-family: "DM Sans", sans-serif; color:rgba(255,255,238,1.00); font-size:1.5em; font-weight:500; }
h3{font-family: "DM Sans", sans-serif; color:rgba(255,255,238,1.00); font-size:1.2em; letter-spacing:0px; text-align:left; }
h3.focus3{font-family: "DM Sans", sans-serif; color:rgb(0,0,0); font-weight:900; font-size:1.5em; border-left:5px solid rgba(0,254,254,1.00); padding-left: 10px;}
p{font-family: "DM Sans", sans-serif; color: rgba(255,255,255,1.00); font-size:1.0em; font-weight: 400; line-height: 165%; }

legend{font-family: "DM Sans", sans-serif;; color:rgba(76,76,76,1.00); font-size:1.2em; font-weight:500; margin-top:50px;  }

ul li{font-family: "DM Sans", sans-serif; color: rgba(126,126,126,1.00); font-size:1em; line-height: 165%; }
ol li{font-family: "DM Sans", sans-serif; color: rgba(126,126,126,1.00); font-size:1em; line-height: 165%; }

a:link, a:active, a:visited{font-family: "DM Sans", sans-serif; color:rgba(0,0,0,1.00); text-decoration: none; }
a:hover{color: rgba(226,101,20,1.00); text-shadow: rgba(100,100,100,0.8) 1px 1px 1px; }

a.footer:link, a.footer:active, a.footer:visited{font-family: "DM Sans", sans-serif; color:rgba(255,255,255,0.65); font-size: 0.8em;}
a.enlace:link, a.enlace:active, a.enlace:visited{opacity:0.7; margin: 5px;}
a.enlace:hover{opacity:1.00;}
a.autortag:link, a.autortag:active, a.autortag:visited{color:rgba(255,255,255,1.00); font-size: 0.9em;}
a.autortag:hover{opacity:0.80;}

input, textarea, select{background:rgba(245,245,245,1.00); color: rgb(47,47,47); font-family: "DM Sans", sans-serif; font-size:1em; font-weight:300; padding:5px; margin:2px 0px; border:rgba(145,145,145,1.00) solid 1px; width:100%; max-width:700px; }
input:hover, textarea:hover{background:rgba(235,235,235,1.00); box-shadow: rgba(192,218,222,1.0) 0px 0px 5px;}
input.boton{background:rgba(0,0,0,1.00); color:rgb(255,255,255); border:rgb(247,247,247); padding:10px 5px; boder:none; margin:5px 10px; }
input.add{background:rgba(226,101,20,1.00); color:rgba(0,0,0,1.00); border:rgb(247,247,247); font-family:'Roboto', sans-serif; font-size:0.85em; font-weight:400; text-transform:uppercase; padding:10px 25px; boder:none; margin:5px 10px; width: auto;}
input.add:hover{background:rgba(255,255,255,1.00); color:rgba(38,37,158,1.00);}

button{background:rgba(0,0,160,1.00); color:rgba(255,255,255,1.00); font-family: "DM Sans", sans-serif; font-size:0.85em; font-weight:bolder; text-transform:uppercase; padding:10px 25px; border: none; margin:5px 10px; width: auto;}
button:hover{background:rgba(178,60,38,1.00); color:rgba(255,255,255,0.70);}

/* TABLAS */
table{overflow-x:auto; width:100%;}
table thead th{font-family: "DM Sans", sans-serif; font-size:1.2em; font-weight:300; color:#FFF; background:rgba(25,75,200,1.00); border:none; padding:10px 20px; text-align:center; }
table tr td{font-family: "DM Sans", sans-serif; font-size:0.85em; font-weight:300; color:rgba(0,0,0,1.00); border:none; vertical-align:top; padding:10px; text-align:left; }
table tfoot td{font-family: "DM Sans", sans-serif; background:rgba(25,75,200,1.00); border:none; color:rgba(255,255,255,1.00); font-weight:300; font-size:1em; padding:5px; }
tr:nth-child(even) {background:rgba(255,255,255,0.90);}
tr:nth-child(odd) {background:rgba(245,245,245,0.90);}

/* MENÚ RESPONSIVO */
ul.topnav li {float:left; font-family: "DM Sans", sans-serif; font-weight:300;  }
ul.topnav li.icon {display: none;}
ul.topnav li a {display:inline-block; padding:10px; font-size:0.9em; text-align:center; text-decoration:none;}
ul.topnav li a:hover {padding:10px;}

/* MENÚ DESPLEGABLE */
ul.menu{padding:0px; list-style: none; margin:0px; text-align:center; float: right;}
ul li.menu{display:inline-block; margin:10px; position:relative; font-family: "DM Sans", sans-serif; font-weight:600; font-size:1.0em; text-align:left; text-transform: uppercase; }
ul li.menu a{display:block; text-decoration:none; margin:0px; padding:5px 10px; transition: all 0.5s ease-in 0s; color:rgba(1,1,1,0.85); border:rgba(1,1,1,0.0) solid 1px; }
ul li.menu a:hover{color:rgba(1,1,1,1.00); background:rgba(230,230,230,1.00); border:rgba(1,1,1,0.10) solid 1px;}

ul li.menu ul.dropdown{min-width:185px; /*Set width of the dropdown*/ margin:0px; padding:0px; display:none; position: absolute; z-index: 999; left: 0; text-align:left; color:rgba(1,1,1,1.00); background:rgba(255,255,255,1.00); box-shadow:rgba(0,0,0,0.45) 1px 1px 3px;}
ul li.menu:hover ul.dropdown{display: block; /* Display the dropdown */ border:rgba(100,100,100,0.35);}
ul li.menu ul.dropdown li{display: block; color:rgba(1,1,1,1.00); border:rgba(255,255,255,1.00) solid 1px; font-size: 1.0em; padding:0px; margin:5px; }
ul li.menu ul.dropdown li a {padding:5px; text-align:left; background:rgba(255,255,255,1.00);} 
ul li.menu ul.dropdown li a:hover{display: block; color:rgba(1,1,1,0.80); background:rgba(230,230,230,1.00); border:rgba(1,1,1,0.10) solid 1px;}

ul.list li.list{font-family: "DM Sans", sans-serif; }
ol.list li.list{font-family: "DM Sans", sans-serif; list-style:inside; list-style-type:square; display:inherit;}

/* HEADER CHANGING */
header{width:100%; position:fixed; z-index:10; margin:0px;}

header.large{height:85px; background:rgba(255,255,238,1.00); box-shadow: rgba(0,0,0,0.5) 2px 2px 2px; transition:1.2s; }
header.large img.logo{margin:5px; height:75px; transition:1.2s;}
header.large ul.topnav{list-style-type:none; padding:5px; margin-top:0px; overflow:hidden; z-index:1000; float:left; transition:1.2s;}
header.large ul.topnav li a {color:rgba(1,1,1,0.85); border:rgba(1,1,1,0.0) solid 1px; transition:1.2s;}
header.large ul.topnav li a:hover {color:rgba(1,1,1,1.00); background:rgba(255,255,255,1.00); border:rgba(1,1,1,1.00) solid 1px; transition:1.2s;}
header.large .fecha-header {float: left; font-family: "DM Sans", sans-serif; color:rgba(0,0,0,1.00); font-size:1.5em; font-weight:500; padding: 20px 10px;}
header.large .rrs-header {float: right; font-family: "DM Sans", sans-serif; color:rgba(0,0,0,1.00); font-size:1.5em; font-weight:500; padding:14px; }

header.small{height:131px; background:rgba(255,255,238,1.00); transition:1.2s; box-shadow:rgba(0,0,0,0.5) 2px 2px 5px; }
header.small img.logo{margin:5px; float: left; height:40px; transition:1.2s; background: url()}
header.small ul.topnav{list-style-type:none; padding:5px; margin-top:5px; overflow:hidden; z-index:1000; float:left; transition:1.2s;}
header.small ul.topnav li a {color:rgba(1,1,1,0.85); border:rgba(1,1,1,0.0) solid 1px; transition:1.2s;}
header.small ul.topnav li a:hover {color:rgba(1,1,1,1.00); background:rgba(255,255,255,1.00); border:rgba(1,1,1,1.00) solid 1px; transition:1.2s;}
header.small .fecha-header {display: none;}
header.small .rrs-header {display: none;}

#contenido{ margin-top:0px; padding-top:85px; }
#banner{background:url(http://najeramontiel.com.mx/images/teaser.jpg) 50% 50%; background-size:cover; padding:110px 28px 1px; text-align: left;}
#texto{width:100%; max-width:1080px; text-align: justify; padding: 0px; }
#footer{width:90%; padding:30px 5%; margin-top:0px; background:rgba(15,7,145,1.00); text-align:left;}

#noticia-principal {display: block; margin: 0px 20px 20px 0px; width:680px; padding: 10px; float: left; min-height: 540px;}
#foto-principal {width: 680px; height: 415px;}
#noticias-secundarias{float: left; margin: 10px; width: 810px;}
#video-columna-home {float: left; width: 390px; margin: 10px;}
#cartones-home{float: left; margin: 10px; width: 1280px;}
#trending{float: left; width: 280px; margin-left: 50px; padding-top: 50px;}

#responsive{ display:none; }
#scrolldown{ display:block; width:100%; max-width:1100px; }

@media screen and (max-width:1280px) {
	#noticias-secundarias{width: 810px;}
}

@media screen and (max-width:900px) {
	#responsive{ display:block; }
	#scrolldown{ display:none; }
	
	ul.topnav li:not(:first-child) {display: none;}
	ul.topnav li{display: none;}
	ul.topnav li.icon {float:right; display: inline-block;}
	
	header.large{height:70px;}
	header.large ul.topnav{list-style-type:none; padding:0px; margin-top:0px; overflow:hidden; z-index:1000; float: right; width:177px;}
	
	#contenido{padding-top:125px;}
	#noticia-principal {margin: 25px auto 20px; width: 98%; background: rgba(0,0,160,1.00); float: none; min-height: inherit; }
	#foto-principal {width: 340px; height: 210px;}
	#noticias-secundarias{width: 470px;}
	#trending{width: 280px; margin: auto; padding-top: 30px;}
	
	header.small{height:60px;}
	header.small ul.topnav{list-style-type:none; padding:0px; margin-top:0px; overflow:hidden; z-index:1000; float: right; width:177px;}
		
	ul.topnav.responsive{position:relative; background:rgba(255,255,255,0.5); top:5;}
	ul.topnav.responsive li.icon{/*position: absolute; right:0; top:0;*/ display: block; }
	ul.topnav.responsive li{float: none; display: inline; font-size:1em;}
	ul.topnav.responsive li a{display: block; text-align:left; background:rgb(245,245,245); margin:0px; border: none; }	
	ul.topnav.responsive li a:hover{display: block; text-align: left; background:rgba(245,245,245,1.00); margin: 0px; border:none; }
}

@media screen and (max-width:720px) {
	h1{font-size:1.6em;}
	
	#contenido{padding-top:70px;}
	#texto{text-align: justify;}
	#slider-atura {min-height: 210px; width:960px; margin:auto;}
	
	#noticias-secundarias{width: 270px; float: none; margin: auto;}
	#video-columna-home {width: 270px; float: none; margin: auto;}
	
	.lineamientos{width:45%; max-width:450px;}
	
	header.large, header.small {height:80px; background:rgba(255,255,255,1); transition:1.2s; border-bottom: rgba(224,224,224,1.00) solid 1px;}
	header.large ul.topnav, header.small ul.topnav{list-style-type:none; padding:20px 0px; overflow:hidden; z-index:1000; float: right; width:125px;}
	header.large img.logo, header.small img.logo{margin:15px 0px; float: left; height:50px; transition:1.2s;}
}