

/* generic
===========================================*/

body{
    background: #2e75cf; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIzJSIgc3RvcC1jb2xvcj0iIzJlNzVjZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQzJSIgc3RvcC1jb2xvcj0iIzA4MWE1NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -moz-linear-gradient(top,  #2e75cf 3%, #081a57 43%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(3%,#2e75cf), color-stop(43%,#081a57)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #2e75cf 3%,#081a57 43%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #2e75cf 3%,#081a57 43%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #2e75cf 3%,#081a57 43%); /* IE10+ */
    background: linear-gradient(to bottom,  #2e75cf 3%,#081a57 43%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e75cf', endColorstr='#081a57',GradientType=0 ); /* IE6-8 */
    font-weight: 400;
}
p {font-size: 15px;}
em {font-size: 13px;}
p, em{
    color: #081a57;
    line-height: 18px;
}
a{
    color: #a60c2f;
}
a:hover{
    color: #85021F;
}
h1{
    font-size: 26px;
    font-family: Georgia, Times, "Times New Roman", serif;
}
h2{
    font-size: 20px;
    font-family: Georgia, Times, "Times New Roman", serif;
}

h3, .h3 {
    font-size: 18px;
    font-family: Georgia, Times, "Times New Roman", serif;
}

h5, h6{
    margin: 0;
}
li{
    list-style-type: none;
}
header,
nav{
    background-color: white;
}

.container{
    background-color: white;
}
.label{
    display: block;
    margin-bottom: 10px;
    padding: 5px;
    text-transform: uppercase;
    border: 1px solid #2e75cf;
    color: #2e75cf !important;
}
.label h6{

}
.label p{
    color: #2e75cf;
    text-transform: uppercase;
    margin: 0;
}


/* buttons */

.btn:focus,
.btn:active:focus,
.btn.active:focus {
    outline: 0px;
    outline: 0px;
    outline-offset: 0px;
    color: #ffffff;
}
.btn{
    text-transform: uppercase;
    padding: 2px 5px;
}

.btn-back {
    color: #fff;
    background-color: #A60C2F;
    border-color: #A60C2F;
    margin-top: 10px;
}
.btn-settore {
    color: #fff;
    background-color: #bc69b7;
    border-color: #bc69b7;
}
.btn-corporate {
    color: #fff;
    background-color: #3DA7CF;
    border-color: #3da7cf;
}
.btn-marca {
    color: #fff;
    background-color: #2e75cf;
    border-color: #2e75cf;
}
.btn-back:hover,
.btn-marca:hover,
.btn-corporate:hover,
.btn-categoria:hover,
.btn-settore:hover,
.btn-back:focus,
.btn-marca:focus,
.btn-corporate:focus,
.btn-categoria:focus,
.btn-settore:focus{
    color: #fff;
}
.btn-categoria {
    color: #fff;
    background-color: #666db9;
    border-color: #666db9;
}
.btn-generico {
    color: #fff;
    background-color: #a60c2f;
    border-color: #a60c2f;
    padding: 6px 4px;
}
.btn-generico:hover{
    color: white;
    background-color: #85021F;
}
.btn-altro{
    color: #fff;
    background-color: #a60c2f;
    border-color: #a60c2f;
}
.btn-altro:hover{
    color: white;
    background-color: #85021F;
}
.btn-altro:focus{
    color: white;
    background-color: #85021F;
}
.btn-media,
.btn-data,
.btn-pdf,
.btn-rss,
.btn-advanced-search{
    color: #a60c2f;
    background-color: #ffffff;
    border-color: #a60c2f;
}
.btn-media:hover,
.btn-data:hover,
.btn-pdf:hover,
.btn-rss:hover,
.btn-advanced-search:hover{
    color: white;
    background-color:#a60c2f;
}
.btn-media:focus,
.btn-data:focus,
.btn-pdf:focus,
.btn-rss:focus,
.btn-advanced-search:focus{
    color: #a60c2f;
    background-color: #ffffff;
}
.btn-media:active,
.btn-data:active,
.btn-pdf:active,
.btn-rss:active,
.btn-advanced-search:active,
.btn-advanced-search.active{
    background-color: #a60c2f;
    color: white;
}
.btn-marca-select{
    width: 140px;
    padding: 25px;
}
.btn-marca-select.active,
.btn-marca-select:active,
.btn-marca-select:hover{
    border: 1px solid #a60c2f ;
    color: #a60c2f;
}

.badge{
    font-weight: 200;
}
.btn-xs, .btn-group-xs>.btn {
    margin-bottom: 10px;
    font-size: 10px;
}

.multiselect-search {
    color: #a60c2f;
}
.input-group-addon {
    background-color: #a60c2f;
}




/* header
===========================================*/
header .navbar-default{
    background-color: #ffffff;
}
#header-img{
    position: relative;
}
#header-img img{
    width: 100%;
}
#subtitle{
    color: #010c3a;
    margin-top: 27px;
}
#overlay{
    font-size: x-large;
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px;
    height: 100%;
    width: 380px;
    background-color: rgba(0,0,0, 0.2);
    z-index: 100;
}
#overlay p{
    position: absolute;
    bottom: 0px;
    right: 15px;
    color: white;
    font-size: 20px;
}
.user>li {
    float: left;
    margin-left: 10px;
    margin-top: 25px;
}


