/* General */
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1530px;
}
.btn-primary,
.text-bg-primary {
    background-color: #008a41 !important;
    border: 1px solid #008a41;
}
.btn-primary:hover {
    background-color: #007235 !important;
    border: 1px solid #007235;
}
.btn-secondary {
    background-color: #ff081b !important;
    border: 1px solid #ff081b;
}
.btn-secondary:hover {
    background-color: #ff081b !important;
    border: 1px solid #ff081b;
}
.text-bg-gradient {
    border: none;
    background-repeat: no-repeat !important;
    background-position: right !important;
    background-size: cover !important;
}
.text-primary {
    color: #008a41 !important;
}
.border-primary {
    border-color: #008a41 !important;
}
.bg-primary {
    background-color: #008a41 !important;
}
.text-custom-grey {
    color: #404040;
}
.bg-custom-grey {
    background: #f5f6f9;
}
.bg-custom-grey-light {
    background: #f5f5f5;
}
.text-danger {
    color: #ff081b !important;
}
.title-container h1 {
    font-size: 24px;
    padding: 18px 55px;
}
#page-breadcrumb {
    font-size: 20px;
}
a {
    color: #008a41;
    text-decoration: none;
}

/* Header */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 4px 0;
}
header #header-menu {
    background-color: #f5f5f5;
    padding-top: 15px;
    padding-bottom: 15px;
}
header .socials .btn,
header #search-product,
.navigation-post button,
#downloads-files .btn,
.category-downloads .btn {
    width: 48px;
    height: 45px;
}
header #search-product {
    border-radius: 0 10px 10px 0 !important;
}
header #search-field {
    border-radius: 10px 0 0 10px !important;
}
header .socials span {
    font-size: 14px;
}
header input[type="search"], header input[type="search"]:focus {
    border: 2px solid #008a41;
    border-radius: 4px;
    padding: 10px;
    height: 45px;
}
header input[type="search"]::placeholder {
    color: #008a41;
    font-weight: 600;
    font-size: 14px;
}
header #header-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: end;
}
header #header-menu ul li {
    margin: 0 15px;
}
header #header-menu a {
    color: black;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
}

/* Footer */
#footer-top {
    background: #008a41;
}
#footer-bottom {
    background: #016630;
    font-size: 14px;
    font-weight: 300;
}
#footer-top ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#menu-footer a {
    text-decoration: none;
    color: white;
}

/* Header pages */
#pages-header {
    background: black;
}
#pages-header, #pages-header img {
    height: 300px;
}
#pages-header .pages-header-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#pages-header img {
    opacity: 0.85;
}
#pages-header .title-container {
    background: #008a41;
    width: fit-content;
}

/* Slider home */
#slider .slider-container {
    max-height: 700px !important;
    background: black;
}
#slider .slider-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#slider img {
    object-fit: cover;
    opacity: 0.85;
}
#slider .title-container {
    background: #008a41;
    width: fit-content;
}
#slider h1, #slider h2 {
    font-size: 60px;
}
.owl-dots {
    text-align: center;
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translate(-50%);
}
.owl-dots button.owl-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    background: rgba(255,255,255,0.5);
    margin: 0 5px;
}
.owl-dots button.owl-dot.active {
    background-color: white;
}
.owl-dots button.owl-dot:focus {
    outline: none;
}
#slider .owl-stage,
#products-container .owl-stage {
    display: flex;
}
#slider .owl-item,
#products-container .owl-item {
    flex: 1 0 auto;
}

/* Home */
#boxes-top .card-body {
    padding-top: 100px;
    padding-bottom: 70px;
    padding-right: 250px;
    padding-left: 35px;
}
#boxes-top .card-body h5 {
    font-size: 18px;
}
#boxes-top .card-body button {
    font-size: 20px;
}
#boxes-top img {
    max-width: 250px;
}
#brands .overflow-auto::-webkit-scrollbar {
  height: 5px;
}
#brands .overflow-auto::-webkit-scrollbar-track {
  background: transparent;
}
#brands .overflow-auto::-webkit-scrollbar-thumb {
  background: #008a41;
}

/* Image description section */
#image-description {
    background-color: #f5f5f5;
}

/* Badges section */
#badges .img-background {
    background: #008a41;
    border-radius: 50%;
    width: fit-content;
}
#badges img {
    margin: 25px;
}
#badges h3 {
    font-size: 25px;
}
#badges h5 {
    font-size: 20px;
}

/* Boxes download */
#boxes-downloads .card-body {
    padding-right: 40% !important;
}

/* Latest news */
#latest-news .card,
#blog .card {
    border-radius: 10px;
}
#latest-news .card-body,
#blog .card-body {
    background: #f5f5f5;
    border-radius: 0px 0px 10px 10px;
}
#latest-news .card-img-top,
#blog .card-img-top {
    max-height: 240px;
}
#latest-news .news-category,
#blog .news-category {
    font-size: 20px;
    color: #008a41;
}

