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

.clearfix {
    content: "";
    display: block;
    clear: both;
}

.wrapper {
    margin: 0 auto;
    width: 90%;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Links */

.addendumLink {
    color: #e10808;
    font-weight: bold;
    text-decoration: none;
}

.qalcwiseLink {
    color: #e10808;
    font-weight: bold;
    text-decoration: none;
}

/* Nav */

header {
    width: 100%;
    position: fixed;
    padding: 0 85px;
    z-index: 99999;
    background-color: white;
    height: 90px;
}

header .logo {
    float: left;
    padding: 10px 0;
}

header .logo img {
    height: 75px;
}

.header .logo a img:hover {
    cursor: pointer;
}

header nav {
    float: right;
    padding-top: 20px;
}

header nav ul {
    display: flex;
    top: 50%;
}

header nav ul li {
    list-style: none;
    position: relative;
}

header nav ul li.subMenu::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f107";
    position: absolute;
    line-height: 60px;
    right: 10px;
}

header nav ul li.active.subMenu::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f106";
}

header nav ul li .secondFloor {
    position: absolute;
    top: 60px;
    left: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
}

header nav ul li .secondFloor a {
    border-bottom: 1px solid white;
    color: white;
}

header nav ul li.active .secondFloor {
    display: block;
}

.secondFloor {
    width: 200px;
    display: none;
}

header nav ul li a {
    height: 60px;
    line-height: 60px;
    padding: 0 30px;
    color: black;
    text-decoration: none;
    display: block;
    font-weight: bold;
    transition: 0.5s;
    border-radius: 4px;
    font-size: 12px;
}

header nav ul li a:hover {
    background-color: #e10808;
    color: white;
    cursor: pointer;
}


.menuToggle {
    color: red;
    float: right;
    line-height: 80px;
    font-size: 32px;
    cursor: pointer;
    display: none;
    padding: 0 20px;
}

@media(max-width: 1325px) {
    header {
        padding: 0 30px;
    }
}

@media(max-width: 1190px) {
    header {
        padding: 0 20px;
    }

    .menuToggle {
        display: block;
    }

    header nav {
        position: absolute;
        width: 100%;
        height: calc(100vh - 85px);
        left: -100%;
        top: 85px;
        transition: 0.5s;
        padding-top: 25px;
        background-color: white;
    }

    header nav.active {
        left: 0;
    }

    header nav ul {
        display: block;
        text-align: center;
    }

    header nav ul li a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 0;
    }

    header nav ul li .secondFloor {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.3)
    }

    r nav ul li .secondFloor a {
        color: black;
    }

    header nav ul li .secondFloor a:hover {
        color: white;
    }

    header nav ul li.subMenu::before {
        right: 75px;
    }
}

@media(max-height: 640px) {
    header nav ul li a {
        height: 60px;
        line-height: 60px;
    }

    header nav ul li.subMenu::before {
        line-height: 60px;
    }
}

@media(max-height: 500px) {
    header nav ul li a {
        height: 50px;
        line-height: 50px;
    }
}

.mainContent {
    padding-top: 125px;
}

/* Banner */

.banner {
    height: 350px;
    background-image: url('../../Od Eulali/publikacje.jpg');
    background-size: cover;
    background-position: 50% 50%;
    width: 100%;
}

.mainContentContainer {
    width: 75%;
    margin: 0 auto;
    position: relative;
    /*top: -100px;*/
    background-color: white;
    /*box-shadow: 1px 1px 6px 1px rgba(0, 0, 0, 0.4);*/
    text-align: center;
}

.mainContentBackground {
    position: absolute;
    left: 0%;
    top: 0;
    height: 100px;
    z-index: 0;
    /*background-image: url('../../Grafiki/Publikacje/banerartykul1wewnatrz.jpg');*/
    width: 100%;
    background-position: 50%, 50%;
}

/*.mainContentBackgroundSecond {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #e108088a;
}*/

.mainContentAuthor {
    position: relative;
    height: 150px;
    width: 400px;
}

.mainContentAuthor img {
    position: absolute;
    width: 175px;
    height: 175px;
    border-radius: 50%;
    left: -125px;
    top: -50px;
    z-index: 1;
    box-shadow: 1px 1px 8px 1px rgba(0, 0, 0, 0.3)
}

.mainContentAuthor h2 {
    position: absolute;
    margin-left: 20%;
    padding-top: 25px;
    font-size: 22px;
    z-index: 1;
    color: black;
    /*text-shadow: 2px 2px 4px black;*/
}

