﻿body {
    background-color: #e6e6e6;
}

.row{
    width: auto;
    margin-bottom: 0;
}

.small-container .row {
    margin: 0;
}

.megamenu .row {
    width: 100%;
}

.page-head {
    padding-top: 60px !important;
}

header.default {
    background: #1a1a1a;
}

header.default img.logo {
    height: auto;
}

header.default nav.primary {
    margin-top: 20px;
}

header.default nav.primary .nav-item i {
    font-size: 2em;
}

header.default .wrap {
    overflow: hidden;
    margin: 5px;
    margin: 10px 0;
}

header.default img.logo, header.default img.logo-white {
    height: 75px;     
}

nav.primary span {
    border: 1px solid #fff;
    padding: 14px 7px;
    border-radius: 100px;
    width: 50px;
    height: 50px;
    display: block;
    text-align: center;
}

.lang.selected {
    color: #da001a !important;
    text-decoration: none;
}

.lang.selected span {
    border-color: #da001a;    
}

header.default nav.primary .nav-item {
    color: #fff;
}

header.default.fixed img.logo, header.default.fixed img.logo-whitesez {
    height: 100px;
}

section {
    padding: 2em 0;
}

.cms-content {
    padding-top: 0;
}

.page-head {
    background: #1a1a1a !important;
}

.page-head h1 {
    font-size: 2em;
    font-weight:300;
}

.page-head h5,
section.servizi-speciali h5 {
    font-size: 1em;
    color: #fff !important;
}

.page-head h5 u,
section.servizi-speciali h5 u {
    text-decoration: none;
    border-bottom: 1px solid #da001a;
}

.page-head p {
    padding-top: 1.5em;
}

.cms-content h5 {
    font-size: 1em;
    color: #da001a;
    font-weight: bold;
}

.cms-content.wrap {
    padding-top: 50px;
}

.cms-content .mb100 {
    margin-bottom: 50px;
}

.btn.border {
    border-width: 1px;
    border-radius: 100px;
}

.btn.border.orange {
    border-color: #da001a;
    background: #da001a;
    color: #fff;
}

.btn.border.orange:hover{
    background-color: #000;
    color: #fff !important;
    border-color: #000;
}

.btn.border.white:hover {
    border-color: #da001a;
    background-color: transparent;
    color: #da001a !important;
}

.btn.border.white {
    border-color: #fff;
    background: transparent;
    color: #fff;
}

section.servizi-speciali {
    background-color: #1a1a1a;
}

section.servizi-speciali .servizio img{
    margin: 0 auto;
}

section.servizi-speciali .servizio a,
section.visitatori .visit-as a {
    color: #fff;
}

section.servizi-speciali .servizio a:hover,
section.visitatori .visit-as a:hover {
    color: #da001a !important;
    text-decoration: underline !important;
}

.vline {
    border-right: 1px solid #e6e6e6;
    height: auto;
    min-height: 188px;
}

.contatti-section {
    background: #1a1a1a;
    padding: 2em;
}

.contatti-section p {
    color: #fff;
}

.contatti-section ul li {
   float: left;     
   padding: 0.5em;
   list-style-type: none;
}

.social-mobile {
    display: none;
}

.footer-section .links-mobile {
        display: none;
    }

.footer-section {
    background: #e6e6e6;
    text-align: center;
    font-size: 0.7em;
}

.footer-section .container-fluid {
    margin: 0;
    padding: 0;
}

.footer-section .brands-new{
    padding: 2em 0;
}

.footer-section .brands-new img {
    height: 100px;
    max-width: 100%;
}

.footer-section .social {
    float: right; 
}

.footer-section .social h6 {
    color: #fff;
    padding: 0 0.5em;
}

.footer-section .links{
    padding: 1em 0.5em 0 0;
}

.footer-section .links a {
    color: #fff;
}

.footer-section .row {
    width: 100%;
    margin: 0;
}



/*HOMEPAGE**************/

section.counter-area {
    background-image: url('/img/counter-bg-blue.jpg');
    background-size: cover;
}

