@charset "utf-8";
@import url("https://fonts.googleapis.com/css?family=Rambla:400,400i,700");

* {
  margin: 0;
  padding: 0;
  font-size: 1em;
  font-family: "Rambla", sans-serif;
  list-style: none;
}

body {
  position: relative;
  min-height: 100vh;
}
.clear {
  clear: both;
}

h1,
h2 {
  color: #4674ae;
}

h1 {
  font-size: 1.8em;
  font-weight: bold;
}

h2 {
  font-size: 1.2em;
}

a {
  text-decoration: none;
  color: inherit;
}

.selected {
  color: #51894c;
}

p a {
  font-style: oblique;
  color: #51894c;
}
p a:hover {
  color: inherit;
}

/* GRID */
.wrapper {
  display: grid;
}

.col-12 {
  grid-template-columns: repeat(12, 1fr);
}

.col-6 {
  grid-template-columns: repeat(6, 1fr);
}

.col-4 {
  grid-template-columns: repeat(4, 1fr);
}

.col-3 {
  grid-template-columns: repeat(3, 1fr);
}

.span-full {
  grid-column-end: span 12;
}

.span-6 {
  grid-column-end: span 6;
}

.span-3 {
  grid-column-end: span 3;
}

.item-content {
  margin: 0px 0px 40px 0px;
}

/* TEXT */
.item-title {
  grid-column-end: span 12;
  margin: 0px 0px 40px 0px;
  text-align: center;
}

.item-sub_title {
  margin: 0px 0px 20px 0px;
}

.item-text {
  margin: 0px 0px 20px 0px;
  line-height: 1.4em;
}

.item-center-text {
  line-height: 1.4em;
  text-align: center;
}

.center-text {
  text-align: center;
}

.fruit-info {
  font-weight: bold;
}

/*IMG*/
.item-img {
  margin: 0px 0px 20px 0px;
}

.item-img img {
  border-bottom: 8px solid #51894c;
}

.border {
  border-bottom: 8px solid #51894c;
}

.item-img-center {
  display: block;
  margin: 0 auto 40px auto;
}

/* NAV */
.item-main-nav {
  grid-column-start: 3;
  grid-column-end: 11;
  margin: 0px 0px 40px 0px;
  justify-self: center;
}

.item-productos-nav {
  grid-column-end: span 6;
  margin: 40px 0px 0px 0px;
  justify-self: center;
}

.item-main-nav ul,
.item-productos-nav ul {
  margin: 0;
  padding: 0;
  display: -webkit-flex;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  border-bottom: 3px solid #51894c;
}

.item-main-nav li,
.item-productos-nav li {
  padding: 1.25rem 0.5rem;
  max-width: 500px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* /////////////////////////////////////////// */

/* HEADER */
.item-header {
  padding: 40px 0px 40px 0px;
}

.header-logo img {
  width: 250px;
  height: auto;
}

.header-nav ul {
  margin: 0;
  padding: 0;
  display: -webkit-flex;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 3px solid #51894c;
}

.header-nav ul li {
  display: flex;
  padding: 1.25rem 0.5rem;
  align-items: center;
  cursor: pointer;
}

/* HOME */
.item-slider {
  min-height: 400px;
  margin: 0px 0px 40px 0px;
  background: url("../img/01-Home/slider-01.jpg") center no-repeat;
}

#slider-text-01 {
  width: 50%;
  /*height: 100%;*/
  height: 400px;
  margin: 0 auto;
  display: -webkit-flex;
  /*justify-content: center;*/
  align-items: center;
  /*flex-direction:column;
	resize: both;*/
}

#slider-text-01 h1 {
  text-align: center;
  color: white;
}

.item-home-act {
  margin: 0px 20px 40px 20px;
}

.item-home-act > div {
  margin: 0px 0px 40px 0px;
  min-height: 200px;
}

.item-home-act h2 {
  text-align: center;
}

.item-home-act p {
  text-align: center;
}

.home-01 {
  border-bottom: 8px solid #51894c;
  background: url("../img/01-Home/home-01.jpg") center no-repeat;
  background-size: cover;
}

.home-02 {
  border-bottom: 8px solid #51894c;
  background: url("../img/01-Home/home-02.jpg") center no-repeat;
  background-size: cover;
}

.home-03 {
  border-bottom: 8px solid #51894c;
  background: url("../img/01-Home/home-03-2.jpg") center no-repeat;
  background-size: cover;
}

.home-04 {
  border-bottom: 8px solid #51894c;
  background: url("../img/01-Home/home-04-2.jpg") center no-repeat;
  background-size: cover;
}

.text-more {
  display: inline-block;
  margin: 0 auto;
  font-style: italic;
  border-bottom: 1px solid #51894c;
}

/* RELACIONES */
.item-home-relaciones-container {
  margin: 0px 0px 40px 0px;
  border-top: 3px solid #51894c;
  border-bottom: 3px solid #51894c;
}

.item-home-relaciones-container ul {
  text-align: center;
}

.item-home-relaciones-container ul li {
  display: inline-block;
  vertical-align: middle;
  margin: 40px 40px 40px 40px;
}

/*  EMPRESA  */
#empresa-clientes {
  padding: 20px;
  border: 3px solid #51894c;
}

/*  CONTACTO  */
#contact-form > * {
  margin: 0px 0px 20px 0px;
  padding: 20px 0px 20px 10px;
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #51894c;
}

#map {
  width: 100%;
  height: 500px;
}

.error {
  margin: 35px 0 35px 0;
  text-align: center;
  color: #ffbf00;
}

