/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* CSS GENERAL - Contacto */
b, strong {
font-weight: 500 !important;
}
@media (max-width: 550px) {
.entry-title {
font-size: 20px !important;
}
.bandera{width:40%;}
}
@media (min-width: 550px) {
.entry-title {
font-size: 30px !important;
}
}
.page-id-36 h4.gb-headline:nth-child(3) > span:nth-child(2) > a:nth-child(1) {
top: -15px !important;
position: relative;
color: #000 !important;
}
#mobile-header > div:nth-child(1) > div:nth-child(5) > span:nth-child(1) > a:nth-child(1) {
margin-top: 0.5px !important;
}
div.is-layout-flex:nth-child(3) > div:nth-child(2) {
justify-content: center;
display:flex;
}
/* CSS AVATARS */
.wp-image-1069 {
max-width: 60px !important;
}
.wp-image-1068 {
max-width: 60px !important;
}
.wp-image-1067 {
max-width: 60px !important;
}
.gb-headline-c5fb66aa {
margin-left: -10px;
}
.gb-headline-2eb92bb8 {
margin-left: -10px;
}
.gb-headline-eaa1cc78 {
margin-left: -10px;
}
.gb-headline-5896e553 {
margin-left: -10px;
}
.gb-headline-b4eb1953 {
margin-left: -10px;
}
.gb-headline-6589e906 {
margin-left: -10px;
}
/* CSS SLIDER-HEADER-PAGES */
.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header {
background-color: #FFF !important;
}
.page-id-1373 h4, .page-id-1368 h4, .page-id-29 h4 {
font-size:21px !important;
}
.page-id-1373 p.gb-headline-593d987f {
margin-top: -110px !important;
}
.page-id-1368 p.gb-headline-593d987f {
margin-top: -10px !important;
}
.page-id-32 .gb-container-46918c69 {
  background-image: url(https://www.autoescuelaenjerez.es/wp-content/uploads/2023/01/sobre-autoescuela.jpg);
}
.page-id-1373 .gb-container-46918c69 {
  background-image: url(https://www.autoescuelaenjerez.es/wp-content/uploads/2023/01/permisosprofesionales.jpg);
}
.page-id-29 .gb-container-46918c69 {
  background-image: url(https://www.autoescuelaenjerez.es/wp-content/uploads/2023/01/permisos.jpg);
}
.page-id-1368 .gb-container-46918c69 {
  background-image: url(https://www.autoescuelaenjerez.es/wp-content/uploads/2023/01/permisos.jpg);
}
.page-id-36 .gb-container-46918c69 {
  background-image: url(https://www.autoescuelaenjerez.es/wp-content/uploads/2023/01/contactar-img.jpg);
}
p.gb-headline-559b495c {
padding-top: 0px !important;
}
/* CSS ENLACES DESTACADOS - HOME */
.gb-button-wrapper a.gb-button-5533c942, .gb-button-wrapper a.gb-button-5533c942:visited {
color: #FFF !important;
}
.gb-button-wrapper a.gb-button-6bba73af, .gb-button-wrapper a.gb-button-6bba73af:visited {
color: #FFF !important;
}
.inside-article a, .paging-navigation a, .comments-area a, .page-header a {
color: #5E9D3F !important;
}
/* CSS CAMBIOS MENÚ - CABECERA */
#site-navigation {
border-bottom: 1px solid #5e9d3f;
}
.slideout-exit::after { 
  content: "CERRAR";
}
.slideout-navigation button.slideout-exit {
text-align: center !important;
}
.gb-headline-57be6fcf > a:nth-child(1) {
font-size: 11px !important;
}
@media (max-width: 560px) {
#mobile-menu {
display: none;
}
}
.navigation-branding img {
height: auto !important;
width: 70% !important;
}
#site-navigation {
margin-top: -25px !important;
}
#mobile-header {
margin-top: -25px !important;
}
.main-title a, .main-title a:hover {
display: none !important;
}
h1.gb-headline {
margin-top: 50px !important;
}
.page-id-32 h1.gb-headline-6c6d8b6b {
margin-top: 50px !important;
}
.header-wrap #site-navigation:not(.toggled), .header-wrap #mobile-header:not(.toggled):not(.navigation-stick), .has-inline-mobile-toggle .mobile-menu-control-wrapper {
background: #FFF !important;
}
.main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
background-color: transparent !important;
}
.slideout-navigation button.slideout-exit {
padding-left: 0px !important;
padding-right: 0px !important;
}
.slideout-exit {
margin-bottom: 20px;
}
.main-navigation .main-nav ul li a {
line-height: 30px !important;
}
.main-navigation .main-nav ul ul li a {
padding: 0px 20px !important;
}
.main-navigation .main-nav ul li a {
font-size: 10px !important;
}
.main-navigation ul ul {
background-color: transparent !important;
padding-top: 20px !important;
}
.main-navigation .main-nav ul ul li a {
padding: 0px 30px !important;
}
.dropdown-menu-toggle {
font-size: 20px !important;
}
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton:hover, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton:hover, .gdpr_cookie_settings_shortcode_content .gdpr-shr-button.button-green:hover {
background-color: #5E9D3F;
color: #FFF !important;
}
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton.moove-gdpr-modal-save-settings:hover, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton.moove-gdpr-modal-save-settings:hover {
background-color: #5E9D3F !important;
}
button.mgbutton:nth-child(2) {
color: #FFF !important;
font-weight: bold !important;
background-color: #5E9D3F !important;
}
.moove-gdpr-modal-allow-all {
color: #FFF !important;
font-weight: bold !important;
background-color: #5E9D3F !important;
}
button.mgbutton:nth-child(3) {
font-weight: bold !important;
}
.moove-gdpr-modal-right-content {
background-color: #FFF !important;
}
.moove-gdpr-modal-footer-content {
background-color: #FFF !important;
}
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar.gdpr-checkbox-disabled .cookie-switch input:checked + .cookie-slider, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar.gdpr-checkbox-disabled .switch input:checked + .slider {
background-color: #89c969 !important;
}
.moove_gdpr_text::before {
    content: '🍪';
    text-shadow: 1px 1px #FFF;
}
.gdpr_lightbox {
z-index: 999999;
}

