:root {
    --primaryColor: #2e6da4;
    --secondaryColor: #ff8f3a;
}

body {
    color: #000;
    font-family: 'McLaren', cursive;
}

/*
Długość trwania animacji
*/
.animationDuration {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

img {
    max-width: 100%;
}

em {
    padding-right: 2px;
}


h1 {
    font-size: 2.3rem;
}

h2 {
    color: #072b63;
}

h3 {
}

h4 {
}

h5 {
}

a {
    color: #ff8f3a;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

.btn-primary:hover {
    color: #2e6da4;
    border-color: #2e6da4;
}

a:hover, a:focus {
    color: #2e6da4;
    text-decoration: none;
}

.about .text-wrapper {
    background: #fff;
}

.text {
    font-size: 1rem;
}

.text a {
    color: #ff8f3a;
    text-decoration: underline;
}

.container {
    clear: both;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1670px;
    width: 100%;
    position: relative;
}

header .container {
    position: static;
}

.container.container-sm {
    max-width: 1350px;
}

.container.container-xs {
    max-width: 1030px;
}

#page {
    overflow: hidden;
    position: relative;
}

#rainContent {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.flake {
    background-size: contain;
    width: 44px !important;
    height: 44px !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
    color: transparent !important;
    z-index: 100 !important;
}

.subpage #page {
    padding-top: 100px;
}

/**
 * HEADER
 */

header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1920px;
    min-width: 320px;
    -webkit-transition: background 0.4s;
    -moz-transition: background 0.4s;
    -ms-transition: background 0.4s;
    -o-transition: background 0.4s;
    transition: background 0.4s;
    z-index: 999;
    /*background: #00a6c3;*/
    height: 80px;
}

.subpage header,
header.sticky {
    background: rgba(7, 43, 99, 0.8);
}

.subpage header .logo,
header.sticky .logo {
    height: 80px;
}

.logo {
    float: left;
    padding: 10px;
    height: 250px;
    /*background: #00a6c3;*/
    transition-duration: 0.6s;

}

.logo a {
    display: block;
    height: 100%;
    max-height: 100%;
}

.logo a img {
    display: block;
    float: left;
    max-height: 100%;
}

#main-menu {
    text-align: center;
}

#main-menu ul {
    font-size: 0;
}

#main-menu ul li {
    display: inline-block;
    padding: 30px 10px;
    position: relative;
}

#main-menu ul li a {
    font-size: 1rem;
    line-height: 30px;
    font-weight: normal;
    letter-spacing: 0.05em;
    color: #fff;
    display: block;
    position: relative;
}

#main-menu ul li a {

}

#main-menu ul li a:before {
    display: block;
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    margin-left: -16px;
    width: 33px;
    height: 3px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    -webkit-transition: border-left-color 0.3s linear 0s, border-right-color 0.3s linear 0.2s;
    -moz-transition: border-left-color 0.3s linear 0s, border-right-color 0.3s linear 0.2s;
    -ms-transition: border-left-color 0.3s linear 0s, border-right-color 0.3s linear 0.2s;
    -o-transition: border-left-color 0.3s linear 0s, border-right-color 0.3s linear 0.2s;
    transition: border-left-color 0.3s linear 0s, border-right-color 0.3s linear 0.2s;
}

#main-menu ul li a:after {
    display: block;
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    margin-left: -1px;
    width: 3px;
    height: 3px;
    background: transparent;
    -webkit-transition: background 0.3s linear 0.1s;
    -moz-transition: background 0.3s linear 0.1s;
    -ms-transition: background 0.3s linear 0.1s;
    -o-transition: background 0.3s linear 0.1s;
    transition: background 0.3s linear 0.1s;
}

#main-menu ul li.active a:before {
    border-left-color: #ffa826;
    border-right-color: #ffa826;
}

#main-menu ul li.active a:after {
    background: #ffa826;
}

@media screen and (min-width: 1140px) {
    #main-menu ul li a:hover:before {
        border-left-color: #ffa826;
        border-right-color: #ffa826;
    }

    #main-menu ul li a:hover:after {
        background: #ffa826;
    }
}

#main-menu ul li.active a,
#main-menu ul li a:hover {
    color: #ffa826;
}

#main-menu ul li ul {
    /*display: none;*/
    opacity: 0;
    pointer-events: none;
    position: absolute;
    background: rgba(7, 43, 99, 0.8);
    margin-top: 20px;
    border-top: 1px solid #fff;
    transition-duration: 0.6s;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
}

#main-menu ul li ul li {
    padding: 14px;
    display: block;
    width: max-content;
    max-width: 280px;
    margin: auto;
}

