/*
Theme Name: WP Bootstrap Starter Child
Theme URI: https://afterimagedesigns.com/wp-bootstrap-starter/
Template: wp-bootstrap-starter
Version: 3.1.0.1537285719
Updated: 2018-09-18 15:48:39

*/


* {
  margin: 0;
  padding: 0;
}

body {
  color: #525251;
}

/*Estilos de plantilla full-width*/
#berri-site-bg {
  background: white url(/wp-content/uploads/2018/12/b-motivo-soft.svg) no-repeat top left;
  background-attachment: fixed;
  background-size: 500px;
}

/*Menú*/
.navbar-light .navbar-toggler {
  color: #a79f88;
  border: none;
}

header#masthead {
  background-color: #262626 !important;
}

.navbar-brand {
  max-width: 20%;
}

.navbar {
  font-family: 'Arimo', sans-serif;
  padding-top: 1em;
  padding-bottom: 1em;
}

.navbar-light {
  color: #fff;
  background-color: #262626 !important;
  border-color: #aca1a2;
}

.navbar.navbar-light {
  margin-top: 18px;
}

.direcc {
  font-size: 0.9rem;
}

.navbar-light .navbar-nav>li>a {
  color: #a79f88 !important;
  text-transform: uppercase;
  font-weight: 500 !important;
  font-size: 0.8rem !important;
}

.navbar-light .navbar-nav>li>a:hover {
  color: #a79f88 !important;
  background-color: transparent !important;
  -webkit-box-shadow: inset 0px -2px 0px 0px #a79f88;
  -moz-box-shadow: inset 0px -2px 0px 0px #a79f88;
  box-shadow: inset 0px -2px 0px 0px #a79f88;
}

.navbar-light .navbar-nav>li>a:focus {
  color: #262626 !important;
  background-color: #a79f88 !important;

}

.navbar-light .navbar-nav>.dropdown>a .caret {
  border-top-color: #fff;
  border-bottom-color: #fff;
}

.navbar-light .navbar-brand {
  color: #fff;
}

.menu-large {
  position: static !important;
}

.megamenu {
  padding: 20px 20px;
  width: 100%;
}

.megamenu>div>li>ul {
  padding: 0;
  margin: 0;
}

.megamenu>div>li>ul>li {
  list-style: none;
}

.megamenu .card {
  outline: none;
}

.megamenu .card:hover,
.megamenu .card:focus {
  outline: 1px solid #000;
}

.megamenu>div>li>ul>li>a {
  display: block;
  padding: 5px 0;
  clear: both;
  font-weight: normal;
  line-height: 1.428571429;
  color: #333333;
  white-space: normal;
}

.megamenu>div>li>ul>li>a:hover,
.megamenu>div>li>ul>li>a:focus {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
}

.megamenu.disabled>a,
.megamenu.disabled>a:hover,
.megamenu.disabled>a:focus {
  color: #999999;
}

.megamenu.disabled>a:hover,
.megamenu.disabled>a:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  filter: progid: DXImageTransform.Microsoft.gradient(enabled=false);
  cursor: not-allowed;
}

.megamenu h4 {
  font-size: 1em;
}

.megamenu.dropdown-header {
  color: #428bca;
  font-size: 18px;
}

.dropdown-menu {
  margin: 0 !important;
  top: 98% !important;
  text-align: center;
  background-color: #eee !important;
}

.dropdown-item {
  margin-bottom: 0%;
}

.dropdown-item li {
  color: #A79F88;
}

#masthead .nav.navbar-nav {
  display: flex;
  justify-content: end;
}

/*Generales*/
#content.site-content {

  padding-top: 6rem !important;
}

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

a:hover {
  text-decoration: none;
  color: #5B5442;
}

h1,
h2,
h3,
h4 {
  font-family: 'Arimo', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #525251;
}

h4 {
  font-size: 1.3em;
  margin-bottom: 1.5em;
}

h1 {
  font-size: 1.6em !important;
  margin-bottom: 1.2em;
}

h3.berrih3 {
  font-size: 1.3em;
  display: table;
  white-space: nowrap;
}

h3.berrih3::after {
  border-top: 2px solid #A79F88;
  content: '';
  display: table-cell;
  position: relative;
  top: 0.6em;
  width: 100%;
}

h3.berrih3::after {
  left: 1.5%;
}

.btn-berri,
.btn-default,
.btn-primary {
  border-radius: 0 30px 30px 0 !important;
  border: 0 !important;
  padding: 0.7em 1em 0.7em 0.7em !important;
  margin: 1em 1em 1em 0 !important;
  text-transform: uppercase !important;
  font-size: 1em !important;
  font-weight: 700 !important;
  color: white !important;
  background-color: #A7821D !important;
  letter-spacing: 0.1em !important;
}

