@media screen and ( max-width: 600px ){

    li.page-item {

        display: none;
    }

    .page-item:first-child,
    .page-item:nth-child( 1 ),
    .page-item:nth-child( 2 ),
    .page-item:nth-child( 3 ),
    .page-item:nth-last-child(3),
    .page-item:nth-last-child(2),
    .page-item:last-child,
    .page-item.active,
    .page-item.disabled {

        display: block;
    }
}
.hea {
    background-size: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;

}


/*
.bg-dark {
    background-color: rgb(94, 94, 94) !important;
}
*/
.brands {
    background-color: white;
}
.swiper-containerp {
    width: 70%;
    height: 100%;
}

.swiper-slidep {
    text-align: center;
    font-size: 18px;
    background: white;
    /* Center slide text vertically */
    /*
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;*/
}

.agenciesTitle {
    padding-right: 70px;
}
.agenciestitle span {
    border-bottom: 1px solid black;
}

.modal-content {
 
    width:95% !important;
    margin-left: 2.5%;
  }

.modal-header {

background-color: rgb(94,94,94);

padding:16px 16px;

color:#FFF;

border-bottom:2px solid #c49b63;

}

.modal-footer {
    padding: 6px;
}


.modal-body {
    padding: 0;
}


.product-card {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/*
.modal {
    /*
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
  /*  
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    
}


.modal-content{
    width: 750px !important;
    height: 600px;
}

.modal-footer {
    height: 50px;
}

.modal-body {
    height: 1000px !important;
}

.modal-header {
    height: 50px;
}
*/
/*

.intersted {
    background-color: #c49b63 !important;
 
    border: 0;
    box-shadow: 0 !important;

}
*/

/*
.modal-buttons:hover {
    background-color: #c49b63 !important;
}*/
.order-now:hover {
    color: #c49b63;
}
.interested {
    background-color: #c49b63 !important;
    border: 1px solid #c49b63;
    outline: 0 !important;
}
.interested:hover {
    border-color: #c49b63;
    box-shadow: 0 !important;
    outline: 0 !important;
}

.company-logo {
    width: 105px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: gainsboro;
    height: 105px;

}
#venus {
    background-image: url('../img/venus-logo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;

}
#venus2 {
    background-image: url('../img/venus2-logo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
}
.swiper-slidep img {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: contain;
    /*border-radius: 50%;*/
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.swiper-slidep p {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(49, 49, 49);
    cursor: pointer;
}

.swiper-slidep img:hover + .swiper-slidep p{
    color: #c49b63 !important;
    background-color: red !important ;
    border-radius: 0%;
}


.swiper-button-nextp, .swiper-button-prevp {
    color: gray;
    --swiper-navigation-size: 0px;
}
.swiper-button-nextp {
    margin-right: 10px;
}
.swiper-button-prevp {
    margin-left: 10px;
}


.product-brand {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: left;
    justify-content: left;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.product-brand span {
    font-size: 26px;
}
.product-categories {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.product-categories button {
    margin-left: 10px;
}
.product-categories button:focus {
    color: #c49b63;
    outline: none;
    box-shadow: none !important;
    border-color: #c49b63;

}

.product-image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.product-desc {
    background-color: gainsboro;
}

.product-desc h3, .product-desc small {
    color: rgb(60, 60, 65);
    font-size: 26px;
}

.product-desc p {
    font-size: 18px;
    color: rgb(49, 49, 49);
}

.product-desc small {
    font-size: larger;
}

.psm {
    font-weight: bold;
}

.page-link {
    color: #c49b63;
}
.page-link:hover {
    color: #c49b63;
    background-color: rgba(0, 0, 0, 0.8);
}

.page-item.active .page-link {
    background-color: rgba(0, 0, 0, 0.8) !important;
    border-color: gray;
    color: #c49b63;
}
.page-item.active {
    padding: 0;
}



.offers {
    background-color: rgb(49, 49, 49);
}
.product-card {
    border: 0;
    background-color: gainsboro;
    width: 100%;
    margin: 0;
}
.product-card .card-img-top {
    /*width: 540px;*/
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-image: url('../img/mammi-product1.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;

}
/*
.card-body {
    padding-top: 25px;
    padding-bottom: 5px;
    background-color: white;
}
*/


@media (min-width: 1000px) {
    .product-modal-card-body {
        position: relative;
        transform: translateY(40%);
    }

    .modal-content {
        margin-right: 20px;
    }
}



#prevVideo, #nextVideo {
    color: #c49b63;
}

.videowrapper {
    height: 500px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .hea {
        /* height: 180px !important;
        background-size: 170%;
        background-position-x: -150px; */
        background-size: cover;
        background-position: right;
        
        
    }
    .videowrapper {
        height: auto !important;
    }
    
    .swiper-containerp {
        width: 100%;
        height: 90%;
        margin-bottom: 50px;
    }
    .swiper-slidep p{
        font-size: 14px !important;
    }
    .swiper-button-nextp img {
        width: 30px !important;
        height: 85px !important;
        margin-left: 15px !important;
    }
    .swiper-button-prevp img {
        width: 30px !important;
        height: 85px !important;
        margin-right: 15px !important;
    }
    .swiper-containerp p{
        color: black;
    }
    .agenciesTitle {
        padding-left: 0;
    }

    
    .company-logo {
        width: 90px;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        border-radius: 50%;
        background-color: gainsboro;
        height: 90px;

    }

    .swiper-slidep img {
        display: block;
        width: 80px;
        height: 80px;
        object-fit: contain;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        cursor: pointer;
    }
    .product-brand img {
        width: 25% !important;
    }
    .product-brand {
        
        padding-right: 10%;
        margin-bottom: 25px;
    }
    .product-brand span {
        padding-right: 3px;
        font-size: 23px;
    }

    

    .product-categories {
        overflow-x: scroll;
    }   

    .modal-content {
        margin-right: 8px;
    }
    .ppagination .pagination {
        padding-right: 0;
    }

    .offers h2 {
        font-size: 28px !important;
        font-weight: normal !important;
    }

    .vidT {
        font-size: 28px !important;
    }

    #adsText {
        font-size: 15px !important;
    }




    .swiper-containerp {
        position: relative;
        bottom: 10px;
        
    }
}

.videowrapper iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 500px) {
    .agenciesTitle {
        padding-right: 0px;
    }
    
}


/******************************
          Ads Swiper
******************************/
.brands {
    padding: 0 !important;
}


.product-modal-card-body .card-title {
    font-size: 22px;
}

.card-text p, .card-text p span {
    font-size: 17px !important;
    line-height: 1.4;
}
.text-muted p span {
    font-size: 15px !important;
    line-height: 1.4;
}












.swiper-containero {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.swiper-slideo {
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slideo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.close {
    float: left;
}


.product-image:hover {
    transition: all .8s;
    transform: scale(0.93);
}




.vidwrapper.ended iframe, .vidwrapper.paused iframe { visibility: hidden !important; }
.ytp-endscreen-content {
    display: none !important;
}







#section04 a span {
    position: absolute;
    top: 88%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb04 2s infinite;
    animation: sdb04 2s infinite;
    box-sizing: border-box;
  }
  
  @media (max-width: 768px) {
      #section04 a span {
          position: absolute;
          top: 88%;
          left: 10%;
          width: 24px;
          height: 24px;
          margin-left: -12px;
          border-left: 1px solid #fff;
          border-bottom: 1px solid #fff;
          -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
          -webkit-animation: sdb04 2s infinite;
          animation: sdb04 2s infinite;
          box-sizing: border-box;
      }
      .p1 {
          order: 2;
      }
      .p2 {
          order: 1;
      }
  }
  
  @-webkit-keyframes sdb04 {
    0% {
      -webkit-transform: rotate(-45deg) translate(0, 0);
    }
    20% {
      -webkit-transform: rotate(-45deg) translate(-10px, 10px);
    }
    40% {
      -webkit-transform: rotate(-45deg) translate(0, 0);
    }
  }
  @keyframes sdb04 {
    0% {
      transform: rotate(-45deg) translate(0, 0);
    }
    20% {
      transform: rotate(-45deg) translate(-10px, 10px);
    }
    40% {
      transform: rotate(-45deg) translate(0, 0);
    }
  }
  
  
  