﻿@font-face {
    font-family: 'Arial, Helvetica, sans-serif';
    src: url('../fonts/ArialUnicodeMS.woff2') format('woff2'),
         url('../fonts/ArialUnicodeMS.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
body {
    background-color: #fff;
}
/***************************/
a:link,
a:visited,
a:hover,
a:active  {
    text-decoration: none;
    color: #974706;
}
/***************************************************************************/
header {
    width: 100%;
    margin-top: 10px;
}
.header__container {
    width: 950px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.header__logo {
    width: 384px;
    height: 81px;
    background-color: #974706;
    border-radius: 20px 20px 0 0;
    color: #fff;
    font-weight: bold;
    font-size: 37px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header__languages {
    display: flex;
    align-items: flex-start;
}
/***************************************************************************/
nav {
    width: 100%;
}
nav::before,
nav::after {
    content: '';
    display: inline-block;
    width: 100%;
    height: 5px;
    background-color: #974706;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
.nav__container {
    width: 950px;
    height: 30px;
    margin: 0 auto;
    list-style: none;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    line-height: 1.8em;
}
.nav__buttonSelected {
    background-color: #974706;
    float: left;
}
    .nav__buttonSelected a {
        color: #fff;
        display: block;
    }
.nav__button {
    background-color: #fff;
    float: left;
}
    .nav__button a {
        color: #974706;
        display: block;
    }
    .nav__buttonSelected::after,
    .nav__button::after {
        content: '';
        clear: both;
        display: block;
    }
#button1,
#button3 {
    width: 225px;
}
#button2 {
    width: 300px;
}
#button3 {
    position: relative;
}
#button4 {
    width: 200px;
}
/***************************/
.nav__submenu {
    width: 225px;
    list-style: none;
    font-size: 15px;
    text-align: center;
    padding: 0;
    margin: 0;
    box-shadow: 0 5px 5px 1px rgba(0,0,0,.25);
    display: none;
    position: absolute;
}
.nav__submenu__button {
    height: 30px;
    border-left: 5px solid #974706;
    border-right: 5px solid #974706;
    background-color: #fff;
}
    .nav__submenu__button a.submenu__link {
        color: #974706;
        display: block;
    }
#subbutton1 {
    margin-top: 7px;
}
#subbutton4 {
    height: 35px;
    border-bottom: 5px solid #974706;
    color: #974706;
    position: relative;
}
/***************************/
.nav__submenu2 {
    width: 225px;
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
    box-shadow: 0 5px 5px 1px rgba(0,0,0,.25);
    display: none;
    position: absolute;
    top: 0;
    left: -225px;
}
.nav__submenu2__button {
    height: 30px;
    border-left: 5px solid #974706;
    border-right: 5px solid #974706;
    background-color: #fff;
    color: #974706;
}
    .nav__submenu2__button a.submenu2__link {
        color: #974706;
        display: block;
    }
#sub2button1 {
    height: 35px;
    border-top: 5px solid #974706;
}
#sub2button2 {
    height: 35px;
    border-bottom: 5px solid #974706;
}
/***************************/
.nav__button:hover {
    background-color: #974706;
}
    .nav__button:hover a {
        color: #fff;
    }
    .nav__button:hover a.submenu__link {    /* Zachowanie koloru czcionki submenu przy najechaniu na przycisk Publikacje. */
        color: #974706;
    }
    .nav__button:hover a.submenu2__link {  /* Zachowanie koloru czcionki submenu2 przy najechaniu na przycisk Publikacje. */
        color: #974706;
    }
.nav__submenu__button:hover {
    background-color: #974706;
}
    .nav__submenu__button:hover a.submenu__link {
        color: #fff;
    }
    .nav__submenu__button:hover a.submenu2__link {  /* Zachowanie koloru czcionki submenu2 przy najechaniu na przycisk Redakcja w czasopismach. */
        color: #974706;
    }
#subbutton4:hover {     /* Przycisk 'Redakcja w czasopismach' nie posiada linku, więc musi mieć zdefiniowany kolor czcionki po najechaniu kursorem. */
    color: #fff;
}
.nav__submenu2__button:hover {
    background-color: #974706;
}
    .nav__submenu2__button:hover a.submenu2__link {
        color: #fff;
    }
/***************************/
#button3:hover .nav__submenu {
    display: block;
}
#subbutton4:hover .nav__submenu2 {
    display: block;
}
/***************************************************************************/
section {
    width: 100%;
    margin: 25px 0 25px 0;
}
.section__container {
    width: 950px;
    margin: 0 auto;
    display: flex;
}
.section__box {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.section__box__info {
    margin: 20px 40px 60px;
    line-height: 1.5rem;
}
    .section__box__info a:hover {
        text-decoration: underline;
    }
.section__box__CVList {
    width: 580px;
    padding-bottom: 30px;
    display: flex;
}
.section__box__CVList img {
    cursor: pointer;
}
.section__box__CVList h2 {
    color: #974706;
    cursor: pointer;
}
.section__box__CVList h2:hover {
    text-decoration: underline;
}
.cvList__IT {
    margin-right: 50px;
    width: 50%;
}
.cvList__full {
    width: 50%;
}
    .cvList__header {
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 25px;
    }
    .cvList__polish,
    .cvList__english {
        margin-bottom: 30px;
        display: flex;
        align-items: center;
    }
        .cvList__polish img,
        .cvList__english img {
            width: 35px;
            height: 47px;
        }
        .cvList__text {
            width: 100%;
            text-align: center;
            line-height: 1.3em;
        }
            .cvList__title {
                font-size: 17px;
                font-weight: normal;
            }
                .cvList__title a:hover {
                    text-decoration: underline;
                }
            .cvList__update {
                font-size: 13px;
            }
/***************************/
.aside__header {
    display: flex;      /* Przy użyciu position (relative/absolute) wysuwane menu jest zakrywane przez ten div. Ustawienie z-index nie pomagało. */
    align-items: flex-end;
}
.aside__header__title {
    padding: 0 27px 0 27px;     /* Zamiast width. W przeciwnym razie, brązowa kreska ścisnęłaby zakładkę do szerokości napisu 'Kontakt'. */
    height: 30px;
    background-color: #974706;
    border-radius: 7px 7px 0 0;
    font-size: 17px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.aside__header__bar {
    width: 100%;
    height: 4px;
    background-color: #974706;
}
.aside__box {
    margin-top: 2px;
    padding: 10px;
    background-color: #ededed;
}
.contactOption {
    font-size: 14px;
    margin-top: 10px;
    display: flex;
    align-items: center;
}
    .contactOption img {
        width: 22px;
        height: 22px;
        margin-right: 5px;
    }
    .contactOption a {
        color: #974706;
    }
    .contactOption a:hover {
        text-decoration: underline;
    }
.contactOption__mails {
        align-items: flex-start;
    }
    #mailsList {
        text-align: right;
        line-height: 1.4em;
    }
/***************************************************************************/
footer {
    width: 100%;
    margin-bottom: 30px;
}
    footer::before {
        content: '';
        display: inline-block;
        width: 100%;
        height: 5px;
        background-color: #974706;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }
.footer__container {
    width: 950px;
    margin: 0 auto;
    margin-top: 5px;
    text-align: center;
    font-size: 13px;
}