/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: var(--bs-primary);
}

.icon-box-light::before {
    background: var(--bs-light);
}


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
    white-space: nowrap;
}

.navbar .navbar-nav .nav-link-last {
    margin-right: 0;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .body-home {
        padding-top: 76px;
    }

    .navbar-home {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }

    .logo {
        height: 50px;
    }
}

@media (min-width: 992px) {
    .sticky-top {
        margin-top: -34px;
    }

    .navbar {
        height: auto;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);

    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-direction: column-reverse;
    }

    .container-navbar {
        width: fit-content;
    }

    .navbar-expand-lg .navbar-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .logo {
        height: 40px;
    }
}


@media (max-width: 345px) {
    .sticky-top {
        padding-right: 0;
        padding-left: 0;
    }
}



/*** Header ***/
@media (min-width: 992px) {
    .header-carousel,
    .page-header {
        margin-top: -34px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(3, 27, 78, .2);
    z-index: 1;
}

.carousel-caption .container-fluid {
    position: relative;
}

.carousel-caption .container-fluid .container {
    padding-top: 10px;
    padding-bottom: 10px;
}
    


.carousel-control-prev,
.carousel-control-next {
    width: 120px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--bs-primary);
    border: 15px solid var(--bs-primary);
}


@media (max-width: 1560px) {
    .carousel-caption .container-fluid .text-start h1 {
        padding-left: 100px;
    }

    .carousel-caption .container-fluid .text-start h4 {
        padding-left: 100px;
    }


    .carousel-caption .container-fluid .text-end h1 {
        padding-right: 100px;
    }

    .carousel-caption .container-fluid .text-end h4 {
        padding-right: 100px;
    }
}

@media (max-width: 991px) {
    .carousel-caption .container-fluid .text-start h1 {
        padding-left: 0;
        font-size: 1.5rem;
    }

    .carousel-caption .container-fluid .text-start h4 {
        padding-left: 0;
        font-size: 1.2rem;
    }


    .carousel-caption .container-fluid .text-end h1 {
        padding-right: 0;
        font-size: 1.5rem;
    }

    .carousel-caption .container-fluid .text-end h4 {
        padding-right: 0;
        font-size: 1.2rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 60px;
    }
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


@media (max-width: 660px) {
    .carousel-caption .container-fluid .text-start h1 {
        padding-left: 30px;
    }

    .carousel-caption .container-fluid .text-start h4 {
        padding-left: 30px;
    }


    .carousel-caption .container-fluid .text-end h1 {
        padding-right: 30px;
    }

    .carousel-caption .container-fluid .text-end h4 {
        padding-right: 30px;

    }

    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 2.5rem;
        background-color: var(--bs-primary);
        border: 10px solid var(--bs-primary);
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
    }
}

