/*
=====================================================================

   a. Common Styles
   b. Intro Section - Main Page
   c. Brands Section - Main Page
   d. Info Section - Main Page
   e. Img Section - Main Page
   f. Form Section - Main Page
   g. Footer
   h. Brand and Product pages
   i. Animation

===================================================================== */

/* ------------------------------------------------------------------ */

/* a. Common Styles
/* ------------------------------------------------------------------ */

html {
  height: 100%;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 0;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  position: relative;
  margin: 0;
  background: #F3F3F3;
  text-align: justify;
  min-height: 100%;
  font-weight: 700;
}

.aviso-legal {
  color: #3D4145;
  font-weight: 300;
}

.aviso-legal h5 {
  font-weight: 700;
}

.display-block {
  display: block;
  visibility: visible;
  opacity: 1;
  animation: fade 2s;
}

strong {
  font-weight: 700;
}

/* breadcrumb */

.breadcrumb {
  margin-bottom: 24px;
}

.breadcrumb a {
  color: #3D4145;
}

.breadcrumb a:hover {
  color: #9CBD08;
  text-decoration: none !important;
}

ul.breadcrumb {
  outline-style: none;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
  display: block;
  padding: 0.75rem;
  background: #fff;
}

ul.breadcrumb li {
  display: inline-block;
  font-weight: 700;
}

ul.breadcrumb li.is-active {
  color: #000000;
  font-weight: 700;
}

ul.breadcrumb>li+li:before {
  padding: 0 5px;
  color: #000000;
  content: "/\00a0";
}

ul.breadcrumb li a:hover {
  text-decoration: underline;
}

/* button contact */

.button-contact {
  position: fixed;
  width: 50px;
  top: -10px;
  left: 50px;
  z-index: 2000;
}

.button-contact .button {
  background: #605DEA;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
  padding: 15px 20px 10px 20px;
  border-radius: 0px 0px 6px 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 5px;
  transition: all .3s;
  -webkit-transition: all .3s;
}

.button-contact .button:hover {
  background: #D4DADA;
  color: #3D4145;
}

/* ------------------------------------------------------------------ */

/* b. Intro Section - Main Page
/* ------------------------------------------------------------------ */

#intro {
  background: url(../images/header.jpg);
  height: 490px;
  text-align: center;
}

#intro .row {
  max-width: 50%;
  padding-top: 7%;
}

.intro-text {
  color: #FFFFFF;
}

/*.intro-text a {
  color: #3D4145;
  font-weight: 700;
}*/

.intro-text p {
  font: 17px sans-serif;
  font-weight: 700;
}

/* ------------------------------------------------------------------ */

/* c. Brands Section - Main Page
/* ------------------------------------------------------------------ */

#brands {
  background: #3D4145;
  padding-top: 84px;
  padding-bottom: 84px;
}

#brands .row {
  max-width: 100%;
}

#brands h1 {
  font: 34px sans-serif;
  color: #FFFFFF;
  margin-bottom: 36px;
}

#brands h1 span {
  color: #9CBD08;
}

/* Portfolio */

#brands .square {
  background: #FFFFFF;
  height: 228px;
  width: 228px;
  transition: all .3s;
  -webkit-transition: all .3s;
  box-shadow: 0 0 20px 0 rgb(156, 189, 8, 0.2), 0 5px 5px 0 rgba(156, 189, 8, 0.24);
  margin: auto;
  margin-bottom: 20px;
}

#brands .square .text {
  color: #FFFFFF;
  opacity: 1;
  text-align: center;
  padding-top: 60px;
  transition: all .3s;
  -webkit-transition: all .3s;
}

/* Portfolio Overlay */

#brands .square .text-overlay {
  color: #3D4145;
  opacity: 0;
  text-align: center;
  padding-top: 0px;
  transition: all .3s;
  -webkit-transition: all .3s;
}

/* Portfolio Hover */

#brands .square:hover {
  box-shadow: 5px 5px rgb(156, 189, 8, 1);
}

#brands .square:hover .text-overlay {
  padding-top: 0px;
  opacity: 1;
}

#brands .square:hover .text {
  padding-top: 30px;
}

/* ------------------------------------------------------------------ */

/* d. Info Section - Main Page
/* ------------------------------------------------------------------ */