.sent {
  margin: 35px 0 35px 0;
  text-align: center;
  color: #009933;
}

/*  FOOTER  */
.item-footer {
  padding: 40px 20px 10px 20px;
  margin: 00px 0px 0px 0px;
  color: white;
  background-color: #51894c;
}

.footer-info {
  grid-column-end: span 6;
}

.footer-info:nth-child(1n) {
  margin: 0px 20px 40px 0px;
}

.footer-info:nth-child(2n) {
  margin: 0px 0px 40px 20px;
}

.footer-info img {
  float: right;
  margin: 20px 0px 0px 0px;
}

.footer-nav {
  grid-column-end: span 12;
  margin: 0px 0px 40px 0px;
  justify-self: center;
}

.footer-nav ul li {
  float: left;
  margin: 0px 20px 0px 20px;
}

.footer-logo {
  grid-column-end: span 12;
  margin: 0px 0px 40px 0px;
  justify-self: center;
}

.footer-copyright {
  grid-column-end: span 12;
  margin: 0px 0px 0px 0px;
  text-align: center;
}

/* Extra small devices (phones, 768px and down) */
@media only screen and (max-width: 48em) {
  .item-header,
  .item-slider,
  .item-home-act,
  .item-content {
    grid-column-end: span 12;
  }

  .item-header {
    padding: 10px 0px 40px 0px;
  }

  .header-logo {
    width: 100%;
  }

  .header-logo img {
    width: 40%;
    height: auto;
    margin: 0px 0 20px 30%;
  }

  .header-nav {
    margin: 0px 20px 0px 20px;
  }

  .header-nav ul {
    justify-content: center;
  }

  .header-nav ul li {
    padding: 0.25rem 0.3rem;
  }

  #slider-text-01 {
    width: 90%;
  }

  .item-center-text {
    grid-column-start: 1;
    grid-column-end: 7;
  }

  .item-main-nav li,
  .item-productos-nav li {
    margin: 0px 10px 20px 10px;
  }

  .item-img {
    width: 100%;
  }

  .item-img img {
    width: 100%;
    height: auto;
  }

  .item-center-text {
    padding: 0px 20px 0px 20px;
  }

  .item-right {
    grid-column-end: span 6;
    padding: 0px 20px 0px 20px;
  }

  .item-left {
    grid-column-end: span 6;
    padding: 0px 20px 0px 20px;
  }

  .item-home-relaciones-container ul li {
    margin: 20px 40px 20px 40px;
  }

  .item-main-nav li,
  .item-productos-nav li {
    padding: 0;
  }

  #contact-form {
    margin-top: 40px;
  }

  .footer-nav ul {
    display: inline-block;
    width: 100%;
    text-align: center;
  }

  .footer-nav ul li {
    float: none;
    margin: 0px 0px 20px 0px;
  }

  .footer-info {
    grid-column-end: span 12;
  }

  .footer-info:nth-child(1n) {
    margin: 0px 0px 20px 0px;
  }

  .footer-info img {
    float: none;
    display: block;
    margin: 0 auto;
  }

  .footer-info:nth-child(2n) {
    margin: 0px 0px 40px 0px;
    text-align: center;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 48em) {
  body {
    font-size: 1em;
  }

  .item-header,
  .item-slider,
  .item-home-act,
  .item-content {
    grid-column-end: span 12;
  }

  .header-logo img {
    float: left;
    margin: 0px 20px 0px 20px;
  }

  .header-nav {
    margin: 60px 20px 0px 0px;
  }

  .item-content {
    grid-column-start: 2;
    grid-column-end: 12;
  }

  .item-center-text {
    grid-column-start: 2;
    grid-column-end: 6;
  }

  .item-right {
    grid-column-end: span 6;
    padding: 0px 20px 0px 20px;
  }

  .item-left {
    grid-column-end: span 6;
    padding: 0px 20px 0px 20px;
  }

  .item-img {
    width: 100%;
  }

  .item-img img {
    width: 100%;
    height: auto;
  }

  #map {
    margin: 0px 0px 20px 0px;
  }
}

/* Medium devices (landscape tablets, 1024px and up) */
@media only screen and (min-width: 64em) {
  body {
    font-size: 1em;
  }

  .item-center-text {
    grid-column-start: 2;
    grid-column-end: 6;
  }

  .item-home-act {
    grid-column-end: span 6;
  }

  .item-right {
    grid-column-end: span 3;
    padding: 0px 20px 0px 20px;
  }

  .item-left {
    grid-column-end: span 3;
    padding: 0px 20px 0px 20px;
  }
}

/* Medium devices (landscape tablets, 1366px and up) */
@media only screen and (min-width: 85.375em) {
  .item-content {
    grid-column-start: 4;
    grid-column-end: 10;
  }

  .item-header {
    grid-column-start: 3;
    grid-column-end: 11;
  }

  .header-logo img {
    margin: 0px 50px 0px 0px;
  }

  .header-nav {
    margin: 60px 0px 0px 0px;
  }

  .item-home-act {
    grid-column-end: span 3;
  }

  .item-right {
    padding: 0px 0px 0px 20px;
  }

  .item-left {
    padding: 0px 20px 0px 0px;
  }
}

/* Extra large devices (large laptops and desktops, 1920px and up) */
@media only screen and (min-width: 120em) {
  body {
    font-size: 1.2em;
  }

  .header-logo img {
    float: left;
    margin: 0px 100px 0px 0px;
  }

  .header-nav {
    margin: 60px 0px 0px 0px;
  }
}
