/* Clean /web stylesheet bundle derived from the live senkovna template. */
/* Removed extra JCE, cookie-consent, and duplicate Joomla CSS blocks. */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,400,700,600);

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
    line-height: 0
}

.clearfix:after {
    clear: both
}

.hide-text {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

body {
    line-height: 1
}

blockquote,
q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

* {
    margin: 0;
    padding: 0
}

html {
    height: 100%
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 22.5px;
    color: #fff;
    background: #000;
    height: 100%;
    width: 100%
}

body.modal {
    background: transparent
}

#body {
    overflow: hidden
}

a {
    color: #a71b1f;
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    font-weight: 700;
    margin: 22.5px 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 22.5px;
    text-rendering: optimizelegibility;
    text-align: left;
    text-transform: uppercase
}

h1,
h2 {
    font-size: 45px;
    line-height: 67.5px;
    margin-bottom: 45px
}

@media (max-width: 767px) {

    h1,
    h2 {
        font-size: 30px;
        line-height: 45px
    }
}

h3 {
    font-size: 30px;
    line-height: 45px;
    margin-bottom: 22.5px
}

@media (max-width: 767px) {
    h3 {
        font-size: 22.5px;
        line-height: 33.75px
    }
}

h3.module-title {
    margin-top: 0
}

h4 {
    font-size: 22.5px;
    line-height: 22.5px
}

@media (max-width: 767px) {
    h4 {
        font-size: 19.5px
    }
}

h5,
h6 {
    font-size: 18px;
    line-height: 22.5px;
    font-weight: 400
}

@media (max-width: 767px) {

    h5,
    h6 {
        font-size: 16.5px
    }
}

img {
    vertical-align: middle;
    max-width: 100%
}

p {
    margin: 0 0 11.25px;
    line-height: 22.5px;
    text-align: justify
}

address {
    display: block;
    margin: 0 0 11.25px;
    font-style: normal;
    line-height: 22.5px
}

ul,
ol {
    padding: 0;
    margin: 0 0 11.25px 25px
}

ul li,
ol li {
    line-height: 22.5px
}

.highlight {
    font-weight: 600;
    color: #a71b1f
}

table {
    margin: 0 0 11.25px
}

table th,
table td {
    line-height: 22.5px;
    padding: 2px
}

table th strong,
table td strong {
    font-size: 18px
}

.alert {
    border-width: 1px;
    border-style: solid;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 5px
}

.alert.alert-info {
    background: rgba(167, 27, 31, 0.5);
    border-color: #a71b1f;
    color: #fff
}

#header-wrapper {
    background: transparent url(/images/galerie/head.png) center top no-repeat;
    background-size: cover;
    border-bottom: 1px solid #f1f1f1;
    position: relative
}

#header-wrapper:after {
    content: '';
    position: absolute;
    left: 50%;
    width: 89px;
    height: 83px;
    margin-left: -45px;
    bottom: -42px;
    background: transparent url(/assets/senkovna/images/delimiter.png) 0 0 no-repeat;
    z-index: 10
}

#header {
    width: calc(100% - 20px);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-top: 50px
}

#header:after {
    content: '';
    position: absolute;
    left: 50%;
    width: 60px;
    height: 52px;
    margin-left: 340px;
    bottom: -26px;
    background: transparent url(/assets/senkovna/images/delimiter-right.png) 0 0 no-repeat;
    z-index: 10
}

#header ul.menu {
    list-style: none;
    padding: 0;
    margin: 0
}

#header .module-menuleft {
    float: left;
    width: 160px
}

#header .module-menuleft ul.menu li {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px
}

@media (max-width: 767px) {
    #header .module-menuleft {
        float: none;
        width: auto;
        text-align: center
    }
}

#header .module-menuright {
    float: right;
    width: 220px
}

#header .module-menuright ul.menu li {
    display: inline-block;
    margin-left: 15px
}