#info {
  background: #F3F3F3;
  padding-top: 60px;
  padding-bottom: 22px;
  padding-left: 20px;
  padding-right: 20px;
}

#info .row {
  max-width: 60%;
}

#info h1 {
  font: 34px sans-serif;
  color: #3D4145;
  margin-bottom: 36px;
}

#info h1 span {
  color: #9CBD08;
  margin-bottom: 36px;
}

#info p {
  color: #3D4145;
  font-size: 17px;
}

#info li {
  margin-left: 20px;
  list-style-type: square;
  color: #3D4145;
  text-align: left;
}

#info img {
  -webkit-filter: grayscale(100%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  transition: all .3s;
  -webkit-transition: all .3s;
}

#info img:hover {
  -webkit-filter: grayscale(0%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
  transform: scale(1.20);
}

.text-engine {
  font-weight: 700;
}

/* ------------------------------------------------------------------ */

/* e. Services Section - Main Page
/* ------------------------------------------------------------------ */

#services {
  background: #0738C5;
  padding-top: 60px;
  padding-bottom: 40px;
}

#services h1 {
  margin-bottom: 40px;
  color: #3D4145;
  font-weight: normal;
}

#services .row {
  max-width: 80%;
}

#services i {
  color: #F3F3F3;
  transition: color .2s;
}

#services i:hover {
  color: #3D4145;
}

#services p {
  color: #F3F3F3;
  font-weight: 700;
  font-size: 25px;
  margin-top: 20px;
}

/* ------------------------------------------------------------------ */

/* f. Form Section - Main Page
/* ------------------------------------------------------------------ */

#form {
  background: #3D4145 url(../images/img-section.png) no-repeat;
  padding-top: 48px;
  padding-bottom: 48px;
}

#form .row {
  max-width: 60%;
}

#form h1 {
  font: 34px sans-serif;
  color: #FFFFFF;
  margin-bottom: 36px;
}

#form h1 span {
  color: #9CBD08;
}

#form h5 {
  color: #F3F3F3;
}

#form p {
  font-size: 14px;
  text-align: justify;
  color: #F3F3F3;
  font-weight: 300;
}

.form a:hover {
  color: #3D4145;
}

.form {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  width: 100%;
  padding: 10px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.form input,
textarea {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f3f3f3;
  border: 0;
  margin: 0 0 15px;
  box-sizing: border-box;
  font-size: 14px;
}

.form button {
  margin-top: 10px;
  width: 100%;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  outline: 0;
  background: #9CBD08;
  border: 0;
  color: #FFFFFF;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}

.form button:hover,
.form button:active,
.form button:focus {
  background: #3D4145;
}

.well {
  color: #9CBD08;
  font-weight: 700;
  min-height: 20px;
  padding: 19px;
  margin-top: 10px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

.no-display-form {
  display: none !important;
}

/* ------------------------------------------------------------------ */

/* g. Footer
/* ------------------------------------------------------------------ */

footer {
  background: #3D4145;
  color: #FFFFFF;
  padding-top: 10px;
  padding-bottom: 50px;
  font-size: 14px;
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
}

footer .row {
  max-width: 90%;
}

footer h3 {
  font-size: 20px;
  color: #FFFFFF;
  text-align: left;
  font-weight: 500;
}

footer p {
  text-align: justify;
}

footer li {
  text-align: left;
  margin-bottom: 5px;
}

footer img {
  max-width: 100%;
}

footer a:visited {
  color: #F3F3F3;
}

footer a:hover {
  color: #9CBD08;
}

footer .copyright a {
  color: #ED6F01;
}

footer .copyright a:hover {
  color: #F3F3F3;
}

footer .copyright a:visited {
  color: #ED6F01;
}

/* copyright */

footer .copyright {
  margin: 0;
  padding: 30px 0 0 0;
  text-align: center;
  font-size: 14px;
}

footer .copyright li {
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 24px;
}

footer .copyright li:before {
  content: "|";
  padding-left: 10px;
  padding-right: 12px;
  color: #B4BBBB;
}

footer .copyright li:first-child:before {
  display: none;
}

/* Go To Top Button */

#go-top {
  position: fixed;
  bottom: 0;
  right: 25px;
  display: none;
  z-index: 999;
}

#go-top a {
  text-decoration: none;
  border: 0 none;
  display: block;
  width: 60px;
  height: 40px;
  background: url(../images/go-to-top.png) no-repeat 50% 50%;
  background-color: #9CBD08;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border-radius: 3px 3px 0 0;
  text-shadow: none;
  color: transparent;
}

#go-top a:hover {
  background-color: #1f2024;
}

