/*
Theme Name: Durbal
Theme URI:
Description:
Author: Stefano Esu / Valters Rauls Rolskijs
Author URI:
Version: 1.0.1
License:
License URI:
Tags:
Text Domain: drb
*/

@charset "utf-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  scrollbar-gutter: stable;
}

/* Forziamo sempre la scrollbar a destra per evitare "saltelli" */
html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}
 
/* WEBKIT (Chrome, Edge, Safari) */
html::-webkit-scrollbar {
    width: 8px;
}
 
html::-webkit-scrollbar-track {
    background: transparent;
}
 
html::-webkit-scrollbar-thumb {
    background-color: rgba(255,221,0, 0.50);
    border-radius: 999px;
    border: 2px solid transparent;   /* per creare l'effetto “smussato” */
    background-clip: padding-box;
}
 
html::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4);
}
 
/* FIREFOX */
html {
    scrollbar-width: thin; /* auto | thin | none */
    scrollbar-color: rgba(255,221,0, 0.50) transparent;
}

body {
	background-color: #ffffff;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body.admin-bar .navbar:not(.nav-menu-landing){ 
	top:32px;
}
/* GENERAL STYLES */
.p-relative, div.wrapper{ position: relative; }
.p-absolute{ position: absolute; }
.c-white{ color: white; }
.img-like-bck{
    position: absolute;
    max-width: 100%;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50%);
    object-fit: cover;
	object-position: center;
}
.border-white{ border: 1px solid white; }
.img-like-bck.no-abs{
	position: initial;
    top: 0%;
    left: 0%;
    transform: translate( 0%, 0%);	
}
.img-like-bck.img-contain{
	object-fit: contain !important;
}
.img-on-top{
	height: 265px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
	top: 0% !important;
	left: 0% !important;
	position: initial !important;
	transform: translate(-0%, -0%) !important;	
}
.otgs-development-site-front-end{
	display: none !important;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transition: opacity 0.8s, max-height 0.8s ease-out;
    pointer-events: none;
}
.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 1000px!important;
    transition: opacity 0.8s, max-height 0.8s ease-in;
    pointer-events: all;
}
.responsive-block{
	height: var(--block-height-desktop);
}

.btn-yellow {
    display: inline-block;
    border: 2px solid #ffe100;
    background: #ffe100;
    padding: 6px 24px 8px !important;
    color: rgb(33, 37, 41);
    font-weight: 600;
    transition: .3s;
    text-decoration: none;
}
.btn-yellow:hover {
    opacity: 0.8;
}
.btn-yellow.transparent {
    background: transparent;
    color: #ffe100;
}
.btn-yellow.transparent:hover {
    background: #ffe100;
    color: #000;
    opacity: 1;
}

/* Breadcrumbs */

.main-breadcrumb {
    list-style-type: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 20px 10px;
}

.main-breadcrumb::before {
    content: '';
    background: url("./assets/img/icons/breadcrumb-icon.png") center center / 14px 14px no-repeat;
    width: 14px;
    height: 14px;
}

.main-breadcrumb .separator {
    margin: 0 4px;
    font-size: 14px;
}

.main-breadcrumb li {
    display: inline-block;
}

.main-breadcrumb a {
    text-decoration: none;
    color: #535353;
    font-size: 14px;
}

.main-breadcrumb a:hover {
    text-decoration: underline;
}

/* Header */
.top-header {
    background-color: #27303D;
    color: white;
    display: flex;
    justify-content: flex-end;
    padding: 4px 0;
    z-index: 999;
    position: relative;
}

.top-header__items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.top-header__item {
    margin-left: 24px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.top-header__item a {
    color: white;
    text-decoration: none;
}

.top-header__item a:hover {
    color: #f55c00;
}

.top-header__item::before {
    content: '';
    margin-right: 3px;
    width: 16px;
    height: 16px;
}

.top-header__item.language::before {
    background: url("./assets/img/icons/language.svg") center center no-repeat;
}

.top-header__item.search::before {
    background: url("./assets/img/icons/search.svg") center center no-repeat;
}

.top-header__item.private-area::before {
    background: url("./assets/img/icons/private-area.svg") center center no-repeat;
}

.top-header__item.contacts::before {
    background: url("./assets/img/icons/contacts.svg") center center no-repeat;
}

.top-header__item.language {
    position: relative;
}

.top-header__item.language ul {
    position: absolute;
    top: calc( 100% + 8px );
    background-color: rgba( 244, 244, 244, 0.8 );
    backdrop-filter: blur(20px);
    list-style: none;
    visibility: hidden;
    opacity: 0;
    transition: all 300ms ease;
    z-index: 999;
    margin: 0;
    padding: 6px 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.10);
    border-radius: 8px;
}