@media (max-width: 767px) {
    #header .module-menuright {
        float: none;
        width: auto;
        text-align: center
    }
}

#header .module-language {
    float: right;
    clear: right;
    margin-top: 10px
}

#header .module-language ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex
}

#header .module-language li {
    margin-left: 10px
}

#header .module-language .lang-active {
    font-weight: bold
}

#header .module-language a {
    color: #fff
}

@media (max-width: 767px) {
    #header .module-language {
        margin: 15px 0
    }
}

#header .module-toolbar {
    clear: both;
    background: #a71b1f;
    text-transform: uppercase;
    padding: 10px;
    border: 3px solid transparent;
    outline: 1px solid #a71b1f;
    background-clip: padding-box;
    margin-top: 100px
}

#header .module-toolbar a {
    color: #fff;
    text-decoration: none;
    line-height: 40px;
    display: block;
    padding: 0 30px
}

@media (max-width: 979px) {
    #header .module-toolbar a {
        padding: 0
    }
}

#header .module-toolbar ul.menu {
    display: flex;
    height: 40px;
    flex-wrap: nowrap
}

#header .module-toolbar ul.menu li {
    display: inline-block;
    flex: auto;
    text-align: center;
    border-left: 2px dotted #7b1417
}

#header .module-toolbar ul.menu li.mobile,
#header .module-toolbar ul.menu li.mobile+li {
    border-left: none
}

#header .module-toolbar ul.menu li.mobile {
    display: none
}

#header .module-toolbar ul.menu li.mobile a:before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 35px;
    background: repeating-linear-gradient(0deg, transparent, transparent 5px, #fff 5px, #fff 10px)
}

@media (max-width: 767px) {
    #header .module-toolbar {
        margin-top: 20px
    }

    #header .module-toolbar ul.menu {
        display: block;
        overflow: hidden
    }

    #header .module-toolbar ul.menu li,
    #header .module-toolbar ul.menu li.mobile {
        display: block;
        border-left: none
    }

    #header .module-toolbar ul.menu a {
        display: block;
        height: 40px
    }
}

#header .slider {
    position: relative;
    height: 500px;
    margin-top: 1px
}

.web-js #header .slider {
    overflow: visible
}

#header .slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    display: none;
    overflow: hidden
}

.web-js #header .slider .slide {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity .28s ease, visibility 0s linear .28s
}

.web-js #header .slider .slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    transition: opacity .28s ease
}

#header .slider .slide:first-child {
    display: block
}

#header .slider .slider-nav-prev,
#header .slider .slider-nav-next {
    position: absolute;
    width: 80px;
    height: 155px;
    opacity: 0.5;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 5;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain
}

#header .slider .slider-nav-prev:hover,
#header .slider .slider-nav-next:hover {
    opacity: 1
}

#header .slider .slider-nav-prev {
    background-image: url('/assets/senkovna/images/arrow-left.png');
    left: -130px
}

#header .slider .slider-nav-next {
    background-image: url('/assets/senkovna/images/arrow-right.png');
    right: -130px
}

body.web-lightbox-open {
    overflow: hidden
}

.web-lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 88px 56px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, .88);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99999;
    transition: opacity .2s ease, visibility 0s linear .2s
}

.web-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .2s ease
}

.web-lightbox-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.web-lightbox-stage img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .45)
}

.web-lightbox-title {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 18px;
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 1.4
}

.web-lightbox-close,
.web-lightbox-nav {
    position: absolute;
    border: 0;
    color: #fff;
    cursor: pointer;
    background: rgba(255, 255, 255, .14)
}

.web-lightbox-close:hover,
.web-lightbox-nav:hover {
    background: rgba(255, 255, 255, .24)
}

.web-lightbox-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 34px;
    line-height: 44px;
    text-align: center
}

.web-lightbox-nav {
    top: 50%;
    width: 56px;
    height: 56px;
    margin-top: -28px;
    border-radius: 999px;
    font-size: 0
}