/* ------------------------------------------------------------------ */

/* h. Brand and Product pages
/* ------------------------------------------------------------------ */

blockquote {
  font-size: 1.1em;
  width: 100%;
  text-align: justify;
  margin: auto;
  margin-top: 30px;
  font-style: italic;
  color: #F3F3F3;
  padding: 1.2em 30px 1.2em 75px;
  border-left: 8px solid #F3F3F3;
  line-height: 1.6;
  position: relative;
  background: #9CBD08;
}

blockquote::before {
  font-family: Arial;
  content: "\201C";
  color: #F3F3F3;
  font-size: 4em;
  position: absolute;
  left: 10px;
  top: -10px;
}

blockquote::after {
  content: '';
}

/* page title */

#page-title {
  background: url(../images/img-page-title.jpg);
  background-position: bottom;
  padding-top: 42px;
  padding-bottom: 54px;
}

#page-title .row {
  max-width: 80%;
}

#page-title p {
  font: 17px sans-serif;
  text-align: left;
  padding: 0;
  margin: 12px 5% 0;
  color: #FFFFFF;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, .3);
}

/* page content */

#page-content {
  padding-top: 34px;
  margin: 0 auto;
}

#product h2 {
  text-align: left;
}

/* page */

.content-outer {
  background: #F3F3F3;
  height: 100%;
}

/* sidebar */

#sidebar {
  margin-top: 10px;
}

#sidebar h5 {
  font-size: 16px;
  color: #3D4145;
  text-align: center;
}

#sidebar p {
  font-size: 14px;
  text-align: justify;
  color: #3D4145;
  font-weight: 300;
}

/* cards */

.card {
  background-color: #FFFFFF;
  margin-bottom: 50px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.card-title { 
  margin-left: 5px;
  color: #3D4145;
  font-weight: 700;
  text-align: left;
}

.card-buttons {
  padding: 10px;
}

.card-buttons .button {
  padding: 6px 12px;
}

.quick-view {
  display: none;
  opacity: 0;
}

.card:hover .quick-view {
  opacity: 1;
  display: block;
  -webkit-animation: fade .5s;
  animation: fade .5s;
}

.card img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: all .3s;
  -webkit-transition: all .3s;
}

.card:hover img {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

/* modal */

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal h3 {
  text-align: center;
  margin-bottom: 20px;
}

.modal-content {
  background-color: #fefefe;
  margin: 12% auto;
  padding: 20px;
  width: 40%;
  box-shadow: 1px 1px 4px #9CBD08;
  text-align: center;
}

.modal-content .button {
  text-align: center;
}

.modal table {
  margin-bottom: 0;
}

.slider-modal #slide1:checked~.slider-prev-next-control label:nth-child(2)::after,
#slide2:checked~.slider-prev-next-control label:nth-child(3)::after,
#slide3:checked~.slider-prev-next-control label:nth-child(4)::after,
#slide4:checked~.slider-prev-next-control label:nth-child(5)::after,
#slide5:checked~.slider-prev-next-control label:nth-child(1)::after,
#slide2:checked~.slider-prev-next-control label:nth-child(1)::after,
#slide3:checked~.slider-prev-next-control label:nth-child(2)::after,
#slide4:checked~.slider-prev-next-control label:nth-child(3)::after,
#slide5:checked~.slider-prev-next-control label:nth-child(4)::after,
#slide1:checked~.slider-prev-next-control label:nth-child(5)::after {
  margin-right: 10px !important;
  font-size: 2em !important;
}

/* tab */

.tab {
  overflow: hidden;
  border: 0.1px solid #9CBD08;
  margin-bottom: 20px;
  background-color: #9CBD08;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.tab button {
  background-color: inherit;
  float: left;
  border-radius: 0;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  color: #3D4145;
  font-weight: 700;
}

.tab button:hover {
  background-color: #3D4145;
  color: #FFFFFF;
}

.tab button.active {
  background-color: #3D4145;
  color: #FFFFFF;
}

.tabcontent {
  display: none;
  padding: 6px 12px;
}

#descripcion {
  display: block;
}

/* table */

