﻿@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;
    align-items: flex-start;
}
    .section__cover {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
        .section__cover img {
            width: 290px;
            height: 419px;
            margin-bottom: 20px;
            border: 1px solid #000;
        }
        .section__cover p {
            line-height: 1.5em;
        }
            .section__cover a:hover {
                text-decoration: underline;
            }
/***************************/
.section__description {
    width: 100%;
    margin-left: 10px;
}
    .description__item {
        line-height: 1.3em;
        margin-bottom: 20px;
        display: flex;
    }
        .description__title {
            width: 20%;
            text-align: right;
            vertical-align: top;
        }
        .description__text {
            width: 80%;
            text-align: justify;
            margin-left: 22px;
        }
            .description__text h1 {
                font-size: 1em;
            }
            .description__text p {
                text-indent: 25px;
                margin-bottom: 20px;
            }
/***************************************************************************/
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;
}