@import url(https://fonts.googleapis.com/css?family=Montserrat);

/* OVERRIDE base.css*/

.row {
    max-width: 94%;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; }
/* END OVERRIDE base.css*/

body, html {
    height: auto;
    overflow: auto;
}

header {
    text-align: center;
    padding:15px;
    height:80px;
    background-color: #DC143C;
}

#breadcrumb {
    padding: 5px;
    padding-left: 3%;
    width: 100%;
    background-color: #ccc;
    font-size: 14px;
}

#breadcrumb a, #breadcrumb a:hover, #breadcrumb a:active, #breadcrumb a:active:hover {
    color:#000;
}

header img {
    height: 50px;
    width: auto;
}

#searchForm {
    position: absolute;
    top: 20px;
    width: 100%;
    height: 40px;
    right: 20px;
    font-size: 14px;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
}

#searchForm input {
    width:200px !important;
}

#searchForm img {
    margin-left: 15px;
}

#container {
    background-color: #fff;
}

footer {
    position: fixed;
    text-align: center;
    bottom: 0px;
    padding:3px;
    width: 100%;
    color:#fff;
    background-color: #DC143C;
    font-size: 10px;
}

nav {
    float:left;
    text-align: center;
    min-height: 100vw;
    margin-top: 20px;
}

nav ul {
    list-style: none;
    width: auto;
    margin:0px;
}

nav ul li {
    text-align: center;
    color:#fff;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;

}

nav ul li img {
    margin-top: 5px;
    width: 80%;
    margin-bottom: 5%;
    margin-top: 5%;
    height: auto;
}

nav ul li:hover img {
    width: 90%;
    margin-bottom: 0%;
    margin-top: 0%;
    -webkit-transition: all 100ms linear;
    -moz-transition: all 100ms linear;
    -o-transition: all 100ms linear;
    -ms-transition: all 100ms linear;
    transition: all 100ms linear;
}

nav ul li.active img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

nav ul li a {
    display: block;
}

main {
    float:left;
    padding-top: 2%;
    padding-bottom: 2%;
    background-color: #fff;
}

main.totale {
    width:100%;
    padding:2%;
}

#centrale {
    float:left;
}

#centrale.totale {
    width: 100%;
}

#sidebar {
    float:left;
}

button, .button {
    border-radius: 10px;
    color:#fff;
    background-color:#2d2d2d;
    width: 100%;
}

input[type='file'] {
    background-color: #fff;
}

input[type='submit'], input[type='button'] {
    background-color: #2d2d2d;
    border:1px solid #2d2d2d;
    color:#fff;
    border-radius: 10px;
    padding:10px;
}

button:hover, .button:hover, button:active, .button:active, button:hover:active, .button:hover:active {
    color:#fff;
    background-color:#DC143C;
    border-color: #DC143C;
}

#map {
    width:100%;
    height: 300px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color:#eeeeee;
}

input, select, textarea {
    border-radius: 10px !important;
}

table tr td input[type='text'], table tr td select {
    margin: 0px;
}

table tr th, table tr td {
    text-align: center !important;
    border-right: 1px solid #ccc;
}

table tr:hover td {
    background-color: #aaa;
}

table tr:hover th, table tr th {
    background-color: #2d2d2d;
    color:#fff;
}