/* navbar
===========================================*/
.navbar{
    margin-bottom: 0;
    border-radius: 0;
    border: 0;
    min-height: 20px;
}
.navbar-default
.navbar-nav>.active>a,
.navbar-default
.navbar-nav>.active>a:hover,
.navbar-default
.navbar-nav>.active>a:focus {
    color: #a60c2f;
    background-color: #ffffff;
}
.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    text-transform: uppercase;
    padding-top: 8px;
    padding-bottom: 8px;
}
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    color: #a60c2f;
}
.navbar-default{
    background-color: #010c3a;
    border-color: #ffffff;
}
.nav>li>a>img {
    max-width: 100%;
}


/* search
===========================================*/

.input-group-lg{
    display: table;
}
.form-control{
    -webkit-box-shadow: inset 2px 2px 5px 0px rgba(0, 0, 0, 0.23);
    -moz-box-shadow:    inset 2px 2px 5px 0px rgba(0, 0, 0, 0.23);
    box-shadow:         inset 2px 2px 5px 0px rgba(0, 0, 0, 0.23);
}
.form-control:focus {
    border-color: #a60c2f;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(233, 102, 102, 0.6);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(233, 102, 102, 0.6);
}
.form-control::-webkit-input-placeholder {
    color: #999999;
    text-shadow: 1px 0 #ffffff;
}
.input-group-lg>.form-control,
.input-group-lg>.input-group-addon,
.input-group-lg>.input-group-btn>.btn {
    border-radius: 0;
}
#search .form-control{
    color: #999999;
    font-size: 13px;
    background-color: #f5f5f5;
    border: 0;
}
#search .btn-lg, #advanced-search .btn-lg{
    background-color: #a60c2f;
    color: white;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
}
#search.panel{
    margin-bottom: 0;
    border-radius: 0;
    border: 0;
}
#search .panel-body {
    padding: 15px 0;
}
.filter{
    margin-top: 10px;
}
.nav-pills>li>a {
    padding-top: 0;
    padding-right: 5px;
    color: #a60c2f;
}
.nav-pills>li>a:hover{
    background-color: transparent;
    color: #85021F;
}
#marche-form img {
    display: block;
}
figure img{
    width: 100%;
    border: 1px solid #ffffff;
    padding: 13px;
    margin-bottom: 10px;
}
.dropdown-menu{
    -webkit-box-shadow: 0 0px 0px rgba(0,0,0,0);
    box-shadow: 0 0px 0px rgba(0,0,0,0);
}
.multiselect-container input[type=checkbox]{
    display: none;
}
button.btn-marca + .dropdown-menu>.active>a{
    background-color: #2e75cf;
}
button.btn-settore + .dropdown-menu>.active>a{
    background-color: #bc69b7;
}
button.btn-categoria + .dropdown-menu>.active>a{
    background-color: #666db9;
}
.btn-group{
    width:100%;
}

