/* elementi comuni */

body {
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

.fancybox-thumbs__list a:before {
    border-color: #2d96cd !important;
}

.img-fluid{
	width:100%
}

@media (max-width:991px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.small {
    font-size: .85rem;
}

.img-fluid{
	width:100%
}


a {
    will-change: color, background-color, opacity, background-position;
    transition: all .3s ease-in-out;
    color: #2d96cd;
}

    a i {
        will-change: color;
        transition: all .3s ease-in-out;
    }

    a:hover i {
        transition: all .3s ease-in-out;
    }

    a:hover {
        color: #6CB6DC;
        transition: all .3s ease-in-out;
    }

footer {
    margin-top: 10rem;
    color: #999;
}

@media (max-width:575px) {
    footer {
        margin-top: 5rem;
    }
}

.bg-blue {
    background-color: #2d96cd;
    position: relative;
}

.bg-grey {
    background-color: #F4F4F3;
    padding-top: 4rem;
    padding-bottom: 2rem;
    margin-top: 3rem;
    position: relative;
}

.btn {
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 1rem 1.5rem;
}

#nav-search-button,
#btn-search {
    padding: .375rem .75rem;
}

.btn-primary {
    border: 0;
    background: linear-gradient(to right, #6CB6DC 50%, #2d96cd 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all .3s ease;
}

    .btn-primary:hover {
        background-position: left bottom;
    }

#sections-highlight a {
    font-size: 1.2rem;
    text-align: center;
    color: white;
    display: block;
    text-decoration: none;
}

#sections-highlight div[class^=col] {
    border-right: 1px solid rgba(255,255,255,0.5);
}

#sections-highlight i {
    font-size: 5em;
    color: white;
    display: block;
    text-shadow: 0 5px 8px rgba(0,0,0,.1);
}

#sections-highlight .row > div:last-child {
    border-right: 0;
}

@media (max-width:575px) {
    #sections-highlight i {
        font-size: 2em;
        color: white;
        display: block;
        text-shadow: 0 5px 8px rgba(0,0,0,.1);
        float: left;
    }

        #sections-highlight i.fa-fw {
            width: 2em;
        }

    #sections-highlight div[class^=col] {
        border-right: 0
    }

    #sections-highlight a {
        float: left;
        text-align: left;
    }
}

