:root {
    --brown: #AB7D2C;
    --light: #7A756C;
    --dark: #874D1C;
}

@font-face {
    font-family: 'Futura BT Medium';
    src: url('../fonts/FuturaBT-Medium.ttf') format('truetype'),
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.ttf') format('truetype'),
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype'),
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.ttf') format('truetype'),
    font-style: normal;
    font-weight: 700;
}

body {
    font-family: 'Roboto';
    font-size: 10pt;
    color: #000000;
}

.article-title, .article-header h1 {
    margin-bottom: 30px;
}

h1, h2 {
    color: var(--brown);
    font-family: 'Futura BT Medium';
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 30px;
}

h1 {
    font-size: 18pt;
}

h2 {
    font-size: 16pt;
}

h3 {
    font-size: 14pt;
    color: var(--dark);
    line-height: 1.3;
}

.social {
    font-size: 20pt;
}

@media (min-width: 768px) {
    body {
        font-size: 14pt;
        line-height: 1.8;
    }
    h1 {
        font-size: 26pt;
        line-height: 1.5;
    }
    h2 {
        font-size: 24pt;
        line-height: 1.5;
    }
    h3 {
        font-size: 20pt;
    }
    .social {
        font-size: 28pt;
    }
}

p {
    margin-bottom: 30px;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--brown);
    transition: color 0.3s;
}

a:hover {
    color: var(--dark);
    text-decoration: none;
}

a:focus {
    color: var(--light);
    text-decoration: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}

.j40 figure {
    margin-bottom: 30px;
}

figcaption {
    margin-top: 10px;
    color: var(--light);
    font-size: 80%;
    font-style: italic;
    border-left: 3px solid var(--light);
    padding-left: 10px;
}

.btn-primary {
    background-color: var(--brown);
    border-color: var(--brown);
}

.t3-wrapper {
    background: linear-gradient(to bottom right, #ffffff, #f2f1f1);
    min-height: 100%;
}

.navbar-default {
    background: none;
    border: none;
}

.t3-content {
    margin-bottom: 20px;
}

.t3-footer {
    background: none;
    border: none;
}

.t3-copyright {
    border: none;
}


/****************************************************************
* Header                                                        *
****************************************************************/

.logo-img {
    width: 400px;
}

.t3-header > .row {
    display: flex;
    align-items: center;
}

@media (min-width: 768px) and (max-width: 991px) {
    .t3-header > .row {
        display: block;
    }
    .t3-header .logo {
        margin-bottom: 30px;
    }
}


/****************************************************************
* Footer                                                        *
****************************************************************/

.t3-footer > .container {
    position: relative;
}

.t3-footer > .container:before {
    position: absolute;
    content: '';
    width: calc(100% - 30px);
    height: 3px;
    background-color: var(--brown);
}

.t3-footer .t3-copyright {
    display: none;
}

.t3-footer .t3-footnav .t3-module {
    background: none;
    color: var(--light);
}

.t3-footer .footertext p {
    margin-bottom: 0;
}

.t3-footer .social a + a {
    margin-left: 30px;
}

@media (min-width: 768px) {
    .t3-footer .footertext {
        text-align: right;
    }
    .t3-footer .t3-spotlight {
        display: flex;
        align-items: center;
    }
}


/****************************************************************
* Menu                                                          *
****************************************************************/

.navbar-default .navbar-nav > li {
    padding: 0 15px;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav > li {
        padding: 18px 15px 10px;
    }
    .navbar-nav {
        float: right;
    }
}

.navbar-default .navbar-nav > li:first-child {
    padding-left: 0;
}

.navbar-default .navbar-nav > li:last-child {
    padding-right: 0;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > .separator {
    color: var(--light);
    padding: 0 0 5px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #000000;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background: none;
    color: #000000;
    border-bottom: 3px solid var(--brown);
}



/****************************************************************
* Off canvas                                                    *
****************************************************************/

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    background-color: var(--brown);
}

.t3-off-canvas .t3-off-canvas-body a {
    color: var(--brown);
}


/****************************************************************
* Content                                                       *
****************************************************************/

.introduction {
    margin-bottom: 40px;
}

@media (max-width: 1199px) {
    .hero {
        display: flex;
        align-items: center;
    }
}

.contact .name,
.introduction .name {
    font-weight: 700;
}

.contact .position,
.introduction .position {
    color: var(--brown);
}

.contact .social,
.contact .position,
.contact .email {
    margin-top: 10px;
}

.introduction .contact-image {
    margin-bottom: 40px;
}

.introduction .social {
    margin-top: 20px;
}

.contact .social > * + *,
.introduction .social a + a {
    margin-left: 16px;
}

.contact .institute {
    font-weight: 700;
    margin-top: 30px;
}

.contact .map {
    margin-top: 20px;
    border: 3px solid var(--brown);
}

.readmore,
.download {
    position: relative;
    padding-left: 70px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.readmore:before,
.download:before {
    position: absolute;
    left: 0;
    content: '';
    width: 55px;
    height: 30px;
    transition: all 0.3s ease 0s;
}

.readmore:before {
    background-image: url('/images/button_readmore.png');
}

.download:before {
    background-image: url('/images/button_download.png');
}

.readmore:hover:before {
    background-image: url('/images/button_readmore_hov.png');
}

.download:hover:before {
    background-image: url('/images/button_download_hov.png');
}

.readmore-content {
    margin-top: 20px;
}


/****************************************************************
* Team                                                          *
****************************************************************/

.team .contact + .contact {
    margin-top: 20px;
}

.team .contact .contact-image {
    max-width: 300px;
}

.team .contact .contact-image img {
    border-radius: 50%;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: top;
}

.team .contact > .row > div {
    margin-bottom: 20px;
}
