/*
 * Header
 */
.header { 
    -webkit-transition: height 0.5s; 
    -moz-transition: height 0.5s; 
    -ms-transition: height 0.5s; 
    -o-transition: height 0.5s; 
    transition: height 0.5s;  

    height: 80px;
    width: 100%;
    background-color: #fff;
    background-color: rgba(255,255,255,0.8);
    position: fixed;
    z-index: 2;
}
.header .logo { 
    margin: 0; 
    padding-top: 15px;
    text-align: center;
}
.header .logo img {
    -webkit-transition: max-width 0.5s; 
    -moz-transition: max-width 0.5s; 
    -ms-transition: max-width 0.5s; 
    -o-transition: max-width 0.5s; 
    transition: max-width 0.5s;
    
    width: 100%;
    max-width: 411px;
}
@media (min-width: 768px) {
    .header {
        height: 100px;
    }
    .header .logo {
        text-align: left;
        padding-top: 20px;
    }
}

.partners {
    display: none;
}
.header .logo-ecampus,
.header .logo-cut {
    max-height: 30px;
}
@media (min-width: 768px) {
    .partners {
        display: block;
        text-align: right;
    }
    .header .logo-ecampus,
    .header .logo-cut {
        max-height: 40px;
    }
}

.partners-mobile {
    text-align: center;
    background: #fff;
    background: #ffffffb5;
    padding: 5px;
    margin: 0 50px;
    border-radius: 25px;
}
.partners-mobile img { height: 35px; }
@media (min-width: 768px) {
    .partners-mobile {
        display: none
    }
}

.header.scroll {
    height: 72px;
    box-shadow: 0 0 2px #ccc;
    background-color: rgba(255,255,255,0.9);
}
.header.scroll .logo { 
    padding-top: 10px;
    line-height: 100%;
}
.header.scroll .logo img {
    max-width: 250px;
}

/*
 * Slide
 */
.slide {
    background: url('../img/bg-uni-new.jpg') no-repeat -80px top;
    background-size: cover;
}
.slide.under-fixed-header {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}
@media (min-width: 768px) {
    .slide.under-fixed-header {
        padding-top: 100px;
    }
}
@media (min-width: 992px) {
    .slide {
        background: url('../img/bg-uni-new.jpg') no-repeat center top;
        background-size: cover;
    }
}
@media (min-width: 1200px) {
    .slide {
        background: url('../img/bg-uni-new.jpg') no-repeat center 0;
        background-size: cover;
    }
}

.box-form {
    background: rgba(214, 20, 41, 0.8);
    padding: 20px;
    color: #ffffff
}
.box-form .text-muted {
    color: #fff !important
}
.box-form hr {
    border-top: 1px solid #fff;
}

.form-control.error,
.custom-control-label.error:before {
    border: 1px solid #ff1919;
    background-color: #fff7f7;
}

.custom-control-label { font-size: 0.7em }
.custom-control-label a { color: #fff; text-decoration: underline }

.form-group { line-height: 100%; position: relative; }
span.error { 
	font-size: 0.6em; 
	position: absolute; 
	display: block; 
	background: #e0a800; 
	right: 1px;
    top: 1px;
    padding: 1px 3px;
    border-radius: 0 3px 0 3px; 
}
.custom-checkbox span.error { position: relative; display: inline-block }

/*
 * Section
 */
.section.info {
    background-color: #a70817;
    color: #fff;
}
.section.info h3 {
    font-weight: 900;
    text-shadow: 0 1px 2px #333;
}
.section.info p {
    font-size: 1.1em
}

.section.info-sec {
    background-color: #d71427;
    color: #fff;
}

.section.info-sec .slogan { border-left: 3px solid yellow; padding-left: 20px }
.section.info-sec .slogan h2 { color: yellow }
.section.info-sec .slogan ul li { list-style-type: none }

.section.info-sec p { font-size: 0.9em }

/* #iorestoacasa */
.iorestoacasa {
    text-align: center;
    padding: 4px;
    margin: 10px 0;
    border-radius: 4px;
    background-color: #d3e3ff;
    color: #333;
    text-align: left;
}
.iorestoacasa span {
    background-color: #6495ed;
    padding: 4px;
    border-radius: 4px;
    color: #fff;
}

/*
 * Section assistenza
 */
.assistenza {
    background: url('../img/bg-section-assistenza-2.jpg') no-repeat left top;
    background-color: #E2E2E2;
    min-height: 600px;
}
.assistenza .desc {
    margin-top: 345px
}
@media (min-width: 768px) {
    .assistenza {
        background: url('../img/bg-section-assistenza-2.jpg') no-repeat left center;
        min-height: auto
    }
    .assistenza .desc {
        margin-top: auto
    }
}

/*
 * Section backtop
 */
.section.offices .office-card {
    border: 1px solid #D01F31;
    border-radius: 4px;
    padding: 10px
}
.section.offices .office-card h4 { margin: 0; color: #D01F31; font-weight: 300; font-size: 1.3em }
.section.offices .office-card p { margin: 0; font-size: 0.9em }

/*
 * Footer
 */
.footer {
    background-color: #4D4D4D;
    color: #fff;
}
.footer .copy { 
    font-size: 0.8rem
}

.footer .social-list {
    margin: 0;
    text-align: center
}
.footer .social-list li {
    list-style-type: none;
    display: inline;
    padding: 0 3px
}
.footer .social-list li a {
    color: #fff;
}