/*
Theme Name:   	Fundación Martínez Benavídes
Theme URI:    	https://rotulosrequena.es/
Author:       	E2pg
Author URI:     https://e2pg.com
Template:     	storefront
Description:  	Tema hijo basado en Storefront
Version:      	1.0.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	Fundacionmartinezbenavides
License:        GPL v2 or later
*/
/* --------------- CSS Peronalizado ----------------- */

.p {
	font-size: 18px;
	font-family: 'Poppins', sans-serif;
}

.full-width {
  margin-top: -70px;
}

/* HEADER*/

#masthead {
  box-shadow: 0px 0px 30px;
}

/* center logo*/

.site-branding{
width:100% !important;
text-align: center;
}

.site-header .site-branding img {
margin: 0 auto;
}

/* center menu */

.storefront-primary-navigation {
  width: 100% !important;
  text-align: center;
}

/* Menu*/

.primary-navigation {
  font-family: 'Poppins', sans-serif;
}

.main-navigation ul li a:hover, .main-navigation ul li:hover > a, .site-title a:hover, .site-header ul.menu li.current-menu-item > a {
  color: #000000;
}

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

  .site-header .site-branding img {
    margin-top: -30px;
	  width: 150px;
    z-index: 999;
  }

	.site-branding{
		width: 0% !important;
		text-align: left;
    float: none !important;
    padding-top: 50px;
    margin-bottom: -50px;
	}

	.main-navigation {
    position: static !important;
    margin-top: 50px;
	}

	.storefront-primary-navigation {
  width: 100%;
  }

  .button.menu-toggle, button.menu-toggle {
   border-color: #ef7f1a;
   border-radius: 50px;
   width: 150px;
   text-align: center;
   font-size: 1.1em;
  }

  .menu-item {
  border-bottom: 0px !important;
  }

}



/* --botón menú móvil-- */

button.menu-toggle span {
	visibility: hidden;
}

button.menu-toggle span::before {
 content: "" !important;
	visibility: visible;
}

button.menu-toggle {
  cursor: pointer;
  text-align: left;
  float: right;
  position: relative;
  box-shadow: none;
  border-radius: 10px;
  background-image: none;
  padding: 5px 22px 0px 20px;
  font-size: .875em;
  max-width: 50px;
}

#site-navigation-menu-toggle {
  width: 40px;
  height: 50px;
	position: absolute;
	top: 2.9rem;
	right: 3rem;
	z-index: 999;
}

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

	#site-navigation-menu-toggle {
	right: 1.5rem;
  }

}

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

	.handheld-navigation .dropdown-toggle {
  right: 15% !important;
}

}


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

.main-navigation.toggled .handheld-navigation {
	width:100%;
  position: absolute;
  top: -30px;
  right: 0;
  background-color:  rgba(255, 255, 255, 1);
  text-align: center;
	padding-top: 160px;
	padding-bottom:80px;
	z-index: 1;
}

.handheld-navigation {
  width: 100%;
  position: absolute;
  top: -30px;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
}

.main-navigation {

	width:100%;
  position: relative;
  top: 0;
  right: 0;
  background-color:  rgba(255, 255, 255, 0.9);
  text-align: center;

	}

	.main-navigation ul li a:hover, .main-navigation ul li:hover > a {
		color: #B95800;
	}

}


/* ---Sub_menu--- */

@media (min-width: 768px) {

	li:before,li:after{
    content:'';
    position:absolute;
    top:0;
    right:0;
    height:1px;
    width:0;
    background: #ef7f1a;
    transition:400ms ease all;
  }
  li:after{
    right:inherit;
    top:inherit;
    left:0;
    bottom:0;
  }
  li:hover:before,li:hover:after{
    width:100%;
    transition:800ms ease all;
  }

	.main-navigation ul ul li a, .secondary-navigation ul ul li a {
    width: 350px;
  }
}

/* ---menu_movil_terimina--- */



/* migas de pan*/

#migas-de-pan {
  margin-top: -50px;
  margin-left: 0px;
	text-align: center;
}

#migas-de-pan li {
	display: inline !important;
  padding-right: 20px;
	color: #000;
	font-size: 20px;
	font-weight: 300;
}

