:root {
    --main-color: #3d6e80;
    /* --bg-color: #e7f0f3; */
    --bg-color: #fff;
    --header-color: #153947;
    --header-height: 150px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    border-radius: 5px;
}

body {
    font-family: 'Ubuntu Condensed', sans-serif;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

::selection {
    background: none;
}

.box {
    max-width: 1366px;
    margin: 0 auto;
}

/* <!-- ------------------- -->
<!-- TREŚĆ GŁÓWNA STRONY -->
<!-- ------------------- --> */

/* KONTENER DLA GŁÓWNEJ ZAWARTOŚCI */
.container {
    margin: 20px 0px;
    padding: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    background-color: var(--bg-color);
    flex-wrap: wrap;
    justify-content: space-around;
}

aside {
    margin: 0;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);

    border-radius: 5px 5px;
    overflow: hidden;
    flex-grow: 1;
}

/* AKTUALNOŚCI WYSZUKIWARKA CONTENT GŁÓWNY */
.main {
    margin: 0 10px 0 0;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);

    border-radius: 5px 5px;
    overflow: hidden;
    width: 50%;
    flex-grow: 3;
}

.search__container {
    border-radius: 5px 5px;
    overflow: hidden;
    width: 100%;
    margin: 30px 0;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
}

/* STYLE DOTYCZĄCE BELEK */
.news__header,
.news__title,
.search__header,
.result__header,
.government {
    padding: 10px;
    font-size: 20px;
    text-align: center;
    color: #fff;
    background: rgb(61, 110, 128);
    background: linear-gradient(
        0deg,
        rgba(92, 150, 163, 1) 0%,
        rgba(66, 115, 133, 1) 100%
    );
    border-radius: 0 0 5px 5px
}

/* NEWSY */
.news__header {
    width: 100%;
}