.top-header__item.language ul li a {
    color: #020d26;
}

.top-header__item.language ul li a:hover {
    color: #f55c00;
}

.top-header__item.language:hover ul {
    visibility: visible;
    opacity: 1;
}

.top-header__item.search .tm-header-icon {
    height: 28px;
    line-height: 28px !important;
    position: relative;
}

.tm-search-overlay .w-search-form-row {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    position: relative;
    padding: 20px;
}

.tm-header-overlay .tm-search-overlay .w-search-form-row:before, .tm-header-style-classic-highlight .tm-search-overlay .w-search-form-row:before {
    position: absolute;
    right: 7px;
}

.tm-search-overlay {
    position: absolute;
    top: 100%;
    right: -20px;
    width: 400px;
    background: #fff;
    border-top: 3px solid;
    border-top-color: #f55c00;
    opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all
    ease .3s;
    -ms-transition: all ease .3s;
    transition: all
    ease .3s;
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .1);
    -ms-box-shadow: 0 3px 5px rgba(0,0,0,.1);
    box-shadow: 0 3px 5px rgba(0, 0, 0, .1);
    z-index: 2;
}

.tm-search-overlay.st-show {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.tm-search-overlay .w-search-form-h {
    display: table;
    height: 100%;
    width: 100%;
}

.tm-search-overlay .w-search-form-row {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    position: relative;
    padding: 20px;
}

.tm-search-overlay .w-search-form-row:before {
    position: absolute;
    right: 27px;
    top: -8px;
    text-align: center;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 8px solid #f55c00;
    content: " ";
}

.tm-search-overlay .tm-site-searchform input[type="search"] {
    font-size: 14px;
    text-align: left;
    height: 50px;
    border: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    box-shadow: none !important;
    background-color: #f3f7f9;
    color: #333;
    width: 85%;
    line-height: 1.3em;
    float: left;
    padding: 10px 20px;
    font-weight: 400;
}

.tm-search-overlay .tm-site-searchform button {
    font-size: 21px;
    width: 15%;
    border: 0;
    border-radius: 0;
    height: 50px;
    text-align: center;
    display: block;
    line-height: 50px;
    color: #fff;
    float: left;
    background: url("./assets/img/icons/search.svg") center center / 50% no-repeat #f55c00;
}

header.header {
    position: fixed;
    max-width: 1200px;
    width: calc(100% - 30px);
    height: 80px;
    margin: 0 auto;
    top: calc(24px + 36px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(244, 244, 244, 0.80);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    z-index: 99;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: top 300ms ease;
}

.header.header .site-logo img {
    max-height: 80px;
}

body.admin-bar header.header {
    top: calc(32px + 24px + 36px);
}

header.header:not(.is-at-top) {
    top: 24px;
}

body.admin-bar header.header:not(.is-at-top) {
    top: calc(24px + 36px);
}

.main-navigation {
    display: flex;
}

.main-navigation ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.main-navigation .nav-menu > ul > li {
    margin-right: 40px;
    height: 80px;
    line-height: 80px;
}

.main-navigation .nav-menu > ul > li:last-child {
    margin-right: 0;
}

.main-navigation .nav-menu > ul li a {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #020d26;
    position: relative;
}

.main-navigation .nav-menu > ul li:hover > a {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-color: #020d26;
}

.main-navigation .nav-menu li.dark {
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    line-height: 1;
}

.main-navigation .nav-menu li.dark a {
    text-transform: none;
    background-color: #27303D;
    color: white;
    display: inline-block;
    height: 100%;
    line-height: 40px;
    margin: 0;
    padding: 0 24px;
    transition: all 300ms ease;
}

.main-navigation .nav-menu li.dark:hover a {
    background-color: #f55c00;
    color: white;
    text-decoration: none;
}

.main-navigation .nav-menu li.menu-item-has-children {
    margin-right: 60px;
}

.main-navigation .nav-menu li.menu-item-has-children > a:after {
    content: url('./assets/img/icons/select-arrow.svg');
    position: absolute;
    top: calc(50% - 12px);
    right: -30px;
    line-height: 1;
}

.nav-menu .submenu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

.nav-menu > li.menu-item-has-children:hover .submenu-wrapper {
    display: block;
}

.nav-menu .submenu-split {
    margin-top: 8px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    background: rgba(230, 230, 230, 1);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.10);
}

.nav-menu .submenu-right img {
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.nav-menu .submenu-left > ul.sub-menu {
    visibility: visible;
    opacity: 1;
    position: static;
    background: transparent;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    width: 100%;
}

.nav-menu .submenu-left > ul.sub-menu li {
    padding: 12px;
    background-color: rgba(244, 244, 244, 1);
    display: flex;
    align-items: center;
    border-radius: 12px;
    min-height: 80px;
}

.nav-menu .submenu-left > ul.sub-menu li a {
    color: black;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    padding: 0;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}	

.nav-menu .submenu-wrapper.products-menu .submenu-left > ul.sub-menu > li {
    background-color: rgba(244, 244, 244, 1);
    padding: 4px;
    border-radius: 8px;
}

.nav-menu .submenu-left > ul.sub-menu li a img {
    width: 100%;
    min-width: 80px;
    max-width: 40%;
    height: 80px;
    object-fit: contain;
    background-color: white;
    border-radius: 8px;
    margin-right: 12px;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    background: transparent;
    padding: 8px 4px;
}

.menu-toggle .menu-toggle-bar {
    width: 100%;
    height: 4px;
    background-color: black;
    border-radius: 2px;
    transition: all 200ms ease;
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: rotate(0deg);
    top: 0;
}

.menu-toggle.toggled .menu-toggle-bar:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.menu-toggle.toggled .menu-toggle-bar:nth-child(2) {
    opacity: 0;
    visibility: hidden;
}

.menu-toggle.toggled .menu-toggle-bar:nth-child(3) {
    transform: rotate(-45deg);
    top: -10px;
}

.side-links {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 19;
}

.side-links ul {
    list-style: none;
}

.side-links ul li {
    background-color: #ffed00;
    margin-bottom: 10px;
    height: 56px;
    padding-right: 8px;
    transform: translateX( calc(100% - 56px) );
    transition: all 300ms ease;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.10);
}

.side-links ul li:hover {
    transform: translateX(0);
}

.side-links ul li a {
    color: #212529;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.side-links ul li img {
    padding: 8px;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .main-navigation > .nav-menu:not(.menu-opened) {
        display: none;
    }

    .main-navigation > .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
    }

    .main-navigation > .nav-menu ul {
        flex-direction: column;
        background-color: rgba(244, 244, 244, 1);
        border-radius: 8px;
        max-height: 80vh;
        overflow-y: auto;
        margin-top: 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu > li.menu-item-has-children:hover .submenu-wrapper {
        display: none;
    }

    .main-navigation .nav-menu li.menu-item-has-children {
        margin: 0;
        position: relative;
    }

    .main-navigation .nav-menu li.menu-item-has-children::after {
        content: url('./assets/img/icons/select-arrow.svg');
        position: absolute;
        top: 30px;
        right: 20px;
        line-height: 1;
    }

    .main-navigation .nav-menu li.menu-item-has-children > a:after {
        content: none;
    }

    .main-navigation .nav-menu > ul > li {
        width: calc(100% - 40px);
        height: auto;
        margin: 0 20px;
        padding: 0;
        border-bottom: 1px solid lightgray;
    }

    .main-navigation .nav-menu > ul > li:last-child {
        border: none;
    }

    .main-navigation .nav-menu ul li.toggled .submenu-wrapper {
        display: block;
    }

    .main-navigation .nav-menu .submenu-wrapper {
        position: static;
    }

    .main-navigation .nav-menu .submenu-split {
        display: block;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .main-navigation .nav-menu .submenu-right {
        display: none;
    }

    .nav-menu .submenu-left > ul.sub-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        grid-gap: 0;
        margin: 0;
        padding: 0 20px;
    }

    .nav-menu .submenu-left > ul.sub-menu li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid lightgray;
        border-radius: 0;
    }

    .nav-menu .submenu-left > ul.sub-menu li:last-child {
        border: none;
    }

    .main-navigation .nav-menu li.dark {
        margin: 30px 20px;
        width: auto;
        align-self: flex-start;
    }
}