.btn-berri:hover,
.btn-default:hover,
.btn-primary:hover {
  color: #6B6553 !important;
  background-color: #F4D57E !important;
  border: 0 !important;
}

.btn-berri-2 {
  border-radius: 0 30px 30px 0 !important;
  border: 2px solid #6B6553 !important;
  padding: 0.7em !important;
  margin: 1em 1em 1em 0 !important;
  text-transform: uppercase !important;
  font-size: 1em !important;
  font-weight: 700 !important;
  color: #6B6553 !important;
  background-color: white !important;
  letter-spacing: 0.1em;
}

.btn-berri-2:hover {
  color: white !important;
  background-color: #5B5442 !important;
  border: 2px solid #5B5442 !important;
}

ul {
  padding-left: 25px;
}

ul ul {
  padding-left: 25px;
}

.berri-ul,
.berri-ul-blck {
  padding-bottom: 2rem;
  padding-left: 2rem;
  list-style: none;
}

.berri-ul li::before {
  content: "\2022";
  color: #525251;
  font-weight: bold;
  display: inline-block;
  width: 1rem;
  margin-left: -1rem;
}

.berri-ul-blck {
  color: #cccccc;
}

.berri-ul-blck li::before {
  content: "\2022";
  color: #a79f88;
  font-weight: bold;
  display: inline-block;
  width: 1rem;
  margin-left: -1rem;
}

.h4-sub,
.h4-sub-blck {
  font-size: 1rem;
  margin-top: 0;
}

.h4-sub-blck {
  color: #a79f88;
}

.berri-ul li,
.berri-ul-blck li {
  margin-bottom: .5rem;
}

/*Home*/
.page-template-home-inicio .site-content {
  padding-bottom: 0 !important;
}

/*Slider-alt*/
#slider-alt {
  padding: 0 !important;
}

.slider-alt-cont {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2em;
  z-index: 9;
  margin-top: 20%;
}

/*Home slider*/
.flex-nav-prev,
.flex-nav-next {
  display: none !important;
}

#home-slider {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.metaslider .flex-control-nav li a {
  padding: 8px !important;
}

.flex-control-paging li a {
  background: #666;
  background: rgba(0, 0, 0, .5);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, .3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, .3);
  border-radius: 20px;
}

.metaslider .flex-control-nav {
  bottom: -40px !important;
}

.metaslider .caption-wrap {
  bottom: 10% !important;
  left: 6% !important;
  background: rgba(0, 0, 0, 0.5) !important;
  color: white;
  opacity: 1 !important;
  margin: 0;
  width: 70% !important;
  line-height: 1em !important;
  padding: 2% !important;
}

.metaslider .caption-wrap h2 {
  color: white !important;
  font-size: 2.5em !important;
  margin-bottom: 0 !important;
}

.slider-txt {
  font-family: 'Playfair Display', serif;
  color: #A79F88;
  font-size: 2em;
  margin-bottom: 0.3em !important;
  line-height: 1.5em !important;
}

/*Home about*/
#home-about blockquote {
  font-family: 'Playfair Display', serif;
  color: #A79F88;
  font-size: 1.3em;
  padding: 1em 0 0.5em 1em;
  ;
  border-left: 2px solid;
  margin: 0 !important;
}

.about-black {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(83, 82, 81, 0.4)), url("/wp-content/uploads/2018/12/home-about-bg.jpg");

  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  background-color: #262626 !important;
  min-height: 650px;
}

.about-white {
  background-color: white;
  padding: 5% 20% 15% 20%;
}

.home-about-square {
  background-color: #262626 !important;
  height: 80%;
  width: 100%;
  position: relative;
  left: -50%;
  top: 10%;
  z-index: 70;
  padding: 4em 4em 2em 4em;
  -webkit-box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
  box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
}

/*Home stats*/

#home-stats {
  background: #262626 url(/wp-content/uploads/2018/12/b-motivo-gris.svg) no-repeat top left;
  background-attachment: fixed;
  background-size: 500px;
  min-height: 500px;
  -webkit-box-shadow: inset 0px 10px 10px -4px rgba(0, 0, 0, 0.49);
  -moz-box-shadow: inset 0px 10px 10px -4px rgba(0, 0, 0, 0.49);
  box-shadow: inset 0px 10px 10px -4px rgba(0, 0, 0, 0.49);
}

#home-stats h3 {
  color: #A79F88;
  margin-top: 20%;
}

#home-stats p {
  color: #A1A09E;
}

