@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300);

/*
    #1a518e //blu dea
    #0b2150 //blu sfondo pannello guida alla scelta
*/
body {
    background: #1a518e;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.home {
    background: #e3e4e6;
}
@media (min-width: 992px) {
    body {
        background-image: url('/images/bg-medium.png');
        background-repeat: no-repeat;
        background-position: center top;
    }
}
@media (min-width: 1200px) {
    body {
        background-image: url('/images/bg-large.png');
    }
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
    line-height: 1.1em;
}
h2 {
    color: #1a518e;
    text-transform: uppercase;
    font-size: 1.4em;
}
.div-clickable h3 {
    color: #1a518e;
}
.bg-white {
    background-color: white !important;
}
.bg-gray {
    background-color: #666666 !important;
}
.p-3-lines { height: 5em; display: inline-block }
@media (min-width: 1200px) {
    body.home:before {
        background: url('/images/bg-home.jpg') no-repeat center top;
        content: ' ';
        position: fixed;
        z-index: -1;
        width: 100%;
        height: 100%;
    }
}

.menu-top {
    background: white;
    padding-top: 1em;
    padding-bottom: 1em;
    border-radius: 0;
    margin-bottom: 0;
    }
    .menu-top .img-logo {
        padding-top: 15px;
        padding-left: 15px;
    }
.carousel {
    border-top: 6px solid #1a518e;
    border-bottom: 6px solid #1a518e;
}
.img-responsive,
.thumbnail>img,
.thumbnail a>img,

/* CAROUSEL */

.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
    width:100%
}
.carousel-caption {
    top: 0;
    left: 10%;
    right: 10%;
}
.carousel-caption h1,
.carousel-caption p {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: lighter;
    letter-spacing: 0.1em;
    color: #c5c5c5;
    font-size: 1.2em;
    text-align: right;
}
.carousel-caption h1 {
    font-weight: 300;
    font-size: 2.6em;
    padding-bottom: 0.5em;
}
.carousel-caption a {
    color: white;
}

/* Usa questo stile per redendere un div cliccabile... serve un href interno... solo uno */

.div-clickable {
    cursor: pointer;
}
.div-clickable:hover {
    opacity: 0.8;
}