.section-title {
    position: relative;
    letter-spacing: 2px;
}

    .section-title > span {
        background: white;
        padding-right: .5em;
        text-transform: uppercase;
        position: relative;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .section-title:after {
        content: "";
        display: block;
        position: absolute;
        height: 1px;
        background: #2d96cd;
        width: 100%;
        top: 50%;
        left: 0;
    }

.bg-grey .section-title > span {
    background: #F4F4F3;
}

.section-title-small {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width:575px) {
    .section-title > span {
        background: none;
        padding-right: 0;
    }

    .section-title:after {
        display: none;
    }
}

.slide {
    position: relative;
}

    .slide:before {
        content: "";
        width: 33%;
        display: block;
        height: 100%;
        background: rgba(0,0,0,0.75);
        background: -moz-linear-gradient(left, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
        background: -webkit-gradient(left top, right top, color-stop(0%, rgba(0,0,0,0.75)), color-stop(100%, rgba(0,0,0,0)));
        background: -webkit-linear-gradient(left, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
        background: -o-linear-gradient(left, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
        background: -ms-linear-gradient(left, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
        background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=1 );
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
    }

.slide-caption {
    position: absolute;
    top: 6em;
    left: 2em;
    width: 75%;
    z-index: 2;
}

    .slide-caption .bread {
        letter-spacing: 2px;
        text-transform: uppercase;
        color: white;
    }

        .slide-caption .bread a {
            text-shadow: 0 3px 6px rgba(0,0,0,.1);
        }

    .slide-caption h1,
    .slide-caption h2 {
        color: white;
        text-shadow: 0 3px 6px rgba(0,0,0,.1);
        font-size: 3rem;
        font-weight: 700;
    }

    .slide-caption p {
        color: white;
        text-shadow: 0 3px 6px rgba(0,0,0,.1);
    }

@media (max-width:992px) {
    .slide-caption {
        position: static;
        width: 100%;
        background: #F4F4F3;
        padding: 1rem;
    }

    .slide:before {
        display: none;
    }


    .slide-caption .bread,
    .slide-caption .bread a,
    .slide-caption p {
        color: initial;
        text-shadow: none;
    }

    .slide-caption h1,
    .slide-caption h2 {
        color: initial;
        text-shadow: none;
        font-size: 1.5rem;
        font-weight: 700;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .slide-caption {
        top: 2em;
        width: 50%;
    }

        .slide-caption h1,
        .slide-caption h2 {
            font-size: 1.2rem;
        }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    .slide-caption {
        top: 2em;
        width: 50%;
    }

        .slide-caption h1,
        .slide-caption h2 {
            font-size: 1.2rem;
        }
}

@media only screen and (min-device-width: 1366px) and (max-device-width: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    .slide-caption {
        top: 2em;
        width: 50%;
    }

        .slide-caption h1,
        .slide-caption h2 {
            font-size: 1.2rem;
        }
}

.owl-dots {
    width: 100%;
    text-align: center;
}

    .owl-dots .owl-dot {
        display: inline-block;
        width: 1em;
        height: 1em;
        margin: 0 5px;
        border-radius: 50%;
        background: #ddd !important;
        text-shadow: 0 3px 6px rgba(0,0,0,.1);
    }

        .owl-dots .owl-dot.active {
            background-color: #2d96cd !important;
        }

#slider .owl-dots {
    position: absolute;
    bottom: 2em;
    width: 100%;
    text-align: center;
    margin-top: 0;
}

    #slider .owl-dots .owl-dot {
        display: inline-block;
        width: 1em;
        height: 1em;
        margin: 0 5px;
        border-radius: 50%;
        background-color: #ddd;
        border: 1px solid #999;
        text-shadow: 0 3px 6px rgba(0,0,0,.1);
    }

        #slider .owl-dots .owl-dot.active {
            background-color: #2d96cd;
            border: 1px solid transparent;
        }

@media (max-width:768px) {

    #slider .owl-dots {
        right: 1rem;
        width: auto;
        text-align: right;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    #slider .owl-dots {
        right: 1rem;
        width: auto;
        text-align: right;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    #slider .owl-dots {
        right: 1rem;
        width: auto;
        text-align: right;
    }
}

@media only screen and (min-device-width: 1366px) and (max-device-width: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    #slider .owl-dots {
        right: 1rem;
        width: auto;
        text-align: right;
    }
}

.tab-macro-section {
    margin-top: 2em;
}

    .tab-macro-section .nav-tabs {
        border-bottom: 1px solid #ddd;
    }

    .tab-macro-section .nav-item a {
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 1.5em;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    @media (max-width:991px){
        .tab-macro-section .nav-item a{
            font-size:1em;
        }
    }

    .tab-macro-section .nav-link.active {
        border-color: #ddd #ddd #fff;
    }

        .tab-macro-section .nav-link.active {
            color: #212529 !important;
        }

    .tab-macro-section .nav-link:not(.active) {
        box-shadow: inset 0 -20px 17px -17px rgba(0,0,0,.1);
    }

        .tab-macro-section .nav-link:not(.active):hover {
            background: #f4f4f3;
            border-color: #f4f4f3;
        }

/* header */
header {
    border-bottom: 1px solid #ddd;
    background: white;
}

    header .navbar-brand {
        line-height: 90px !important;
    }

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

@media (min-width:576px) {
    #mainNav {
        display: none !important;
    }
}

@media (max-width:575px) {
    header .nav-item a {
        padding-bottom: 1rem;
        display: inline-block;
    }

    header .navbar-brand img {
        height: 48px;
    }
}