.mainContentContainerDate {
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    height: 50px;
    background-color: #e10808;
    color: white;
    text-align: center;
    z-index: 1;
}

.mainContentContainerDate p {
    line-height: 50px;
    font-weight: bold;
}

.mainContent h1 {
    padding: 20px 40px;
    text-transform: uppercase;

}

.mainContentContainerLine {
    width: 60%;
    height: 3px;
    background-color: #e10808;
    margin: 0 auto;
}

.mainContentContainer > p {
    padding: 30px 50px 30px 50px;
    text-align: justify;
    line-height: 150%;
}

.mainContentContainer > p::first-letter {
    font-size: 32px;
    font-weight: 900;
}

.mainContentContainer p strong {
    font-weight: 400;
}

.mainContentContainer > p .textCentred {
    color: red;
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.mainContentContainerPublished {
    text-align: right;
    padding-right: 3.5%;
    margin-top: 10px;
    width: 100%;
    padding-bottom: 30px;
    width: 100%;
}

.mainContentContainerPublished h3 {
    margin-bottom: 15px;
    text-transform: uppercase;
}

.mainContentContainerPublishedSocial i {
    font-size: 24px;
    margin-right: 15px;
    color: black;
}

.facebook {
    color: royalblue;
}

.twitter {
    color: purple;
}

.linde {
    color: darkblue;
}

.mainContentContainerTop {
    width: 75%;
    height: 70px;
    margin: 0 auto;
    text-align: right;
    position: relative;
}

.mainContentContainerTopCol {
    float: left;
    width: calc(100%/3);
    height: 100%;
    text-align: center;
}

.mainContentContainerTopBox {
    height: 100%;
    width: 100%;
}

.mainContentContainerReverse a,
.mainContentContainerHome a,
.mainContentContainerForward a {
    color: rgba(0, 0, 0, 0.4);
    text-decoration: none;
    line-height: 70px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    transition: 0.5s;
}

.mainContentContainerReverse:hover a,
.mainContentContainerReverse:hover i {
    color: black;
}

.mainContentContainerForward:hover a,
.mainContentContainerForward:hover i {
    color: black;
}

.mainContentContainerHome .allArticles {
    color: black;
}

.mainContentContainerTopCol i {
    padding: 0 10px;
    color: rgba(0, 0, 0, 0.4);
    transition: 0.5s;
}

.mainContentContainerTopText {
    background-color: #e10808;
    text-align: center;
    box-shadow: 1px 1px 8px 1px rgba(0, 0, 0, 0.4)
}

.mainContentContainerTopText p {
    line-height: 75px;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 900;
}

.mainContentContainerTopText p:hover {
    cursor: pointer;
}

.mainContentContainer .portal {
    width: 100%;
}

.mainContentContainer .portal2 {
    width: 50%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.mainContentContainer .portal3 {
    width: 50%;
    float: left;
}

@media(max-width: 1235px) {
    .mainContentContainer {
        width: 90%;
        margin: 0 auto;
    }

    .mainContentAuthor img {
        width: 175px;
        height: 175px;
        left: -5px;
        top: -50px;
    }

    .mainContentAuthor h2 {
        font-size: 18px;
        margin-left: 200px;
        padding-top: 25px;
        width: 65%;
    }

    .mainContentAuthor span {
        font-size: 12px;
    }

    .mainContent h1 {
        font-size: 24px;
    }

    .mainContentContainerTop {
        width: 90%;
    }
}

@media(max-width: 1050px) {
    .mainContentContainerReverse a,
    .mainContentContainerHome a,
    .mainContentContainerForward a {
        font-size: 12px;
    }

    .banner {
        background-position-x: 75%;
    }
}

@media(max-width: 1602px){
    .graph {
        width: 600px;
    }
}

@media(max-width: 971px){
    .graph {
        width: 500px;
    }
}

@media(max-width: 654px){
    .graph {
        float: none;
        width: 400px;
    }
}

@media(max-width: 514px){
    .graph {
        width: 300px;
    }
}

@media(max-width: 418px){
    .graph {
        width: 225px;
    }
}

@media(max-width: 629px) {
    .mainContentBackground {
        height: 150px;
    }

    .mainContentContainer {
        width: 95%;
    }

    .mainContentAuthor img {
        width: 140px;
        height: 140px;
        left: -5px;
        top: -50px;
    }

    .mainContentAuthor {
        text-align: left;
    }

    .mainContentAuthor h2 {
        margin-left: 5%;
        margin-top: 80px;
        width: 90%;
    }

    .mainContentAuthor {
        width: 100%;
    }

    .mainContent h1 {
        font-size: 20px;
    }

    .mainContentContainerTop {
        width: 95%;
    }
}

@media(max-width: 566px) {

    .mainContentContainerReverse a,
    .mainContentContainerForward a {
        visibility: hidden;
    }

    .mainContentContainerReverse .arrowReverse i,
    .mainContentContainerForward .arrowForward i {
        color: red;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        visibility: visible;
    }

    .mainContentContainerReverse .arrowReverse i {
        left: 50px;
    }

    .mainContentContainerForward .arrowForward i {
        right: 50px;
    }

    .mainContentContainerHome {
        width: 50%;
    }

    .mainContentContainerReverse,
    .mainContentContainerForward {
        width: 25%;
    }

    .mainContentContainerHome a {
        font-size: 13px;
    }

    .mainContentContainerTopCol .arrowReverse i {
        font-size: 13px;
    }

    .mainContentContainerTopCol .arrowForward i {
        font-size: 13px;
    }
}

@media(max-width: 380px) {
    .mainContentContainerTopCol i {
        padding: 0;
    }
}

.footerBanner {
    margin-top: 30px;
}

/* bannerCarousel */

.bannerCarousel {
    width: 100%;
}

.bannerCarousel .post img {
    width: 100%;
}

.bannerCarousel .priv_arrow {
    color: red;
    position: absolute;
    left: -2%;
    font-size: 46px;
    top: 50%;
    transform: translateX(-50%);
}

.bannerCarousel .next_arrow {
    color: red;
    position: absolute;
    right: -3.5%;
    font-size: 46px;
    top: 50%;
    transform: translateX(-50%);
}

@media(max-width: 1596px) {    
    .bannerCarousel .next_arrow {
        right: -4%;
    }
}

@media(max-width: 981px) {
    .bannerCarousel .priv_arrow {
        font-size: 32px;
    }
    
    .bannerCarousel .next_arrow {
        font-size: 32px;
    }
}

@media(max-width: 545px) {
    .bannerCarousel .priv_arrow {
        font-size: 24px;
        left: 2%;
        z-index: 99;
    }
    
    .bannerCarousel .next_arrow {
        font-size: 24px;
        right: 0%;
        z-index: 99;
    }
}

@media(max-width: 406px) {
    .bannerCarousel .priv_arrow {
        font-size: 16px;
    }
    
    .bannerCarousel .next_arrow {
        font-size: 16px;
    }
}

/* footerBanner */

.footerBanner {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
}

.footerBanner img {
    padding: 25px 0;
}

.footerBanner h2 {
    padding: 0 5px 10px 5px;
}

.footerBanner p {
    padding: 0 10px 25px 10px;
}

@media(max-width: 576px) {
    .footerBanner h2 {
        font-size: 20px;
    }
    
    .footerBanner p {
       font-size: 15px;
    }
}

@media(max-width: 360px) {
    .footerBanner h2 {
        font-size: 18px;
    }
    
    .footerBanner p {
       font-size: 14px;
    }
}


/* footer */

#footer {
    height: 425px;
    width: 100%;
    position: relative;
    background-color: white;
    color: black;
}

.footerFirstCol1 {
    float: left;
    width: 50%;
    padding: 30px;
    position: relative;
}

.footerFirstCol2 {
    float: left;
    width: 20%;
    padding: 30px;
    position: relative;
}

.footerFirstCol3 {
    float: left;
    width: 30%;
    padding: 30px;
    position: relative;
}

.footerFirstColBox {
    position: relative;
    height: 100%;
    width: 100%;
    text-align: justify;
}

.footerFirstColBox img {
    padding: 0 0 30px 0;
    width: 300px;
}

.footerFirstCol2 h2,
.footerFirstCol3 h2 {
    text-transform: uppercase;
}

.footerFirstColList {
    position: absolute;
    padding: 10px 0 0 0;
}

.footerFirstColList li {
    list-style: none;
    padding: 4px 0;
}

.footerFirstColList li a {
    text-transform: uppercase;
    text-decoration: none;
    color: black;
    transition: 0.5s;
}

.footerFirstColList li a:hover {
    color: #e10808;
}

.footerFirstColAddress {
    padding: 10px 0 0 0;
}

address p {
    padding: 0 0 10px 0;
    font-style: normal;
    font-size: 14px;
}

address i {
    margin-right: 8px;
}

.number {
    display: block;
    letter-spacing: 2px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.email {
    display: block;
    padding: 0 0 30px 0;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

.email a {
    color: black;
    text-decoration: none;
    transition: 0.5s;
}

.email a:hover {
    color: #e10808;
    cursor: pointer;
}

.nipRegon {
    text-align: left;
}

.nipRegon p:nth-child(1) {
    padding: 0 0 10px 0;
    font-size: 14px;
}

.nipRegonLine {
    width: 26%;
    height: 2px;
    background-color: black;
}

.nipRegon p:nth-child(3) {
    padding: 10px 0 30px 0;
    font-size: 14px;
}

.nipRegon p span {
    letter-spacing: 1.5px;
}

.socialIcons {
    position: relative;
    height: 40px;
    width: 40px;
    background-color: white;
    border-radius: 50%;
    transition: 0.5s;
}

.socialIcons:hover {
    background-color: #e10808;
    cursor: pointer;
}

.socialIcons:hover i {
    color: white;
}

.socialIcons i {
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

#topBtn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10%;
}

#topBtn i {
    font-size: 18px;
    transition: 0.5s;
}

#topBtn i:hover {
    color: #e10808;
    cursor: pointer;
}

.footerContentBottom {
    position: absolute;
    height: 50px;
    width: 100%;
    bottom: 0;
    margin-top: 10px;
}

.footerContentBottomCol {
    float: left;
    width: 50%;
    position: relative;
    height: 50px;
}

.footerContentBottomCol:first-child p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 45px;
    font-size: 12px;
}

