@import url("https://fonts.googleapis.com/css?family=Ubuntu");

:root {
    --esme-light: #73D2C9;
    --esme: #00AE9D;
    --esme-dark: #007b6f;
    --gris: #858689;
    --gris-dark: #6D6E70;
}

body {
    font-family: "Ubuntu", sans-serif;
    color: #333;
    border-top: 8px solid var(--primary);
    height: 100%;
    min-height: 100%;
}

h1,h2,h3,h4,h5 {
    font-family: 'Systopie', sans-serif;
}

a.categoria {
    text-decoration: none;
}

.producto a{
    text-decoration: none;
}

.text-section p {
    line-height: 2rem;
}

.navbar {
    /* background: var(--gray); */
    padding: 0;
    margin-bottom: 0;
    z-index: 999;
}

.navbar .nav-item {
    text-align: center;
}

.navbar .nav-item .nav-link{
    padding: .8rem 1.5rem;
    position: relative;
    color: var(--gray);
}

.nav-item:not(.active):hover .nav-link {
    background: var(--gray);
    color: #eee;
}

.navbar .nav-item.active .nav-link {
    background: var(--primary);
    color: #fff;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown-menu {
    /* background: var(--light); */
    border-radius: 0;
    margin: 0;
    border: 0;
    padding: 0;
    left: 0;
    transform: translateX(0);
    font-size: inherit!important;
}

.dropdown-item {
    text-align: center;
    color: var(--gray);
    padding: .8rem 1.5rem;
    text-transform: uppercase;
}

.dropdown-item:hover {
    color: #fff;
    background: var(--gray);
}

.dropdown-item.active {
    color: #fff;
    background: var(--primary);
}

.logo {
    background-image: url("../images/petronca.png");
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    height: 0;
    padding-bottom: 42%;
    display: block;
}

#slider .swiper-container {
    width: 100%;
    min-height: auto;
    height: auto;
}

#slider .swiper-slide {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#slider .swiper-pagination {
    bottom: 15px;
}

#slider .swiper-pagination .swiper-pagination-bullet {
    width: 1rem;
    height: 1rem;
    margin: 0 .5rem;
    border-radius: 0;
}

#slider .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
}

.bg-cogs {
    background-image: url("../images/cogs.png");
    background-repeat: repeat;
    background-position: top left;
}

a.categoria{
    color: #000;
}

header li {
    font-size: small;
}

@media (min-width:992px){
    .dropdown-menu{
        left: 50%;
        transform: translateX(-50%);
    }
    .card-columns {
        column-count: 4 !important;
    }
    header li {
        font-size: unset;
    }
}

@media (min-width:1200px) {
    .card-columns {
        column-count: 5 !important;
    }

    #slider .swiper-container {
        min-height: 400px;
    }
}

.card-columns {
    column-count: 2;
}

.producto a {
    -webkit-transition: all .6s ease-in-out;
    -moz-transition: all .6s ease-in-out;
    -o-transition: all .6s ease-in-out;
    transition: all .6s ease-in-out;
    box-shadow: 0;
    overflow: hidden;
}

.producto a:hover {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.producto .badges {
    top: 5%;
    left: 5%;
    z-index: 9;
}

.producto a .badge {
    float: left;
    clear: both;
    margin-bottom: .25rem;
}

.producto-slide .swiper-slide {
    height: 400px;
}

a[data-toggle="lightbox"]{
    cursor:zoom-in;
}

.ekko-lightbox button.close {
    position:fixed;
    right: 10px;
    top: 10px;
    background: #fff;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    opacity: 1;
    z-index: 999;
    color: var(--esme);
}

.ekko-lightbox-nav-overlay a {
    opacity: .6;
    color: var(--esme) !important;
}

.placeholder{
    height: 0;
    width: 100%;
    padding-top: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: block;
}

.producto-slide .swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23691b67'%2F%3E%3C%2Fsvg%3E");
}

.producto-slide .swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23691b67'%2F%3E%3C%2Fsvg%3E")
}

.producto-slide .swiper-pagination-bullet-active {
    background: #691b67;
}

.back-top {
    background: #333;
    margin: 0;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    z-index: 999;
    display: none;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    text-align: center;
}

.back-top:hover{
    background: #00AE9D;
    transition: all ease-in-out .3s;
}

.back-top i{
    line-height: 50px;
    font-size: 2rem;
}

@media (min-width:768px){
    .back-top {
        bottom: 22px;
        right: 3rem;
    }
}

.display-4 {
    font-size: 10vmin !important;
}

@media (max-width:768px){
    h2.bg-primary {
        padding-top: 1rem !important;
    }
}

footer a {
    color: #dee2e6 !important;
}

footer a:hover {
    color: #eee !important;
}

@media(max-width:768px){
    #contacto h5{
        font-size: 100% !important;
    }
}

.wait {
    position: fixed;
    z-index: 9999;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .8);
    display: none;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.spinner {
    margin: 0 auto;
    width: 70px;
    text-align: center;
}

.spinner>div {
    width: 18px;
    height: 18px;
    background-color: #333;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

.ficha-tecnica .table {
    text-align: center !important;
}

.ficha-tecnica .table tr td:first-of-type {
    text-align: left !important;
}

.compatibles p {
    margin: 0 !important;
}

.text-facebook {
    color: #1876f2;
}

.text-instagram {
    color: #DD2A7B;
}

.text-whatsapp {
    color: #25d366;
}

.seguridad {
    position: absolute;
    display: block;
    background-image: url("../images/maxima-seguridad.png");
    background-size: contain;
    background-repeat: no-repeat;
    height: 175px;
    width: 175px;
    right: 15px;
    bottom: 30px;
    z-index: 999;
}

@media (min-width:768px){
    .seguridad {
        height: 250px;
        width: 250px;
        right: 50px;
        bottom: 60px;
    }
}
@media (min-width:992px){
    .seguridad {
        height: 200px;
        width: 200px;
        right: 0px;
        bottom: 0px;
    }
}
@media (min-width:1200px){
    .seguridad {
        right: 15px;
        bottom: 30px;
    }
}

.whatsapp {
  z-index: 999;
  position: fixed;
  right: 50%;
  bottom: 5rem;
  height: 4rem;
  width: 16rem;
  display: block;
  overflow: hidden;
  transform: translateX(50%);
}

.whatsapp-logo {
  display: block;
  position: absolute;
  height: 4rem;
  width: 25%;
  right: 0;
  z-index: 999;
}

.whatsapp-chat {
  display: block;
  position: absolute;
  height: 4rem;
  width: 100%;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 99;
  overflow: hidden;
}

@media (min-width: 768px) {
  .whatsapp {
    right: 3rem;
    bottom: 6rem;
    transform: translateX(0);
  }
}

.rounded-pill {
    border-radius: 50rem!important;
}