/* sidebar */

#sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    padding-top: 90px;
    z-index: 1;
    height: 100vh;
    width: 160px;
    background: white;
    border-right: 1px solid #ddd;
    box-shadow: 0 3px 15px rgba(0,0,0,.1);
}

    #sidebar-nav .nav > li {
        border-bottom: 1px solid #ddd;
    }

        #sidebar-nav .nav > li:last-child {
            border-bottom: 0;
        }

    #sidebar-nav a {
        text-align: center;
        color: inherit;
        font-weight: 700;
        font-size: .85rem;
        padding: 2rem 1rem;
    }

        #sidebar-nav a i {
            color: #2d96cd;
            font-size: 4em;
            display: block;
        }

        #sidebar-nav a:hover {
            background-color: #2d96cd;
            color: white;
        }

            #sidebar-nav a:hover > i {
                color: white;
            }

@media (max-width:991px) {
    #sidebar-nav {
        width: 90px;
    }

        #sidebar-nav a > span {
            display: none;
        }

        #sidebar-nav a i {
            font-size: 3rem;
        }
}

@media (max-width:575px) {
    #sidebar-nav {
        display: none;
    }
}

/* main */

#main {
    width: calc(100% - 160px);
    margin-left: 160px;
    padding-top: 90px;
}

@media (max-width:991px) {
    #main {
        width: calc(100% - 90px);
        margin-left: 90px;
    }
}

@media (max-width:575px) {
    #main {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* item corso o modello */

.item .img {
    display: inline-block;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

    .item .img:hover {
        box-shadow: none;
    }

.item .section {
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
}

.item h6 {
    font-weight: 700;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    white-space: nowrap;
}

.item p {
    font-size: .85rem;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    white-space: nowrap;
}

.item a:not(.img) {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: .85rem;
}

.item i {
    font-size: 3rem;
    float: left;
    color: #ddd;
}

/* slider video */

#slider-video {
    background: rgba(34,34,34,0);
    background: -moz-linear-gradient(top, rgba(34,34,34,0) 0%, rgba(34,34,34,1) 20%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(34,34,34,0)), color-stop(20%, rgba(34,34,34,1)));
    background: -webkit-linear-gradient(top, rgba(34,34,34,0) 0%, rgba(34,34,34,1) 20%);
    background: -o-linear-gradient(top, rgba(34,34,34,0) 0%, rgba(34,34,34,1) 20%);
    background: -ms-linear-gradient(top, rgba(34,34,34,0) 0%, rgba(34,34,34,1) 20%);
    background: linear-gradient(to bottom, rgba(34,34,34,0) 0%, rgba(34,34,34,1) 20%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222222', endColorstr='#222222', GradientType=0 );
    position: relative;
    margin-top: -72px;
    padding-bottom: 2em;
    z-index: 2;
}

    #slider-video h6 {
        color: white;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 3px 6px rgba(0,0,0,.1);
        padding-left: 2em;
    }

    #slider-video .owl-dot {
        margin-top: 2em;
    }

@media (max-width:991px) {
    #slider-video {
        background: #222;
        margin-top: 0;
        padding-top: 2rem;
    }

        #slider-video h6 {
            padding-left: 1rem;
        }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    #slider-video {
        margin-top: -46px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    #slider-video {
        margin-top: -46px;
    }
}

@media only screen and (min-device-width: 1366px) and (max-device-width: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
    #slider-video {
        margin-top: -57px;
    }
}

/* login */

form#login {
    border: 1px solid #ddd;
    background: white;
    box-shadow: 0 0 15px rgba(0,0,0,.1);
    padding: 2rem;
}

    form#login label {
        text-transform: uppercase;
        letter-spacing: 2px;
    }

/* search result */

#search-results h1{
    font-size:1.5rem;
}

#search-results h2{
    font-size:1rem;
}