/* Brands */
#brands {
    background: #eff2e9;
}
#brands img {
    max-height: 100px;
    width: 100%;
    object-fit: scale-down;
}
#brands .owl-carousel .owl-stage {
    display: flex;
    align-items: center;
}
.owl-carousel {
    z-index: unset;
}

/* Products */
#product-title .first-title {
    color: inherit; 
    font-size: 20px;
}
#product-title .second-title {
    color: inherit; 
    font-size: 30px;
}
.img-logo-1 {
    width: auto;
    max-height: 118px;
}
.img-logo-2 {
    width: auto;
    max-height: 77px;
}
.card-warning {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-width: 5px;
    border-color: #008a41;
    fill: #ffffff;
    stroke-width: 4;
    font-size: 20px;
}
.border-icon {
    width: 107px;
    height: 107px;
    border-radius: 50%;
    border: 5px solid #008a41;
}
.download-icon {
    width: 49px;
    height: 49px;
}
.download-text {
    font-size: 20px;
}
.download-button {
    width: 219px;
    height: 41px;
}
#product-cards .product-categories .card {
    border-radius: 10px !important;
    max-width: 590px;
}
#product-cards .card-warning {
    max-width: 1210px;
}
#product-cards .product-categories .card-header {
    border: 4px solid #008a41;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    min-height: 200px;
}
#product-cards .product-categories .card-body h6,
#product-cards .product-categories .card-body p {
    font-size: 18px;
}
#product-cards .product-categories .card-body h5 {
    font-size: 25px;
}
#product-cards .product-categories .card-footer .btn {
    font-size: 20px;
}
.informations-section .category-downloads h5 {
    font-size: 18px;
}
.pagination-container .page-numbers {
    font-size: 18px;
    font-weight: 500;
    color: black;
    text-decoration: none;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    text-align: center;
    line-height: inherit;
    margin: 0 5px;
}
.pagination-container .page-numbers.current {
    background: #134F37;
    color: white;
}
.single-product-card .card {
    transition: 0.3s;
}
.single-product-card:hover .card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
#navbar-categories .category-link {
    color: #0a0a0a !important;
}
#navbar-categories .category-link:hover,
#navbar-categories a.active .category-link {
    background: #008a41 !important;
    color: white !important;
}
.image-category img {
    max-height: 120px;
}
.category-single-image img {
    max-width: 400px;
    height: auto;
}

/* Single product */
.single-product-category {
    font-size: 20px;
}
.single-product-title,
.single-product-code {
    font-size: 30px;
}
.single-product-description {
    font-size: 18px;
}


/* Blog */
.single-post-thumbnail {
    max-height: 415px;
}
.single-post-content {
    font-size: 18px;
    color: #000000;
}
.navigation-post span {
    color: #008a41;
    font-size: 20px;
}

/* Downloads */
#downloads-files {
    background: #f5f5f5;
}

/* Hobbistica e Professional */
#hobbistica .row,
#professional .row {
    max-width: 960px;
}
#hobbistica .card,
#professional .card {
    max-width: 290px;
    border-radius: 10px;
}
#hobbistica .card-header,
#professional .card-header {
    border: 4px solid #008a41;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
#hobbistica .card-header img,
#professional .card-header img {
    height: 135px;
}

/* Chi Siamo */
.main-content {
    background-color: #f5f5f5;
}
.main-content img,
.main-content .col-md-6 {
    height: 600px;
}
.main-content .col-md-6:last-child {
    position: absolute;
    right: 0;
    height: auto;
}
.main-content .flex-row-reverse .col-md-6:last-child {
    left: 0;
    right: unset;
}

/* Contatti */
.contacts-form {
    max-width: 1110px;
}
.wpcf7-spinner {
    display: none;
}

/* Responsive */
@media screen and (max-width: 1400px) {
    #boxes-top .card-body {
        padding: 30px !important;
    }
    #boxes-top .card img {
        position: unset !important;
        max-width: 150px !important;
        margin: 0 auto;
        padding-top: 30px;
    }
}

@media screen and (max-width: 767px) {
    /* Header */
    .main-navigation {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .menu-toggle {
        display: inline-block;
    }
    .main-navigation.open {
        display: flex;
    }
    header #header-menu ul {
        display: block;
    }
    header #header-menu ul li {
        margin: unset;
        margin-top: 10px;
    }
    #header-top img.position-absolute {
        max-width: 130px;
        position: unset !important;
        width: 100%;
    }

    /* Home */
    #slider h1, #slider h2 {
        font-size: calc(1.375rem + 1.5vw);
    }
    .owl-dots {
        bottom: 10px;
    }

    /* Chi Siamo */
    .main-content .col-md-6:last-child {
        position: unset;
    }
    .main-content img {
        height: 100%;
        max-height: 300px;
    }
    .main-content .col-md-6 {
        height: auto;
    }

    /* Contacts */
    .contacts-buttons .border-end {
        border: none;
    }
}