/*
Theme Name: Miret
Author: Creagia
Description: Tema para Miret - Quality Leathers
Version: 0.0.1
*/

/**
 * Bootstrap overrides
 */
.btn-primary {
  background: #e14230 !important;
  border-color: #e14230 !important;
}

.btn-primary:hover {
  background: #ce3c2b !important;
  border-color: #ce3c2b !important;
}

.btn-primary.focus, .btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(253, 111, 28, 0.5) !important;
  -moz-box-shadow: 0 0 0 0.2rem rgba(253, 111, 28, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(253, 111, 28, 0.5) !important;
}

input:focus, textarea:focus {
  border-color: #e14230 !important;
  -webkit-box-shadow: 0 0 0 .2rem rgba(253, 111, 28, 0.5) !important;
  -moz-box-shadow: 0 0 0 .2rem rgba(253, 111, 28, 0.5) !important;
  box-shadow: 0 0 0 .2rem rgba(253, 111, 28, 0.5) !important;
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: #f9f0e6 !important;
}

.navbar-expand-md .navbar-nav .nav-link {
  padding-right: 0.7rem !important;
  padding-left: 0.7rem !important;
  font-size: 17px !important;
  text-transform: uppercase;
}

button.navbar-toggler {
  border-color: #4f1e00 !important;
  outline-color: #e14230 !important;
}

/**
 * Global
 */
body, html {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

main {
  position: relative;
}

p, li, a {
  color: #212529 !important;
  text-decoration: none !important;
}

p {
  line-height: 27px;
}

a {
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}

blockquote {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 4px;
  border-left: 4px solid #e14230;
}

blockquote > * {
  margin: 0 !important;
  background: transparent !important;
}

table thead {
  background: #efefef;
}

table td, table th {
  padding: 5px;
}

.bg-light-orange {
  background: #f9f0e6 !important;
}

.text-dark-orange * {
  color: #501c00 !important;
}

.text-darkest-orange {
  color: #3a1400 !important;
}

.text-strong-orange {
  color: #e14230 !important;
}

.my-7 {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
}

.mt-7 {
  margin-top: 7rem !important;
}

.mb-7 {
  margin-bottom: 7rem !important;
}

.roman {
  font-family: Lora, serif !important;
}

.justify-content-space-between {
  justify-content: space-between !important;
}

nav.hero-nav a:hover,
footer a:hover,
nav.navbar li a:hover,
nav.navbar li a:hover span,
nav.navbar li.current-menu-item a {
  color: #e14230 !important;
}

nav.navbar li.current-menu-item a.dropdown-item {
  background: #f9f0e6 !important;
}

#wpadminbar .quicklinks > ul > li > a {
  color: #ffffff !important;
}

.js-previous-slide,
.js-next-slide {
  top: 20px;
  position: absolute;
  cursor: pointer;
}

.js-previous-slide svg path,
.js-next-slide svg path {
  fill: #84db66;
}

.js-previous-slide {
  left: 50px;
}

.js-next-slide {
  right: 50px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.bg-layer {
  background: #fff;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
}

.rmn-card {
  position: relative;
  width: 100%;
  border: 4px solid #ed4426;
  border-radius: 15px;
  padding: 60px;
}

.trans-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 40px 90px 10px 30px;
}

.trans-card .trans-card-text {
  line-height: 22px;
}

.trans-card .logo-section {
  margin-left: 14px;
  margin-bottom: 15px;
}

@media only screen and (max-width: 970px) {
  .trans-card {
    padding: 30px 50px 20px 20px;
  }
}

.p-super {
  font-size: 39px;
  line-height: 40px;
  margin-bottom: 28px;
  font-weight: bold;
  color: #f94617 !important;
}

.roman-text {
  font-family: Lora, serif;
}

.p-slim {
  font-weight: 300 !important;
  line-height: 21px !important;
}

/**
 * 404
 */
#page404 h1 {
  font-size: 3rem;
}

#page404 a.btn-home {
  margin-top: 20px;
}

/**
 * Header
 */
#masthead nav {
  padding: 20px 0;
  background: pink;
}

#masthead .nav-logo {
  max-height: 40px;
}

#masthead #menu-principal {
  margin: 0;
}

#masthead #menu-principal li {
  display: inline;
}

#menu-principal > li:first-child > a {
  font-weight: bold;
}

#menu-principal > li.wpml-ls-item {
  margin-left: 40px;
}

/**
 * Front page
 */
#hero {
  position: relative;
  height: 100vh;
  padding: 40px;
}

#hero .inner-content {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

#hero .inner-content .logo {
  position: absolute;
  top: 65px;
  left: 40px;
  max-width: 50%;
}

#hero .inner-content nav.hero-nav {
  position: absolute;
  top: 30px;
  right: 150px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

#hero .inner-content nav.hero-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#hero .inner-content nav.hero-nav ul li {
  text-transform: uppercase;
  margin-bottom: 7px;
}

#hero .inner-content nav.hero-nav ul li a {
  font-weight: bold;
  font-size: 14px;
  padding: .5rem 0 !important;
}