tr {
  border-bottom: 1px solid #3D4145;
  background-color: #FFFFFF;
}

tr:hover {
  background-color: #F3F3F3;
}

.first-td {
  width: 30%;
  border-right: 1px solid #3D4145;
  text-align: center;
  padding-top: 5px;
}

.second-td {
  width: 70%;
  padding-left: 20px;
  text-align: left;
  font-weight: 300;
}

table {
  height: 374px;
  width: 100%;
  margin-bottom: 40px;
  border: 1px solid #3D4145;
  color: #000000;
  font-weight: 700;
}

#consult {
  color: #000;
  cursor: pointer;
  text-decoration: underline;
}

/* slider */

.wrapper {
  max-width: 60em;
  margin: 1em auto;
  position: relative;
}

input {
  display: none;
}

.inner {
  width: 500%;
  line-height: 0;
}

article {
  width: 20%;
  float: left;
  position: relative;
}

article img {
  width: 100%;
}

/*---- SET UP CONTROL ----*/

.slider-prev-next-control {
  height: 50px;
  position: absolute;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.slider-prev-next-control label {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.7;
}

.slider-prev-next-control label:hover {
  opacity: 1;
}

.slider-dot-control {
  position: absolute;
  width: 100%;
  bottom: 0;
  text-align: center;
}

.slider-dot-control label {
  cursor: pointer;
  border-radius: 5px;
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #bbb;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.slider-dot-control label:hover {
  background: #ccc;
  border-color: #777;
}

/* Slider Styling */

.slider-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 1px 1px 4px #666;
  background: #fff;
  background: #fcfff4;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

.slider-wrapper .inner {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  -moz-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
}

/*---- SET POSITION FOR SLIDE ----*/

#slide1:checked~.slider-prev-next-control label:nth-child(2),
#slide2:checked~.slider-prev-next-control label:nth-child(3),
#slide3:checked~.slider-prev-next-control label:nth-child(4),
#slide4:checked~.slider-prev-next-control label:nth-child(5),
#slide5:checked~.slider-prev-next-control label:nth-child(1) {
  display: block;
  float: right;
  margin-right: 5px;
  cursor: pointer;
}

#slide2:checked~.slider-prev-next-control label:nth-child(1),
#slide3:checked~.slider-prev-next-control label:nth-child(2),
#slide4:checked~.slider-prev-next-control label:nth-child(3),
#slide5:checked~.slider-prev-next-control label:nth-child(4),
#slide1:checked~.slider-prev-next-control label:nth-child(5) {
  display: block;
  float: left;
  margin-left: 5px;
  cursor: pointer;
}

#slide2:checked~.slider-prev-next-control label:nth-child(1)::after,
#slide3:checked~.slider-prev-next-control label:nth-child(2)::after,
#slide4:checked~.slider-prev-next-control label:nth-child(3)::after,
#slide5:checked~.slider-prev-next-control label:nth-child(4)::after,
#slide1:checked~.slider-prev-next-control label:nth-child(5)::after {
  padding-left: 12px;
}

#slide1:checked~.slider-dot-control label:nth-child(1),
#slide2:checked~.slider-dot-control label:nth-child(2),
#slide3:checked~.slider-dot-control label:nth-child(3),
#slide4:checked~.slider-dot-control label:nth-child(4),
#slide5:checked~.slider-dot-control label:nth-child(5) {
  background: #333;
}

#slide1:checked~.slider-wrapper article:nth-child(1) .info,
#slide2:checked~.slider-wrapper article:nth-child(2) .info,
#slide3:checked~.slider-wrapper article:nth-child(3) .info,
#slide4:checked~.slider-wrapper article:nth-child(4) .info,
#slide5:checked~.slider-wrapper article:nth-child(5) .info {
  opacity: 1;
}

#slide1:checked~.slider-wrapper .inner {
  margin-left: 0%;
}

#slide2:checked~.slider-wrapper .inner {
  margin-left: -100%;
}

#slide3:checked~.slider-wrapper .inner {
  margin-left: -200%;
}

#slide4:checked~.slider-wrapper .inner {
  margin-left: -300%;
}

#slide5:checked~.slider-wrapper .inner {
  margin-left: -400%;
}

/* ------------------------------------------------------------------ */

/* i. Animation
/* ------------------------------------------------------------------ */

@-webkit-keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}