.page-id-29 .wp-image-1166 {
border: 1px solid #5E9D3F;
}
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme {
    padding-bottom: 10px !important;
    bottom: 0px !important;
    z-index: 111111 !important;
}
/* CSS CRÉDITOS FOOTER LOGOS KIT-DIGITAL */
@media only screen and (max-width: 500px) {
.credkitdigital {width:99% !important;}
.creddigitalizador {width:10% !important;}
}
/* CSS ICONOS */
svg {
	max-height: 100%;
	
	&:not(:root) {
		overflow: hidden;
	}
}
#mainat {
	margin: 0 auto;
	max-width: 20em;
	width: 75%;
}
.iconat {
	display: block;
	height: 18px;
	margin: 1em auto;
	width: 102px;
}
/* CSS MICRODATADO.STARS */
.recuadro {
  border: 5px outset #5e9d3f;
  background-color: #FFF;    
  text-align: center;
}
.slick-prev, .slick-next {
top: 18% !important;
}
:root {
  --star-size: 40px;
  --star-color: #CCC;
  --star-background: #5e9d3f;
}
.Stars {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: var(--star-size);
  font-family: Times;
  line-height: 1;
}
.Stars::before {
  content: "✇✇✇✇✇";
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* CSS ACODEÓN - FAQS */
.lightweight-accordion-title > code{
display: inline;
font-size: 18px;
font-family: inherit;
font-weight: normal;
}
.lightweight-accordion-title {
display: list-item;
background: #f1f2f6;
padding: 10px 12px 10px 18px;
cursor: pointer;
}
.lightweight-accordion-body > p > code{
font-size: 17px !important;
}
.lightweight-accordion-body{
font-size: 14px !important;
}
.lightweight-accordion .lightweight-accordion-title p, .lightweight-accordion .lightweight-accordion-title span, .lightweight-accordion .lightweight-accordion-title h1, .lightweight-accordion .lightweight-accordion-title h2, .lightweight-accordion .lightweight-accordion-title h3 {
font-size: 16px !important;
}
/* CSS FICHAS - FORMACIONES DESTACADAS */
.page-id-29 .card{
width: 100% !important;
}
.page-id-29 .gb-inside-container{
  padding-right: 15px !important;
  padding-left: 15px !important;
}
.page-id-29 div.gb-container-7099dfbf:nth-child(2) > div:nth-child(1) > p:nth-child(1) {
padding-left: 30px !important;
}
.page-id-29 h2.gb-headline-7209a2e0 {
padding-left: 30px !important;
}
.page-id-29 div.gb-container:nth-child(6) > div:nth-child(1) > p:nth-child(1) {
padding-left: 30px !important;
}
.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 40%;
}
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
#generate-slideout-menu > div:nth-child(1) {
margin-top: 30px;
}
@media (max-width: 450px){
.card{
width: 100% !important;
margin-bottom:20px;
}
.page-id-1044 .card, .page-id-1104 .card  {
width: 100% !important;
margin-bottom:20px;
}
}
/* CSS ENCABEZADOS PAGES */
.gb-headline-35967324 {
text-align: center !important;
}
.gb-headline-1ea6b28e {
text-align: center !important;
}
.page-id-4047 .entry-title {
display: none;
}
#mobile-header {
background-color: #FFF !important;
}
.main-navigation, .main-navigation ul ul {
margin-top: -25px !important;
}
.heading_permiso{font-size:18px;margin-top:10px;}
.text_permiso{color:#666;font-size:12px;margin-top:-10px;}
.wp-image-2444 {
border: 1px solid;
}
/* CSS POPUP FORMS */
@media (max-width: 768px) {
#form_contactar {
display: none !important;
}
}
#cta{
color: #34498E;
font-weight: bold;
}
.page-id-29 #cta {
background-color: #5e9d3f;
color: #FFF;
font-weight: bold;
width: 90%;
height: 50px;
font-size: 19px;
line-height: 25px;
}
#cta:hover{
background-color: #5e9d3f;
color: #FFF;
font-weight: bold;
}
.overlaycta {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  visibility: hidden;
  opacity: 0;
  z-index: 999999;
}
.overlaycta:target {
  visibility: visible;
  opacity: 1;
}
.popupcta {
  margin: 0px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
}
.popupcta h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popupcta .close {
  position: revert;
  top: 20px;
  right: 10px;
  font-size: 20px;
  font-weight: normal;
  text-decoration: none;
  color: #5e9d3f;
}
.popupcta .close::after { 
content: " X - CERRAR  -";
}
.popupcta .close:hover {
  color: #5e9d3f;
}
.popupcta .content {
  max-height: 30%;
  overflow: inherit;
}
@media screen and (max-width: 780px) and (min-width: 450px){
    .popupcta{
    width: 97%;
  }
  .popupcta .close {
	right: 30px;
	color: #5e9d3f;
}
}
@media screen and (max-width: 450px){
    .popupcta{
    width: 97%;
  }
  .popupcta .close {
	right: 10px;
	top:-10px;
	color: #5e9d3f;
	z-index:999;
}
}
@media screen and (max-width: 780px) and (min-width: 450px) {
.popupcta .close {
font-size: 25px !important;
display: flex !important;
justify-content: center !important;
}
}
.footer-btn-form {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   border: 3px solid #68AA48;
   background-color: #5e9d3f !important;
   color: #FFF !important;
   text-align: center;
   height:30px;
   z-index:99999;
   display:none;
}
.descatado_btn{
font-weight:bold;
font-size:20px;
font-family:Arial, Helvetica, sans-serif;
color: #FFF;
line-height: 1.3;
}
@media (max-width: 768px){
.footer-btn-form {
display:block;
}
}
@media (max-width: 680px){
.page-id-36 .gb-headline-4405ad0c {
display: none;
}
.page-id-36 h2.gb-headline {
display: none;
}
.page-id-36 .gb-container-57e9bad6 {
display: none !important;
}
.page-id-36 .wp-image-1063 {
display: none;
}
}
/* SLIDER CSS PÁGINA DE INICIO */
.slider {
	width: 55%;
	margin: auto;
	overflow: hidden;
}
@media (max-width: 450px) {
.slider {
	width: 100% !important;
}
}
.slider ul {
	display: flex;
	padding: 0;
	width: 500%;
	animation: cambio 15s infinite alternate linear;
}
.slider li {
	width: 100%;
	list-style: none;
}
.slider img {
	width: 100%;
}
@keyframes cambio {
	0% {margin-left: 0;}
	20% {margin-left: 0;}
	35% {margin-left: -50%;}
	45% {margin-left: -100%;}
	55% {margin-left: -100%;}
	65% {margin-left: -200%;}
	75% {margin-left: -200%;}
	85% {margin-left: -300%;}
	100% {margin-left: -300%;}
}