/*
Theme Name: IrudiLab
Author: Irudigital
Author URI: http://www.irudigital.com/
Description: Theme Base
Version: 0.1
*/

html, body { 
	margin: 0;
	padding: 0;
	font-size: 15px; 
	line-height: 18px;
	font-family:'Open Sans', sans-serif;
    font-weight: 400;
    color: #3C3C3B;
	background-color: #FFF;
    overflow-x: hidden;
}
.bt_hidden{ opacity:0; }
.bt_visible{ opacity:1; }
.clear { clear:both; }
.nopadding { padding-left: 0; padding-right: 0; }
.centrar { margin-left: auto; margin-right: auto; }
.txt-right{text-align: :right}
h1, h2, h3, h4 { margin-top: 0; font-family: 'Raleway', sans-serif; border: none; }
h1 { margin-bottom: 20px; font-size: 2.2rem; font-weight: 700; }

h2 { margin-top: 20px; margin-bottom: 10px; font-size: 1.6rem; }

h3 {
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: .05rem;
}

h4 {
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.3rem;
	color: inherit;
}

.custom-texto-110 { font-size: 110%; }
.custom-texto-120 { font-size: 120%; }
.custom-texto-150 { font-size: 150%; }
.custom-texto-200 { font-size: 200%; }

.custom-destacado { 
	position: relative;	
	display: block;	
	padding: 10px 20px;	
	background-color: #ececec; 
}