#clockdiv {
    font-family: 'Black Ops One', cursive;
    color: #fff;
    display: inline-block;
    text-align: center;
    font-size: 30px;
    font-weight: 400;
}

#clockdiv > div{
	padding: 10px;
	border-radius: 3px;
	display: inline-block;
}

#clockdiv div > span{
	border-radius: 3px;
	display: inline-block;
    font-size: 80px;
    text-align:center;
}

   #clockdiv div > span.seconds {
        width: 125px;
        text-align:left;
    }


section.extra {
    background: #fff;
}

section.extra h3 {
    margin-bottom: 0;
} 

section.extra a h3 {
    color: #000;
} 

section.extra a h3:hover{
    color: #da001a !important;
}

section.extra a:nth-child(2) .vline-black
{
    border-right: transparent;
}

.vline-black {
    border-right: 1px solid #000;
}

.gif-container{
    background: red;
}

.smalltext{
	padding-top: 5px;
	font-size: 16px;
    float: left;
    width: 122px;
    color: #fff;
}

.captions {
    margin: 0 auto;
    display: inline-block;
    position: relative; 
    top: -30px;
}

section.visitatori {
    background: #1a1a1a;
}

section.visitatori h3,
section.visitatori p {
    color: #fff;
    margin-bottom: 0.5em;
}

section.visitatori .buttons.tl {
    margin-top: 2em;
}

section.visitatori .visit-as img{
    margin: 0 auto;
}

.gallery {
    background: #fff !important;
}

.gallery h3.section-title {
    color: #1a1a1a !important;
}

.gallery-archive.btn.border.white {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.gallery-archive.btn.border.white:hover {
    background-color: transparent;
    color: #da001a !important;
}

.no-padding {
    padding: 0;
}

.motolive img {
    height: auto !important;
    margin: 0 auto;
}

.motolive .btn {
    text-align: center !important;
}

.motolive .wrap {
    overflow: hidden;
}

 header.default nav.primary.nav-mobile .lang{
       display: none;
    }

@media (max-width: 767px){

    .vline {
        border-right-color: transparent;
    }

    nav.primary span {
        padding: 13px 6px;
        height: 40px;
        width: 40px;
    }

    .footer-section .social {
        padding-top: 2em;
    }

    #clockdiv div > span{
        font-size: 40px;
    }

        #clockdiv div > span.seconds {
            width: 55px;
            text-align: left;
        }

    .smalltext{
	    font-size: 12px;
        width: 50px;
    }

    .social-mobile {
        display: block;
        margin-bottom: 2em;
    }

    .social-desktop {
        display: none;
    }

    .footer-section .social-mobile .social   {
        float: none;
    }

    .footer-section .social-mobile .social ul  {
        margin: 0;
        width: 100%;
    }

    .footer-section .links-desktop {
        display: none;
    }

    .footer-section .links-mobile {
        display: block;
    }

    .vline-black {
        border-right: transparent;
        padding-bottom: 2em;
    }

     header.default nav.primary.nav-desktop .lang{
       display: none;
    }

      header.default nav.primary.nav-mobile .lang{
       display: inline-block;
    }

      header.default.fixed img.logo, header.default.fixed img.logo-whitesez {
    height: 80px;
}

}

@media (max-width: 991px) {

    .extra .vline-black {
        border-right: transparent;
    }

    .bottom-line{
        border-top: 1px solid #ffffff;
        padding: 0.5em 0;
        font-size: 16px;
    }
}


@media (min-width: 768px) and (max-width: 1024px) {

    .vline {
        min-height: 10.1em;
    }
}

@media (max-width: 449px) {

    .page-head {
        margin-top: 100px;
    }
    
}





div.cms-content div.gallery {
    display: inline-block;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background: none;
    background-color: transparent!important;
}

    div.cms-content div.gallery img {
        width: 132px;
        height: 132px;
        background-color: #ffffff;
        background-position: center center;
        box-sizing: border-box;
        background-size: cover;
        background-repeat: no-repeat;
        border: 3px solid #cfcfcf !important;
        float: left;
        display: inline-block;
        margin: 5px;
    }

div.cms-content div.galleryclear {
    clear: both;
    width: 100%;
}
