
/*
Theme Name: Esem
Version: 1.0
Made in exts
*/

/* Overwrites and Tag Declerations
----------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	font-size: 100%;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: top;
}
html{ scroll-behavior: smooth; }
html, body{ height:100%; }
body {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1;
	background:#fff;
	color:#222;
	overflow-x: hidden;	
	font-size: 12px;
}
ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
	color: #666;
	outline: none;
	text-decoration: none;
}
a:hover {
  color: #000;
}
a img {
	border: none;
}
.hook {
	display: block;
}
.hook:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}
* html .hook {
	height: 1%;
}

ul li{ list-style-type:none}

p, ul, li{font-size-adjust: none;font-stretch: normal;font-style: normal;font-variant: normal;font-weight: normal;letter-spacing: 0;line-height: normal;word-spacing: normal; }

p { margin:0 0 10px 0;}

textarea, input {max-width:350px; width:100%}

.transparent {
	zoom: 1;
	filter: alpha(opacity=80);
	opacity: 0.8;
}

/* Columns
----------------------------------------------- */

.container {
  margin: 0 auto 0 auto;
  padding:0;
  display:block;
  height: auto;
  }

/* Typography
----------------------------------------------- */
.font0 { font-family:'Arial' serif; }
.font1 { font-family: 'Merriweather', serif; }
.font2 {font-family: 'Roboto', sans-serif;}
.font3, h1, h2, h3 { font-family: 'Merriweather', serif; }
.font4, h4 {font-family: 'Roboto', sans-serif;}


/* Core
----------------------------------------------- */