.web-lightbox-prev {
    left: 20px
}

.web-lightbox-next {
    right: 20px
}

.web-lightbox-prev:before,
.web-lightbox-next:before {
    display: block;
    font-size: 36px;
    line-height: 56px;
    text-align: center
}

.web-lightbox-prev:before {
    content: '\2039'
}

.web-lightbox-next:before {
    content: '\203A'
}

@media (max-width: 767px) {

    #header .slider .slider-nav-prev,
    #header .slider .slider-nav-next {
        width: 40px;
        height: 78px;
        background-size: contain;
        opacity: 0.8
    }

    #header .slider .slider-nav-prev {
        left: 12px
    }

    #header .slider .slider-nav-next {
        right: 12px
    }

    .web-lightbox {
        padding: 64px 12px 56px
    }

    .web-lightbox-close {
        top: 12px;
        right: 12px
    }

    .web-lightbox-nav {
        width: 44px;
        height: 44px;
        margin-top: -22px
    }

    .web-lightbox-prev {
        left: 8px
    }

    .web-lightbox-next {
        right: 8px
    }

    .web-lightbox-prev:before,
    .web-lightbox-next:before {
        font-size: 28px;
        line-height: 44px
    }

    .web-lightbox-title {
        left: 16px;
        right: 16px;
        bottom: 14px
    }
}

#header .slider .slide-title {
    position: relative
}

#header .slider .slide-text {
    width: 45%;
    position: absolute;
    top: 0
}

#header .slider .slide-image {
    width: 45%;
    position: absolute;
    bottom: 0;
    text-align: center
}

#header .slider .slide-left .slide-text {
    left: 0
}

#header .slider .slide-left .slide-image {
    right: 0
}

#header .slider .slide-right .slide-text {
    right: 0
}

#header .slider .slide-right .slide-image {
    left: 0
}

.web-menu-panels {
    margin-top: 30px
}

.web-menu-panel {
    display: none
}

.web-menu-panel.is-active {
    display: block
}

.web-menu-panel .web-menu-panel-title {
    display: none
}

.web-menu-panel .item-pages>.item-page {
    display: none
}

.web-menu-panel .item-pages>.item-page.is-active,
.web-menu-panel .item-pages>.item-page.open {
    display: block
}

@media (max-width: 767px) {
    #header .slider .slide-text {
        width: 100%;
        z-index: 10
    }

    #header .slider .slide-image {
        width: 100%;
        opacity: 0.5
    }
}

@media (max-width: 767px) {
    #header {
        padding-top: 120px
    }
}

#logo {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
    position: absolute;
    top: 45px;
    left: 50%;
    margin: 0 0 0 -185px
}

#logo a {
    display: block;
    width: 370px;
    height: 84px;
    background: transparent url(/assets/senkovna/images/logo.png?1) 0 0 no-repeat;
    background-size: contain
}

@media (max-width: 979px) {
    #logo {
        margin-left: -150px
    }

    #logo a {
        width: 300px
    }
}

@media (max-width: 767px) {
    #logo {
        top: 20px
    }
}

#main-wrapper {
    background: transparent url(/assets/senkovna/images/bg/kegs.jpg) center top no-repeat;
    background-size: cover;
    border-bottom: 1px solid #f1f1f1;
    position: relative
}

#main-wrapper:after {
    content: '';
    position: absolute;
    left: 50%;
    width: 89px;
    height: 83px;
    margin-left: -45px;
    bottom: -42px;
    background: transparent url(/assets/senkovna/images/delimiter.png) 0 0 no-repeat;
    z-index: 10
}

#main {
    width: calc(100% - 20px);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0;
    position: relative
}

#main .item-page {
    margin-left: 50%
}

body.legal-static-page #main .item-page {
    margin-left: 0 !important
}

body.legal-static-page #main:after,
body.legal-static-page #main-wrapper:after {
    display: none !important
}

