﻿@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;
    flex-direction: column;
}
.section__pubMenu {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 35px;
}
    .pubMenu__item {
        font-weight: bold;
        line-height: 1.7em;
        margin-bottom: 15px;
        color: #974706;     /* Zachowanie koloru czcionki w 'Redakcja w czasopismach' pomimo braku linku. */
    }
        .pubMenu__item a:hover {
            text-decoration: underline;
        }
        .pubMenu__subitem {
            margin-left: 10px;
        }
/***************************/
.section__pubList {
    width: 100%;
}
    .pubList__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;
    }
        .pubList__header__title {
            width: 43%;
            height: 30px;
            background-color: #974706;
            border-radius: 7px 7px 0 0;
            font-size: 17px;
            color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .pubList__header__bar {
            width: 100%;
            height: 4px;
            background-color: #974706;
        }
    .pubList__item {
        margin-top: 35px;
        display: flex;
    }
    #firstItem {
        margin-top: 23px;
    }
    #lastItem {
        margin-bottom: 20px;
    }
        .pubList__cover {
            width: 43%;
            display: flex;
            justify-content: center;
            align-items: flex-start;
        }
            .pubList__cover img {
                border: 1px solid #000;
            }
        .pubList__description {
            width: 100%;
            display: flex;
            flex-direction: column;
        }
            .pubList__higherText {
                display: flex;              /* Usunięto 'height: 100%;', żeby pasek miał więcej niż 100% wysokości, gdy w tytule są indeksy dolne i górne (nienaturalnie zwiększające wysokość). W przeciwnym razie pasek znika. */
            }
                .pubList__boldLine {
                    width: 6px;
                    background-color: #000;
                    margin-left: 10px;
                }
                .pubList__text {
                    width: 100%;
                    margin-left: 10px;
                    display: flex;
                    flex-direction: column;
                }
                    .pubList__text__title {
                        padding: 15px 0 9px 0;
                        font-size: 1em;
                        font-weight: bold;
                        font-style: italic;
                    }
                        .inPolish {
                            font-weight: normal;
                            font-style: normal;
                        }
                        .pubList__text__title a {
                            color: #000;
                        }
                        .pubList__text__title a:hover {
                            text-decoration: underline;
                        }
            .pubList__lowerText {
                display: flex;
            }
                .pubList__narrowLine {
                    width: 1px;
                    background-color: #000;
                    margin-left: 14px;
                }
                    .pubList__text__conference {
                        padding-top: 9px;
                        padding-bottom: 7px;
                    }
                    .pubList__text__place {
                        padding-top: 6px;
                        padding-bottom: 3px;
                    }
                    .pubList__text__award {
                        padding-top: 10px;
                        padding-bottom: 3px;
                    }
                        .pubList__text__award a {
                            font-weight: bold;
                            font-style: italic;
                            color: #000;
                        }
                        .pubList__text__award a:hover {
                            text-decoration: underline;
                        }
/***************************************************************************/
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;
}