#main-menu ul li:hover ul {
    opacity: 1;
    pointer-events: all;
}

.social-item a {
    background: #ffa826;
    width: 40px;
    height: 40px;
    display: block;
    text-align: center;
    line-height: 38px;
    border-radius: 50%;
    color: #fff;
    transition-duration: 0.6s;
    border: 1px solid #ffa826;
}

.social-icon {
    color: #fff;
    font-size: 21px;
}

.social-item a:hover {
    background: transparent;
}

.social-list {
    padding: 20px 0;
}

.apla {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.image-wrapper {
    position: relative;
    font-size: 0;
    overflow: hidden;
}

.slider-wrapper li {
    position: relative;
}

.slider-wrapper .text-wrapper {
    position: absolute;
    top: 50%;
    transform: translate3d(0, -50%, 0);
    color: #fff;
    width: 100%;
    z-index: 10;
}

.slider-wrapper .title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-shadow: -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

.slider-wrapper .btn-primary:hover {
    color: #fff;
}

.slider-wrapper .text {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-shadow: -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}


.btn-primary {
    border: 2px solid #ff8f3a;
    font-size: 1rem;
    min-width: 180px;
    background: #ff8f3a;
    transition-duration: 0.6s;
}

.btn-primary:hover {
    border: 2px solid #ff8f3a;
    background: transparent;
}


.footer-column {
    width: 25%;
    display: inline-block;
    font-size: 1rem;
    vertical-align: top;
}

.footer-column * {
}

.footer-columns {
    font-size: 0;
}


/*a:hover {*/
/*    color: #ef6801;*/
/*}*/

.footer-top {
    padding: 30px 0 0;
}

footer {
    /*background: linear-gradient(45deg, #73674b 30%, #d3eb00);*/
    color: #fff;
    background-size: 200%;
    z-index: 100;
    position: relative;
    background: rgba(7, 43, 99, 1);
    border-top: 1px solid transparent;
}

.footer-logo img {
    width: 190px;
}

.footer-bottom {
    padding: 10px 0;
}

.footer-links {
    float: left;
    /* margin: 0 -20px; */
}

.footer-links ul {
    margin: 0 0 0 -20px;
}

.footer-bottom li {
    padding: 0 20px;
}

.slider-wrapper {
    position: relative;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;

}

.news-list {
    font-size: 0;
    margin: 0 -6px;

    background: #fff;
}

.news-box {
    width: 50%;
    display: inline-block;
    padding: 6px;
    font-size: 1rem;
    vertical-align: top;
}

.box-image {
    float: left;
    margin-right: 20px;
    max-width: 400px;
}

.box-content {
    color: #000;
}

.btn-more {
    display: inline;
    color: #ff8f3a;
    /*font-weight: bold;*/
}

.box-description {
}

.box-title {
    font-size: 1.5rem;
}


.box-description .text {
    display: inline;
}

.news-box-inner {
    display: block;
    overflow: hidden;
    padding: 10px;
    border: 1px solid #072b63;
    border-radius: 8px;
}

.pagination-wrapper ul li a:hover {
    color: #072b63;
}

.news-box-inner:hover {

    border-color: #ff8f3a;
}

.box-image img {
    border-radius: 8px;
}

.gov-info a {
    padding: 10px;
}

.gov-info {
    margin-bottom: 30px;
}

.article-image {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.article-subtitle {
    font-size: 1.4rem;
    font-weight: bold;
}

/*
 Galeria
 */

.gallery-section {
    padding-bottom: 60px;
}

.gallery {
    clear: both;
}

.gallery ul {
    margin: -5px;
    font-size: 0;
}

.gallery li {
    width: 25%;
    padding: 5px;
    display: inline-block;
}

.gallery li a {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
}

.fancy {
    position: relative;
    display: block;
    width: 100%;
    font-size: 0;
}

.fancy img {
    max-width: 100%;
}

.hover-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 7, 0.75);
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    -ms-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    transition: opacity 0.4s;
}

.hover-mask .hover-text {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 900;
    padding: 13px 0 13px 54px;
    color: #fff;
}

@media screen and (min-width: 1140px) {
    .hover-mask:hover {
        opacity: 1;
    }
}

.table-calendar th,
.table-calendar {
    text-align: center;
}

.month-change {
    cursor: pointer;
    vertical-align: middle;
}

