body {
  color: #fff;
  font-family: 'League Spartan', sans-serif;
  font-weight: normal;
  padding-bottom: 0;
}
.navbar-toggler-icon {
  background-image: url(assets/images/menu.png);
}
.navbar-toggler:focus {
    box-shadow: none;
}
header {
}
header::after {
    right: 0;
    /*background-color: red;*/
}
header::before {
    left: 0;
    background-color: green;
}
#matatias {
  background-color: transparent !important;
}
#matatias.fixed-top { position: absolute; }
#matatias .navbar {
  /*Mada 17 regular #ffffff*/
  font-family: 'Mada', sans-serif;
  font-size: 17px;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
#matatias .nav-link.active {
  text-decoration: none;
  /*color: #0056b8;*/
}
#matatias .nav-link {
  color: #fff;
  cursor:pointer;
}
#matatias .nav-link:hover {
  color: #0056b8;
}
li.nav-item {
  padding-right: 1rem;
  padding-left: 1rem;
}
.navbar-collapse {
  flex-grow: inherit;
}
.navbar-brand img {max-height: 46px; padding-left: 30%;}
/*HOME*/
#myCarousel {
  margin-top: -48px;
}
#myCarousel.carousel { margin-bottom: 0; }
#myCarousel .carousel-item {
  height: 57rem;
}
#myCarousel .carousel-item > img {
  height: 100%;
}
#myCarousel h1 {
  font-size: 32px;
  text-align: center;
  display: inline-block;
  margin-top: 160px;
}
#myCarousel .part1 {
  font-size: 65px;
  font-weight: 800;
}
#myCarousel h1 span {
  display: block;
}
#myCarousel .carousel-caption {
  bottom: 15rem;
}
/******************* NOSOTROS ************************/
#nosotros {
  height: 460px;
  background: url(assets/images/2.png) no-repeat;
  background-size: cover;
  padding-top: 160px;
  text-align: center;
}
#nosotros h3 {
  font-size: 32px;
  font-weight: 700;
  padding-bottom: 25px;
}
#nosotros p {
  font-size: 27px;
  font-weight: 500;
  line-height: 34px;
}
/*
#nosotros { color :#fff }
#nosotros h3 { League Spartan Bold 32px}
#nosotros p { League Spartan Medium 27px}
font-family: 'Open Sans', sans-serif;
*/
/******************* MARCASYPRODUCTOS ************************/
#marcasyproductos {
  background:url(assets/images/3.png);
  background-size: cover;
  padding-top: 130px;
  padding-bottom: 230px;
}
#marcasyproductos .aceitesylubricantes { text-align: center; padding-top: 110px; padding-bottom: 60px; }
#marcasyproductos .aceitesylubricantes img { padding-top: 45px; }
#marcasyproductos p {font-size: 30px; line-height: 30px; font-weight: 500; text-align: center; max-width: 763px; margin: auto;}
#marcasyproductos .productos p{ max-width: 300px; vertical-align: text-bottom; display: grid; align-content: flex-end; height: 60px; } 
#marcasyproductos span {font-size: 30px; font-weight: 800; color: #f8d000;}
#marcasyproductos h2 {
  background-color: rgb(0 20 50 / 20%); 
  font-weight: 800; 
  font-size: 54px; 
  text-align: center;
  border-radius: 10px;
  padding: 10px 30px;
  display: inline-block;
}
#marcasyproductos .filtro { text-align: center; }
#marcasyproductos .productos { text-align: center; padding-top: 17px; }
/******************* ACEITE ************************/
#aceite {
  background-color: #f8d000;
  height: 332px;
  color: #00449c;
  text-align: center;
}
#aceite h3 { font-size: 45px; font-weight: 800; padding-top: 80px; }
#aceite p { font-size: 30px; max-width: 917px; margin: auto; line-height: 36px; padding-top: 20px; }
/******************* CLIENTES ************************/
#clientes {
  background: url(assets/images/aquienvendemospattern.png) #79858b repeat;
  /*background-color: #79858b;
  background-size: cover;*/
  padding-top: 90px;
  padding-bottom: 115px;
}
#clientes img{ padding-top: 35px; }
#clientes .titulo { padding-bottom: 55px; }
#clientes .titulo {
  max-width: 700px;
}
#clientes .titulo, #masclientes .titulo, #contacto .titulo { 
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  margin: auto;
  line-height: 36px;
}
#clientes .titulo span, #masclientes .titulo span {
  font-weight: 800;
}
#masclientes {
  background-color: #0056b8;
  padding-top: 110px;
  padding-bottom: 86px;
}
#masclientesdesign{
  background: url(assets/images/masclientesbk.png) no-repeat;
  position: absolute;
  height: 420px;
  width: 231px;
  z-index: 0;
  margin-top: -186px;
}
#masclientesdesignbottom {
  background: url(assets/images/bkbottom.png) no-repeat;
  position: absolute;
  height: 1020px;
  width: 340px;
  z-index: 0;
  right: 0;
  margin-top: -273px;
}
#masclientes .titulo { 
  max-width: 800px;
}
#masclientes .client{
  font-size: 24px;
  font-weight: 700;
  margin: auto;
  line-height: 24px;
  max-width: 200px;
  border-bottom: 1px solid #f8d000;
}
#masclientes .type {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 18px;
}
#masclientes ul, #masclientes ul li {
  margin: 10px 0;
  padding: 10px 0;
}
#masclientes ul li {
  list-style: none;
  text-align: center;
  width: 24.7%;
  display: inline-block;
}