/*Donut Chart*/
@keyframes bake-pie {
  from {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}

.stat-chart {
  width: 400px;
  margin: 30px auto;
}

.chart-cont {
  position: absolute;
  top: 37%;
}

.pieID {
  display: inline-block;
  vertical-align: top;
}

.pie {
  height: 200px;
  width: 200px;
  position: relative;
  margin: 0 30px 30px 0;
}

.pie::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: 130px;
  height: 130px;
  background: #262626;
  border-radius: 50%;
  top: 35px;
  left: 35px;
}

.pie::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 3px 4px rgba(0, 0, 0, 0.1);
  margin: 220px auto;

}

.slice {
  position: absolute;
  width: 200px;
  height: 200px;
  clip: rect(0px, 200px, 200px, 100px);
  animation: bake-pie 1s;
}

.slice span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  clip: rect(0px, 200px, 200px, 100px);
}

.legend {
  list-style-type: none;
  padding: 0;
  margin: 5% 0 0 0;
  padding: 15px;
  font-size: 13px;
}

.legend li {
  width: 140px;
  height: 1.25em;
  margin-bottom: 0.7em;
  padding-left: 0.5em;
  border-left: 1.25em solid black;
  color: #A79F88;
  font-family: 'Playfair Display', serif;
  font-size: 1em;
}

.legend em {
  font-style: normal;
}

.legend span {
  float: right;
}

/*Barras animadas*/
.textbox {
  height: 700px;
}

.progress {
  margin-bottom: 10px;
}

.progress-bar {
  width: 0;
}

/*Home servicios*/
.servicios-black {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(83, 82, 81, 0.4)), url("/wp-content/uploads/2018/12/home-about-bg.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  background-color: #262626 !important;

  min-height: 700px;
}

.servicios-white {
  background-color: #a79f88;
  padding: 5% 3% 5% 3%;
}

.servicios-white p,
.servicios-white #caldera_form_1 label {
  color: #f5f5f5 !important;
}

.servicios-white #caldera_form_1 a {
  color: #333333 !important;
}

.home-servicios-img {
  margin-bottom: 10%;
}

.home-servicios-img:hover {
  transition: all .5s ease-in-out;
  filter: grayscale(50%) opacity(.8);
}

.serv-txt {
  min-height: 19em;
}

/*Img effects*/
.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  margin-bottom: 6%;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect:hover .overlay {
  background-color: rgba(255, 255, 255, 0.4);
}

.hovereffect h2,
.hovereffect img {
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect img {
  display: block;
  position: relative;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.hovereffect:hover img {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.hovereffect h2 {
  top: 40%;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 1em;
  padding: 1em 0.5em;
  background: rgba(0, 0, 0, 0.6);
}

.hovereffect a.info {
  display: inline-block;
  text-decoration: none;
  padding: 25% 10%;
  text-transform: uppercase;
  color: #A79F88;
  border: 2px solid #A79F88;
  background-color: transparent;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  font-weight: 700;
  max-height: 80%;
  width: 85%;
  position: absolute;
  top: 16%;
  left: 8%;
  font-size: 1em;
}

.hovereffect:hover a.info {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  background-color: rgba(0, 0, 0, 0.7);
}


/*PÁGINAS*/


/*Empresa*/
.empr-black {
  background-color: #262626 !important;
  width: 100%;
  position: relative;
  left: -56%;
  top: 25%;
  z-index: 70;
  padding: 0.5em 1.1em;
  -webkit-box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
  box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
}

.empr-black-img {
  border-radius: 50%;
  border: 5px solid #5B5442;
  width: 100%;
  margin: 1em;
}

.empr-degr {
  background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url(/wp-content/uploads/2018/12/berribide-empresa-fondo-1.jpg);
  background-attachment: initial;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 700px;
}

.empr-parallax {
  background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5)), url(/wp-content/uploads/2019/02/carpetas-berribidecorreduria-1000px2.jpg);
  background-attachment: fixed;
  background-position: right;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent !important;
  min-height: 700px;
}

.empr-txt-white {
  padding: 4em 16em 1em 4em;
}

.empr-txt-col {
  padding: 2em 1em !important;
}

.empr-img {
  padding: 1em;
}

/*RC*/

#rc-sanit-ventajas h4 {
  color: #a79f88;
  font-size: 1rem;
}

#rc-sanit-ventajas i {
  color: #a79f88;
  font-size: 3rem;
}

/*Contacto*/
.ul-ctcto {
  list-style: none;
  padding-left: 10px;
  border-left: #A79F88 2px solid;
}

.ul-ctcto li {
  font-size: 1.6em;
}

.ul-ctcto i {
  color: #525251;
  margin: 0.2em;
  font-size: 1.3em;
}

.ctcto-black {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(83, 82, 81, 0.4)), url("/wp-content/uploads/2018/12/home-about-bg.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 650px;
}

