/*!
Theme Name: starter_theme
Theme URI: https://underscores.me/
Author: Automattic
Author URI: https://automattic.com/
Description: Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if you like. I'm a theme meant for hacking so don't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: starter_theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
img {
	max-width: 100%;
}

header#masthead .site-branding img{
	max-width: 497px;
	width: 80%;
}
header#masthead .mb-lg-5,
header#masthead .my-lg-5 {
    margin-bottom: 2rem !important;
}

.language-menu-link:not(:last-child)::after {
    content: none;
}

li.language-menu-link a{
	font-family: Roboto;
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
	line-height: 14px;
	color: rgba(0, 0, 0, 0.47);
}

.navbar-light .navbar-nav .nav-link{
	font-family: "Roboto";
	font-size: 15px;
}
.home-hero{
	min-height: 462px;
}
.home-hero img{
	width: 100vw;
	height: 100%;
	min-height: 462px;
	object-fit: cover;
}
.mt-4, .my-4 {
    margin-top: 3rem !important;
}
.site-content-initial-padding {
    padding-top: 192px;
}
p.h4{
	font-size: 23px;
	line-height: 27px;
	max-width: 950px;
	margin:  auto;
}

h2, .h2 {
    font-size: 1.75rem;
    line-height: 33px;
}

.marcas{
	margin:  auto;
	margin-top: 4em;
	max-width: 923px;
	margin-bottom: 1em;
	width: 100%;

}

.marcas .marca{
	display: inline-block;
	width: 24%;
	position: relative;
	height: 6em;
}

.marcas .marca img{	
	position: absolute;
	width: 100%;
	height: 5em;
	object-fit: contain;
	left: 0;
	top: 0;
}
.marcas .marca img.on{
	opacity: 0;
	transition:  opacity 1s ease;
}
.marcas .marca:hover img.on{
	opacity: 1;
	transition:  opacity 1s ease;
}
.textured-background{
	margin-top: 4em;
}

.textured-background a:hover{
	text-decoration: none;
}

.background-color-map .col-texto{
	padding-left: 8em;
}
.contacto{
	max-width: 40em;
	text-align: left;
	margin: auto;
}
.contacto h1{
	font-family: Rubik;
	font-style: normal;
	font-weight: bold;
	font-size: 34px;
	line-height: 40px;
	text-align: center;
	letter-spacing: -0.02em;
	margin-top: -1em;
	margin-bottom: 1em;
}
.contacto p{
	margin-bottom: 0 !important;
}

.contacto textarea,
.contacto input{
	border: 1px solid #737373;
	box-sizing: border-box;
	border-radius: 6.92361px;
	padding: 0.6em;
	margin-bottom: 1em;
	width: 100%;
}

.contacto .wpcf7-submit{
	width: 8em;
	float: left;
	background: #538B52;
	border-radius: 6.92361px;
	color: white;
	border: none;
}
.contacto textarea{
	height: 10em;
}

article.product-item:before{
	content: " ";
	width: 100%;
	position: relative;
	height: 1px;
	display: block;
	background: black;
}
article.product-item .mt-4{
	margin-top: 1em !important;
}

h2.titulo{
	font-size: 2.5rem;
	margin-bottom: 2.5em;
	text-transform: none !important;
}

#searchform .form-control,
#searchform .input-group-prepend{
	 border: none;
	 background-color:  #F2F4F8;
	 text-transform: none;
	 font-size: 1em;
	 color: black;
	 height: 3em;
}
#searchform input:not([type=checkbox]){
	width: 100%;
	height: 3em;
	line-height: 2;
	background-color: #538B52;
	color: white;
	border:  none;
	border-radius: 6.92361px;
	font-size: 1em;
	display: flex;
	display: block;
	flex-direction: row;
	align-items: center;

}
#searchform input.form-control-custom-search{
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	background-color:  #F2F4F8;
	padding: 0 !important;
	color: black;
}
#searchform .form-control:focus{
	box-shadow: none;
}
#searchform img{
	width: 1em;
	opacity: 0.8;
	margin-right: 1em;
	margin-left: 1em;
}


#footer-logo{
	max-width: 300px;
}

footer#contact{
	padding-top: 2em;
}



.dropdown {
  position: relative;
  font-size: 14px;
  color: #333;
}
.dropdown .dropdown-list {
  padding: 0;
  background: #fff;
  position: absolute;
  top: 4em;
  left: 0;
  right: 0;
  transform-origin: 50% 0;
  transform: scale(1, 0);
  transition: transform 0.15s ease-in-out 0.15s;
  max-height: 66vh;
  overflow-y: scroll;
  border-radius: 0.65rem;
  z-index: 999;
  border: 1px solid #ccc;
  border-top: none;
  text-align: left;
}
.dropdown .dropdown-option {
  display: block;
  padding: 8px 12px;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}
.dropdown .dropdown-option:first-child{
	border-top: none;
}
.dropdown .dropdown-label {
  display: block;
  background: #fff;
  border: 1px solid #ccc;
  padding: 6px 12px;
  line-height: 1;
  cursor: pointer;
  border-radius: 0.65rem;
  height: auto;
  padding: 1.2em;
  text-align: left;
}
.dropdown .dropdown-label:before {
	content: " ";
	width: 1.25em;
	height: 1.25em;
	background-image: url(assets/images/drop-icon.png);
	display: block;
	position: absolute;
	background-position: center;
	background-size: 100%;
	right: 1em;
	top: 1em;
}
.dropdown.on .dropdown-label{

}
.dropdown.on .dropdown-list {
  transform: scale(1, 1);
  transition-delay: 0s;
}
.dropdown .dropdown-list .dropdown-option {
	opacity: 1;
	transition-delay: 0.2s;
	border-top: 1px solid #ccc;
	padding: 0.8em 1.5em;
	margin:  0;
	line-height: 2;
	cursor: pointer;
}
.dropdown.on .dropdown-label:before {
	transform: rotate(180deg);
}
.dropdown [type=checkbox] {
  position: relative;
  top: -2px;
  margin-right: 8px;
  height: 1em;
  vertical-align: middle;
}

#searchPopUp{
	position: fixed;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,0.5);
	z-index: 9;
	top: 0;
	left: 0;
	visibility: hidden;
	opacity: 0;
	transition: all 1s ease;
}
body.openSearch #searchPopUp{
	visibility: visible;
	opacity: 1;
}
#searchPopUp .mt-5{
	margin-top: 25% !important;
}

#searchPopUp .cerrar{

}
#searchPopUp  .close-x {
  stroke: black;
  fill: transparent;
  stroke-linecap: round;
  stroke-width: 5;
}


@media only screen and (max-width : 900px) {
	header#masthead .mb-lg-5, header#masthead .my-lg-5 {
    	margin-bottom: 1rem !important;
	}
	header#masthead .site-branding img {
    	max-width: 350px;
	}
	.site-content-initial-padding {
    	padding-top: 188px;
	}
	.background-color-map .col-texto{
		padding-left: 0em;
	}


}

@media only screen and (max-width : 500px) {
	header#masthead .mb-lg-5, header#masthead .my-lg-5 {
    	margin-bottom: 1.2rem !important;
	}
	.site-content-initial-padding {
    	padding-top: 170px;
	}
	.home-hero img,
	.home-hero {
    	min-height: 160px;
	}
	body.page-template-page-somos main h1,
	body.home main h1{
		font-size: 1.2em;
		line-height: 1.3;
	}
	p.h4 {
	    font-size: 1em;
	    line-height: 1.2;
	    max-width: none;
	    margin: auto;
	        margin-bottom: auto;
	}
	article.mt-4,
	section.mt-4{
		margin-top: 1rem !important;
	}
	#crumbs {
    	margin: 2rem 0;
	}
	.marcas{
		margin-top: 2em;
	}
	.marcas .marca{
		width: 52%;
	}
	#searchPopUp .mt-5 {
    margin-top: 80% !important;
	}
}


.grecaptcha-badge { 
    visibility: hidden;
}

.page-id-1073 .grecaptcha-badge, .page-id-1078 .grecaptcha-badge {
    visibility: visible !important;
}