#hero .inner-content {
  position: relative;
  height: 80%;
}

#hero .featured-box {
  height: 32%;
  width: 48.5%;
  position: absolute;
  bottom: -160px;
  display: table;
  padding-left: 40px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  transition: background .3s ease;
}

#hero .featured-box h2 {
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 6px;
}

#hero .featured-box a {
  display: table-cell;
  vertical-align: middle;
}

#hero .left-featured {
  left: 20px;
  background: #ed4426d1;
}

#hero .left-featured:hover {
  background: #ed4426;
}

#hero .right-featured {
  right: 20px;
  background: #ff8d00d1;
}

#hero .right-featured:hover {
  background: #ff8d00;
}

/**
* Traceability
*/
.owl-slide {
  height: calc(100vh - 67px);
}

.owl-slide .top .section-number {
  position: absolute;
  left: -15px;
  font-size: 25px;
  top: -9px;
}

.owl-slide .top,
.owl-slide .bot {
  height: 42%;
}

.owl-slide .mid {
  height: 15%;
}

.owl-slide .slider-image {
  display: block;
  height: 100%;
  width: 33%;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
}

.owl-slide .slider-image-25 {
  display: block;
  height: 100%;
  width: 24.5%;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
}

.continue-arrow {
  height: 100%;
  width: 100%;
  background: #7ad674;
  background-image: url('assets/images/traceability/arrow.png');
  background-blend-mode: color-dodge;
  background-repeat: repeat-x;
  background-size: 26%;
  background-position: center right;
}

.continue-arrow .arrow-title {
  color: #fff;
  font-family: Lora, serif;
  margin: 10px 0 0 10px;
  font-weight: bold;
  letter-spacing: 2px;
}

/**
 * Articles
 */
#articles-container {
  position: relative;
  border-radius: 15px;
  padding: 60px;
}

#articles-container .logo-section img {
  max-width: 85px;
  margin-bottom: 15px;
}

#articles-container .logo-section span {
  font-size: 27px;
}

#articles-container h2 {
  margin-bottom: 0.5rem !important;
}

#articles-container h2.products-title span {
  text-transform: uppercase;
  margin-right: 20px;
  font-size: 19px;
  letter-spacing: 2px;
  font-weight: bold;
}

#articles-container p.articles-description {
  font-weight: 300;
  font-size: 17px;
  line-height: 28px;
}

#download-colors {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  border-radius: 10px;
}

#articles {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

#articles .article {
  width: calc(50% - 6px);
  background: #ffffff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 10px;
  height: 300px;
  display: table;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

#articles .article a.list-link {
  height: 100%;
  width: 100%;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
}

#articles .article.belts {
  background-image: url(assets/images/articles/belts.jpg);
  background-position: left top;
  background-size: cover;
  color: #ffffff;
}

#articles .article.goods {
  background-image: url(assets/images/articles/bags.jpg);
  background-size: cover;
  background-position: 0% 75%;
}

#articles .article.tech {
  background-color: #d9d2d3;
  background-image: url(assets/images/articles/technical.jpg);
  background-size: cover;
  color: #ffffff;
}

#articles .article.saddlery {
  background-image: url(assets/images/articles/saddlery.jpg);
}

#articles .article .category {
  width: 100%;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  color: #fff;
}

#articles-container .available-colors {
  padding-right: 160px;
}

/**
 * News
 */
.card-news {
  width: 31%;
  overflow: hidden;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  margin-bottom: 2px;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.05);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.05);
  background-color: white;
}

.card-news .card-news-header {
  height: 200px;
  background: #cecece;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.card-news .card-news-body {
  padding: 20px;
}

.card-news .card-news-body .read-more-link {
  color: #e14230 !important;
}

/**
 * Fairs Page
 */
#page-fairs .fair {
  border-bottom: 2px solid black;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

#page-fairs .fair h3 {
  font-size: 20px;
}

#page-fairs .fair .location {
  font-weight: 300;
  font-size: 35px;
  line-height: 37px;
  display: block;
  margin: 5px 0;
}

/**
 * Single Feria
 */
#single-feria-hero .entry-title {
  font-size: 3rem;
  position: relative;
  z-index: 2;
  color: #e14230;
}

#single-feria-hero .entry-date {
  position: relative;
  z-index: 2;
  color: #ffffff !important;
}

/**
 * Contact Page
 */
.wpcf7-form input[type="submit"] {
  background: #b5b5b5 !important;
  border-color: #b5b5b5 !important;
}

.wpcf7-form input[type="submit"]:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(185, 185, 185, 0.5) !important;
  -moz-box-shadow: 0 0 0 0.2rem rgba(185, 185, 185, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(185, 185, 185, 0.5) !important;
}

#contact-boxes {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  max-width: 1300px;
  margin: 0 auto;
}

#contact-boxes .contact-box {
  flex: 1;
  width: 18%;
  margin: 0 5px;
  padding: 20px 10px;
  text-align: center;
  background: #f98541;
  border-radius: 10px;
}