@media (max-width: 440px) {
    .header.header .site-logo img {
        max-width: 200px;
    }
}

footer {
    margin-top: 80px;
    font-size: 14px;
    color: white;
}

footer .container {
    padding: 0 40px;
}

footer .footer-top {
    background-color: #27303D;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 24px 0;
}

footer .footer-top .footer-logo {
    text-align: center;
}

footer .footer-top .footer-logo img {
    filter: brightness(0) invert(1);
    max-height: 100px;
}

footer .footer-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 24px 0;
}

footer .footer-content-wrapper > div:first-child {
    border-right: 1px solid white;
    padding-right: 40px;
}

footer .footer-content-wrapper > div:last-child {
    padding-left: 40px;
}

footer .footer-text .title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    display: inline-block;
}

footer .footer-text p {
    margin-bottom: 0;
    line-height: 1.5;
}

footer .footer-menu {
    display: flex;
    align-items: center;
}

footer .footer-menu .nav-menu {
    width: 100%;
}

footer .footer-menu ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4px 20px;
}

footer ul li a {
    text-decoration: none;
}

footer .footer-menu ul li a {
    color: white;
    font-size: 16px;
}

footer .footer-top .footer-legal ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
}

footer .footer-top .footer-legal ul li {
    margin-right: 30px;
}

