
:root {
    --white: #fff;
    --spanish-gray: #989898;
    --black: #000;
    --carolina-blue: #00a0e4;
    --alice-blue: #e6edf2;
    --alabaster: #f0ede5;
    --oxford-blue: #0c254d;
    --princeton-orange: #ef7b1f;
    --rich-black: #171f28;
    --dark-liver: #52515b;
    --cadet-blue-crayola: #9db3c7;
    --fluorescent-blue: #00f6ed;
    --gray-web: #808285;
    --camel: #bb8a50;
    --apple-green: #90be22;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #000;
    font-family: 'Mulish', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*body.iboat {
    color: #fff;
    background: #000;
}*/

a {
    color: #00a0e4;
    text-decoration: none;
}

a:hover, a:focus {
    color: #00a0e4;
    text-decoration: none;
}

h1 {
    /*font-family: freight-big-pro,serif;*/
    font-size: 56px;
    font-weight: 700;
}

h1.cat-title {
    text-transform: uppercase;
    text-align: center;
    padding: 30px 0;
}

.jssocials-share-link {
    border-radius: 50%;
}

.fancybox-lock .fancybox-overlay {
    z-index: 100000;
}

.fancybox-inner {
    z-index: 9999;
}

#share {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 30px;
}

#share + .btn {
    margin-left: 30px;
}

.no-padding {
    padding: 0;
}

.error-page {
    margin-top: 200px;
}

.main {
    min-height: 75vh;
}

.btn-default {
    color: #fff;
    border-radius: 0;
    border: none;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Mulish', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: none;
    box-shadow: none;
    transition: .5s;
    /*border-radius: 30px;*/
    background: #009EE0;
}

.btn-default:hover {
    color: #493638;
    background: #E3E3E3;
}

.btn-white {
    color: #009EE0;
    background: #fff;
}

.btn-white:hover {
    color: #fff;
    background: #009EE0;
}

span.customCheckbox, span.customRadio {
    border-color: #009EE0;
}

span.customCheckbox span.cchecked, span.customRadio span.cchecked {
    background: #009EE0;
}

.mainImage {
    position: relative;
    height: 390px;
    margin-bottom: 50px;
}

.mainImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mainImage h1 {
    color: #fff;
    font-size: 48px;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* notification */
.notification {
    color: #fff;
    text-align: center;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 100000;
    padding: 15px;
    overflow: hidden;
    background: #000;
}

.notification a {
    color: #fff;
    text-decoration: underline;
}

.notification .openCloseNotification {
    height: 11px;
    width: 30px;
    display: none;
    margin-bottom: 10px;
    cursor: pointer;
    background: url('../img/notification-arrow.png') no-repeat bottom center;
}
.notification .openCloseNotification.chiudi {
    background: url('../img/notification-arrow.png') no-repeat top center;
}

.notificationContent {
    overflow: hidden;
    margin-bottom: 10px;
}
/* cookie */

.cookie-warn .navbar-inverse {
    background: #009EE0;
}

.cookie-warn .navbar-inverse p,
.cookie-warn .navbar-inverse a {
    color: #fff;
}

.cookie-warn  .navbar-text {
    width: 100%
}



.openCloseNotification {
    display: none;
}





/* ---------- footer ---------- */
.main-footer {
    color: #000;
    padding-top: 50px;
    padding-bottom: 20px;
    background: #fff;
}

.main-footer .footerLogo {
    width: 110px;
    height: 24px;
    background: url("../img/gallinera-logo-footer.svg") no-repeat center;
    background-size: contain;
}

.main-footer a {
    color: #000;
}

.main-footer p {
    line-height: 1.7;
}

.main-footer .row {
    display: flex;
    flex-wrap: wrap;
}

.main-footer .row > div {
    margin-bottom: 30px;
}

.main-footer .social {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.main-footer .social a {
    display: inline-block;
    margin-right: 30px;
}

.main-footer h3 {
    color: #00a0e4;
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 4px 0;
}

.main-footer .telephone {
    margin-bottom: 25px;
}

.main-footer li {
    margin-bottom: 5px;
}

.footerCopy {
    font-size: 10px;
    display: flex;
    justify-content: space-between;
}

.footerCopy p span {
    white-space: nowrap;
}

.footerCopy .final-footer .mindgear {
    width: 90px;
    height: 20px;
    display: inline-block;
    background: url("../img/mindgear-logo-footer.svg") no-repeat center;
    background-size: contain;
}


/*body.iboat .main-footer {
    color: #fff;
    background: #000;
}*/

/*body.iboat .main-footer a {
    color: #fff;
}*/

/*body.iboat .main-footer .footerLogo {
    background: url("../img/gallinera-logo-footer-white.svg") no-repeat center;
}

body.iboat .footerCopy .final-footer .mindgear {
    background: url("../img/mindgear-logo-footer-white.svg") no-repeat center;
}*/



/* Header */
.main-head {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px 50px 20px;
    transition: .3s;
}

.main-logo {
    position: relative;
}

.main-logo img {
    width: 155px;
}

.logoSrolled {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.main-head.headerScrolled {
    background: #fff;
}

    .main-head.headerScrolled .headerRight .languages span {
        /*color: var(--gray-web);*/
        color: #00a0e4;
    }

    .main-head.headerScrolled .headerRight .languages a {
        color: var(--gray-web);
    }

.main-head.headerScrolled .headerRight .languages *:first-child {
    border-color: var(--gray-web);
}

.main-head.headerScrolled .open-menu span {
    background: var(--gray-web);
}

.main-head.headerScrolled .logoSrolled {
    opacity: 1;
}

.main-head a {
    text-decoration: none;
}

.main-head .headerRight {
    display: flex;
    align-items: center;
}

.main-head .headerRight .languages {
    margin-right: 30px;
}

    .main-head .headerRight .languages *:first-child {
        border-right: 2px solid #fff;
    }

    .main-head .headerRight .languages a {
        /*color: #00a0e4;*/
        color: #fff;
        font-weight: 700;
        text-align: center;
        display: inline-block;
        padding: 5px;
        width: 30px;
    }

.main-head .headerRight .languages span {
    color: #00a0e4;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    padding: 5px;
    padding-right: 10px;
    /*width: 30px;*/
}

.headerAccount {
    margin-right: 30px;
}

.open-menu {
    display: inline-block;
    width: 36px;
}

.open-menu span {
    height: 2px;
    display: block;
    margin-bottom: 6px;
    background: #fff;
}

.open-menu span.tre {
    width: 50%;
    margin-left: 50%;
}

.closeWrapper {
    text-align: right;
    padding: 50px 0;
}

.closeWrapper div {
    color: var(--gray-web);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.closeWrapper img {
    display: none;
}

.close-menu {
    width: 31px;
    height: 31px;
    display: inline-block;
    cursor: pointer;
    margin-left: 20px;
    background: url('../img/menu-close.svg') no-repeat center;
}

.mega-menu {
    color: #000;
    text-align: right;
    padding-right: 15px;
    padding-left: 15px;
    position: fixed;
    z-index: 100000;
    top: 0;
    bottom: 0;
    right: -100%;
    min-width: 33%;
    transition: 0.5s;
    overflow-y: auto;
    background: #fff;
}

.mega-menu.menuOpen {
    right: 0;
}

.mega-menu.menuOpen + .menuOverlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.5);
}

.mega-menu .container {
    overflow: auto;
    height: 90vh;
}

.mega-menu li {
    margin-bottom:30px
}

.mega-menu ul ul li {
    margin-bottom: 0;
}

.mega-menu li,
.mega-menu a {
    color: #000;
    font-weight: 600;
    font-size: 32px;
    line-height: 1;
}

.mega-menu a:hover,
.mega-menu a.has-submenu + .maindrop a:hover {
    color: #00a0e4;
    text-decoration: underline;
}

.mega-menu a.has-submenu + .maindrop a {
    color: #808285;
    font-weight: 400;
    font-size: 20px;
}

.mega-menu a.has-submenu + .maindrop li.active a,
.mega-menu a.has-submenu + .maindrop a.active {
    color: var(--carolina-blue);
    text-decoration: underline;
}

.mega-menu .accountMenu {
    margin-bottom: 20px;
}

.mega-menu .accountMenu li {
    margin-bottom: 0;
}

.mega-menu a.reservedArea,
.mega-menu a.registerArea {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 13px 30px;
    margin-bottom: 10px;
    display: inline-block;
    min-width: 215px;
    text-align: center;
    background-color: #00a0e4;
}

.mega-menu a.reservedArea:hover,
.mega-menu a.registerArea:hover {
    color: #fff;
    text-decoration: none;
    background-color: #0089c4;
}

/* Utente loggato: le voci account restano in testa ma in corpo ridotto,
   per non sovrastare le voci di navigazione. */
.mega-menu .accountMenu .personal-menu a {
    color: #808285;
    font-weight: 400;
    font-size: 20px;
}

.mega-menu ul {
    list-style: none;
    padding: 0 50px;
}

.mega-menu ul ul {
    list-style: none;
    padding: 0;
}

.mobileLanguages {
    display: none;
}

.mobileLanguages li {
    margin: 0;
}

.mobileLanguages a {
    color: #808285;
    font-size: 20px;
    font-weight: 700;
    padding: 5px;
    margin: 0;
}

.mobileLanguages .sel-lang {
    color: #00a0e4;
    font-size: 20px;
    padding: 5px;
    border-right: 2px solid #979797;
    margin: 0;
}




/* ---------- home ---------- */
.homeVideoLink {
    display: block;
    width: 100%;
    height: 100vh;
    position: relative;
}

@keyframes ldio-rcga8mhsd5 {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

.loader div {
    box-sizing: border-box !important
}

.loader > div {
    position: absolute;
    width: 192px;
    height: 192px;
    top: 4px;
    left: 4px;
    border-radius: 50%;
    border: 16px solid #000;
    border-color: #00a0e4 transparent #00a0e4 transparent;
    animation: ldio-rcga8mhsd5 1s linear infinite;
}

.loader > div:nth-child(2), .loader > div:nth-child(4) {
    width: 156px;
    height: 156px;
    top: 22px;
    left: 22px;
    animation: ldio-rcga8mhsd5 1s linear infinite reverse;
}

.loader > div:nth-child(2) {
    border-color: transparent #808285 transparent #808285
}

.loader > div:nth-child(3) {
    border-color: transparent
}

.loader > div:nth-child(3) div {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(45deg);
}

.loader > div:nth-child(3) div:before, .loader > div:nth-child(3) div:after {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    top: -16px;
    left: 72px;
    background: #00a0e4;
    border-radius: 50%;
    box-shadow: 0 176px 0 0 #00a0e4;
}

.loader > div:nth-child(3) div:after {
    left: -16px;
    top: 72px;
    box-shadow: 176px 0 0 0 #00a0e4;
}

.loader > div:nth-child(4) {
    border-color: transparent;
}

.loader > div:nth-child(4) div {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(45deg);
}

.loader > div:nth-child(4) div:before, .loader > div:nth-child(4) div:after {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    top: -16px;
    left: 54px;
    background: #808285;
    border-radius: 50%;
    box-shadow: 0 140px 0 0 #808285;
}

.loader > div:nth-child(4) div:after {
    left: -16px;
    top: 54px;
    box-shadow: 140px 0 0 0 #808285;
}

.loadingio-spinner-double-ring {
    width: 200px;
    height: 200px;
    display: inline-block;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.loader {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0;
}

.loader div {
    box-sizing: content-box;
}

.homepage-video {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 10;
}

.homepage-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discoverMore {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    position: fixed;
    z-index: 100;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.discoverMore::after {
    content: "";
    display: block;
    width: 2px;
    height: 40px;
    margin: 0 auto;
    background: linear-gradient(to bottom, white 50%, rgba(255, 255, 255, 0) 50%);
    background-position: 0 -60px;
    background-size: 100% 200%;
    animation: scrolldown 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
}

@keyframes scrolldown {
    0% {
        background-position: 0 -40px;
    }

    75% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 40px;
    }
}

.home.categoryBlock {
    position: relative;
    width: auto;
    height: 100vh;
    background-color: var(--alabaster);
    flex: 1;
    transition: .5s ease-in-out;
}

.home.categoryBlock:hover {
    flex: 1.1;
}

.home.categoryBlock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* forms */
label {
    font-size: 14px;
    font-weight: 400;
}

.form-control {
    color: #000;
    font-size: 16px;
    border: 0;
    border-bottom: solid 1px var(--gray-web);
    border-radius: 0;
    box-shadow: none;
    height: 40px;
    background: #fff;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--carolina-blue);
}

span.ui-selectmenu-button.ui-button {
    color: var(--carolina-blue);
    font-size: 16px;
    line-height: 1.42857143;
    font-family: 'Mulish', sans-serif;
    border: 0;
    border-bottom: solid 1px var(--gray-web);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    font-size: 14px;
    height: 40px;
    padding: 6px 12px 6px 0;
}

.ui-selectmenu-menu .ui-menu {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
}

.ui-selectmenu-menu .ui-menu .ui-state-active {
    color: #fff;
    background: var(--carolina-blue);
    border-color: var(--carolina-blue);
}

span.ui-selectmenu-button.ui-button:focus {
    box-shadow: none;
    border-color: var(--carolina-blue);
    outline: none;
}

.ui-button .ui-icon {
    background: url('../img/arrow-down.svg') no-repeat center;
}

.field-validation-error {
    color: #fff;
    font-weight: 700;
    padding: 0 5px;
    display: block;
    background: #d9534f;
}

.validation-summary-errors, label.error {
    display: block;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    background-color: #d9534f;
}

.validation-summary-errors ul {
    padding: 2px 0px;
    list-style: none;
    margin: 0;
}

.validation-summary-errors li {
    padding: 0;
    list-style: none;
}





/* Contatti */

.contactDescription {
    font-size: 16px;
    line-height: 1.63;
    margin-top: 30px;
}

.contattiForm h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
}





/* ---------- CMS page ---------- */
.cms-page {
    padding-bottom: 60px;
    font-size: 24px;
    line-height: 1.83;
}

    .cms-page h2 {
        /*font-family: freight-big-pro,serif;*/
        font-size: 36px;
        font-style: normal;
        font-weight: 400;
        line-height: 55px;
        margin-bottom: 20px;
    }

/* ---------- Category ---------- */
.category-description {
    color: var(--rich-black);
    font-size: 24px;
    line-height: 1.83;
    /*text-align: center;*/
    padding-top: 60px;
    padding-bottom: 50px;
}

    .category-description h2 {
        /*font-family: freight-big-pro,serif;*/
        font-size: 36px;
        font-style: normal;
        font-weight: 400;
        line-height: 55px;
    }

    .category-description p span {
        font-family: 'Mulish', serif !important;
        font-size: 24px !important;
        font-style: normal !important;
        font-weight: 400;
        line-height: 44px!important;
    }

/*body.iboat .category-description {
    color: #fff;
}*/

.categoryList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.categoryBlock {
    position: relative;
    width: 50%;
    height: 395px;
    background-color: var(--alabaster);
}

.categoryBlock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.categoryBlock:nth-child(even) {
    background-color: var(--alice-blue);
}

.categoryBlock span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

    .categoryBlock h2 {
        color: #fff;
        /*font-family: freight-big-pro,serif;*/
        font-size: 36px;
        font-weight: 700;
        text-align: center;
        padding: 15px;
        margin: 0;
    }

.categoryBlock .shortDescription {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.8;
    text-align: center;
    padding: 0 30px;
}

.single-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.categoryBlock:hover h2 {
    color: #fff;
}

.single-category:hover::before {
    content: '';
    background: rgba(0, 0, 0, 0.5);
}

.categoriaImmagine {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.categoriaImmagine.withLogo {
    align-items: flex-end;
}

.categoriaImmagine.withLogo img {
    position: relative;
    z-index: 10;
    max-width: 50vw;
}

.categoriaImmagine::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: rgba(0,0,0,0.2);
}

.categoriaImmagine.video {
    position: relative;
    height: 100vh;
}

.categoriaImmagine.video video {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    border: 0;
    object-fit: cover;
}

/*.categoriaImmagine.video::before {
    content: "";
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}*/

.categoriaImmagine .discoverMore {
    display: none;
}

.categoriaImmagine.video .discoverMore,
.categoriaImmagine.mainCat .discoverMore {
    display: block;
}

.categoriaImmagine.mainCat {
    height: 30vh;
}

.categoriaImmagine h1 {
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 10;
}

.categoriaImmagine.video h1 {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.categorySide {
    list-style: none;
    padding: 0;
    margin-top: 60px;
    border-right: 2px solid var(--cadet-blue-crayola);
}

.categorySide .categoryLi {
    margin-bottom: 25px;
    padding-right: 15px;
}

.categorySide a {
    color: var(--cadet-blue-crayola);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.categorySide a:hover {
    color: var(--carolina-blue);
    text-decoration: underline;
}

.product-list {
    margin: 60px 0;
}

.single-product {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.single-product a {
    display: block;
    transition: .5s;
    background: rgba(0,0,0,0);
}

.single-product img {
    width: 100%;
    aspect-ratio: 1.5/1;
    object-fit: cover;
    position: relative;
    z-index: -1;
}

.single-product h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 0 15px;
    width: 100%;
    position: absolute;
    bottom: -100px;
    transform: translateY(50%);
    transition: .5s;
}

.single-product:hover a {
    background: rgba(0,0,0,0.4);
}

.single-product:hover h4 {
    bottom: 50%;
}



.iboatSelectionPage {
    height: 100vh;
    display: flex;
    background: grey;
}

/*.iboatSelectionPage:hover a {
    filter: blur(4px);
}*/

.iboatSelectionPage a {
    flex: 1;
    transition: .5s;
    position: relative;
}

.iboatSelectionPage a div.iboatText {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30vw;
}

.iboatSelectionPage a div.iboatText img {
    width: 180px;
}

.iboatSelectionPage a div.iboatText h2 {
    color: #fff;
    /*font-family: freight-big-pro,serif;*/
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 55px;
}

.iboatSelectionPage a div.iboatText p {
        color: #fff;
        font-size: 24px;
        line-height: 1.83;
        font-style: normal;
        font-weight: 700;
        line-height: 44px;
    }

.iboatSelectionPage a:hover {
    /*filter: blur(0);*/
    flex: 1.1
}

.iboatSelectionPage a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imageOverlay {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.2)
}




@media (max-width: 767px) {
    .main-footer .telephone {
        display: inline-block;
        vertical-align: top;
        width: 50%;
    }

    .main-footer .email {
        display: inline-block;
        vertical-align: top;
        width: 4%;
        padding-left: 10px;
    }

    .iboatSelectionPage {
        flex-direction: column;
    }

    .iboatSelectionPage a {
        height: 50vh;
    }

    .iboatSelectionPage a div.iboatText {
        width: 90%;
    }
}


@media (max-width: 480px) {
    .main-head {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .main-head .headerRight .languages {
        display: none;
    }
    .main-head .headerRight .headerAccount {
        display: none;
    }
    .mega-menu {
        text-align: center;
        width: 100%;
    }
    .mega-menu ul {
        padding: 0;
    }
    .mega-menu li {
        margin-bottom: 10px;
    }
    .mega-menu a {
        font-size: 20px;
    }
    .mega-menu a.has-submenu + .maindrop li {
        margin: 0;
    }
    .closeWrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .closeWrapper div {
        font-size: 0;
    }
    .closeWrapper img {
        display: block;
        width: 40vw;
    }
    .mobileLanguages {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .categoriaImmagine {
        height: 100vh;
    }
    .categoriaImmagine.mainCat {
        height: 50vh;
    }
    .category-description {
        padding-top: 20px;
    }
    .category-description p,
    .category-description h2 {
        text-align: left !important;
    }
    .category-description h2 {
        margin-top: 0px;
    }
    .categoryBlock {
        width: 100%;
    }
    .categoryList {
        flex-direction: column;
    }
    .home.categoryBlock {
        flex: none;
        width: 100%;
        height: 25vh;
    }
    .home.categoryBlock:hover {
        flex: none;
    }
    .footerCopy {
        font-size: 14px;
        text-align: center;
        flex-direction: column;
    }
    .main-footer .footerCopy p {
        line-height: 1.3;
    }
    .main-footer .email {
        width: 48%;
    }

    .notification .openCloseNotification {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}



/* ---------- categoria ---------- */

.infiniteLoader {
	height: 66px;
	width: 66px;
	display: inline-block;
	background: url(../img/moreProd.png) no-repeat;
}

@-webkit-keyframes rotate {
  	from { -webkit-transform:rotate(0deg); }
  	to { -webkit-transform:rotate(360deg); }
}

@-moz-keyframes rotate {
  	from { -moz-transform:rotate(0deg); }
  	to { -moz-transform:rotate(360deg); }
}

@-ms-keyframes rotate {
  	from { -ms-transform:rotate(0deg); }
  	to { -ms-transform:rotate(360deg); }
}

@-o-keyframes rotate {
  	from { -o-transform:rotate(0deg); }
  	to { -o-transform:rotate(360deg); }
}

.rotating {
  	-webkit-transform-origin: 50% 50%;
  	-webkit-animation-name: rotate;
  	-webkit-animation-duration: 1s;
  	-webkit-animation-iteration-count: infinite;
  	-webkit-animation-timing-function: linear;
  	-moz-transform-origin: 50% 50%;
  	-moz-animation-name: rotate;
  	-moz-animation-duration: 1s;
  	-moz-animation-iteration-count: infinite;
  	-moz-animation-timing-function: linear;
  	-ms-transform-origin: 50% 50%;
  	-ms-animation-name: rotate;
  	-ms-animation-duration: 1s;
  	-ms-animation-iteration-count: infinite;
  	-ms-animation-timing-function: linear;
  	-o-transform-origin: 50% 50%;
  	-o-animation-name: rotate;
  	-o-animation-duration: 1s;
  	-o-animation-iteration-count: infinite;
  	-o-animation-timing-function: linear;
}

/* form page */

.form-page {
    margin-bottom: 60px;
    padding-top: 40px;
    padding-top: 40px;
}


/*---- Fancy box ----*/

.fancybox-nav {
    width: 10%;
}

.fancybox-nav,
.fancybox-close {
    z-index: 10000;
}









/*---- Documenti prodotto ----*/

/* Entra con la stessa transizione dell'h4 della tile, che arriva a bottom: 50%:
   il pulsante si ferma piu in basso, appena sotto il titolo.
   Il selettore usa a.productDocumentsLogin e non .productDocumentsLogin perche
   .single-product:hover a imposta un proprio background e va battuto in specificita. */
.single-product .productDocumentsButton,
.single-product a.productDocumentsLogin {
    position: absolute;
    left: 50%;
    bottom: -100px;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #fff;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: .5s;
}

.single-product:hover .productDocumentsButton,
.single-product:hover a.productDocumentsLogin {
    bottom: 30%;
    background: rgba(0,0,0,0.35);
}

.single-product .productDocumentsButton:hover,
.single-product a.productDocumentsLogin:hover,
.single-product .productDocumentsButton:focus,
.single-product a.productDocumentsLogin:focus {
    background: #fff;
    color: #000;
}

/* Su touch l'hover non esiste: senza questo il pulsante resterebbe irraggiungibile. */
@media (hover: none), (max-width: 767px) {
    .single-product .productDocumentsButton,
    .single-product a.productDocumentsLogin {
        position: static;
        transform: none;
        display: block;
        width: 100%;
        margin-top: 10px;
        background: #000;
        white-space: normal;
    }
}

/* Centraggio verticale: Bootstrap 3 ancora il modale in alto (.modal-dialog ha
   margin: 30px auto) e non ha l'equivalente di .modal-dialog-centered di
   Bootstrap 4. Il min-height sottrae i margini verticali del dialog, che in BS3
   valgono 10px sotto i 768px e 30px sopra. */
#productDocumentsModal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 20px);
}

@media (min-width: 768px) {
    #productDocumentsModal .modal-dialog {
        min-height: calc(100% - 60px);
    }
}

#productDocumentsModal .modal-content {
    width: 100%;
}

/* Con il dialog centrato una lista lunga sborderebbe dalla viewport:
   lo scroll va sul corpo, non sulla pagina. */
#productDocumentsModal .modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* Contenuto del modale */
#productDocumentsModal .documentsModalProduct {
    margin: 0 0 15px;
    font-weight: 700;
    text-transform: uppercase;
}

#productDocumentsModal .productDocumentsList {
    margin: 0;
    padding: 0;
    list-style: none;
}

#productDocumentsModal .productDocumentsList li + li {
    border-top: 1px solid #e5e5e5;
}

#productDocumentsModal .productDocumentsList a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: inherit;
    text-decoration: none;
}

#productDocumentsModal .productDocumentsList a:hover .documentTitle {
    text-decoration: underline;
}

#productDocumentsModal .documentPreview {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    object-fit: cover;
    flex: 0 0 auto;
}

#productDocumentsModal .noDocuments {
    margin: 0;
    color: #767676;
}