#migas-de-pan li a {
	text-decoration: underline;
	font-size: 20px;
	font-weight: 600;
	color: #505050;
}

/* termina-HEADER */


/* ancho contenido wp - sin Elementor */

.post-484, .post-567, .post-575, .post-583 {
  width: 70%;
  margin-left: 15%;
}


/* titulo página h1 */

.entry-header {
  font-size: 50px;
  text-align: center;
  margin-top: 100px;
	padding-bottom: 10px;
  z-index: 1;
  position: relative;
}

.entry-title {
  color: #4d4d4d !important;
}

@media only screen and (max-width: 768px) {
	h1.entry-title {
	  font-size: 50px;
	}
}


#boton_ancho {
  width: 100%;
}

.elementor-widget-text-editor {
  color: #505050;
}

/* Formulario CF7 a 2 columnas responsive */
#responsive-form{
    max-width:600px /*-- change this to get your desired form width --*/;
    margin:0 auto;
        width:100%;
}
.form-row{
    width: 100%;
}
.column-half, .column-full{
    float: left;
    position: relative;
    padding: 0.65rem;
    width:100%;
    -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
}
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/**---------------- Media query ----------------**/
@media only screen and (min-width: 768px) {
    .column-half{
        width: 50%;
    }
}

input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], textarea, .input-text {
  width: 100%;
  border-radius: 10px;
}

.wpcf7-submit {
  background-color: #ff0000 !important;
  color: #fff !important;
  border-radius: 10px !important;
}

.wpcf7-submit:hover {
  background-color: #121270 !important;
}

/* TERMINA Formulario CF7 a 2 columnas responsive */

/*  BLOG*/

.entry-title, post-71 {
  font-size: 60px;
  font-weight: 900;
  color: #121270;
  margin-top: 50px;
}

.wp-block-post-excerpt__more-link {
  color: #fff;
  background-color: #f00;
  text-decoration: none !important;
  padding: 15px;
  margin-top: 25px;
  border-radius: 10px;
}

.wp-block-post-excerpt__more-link:hover {
  background-color: #121270;
}


/*  TERMINA-BLOG  */

/* contact-form-7 */

.wpcf7-submit {
  background-color: #EF7F1A !important;
  color: #fff !important;
	width:100%
}

.wpcf7-submit:hover {
  background-color: #2B2A29 !important;
}

/* FOOTER*/

.site-footer {

	color: #fff;
}

.site-footer a {
  color: #fff !important;
	text-decoration: none;
	font-weight: 500;
}

.site-footer a:hover {
  color: #ef7f1a !important;
}


.content-area, .widget-area {
  margin-bottom: -4% !important;
}

#menu-legal {
  display: flex;
  justify-content: center;
  align-items: center;
	margin-top: 20px;
}


.menu-lineal ul {
  display: inline-block;
	text-align:center;
}

.menu-lineal ul li {
  float: left;
  font-family: Roboto, Helvetica, sans-serif;
  font-size: 16px;
	list-style-type: none;
  border-left: 2px solid black;
	text-align: center;
}

@media only screen and (max-width: 768px) {
  .menu-lineal ul li {

    width: 100%;
		border-left: 0px;
		text-decoration: underline 1px black;
  }
}

.menu-lineal ul li a {
  padding: 20px;
  color: #fff;
  text-decoration: none;
}

#menu-legal ul li:first-child {
border:none
}

.widget_nav_menu ul li::before {
  content: none;
}

.site-info {
 text-align: center;
	padding-top: 0px;
  padding-bottom: 15px;
}

.caja-logo-footer {
  display: flex;
  justify-content: center;
  width: 100% !important;
}
}

#block-8 {
  margin-bottom: -50px;
}

#block-12 {
  margin-bottom: 20px;
}

.footer-widgets {
	padding-top: 0px !important;
}

.widget_nav_menu ul li::before {
  content: "";
}

  /* Fondos EU */

#block-9 {
  display: flex;
  justify-content: center;
  width: 100% !important;
	padding-left: 10%;
	padding-right: 10%;
}

.size-patrocinio {
  width: 350px;
}

/*termina FOOTER*/
