﻿html {
    min-height: 100%;
    position: relative;
}

body {
    padding-bottom: 20px;
    margin-bottom: 40px;
    margin-right: auto;
    margin-left: auto;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

footer{
    display: block;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 350px;
}

#loginForm{
    width: 100%
}

.navbar {
    margin-bottom: 0;
    border-radius: 0;
    padding-left: 10%;
    padding-right: 10%;
    background-color: #2b5ca2 !important;
    padding-top: 20px;
    padding-bottom: 20px;
}

.container-fluid-nav-menu {
    margin: 15px 0;
}

.navbar-toggle {
    display: block;
}

.navbar-collapse {
    display: none;
}

.logo {
    width: 20%;
    float: left;
    margin-right: 15px;
}

.logo-nav-menu {
    width: 200px;
    float: left;
    margin-right: 15px;
}

#page-container {
    margin-bottom: -50px;
    background-color: #ffffff;
    min-height: 100vh - 50px;
}

.container {
    padding-left: 4%;
    padding-right: 4%;
}

#content-wrap {
    display: table;
    padding: 20px;
    padding-bottom: 50px;
}

#footer {
    bottom: 0;
    width: 100%;
    text-align: center;
    position: absolute;
    background-color: #2b5ca2 !important;
    color: white !important;
    padding: 20px;
}

.navbar-inverse .navbar-nav > li > a {
    color: white !important;
}

.navbar-nav > li > a {
    color: white;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.navbar-header > a {
    color: white;
    font-size: xx-large;
    /*padding-top: 5.5%;*/
}

.nav > li > a:hover, .nav > li > a:focus {
    text-decoration: none;
    background-color: #5a9eea;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: #5a9eea;
    border-color: #5a9eea;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

input[type="radio"], input[type="checkbox"] {
    margin: 9px 0px 0;
}

.titolo-pagina {
    font-family: 'Georgia Pro'
}

.errorMessageHeader {
    font-size: xx-large;
}

.errorMessage {
    color: Red;
    font-size: x-large;
    font-weight:600;
}

.ck.ck-editor {
    width: 80%;
}

#metaTable {
    width: 80%;
}

@media (max-width: 768px) {
    .navbar-collapse {
        display: block;
    }
}