@font-face {
  font-family: "fastur0";
  src: url("fastur0.woff") format('woff');
}

@font-face {
  font-family: "fastur1";
  src: url("fastur1.woff") format('woff');
}

@font-face {
  font-family: "fastur1b";
  src: url("fastur1b.woff") format('woff');
}

@font-face {
  font-family: "fastur2";
  src: url("fastur2.woff") format('woff');
}

body, h1, h2, h3 {
  font-family: 'fastur0';
}

h2 {
  font-size: 18pt;
}

h3 {
  color: #4b862f;
}

header {
  background-color: #FFFFFF !important;
  background-image: none !important;
}
.hoja {
    max-width: 1200px;
    margin: auto;
}

.brand-logo img {
  max-width: 180px !important;
}

.nav-item {
	color: #444;
}

.nav-item:hover {
  color: #4b862f !important;
}

.container-nav {
	justify-content: end !important;
}

.mod-menu>li {
	margin: 14px;
}

a {
  text-decoration: none !important;
  color: #363636;
  transition: filter 0.3s; 
}

a:hover {
  color: #636363;
}

/* BOTONES */

.btn-primary {
  background-color: #4b862f;
  border-color: #506944;
}

.btn-primary:hover {
  background-color: #33472a;
}

.imgpres {
  width: 100%;
  height: 200px;
  background-image: url("../../images/inicio_files/home-bg1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #FFFFFF;
  font-size: 32pt;
  padding: 40px;
  text-align: right;
  font-family: 'fastur2';
  padding-top: 80px;
  padding-right: 50px;
  text-shadow: 6px 6px 9px rgba(0, 0, 0, 0.2);
}

.imgprespages {
  width: 100%;
  height: 120px;
  background-image: url("../../images/inicio_files/home-bg1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.noborder {
  border: none;
}

.bloque {
  max-width: 300px;
  margin: auto;
  background-color: #3498db;
  transition: filter 0.3s; 
  cursor: pointer;
  border-radius: 4px;
  margin: 8px;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.bloque:hover {
  filter: brightness(85%);
  
}

.titulo-fatr {
    text-align: center;
    color: #4b862f;
}

.grid-inicio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    justify-items: center;
}

.grid-inicio a:hover .bloque {
    transform: scale(1.03);
}

.blog-item .item-image a img {
  border-left: 4px solid #50a522;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.left.item-image {
  float: none;
}

.icono {
  width: 16px;
  height: 16px;
  max-width: 16px;
}

.diviconosnav {
  margin: 32px;
}

.columnright {
  font-size: 16pt;
  color: #777;
}

.columnright .icono {
  width: 32px;
  height: 32px;
  max-width: 32px;
  margin: 8px;
}

.fullwidth {
  width: 99.6vw;
  margin-left: calc(-50vw + 50%);
}

.inicio100 {
  background-color: #f4f4f4;
  background-size: cover;
  background-repeat: no-repeat;
  background-size: initial;
  background-position: center right;
  padding: 100px 0;
}

@media (max-width: 1260px) {
  .inicio100 .hoja {
    padding: 0 20px;
    text-shadow: 3px 3px 9px rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 650px) {
  .inicio100 .hoja {
    text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.9);
    color: #FFF;
  }
}

/* Inicio bloques */
/*
.bloques3 {
  margin: auto;
  margin-top: 40px;
  width: 100%;
  max-width: 1510px;
  text-align: center;
}

.bloque3 {
  margin: 20px;
  width: calc(33% - 40px);
  min-height: 280px;
  background-repeat: no-repeat; 
  background-size: cover; 
  background-position: center center; 
  box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.3);
  padding: 40px 140px 40px 40px;
  text-align: left;
  font-size: 14pt;
  line-height: 18pt;
  display: inline-block;
  vertical-align: top;
  border-top-right-radius: 10px;
}

@media (min-width: 1024px) and (max-width : 1300px) {
  .bloque3 { 
    width: calc(33% - 160px);
    min-height: 320px;
    padding: 20px 100px 20px 20px;
    margin: 1%;
  }

}

@media (min-width: 768px) and (max-width : 1024px) {
  .bloque3 { 
    width: calc(33% - 120px);
    padding: 10px 60px 10px 10px;
  }

}

@media (min-width: 500px) and (max-width: 768px) {
  .bloque3 { 
    width: calc(100% - 314px);
    padding: 40px 230px 40px 40px;
  }
}

@media only screen and (max-width: 500px) {
  .bloque3 { 
    width: calc(100% - 214px);
    padding: 40px 130px 40px 40px;
  }
}
*/

.bloques3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin: 40px auto;
    width: 100%;
    max-width: 1510px;
    padding: 0 20px;
}

.bloque3 {
    min-height: 280px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.3);
    padding: 40px 140px 40px 40px;
    text-align: left;
    font-size: 14pt;
    line-height: 18pt;
    border-top-right-radius: 10px;
    text-shadow: 0 0 4px rgba(255, 255, 255, 1);
}

@media (max-width: 1100px) {
    .bloques3 {
        grid-template-columns: 1fr;
    }
    .bloque3 {
        padding: 30px;
    }
}

@media (max-width: 800px) {
    .bloque3 {
        padding: 30px;
    }
}




.imgleft {
  max-width: 300px;
  float: left;
  margin: 10px;
}

.imgright {
  max-width: 300px;
  float: right;
  margin: 10px;
}

.imgleft, .imgright {
  border-left: 4px solid #50a522;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.contenedor-servicios {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.servicio {
  flex: 1 1 300px;     
  max-width: 400px;  
  border: solid 1px #999;
  border-left: 4px solid #50a522;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  display: inline-block;
}

.servicioenc {
  background-image: url("../../../../../images/servicios_files/bg1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  padding: 20px;
  text-align: center;
  font-size: 16pt;
}

.servicioenc img {
  width: 80px;
  display: block;
  margin: auto;
}

.serviciotexto {
  padding: 20px;
}


/* FOOTER */

.footer {
  background-color: #4b862f;
  background-image: none;
}

.piecolumna2 {
  display: inline-block;
  margin: 30px 0;
 /* min-width: 300px;*/
}

.piecolumna4 {
  display: inline-block;
  vertical-align: top;
  width: calc(25% - 4px);
  min-width: 280px;
  text-align: left;
}

@media all and (max-width: 574px) {
  .piecolumna4 {
    margin: 10px auto;
  }
}

.piecolumnaredes {
  display: inline-block;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .mod-menu {
    flex-direction: row;
  }
}

@media (max-width:  480px) {
  .imgpres {
    font-size: 24pt;
  }
}

.navbar.navbar-expand-md {
  text-align: right !important;
}

.container-header .navbar-toggler {
  color: #888888;
  border: none;
}

.navbar {
  display: block;
}

.navbar-expand-md button {
  margin-top: 8px;
}

.blog-item .item-image a img, .com-content-category-blog__item.blog-item img {
    height: 290px;        
    object-fit: cover;      
    object-position: center;
}