a, a:visited { font-weight: 600; color: #000000; text-decoration: none; }

a:hover, a:active { font-weight: 600; color: #58167d; text-decoration: none; }

a.inverse, a.inverse:visited { color: #58167d; }

a.inverse:hover, a.inverse:active { color: #000000; }

.btn { white-space: normal; }
.btn-theme,
.btn-linea-morada,
.btn-linea-blanca {
	padding: 6px 12px;
	
	font-size: 1.1rem;
	
	text-transform: uppercase;
	border-radius: 2px;
	cursor: pointer;
	transition: all .3s ease-in-out;
}

.btn-theme,
.btn-theme:visited { color: #fff; background-color: #8c1f78; border: 2px solid #8c1f78;    font-weight: normal; }

.btn-theme:hover,
.btn-theme:active { color: #58167d;	background-color: #fff; }

.btn-linea-morada,
.btn-linea-morada:visited { color: #58167d; background-color: transparent; border: 2px solid #58167d; }

.btn-linea-morada:hover,
.btn-linea-morada:active { color: #fff; background-color: #58167d; }

.btn-linea-blanca,
.btn-linea-blanca:visited { color: #fff; background-color: transparent; border: 2px solid #fff; }

.btn-linea-blanca:hover,
.btn-linea-blanca:active { color: #58167d; background-color: #fff; }

ul {  padding-left: 1.3rem; }
ul li { list-style: none; position: relative; line-height: 2rem; }
/*ul li:before { position: absolute; left: -1.2rem; top: .1rem; font-family: "FontAwesome"; content: "\f138"; font-size: 1rem; }*/

blockquote {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	color: inherit;
	line-height: 1rem;
	background-color: inherit;
	border: none;
}

#aviso-cookies {
	position: fixed;
	bottom: 0;
	z-index: 999;
	width: 100%;
	padding: 15px;
	color: #ffffff;
	box-sizing: border-box;
	background: rgba( 20, 20, 20, 0.8);
}
	#aviso-cookies p { font-size: .85rem; }
	#aviso-cookies a, #aviso-cookies a:visited { color: #ffffff; font-weight: bold; text-decoration: underline; }
	#aviso-cookies a:hover, #aviso-cookies a:active { color: #58167d; }
	#aceptarCookies.btn { padding: 2px 6px; font-size: .9rem; font-weight: 400; letter-spacing: .05rem; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select { 
	margin-bottom: 10px;
	padding: 4px 6px;
	width: 100%; 
	color: #000000;
}

.wpcf7-form .aceptacion { font-size: .75rem; text-align: right; }
.wpcf7-form .aceptacion a,
.wpcf7-form .aceptacion a:visited {}
.wpcf7-form .aceptacion a:hover,
.wpcf7-form .aceptacion a:active { text-decoration: underline; }


.enlaces-redes .red-social:before { 
	display: inline-block;
    margin: 5px;
    font-family: "FontAwesome";
    font-size: 1.3rem;
    text-align: center;
    border-radius: 100%;
    transition: all .3s ease-in-out;
}
.enlaces-redes .rrss-facebook:before { content: "\f09a"; }
	.enlaces-redes .rrss-google-plus:before { content: "\f2b3"; }
	.enlaces-redes .rrss-youtube:before { content: "\f167"; }
	.enlaces-redes .rrss-instagram:before { content: "\f16d"; }
	.enlaces-redes .rrss-rss:before { content: "\f09e"; }
	.enlaces-redes .rrss-twitter:before { content: "\f099"; }
	.enlaces-redes .rrss-linkedin:before { content: "\f0e1"; }

.preheader {    padding-top: 4px;
    padding-bottom: 4px;
    font-size: .9rem;
    background-color: #f5f5f5;}
 .contacto-preheader   a{font-weight: normal}
.preheader, 
.preheader a, 
.preheader a:visited { color: #000; }
.preheader a:hover, 
.preheader a:active { color: #000; }

.preheader .row,
.preheader .info-contacto { display: flex; -js-display: flex; align-items: center; }
.preheader .info-contacto {     justify-content: flex-end;    text-align: right;}
.preheader nav.navbar a,
.preheader nav.navbar a:visited,
.preheader nav.navbar a:hover,
.preheader nav.navbar a:active { font-size: .9rem; }
.preheader .buscador { max-width: 35%; }
.preheader .buscador .input-group { display: flex;  -js-display: flex; color: #404040; }
.preheader .buscador input { padding: 4px 6px; color: #404040; background-color: transparent; border: 0; border-bottom: 1px solid #3C3C3B; }
.preheader .buscador input:focus { background-color: rgba(255,255,255,.5); }
.preheader .buscador #searchsubmit { font-size: 1rem; background: none; border: 0; }

.preheader .enlaces-redes {     width: 90%; }
.preheader .enlaces-redes .red-social:before { 
       width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
}
.preheader .header-buscador {width:20px; display: flex;   -js-display: flex;}
.preheader .enlaces-redes .red-social:hover:before { color: #fff; background-color: #58167d; }

.preheader .texto-intro { font-size: .85rem; }
.preheader .info-contacto .email-preheader { margin-right: 10px; font-weight: 400; }
.preheader .info-contacto .telefono-preheader { letter-spacing: .1rem; }
#barra-menu-principal{background-color: #541D72; color:#fff;    margin-top: 20px;}
/* Ocultar botón radio */
input[id^="buscador"]{
display: none;
}
/* Estilo botón clicable */
input[id^="buscador"] + label {
display: block;
margin: 0 auto;
cursor: pointer;
}
/* Estilo botón cuando su INPUT está seleccionado */
input[id^="buscador"]:checked + label {
color: #fff;

}
/* Estilo caja SPOILER (inicialmente oculto) */
input[id^="buscador"] ~ .buscador {
width: 90%;
height: 0;
overflow: hidden;
opacity: 0;
margin: 10px auto 0; 
}
/* Estilo caja SPOILER cuando su INPUT está seleccionado */
input[id^="buscador"]:checked + label + .buscador{
height: auto;
    opacity: 1;
    position: absolute;
    right: 0;
    border: 4px solid #8c1f78;
    padding: 10px;
    bottom: -55px;
    background: #fff;
    z-index: 999999;
}


header a, 
header a:visited { display: inline-block; }

header a:hover, 
header a:active {}

header .site-title,
header .logo-derecha { padding-top: 20px; font-size: 1.4rem; }
header .logo-derecha { text-align: right; }
header .logo-derecha img { display: block; margin-left: auto; width: 100%; max-width: 150px; }

header .site-description { font-size: 1rem; color: #58167d; }



header #searchform {}

header #searchform #s,
header .searchsubmit { margin-top: 10px; border-radius: 0; }
header #searchform #s { padding: 12px; height: 39px; }
header .searchsubmit { 
	padding: 9px 12px; 
	font-size: 1rem;
	color: #ffffff;
	background-color: #c0c0c0; 
	border: 0;
	box-shadow: none;
}

/* menu navegación */
.info-contacto .navbar{ min-height:auto;}
.navbar { margin-bottom: 0; border: 0; }

.navbar-nav { position: relative; display: flex; -js-display: flex; width: 100%;     justify-content: space-between;
    align-items: center; }
#menu-menu-secundario{padding-right:10px}
#menu-menu-secundario li a{padding-top:0; padding-bottom:0;     display: initial;}
#menu-menu-secundario li:after{content:" | "}
#menu-menu-secundario li:last-child:after{content:""}
/*#menu-cabecera .navbar-nav { justify-content: space-around;    align-items: center; } cuando este el menu completo poner este css*/
#menu-cabecera .navbar-nav {justify-content: flex-end;    align-items: center; }


.navbar-nav > li { float: none; display: inline-block; }
.navbar-nav > li:before { display: none; content: ""; } 

nav.navbar a,
nav.navbar a:visited,
nav.navbar a:focus { font-weight:normal; font-family: 'Raleway', sans-serif; ;font-size:16px }

#contenedor-menu-principal { position: relative; }

#menu-menu-principal { float: none; margin: 0 auto;  }
#menu-menu-principal > .menu-item { float: none; text-align: center; 
    padding-top: 15px;
    padding-bottom: 15px;}
#menu-menu-principal > .menu-item a:hover,#menu-menu-principal > .menu-item.current-menu-item > a{ color: #C2A7CD}	
#menu-menu-principal > .menu-item > a { color:#fff; padding-top:0; padding-bottom:0; font-weight: 400; }

#menu-menu-principal > .menu-item > a:hover,
#menu-menu-principal > .current-menu-item,
#menu-menu-principal > .menu-item.current-menu-item > a { text-decoration:underline; }
/* submenu */
.sub-menu { 
	position: absolute;
    top: 100%;
    left: 10%;
    right: 0;
    width: 100%;
    display: none;
    padding-left: 0;
    z-index: 10;
	background-color:#fff;
	 border-top: 4px solid #8c1f78;
    
}
.horizontal .sub-menu { 
	position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 900px;
    height: 200px;
    display: none;
    padding: 35px 0 10px;
    box-sizing: border-box;
    left: 15px;
    border-top: none;
}
.horizontal .sub-menu-wrap{
          position: relative;
    display: block;
    padding: 0;
    margin: 0;
    z-index: 99999999999;}
.horizontal .second{  border-top: 4px solid #8c1f78;
    position: absolute;
    display: block;
        left: -180px;
    top: 100%;
    visibility: visible;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 15px -5px #8c1f78;
    z-index: 10;
    -webkit-transition: top .15s ease-out;
    -moz-transition: top .15s ease-out;
    transition: top .15s ease-out;}
nav .horizontal .second .sub-menu li	{ float: left;
    width: 22%;
    /* height: 80px; */
    margin: 0;
    background-color: #fff;
    padding: 0;
    box-sizing: border-box;
    background-size: contain;
   
    background-repeat: no-repeat;
    text-align: center;
    margin-left: 10px !important;
    margin-right: 10px !important;
    line-height: 18px;}

nav .menu-item-has-children {}
nav .menu-item-has-children:hover .sub-menu:before {
	position: absolute;
    bottom: 100%;
    left: 48%;
	display: block;
	content: "";
	width: 0; 
	height: 0; 

}
nav .menu-item-has-children:hover .sub-menu { display: block; }
nav .sub-menu li { list-style: none; }
nav .sub-menu .menu-item>a {
	display: block;
	padding: 10px;
	padding-top: 130px;
    margin-bottom: 20px;
	background-repeat: no-repeat;
	background-position: top center;    background-size: contain;
}
nav .sub-menu .menu-item>a:hover,
nav .sub-menu .menu-item>a:active {     color: #58167d;
    text-decoration: underline; }

nav.navbar a:hover,
nav.navbar a:active,
nav.navbar .current-menu-item a { color: #58167d; }

.preheader nav.navbar a:hover,
.preheader nav.navbar a:active,
.preheader nav.navbar .current-menu-item a { text-decoration:underline;background: transparent; }
.contacto-preheader{    text-align: right;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    line-height: 26px; }
header .nav > li > a:hover, .nav > li > a:focus{    background: transparent;}

.nav > li > a:hover, .nav > li > a	{font-family: 'Raleway', sans-serif; font-size:16px; }
.bloque { padding-top: 30px; padding-bottom: 30px; }

.contenido-imagen h2 { color: #58167d; }


.bloque-texto-imagen { background-repeat: no-repeat; background-size: cover; }

.bloque-texto-imagen .row { display: flex;    -js-display: flex; align-items: center; }

.bloque-texto-imagen.t-i { background-position: center left; }
.bloque-texto-imagen.i-t { background-position: center right; }

header { padding-top: 10px;  }

header .contacta figure { cursor: pointer; }

header .container .row { display: flex; -js-display: flex; align-items: center; }


.contenedor-slogan { padding-top: 50px; padding-bottom: 50px; }
#slogan { text-align: center; font-size: 1.8rem; font-weight: 600; line-height: 2rem; color: #404040; }



main.pagina { }

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

.contenido-pagina ul li { position:relative; padding-bottom: .5rem; padding-left: .8em; }

.contenido-pagina ul li::before {
	position: absolute;
	top: .6rem;
    left: .2rem;
	font-family: "FontAwesome";
	font-size: .3rem;
	content: "\f111";
	color: #58167d; /* or whatever color you prefer */
}
.contenido-pagina ul li ul li::before { content: "\f10c"; }

#cabecera-pagina { 

    background-size: cover;
    display: flex;
    -js-display: flex;
    align-items: center;
    width: 100%;
    min-height: 425px;
}

#cabecera-pagina .texto-cabecera { 
	display: inline-block; 
	font-size: 1.8rem;
	line-height: 2.2rem;
	color: #000; 
}
#migasdepan { display: block; }
#migasdepan #breadcrumbs { 
	display: inline-block; 
	margin-bottom: 15px; 
	padding: 6px; 
	font-size: .9rem; 
} 
#migasdepan #breadcrumbs a { color: #58167d; font-weight: 400; }

.pagina-superior .subpaginas { 
	display: flex; 
	-js-display: flex;
	flex-wrap: wrap; 
	margin-top: 20px; 
}

.contenedor-menu-subpaginas .widget { padding: 20px 0; }

.pagina-subpagina .imagen-destacada { margin-bottom: 30px; }

#sidebar-contacto .formulario-contacto { background-color: #7e8082; }
#sidebar-contacto .formulario-contacto form { margin-left: auto; margin-right: auto; padding: 20px 30px 10px; }

#sidebar-contacto .formulario-contacto .wpcf7-form .titulo-form { margin-bottom: 15px; color: #fff; font-size: 1.6rem; line-height: 1.8rem; text-align: center; }

#sidebar-contacto .formulario-contacto .wpcf7-form .aceptacion { color: #fff; font-size: .8rem; text-align: right; }
#sidebar-contacto .formulario-contacto .wpcf7-form .aceptacion a,
#sidebar-contacto .formulario-contacto .wpcf7-form .aceptacion a:visited { color: #fff; }
#sidebar-contacto .formulario-contacto .wpcf7-form .aceptacion a:hover,
#sidebar-contacto .formulario-contacto .wpcf7-form .aceptacion a:active { color: #58167d; }

#sidebar-contacto .formulario-contacto .wpcf7-form input[type="submit"] { 
	display: block; 
	margin: 8px auto 0; 
	font-size: 1.1rem; 
	text-transform: uppercase; 
}


.contenedor-opiniones { padding-top: 80px; padding-bottom: 50px; background-repeat: no-repeat; background-size: cover; }
.contenedor-opiniones .titulo-opiniones { 
	    display: block;
    float: none;
        color: #8c1f78;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 24px;
     text-align: center;
}
.text-white{color:#fff}
.text-black{color:#000}
.contenedor-opiniones .opinion {
    display: flex;
     -js-display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
    
}
.contenedor-opiniones .opinion figure { flex: 2; text-align: center; }
	.contenedor-opiniones .opinion figure img {   border: 4px solid #8c1f78;
    border-radius: 100%;
    max-width: 200px;
    height: auto; }
.contenedor-opiniones .opinion .texto-opinion {flex: 6;
    padding: 20px;
    font-size: 21px;
    padding-right: 5px;
    line-height: 24px; }
.contenedor-opiniones .opinion .texto-opinion .nombre { margin-top: 15px; margin-bottom: 0;  font-weight: 700; }
.contenedor-opiniones .opinion .texto-opinion .detalle { font-size: .9rem; }
.contenedor-opiniones .carousel-control { 
	display: flex; 
	-js-display: flex; 
	justify-content: center; 
	align-items: center; 
	width: 12%; 
	color: #404040; 
	font-size: 3rem; 
	background: none; 
}

.azul { 
    display: inline-block;
    font-size: 35px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}
   .azul:after{
       position: absolute;
        content: '';
        height: 100%;
        width: 108%;
        top: 0px;
        left: -2%;
        background-color: #CCEEEB;
        transform: skewY(-3deg);
        transform-origin: right top;
        backface-visibility: hidden;
        z-index: -1;
	}
	
#iru { padding-bottom: 50px; }
#iru img{ margin: auto; }
.contenedor-iru { min-height: 140px; }
.irudibu { position: absolute; bottom: 0; }

.wrap-read-more { text-align: right; }


div.wpcf7-response-output,
div.wpcf7-mail-sent-ok { margin-top: 10px!important; font-size: .8rem; color:#fff; background-color: #58167d; border: 1px solid #58167d!important; }
.wpcf7-form .wpcf7-not-valid-tip { margin-bottom: -1.2rem; font-size: .8rem; }
.wpcf7-form .ajax-loader { float: left; }

#comments #reply-title { font-size: 1.5rem; font-weight: 700; }
#comments .comment .comment-entry { line-height: 1.2rem; }

#commentform { display: flex; -js-display: flex; flex-flow: row wrap; }
#commentform .comment-form-author,
#commentform .comment-form-email,
#commentform .comment-form-url,
#commentform .form-submit { flex: 1; }

#commentform .comment-form-author { margin-right: 10px; }
#commentform .comment-form-url { margin-left: 10px; }
#commentform .comment-form-comment { width: 100%; }
#commentform .form-submit { text-align: right; }

#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea { display: block;  width: 100%; margin-bottom: 6px; padding: 10px; }


.comments-area ul { padding-left: 0; list-style: none; }
.comments-area li .comment-meta { font-size: .85rem; }
.comments-area li .comment-meta .author { font-weight: 600; }

li.comment { padding: 30px 40px;     border-bottom: 1px solid #ececec; }
li.comment:before { content: ""; }
li.comment:nth-child(n+2) { margin-top: 20px; }

.comments-area ul.children { margin-top: 20px; padding-left: 20px; border-top: 1px solid #808080 }
.comments-area ul.children .comment { padding: 20px 10px; }


.modal-body .wpcf7-form input[type="submit"],.modal-body .wpcf7-form input[type="text"], .modal-body .wpcf7-form input[type="email"], .modal-body .wpcf7-form input[type="tel"], .modal-body .wpcf7-form textarea{border:1px solid #58167d;width: 100% }
.modal-body .wpcf7-form span,.modal-body .wpcf7-form label{width:100%;}
footer { margin-top: 0;    background-color: #3C3C3B;
    color: #fff;position: relative; }
 footer a, footer a:visited { font-weight: 600; color: #fff; text-decoration: none; }  
footer:before{ z-index:-1;position: absolute; top: 0; bottom: 0; left: 0; display: block; width: 100%; background-color: #3C3C3B;}
footer h4{    text-transform: uppercase;    margin-bottom: 20px;}
footer .email{    padding: 10px 10px;
    width: 94%;    margin-bottom: 25px;}
   footer #mc-embedded-subscribe {width: 94%; }
.modal-dialog{    margin-top: 200px;
    color: #000;}
.circle-white{background-color: #fff;
    /* padding: 50px 40px; */
    border-radius: 50%;
    line-height: 80px;
    width: 60px;
    height: 60px;
    display: block;
    padding-left: 10px;}	
.circle-white .fa{    color: #3C3C3B;
    font-size: 3em;}	

footer a{ color:#fff }
footer p{ margin: 0 0 30px; }
#footer-3 h4:after{
	font-family: "FontAwesome"; content: "\f2b6";
	    right: 30px;
    top: 0;
    position: absolute;
}
#footer-4 .textwidget a { 
	display: flex;
	-js-display: flex;
	justify-content: flex-start;
	align-items: center;
	text-decoration: none;
}
#footer-4 .textwidget a:before {
	display: inline-block;
	margin-right: 10px;
	width: 60px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	font-family: "FontAwesome"; 
	font-size: 2.5rem;
	content: "\f08c";
	color: #3C3C3B;
	background-color: #fff;
	border: 2px solid #fff;
	border-radius: 100%;
} 
#footer-4 .textwidget a:hover:before,
#footer-4 .textwidget a:active:before { color: #fff; background-color: #3C3C3B; }
.footer-container { /* border-top: 2px solid #c0c0c0; */ }
.enlaces-redes a, .enlaces-redes a:visited{  color:#fff;     background-color: #8c1f78;
    padding: 8px 6px;
    border-radius: 50%;    font-weight: normal;
    margin-right: 6px;}
.enlaces-redes a:hover{color:#8c1f78; background-color:#fff}	
#menu-avisos-legales{    display: table;
    float: right;}
#menu-avisos-legales li{display:table-cell;    padding-right: 20px; }	
#menu-avisos-legales li:after{content:" - ";    padding-right: 10px;
    padding-left: 10px;}
#menu-avisos-legales li:last-child:after{content:"";}
footer a, footer a:visited {}
footer a:hover, footer a:active {color:#fff; text-decoration:underline}

footer .contenedor-localizacion { font-size: .9rem; }
footer .contenedor-localizacion .telefono,
footer .contenedor-localizacion .email { font-weight: 600; }

footer .redes-footer .enlaces-redes {}

footer .redes-footer .enlaces-redes .red-social {}

footer .redes-footer .enlaces-redes .red-social:before { 
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.3rem;
    font-weight: 400;
    color: #404040;
    background-color: #fff;
    border-radius: 100%;
}
footer .redes-footer .enlaces-redes .red-social:hover:before { color: #fff; background-color: #58167d; }

footer .wpcf7-form h4 { color: #58167d; }
footer .wpcf7-form p { margin-bottom: 0; }
footer .wpcf7-form input[type="text"],
footer .wpcf7-form input[type="email"],
footer .wpcf7-form input[type="tel"],
footer .wpcf7-form textarea,
footer .wpcf7-form select,
footer .wpcf7-form input[type="submit"] { margin-top: 10px; margin-bottom: 0; font-size: .9rem; }

footer .wpcf7-form input[type="text"],
footer .wpcf7-form input[type="email"],
footer .wpcf7-form input[type="tel"],
footer .wpcf7-form textarea { background-color: #fff; border: none; }

	footer .enlaces-legal { text-align: right;     margin-top: 80px;}

	footer .enlaces-legal #menu-aviso-legal {
		display: inline-block;
		list-style: none;
		margin: 0;
		padding: 0;
	}
		footer .enlaces-legal #menu-aviso-legal li { display: inline-block; }
		footer .enlaces-legal #menu-aviso-legal li:before { display: none; content: ""; }
		footer .enlaces-legal #menu-aviso-legal li a { font-size: .8rem; border-bottom: 0; }
		footer .enlaces-legal #menu-aviso-legal li:nth-child( n+2 ) a { padding-left: 10px; }
		footer .enlaces-legal #menu-aviso-legal li a:hover,
		footer .enlaces-legal #menu-aviso-legal li a:active {
			text-decoration: underline!important;
			background-color: transparent!important;
		}

/* botón ir arriba fotografía*/
#gotop {
	display:none;
	padding:20px;
	background-color: #8c1f78; 
	font-size:1rem;
	color:#fff;
	cursor:pointer;
	position: fixed;
	bottom:20px;
	right:20px;
	z-index: 101;
}
#main-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index:9999;
}
@media (min-width: 992px) {
	#menu-menu-principal { max-width: 970px; }
}

@media (min-width: 1200px) {
	#menu-menu-principal { max-width: 1170px; }
}

@media screen and (max-width: 1200px) {
	
	.preheader .info-contacto .email-preheader,
	.preheader .info-contacto .telefono-preheader { display: block; text-align: right; }
}

@media screen and (max-width: 991px) {
	
	.preheader .row,
	.preheader .texto-intro { display: block; padding-bottom: 10px; text-align: center; }
	.preheader .info-contacto .email-preheader { margin-bottom: 10px; }
	.preheader .buscador { margin-bottom: 10px; max-width: 100%; }

	header .container .row { display: block; }
	
	 #menu-cabecera .collapse { display: block; }
	 #menu-cabecera .navbar-nav { text-align: center; }
	 #menu-cabecera .menu-item { border: 0; }
	 #menu-cabecera .navbar-toggle { display: none; }

	header .contacta { width: 100%; text-align: right; }
	header .contacta figure { display: inline-block; }
	header .logo { text-align: center; }
	/* menu navegación */
	.navbar { background-repeat: no-repeat; background-size: cover; }
	
	.navbar-header { text-align: center; }
	.navbar-toggle, 
	.navbar-toggle:visited { float: none; color: #fff; font-weight: 600; border: 2px solid #fff; border-radius: 4px; }
	

	.navbar-collapse.in { border: 1px solid #000000; }
	.navbar-nav { 
		display: block; 
		margin: 0;
	}

	nav.navbar a {}
	.nav > li > a:hover, .nav > li > a:focus {}

	nav.navbar a:hover,
	nav.navbar a:active,
	nav.navbar .current-menu-item a {}

	/* submenu */
.horizontal .second {
    
     position: initial; 
        max-width: 100%;
    left: initial; 
    top: initial; 
   
}
nav .horizontal .second .sub-menu li {
     float: none; 
     width: 100%; 
     height: auto;    margin: 20px 0; }
nav .sub-menu .menu-item>a {

    padding-top: 10px;
    margin-bottom: initial; }
 .horizontal .sub-menu{position:initial;background-color: transparent; height:auto; width: auto;padding:0;}   
#main-header.sticky{position: initial;}
	nav .sub-menu { 
		position: relative;
	    display: block; 
	    background-color: #000000; 
	}
	nav .menu-item { padding-top: 10px; padding-bottom: 10px; text-align: center; }
	nav .menu-item:nth-child( n+2 ) { border-top: 1px solid #000000; }
	nav .menu-item-has-children { position: static; }
	nav .menu-item-has-children>a:after{ 
		display: inline-block; 
		margin-left: 10px;
		content: ""; 
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-top: 10px solid black;
	}

	nav .menu-item-has-children:hover .sub-menu:before { display: none; }
	nav .menu-item-has-children:hover .sub-menu { display: block; }
	nav .sub-menu li { list-style: none; }
	nav .sub-menu .menu-item>a {
		display: block;
    padding-left: 0;
    width: 98%;
    padding-top: 0;
    background-image: none!important;
	}
	.contacto-preheader{font-size: 16px; padding: 0 10px;}
    .preheader .row, .preheader .texto-intro{padding-bottom: 0}
    .fondo-curso img{margin:auto;}
    .contenedor-opiniones .opinion .texto-opinion{font-size: 16px;}
	.navbar-collapse.in,
	#menu-menu-principal .menu-item:nth-child( n+2 ) { border: 0; }
	
	#menu-menu-principal > .menu-item,
	#menu-menu-principal .menu-item-has-children>a { display: block; }
	#menu-menu-principal .menu-item-has-children>a,
	#menu-menu-principal .menu-item-has-children>a:hover,
	#menu-menu-principal .menu-item-has-children>a:active { background-image: none; }

	.bloque-texto-imagen .row { display: flex;
    -js-display: flex; flex-flow: column; align-items: initial; }
	
	.contenedor-opiniones .opinion .texto-opinion { padding-right: 20px; }
	
	.emailtlf a { display: block; padding: 8px 0; }

#irudigital{margin-top: 100px;}
	#footer-1 {}
	#footer-2,
	#footer-3,
	#footer-4 { margin-top: 40px; }

	footer .datos-contacto:nth-child( odd ){ clear: left; }
	
	footer #form-newsletter,
	footer #form-newsletter #newsletter-email,
	footer #form-newsletter #newsletter-submit { display: block; }
	footer #form-newsletter #newsletter-submit { margin: 10px auto; }
		

}

@media screen and (max-width: 767px) {
	
	.btn-theme {
		padding: 6px 12px;
		font-size: 1.4rem;
		letter-spacing: .1rem;
	}

	.custom-comentado { padding: 150px 30px 20px; background-position: center top; }

	.preheader .buscador .input-group { justify-content: center; }	
	.preheader .info-contacto { flex-wrap: wrap; }
	
	.preheader .info-contacto .buscador { order: 2; }
	.preheader .info-contacto .enlaces-redes { order: 1; }

	.preheader .info-contacto .contacto { display: flex;
    -js-display: flex; justify-content: space-between; align-content: center; order: 3; margin-top: 10px; width: 100%; }

	.preheader .info-contacto .buscador,
	.preheader .info-contacto .enlaces-redes { display: block; margin-bottom: 10px; width: 100%; }
	.preheader .buscador input { width: 80%; }
	
	.preheader .info-contacto .email-preheader { margin-bottom: 0; }

	.preheader .info-contacto .email-preheader,
	.preheader .info-contacto .telefono-preheader { display: block; text-align: center; }
	
	.preheader .info-contacto .email-preheader:before,
	.preheader .info-contacto .telefono-preheader:before { content: ""; }

	.preheader .info-contacto .enlaces-redes a:nth-child(n+2) { margin-left: 15px; }

	header, header .container { padding-bottom: 10px; }
	header .container { background-color: transparent; }
	
	 #menu-cabecera .menu-item { flex: 1; padding-top: 0; padding-bottom: 0; width: 49%; }

	header .contacta { margin-top: 20px; padding-left: 0; text-align: center; }

	header .logo, header .site-title { text-align: center;  font-size: 1.6rem; }
	header .site-description { text-align: center; font-size: .9rem; }
	header .logo-derecha { 
		display: flex;
		 -js-display: flex;
	    padding-top: 10px;
	    text-align: center;
	    align-items: center;
	    justify-content: center; 
	}
	header .logo-derecha img { margin-left: initial; }
	header a.tel:before { left: .2rem; }
	
	#menu-cabecera.navbar-nav { display: flex; -js-display: flex;justify-content: space-between; align-items: center; }
	#menu-cabecera nav.navbar a, 
	#menu-cabecera nav.navbar a:visited, 
	#menu-cabecera nav.navbar a:focus { display:inline-block; padding: 15px 8px; font-size: 1rem; }
	#menu-cabecera nav.navbar { text-align: center; }
	#menu-cabecera nav.navbar .menu-item:after { display: none; }

	#contenido-cabecera { padding-left: 15px; padding-right: 15px; }

	#cabecera-pagina figure { display: none; }
	#cabecera-pagina .titulo-cabecera { width: 100%; text-align: center; }
	
	.contenedor-opiniones .opinion { flex-flow: column; }

	footer .contenedor-localizacion,
	footer .contenedor-localizacion p,
	footer .redes-footer { text-align: center; } 
	footer #contenedor-newsletter { margin-top: 20px; padding-left: 15px; }
	footer #contenedor-newsletter:before { display: none; }
	
	footer .redes-footer,
	footer .enlaces-legal { margin-top: 20px; }
}