#fh5co-header .navbar-right li a {
    color: rgba(255, 255, 255, 1.0) !important;
}

#fh5co-header.navbar-fixed-top li a {
    color: #A4D792 !important;
}

.brand-visible {
    display: block;
}

.brand-invisible {
    display: none;
}

.video-wrapper {
    position: relative;
    z-index: 0;
    min-height: 900px;
}

@media screen and (max-width: 768px) {
    .video-wrapper {
        height: 370px;
    }
}

video#bgvid {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -100;
    transition: 1s opacity;
    background: url("../images/portierbook_v1.jpg") no-repeat;
}

.navbar-brand {
    padding: 0px 0px 0px 0px;
}

.navbar-brand .brand-image {
    height: 145px;
}

.navbar-brand .brand-image img {
    max-height: 100%;
}

.navbar-brand .brand-title {
    min-height: -webkit-fill-available;
    line-height: 50px;
    margin-left: 10px;
}

@media screen and (max-width: 1000px) {
    .navbar-brand .brand-image {
        height: 100px;
        margin-left: 8px;
    }
}

@media screen and (max-width: 850px) {
    .navbar-brand .brand-image {
        height: 65px;
        margin-left: 6px;
    }
}

.intro-background {
    background: white;
    width: 100%;
    height: 690px;
    z-index: 1;
    position: absolute;
    margin-top: 150px;
}

.figurina h1 {
    text-align: center;
    margin-top: 10px
}

#fh5co-intro .row {
    z-index: 10;
    width: 100%;
}

.fh5co-intro-icon {
    height: 90px !important;
    margin: auto auto 20px auto !important;
}

.qualifications table {
    border-collapse: separate;
    -webkit-border-vertical-spacing: 11px;
}

.qualifications table td {
    font-size: 13pt;
    vertical-align: top;
}

.qualifications table td #qualification-year {
    font-size: 11pt;
    font-style: italic;
}

.qualifications table th {
    text-align: center;
}

.qualification-icon {
    width: 35px;
    margin-left: 5px;
}

.clubs table {
    border-collapse: separate;
    -webkit-border-vertical-spacing: 11px;
}

.clubs table th {
    text-align: center;
}

.clubs table td {
    font-size: 13pt;
    vertical-align: top;
}

.clubs table td #club-name {
    font-style: italic;
}

.clubs table td #club-years {
    font-size: 11pt;
    font-style: italic;
}

.clubs table td #club-palmares {
    font-size: 11pt;
}

.club-icon {
    width: 35px;
    margin-left: 5px;
}

.other-activities {
    padding-left: 15px;
    padding-right: 15px;
}

.other-activities table {
    border-collapse: separate;
    -webkit-border-vertical-spacing: 11px;
}

.other-activities table td {
    font-size: 13pt;
    vertical-align: top;
}

@media screen and (max-width: 1000px) {
    #fh5co-header #navbar li a {
        font-size: 13px;
    }
}

#dario_calcia {
    max-width: 550px;
    float: right;
    margin-top: 100px;
    margin-right: 140px;
}

@media screen and (max-width: 1600px) {
    #dario_calcia {
        max-width: 380px;
        margin-right: 100px;
    }
}

@media screen and (max-width: 1200px) {
    #dario_calcia {
        max-width: 200px;
        margin-right: 100px;
    }
}

@media screen and (max-width: 850px) {
    #dario_calcia {
        display: none;
    }
}

#dario-figurina {
    border-radius: 17px;
    margin-top: 11px;
}

.curriculum {
    position: relative;
    height: 100%;
}

.philosophy .subtitle {
    font-style: italic;
}

.fh5co-project-item i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fh5co-project-item img {
    margin: auto;
}

#portieri .subtitle {
    font-style: italic;
}

#portieri .fh5co-person .description {
    margin-top: 15px;
}

#portieri .fh5co-person .other-description {
    font-size: 11pt;
    margin: 0 0 0 0;
}

.fh5co-person figure img {
    height: 120px;
    object-fit: cover;
}

.download-btn {
    margin-top: 50px;
}

.volantino img {
    max-width: 100%;
}

.external-link {
    max-width: 100%;
}

.files-table {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}

.files-column {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin-right: 100px;
}

.file-image {
    max-width: 100%;
    margin-top: 20px;
}

.file-image img {
    max-width: 100%;
}

.book {
    margin-top: 30px;
}

.book table {
    width: 100%;
}

.book table td {
    padding: 10px;
    text-align: center;
}

.book h1 {
    margin: 0;
}

.book img {
    width: 100%;
    max-width: 400px;
}