[class*="col-"] {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.row {
    margin-right: -5px;
    margin-left: -5px;
}

.event-box .box-date {
    text-align: center;
}

.event-box {
    padding: 10px;
    border: 1px solid #072b63;
    border-radius: 8px;

    margin-bottom: 10px;
}

.event-box .row > div {
    float: none;
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
}

.event-box .row {
    font-size: 0;
}

.events-wrapper .thumb:before {
    content: '';
    background-image: url(../images/scroll-button.png);
    background-size: contain;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    position: absolute;
    background-position: center center;
    background-repeat: no-repeat;
    top: 0;
    transform: translate3d(-50%, -50%, 0);
    background-color: transparent;
}

.winter .events-wrapper .thumb:before {
    background-image: url(../images/flake-2029377.svg);
}

.spring .events-wrapper .thumb:before {
    background-image: url(../images/marguerite-158242.svg);
}

.summer .events-wrapper .thumb:before {
    background-image: url(../images/sun-161923.svg);
}

.events-wrapper .scrollbar {
    position: absolute;
    right: 0;
    top: 0;
    height: 500px;
    width: 1px;
    background-color: rgba(150, 150, 150, 0.2);
}

.events-wrapper .overview {
    position: relative;
    margin-right: 20px;
}

.events-wrapper .thumb {
    position: relative;
}

.events-wrapper .viewport {
    max-height: 442px;
    overflow: hidden;
    margin-bottom: 30px;
    border-top: 1px solid rgba(150, 150, 150, 0.2);
    border-bottom: 1px solid rgba(150, 150, 150, 0.2);

}

.section-title {
    text-align: center;
    padding: 30px 0;
}

.calendar-wrapper td {
    position: relative;
}

.calendar-wrapper tbody tr td {
    height: 58px;
    padding: 0;
    vertical-align: middle !important;
}

.calendar-wrapper td .event-link .more-this-day {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 25px;
    height: 25px;
    font-size: 10px;
    font-weight: 700;
    line-height: 25px;
    background-color: rgb(255, 143, 58);
    color: #fff;
    border-radius: 50%;
}

.calendar-header {
    padding: 20px 0;
    font-size: 16px;
}

.other-month {
    background: #eee;
}

.event-link:hover {
    color: #fff;
    background: #072b63;
}

.event-link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 58px;
}

.today .more-this-day {
    background: #072b63;
    transition-duration: 0.6s;
}

.today .event-link {
    color: #fff;
}

.today .event-link:hover .more-this-day {
    background: #072b63;
}

.today .event-link:hover {
    background: rgb(255, 143, 58);
}

.today {
    background: #072b63;
    color: #fff;
}

.about .image-wrapper img {
    max-width: 100%;
}

.about .image-wrapper {
    max-width: 50%;
    padding: 0 40px 40px 0;
}

.margin-top {
    margin-top: 30px;
}

.about .text {
    font-size: 1.2rem;
    line-height: 1.8rem;
}

footer a:hover {
    color: #fff;
}

div#content {
    padding-bottom: 30px;
}

.article-content,
.news-list,
.content-box {
    overflow: hidden;
    background: #fff;
    position: relative;
    z-index: 100;
}

.pagination-wrapper a {
    background: transparent;
}

.files-box {
    max-width: 1100px;
    margin: 30px auto 0;
    background: #fff;
    position: relative;
    z-index: 100;
}


.files-box ul {
    font-size: 0;
}

.files-box li {
    font-size: 1rem;
    width: 25%;
    display: inline-block;
    padding: 6px;
    vertical-align: top;
}

.files-box li a {
    padding: 10px;
    display: block;
    font-size: 0;
    border: 1px solid;
    margin-bottom: 10px;
    color: var(--secondaryColor);
}

.files-box li a:hover {
    padding: 10px;
    display: block;
    font-size: 0;
    border: 1px solid;
    margin-bottom: 10px;
    color: var(--primaryColor);;
}

.files-box li a:hover .btn-download {
    border-color: var(--primaryColor);
}

.file-name {
    width: 100%;
    display: inline-block;
    font-size: 1.2rem;
    text-align: center;
}

.btn-download {
    text-align: center;
    width: 100%;
    display: inline-block;
    font-size: 60px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--secondaryColor);;
    transition: border-bottom-color 0.6s;
}

.download-text {
    font-size: 14px;
}

.hover-mask:hover:before {
    content: "+";
    position: absolute;
    left: 50%;
    top: 50%;
    color: #fff;
    font-size: 120px;
    transform: translate3d(-50%, -50%, 0);
}

.text * {
    list-style-position: inside;
}

.footer-column li {
    width: 50%;
    float: left;
    padding: 0 10px;
}

.footer-column ul {
    margin: 0px -10px;
}