/* Redefine basic elements */

    body{
        margin-right: 1.5%;
        margin-left: 1.5%;
     	background-color: #a94442;
       
    }
    section{
        margin-bottom: 0.7em;
        padding: 1.5em;
        border-radius: 5px;
        background-color: #f2f2f2;
        color:black;
    }
    section h2{text-align: center;}
    section img{
        float: left;
        overflow: auto;
        margin:0 auto;
        margin-bottom: 1%;
        padding-right: 1em;
        padding-bottom: 1em;
        max-width: 28em;
        max-height: 28em;
    }

    header{background-color: black;}
    aside{
        padding: 0;
        border-radius: 5px;
    }
    aside ul{
        list-style-type: none;
    }
    footer{
        margin-bottom: 1em;
        padding: 1em;
        border-radius: 5px;
        background-color: #f2f2f2;
        color:black;
    }
    footer img{
        margin-left: 0.5em;
        max-width: 10em;
        max-height: 6.5em;
    }

    h1,h2{ font-size: 1.4em;}
    a:active{color:#0000EE;}
    a{color:#0000EE;}
    a:visited{color:#521888;}
    table thead tr{
        border-color: black;
        background-color: #ddd;
    }



/* New elements outside the Bootstrap definition */
    .img-completa{
        float: left;
        overflow: auto;
        margin:0 auto;
        margin-bottom: 1%;
        padding-right: 1em;
        padding-bottom: 1em;
        max-width: 36em;
        max-height: 36em;
    }
    #corsiContent{
        margin-bottom: 1.5em;
        padding: 1.5em;
        border-radius: 5px;
        background-color: #f2f2f2;
        color: black;
    }
    #contactContent{
        margin-bottom: 1.5em;
        padding: 1.5em;
        border-radius: 5px;
        background-color: #f2f2f2;
        color: black;
    }
    #staffContent{
        margin-bottom: 0.7em;
        padding: 1.5em;
        border-radius: 5px;
        background-color: #f2f2f2;
        color: black;
        text-align: center;
    }
    #staffContent img{
        margin-bottom: 1%;
        max-width: 17em;
        max-height: 17em;
        border-radius: 5px;
    }
    #staffContent p{
        margin-bottom: 1%;
        font-weight: bold;
    }
    #errorContent{
        margin-bottom: 1.5em;
        padding: 1.5em;
        border-radius: 5px;
        background-color: #f2f2f2;
        color: black;
        text-align: center;
    }
    .paragrafo-storia{
        overflow: auto;
        margin-bottom: 0.7em;
        padding-top: 2%;
        padding-right: 5%;
        padding-bottom: 2%;
        padding-left: 3%;
        border-radius: 5px;
        background-color: #f2f2f2;
        color:black;
    }
    .paragrafo-storia p{
        margin-bottom: 3%;
        line-height: 1.5;
    }

    .paragrafo-right{margin-left: 3%;}

    .image-storia-left{
        float: left;
        margin-right: 3%;
        margin-bottom: 1%;
        width: 15em;
        height: 20em;
    }

    #image-storia-1{
        background-image: url('../img/struttura/storia1.jpg');
        background-size: 15em;
        background-repeat: no-repeat;
    }

    #image-storia-2{
        background-image: url('../img/struttura/storia2.jpg');
        background-size: 15em;
        background-repeat: no-repeat;
    }

    #image-storia-3{
        background-image: url('../img/struttura/storia4.jpg');
        background-size: 15em;
        background-repeat: no-repeat;
    }
    #loginContent{
        margin-bottom: 1.5em;
        padding: 1.5em;
        border-radius: 5px;
        background-color: #f2f2f2;
        color: black;
        text-align: center;
    }
    .title-list{
        background-color: #ddd;
        font-weight: bold;
    }
    .clear-none{clear: none;}
    .justify{text-align: justify;}

    #boxTop{
        position:fixed;
        right:2em;
        bottom:2em;
        z-index: 1000;
        display:none;
        padding:5px;
        width:90px;
        height: 40px;
        border-radius: 5px;
        background-color: black;
        background-size: 4em;
        color: #f2f2f2;
        text-align: center;
        font-weight: bold;
        font-size:1.1em;
        line-height: 30px;
        cursor:pointer;

    }
    .form-signin {
        margin: 0 auto;
        padding: 15px;
        max-width: 330px;
    }
    .form-signin-heading{font-size: 1.4em;}
    .form-signin .form-signin-heading,
    .form-signin .checkbox {
        margin-bottom: 10px;
    }
    .form-signin .checkbox {
        font-weight: normal;
    }
    .form-signin .form-control {
        position: relative;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 6px;
        height: auto;
        font-size: 16px;
    }
    .form-signin .form-control:focus {
        z-index: 2;
    }
    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }
    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .text{
        line-height: 1.5;
    }

/* Overriding Bootstrap elements */

    .navbar{
        border: none;
        border-radius: 0 0 5px 5px;
        margin-bottom: 0.7em;
    }