/* pagination */
.pagination>li>a{
    color: #85021F;
}
.pagination>li>a:hover{
    color: #85021F;
}
.pagination>.active>a, .pagination>.active>a:hover{
    background-color: #85021F;
    border: 1px solid #ddd;
}

/* content
===========================================*/

#main{
    background-color: white;
}


/* section
===========================================*/

section{
    margin-bottom: 20px;
}
.section-title{
    padding: 10px 0;
    margin-bottom: 20px;
}
article .label{
    text-transform: uppercase;
    background-color: #cccccc;
    color: #2e75cf;
}
.footer>div{
    margin-bottom: 10px;
}


/* article
===========================================*/

.data {
    color: grey;
}


/* article detail plugin */
article{
    margin-top: 5px;
    border-bottom: 1px dotted #cccccc;
}
article h1,
article h2{
    color: #a60c2f;
    font-weight: 300;
    margin-top: 0;
}
.details        ,
.primary-text   ,
.tags            {
    margin-bottom: 10px;
    text-align: justify;
}

/* in mobile all columns of detail article are set to one */

.column{
    -webkit-column-gap:15px;
    position: relative;
}

.single{
    -webkit-column-count:1; /* Chrome, Safari, Opera */
       -moz-column-count:1; /* Firefox */
            column-count:1;

}
.two{
    -webkit-column-count:1; /* Chrome, Safari, Opera */
       -moz-column-count:1; /* Firefox */
            column-count:1;
}
.three{
    -webkit-column-count:1; /* Chrome, Safari, Opera */
       -moz-column-count:1; /* Firefox */
            column-count:1;
}



.tags img{
    padding: 0;
}
.article-detail-img{
    width: 100%;
}
.article-detail-img-right{
    width: 100%;
}

/* article list plugin */
.article-list-img{
    width: 100%;
    margin: 10px 0;
}
.glyphicon{
    color: #ffffff;
}
.glyphicon-ratings{
    color: #081a57;
}

span.glyphicon-preference-button{
    color: #2e75cf;
    padding: 5px;
    border: 1px solid #2e75cf;
    border-radius: 4px;
    margin-top: 3px;
}



/* advanced search
===========================================*/

.form-horizontal .control-label{
    margin-bottom: 10px;
}
#advanced-search{
    margin: 10px 0;
}

/* UI data slider
===========================================*/

.ui-rangeSlider-bar {
    background: #a60c2f;
}
.ui-rangeSlider-container,
.ui-rangeSlider-arrow,
.ui-rangeSlider-label {
    background: #cccccc;
    background: -moz-linear-gradient(top,#cccccc 0,#cccccc 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#cccccc),color-stop(100%,#cccccc));
}
.ui-rangeSlider-label-inner {
    border-top: 10px solid #cccccc;
}
.ui-rangeSlider-container,
.ui-rangeSlider-arrow {
    border-top: solid 1px #cccccc;
    border-bottom: solid 1px #cccccc;
}
.ui-rangeSlider-rightArrow {
    border-right: 0px;
}
.ui-rangeSlider-leftArrow {
    border-left: 0px;
}
.ui-rangeSlider-label {
    color: #081a57;
}


/* aside
===========================================*/

aside{
    padding: 10px 20px;
}
aside .panel{
    border: 1px solid #f5f5f5;
    position: relative;
    background-color: #E7E7E7;
}
aside .arrow{
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #E7E7E7 transparent transparent;
    top: 45%;
    left: -9px;
}
aside h1{
    margin-top: 0;
    color: #a60c2f;
    font-weight: 400;
    font-size: 15px;
}

#porte-aperte,
#new-entry{
    margin-top: 20px;
}
.table{
    background-color: #ffffff;
}
tr{
    padding-top: 5px;
}
.glyphicon-chevron-right,
.glyphicon-search,
.glyphicon-chevron-down,
.glyphicon-chevron-up{
    color: white;
}
.btn-media .glyphicon-chevron-down,
.btn-data .glyphicon-chevron-down{
    color: #a60c2f;
}
.btn-media .glyphicon-chevron-down:hover,
.btn-data .glyphicon-chevron-down:hover{
    color: #ffffff;
}
.table>tbody>tr:first-child>td{
    border-top: 0px;
}