body.legal-static-page #main .page-header h2 {
    background-image: none;
    padding-right: 0;
    text-align: left
}

body.legal-static-page #main .page-header h2:after {
    left: 0;
    right: auto
}

@media (max-width: 767px) {
    #main .item-page {
        margin-left: 0;
        position: relative;
        z-index: 1
    }
}

#main:after {
    content: '';
    position: absolute;
    width: 471px;
    height: 847px;
    left: -120px;
    bottom: -35px;
    z-index: 10;
    background: transparent url(/assets/senkovna/images/glass.png) 0 0 no-repeat
}

@media (max-width: 767px) {
    #main:after {
        z-index: 0;
        opacity: 0.5
    }
}

#main .page-header {
    overflow: hidden
}

#main .page-header h2 {
    position: relative;
    background-image: url('/assets/senkovna/images/icons/header-1.png');
    background-repeat: no-repeat;
    padding-top: 10px;
    background-position: right top;
    padding-right: 70px;
    text-align: right
}

@media (max-width: 767px) {
    #main .page-header h2 {
        background-size: auto 50px
    }
}

#main .page-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 150px;
    height: 0;
    border-bottom: 1px solid #fff
}

#main .page-header h2:after {
    right: 0
}

#main a {
    color: #fff;
    text-decoration: underline
}

.module-lunch {
    display: none !important
}

.module-main .module-inner,
.module-main-menu .module-inner {
    width: calc(100% - 20px);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 50px 0
}

.module-main.module-menu,
.module-main-menu.module-menu {
    background: transparent url(/assets/senkovna/images/bg/kegs.jpg) center top repeat-y;
    background-size: 100% auto;
    border-bottom: 1px solid #f1f1f1;
    position: relative
}

.module-main.module-menu:after,
.module-main-menu.module-menu:after {
    content: '';
    position: absolute;
    left: 50%;
    width: 89px;
    height: 83px;
    margin-left: -45px;
    bottom: -42px;
    background: transparent url(/assets/senkovna/images/delimiter.png) 0 0 no-repeat;
    z-index: 10
}

.module-main.module-menu .module-inner:before,
.module-main-menu.module-menu .module-inner:before {
    content: '';
    position: absolute;
    left: 50%;
    width: 59px;
    height: 52px;
    margin-left: -400px;
    bottom: -26px;
    background: transparent url(/assets/senkovna/images/delimiter-left.png) 0 0 no-repeat;
    z-index: 10
}

.module-main.module-menu .module-inner:after,
.module-main-menu.module-menu .module-inner:after {
    content: '';
    position: absolute;
    left: 50%;
    width: 60px;
    height: 52px;
    margin-left: 340px;
    bottom: -26px;
    background: transparent url(/assets/senkovna/images/delimiter-right.png) 0 0 no-repeat;
    z-index: 10
}

.module-main.module-menu .module-title,
.module-main-menu.module-menu .module-title {
    position: relative;
    background-image: url('/assets/senkovna/images/icons/header-2.png');
    background-repeat: no-repeat;
    padding-top: 10px;
    background-position: left top;
    padding-left: 70px
}

@media (max-width: 767px) {

    .module-main.module-menu .module-title,
    .module-main-menu.module-menu .module-title {
        background-size: auto 50px
    }
}

.module-main.module-menu .module-title:after,
.module-main-menu.module-menu .module-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 150px;
    height: 0;
    border-bottom: 1px solid #fff;
    left: 0
}

.module-main.module-program,
.module-main-menu.module-program {
    background: transparent url(/assets/senkovna/images/bg/bricks.jpg) center top repeat-y;
    background-size: 100% auto;
    border-bottom: 1px solid #f1f1f1;
    position: relative
}

.module-main.module-program:after,
.module-main-menu.module-program:after {
    content: '';
    position: absolute;
    left: 50%;
    width: 89px;
    height: 83px;
    margin-left: -45px;
    bottom: -42px;
    background: transparent url(/assets/senkovna/images/delimiter.png) 0 0 no-repeat;
    z-index: 10
}

