/*
 Theme Name:   Tema base
 Theme URI:    https://temujin.es
 Description:  Tema base que sólo sirve como una introducción a la programación de temas en WordPress.
 Author:       Jonatan Sandoval Alarcón (Temujin.es)
 Author URI:   https://temujin.es
 Version:      230704
*/

@font-face {
  font-family: "Dayrom";
  src: url("./DAYROM__.ttf");
}
@font-face {
  font-family: "ZT";
  src: url("./ZTGatha-SemiBold.ttf");
}
body {
  margin: 0;
  margin-top: 0;
  font-family: "ZT";
  color: #333333;
  background-image: url("ExcavadoraFondo.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 55%;
  background-position: bottom right;
}
.wrapper {
  float: none;
  margin: 0 auto;
  width: 1200px;
  max-width: 100dvw;
}
a {
  text-decoration: none;
}
ul {
  padding-inline-start: 0;
}
header {
  margin-bottom: 40px;

  a {
    margin: 0;
  }
  .logo {
    img {
      height: 84px;
      margin-top: 11px;
    }
  }
  .banner_sup {
    background-color: #dddddd;
    border-bottom: 1px solid #0071bc;
    float: left;
    width: 100%;
    padding: 4px 0;
    .wrapper > div {
      float: right;
      display: grid;
      grid-template-columns: auto auto auto;
      gap: 20px;
      height: auto;
      justify-content: end;
      justify-items: end;
      a {
        color: #0071bc;
        span {
          color: #333;
        }
        i.fa-whatsapp {
          color: green;
        }
      }
    }
  }

  .flexible {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }

  .menu {
    display: flex;
    float: right;
    margin-top: 34px;

    .abrirMenu {
      display: none;
    }

    ul {
      height: 10%;
      border-radius: 5px;

      li {
        list-style: none;
        a {
          background-color: white;
          font-size: 1.1em;
          padding: 5px 10px;
          border: 1px solid #0071bc;
          border-radius: 5px;
          margin-left: 10px;
        }
        a:hover {
          background-color: #dddddd;
        }
      }

      a {
        color: #333333;
      }
    }
  }

  nav {
    li {
      list-style: none;
    }
  }
}

main {
  .wrapper {
    float: none;
    margin: 0 auto;
    width: 1200px;
    max-width: 100dvw;
    margin-bottom: 60px;
  }

  .n2-section-smartslider {
    margin-bottom: 40px;
  }

  .imagenes02 {
    margin-bottom: 40px;

    figure {
      position: relative;
      figcaption {
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
        background-color: rgb(0 113 188 / 50%);
        color: #fff;
        text-transform: uppercase;
        margin: 0;
        padding: 14px 0;
        pointer-events: none;
      }
    }
  }
}

.imagen03 {
  max-height: 200px;
  max-width: 200px;
}

.caja04 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.nosotros03 {
  margin-bottom: 40px;

  p {
    font-size: 20px;
  }
  figure {
    height: 100%;
    margin: auto 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      height: 74px !important;
    }
  }
}

.cajaContactanos04 {
  background-color: #dddddd;
  padding: 20px;
  border-radius: 10px;
  background-image: url("excavadora2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20%;

  .cajaTextosContacto04 {
    height: 300px;
    width: 10%;

    .tituloContacto04 {
      font-size: 2em;
      margin-top: 0;
    }

    .parrafoContacto04 {
      width: 65%;
      font-size: 1.2em;
      margin-top: 50px;
    }
  }

  .formulario04 {
    display: flex;
    flex-direction: column;
    align-items: end;

    input {
      padding: 5px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
      border: 1px solid #0071bc;
      border-radius: 5px;
      padding: 6px;
      box-sizing: border-box;
      width: 100%;
    }

    textarea {
      height: 6em;
      resize: vertical;
    }

    input[type="submit"] {
      float: right;
      border: 1px solid #0071bc;
      border-radius: 5px;
      width: 30%;
    }
    input[type="submit"]:hover {
      background-color: #dddddd;
      color: #0071bc;
    }
  }
}

footer {
  li {
    list-style: none;
  }

  a {
    text-decoration: none;
    color: #333333;
  }

  .flexible {
    border-top: 1px solid #0071bc;
    background-color: #ffffff;
    width: 100%;

    > div {
      display: grid;
      height: 100%;
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-rows: 1fr;

      div {
        width: 100%;
      }

      .aviso {
        grid-column: 1/2;
        height: 197px;
      }

      .mapa {
        grid-column: 2/3;
      }

      .contacto {
        grid-column: 3/4;
      }

      .aviso,
      .menu,
      .mapa {
        text-align: center;
        color: #333333;
      }
      .aviso,
      .menu {
        margin-top: 25px;
      }
      .mapa {
        height: 100%;
      }

      .menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;

        ul {
          height: 100%;
        }
        li {
          margin-top: 3px;
          margin-bottom: 3px;
        }

        a {
          text-decoration: none;
          color: #333333;
        }
      }
    }
  }

  .banner_inf {
    background-color: #dddddd;
    > div{
      display: flex;
      justify-content: space-between;
      padding: 10px 0;
      border-bottom: 1px solid #0071bc;
      justify-content: center;
      align-items: center;
      div {
        width: 100%;
        text-align: center;
      }
  
      a {
        color: #0071bc;
        i{
          margin-right:6px;
        }
      }
    }
  }
}