#contact-boxes .contact-box h4 {
  color: white;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 20px;
}

#contact-boxes .contact-box h5 {
  margin-bottom: 15px;
}

#contact-boxes .contact-box a {
  color: white !important;
}

/**
 * Footer
 */
footer {
  background: #ececec;
}

footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer .top-footer {
  padding: 50px 0;
}

footer .top-footer h3 {
  margin-bottom: 20px;
}

footer .top-footer ul li {
  /* margin-bottom: 10px; */
}

footer .top-footer ul li a {
  display: block;
  padding: 0.1rem !important;
}

footer .bottom-footer {
  padding: 15px 0;
}

/**
 * Responsive
 */

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
  .navbar-expand-md .navbar-nav .nav-item:last-child .nav-link {
    padding-right: 0 !important;
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
  #hero {
    padding: 20px;
  }
  #hero .inner-content .logo {
    position: absolute;
    top: 45px;
    left: 10%;
    width: 80%;
  }
  #hero .inner-content nav.hero-nav {
    top: 140px;
    left: 10%;
    position: absolute;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 15px;
    width: 80%;
  }
  #hero .inner-content .wpml-ls-legacy-list-horizontal {
    margin-top: 25px;
  }
  #hero .inner-content .wpml-ls-legacy-list-horizontal ul li a {
    font-size: 0.9rem !important;
  }
  #hero .inner-content nav.hero-nav ul li a {
    font-size: 1rem;
  }
  #hero .inner-content {
    height: 100%;
  }
  #hero .inner-content .logo {
    max-width: 80%;
  }
  #hero img.logo {
    max-width: 80%;
  }
  #hero .featured-box {
    display: none;
  }

  /* Nav */
  nav.hero-nav {
    top: 150px;
  }
  nav .wpml-ls-menu-item {
    margin-right: 12px;
  }
  nav #menu-principal {
    margin-top: 20px;
  }
  nav .dropdown-menu {
    background: transparent;
    border: none;
  }
  nav .dropdown-item {
    padding: 0;
  }

  /* Main */
  main .rmn-card {
    padding: 5%;
    margin: 0 5%;
  }

  main #page-fairs .rmn-card {
    margin: 0;
  }

  /* Footer */
  footer .top-footer h3 {
    margin-top: 40px;
  }

  footer .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  footer .container .footer-logo {
    margin-bottom: 30px;
  }

  footer .container .footer-logos {
    margin-top: 30px;
  }

/**
* Traceability
*/
  .owl-slide {
    height: auto;
  }

  .owl-slide .top .section-number {
    position: relative;
    left: 0;
    font-size: 20px;
    top: 0;
  }

  #origin .owl-slide .top,
  #origin .owl-slide .mid,
  #origin .owl-slide .bot {
    height: 300px !important;
  }

  #process .owl-slide .top,
  #process .owl-slide .mid,
  #process .owl-slide .bot {
    height: 200px !important;
  }

  #quality .owl-slide .top,
  #quality .owl-slide .mid,
  #quality .owl-slide .bot {
    height: 100px !important;
  }

  .owl-slide .top {
    margin-top: 100px;
  }

  .owl-slide .mid .continue-arrow {
    padding: 5px 0 10px;
  }

  .owl-slide .mid .continue-arrow img {
    max-width: 100px !important;
  }

  .owl-slide .mid .continue-arrow h2 {
    font-size: 20px !important;
  }

  .owl-slide .top div[class^="col"] {
    padding-right: 35px;
    padding-left: 35px;
  }

  .owl-slide .mid {
    margin-top: 30px;
  }

  .owl-slide .bot .py-2,
  .owl-slide .bot .pt-2,
  .owl-slide .bot .pb-2 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .continue-arrow {
    //display: none;
  }

  .js-previous-slide {
    left: 35px;
  }
  .js-next-slide {
    right: 35px;
  }

  /* Artickes */
  #articles-container {
    padding: 0 15px;
  }

  #articles-container .available-colors {
    padding-right: 0;
    margin-bottom: 60px;
  }

  #articles .article {
    width: 100% !important;
  }

  /* News/Ferias*/
  section#fairs div.col-12.d-flex {
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
  }
  section#fairs .card-news {
    width: 100%;
    margin-bottom: 20px;
  }
  section#fairs .card-news .card-news-body {
    position: relative;
  }
  section#fairs .card-news .card-news-body .read-more-link {
    bottom: 35px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {

}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {

}


@media only screen and (max-width: 767px) {
  .my-7 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .mt-7 {
    margin-top: 4rem !important;
  }
  .mb-7 {
    margin-bottom: 4rem !important;
  }
  #menu-principal,
  #menu-principal .dropdown-menu {
    text-align: right;
  }
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: white !important;
}

.hero-nav .wpml-ls-statics-shortcode_actions {
  padding: 0;
  border: none;
}

.hero-nav .wpml-ls-statics-shortcode_actions li {
  padding-right: 10px;
}