.footerContentBottom P:first-child a {
    text-decoration: none;
    color: black;
    transition: 0.5s;
}

.footerContentBottom p:first-child a:hover {
    color: #e10808;
    cursor: pointer;
}

.footerContentBottomCol2 .appsWebs {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 45px;
    font-size: 12px;
}

.footerContentBottomCol2 .appsWebs a {
    text-decoration: none;
    color: black;
    transition: 0.5s;
}

.footerContentBottomCol2 .appsWebs a:hover {
    color: #e10808;
}

@media(max-width: 1445px) {

    .footerFirstCol2 h2,
    .footerFirstCol3 h2 {
        font-size: 16px;
    }

    .footerFirstColList li a {
        font-size: 14px;

    }

    .footerFirstColBox img {
        width: 200px;
    }

    .footerFirstColBox p {
        font-size: 14px;
    }

    .footerFirstColList li {
        padding: 2px 0;
    }

    .number {
        font-size: 10px;
        font-weight: bold;
    }

    address p {
        font-size: 12px;
    }
    #topBtn {
        top: 84%;
    }
}

@media(max-width: 832px) {
    #footer {
        height: 600px;
    }

    .footerFirstCol1 {
        width: 100%;
        height: 200px;
    }

    #topBtn {
        top: 88.5%;
    }

    .footerFirstCol2 {
        width: 50%;
        float: left;
        height: 350px;
    }

    .footerFirstCol3 {
        width: 50%;
        float: right;
        height: 350px;
    }

    .footerFirstCol1 {
        padding: 25px;
    }

    .socialIcons {
        height: 30px;
        width: 30px;
    }

    .socialIcons i {
        font-size: 18px;
    }

    .footerContentBottomCol:first-child p {
        font-size: 12px;
    }

    .footerContentBottomCol2 .appsWebs {
        font-size: 12px;
    }
}

@media(max-width: 577px) {
    .footerContentBottomCol {
        width: 100%;
    }

    .footerContentBottomCol:first-child p {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .footerContentBottomCol2 .appsWebs {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
}

@media (max-width: 538px) {
    .socialIcons i {
        top: 0;
    }
}

@media (max-width: 504px) {
    #footer {
        height: 875px;
    }

    #topBtn {
        top: 92.5%;
    }

    .footerFirstCol1 {
        width: 100%;
        height: 225px;
    }

    .footerFirstCol1 p {
        font-size: 12px;
    }

    .footerFirstCol2 {
        width: 100%;
        height: 275px;
    }

    .footerFirstCol3 {
        width: 100%;
        height: 300px;
    }

    .footerFirstCol2 h2,
    .footerFirstCol3 h2 {
        font-size: 14px;
    }

    .footerContentBottomCol:first-child p {
        font-size: 10px;
    }

    .footerContentBottomCol2 .appsWebs {
        font-size: 10px;
    }
}