@import url(https://fonts.googleapis.com/css?family=Titillium+Web:400,600);
@import url(https://fonts.googleapis.com/css?family=Ubuntu);

body {
    font-family: 'Titillium Web', sans-serif;
}

body a {
    color:#9e1111;
}
body a:hover {
    color:#6699ff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu', sans-serif;
}

#container {
    height: auto;
    overflow: auto;
}

#header {
    text-align: center;
    padding:5px;
    margin:0px;
    background-color: #eee;
    color:#000;
    font-size: 40px;
    height: auto;
}

#breadcrumb {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    padding:5px;
    padding-left: 3%;
    padding-bottom: 2px;
    padding-top: 2px;
    background-color: #ccc;
}

#breadcrumb a {
    color:#000;
}

nav {
    float:left;
    width:10%;
    padding: 1%;
    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;
    width: 90%;
    padding: 20px;
    height: auto;
    overflow: auto;
}

#centrale {
    width:73%;
    float:left;
    padding: 1%;
    padding-bottom: 50px;
}

#laterale {
    width: 27%;
    float: left;
    padding: 1%;
    padding-left: 2%;
    border-left: 1px solid #ccc;
    min-height: 100vw;
    padding-bottom: 50px;
}

#footer {
    position: fixed;
    width: 100%;
    bottom: 0px;
    padding: 5px;
    background-color: #eee;
    color:#000;
    border-top: 1px solid #aaa;
}

#imgLogged {
    position: fixed;
    bottom: 40px;
    left: 15px;
    width: auto;
    height: 65px;
}

button {
    width: 100%;
    background-color: #ccc;
    color:#000;
    font-family: 'Ubuntu', sans-serif;
}

input[type='submit'] {
    background-color: #ccc;
    border:1px solid #aaa;
    width: 100%;
    padding: 2%;
    color:#000;
    -webkit-transition: all 100ms linear;
    -moz-transition: all 100ms linear;
    -o-transition: all 100ms linear;
    -ms-transition: all 100ms linear;
    transition: all 100ms linear;
    font-family: 'Ubuntu', sans-serif;
}

input[type='submit']:hover {
    background-color: #2d2d2d;
    color: #fff;
}

button:hover, button:active, button:active:hover {
    background-color: #2d2d2d;
    color: #fff;
}

.message {
    position: fixed;
    border-radius: 4px;
    height: auto;
}

.message:before {
    top:-2px;
}

.message.success {
    height: auto;
    background-color: #33cc33;
    content: "v" !important;
    color:#000;
}

.message.error {
    height: auto;
    background-color: #9e1111 !important;
    color:#fff;
}

table tr th {
    color: #000;
    border-bottom: 1px solid #aaa;
    border-top: 1px solid #aaa;
    background-color: #ccc;
    border-right: 1px solid #ccc;
}

table tr td {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

table tr:hover td {
    background-color: #eee;
    -webkit-transition: all 100ms linear;
    -moz-transition: all 100ms linear;
    -o-transition: all 100ms linear;
    -ms-transition: all 100ms linear;
    transition: all 100ms linear;
}

li.prev, li.next, li.first, li.last {
    /*width: 15%;
    float:left;*/
    color:#cc0000;
}

li.prev a, li.next a, li.first a, li.last a {
    color:#cc0000;
}

.rectangle {
    width:31%;
    border:1px solid #ccc;
    border-radius: 4px;
    padding:1%;
    float:left;
    margin: 1%;
}
.rectangle:hover {
    background-color: #eee;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #aaa;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #aaa;
    opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #aaa;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:    #aaa;
}