$brand-primary:#0d4062;
$theme-colors: (primary: $brand-primary);
$font-family-sans-serif: neuzeit-grotesk, sans-serif;
@import "bootstrap-4.3.1/_functions.scss";
@import "bootstrap-4.3.1/_variables.scss";
@import "bootstrap-4.3.1/_mixins.scss";
@import "bootstrap-4.3.1/_root.scss";
@import "bootstrap-4.3.1/_reboot.scss";
@import "bootstrap-4.3.1/_type.scss";
@import "bootstrap-4.3.1/_images.scss";
@import "bootstrap-4.3.1/_code.scss";
@import "bootstrap-4.3.1/_grid.scss";
@import "bootstrap-4.3.1/_tables.scss";
@import "bootstrap-4.3.1/_forms.scss";
@import "bootstrap-4.3.1/_buttons.scss";
@import "bootstrap-4.3.1/_transitions.scss";
@import "bootstrap-4.3.1/_dropdown.scss";
@import "bootstrap-4.3.1/_button-group.scss";
@import "bootstrap-4.3.1/_input-group.scss";
@import "bootstrap-4.3.1/_custom-forms.scss";
@import "bootstrap-4.3.1/_card.scss";
@import "bootstrap-4.3.1/_breadcrumb.scss";
@import "bootstrap-4.3.1/_pagination.scss";
@import "bootstrap-4.3.1/_badge.scss";
@import "bootstrap-4.3.1/_alert.scss";
@import "bootstrap-4.3.1/_media.scss";
@import "bootstrap-4.3.1/_list-group.scss";
@import "bootstrap-4.3.1/_close.scss";
@import "bootstrap-4.3.1/_modal.scss";
@import "bootstrap-4.3.1/_carousel.scss";
@import "bootstrap-4.3.1/_utilities.scss";

@import "_superfish.scss";
@import "_superfish-navbar.scss";
@import "viewProduct.scss";
@import "viewContacts.scss";
@import "viewProductList.scss";
@import "viewSection.scss";
@import "viewReteVendita.scss";
@import "viewOfficineAutorizzate.scss";
@import "viewNewsList.scss";
@import "viewAreaRiservata.scss";
html,
body {
    height: 100%;
}

body{
    opacity: 1;
}

.loghi {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2vh;
    .logo {
        max-width: 100%;
    }
}
.bg-blue{
    background-color: #0d4062;
}
.main {
    
    @media screen and (min-width: 780px) {
        .ul-level-1 {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            width: 100%;
            > li {
                float:none;
            }
        }
        ul>li>a {
            color: white;
            text-transform: uppercase;
        }
    }
    @media screen and (max-width: 779px) {
        /*display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;*/
        ul>li {
            text-align: center;
            text-transform: uppercase;
            a {
                color: white;
            }
        }
    }
    ul>li>ul {
        background-color: rgb(231, 236, 239);
        a {
            color: #0d4062;
        }
    }
    ul>li>ul>li {
        padding: 2px;
        word-break: keep-all;
        @media screen and (min-width: 768px) {
            width:17vw;
        }
    }
}

#footer {
    background-color: #0d4062;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding-top: 7vh;
    color:#fff;
    a{
        color:lighten($brand-primary,35%);
    }
    #footer-brand {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 50%;
        .social {
            font-size: 36px;
            color: white;
            background-color: #576a88;
            border-radius: 50%;
            text-align: center;
            width: 60px;
            height: 60px;
            line-height: 60px;
            margin: 10px;
        }
    }
}
.r-32-9{
    position: relative;
    padding-top: 28.15%;
    > *{
        top:50%;
        left:50%;
        width: 100%;
        transform: translate(-50%,-50%);
        position: absolute;
    }
    > div{
        bottom:0;
        top:0;
        left:0;
        right:0;
        transform: none;
    }
}
.carousel-indicators>li {
    background-color: #0d4062;
    width: 16px;
    height: 16px;
    display: block;
    border-radius: 8px;
    border: none;
}
.carousel-item {
    padding-top: 40%;
    >img, iframe {
        position: absolute;
        width: 100% !important;
        height: auto !important;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    iframe{
        height: 100% !important;
    }
    .r-4-3 {
        padding-top: 66%;
    }
}
#carouselHome {
    width: 100%;
    overflow: hidden;
}
.product-preview, .news-preview {
    > div{

        background-color: #b3b7c8;
    }
    display: block;
    &:hover{
        >div{
            background-color: lighten($brand-primary,45%);
        }
        text-decoration: none;
    }
}
.home {
    background-color: #0d4062;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .home_text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: white;
        width: 50vw;
        text-align: center;
        margin: 8vh
    }
    .highlights-products {
        width: 100%;
        margin-bottom: 10vh;
        .product-preview {
            @media screen and (max-width: 480px) {
                width: 100%;
            }
            @media screen and (min-width:481px) and (max-width:1024px) {
                width: 50%
            }
            @media screen and (min-width:1025px) {
                width: 25%;
            }
            float: left;
            >div {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                margin: 10px;
                h4 {
                    text-align: center;
                }
            }
            >div .tipo {
                color: #0d4062;
                @media only screen and (min-width: 700px) {
                    padding: 2px;
                }
                @media only screen and (max-width:699px) {
                    padding: 1px;
                    font-size: calc(0.6rem + 0.5%);
                }
            }
            >div .brand {
                padding: 2px;
                text-align: center;
                text-transform: uppercase;
                border-top: 1px solid #617390;
                width: 50%;
                @media only screen and (max-width: 699px) {
                    font-size: calc(0.4rem + 2%);
                }
            }
        }
    }
    .highlights-products:after {
        content: '';
        display: block;
        clear: both;
    }
}

.privacy-link{
    color: white;
    text-decoration: underline;
}
.error{
    color:red;
}