/* BOX GUIDA ALLA SCELTA */
.box-guida {
    background: #0b2150;
    padding: 1em 0;
    }
    .box-guida h1,
    .box-guida h2 {
        font-family: 'Roboto Condensed', sans-serif;
        font-weight: lighter;
        color: white;
        text-align: center;
        margin-bottom: 1em;
    }
    .box-guida h2 {
        font-size: 1.4em;
        margin-bottom: 0.2em
    }
    .box-guida p {
        font-size: 0.9em;
        letter-spacing: 0.05em;
        padding-left: 0.5em;
        padding-right: 0.5em;
        opacity: 0.7;
    }
    .box-guida p a {
        color: white;
    }
    .box-guida .box-scelta {
        display: inline-block;
        width: 30%;
        margin-left: 1.5%;
        margin-right: 1%;
        text-align: center;
        color: white;
        padding-top: 1.5em;
        padding-bottom: 0.5em;
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2066a0+0,113f70+99 */
        background: #2066a0; /* Old browsers */
        background: -moz-radial-gradient(center, ellipse cover,  #2066a0 0%, #113f70 99%); /* FF3.6+ */
        background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#2066a0), color-stop(99%,#113f70)); /* Chrome,Safari4+ */
        background: -webkit-radial-gradient(center, ellipse cover,  #2066a0 0%,#113f70 99%); /* Chrome10+,Safari5.1+ */
        background: -o-radial-gradient(center, ellipse cover,  #2066a0 0%,#113f70 99%); /* Opera 12+ */
        background: -ms-radial-gradient(center, ellipse cover,  #2066a0 0%,#113f70 99%); /* IE10+ */
        background: radial-gradient(ellipse at center,  #2066a0 0%,#113f70 99%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2066a0', endColorstr='#113f70',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
        }
        .box-guida .box-scelta img {
            max-width: 100%;
        }
    .box-categorie img {
        width: 64px;
        margin: 2em 0.5em 1em;
    }
@media screen and (max-width: 767px) {
    .box-guida .box-scelta {
        width: 90%;
        margin-left: 5%;
        margin-bottom: 5%;
    }
}

/**/
.row-white {
    background: white;
    margin-left: 0px;
    margin-right: 0px;
}
.home-center-title h3 {
    border-bottom: 1px solid #1a518e;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: lighter;
    font-size: 2em;
    color: #1a518e;
    text-align: center;
    height: 0.6em;
    margin-bottom: 1.6em;
    }
    .home-center-title h3 span {
        background: white;
        padding: 0 15px;
    }

.row-posts-preview div:first-child .row div {
    //background: #f5f5f5;
}
.row-posts-preview h2 {
    text-transform: none;
}
.row-posts-preview p {
}
.row-posts-preview .more {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 15px;
}
.bg-light-gray {
    background: #f5f5f5;
    height: 300px;
}
.box-latest-news {
    border: 2px solid #1a518e;
    height: 300px;
    padding: 15px;
}
.box-latest-news h4 {
    margin-top: 0;
    text-align: center;
    color: #1a518e;
    font-size: 1.2em;
}
.box-latest-news p {
    line-height: 1.5em;
    font-size: 0.9em;
    padding-top: 15px;
    }
    .box-latest-news p a {
        color: #333333;
    }
.navbar-default {
    border: 0;
    border-bottom: 4px solid #666666;
    }
    .navbar-default .glyphicon-align-justify {
        margin-top: 15px;
        margin-right: 15px;
    }
.nav-tabs { border-bottom: 0; }
.nav-tabs-blue {
    background: #1a518e;
    height: 41px !important;
    }
    .nav-tabs-blue li:first-child a {
        font-size: 1.5em;
        padding-top: 0.2em;
        padding-bottom: 0;
        font-weight: lighter;
        letter-spacing: 0.1em;
        padding-left: 20px;
    }
    .nav-tabs-blue li a {
        color: white;
        margin-right: 0;
        border: 0;
    }
    .nav-tabs-blue li:hover, .nav-tabs-blue li:hover a {
        background: rgba(255,255,255,0.3);
        border-radius: 0;
        border: 0;
    }
    .nav-tabs-blue li.active a {
        background: rgba(0,0,0,0.3);
        color:  white;
        border: 0;
    }
    .nav-tabs-blue li:first-child a:hover {
        background: #1a518e !important;
        border-color: #1a518e;
    }
    .nav-tabs-blue li.active a:hover {
        background: #1a518e;
        color:  white;
        border: 0;
    }

    .bg-gray li:hover, .bg-gray li:hover a {
        background: rgba(0,0,0,0.1);
    }
    .bg-gray li:first-child a:hover {
        background: #666666 !important;
        border-color: #666666;
    }
    .bg-gray li.active a:hover {
        background: #666666;
    }
.nav-tabs-product>li>a {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 0.9em;
}
.blogItemDate {
    color: lightgrey;
}
.list1 {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #1a518e;
}
.list1:last-child {
    border-bottom: 0px;
}
.btn-group-pager .btn-group a {
    font-size: 0.8em;
}

/* PRODOTTI */
.productChart h2 {
    font-size: 3em;
}
.productChart h1 {
    margin-top: 0;
    font-size: 1.2em;
    margin-bottom: 30px;
}
.tab-pane {
    border: 1px solid #dddddd;
    padding: 1.5em;
}
@media (max-width: 480px) {
    .nav-tabs > li {
        float:none;
        border: 1px solid #dddddd;
    }
    .nav-tabs>li>a, .nav-tabs>li>a:hover, .nav-tabs>li>a:focus {
        border-radius: 0;
        margin-right: 0;
    }
    .nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
        border: 0;
        background: rgba(0,0,0,0.1);
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .nav-tabs > li {
        font-size:0.9em;
    }
}
/* ACCESSORI */
.accessoriesList {
    background: url('/images/bg_accessories.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* GUIDA */
.guide h1 {
    text-align: center;
    font-size: 1.4em;
    color: #1a518e;
}
/* MENU */

#collapseMenu a { color: white; }
#collapseMenu .dropdown-menu>li>a { color: #1a518e; }
#collapseMenu .nav .open>a, #collapseMenu .nav .open>a:active, #collapseMenu .nav .open>a:hover, #collapseMenu .nav .open>a:focus
#collapseMenu .nav>li>a:active, #collapseMenu .nav>li>a:hover, #collapseMenu .nav>li>a:focus
{
    background-color: #1b61a3;
}
#collapseMenu .navbar-form {
    margin-left: 0; margin-right: 0;
}
.dropdown-menu .row {
    padding: 1em 1.5em 0 !important;
    min-width: 720px !important;
    }
    .dropdown-menu .row .col-xs-6 {
        padding-bottom: 1em;
    }

/* FORM */
#privacy {
    font-size: 0.8em;
}

/* FOOTER */
.footer {
    background: #cccccc;
    color: #1a518e;
    padding: 1em 0;
    font-size: 0.8em;
    }
    .footer .logo {
        position: absolute;
        right: 3em;
    }
#social { padding-right: 20px;  height: 40px; margin-bottom: 10px; text-align: right;  }
.social-facebook, .social-youtube, .social-googleplus, .social-linkedin, .social-twitter { display:inline-block; margin:1px; opacity:0.4; filter: alpha(opacity = 40); background-image:url(/images/social-black.png); background-position:top left; width:36px; height:36px; }
.social-facebook:hover, .social-youtube:hover, .social-googleplus:hover, .social-linkedin:hover, .social-twitter:hover { opacity:1; filter: alpha(opacity = 100); background-image:url(/images/social.png); }
.social-facebook { background-position: 161px 0; }
.social-youtube { background-position: -125px 0; }
.social-googleplus { background-position: -84px 0; }
.social-linkedin { background-position: -209px 0; }
.social-twitter { background-position: -42px 0; }
@media screen and (max-width: 767px) {
    .footer .col-xs-12:first-child {
        padding-bottom: 20px;
    }
    #social {
        text-align: center;
        padding-left: 20px;
        margin-top: 2em;
    }
    .footer .logo {
        text-align: center;
        position: relative;
        left: 50%;
        margin-left: -65px;
    }
    .panel-network {
        min-height: 285px;
    }
    .modal-dialog {
        max-width: 100%;
    }
}
.panel-network address {
    margin-bottom: 0;
}
@media screen and (min-width: 768px) {
    .panel-network {
        min-height: 281px;
    }
}
@media screen and (min-width: 992px) {
    .panel-network {
        min-height: 261px;
    }
}
@media screen and (min-width: 1200px) {
    .panel-network {
        min-height: 245px;
    }
}