.module-main.module-program .module-title,
.module-main-menu.module-program .module-title {
    position: relative;
    background-image: url('/assets/senkovna/images/icons/header-3.png');
    background-repeat: no-repeat;
    padding-top: 10px;
    background-position: left top;
    padding-left: 70px
}

@media (max-width: 767px) {

    .module-main.module-program .module-title,
    .module-main-menu.module-program .module-title {
        background-size: auto 50px
    }
}

.module-main.module-program .module-title:after,
.module-main-menu.module-program .module-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 150px;
    height: 0;
    border-bottom: 1px solid #fff;
    left: 0
}

.module-main.module-gallery,
.module-main-menu.module-gallery {
    background: transparent url(/assets/senkovna/images/bg/glow.jpg) center top repeat-y;
    background-size: 100% auto;
    border-bottom: 1px solid #f1f1f1;
    position: relative
}

.module-main.module-gallery:after,
.module-main-menu.module-gallery:after {
    content: '';
    position: absolute;
    left: 50%;
    width: 89px;
    height: 83px;
    margin-left: -45px;
    bottom: -42px;
    background: transparent url(/assets/senkovna/images/delimiter.png) 0 0 no-repeat;
    z-index: 10
}

.module-main.module-gallery .module-title,
.module-main-menu.module-gallery .module-title {
    position: relative;
    background-image: url('/assets/senkovna/images/icons/header-4.png');
    background-repeat: no-repeat;
    padding-top: 10px;
    background-position: left top;
    padding-left: 70px
}

@media (max-width: 767px) {

    .module-main.module-gallery .module-title,
    .module-main-menu.module-gallery .module-title {
        background-size: auto 50px
    }
}

.module-main.module-gallery .module-title:after,
.module-main-menu.module-gallery .module-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 150px;
    height: 0;
    border-bottom: 1px solid #fff;
    left: 0
}

ul.menu-nav {
    list-style: none;
    margin: 80px 0 40px -10px;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between
}

ul.menu-nav li {
    display: inline-block;
    border: 1px solid #fff;
    padding: 2px;
    margin: 0 0 0 50px
}

ul.menu-nav li:first-child {
    margin: 0
}

ul.menu-nav li a {
    display: block;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
    color: #a71b1f;
    padding: 5px 20px 5px 60px;
    text-transform: uppercase;
    font-size: 19.5px;
    position: relative;
    box-sizing: border-box;
    height: 100%;
    min-height: 34px
}

ul.menu-nav li a:hover,
ul.menu-nav li a.active {
    color: #a71b1f;
    text-decoration: none
}

ul.menu-nav li a:before {
    content: '';
    position: absolute;
    width: 92px;
    height: 79px;
    left: -40px;
    bottom: -5px;
    background: transparent url(/assets/senkovna/images/icons/menu-1.png) left bottom no-repeat;
    background-size: contain
}

ul.menu-nav li:nth-child(2) a {
    padding-left: 100px
}

ul.menu-nav li:nth-child(2) a:before {
    width: 132px;
    height: 68px;
    background-image: url(/assets/senkovna/images/icons/menu-2.png)
}

ul.menu-nav li:nth-child(3) a {
    padding-left: 20px
}

ul.menu-nav li:nth-child(3) a:before {
    width: 62px;
    height: 147px;
    left: -30px;
    background-image: url(/assets/senkovna/images/icons/menu-3.png)
}

ul.menu-nav li:nth-child(4) a {
    padding-left: 80px
}

ul.menu-nav li:nth-child(4) a:before {
    width: 119px;
    height: 125px;
    background-image: url(/assets/senkovna/images/icons/menu-4.png)
}

.menu-container.loading {
    height: 150px;
    background: transparent url(/assets/senkovna/images/loader.gif) center center no-repeat;
    opacity: 0.5
}

