html, body, div, table, td, tr, p, h1, h2, h3, ul, span {
    margin: 0;
    border: none;
    padding: 0;
}

html, body {
    height: 100%;
}

@font-face {
    font-family: "MuseoSanz";
    src: url(fonts/MuseoSans/MuseoSans-100.otf) format('opentype');
    font-weight: 200;
}
@font-face {
    font-family: "MuseoSanz";
    src: url(fonts/MuseoSans/MuseoSans-300.otf) format('opentype');
    font-weight: normal;
}
@font-face {
    font-family: "MuseoSanz";
    src: url(fonts/MuseoSans/MuseoSans-500.otf) format('opentype');
    font-weight: bold;
}

* {
    font-family: "MuseoSanz", Arial, sans-serif;
    font-weight: normal;
}

b {
    font-weight: bold;
}

body {
    background-color: #f5f5f5;
    color: #444;
}

div.header {
    background-image: url(img/sfondo_unipv.png);
    background-size: cover;
    background-position: center;
    color: white;
    font-size: 1.3em;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

div.header img {
    height: 110px;
    display: block;
    margin: auto;
    margin-bottom: 15px;
}

nav {
    background-color: #d6ba32;
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    transition: .1s background-color ease-in-out;
    display: inline-block;
    color: inherit;
    text-decoration: none;
    padding: 15px;
    font-size: 1.2em;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

h1 {
    text-align: center;
    font-size: 2.3em;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.1em;
    line-height: 1.5em;
    text-align: center;
}

h3 {
    text-align: center;
}

footer {
    background-color: #eee;
    padding: 20px;
    color: #777;
    margin-top: -60px;
}

footer a {
    color: #666;
}

div.container {
    margin: auto;
    width: 70%;
    font-size: 1.1em;
}

form.login div {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 20px;
    width: 360px;
    margin: auto;
    text-align: center;
}

form.login div span {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 20px;
}

form.login div input {
    width: 300px;
    display: block;
    margin: auto;
    margin-bottom: 20px;
    font-size: 1em;
    padding: 10px;
    border: none;
    background-color: white;
    border-radius: 3px;
}

form.login div input[type="submit"] {
    background-color: #43A047;
    color: white;
}

iframe.filodiretto {
    width: 100vw;
    max-width: 1280px;
    height: 80vh;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: -40px;
    border: none;
}

div.box {
    padding: 30px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    margin: auto;
}

div.box.sincronizzazione {
    width: 400px;
    font-size: .9em;
    line-height: 2.1em;
}

.sincronizzazione span {
    color: #aaa;
}

.sincronizzazione .fa {
    display: inline-block;
    margin-right: 5px;
}

.fa-refresh {
    color: #E57373;
}

.fa-trophy {
    color: orange;
}
.verde {
    color: #81C784;
}
.rosso {
    color: #E57373;
}

.grigio {
    color: #aaa;
}

div.titoletto {
    text-align: center;
    font-size: 1.3em;
    padding-bottom: 15px;
}

div.tassa {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 10px;
    margin-top: 20px;
    font-size: .9em;
}

div.tassa div {
    display: inline-block;
}

div.tassa div:last-child {
    float: right;
}

div.libretto {
    display: table;
    width: 100%;
    font-size: .9em;
    margin-top: 30px;
}

div.libretto div.esame {
    display: table-row;
    width: 100%;
}

div.libretto div.esame div {
    padding-bottom: 10px;
    padding-top: 10px;
    display: table-cell;
    text-align: right;
}

div.libretto div.esame div:first-child {
    text-align: left;
}

div.esame div.stato {
    width: 120px;
}

div.esame div.voto {
    width: 100px;
}

div.esame div.cfu:after {
    content: " CFU";
    font-size: .7em;
    color: #777;
}

div.esame div.lode {
    width: 25px;
}

div.libretto div.esame:first-child div {
    padding-top: 0;
}

div.libretto div.esame:last-child div {
    padding-bottom: 0;
}

.valutazione {
    color: green;
    font-weight: bold;
    display: inline !important;
}
.valutazione:after {
    content: "/30";
    font-size: .7em;
}

div.esami_conferma div.esame {
    width: 100%;
}

div.esami_conferma div.esame div {
    display: inline-block;
}

div.esami_conferma div.esame div:last-child {
    float: right;
}