.page-header {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonial.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-prod {
    background: #1c9ae1;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

.page-header-stock {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/stock.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-camici {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/camici_bg.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-contatti {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/contatti_bg.jpg) center center no-repeat;
    background-size: cover;
}

.text-bg {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
}

/*** Features ***/
.feature {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/feature.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    margin-bottom: 15px;
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
    text-align: center;
}

.feature-item img {
    width: 70px;
    margin: 10px 0;
}

.feature-item h6 {
    font-size: 0.85rem;
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}

.experience .nav-pills .nav-link {
    color: var(--dark);
}

.experience .nav-pills .nav-link.active {
    color: #FFFFFF;
}

.experience .tab-content hr {
    width: 30px;
}

.gallery-wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 70vh;
}

.item {
  flex: 1;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: none;
  transition: flex 0.8s ease;
  position: relative;
}

.item:hover {
  flex: 2;
}

.item-1 {
  background-image: url(../img/carousel-1b.jpg);
}

.item-2 {
  background-image: url(../img/carousel-2b.jpg);
}

.item-3 {
  background-image: url(../img/carousel-3b.jpg);
}

.item-4 {
  background-image: url(../img/carousel-4b.jpg);
}

.item-5 {
  background-image: url(../img/carousel-5b.jpg);
}

.item-6 {
  background-image: url(../img/carousel-6b.jpg);
}

.item-7 {
  background-image: url(../img/carousel-7b.jpg);
}

.item h6 {
    background: rgba(255, 255, 255, 0.6);
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    padding-left: 10px;
    padding-right: 10px;
    font-size: calc(1rem + 0.5vw);
}

@media (max-width: 1200px) {
    .item h6 {
        font-size: calc(0.8rem + 0.5vw);
    }
}

@media (max-width: 992px) {
    .gallery-wrap {
      height: calc(100vh - 76px);
      flex-wrap: wrap;
    }

    .item {
        flex: 50%;
        height: 25%;
    }

    .item:hover {
        flex: 50%;
    }

    .item h6 {
        bottom: 0;
        text-align: right;
    } 

}

/*** About ***/
.about-fact {
    width: 220px;
    height: 220px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.container-service {
    position: relative;
}

.container-service::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 20px 30px 30px 30px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: var(--bs-primary);
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item .icon-box {
    width: 80px;
    height: 92px;   
}

.service-item .icon-box-1 {
    background: url("../img/gloves-b.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item .icon-box-2 {
    background: url("../img/ppe-b.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item .icon-box-3 {
    background: url("../img/arrow-circle-b.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item .icon-box-4 {
    background: url("../img/personal-protective-equipment-b.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item .icon-box-5 {
    background: url("../img/shampoo-b.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item .icon-box-6 {
    background: url("../img/toilet-roll-b.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item .icon-box-7 {
    background: url("../img/first-aid-kit-b.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--bs-white);
}

.service-item:hover .icon-box-1 {
    background: url("../img/gloves-w.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item:hover .icon-box-2 {
    background: url("../img/ppe-w.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item:hover .icon-box-3 {
    background: url("../img/arrow-circle-w.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item:hover .icon-box-4 {
    background: url("../img/personal-protective-equipment-w.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item:hover .icon-box-5 {
    background: url("../img/shampoo-w.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item:hover .icon-box-6 {
    background: url("../img/toilet-roll-w.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-item:hover .icon-box-7 {
    background: url("../img/first-aid-kit-w.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/*** Team ***/
.container-team {
    position: relative;
}

.container-team::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}

.team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: rgba(28, 154, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonial.jpg) left center no-repeat;
    background-size: cover;
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    color: var(--bs-primary);
    font-size: 30px;
    line-height: 0;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 420px) {
    .contact-info .icon-box-light i {
        font-size: 40px;
    }

    .contact-info h5 {
        font-size: 1rem;
    }

    .contact-info h2 {
        font-size: 1.25rem;
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .navbar-brand {
    font-size: 1rem;
}

.copyright {
    border-top: 1px dashed rgba(255, 255, 255, .2);
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}


/*** Product ***/
.swiper-button-prev, .swiper-button-next {
  width: 40px !important;
  height: auto !important;
  top: auto !important;
  bottom: 0 !important;
  color: #6c757d !important;
  background: #f8f9fa !important;
  transition: all 0.3s;
}

.swiper-button-prev::after, .swiper-button-next::after {
  display: none;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
  background: #4650dd !important;
  color: #fff !important;
}

.swiper-divider {
  font-size: 0.7rem;
  color: #aaa;
}

.swiper-button-prev {
  left: 50% !important;
  transform: translateX(-102%);
  right: auto !important;
}

.swiper-button-next {
  right: 50% !important;
  transform: translateX(102%);
  left: auto !important;
}

.swiper-button-disabled {
  opacity: 0.5 !important;
}

.swiper-thumbnails .swiper-slide img {
  opacity: 0.7 !important;
  transition: all 0.3s !important;
  cursor: pointer !important;
}

.swiper-thumbnails .swiper-slide-thumb-active img {
  opacity: 1 !important;
}

.quantity {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  max-width: 6rem;
  min-width: 6rem;
  padding: 0.5rem 0;
}

.quantity-outer {
  max-width: 15rem;
}

.quantity button {
  border: none;
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  display: block;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 0.6rem;
}

.quantity button:focus, .quantity button:hover {
  border: none;
  outline: none;
}

.quantity input {
  text-align: center;
}

.product-category {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.product {
  position: relative;
}

.product .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 999;
}

.product img {
  transition: all 0.3s;
}

.product:hover img {
  opacity: 0.6;
}

.product-btn {
  width: 50px;
  height: 50px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 400;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  z-index: 99;
  opacity: 0;
}

.product-btn:hover {
  background: #4650dd;
  color: #fff;
}

.product:hover .product-btn {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

.product:hover .cta {
  -webkit-transform: none;
  transform: none;
  opacity: 1;
}

.product .cta {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  -webkit-transform: translateX(0.5rem);
  transform: translateX(0.5rem);
  opacity: 0;
  transition: all 0.3s;
}

.product-tabs .nav-link {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  color: #212529;
}

.product-tabs .nav-link.active {
  background: none;
  color: #4650dd;
}

.choices {
  min-width: 14rem !important;
}

.choices__list--dropdown .choices__item--selectable {
  padding-right: 3rem !important;
}

.choices__inner {
  padding: 0.375rem 1.125rem !important;
  min-height: calc(1.5em + 0.75rem + 2px) !important;
  border-radius: 0 !important;
  background-color: #fff !important;
  border-color: #ced4da !important;
}

.choices__list--single {
  padding: 2px !important;
}

.product-form p {
    min-width: 152px;
}

.product-form .form-control-2 {
    min-width: 224px;
}

.btn-outline-secondary {
    border-color: #FFF;
}

.btn-check:checked+.btn-outline-secondary, .btn-check:active+.btn-outline-secondary, .btn-outline-secondary:active, .btn-outline-secondary.active, .btn-outline-secondary.dropdown-toggle.show {
    background-color: transparent;
    border-color: #8a91ac;
}

.btn-check:checked+.btn-outline-secondary:focus, .btn-check:active+.btn-outline-secondary:focus, .btn-outline-secondary:active:focus, .btn-outline-secondary.active:focus, .btn-outline-secondary.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.swiper-thumbnails2 .swiper-wrapper {
    flex-wrap: wrap;
}