.menu-container .item-navigation {
    margin: 0 0 20px -30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around
}

.menu-container .item-navigation a {
    display: inline-block;
    color: #fff;
    font-size: 22.5px;
    font-weight: 600;
    margin: 0 0 20px 30px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none
}

.menu-container .item-navigation a:hover,
.menu-container .item-navigation a.active {
    color: #a71b1f;
    text-decoration: none
}

@media (max-width: 767px) {
    ul.menu-nav {
        display: block;
        margin-left: 40px
    }

    ul.menu-nav li {
        margin: 40px 0 0 0;
        display: block
    }

    ul.menu-nav li a {
        padding-left: 0 !important;
        text-align: right
    }

    ul.menu-nav li a:before {
        max-height: 70px;
        max-width: 100px
    }
}

.program .program-item {
    overflow: hidden;
    margin: 0 0 20px 0
}

.program .program-item .program-date {
    float: left;
    background: #000;
    color: #fff;
    font-weight: 700;
    font-size: 19.5px;
    text-align: center;
    padding: 20px;
    width: 80px;
    white-space: nowrap;
    line-height: 40px
}

.program .program-item .program-date span {
    display: block
}

.program .program-item .program-date span:first-child {
    border-bottom: 2px dashed #fff
}

.program .program-item .program-text {
    float: left;
    width: calc(100% - 280px);
    margin: 0 0 0 50px
}

.program .program-item .program-title {
    border-bottom: 1px solid #fff;
    font-weight: 400
}

.program .program-item:nth-child(2n) .program-date {
    float: right
}

.program .program-item:nth-child(2n) .program-text {
    float: right;
    margin: 0 50px 0 0
}

.program .program-item:nth-child(2n) .program-title {
    text-align: right
}

div.gallery h3 {
    border-bottom: 1px solid #fff
}

div.gallery ul.gallery {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    text-align: left !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important
}

div.gallery ul.gallery li {
    display: block !important;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important
}

div.gallery ul.gallery li a.thumbnail {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4/3;
    overflow: hidden !important
}

div.gallery ul.gallery li a.thumbnail img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important
}

.program .program-item .program-image {
    margin: 0 0 18px;
    max-width: 360px;
}

.program .program-item:nth-child(2n) .program-image {
    margin-left: auto;
}

.program .program-item .program-image img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
    .program .program-item .program-date {
        float: none !important
    }

    .program .program-item .program-text {
        float: none !important;
        width: auto !important;
        margin: 10px 0 !important
    }

    .program .program-item .program-title {
        text-align: right
    }

    div.gallery ul.gallery {
        grid-template-columns: 1fr !important
    }

    .program .program-item .program-image {
        max-width: none;
    }
}

.n3tArticlecontact {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.module-main.module-contact {
    background: transparent url(/assets/senkovna/images/bg/bricks.jpg) center top no-repeat;
    background-size: cover;
    border-bottom: 1px solid #f1f1f1;
}

.module-main.module-contact .contact-left {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.6);
}

.n3tArticlecontact .contact-left,
.n3tArticlecontact .contact-right {
    box-sizing: border-box;
    flex: 1 1 calc(50% - 20px);
    width: calc(50% - 20px);
    max-width: calc(50% - 20px);
}

.n3tArticlecontact .contact-right>div,
.n3tArticlecontact .contact-right iframe,
.n3tArticlecontact .contact-right form {
    width: 100%;
}

#footer {
    text-align: center;
}

#footer #copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 15px;
    text-align: center;
}

#footer #copyright .logo,
#footer #copyright .left,
#footer #copyright .right {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#footer #copyright .left,
#footer #copyright .right {
    gap: 6px;
}

#footer #copyright .right {
    margin-left: 0;
}

@media (max-width: 900px) {

    .n3tArticlecontact .contact-left,
    .n3tArticlecontact .contact-right {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }

    .module-main.module-contact .contact-left {
        padding: 15px;
    }
}