#masclientes ul.fivecols li { 
  width: 19.7%;
}

footer {
  background: url(assets/images/footerpattern.png) repeat;/* background: url(assets/images/11.png); background-size: cover;*/
  
  min-height: 1049px;
  color: #fff;
  padding-top: 100px;
}
footer a {
  color: #fefefe;
  font-size: 25px;
  line-height: 50px;
  padding-top: 18px;
  text-decoration: none;
}
footer a:hover {
    color:#f67d22;
}
footer img {
  float: right;
  vertical-align: middle;
}
.titfoot {
  color: #9bc8fb;
  font-weight: 700;
  font-size: 25px;
  margin-bottom: 5px;
}
#contacto .titulo {
  padding-bottom: 55px;
  font-weight: 700;
}
#contacto .adressmat p {
  max-width: 260px;
}
.adressmat {
    margin-bottom: 60px;
}
.hours {
  padding-top: 145px;
}
#bkfooterbottom {
  background: url(assets/images/footerbottomobk.png) no-repeat;
  position: absolute;
  height: 439px;
  width: 506px;
  z-index: 0;
  left: 100px;
  margin-top: -298px;
}
/*Formulario contacto para slider y footer */
#contactar {
  max-width: 450px;
  float: right;
  z-index: 8;
  position: relative;
}
.contactar {
  background-color: #0056b8;
  border-radius: 10px;
  height: 441px;
  padding: 45px;
  box-shadow: 5px 5px 5px -2px rgba(0,0,0,0.75);
  -webkit-box-shadow: 5px 5px 5px -2px rgba(0,0,0,0.75);
  -moz-box-shadow: 5px 5px 5px -2px rgba(0,0,0,0.75);
}
.titulo_form{
  font-weight: 600;
  font-size: 22px;
  text-align: center;
  line-height: normal;
}
.titulo_form span {
  color: #f8d000;
  font-weight: 700;
}
#contactar label {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
}
#contactar .btn.btn-primary.btn-lg {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: 800 !important;
  color: #0056b8;
  background-color: #f8d000;
  width: 130px !important;
  height: 36px;
  line-height: 20px;
  float: right;
  margin-top: 10px;
}
.contactar .form-control{
  padding: 0.01rem 0.75rem !important;
}
#contactar div {
  margin-top: 5px;
  margin-bottom: 5px;
}
/**/
/*Formulario footer contacto */
.supertitle{
  font-weight: 400;
  font-size: 24px;
  display: block;
  text-align: center;
  padding-bottom: 10px;
}
.form-footer .contactar {
  height: 500px;
}
.invalid-feedback {
    margin-top: -2px !important;
    position: absolute;
}
/*fin formulario footer contacto*/
/*************** MODAL **********************/
/*.modal-dialog {
    max-width: 60%;
}
.btn-close {
    position: absolute;
    top: 15px;
    right: 42px;
    color: #fff !important;
    background: red;
    border-radius: 24px;
    font-weight: bold;
    line-height: 24px;
    padding: 0;
    width: 24px;
    height: 24px;
}
.modal-sheet .modal-dialog {
  width: 100%;
}*/
a.btn-tel {
  font-family: 'Open Sans', sans-serif;
  background-color:#f8d000;
  color:#0056b8;
  font-weight: 800;
  font-size:16px ;
  text-decoration: none;
  line-height: 28px;
  padding: 4px 10px;
  border-radius: 5px;
  margin: 0 4px;
}
.botones {
  text-align: center;
  font-size: 18px;
  color: #fff;
  padding-top: 15px;
  line-height: 24px;
}
.fitcontent {
  width: fit-content;
  margin: auto;
  position: relative;
}
#marcasyproductos span.btnplus{
  width: 26px;
  height: 26px;
  background-color: #f8d000;
  color: #ffffff !important;
  border-radius: 26px;
  font-size: 26px;
  line-height: 31px;
  /*display: inline-block;*/
  vertical-align: bottom;
  margin-left: -37px;
  cursor: pointer;
  position: absolute;
  bottom: 12px;
  float: right;
  z-index: 99;
}
ul.details {
  list-style: none;
  font-size: 16px;
  color: #0050aa;
  font-weight: 600;
  background-color: #fff;
  border-radius: 6px;
  margin: 0 0 0 -26px;
  padding: 10px 20px;
  position: absolute;
  text-align: left;
  float: right;
  display: inline-block;
  bottom: -45px;
  vertical-align: text-bottom;
  width: max-content;
}
.filtro ul.details {
  bottom: -68px;
}
ul.details li {
  border-bottom: 1px solid #0050aa;
}
ul.details li:last-child {
  border-bottom: 0 none;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  #contactar {
    width: 376px;
  }
  #myCarousel h1 {
    font-size: 26px;
  }
  #myCarousel .part1 {
    font-size: 52px;
  }
  #myCarousel .carousel-item {
    height: 53rem;
  }
  #clientes img {
    max-width: 90%;
    height: 320px;
  }
  #masclientes ul li {
    width: 23.7%;
  }
  #masclientes ul.fivecols li {
    width: 18.7%;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  #myCarousel h1 {
    font-size: 20px;
  }
  #myCarousel .part1 {
    font-size: 35px;
  }
  #contactar {
    max-width: 325px;
  }
  .contactar {
    padding: 22px;
  }
  li.nav-item {
    padding-left: 0;
    padding-right: 0;
  }
  #nosotros p{
    font-size: 22px;
  }
  #aceite h3 {
    font-size: 32px;
  }
  #aceite p {
    font-size: 26px;
  }
  #clientes img {
    max-width: 94%;
    height: 300px;
  }
  #masclientes .titulo {
    font-size: 26px;
  }
  #masclientes ul li {
    width: 23.7%;
  }
  #masclientes .client {
    font-size: 18px;
    line-height: 22px;
  }
  #masclientes .type {
    font-size: 15px;
  }
  #masclientes ul.fivecols li {
    width: 18.7%;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  #myCarousel .carousel-caption {
    bottom: 10rem;
  }
  #matatias {
    background-color: rgb(0 89 186 / 79%) !important;
  }
  #nosotros {
    padding-top: 80px;
    height: 440px;
  }
  #nosotros h3 {
    font-size: 30px;
  }
  #nosotros p {
    font-size: 25px;
  }
  #marcasyproductos {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  #marcasyproductos p, #marcasyproductos span {
    font-size: 26px;
  }
  #marcasyproductos .aceitesylubricantes {
    padding-top: 80px;
  }
  #marcasyproductos .aceitesylubricantes img {
    max-width: 90%;
  }
  #marcasyproductos h2 {
    font-size: 46px;
  }
  #aceite h3 {
    font-size: 32px;
    padding-top: 60px;
  }
  #aceite p {
    font-size: 24px;
    line-height: 28px;
    padding-top: 0;
  }
  #clientes {
    padding-top: 60px;
  }
  #clientes img {
    max-width: 96%;
    height: 300px;
  }
  #masclientes {
    padding-top: 60px;
  }
  #masclientes .titulo {
    font-size: 26px;
    line-height: 32px;
  }
  #masclientes ul li, #masclientes ul.fivecols li {
    width: 47.7%;
  }
  #masclientes .client {
    font-size: 22px;
    line-height: 21px;
  }
  footer {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .adressmat {
    margin-bottom: 0;
  }
  .hours {
    padding-top: 10px;
  }
  #contacto .titulo {
    padding-bottom: 15px;
    font-size: 36px;
  }
  #contactar {
    float: none;
    margin: auto;
  }
}
@media (max-width: 575.98px) {
  #matatias {
    background-color: rgb(0 89 186 / 79%) !important;
  }
  #myCarousel .carousel-item , #myCarousel .carousel-item > img {
    height: 32rem;
  }
  #myCarousel .carousel-caption {
    bottom: 9rem;
  }
  #myCarousel .contactar{
    display: none;
  }
  #myCarousel h1 {
    font-size: 22px;
  }
  #myCarousel .part1 {
    font-size: 45px;
  }
  #nosotros {
    height: 340px;
    padding-top: 50px;
  }
  #nosotros h3 {
    font-size: 30px;
    line-height: 36px;
  }
  #nosotros p {
    font-size: 20px;
    line-height: 26px;
  }
  /* marcasyproductos */
  #marcasyproductos {
    padding-top: 60px;
    padding-bottom: 80px;
  }
  #marcasyproductos p, #marcasyproductos span {
    font-size: 20px;
  }
  #marcasyproductos .aceitesylubricantes {
    padding-top: 60px;
  }
  #marcasyproductos h2 {
    font-size: 38px;
  }
   #marcasyproductos .aceitesylubricantes img, 
   #marcasyproductos .productos img,  
   #marcasyproductos .filtro img,
   #clientes img  {
    max-width: 100%;
  }
  #marcasyproductos .productos p {
    line-height: 26px;
  }
  /* ACEITE */
  #aceite h3 {
    padding-top: 50px;
    font-size: 23px;
    line-height: 28px;
  }
  #aceite p {
    font-size: 20px;
    line-height: 26px;
  }
  /* CLIENTES */
  #clientes {
    padding-top: 60px;
    padding-bottom: 80px;
  }
  #clientes .titulo, #masclientes .titulo {
    font-size: 26px;
    line-height: 30px;
    padding-bottom: 5px;
  }
  #clientes img {
    height: 225px;
  }
  /* MAS CLIENTES */
  #masclientes{
    padding-top: 60px;
  }
  #masclientes ul li, #masclientes ul.fivecols li {
    width: 48.7%;
  }
  #masclientes .client {
    font-size: 20px;
    line-height: 23px;
  }
  /*Footer*/
  .adressmat {
    text-align: center;
  }
  #contacto .adressmat p {
    max-width: 100%;
  }
  .hours {
    padding-top: 0;
    text-align: center;
  }
  .form-footer{
    padding-bottom: 40px;
  }
  #contactar{
    float: none;
    margin: auto;
  }
  .adressmat {
    margin-bottom: 20px;
  }
  #contacto .titulo {
    padding-bottom: 25px;
  }
  footer {
    padding-top: 50px;
  }
  #masclientesdesign { background-size: 60%; background-position: left; }  
  #masclientesdesignbottom { background-size: 60%; background-position: right; } 
  #bkfooterbottom { display: none;}
}