.header{ width:auto; height: 100px; background:#805d14;  }
.slider{ width:auto; height: auto; background:#c08e11;  }
.wrapper{ width:auto; height: auto; background:#dbd2c8;  }
.wrapper.dos{ width:auto; height: auto; background:#52463a;  }
.footer{ width:auto; height: 80px; background:#5c5042;  }

.header-content{ margin: 0 auto; width: 100%; max-width:94%; padding:0 0; } 
.wrapper-content{ margin: 0 auto; width: 80%; max-width:1600px; padding:0; background: url(images/10W.png) no-repeat top center; background-size: 100% auto; }  
.wrapper-content.circulares{ margin: 0 auto; width: 80%; max-width:1600px; padding:0; background: #8c5e00 url(images/esem-f-circu-01.jpg) no-repeat bottom center; background-size: 100% auto; }  

.footer-content{ margin: 0 auto; width: auto; max-width:1100px; padding:0 10px; } 
#slider{ margin: 0 auto; width: auto; max-width:1120px; padding:0 0; }
.subfooter { margin: 0 auto; width: auto; max-width:1100px; padding:0;   }
.outthumb{ margin: 0 auto; width: auto; max-width:1120px; padding:0 0; } 

/* MENUS 
----------------------------------------------- */

.menubutton{ display: none; width: 70px; height: 70px; background: url(images/menu-white.png) no-repeat center center; float: right; }

.menuprincipal{ display:inline-block; }

.menuprincipal{ padding:0; margin:0 0 0 0;  }
.fecha{ font-size:20px; margin:12px 20px 0 0; color:#cec6ba; float:right; }

.menuprincipal { text-align:left; }
.menuprincipal li { display:inline-block; margin:0 0 0 0; padding: 15px 0 9px; }
.menuprincipal a{ margin:0 7px 5px 0; padding:0 13px 0 0; color:#FFF; font-size:12px; display:inline-block; font-weight: 400; border-right: 1px solid #be8a22;letter-spacing: 0.5px;  }
.menuprincipal a:hover{ color:#be8a22; }
.menuprincipal li:last-child a{ border-right: none; }

.menu-movil{ display: none; }
a.menu_button{ display:none; width:80px; height:80px; background: url(images/menu-white.png) no-repeat center center; cursor:pointer; }
.menu-movil ul { display: block; width:100%; position:absolute; left:0; top: 80px; z-index:9999999; background:#dcd2c8; }
.menu-movil ul li{ display: block; width: auto; margin: 0 0 0 145px; }
.menu-movil ul li a{ display: block; width:100%; height:40px; background:#dcd2c8; border-bottom:1px solid #bdb4ab; margin:0; line-height:40px; text-align:left;  }

.menu-idiomas { text-align:left; display: inline-block; margin: 0 0 0 35px; }
.menu-idiomas li { display:inline-block; margin:0 0 0 0; padding: 15px 0 9px; }
.menu-idiomas a{ margin:0 7px 5px 0; padding:0 13px 0 0; color:#FFF; font-size:14px; display:inline-block; font-weight: 400; border-right: 1px solid #be8a22;letter-spacing: 0.5px; text-transform: uppercase;  }
.menu-idiomas a:hover{ color:#be8a22; }
.menu-idiomas li:last-child a{ border-right: none; }
.menu-idiomas li.menu-item-1078 a{ color:#e7c174; }

 .sep{ display: none; }

/* popup 
----------------------------------------------- */
.popup{ 
width: auto;
height: auto;
position: fixed;
bottom: 60px;
right: 70px;
z-index: 100;
padding: 0 10px 20px 10px; 
cursor: pointer;
}
.masa{background: #eae5df;border: 4px solid #271708; position: absolute; width: 100%;height: 100%;top: 0;left: 0;z-index: 10;}
.sombra{
background: #000;
position: absolute;
width: 103%;
height: 106%;
top: 2px;
left: 2px;
z-index: 5;
-webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
}

.popup .elementos{ background: none; position: relative; width: 100%;height: 100%;top: 0;left: 0;z-index: 20;}

.popup .cerrar{
color: #271708;
font-weight: 400;
position: absolute;
top: 10px;
right: -13px;
width: 30px;
height: 30px;
font-size: 17px;
z-index: 30;
}

.popup .logo{ 
position: absolute;
top: 20px;
right: 0px;
width: 90px;
height: 90px;
border-radius: 60px;
background: #52463a url(images/logo-e.svg) no-repeat center left;
  background-position-x: left;
  background-position-y: center;
  background-size: auto;
background-position-x: left;
background-position-y: center;
background-size: auto;
overflow: hidden;
background-size: 102% auto;
background-position: 0px -2px;
}

.popup .titulo{ 
color: #271708;
font-size: 26px;
font-weight: 800;
width: auto;
line-height: 1.3em;
margin: 20px 110px 0 10px;
}

.popup a.boton { 
background: none;
color: #8f6c48;
border: 1px solid #8f6c48;
border-radius: 30px;
text-transform: uppercase;
font-weight: 100;
display: inline-block;
padding: 20px 20px;
font-size: 16px;
letter-spacing: 0.5px;
margin: 20px 0 0 10px;
}
.popup a.boton:hover{ 
background: #52463a;
color: #eae5df;
border: 1px solid #8f6c48;
}

/* header 
----------------------------------------------- */


.header .header-content{  }

.header .left{ float:left; width: auto;  }
.header .right{ float:right; width: auto; text-align:right; margin:30px 0 0 0; display:inline-flex; }
.header .logo{ width:390px; height:100px; display:block; float:left; background: url(images/logo-principal-2.svg) no-repeat center left; background-size: auto; text-indent:-1900px; overflow:hidden; margin:0 0 0 10px;  }
.header .leyenda{ width: auto; height: auto; display:block; float:left; margin:22px 0 0 12px;  }

.header .leyenda span{ display:block; margin:16px 0 0 5px; font-size:10.6px; letter-spacing:0.07em; color:#fff; font-weight: 300;  }
.header .leyenda span.dos{ color:#be8a22; margin:3px 0 0 5px;  }
.header .leyenda span.tres{ width: 275px; height: 20px; display:block; background: url(images/logo-grupo-2.png) no-repeat bottom left;text-indent:-1900px; overflow:hidden; margin:4px 0 0 2px;  }
   
a.boton-portal{ width: auto;
height: 26px;
line-height: 26px;
font-size: 12px;
letter-spacing: 0.05em;
color: #fff;
background: #be8a22;
padding: 0 20px;
margin: 7px 0 0 40px;
display: inline-block;
cursor: pointer;
border: 1px solid #fff;
border-radius: 3em;
position: relative;
  text-transform: uppercase; }

a.boton-portal:hover{ background: #333; }

a.boton-portal::before{ 
content: url(images/icon-05.png);
margin: 0 20px 0 0;
width: 30px;
display: inline-block;
height: 30px;
position: absolute;
left: -37px;
overflow: hidden;
top: -3px;
 }
 
 a.boton-portal.empleado::before{ 
content: url(images/icon-03.png);
margin: 0 20px 0 0;
width: 30px;
display: inline-block;
height: 30px;
position: absolute;
left: -37px;
overflow: hidden;
top: -3px;
 }
 
 
 .logoflotante{ width: 50px;
height: 170px;
display: block;
background: url(images/logo-derecha-2.svg) no-repeat center left;
background-size: auto;
position: fixed;
top: 50%;
right: 0;
z-index: 99; }

 .leyendaflotante{ width:50px; height:260px; display:block; background: url(images/leyenda-izquierda.svg) no-repeat center left; background-size: auto; position: fixed; top: 60%; left: 10px; z-index: 99; }
 


/* AWB
----------------------------------------------- */
.wp-block-nk-awb.alignfull { padding: 0; }


.wp-image-1081{ margin-left: -23px; }


/* Portada
----------------------------------------------- */
.portada{ margin: 0;}
.wp-block-nk-awb.intro{ padding: 80px 60px 40px 60px; }
.wp-block-nk-awb.intro h2{ width: 65%; line-height: 1.3em; font-size: 45px; color: #f8f4ec;  }

.wp-block-nk-awb.intro h2.first{ 
	width: 100%;
  line-height: 1.3em;
  font-size: 39px;
  color: #f8f4ec;
  font-weight: 300;
  margin: 0;
  letter-spacing: normal;  }
.wp-block-nk-awb.intro h3.first{ 
	font-size: 25px;
  font-weight: 300;
  margin: 0;
  letter-spacing: normal; }


.wp-block-button{ text-transform: uppercase; font-size: 10px; }
.wp-block-button a{ padding: 14px 20px!important; }

.bottom{ font-size: 18px; color: #f8f4ec; margin: 90px 0 0 0;}
.bottom span{ font-size: 18px; color: #f8f4ec; margin: 0 10px;}
.bottom a{ color: #fff;}

/* wrapper
----------------------------------------------- */
.wrapper-content{   }
.wrapper.dos .wrapper-content P{ font-size: 18px;  }

p.data{ margin: 20px 0; color: #f8f4ec }
p.data a{ color: #f8f4ec }

.outthumb{ height: auto; background:#fff; border-left: 10px solid #cec6ba; border-right: 10px solid #cec6ba;  }

.content .left{ width: 45%; height: auto; float: left;}
.content .right{ width: 45%; height: auto; float: right;}

.content .left p{ line-height: 1.6em;}

.content .contenido{ padding: 80px 40px; font-size: 16px;}

form.wpcf7-form input, form.wpcf7-form textarea{ background: #eee9e4; padding: 10px 20px; border: none; color: #52463a}
form.wpcf7-form textarea{ height: 140px; }

form.wpcf7-form input.wpcf7-submit { max-width: 200px; background:#52463a; color: #eee9e4; font-size: 16px; cursor: pointer;  }
form.wpcf7-form input.wpcf7-submit:hover { background:#453a2e;  }



/* TB
----------------------------------------------- */
.outthumb{position: relative; }
.mancheta{ width: 430px; height: 190px; background: url(images/50.png); position: absolute; bottom: 20px; left: 50px; z-index: 9999; color: #fff; padding: 30px; }
.mancheta .titulo{ text-transform: none; font-size: 33px; margin: 0 0 10px 0; font-weight: 700; }
.mancheta .texto p{ font-size: 21px; line-height: 1.5em; font-weight: 300; }
.contboton{ display: block; text-align: left; }
a.boton{ padding: 10px 12px; text-align: center; background: #993921; border: 2px solid #fff; display: inline-block; margin: 10px 0 0 0; border-radius: 8px; text-transform: uppercase; font-weight: 300; font-size: 13.5px; color: #fff; letter-spacing: 0.06em;  }
a.boton:hover{ background: #812f1a; color: #fff;  }
.columnas{ text-align: center; padding: 0 0 40px 0; }
.columna.TB{ width:20%; display: inline-block; margin: 0 50px;  }
.columna.TB h3{ font-size: 23px; color:#cb9700; text-align: center; line-height: 1.4em;  }
.columna.TB .texto{ font-size: 13px; color:#666; text-align: center; line-height: 1.4em; padding-top: 100px; background: url(images/ESEM-TicketBAI-icono.png) no-repeat top center; width: 100%; display: block;  }
.masinfo{ margin: 60px 0; }
.masinfo a{ ont-size: 16px; color:#666; text-transform: uppercase; margin: 0 20px 0 0; letter-spacing: 0.1em; }
.tbanner{ position: relative; width: 100%; max-width: 1020px; margin: 40px 0;  }
.tbanner img{ position: relative; width: 100%; height: auto; }
.tbanner .mancheto{ position: absolute; z-index: 9999; top: 0; right: 50px; text-align: center; width: 45%; }
.tbanner .mancheto .titulo{ font-size: 36px; color:#cb9700; text-align: center; line-height: 1.4em; margin: 20px 0;}
.tbanner .mancheto .texto{ font-size: 16px; color:#333; text-align: center; line-height: 1.4em; }
.tbanner .mancheto .contboton{ text-align: center; margin: 20px 0 0 0; }
.tbanner.dos .mancheto{ position: absolute; z-index: 9999; top: 0; left: 50px; text-align: center; width: 45%; }
.tbanner.dos .mancheto .titulo{ font-size: 36px; color:#e3ded0; text-align: center; line-height: 1.4em; margin: 20px 0;}
.tbanner.dos .mancheto .texto{ font-size: 16px; color:#fff; text-align: center; line-height: 1.4em; }
.tbanner.tres .mancheto{ position: absolute; z-index: 9999; top: 0; right: 50px; text-align: center; width: 45%; }
.tbanner.tres .mancheto .titulo{ font-size: 36px; color:#e3ded0; text-align: center; line-height: 1.4em; margin: 20px 0;}
.tbanner.tres .mancheto .texto{ font-size: 16px; color:#fff; text-align: center; line-height: 1.4em; }


/* contenido
----------------------------------------------- */

#slider{ border: 10px solid #a47a11; border-top: none; border-bottom: none;  }

.slides li { position:relative;  }
.slides li .leyenda{ position:absolute; top:44%; width:100%; font-size:23px; letter-spacing:0.06em; color:#fff; text-align:center; text-shadow: 1px 1px 1px #000; }

img{ width: auto; height:auto; }

.wp-block-button { margin: 0 0 20px 0;}

article{ padding: 0;font-size:14px; color: #403322; padding:20px 40px 40px 40px;  }

article.inicio{ font-size:28px; color: #cec6ba; margin:0; }
article.inicio p{ line-height:38px; }

article.final .right{ padding:0 0 0 0; }
article.final { margin:0 0 0 0; text-align:center; }

article .right{ padding:30px 0 0 0; }
article ul{ margin:0 0 20px 0; }
article li{ list-style: disclosure-closed;
margin: 0 0 10px 25px;
font-size: 15px;
line-height: 1.4em; }

article#page-64 img { display: inline-block; max-width:120px; height:auto; margin:20px 20px 0 0 }
article#page-564 img{ display: inline-block; max-width:160px; height:auto; margin:20px 20px 0 0; border:1px solid #ddd; padding:4px; }
article#page-564 img:hover{ border:1px solid #bbb; }

article#page-11 .right { display: inline-block; width:280px; height:auto; margin:20px 0 0 0; float:left; }
article#page-11 .left { display: inline-block; width:50%; height:auto; margin:50px 0 0 0; float:right; }


.circulares{ margin:0 0 50px 0; color: #f8f4ec; min-height: 800px }
.circulares article{ padding: 70px; }
.circulares h2{ margin:0 0 0 0; color: #f8f4ec; font-size: 45px; }
.circulares h3{ margin:0 0 10px 0; color: #f8f4ec; font-size: 16px; cursor: pointer; }
p.subtitulo{ text-transform: uppercase; margin:30px 0; color: #f8f4ec; font-size: 15px; }
.circulares ul{ margin: 15px 0 30px 0; display: none;}
.circulares li, .circulares li a{ margin:0 0 5px 5px; color: #dbd2c8; list-style: none; }
.circulares h3::before {
  content: url(images/tri2.png);
  margin: 0 0 0 0;
  width: 20px;
  display: inline-block;
  height: 10px;
}
.circulares ul li a:hover{ color: #fff;}

.circulares ul li a::before { content: ""; width: 20px; display: inline-block; }
.circulares ul li a:hover::before { content: url(images/tri2.png); width: 20px; }

.archive p{ border-left: 20px solid #52463a; padding: 0 0 0 10px; }

.archive article { padding: 0 40px 10px 40px;}
.archive article.listacirc { padding: 0 40px 50px 40px; }

.circular .content a { width: auto; height:70px; display:inline-block; margin:0; padding:0 0 0 60px; background: url(images/ICON-PDF.png) no-repeat; }
.meta{ color:#999; font-size:12px; text-align: left; float:right; margin:0 0 10px 0; }
.meta.dos{ float:left;left 0; position: relative; top: -30px;}
.meta a{ color:#999; padding:3px 4px; }
.meta a:hover{ background:#222; }

.circular .meta a.cat-item-13{ background:#c08e11; color:#fff; }
.circular .meta a.cat-item-14{ background:#0d372c; color:#fff; }
.circular .meta a.cat-item-12{ background:#991318; color:#fff; }
.circular .meta a.cat-item-15{ background:#b7ada4; color:#fff; }

.circular .meta a:hover { background:#222; color:#fff; }


article p{ line-height:1.6em; margin:0 0 12px 0; font-size: 15px }

.titulos{ font-size:24px; margin: 40px 0; }

h2 { font-size: 30px; margin: 20px 0 40px 0;}

h3 {font-size: 22px; margin: 40px 0 20px 0;}

h4 {font-size: 16px; margin: 30px 0 30px 0; text-transform: uppercase; line-height: 1.8em; color: #c48300; font-weight: 400; }


.page table td { padding:7px!important; border: 1px solid #ccc; }

.login-ext .form‐group{ margin: 20px 0;}
.login-ext .forgot‐password{ margin: 20px 0;}

/* Sidebar
----------------------------------------------- */

.sidemov{ display:none; }
#sidebar { background:#fff; margin:20px 0 0 0; width:auto; clear:left; float:left;   }

#sidebar h2 { margin:20px 0 0 0; }

#sidebar a { font-family: 'Source Sans Pro', sans-serif; }
#sidebar a:hover { color:#000;  }


/* footer
----------------------------------------------- */
.wrapper.dos .content{ padding: 50px 60px 20px 60px; color: #fff;}

.wrapper.dos .wrapper-content{ background: #52463a url(images/10.png) no-repeat top center; background-size: 100% auto;}


.footer { width: 100%; height: auto; background: #52463a url(images/10.png) no-repeat top center; background-size: 80% auto; float: left  }
.footer .contenedor{ float: left; width: 100%; margin: 20px 0 0 0; }
.footer .mapa{ width: 86%; margin: 0 auto; }
.footer iframe{ width: 100%; height: 500px; border: 1px solid #fff;  }

.footer .logofooter {
  width: 100%;
  height: 360px;
  margin: 0;
  display: inline-block;
  float: left;
  background: url(images/logo-grande-abajo.svg) no-repeat bottom left;
    background-position-x: left;
    background-position-y: bottom;
    background-size: auto;
  background-size: 97% auto;
  opacity: 0.4;
  background-position: -100px bottom;
}


.footer-content{ background:#403322; border: 10px solid #362c1d; border-top: none; border-bottom: none;  padding: 20px 10px; text-align:center;   }
.footer a {text-decoration: none;color: #d5d1c8; }
.footer a:hover {color: #fff; text-decoration: none }

.footer .copy a {text-decoration: none;color: #878276; margin: 0 10px;  }
.footer .copy a:hover { color: #000;  }


.subfooter {  height: auto; background:#d5d1c8; text-align:center; }

.asociado { width:153px; height:150px; display:inline-block; cursor:pointer; margin:10px 0 0 0 }

.asociado.refor { background: url(images/logos-refor.jpg) no-repeat center left }
.asociado.fiscales { background: url(images/logos-fiscales.jpg) no-repeat center left }
.asociado.economistas { background: url(images/logos-economistas.jpg) no-repeat center left }

.subfooter .copy{font-size:11px; padding:10px 0 30px 0; color:#403322 }




/* Media queries
*********************************/

@media screen and (min-width: 1600px) {
	.menuprincipal a { font-size: 16px; }
	}

@media screen and (max-width: 1180px) {

.wp-block-nk-awb.intro h2 { width: 100%; }

.menubutton{ display: block; cursor: pointer; }
.header .left{ width: 100%; }
.header .right{ display: none; 
position: absolute;
width: 100%;
top: 69px;
background: #be8a22;
height: 100%;
z-index: 30;
margin: 0;
float: none;
text-align: center;
left: 0; }

  .wp-block-nk-awb.intro h2 { font-size: 34px; }
  .bottom { font-size: 16px; }

.menuprincipal { margin: 3vh 0 0 0; }

.menuprincipal li {
  display: block;
  margin: 0 0 0 0;
  padding: 0;
}
.menuprincipal a {
  margin: 4vh 0;
  padding: 0;
  color: #FFF;
  font-size: 28px;
  display: block;
  font-weight: 400;
  border-right: none;
  letter-spacing: 0.5px;
}
.menuprincipal a:hover {
color: #FFF;
}

a.boton-portal {
  width: 150px;
  height: 26px;
  line-height: 26px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #fff;
  background: #be8a22;
  padding: 0 20px;
  margin: 6vh auto;
  display: block;
  cursor: pointer;
  border: 1px solid #fff;
  border-radius: 3em;
  position: relative;
  text-transform: uppercase;
}
.menu-idiomas a {
  margin: 2vh 0;
  padding: 0;
  color: #FFF;
  font-size: 24px;
  display: block;
  font-weight: 400;
  border-right: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.menu-idiomas {
  text-align: center;
  display: block;
  margin: 0 0 5vh 0;
}
.menu-idiomas li {
  display: block;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
}
.header {
  width: auto;
  height: 70px;
  }
 .header .logo {
  margin: 0 0 0 10px; height: 70px;
  }
 .header .leyenda {
 margin: 7px 0 0 12px;
 }
 .sep{ display: block; width: 100px; height: 1px; background: #fff; text-align: center; margin: 4vh auto; }
 
 .wrapper-content { width: 100%; }
 .footer { background-size: 100% 100%;}
 .footer .logofooter { height: 250px; }

  
  .content .left { width: 44%;}
  .content .right { width: 55%;}
  
  .wrapper-content { background-size: 100% 100%; }
    .wrapper.dos .wrapper-content { background-size: 100% 100%; }
    
.wrapper-content.circulares { width: 100%;}

.popup {
  width: auto;
  height: auto;
  position: relative;
  top: 0;
  right: 0;
  z-index: 20;
  padding: 0 10px 20px 10px;
  cursor: pointer;
}

.popup .cerrar {
  color: #271708;
  font-weight: 400;
  position: absolute;
  top: 10px;
  right: 20px;
  width: 30px;
  height: 30px;
  font-size: 17px;
  z-index: 30;
}

.sombra { display: none; }
.masa {
  background: #eae5df;
  border: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}
.popup .elementos {
  background: none;
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 20;
}
.popup .logo {
  position: absolute;
  top: 40px;
  right: 30px;
  width: 90px;
  height: 90px;
  }
  .popup .titulo {
  color: #271708;
  font-size: 26px;
  font-weight: 800;
  width: auto;
  line-height: 1.3em;
  margin: 0px 110px 0 10px;
  padding: 20px;
}
.popup a.boton {
  background: none;
  color: #8f6c48;
  border: 1px solid #8f6c48;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: 100;
  display: inline-block;
  padding: 20px 20px;
  font-size: 16px;
  letter-spacing: 0.5px;
  margin: 0px 0 0 20px;
}
 
 }

@media screen and (max-width: 800px) {
  .content .left { width: 100%;}
  .content .right { width: 100%;}
  .content .contenido {
  padding: 40px 40px;
  }
  
.logoflotante{ display: none; }
.leyendaflotante{ display: none; }


	
	}

@media screen and (max-width: 600px) {
	
.header .logo {
  width: 320px;
  }
 .header .leyenda span {
  display: block;
  margin: 19px 0 0 5px;
  font-size: 8px;
  }
  
  .wp-block-nk-awb.intro h2 {
  width: 100%;
  }
  .footer .leyenda span {
  font-size: 11px;
  }
  .footer .leyenda {
  margin: 10px 0 10px 5%;
  }
  
    .circulares article { padding: 40px; }


}

@media screen and (max-width: 480px) {
.header .logo {
  width: 67%;
  }
  .wp-block-nk-awb.intro h2 { font-size: 24px; }
  .bottom { font-size: 14px; }
 .header .leyenda span {
  display: none;
  }
  .subfooter {
  padding: 50px 0 0 0;
  }
  
  .footer a {
  text-decoration: none;
  color: #d5d1c8;
  display: block;
}
.asociado {
  width: 160px;
  height: 60px;
  }
  
  .footer .copy a {
  margin: 20px 0;
  }
  .subfooter .copy {
  font-size: 12px;
  padding: 40px 0 30px 0;
  }
  
  .bottom span {
  font-size: 3px;
  color: #be8a22;
  margin: 0px 0;
  display: block;
  visibility: hidden;
  }
  
  textarea, input {
  max-width: 90%;
  }
  
  .footer .logofooter {
height: 180px;
background-position: -30px bottom;
  }
  
  .circulares h3 {
  margin: 0 0 20px 0;
  }
  .circulares li {
margin: 0;
}
  .circulares li a {
list-style: none;
  border-bottom: 1px dotted #fff;
  display: block;
  padding: 5px 0;
  margin: 0 0 0 20px;
}
.circulares ul li a::before {
  content: "";
  width: 0;
  }

}


@media screen and (max-width: 740px) {
	

/* TB
----------------------------------------------- */
.outthumb{position: relative; border: none; width: 100%; height: auto; }
.mancheta{ width: 80%; height: auto; background: #222 url(images/50.png); position: relative; bottom: auto; left: auto; z-index: 9999; color: #fff; padding: 10%; }
.mancheta .titulo{ text-transform: none; font-size: 26px; margin: 0 0 10px 0; font-weight: 700; }
.mancheta .texto p{ font-size: 15px; line-height: 1.5em; font-weight: 300; }
.contboton{ display: block; text-align: left; }
a.boton{ padding: 10px 12px; text-align: center; background: #993921; border: 2px solid #fff; display: inline-block; margin: 10px 0 0 0; border-radius: 8px; text-transform: uppercase; font-weight: 300; font-size: 12px; color: #fff; letter-spacing: 0.06em;  }
a.boton:hover{ background: #812f1a; color: #fff;  }
.columnas{ text-align: center; padding: 0 0 40px 0; }
.columna.TB{ width:100%; display: inline-block; margin: 0 0;  }
.columna.TB h3{ font-size: 20px; color:#cb9700; text-align: center; line-height: 1.4em;  }
.columna.TB .texto{ font-size: 14px; color:#666; text-align: center; line-height: 1.4em; padding-top: 100px; background: url(images/ESEM-TicketBAI-icono.png) no-repeat top center; width: 100%; display: block;  }
.masinfo{ margin: 60px 0; }
.masinfo a{ ont-size: 16px; color:#666; text-transform: uppercase; margin: 0 20px 0 0; letter-spacing: 0.1em; }

.tbanner{ position: relative; width: 100%; max-width: 1020px; margin: 40px 0;  }
.tbanner.uno{ margin: 0 0;  }
.tbanner img{ position: relative; width: 100%; height: auto; }
.tbanner .mancheto{ position: relative; z-index: 9999; top: auto; right: auto; text-align: center; width: 80%; background:#e3ded0; padding: 10%; }
.tbanner .mancheto .titulo{ font-size: 23px; color:#cb9700; text-align: center; line-height: 1.4em; margin: 0 0 20px 0;  }
.tbanner .mancheto .texto{ font-size: 16px; color:#333; text-align: center; line-height: 1.4em; }
.tbanner .mancheto .contboton{ text-align: center; margin: 10px 0 0 0; }

.tbanner.dos .mancheto{ position: relative; z-index: 9999; top: auto; right: auto; left: auto; text-align: center; width: 80%; background:#c79400; padding: 10%;}
.tbanner.dos .mancheto .titulo{ font-size: 23px; color:#e3ded0; text-align: center; line-height: 1.4em; margin: 0 0 20px 0;}
.tbanner.dos .mancheto .texto{ font-size: 16px; color:#fff; text-align: center; line-height: 1.4em; }

.tbanner.tres .mancheto{ position: relative; z-index: 9999; top: auto; right: auto; text-align: center; width: 80%; background:#53411f; padding: 10%; }
.tbanner.tres .mancheto .titulo{ font-size: 23px; color:#e3ded0; text-align: center; line-height: 1.4em; margin: 0 0 20px 0;}
.tbanner.tres .mancheto .texto{ font-size: 16px; color:#fff; text-align: center; line-height: 1.4em; }
h2{ font-size: 22px; line-height: 1.2em; }
h3{ font-size: 18px;}
.masinfo a{ display: block; margin: 10px 0; }
.masinfo{ margin: 0 0 40px 0; }
}





/* 
Tables
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}