.ctcto-white {
  background: transparent;
  padding: 5% 30% 15% 5%;
}

.ctcto-square {
  background-color: #262626 !important;
  height: 70%;
  width: 170%;
  position: relative;
  left: -85%;
  top: 10%;
  z-index: 70;
  padding: 2em 1em 0em 2em;
  -webkit-box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
  box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
  max-width: 580px;
}

#CF5c0e2c4c667a3_1 label {
  color: #A1A09E !important;
}

/*Productos*/
.blackrow {
  background-color: #262626 !important;
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 1em;
  -webkit-box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
  box-shadow: 4px 4px 10px -1px rgba(0, 0, 0, 0.75);
}

.blackrow p {
  color: #cccccc;
}

.blackrow h3 {
  color: #a79f88;
}

.prod-img {
  margin-bottom: 2em;
}

.ul-dos-col {
  column-count: 2;
}

.ul-dos-col li {
  padding-right: 1.5rem;
}




/*Footer*/
#search-3 {
  display: flex;
  justify-content: center;
}

#footer-widget {
  background-color: #262626 !important;
  padding: 2% 0 1% 0;
  background: #262626 url(/wp-content/uploads/2018/12/b-motivo-gris-footer.svg) no-repeat bottom right;
  background-attachment: fixed;
  background-size: 500px;

  -webkit-box-shadow: inset 0px 10px 10px -4px rgba(0, 0, 0, 0.49);
  -moz-box-shadow: inset 0px 10px 10px -4px rgba(0, 0, 0, 0.49);
  box-shadow: inset 0px 10px 10px -4px rgba(0, 0, 0, 0.49);
}

#footer-widget img {
  max-width: 60%;
}

.ul-footer {
  list-style: none;
  text-align: center;
  font-size: 1em !important;
  line-height: 1.7em;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-transform: uppercase;
}

#colophon {
  background-color: #333333 !important;
  color: #A1A09E !important;
}

.cn-button {
  font-size: 0.7rem !important;
  padding: .2em 1em .2em .1em !important;
}


/*Mediaqueries*/

@media (min-width:768px) {
  #slider-alt {
    display: none !important;
  }

  .ul-dos-col {
    column-count: 3 !important;
  }

  .navbar.navbar-light {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .megamenu {
    margin-left: 0;
    margin-right: 0;
  }

  .megamenu>li {
    margin-bottom: 30px;
  }

  .megamenu>li:last-child {
    margin-bottom: 0;
  }

  .megamenu.dropdown-header {
    padding: 3px 15px !important;
  }

  .navbar-nav .open .dropdown-menu .dropdown-header {
    color: #fff;
  }

  .servicios-black {
    display: none !important;
  }

  .servicios-white {
    padding: 5% 30px 15% 30px;
  }

  .home-about-square {
    left: 0 !important;
    top: 10% !important;
    font-size: 1.2em;
    padding: 3em;
  }

  #footer-widget img {
    margin: 3% 0 10% 0;
  }

  #home-slider {
    display: none !important;
  }

  .about-white {
    background-color: white;
    padding: 5% 30px 15% 30px;
  }

  .stat-chart {
    display: none !important;
  }

  .hovereffect h2 {

    font-size: 2.1em;
    padding: 1.5em 1em;
    background: rgba(0, 0, 0, 0.6);
  }

  #home-stats {
    min-height: 400px;
  }

  .dropdown-menu {
    text-align: left;
  }

  .dropdown-item {
    margin-bottom: 0;
    margin-left: 4%;
  }

  .ctcto-black {
    background: transparent;
    max-height: 500px;
  }

  .ctcto-square {
    display: block;
    position: initial;
    width: 100% !important;
    height: 90%;
  }

  .navbar-brand {
    max-width: 30%;
  }

  #search-3 {
    padding-top: 3em;
  }
}

@media (max-width: 991px) {
  .menu-img {
    display: none !important;
  }

  .slider-txt {
    display: none !important;
  }

  .empr-txt-white {
    padding: 4em 2em 4em 2em;
  }

  .empr-black {
    position: initial;
    background: none;
    background-color: transparent !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }

  .empr-black-img {
    width: 70%;
  }

  .empr-parallax {
    background: none;
    min-height: 0 !important;
  }

  .serv-txt {
    min-height: 5em;
  }
}

@media screen and (max-width: 1199px) {
  .navbar-nav .dropdown-menu {
    background: white !important;

  }

  .megamenu h4 {
    font-size: 0.8em;
    line-height: 1.5em;
  }
}

@media (min-width: 991px) and (max-width: 1610px) {
  .serv-txt {
    min-height: 24em;
  }
}