footer .footer-top .footer-legal ul li:last-child {
    margin-right: 0;
}

footer .bottom-footer {
    background-color: #4D5F78;
    padding: 12px 0;
}

footer .bottom-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

footer .bottom-footer ul li {
    margin: 0 20px;
}

footer .bottom-footer ul li a {
    color: white;
}

@media (max-width: 768px) {
    footer .footer-content-wrapper {
        grid-template-columns: 1fr;
    }

    footer .footer-content-wrapper > div:first-child {
        border: none;
    }

    footer .footer-menu {
        display: none;
    }

    footer .footer-top .footer-legal ul {
        flex-direction: column;
        padding: 0;
    }

    footer .bottom-footer ul {
        flex-direction: column;
        align-items: center;
    }

    footer .bottom-footer ul li {
        margin-bottom: 6px;
    }
}

.fixed-height-page, .fixed-height-page .block-img{
	max-height:300px;
}
.single-product .block-description a{
display: inline-block;
border: 2px solid #ffe100;
background: #ffe100;
padding: 8px 22px;
color: rgb(33, 37, 41);
font-weight: 600;
transition: .3s;
text-decoration: none;
margin-top: 1rem;
margin-bottom: 1rem;	
}
.plain-elements.bigger-img.lines-cards-section .card-image img{
	min-height: 280px !important;
}
.btn-yellow.transparent{
	opacity: 0.8 !important;
}
.btn-yellow{
	background: #27303D !important;
    color: white !important;
    border: none !important;
}
.top-header .container{
	width: 1170px;
}
.top-header__item a:hover{
	color: white !important;
}
.top-header__item.language ul li a:hover{
	color: #27303D !important;
}
.main-navigation .nav-menu li.dark:hover a{
	background-color: #27303D !important;
	opacity: 0.8;
}
.nav-menu .products-menu .submenu-split{
	grid-template-columns: 1fr !important;
}
.nav-menu .submenu-wrapper.products-menu .submenu-left > ul.sub-menu{
grid-template-columns: repeat(4, 1fr) !important;	
}
.nav-menu .products-menu .submenu-left > ul.sub-menu li a img{
	object-fit: cover !important;
}
.nav-menu .submenu-left > ul.sub-menu li a img {
    width: 100%;
    min-width: 80px;
    max-width: 40%;
    object-fit: cover;
	height: auto !important;
    background-color: white;
    border-radius: 8px;
    margin-right: 12px;
}
.nav-menu .submenu-left > ul.sub-menu li a img {
    width: 100%;
    min-width: 80px;
    max-width: 40%;
	height: auto !important;
    object-fit: cover;
    background-color: white;
    border-radius: 8px;
    margin-right: 12px;
}