.news {
    width: 100%;
    height: 100%;
    /* flex-grow: 3; */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.news__container {
    margin-bottom: 25px;
    width: 95%;
    margin: 0 auto;
    border: none;
    border-top: none;
    border-radius: 5px 5px;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.news__title {
    text-align: left;
    padding-left: 20px;
    display: flex;
    justify-content: space-between;
}

.news__data {
    margin-right: 10px;
}

.news__text {
    padding: 15px;
    text-align: left;
    line-height: 23px;
}

/* WYSZUKIWARKA */

.search__form {
    margin: 20px;
    text-align: center;
}

.search__placeholder,
.search__button {
    border: none;
    font-size: 1.5rem;
    color: #fff;
    padding: 10px 20px;
    cursor: text;
}

.search__button {
    cursor: pointer;
}

.search__placeholder[type='search'] {
    background-color: #d7d8d8;
    min-width: 400px;
    color: #000;
    outline: none;
}

.search__placeholder[type='search']::placeholder {
    color: white;
}

.search__button {
    background: rgb(61, 110, 128);
    background: linear-gradient(
        0deg,
        rgba(66, 115, 133, 1) 0%,
        rgba(92, 150, 163, 1) 100%
    );
}

/*  */
/* Wyniki wyszukiwania */
/*  */
.result {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border-radius: 5px 5px;
}

.result__header {
    padding: 5px;
    width: 100%;
}

.result__list {
    width: 100%;
    margin: 0 auto;
    list-style: none;
    padding: 18px;
}

.result__item, ul.wysiwyg-list li {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.result__item a, ul.wysiwyg-list li a {
    text-decoration: none;
    color: #000000;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.result__item p a {
    display: contents;
}

.result__image, ul.wysiwyg-list li img {
    width: 100px;
    height: 100px;
}

.result__image2, ul.wysiwyg-list li img {
    /* width: 100px; */
    height: 100px;
}

.result__personInformation, ul.wysiwyg-list li p {
    font-size: 22px;
    margin-left: 10px;
}



/* KATEDRA PASEK BOCZNY GŁÓWNEGO CONTENTU */

/* KIEROWNIK KATEDRY */

.government {
    margin-bottom: 10px;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
}

.government__position,
.deputy__title,
.office__title {
    text-align: center;
    text-transform: capitalize;
    font-size: 24px;
    padding: 10px 0;
    background-color: #fff;
}

.manager,
.deputy__container {
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.manager2,
.deputy__container2 {
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.manager__img {
    margin-left: 20px;
    display: block;
}

.manager__information,
.deputy__information {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 16px;
    /* justify-content: sspace-around; */
    /* align-items: center; */
    /* align-content: stretch; */
}

.manager__img {
    width: 100px;
    height: 100px;
}

/* ZASTĘPCA KIEROWNIKA */

.deputy,
.office {
    margin-top: 20px;
    background-color: #fff;
}

.office__list {
    list-style: none;
    padding: 0 20px;
    text-transform: capitalize;
    line-height: 22px;
}

.office__place {
    text-align: center;
    margin: 10px 0;
    color: #aaa;
    line-height: 36px;
}

/* PAGINACJA */

.pagination {
    display: flex;
    justify-content: center;
    padding: 30px;
    padding-top: 0;
}

.pagination__list__item {
    display: inline-block;
    /* border: 1px solid lightgray;
    border-radius: 5px;
    background-color: #eeeeee; */
    /* color: #006392; */
    /* color: #000; */
    color: var(--main-color);
    font-size: 22px;
    /* margin: 2px; */
    /* box-shadow: inset 0 2px 1px 1px #fff; */
}

.pagination__list__item a {
    display: inline-block;
    text-decoration: none;
    padding: 7px 9px;
    color: inherit;
}

.pagination__list__item.active {
    font-size: 32px;
    /* background-color: #dfdfdf; */
    color: #595f61;
}

.pagination__list__item.dots {
    border: none;
    background-color: inherit;
    padding: 0 0;
}

.scheduleContainer {
    background-color: #eee;
    color: #153947;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
}

.schedule table td {
    text-align: center;
    background-color: #fff;
    padding: 15px 0;
}

.schedule table td:nth-child(n + 2) {
    min-width: 100px;
    width: 17%;
}

.schedule table {
    width: 96%;
}

.schedule table td:nth-child(1) {
    padding: 0 20px;
}

.schedule table td.konsultacje,
.scheduleMobile table td.konsultacje {
    background-color: #915f6d;
    color: #fff;
}

.schedule table td.zajeciadydaktyczne,
.scheduleMobile table td.zajeciadydaktyczne {
    background-color: #20b2aa;
    color: #fff;
}

.schedule table td.godzinyadministracyjne,
.scheduleMobile table td.godzinyadministracyjne {
    background-color: #708090;
    color: #fff;
}

.schedule table td.pracewlasne,
.scheduleMobile table td.pracewlasne {
    background-color: #8fbc8b;
    color: #fff;
}

.scheduleContainer {
    display: flex;
}

.legend {
    min-width: 175px;
}

.schedule {
    flex-grow: 1;
}

.legend .title {
    text-align: center;
    background-color: #fff;
    padding: 15px 0;
    margin: 1px;
    margin-top: 2px;
}

.legend .items {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    /* align-items: center; */
    height: calc(100% - 50px);
}

.legend .items .item {
    display: flex;
    margin: 1px;
    flex-grow: 1;
    /* width: 100%; */
    align-items: center;
    justify-content: center;
    /* flex-direction: column; */
}

.legend .items .item:nth-child(1) {
    background-color: #915f6d;
}

.legend .items .item:nth-child(2) {
    background-color: #708090;
}

.legend .items .item:nth-child(3) {
    background-color: #20b2aa;
}

.legend .items .item:nth-child(4) {
    background-color: #8fbc8b;
}

.legend .items .item p {
    width: 100%;
    text-align: center;
    color: #fff;
}

.scheduleMobile td {
    border: 1px solid #e1ece8;
}

.scheduleMobile table {
    width: 100%;
}

.scheduleMobile table td:nth-child(1) {
    min-width: 130px;
    text-align: center;
    width: 15%;
}

.scheduleMobile table td:nth-child(2) {
    min-width: 100px;
    width: calc(100% - 100px);
}

.collapse:not(.show) {
    display: none;
}

.scheduleCollapseButton {
    background-color: #3d6e80;
    border: none;
    width: 100%;
    height: 35px;
    margin: 2px 0;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.border-squared {
    border-radius: 0;
}

/* GTFO */

.achtung {
    position: absolute;
    top: 180px;
    left: 30px;
    z-index: 999;
    color: red;
    font-size: 38px;
    transform: rotate(-5deg);
    background-color: #0f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 1px 1px 18px 12px pink;
    animation: atencjon 1s linear infinite alternate;
}

.achtung h1 {
    text-align: center;
}

@keyframes atencjon {
    from {
        background-color: #f00;
        color: yellow;
        transform: rotate(-20deg) scale(1.3);
    }

    to {
        background-color: yellow;
        color: #f00;
        transform: rotate(0deg) scale(1);
    }
}