/* FOOTER
===========================================*/
#footer{
    height: 70px;
    background-color: #081a57;
    color:#ffffff;
    margin-left: -15px;
    margin-right: -15px;
    padding: 20px;
}
#footer a{
    color:#ffffff;
    text-decoration: none;
}
#footer p{
    color:#ffffff;
}


/* RESPONSIVE
===========================================*/

/* from tablets */
@media(min-width: 768px){
    .container{ width: 1024px;}
    #overlay span{font-size: 30px}
    #search .form-control{font-size: 20px;}
    .label{display: inline}
    .form-control::-webkit-input-placeholder {color: #cccccc;}
    .article-detail-img{width: 100%;
                        margin-right: 10px;
                        margin-bottom: 10px;
                        margin-top: 3px;}

    .btn-marca-select{width: 135px;padding: 23px;}
    .article-detail-img-right{width: 100%;
                              margin-bottom: 10px;
                              margin-right: 10px;
                              margin-top: 3px;}

    /* you can set from tablet to up the number of column of a detail article */

    .single{
    -webkit-column-count:1; /* Chrome, Safari, Opera */
       -moz-column-count:1; /* Firefox */
            column-count:1;
    }
    .two{
        -webkit-column-count:2; /* Chrome, Safari, Opera */
           -moz-column-count:2; /* Firefox */
                column-count:2;
    }
    .three{
        -webkit-column-count:3; /* Chrome, Safari, Opera */
           -moz-column-count:3; /* Firefox */
                column-count:3;
    }

}
/* only tablets */
@media(min-width: 768px) and (max-width: 992px){
    .btn-generico{font-size: xx-small}
    .navbar-default .navbar-nav>li>a {font-size: 11px}
}

/* from tablets to small desktop */
@media(min-width:992px) and (max-width:1200px){
    .btn-generico{font-size: xx-small; padding: 6px 12px}
}

/* from small desktops */
@media(min-width: 992px){
    .tags img{max-width: 40px; margin-bottom: 0}
}

.stButton .stFb,
.stButton .stTwbutton,
.stButton .stMainServices {
    height: 22px !important;
}

/* label */
.label.label-settore {
    color: #fff !important;
    background-color: #BC69B7;
    border-color: #BC69B7;
    font-size: 10px;
    margin: 2px;
    padding: 2px 5px;
    font-weight: normal;
}

.label.label-categoria {
    color: #fff !important;
    background-color: #666DB9;
    border-color: #666DB9;
    font-size: 10px;
    margin: 2px;
    padding: 2px 5px;
    font-weight: normal;
}

.label.label-corporate {
    color: #fff !important;
    background-color: #3DA7CF;
    border-color: #3DA7CF;
    font-size: 10px;
    margin: 2px;
    padding: 2px 5px;
    font-weight: normal;
}

.label.label-brand {
    color: #fff !important;
    background-color: #2E75CF;
    border-color: #2E75CF;
    font-size: 10px;
    margin: 2px;
    padding: 2px 5px;
    font-weight: normal;
}

/* Open House style */
.open-house-article thead {
     background: #010c3a;
}

.open-house-article td {
     border: 1px solid #010c3a !important;
}

.open-house-article h4 {
     color: white;
}

.open-house-article table {
     font-size: 15px;
}

.open-house-article table {
    font-family: TimesNewRoman,Times New Roman,Times,Baskerville,Georgia,serif;
}

