
@import 'components/reset.css';
@import 'components/print.css';
@import 'components/normalize.css';
@import 'components/base.css';
@import '../../../css/03-objects/old-grid.css';

@import 'components/horizontalmenu.css';
@import 'components/navigation.css';
@import 'components/body.css';
@import 'components/left-menu.css';
@import 'components/calendar.css';
@import 'components/content.css';
@import 'components/canteen.css';
@import 'components/forum.css';
@import 'components/login.css';
@import 'components/sitemap.css';
@import 'components/feedback.css';
@import 'components/files.css';
@import 'components/epodatelna.css';
@import 'components/poll.css';
@import 'components/teachers.css';
@import 'components/quiz.css';
@import 'components/dashboard.css';
@import 'components/gallery.css';
@import 'components/footer.css';
@import '../../../css/forms.css';
@import '../../../css/cookie-bar.css';
@import '../../../css/cookie-consent-bar.css';
@import '../../../css/lang-switcher.css';
@import '../../../css/photo-swipe.css';
@import '../../../css/wide-content.css';
@import '../../../css/references.css';
@import '../../../css/popup.css';
@import '../../../css/04-components/contextMenu.css';
@import '../../../css/04-components/navigation.css';
@import '../../../css/04-components/siteMenu.css';
@import '../../../css/04-components/posts.css';
@import '../../../css/04-components/post.css';
@import '../../../css/04-components/post-v2.css';
@import '../../../css/04-components/categoryPosts.css';
@import '../../../css/04-components/galleryPreview.css';
@import '../../../css/04-components/calendarEvent.css';
@import '../../../css/main-menu.css';
@import '../../../css/menu-switcher.css';


body {
    font-family: "Urbanist", sans-serif;
    color: #000000;
    background-color: #fff;
}


a {
    color: #0044aa;
}


p {
    line-height: 1.75;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}


/*** HOMEPAGE BACKGROUND ***/
.page--homepage {
    background: var(--color-primary);
    position: relative;
    z-index: 1;
}


.page--homepage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 100%);
    z-index: -3;
    pointer-events: none;
}


.page--homepage::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: var(--color-secondary);

    -webkit-mask-image: url('../img/pattern.png');
    -webkit-mask-repeat: repeat;
    -webkit-mask-size: 6.25rem;

    mask-image: url('../img/pattern.png');
    mask-repeat: repeat;
    mask-size: 6.25rem;

    z-index: -2;
    pointer-events: none;
    opacity: 0.5;
}


/*** LAYOUT ***/
.header-inner,
.horizontalmenu-inner,
.navigation-inner,
.body-inner,
.footer-inner,
.page-header-inner {
    max-width: 80rem;
}


/*** HEADER ***/
.header-wrapper {
    position: relative;
    z-index: 10;
}


@media only screen and (min-width: 60em) {
    .header-wrapper {
        background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,212,255,0) 30%);
        background-image: var(--web-pageImage, none);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 18rem;
    }
}


/*** LOGO ***/
.header-inner {
    text-align: center;
}


.header {
    position: relative;
    padding-right: 3.125rem;
    background-color: var(--web-mainMenu-itemBackgroundColor, rgba(0,0,0,0.5));
}


.header-row {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}


.header-col1,
.header-col2,
.header-col3 {
    box-sizing: border-box;
    text-align: left;
}


.header-col1 {
    text-align: center;
    width: 100%;
}


.header-col2,
.header-col3 {
    flex-grow: 1;
    padding: 0.5em;
}


.header .header-col2,
.header .header-col3 {
    display: none;
}


@media only screen and (max-width: 40em) {
    h1 {
        font-size: 187.5%;
    }

    h2 {
        font-size: 150%;
    }

    h3 {
        font-size: 131.25%;
    }

    h4 {
        font-size: 112.5%;
    }

    h5 {
        font-size: 93.75%;
    }

    h6 {
        font-size: 75%;
    }
}


@media only screen and (min-width: 60em) {
    .page--desktop .header {
        padding-right: 0;
        background-color: transparent;
    }

    .page--desktop .header-inner {
        height: 16em;
        padding-left: 0;
        padding-right: 0;
    }


    .page--desktop .header-col1 {
        flex-grow: 1;
        width: auto;
        text-align: left;
        margin-right: 2em;
    }


    .page--desktop .header-col2,
    .page--desktop .header-col3 {
        text-align: right;
        flex-grow: 0;
    }


    .page--desktop .header-col2 {
        margin-right: 2em;
    }


    .page--desktop .header .header-col2,
    .page--desktop .header .header-col3 {
        display: block;
    }
}


.logo {
    display: inline-flex;
    align-items: center;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: var(--web-logo-color, inherit);
    vertical-align: middle;
    gap: 1rem;
}


.logo:hover,
.logo:focus,
.logo:active {
    text-decoration: none;
    color: var(--web-logo-color, #ffffff);
    transition: 0.25s linear;
}


.logo__text,
.logo__image,
.logo__image img {
    display: block;
    z-index: 15;
}


.logo__image {
    display: flex;
    justify-content: center;
    align-items: center;
}


.logo__text {
    font-size: clamp(1.25rem, 0.8864rem + 1.8182vw, 2.25rem);
    padding: 0.25em 0;
    flex: 1;
}


.logo__image img {
    max-width: 5.31rem;
    height: auto;
    margin: 0;
}


.logo__image img:hover {
    transform: scale(0.9);
}


@media only screen and (min-width: 60em) {
    .logo__image img {
        max-width: 10.95rem;
        height: auto;
        transition: transform 0.5s ease;
    }
}


/*** HADER CONTACTS ***/
.header-contacts {
    margin-left: auto;
    display: flex;
    align-items: flex-start;
    gap: 1em;
    margin-top: 1em;
    margin-right: 1em;
}


.header-contacts > a {
    margin-bottom: 0;
}


.header-contacts .icon-adresa,
.header-contacts .icon-phone,
.header-contacts .icon-email,
.header-contacts .icon-shop {
    display: flex;
    align-items: center;
    text-align: center;
}


.header-contacts .icon-phone:before,
.header-contacts .icon-adresa:before,
.header-contacts .icon-email:before,
.header-contacts .icon-shop:before {
    content: "";
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 2.81rem;
    height: 2.81rem;
    margin-right: 0.5em;
    background-color: white;
    border-radius: 50%;
}


.header-contacts .icon-phone:before {
    background-image: url('../img/call.svg');
}

.header-contacts .icon-adresa:before {
    background-image: url('../img/location.svg');
}

.header-contacts .icon-email:before {
    background-image: url('../img/mail.svg');
}

.header-contacts .icon-shop:before {
    background-image: url('../img/bag-check.svg');
}


.header-contacts a {
    color: white;
}


.header-contacts a:hover,
.header-contacts a:focus,
.header-contacts a:active {
    text-decoration: none;
}


.header-contacts .icon-adresa span,
.header-contacts .icon-phone span,
.header-contacts .icon-email span {
    display: none;
}


@media only screen and (min-width: 60em) {
    .header-contacts .icon-adresa span,
    .header-contacts .icon-phone span,
    .header-contacts .icon-email span {
        display: flex;
    }

    .header-contacts {
        margin-left: auto;
        display: flex;
        align-items: flex-start;
        gap: 4em;
        margin-top: 0.5em;
        margin-right: 0.5em;
    }
}



/*** HORIZONTAL MENU ***/
.horizontalmenu {
    width: 100%;
    position: relative;
    z-index: 9;
}


.horizontalmenu-inner {
    display: none;
}


.horizontalmenu-mobile {
    display: none;
    background-color: none;
    border-top: 0.1em solid #fff;
    border-bottom: 0.1em solid #fff;
    background-color: var(--web-mainMenu-itemBackgroundColor, rgba(0,0,0,0.5));
}


.horizontalmenu-mobile-2 {
    margin-top: 1rem;
    border-top: 0rem solid #0004;
}


.horizontalmenu-secondary {
    display: none;
    padding: 1em;
    background: #fff;
}


.horizontalmenu-secondary:empty {
    padding: 0;
}


.horizontalmenu--active .horizontalmenu-inner {
    height: auto;
    transform: scaleY(1);
}


.horizontalmenu--active .horizontalmenu-secondary {
    display: none;
}

.horizontalmenu--active .horizontalmenu-mobile {
    display: block;
}


.horizontalmenu-switch {
    position: absolute;
    top: 50%;
    margin-top: -1.375rem;
    right: 1em;
}


.horizontalmenu-switcher {
    font-weight: bold;
    color: #333;
    display: block;
    text-align: center;
    vertical-align: middle;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    width: 2.81rem;
    height: 2.81rem;
    white-space: nowrap;
    overflow: hidden;
    background: var(--web-mainMenu-activeItemColor);
    border-radius: 0.25rem;
    padding: 0.125rem;
}


.horizontalmenu-switcher:hover,
.horizontalmenu-switcher:focus,
.horizontalmenu-switcher:active {
    text-decoration: none;
}


.horizontalmenu-switcher-icon,
.horizontalmenu-switcher-label {
    display: inline-block;
    vertical-align: middle;
}


.horizontalmenu-switcher-icon {
    margin-right: 0.5em;
}


.horizontalmenu-switcher:hover .horizontalmenu-switcher-label,
.horizontalmenu-switcher:focus .horizontalmenu-switcher-label,
.horizontalmenu-switcher:active .horizontalmenu-switcher-label {
    text-decoration: underline;
}


.main-menu__item-wrapper:hover {
    text-decoration: none;
}


.horizontalmenu .m0_0 a {
    padding: 0.5em .6em 0.8em;
    border: 2px solid transparent;
    border-width: 0 0 2px 0;
    flex: 1;
    color: #ffffff;
    font-size: 1.17em;
    font-weight: bold;
    transition: color 0.5s ease, border-color 0.5s ease;
    text-decoration: none;
    background-color: transparent !important;
}


.horizontalmenu .m0_0 a:hover,
.horizontalmenu .m0_0 a:active {
    color: var(--web-mainMenu-activeItemColor, #fff);
    border-color: var(--web-mainMenu-activeItemBorderColor, #fff);
}


.horizontalmenu .m0_0 .m0_0hov {
    border-bottom: 2px solid var(--web-mainMenu-itemColor, #fff);
    color: var(---web-mainMenu-itemColor, #fff);
}


.horizontalmenu .m0_0 a,
.horizontalmenu .m0_0 a:hover,
.horizontalmenu .m0_0 a:focus,
.horizontalmenu .m0_0 a:active {
    text-decoration: none;
}


.horizontalmenu-inner::before,
.horizontalmenu-inner::after {
    content: '';
    display: block;
    position: absolute;
    background: #fff;
    height: 2px;
    bottom: -0.5rem;
    width: 50%;
}


.horizontalmenu-inner::before {
	left: 0;
	width: calc(50% - 40.375rem);
}


.horizontalmenu-inner::after {
    right: 0;
    width: calc(50% + 28.75rem);
    transform: translateX(0);
    transition: transform 0.3s ease;
}


@media (max-width: 75rem) {
    .horizontalmenu-inner::after {
        transform: translateX(10rem);
    }
}


.header-content {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 3em;
}


.header-title {
    z-index: 10;
    margin-top: 0;
    padding-bottom: 1.5em;
    text-align: left;
}


.header-title h2 {
    display: flex;
    justify-content: center;
    margin: 0 0 1.4rem;
    font-size: 3em;
    font-weight: 600;
    line-height: 1;
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}


.header-button {
    background-color: #64c847;
    color: white;
    padding: 0.7em 1.5em 0.7em 1.5em;
    border-radius: 3.125rem;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.25s linear;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.95rem;
    font-weight: 700;
}


.header-button:hover {
    background-color: #1d1d1d;
    text-decoration: none;
}


.main-menu {
    background: var(--web-mainMenu-itemBackgroundColor);
    color: var(--web-mainMenu-itemColor, #000000);
    text-align: center;
}


.main-menu__items {
    width: 100%;
    color: white;
    font-weight: bold;
    transition: 0.25s linear;
}


.main-menu__item a:active,
.main-menu__item a:hover {
    background-color: #000000;
}


@media only screen and (min-width: 60em) {
    .page--desktop .horizontalmenu-switch {
        display: none;
    }


    .page--desktop .horizontalmenu-inner {
        display: flex;
        justify-content: right;
        gap: 2.5em;
    }


    .page--desktop .horizontalmenu {
        position: absolute;
        top: 5.5rem;
        width: 100%;
    }


    .page--desktop .header-content {
        width: 80em;
        display: flex;
        align-items: center;
        justify-content: left;
        height: 90vh;
        margin-top: 10em;
        padding: 0;
    }


    .page--desktop .header-title{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }


    .page--desktop .header-title h2 {
        margin: 0 0 1.4rem;
        font-size: 6.25rem;
        font-weight: 700;
        letter-spacing: -0.25rem;
        line-height: 1;
        display: flex;
        color: white;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    }


    .page--desktop .horizontalmenu-mobile,
    .page--desktop .horizontalmenu-secondary,
    .page--desktop .horizontalmenu--active .horizontalmenu-secondary {
        display: none;
    }


    .bottom{
        display:none;
    }

    .header-button {
        font-size: 1.2rem;
    }
}


/*** LEFT MENU ***/
.body-outer--2cols {
    display: grid;
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}


.body {
    order: 1;
    overflow: hidden;
}


.leftMenu {
    display: block;
    background: var(--web-leftMenu-backgroundColor, #f8f8f8);
    order: 2;
    box-sizing: border-box;
    padding: 1rem;
}


.leftMenu h1 {
    color: var(--web-header-1);
}

.leftMenu h2 {
    color: var(--web-header-2);
}

.leftMenu h3,
.leftMenu h4,
.leftMenu h5,
.leftMenu h6 {
    color: var(--web-header-3);
}


@media only screen and (min-width: 60em) {
    .page--desktop .body-outer--2cols {
        grid-template-columns: 18rem 1fr;
    }

    .page--desktop .leftMenu {
        order: 0;
    }
}


/*** PAGE HEADER ***/
.page-header-wrapper {
    background: rgb(240, 240, 240);
    color: rgb(0, 0, 0);
}


.page-title {
    display: none;
}


.hidden-title {
    display: block;
    padding-left: 1rem;
    padding-right: 1rem;
}


@media only screen and (min-width: 60em) {
    .page-header-wrapper {
        background: var(--color-primary);
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }


    .page-header-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0, 0, 0, 0.25) 100%);
        z-index: 1;
        pointer-events: none;
    }


    .page-header-inner {
        width: 100%;
        padding-bottom: 2.55em;
        padding-top: 2em;
    }


    .page-title {
        display: flex;
        padding-left: 1em;
    }


    .page-title h1 {
        font-size: 3.5em;
        font-weight: 700;
        position: relative;
        line-height: 1;
        padding-top: 0.2em;
        margin-bottom: 0;
    }


    .hidden-title {
        display: none;
    }
}


/*** BODY ***/
.body-inner {
    padding: 1em;
}


.body-inner--wide {
    padding: 0;
    max-width: none;
}


.body-inner--breadcrumbs,
.body-inner--products {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 1em;
}

.navigation {
    display: block;
}

.navigation__item {
    font-size: 1rem;
    text-decoration: underline;
}


.navigation__item:hover {
    text-decoration: none;
}


.navigation__item:last-child {
    font-weight: bold;
    text-decoration: none;
}


@media only screen and (min-width: 60em) {
    .body-inner--breadcrumbs,
    .body-inner--products {
        padding-top: 0em;
        padding-bottom: 0em;
    }
}


/*** CALENDAR EVENTS ***/
.calendarEvents {
    margin-bottom: 2rem;
}


.calendarEvent__date {
    background-color: var(--web-mainMenu-itemBackgroundColor);
    color: var(--web-mainMenu-itemColor);
}


/*** CONTENT ***/
.content {
    padding-top: 2em;
}

.content--homepage {
    padding-top: 0;
}

.content hr {
    height: 0.31rem;
    background: #eee;
    border: none;
    box-sizing: border-box;
    margin: 2em 0;
}

.content hr:last-child {
    margin-bottom: 0;
}

.content img {
    display: block;
    max-width: 100%;
    height: auto !important;
}

.content .photoswipe {
    display: inline-block;
}

/*** CONTENT TABLE ***/
.content table {
    width: 100%;
    border-spacing: 0;
    border: 1px solid #e5e5e5;
    margin-bottom: 1em;
}

.content table th,
.content table td {
    border: 1px solid #e5e5e5;
    border-width: 0 1px 1px 0;
    padding: 0.5em 1em;
}

.content table th:last-child,
.content table td:last-child,
.table-no-border .content table th,
.table-no-border .content table td,
.content table th.table-no-border,
.content table td.table-no-border {
    border-right: none;
}

.content table th.table-cell-border,
.content table td.table-cell-border {
    border-right: 1px solid #e5e5e5;
}

.content table thead tr,
.content table thead tr td,
.content table thead tr th {
    background: #fff;
}

.content table tbody tr:nth-child(odd) {
    background: #f2f2f2;
}

.content table thead th,
.content table tfoot th,
.content table thead td,
.content table tfoot td {
    text-align: center;
    font-size: 87.5%;
    padding-top: 1.286em;
    padding-bottom: 1.286em;
}

.content table thead th a,
.content table tfoot th a,
.content table thead td a,
.content table tfoot td a {
    color: inherit;
}

.content table thead th.active,
.content table tfoot th.active,
.content table thead td.active,
.content table tfoot td.active {
    color: #000000;
}

.content table thead th.table-normal-padding,
.content table tbody th.table-normal-padding,
.content table tfoot th.table-normal-padding,
.content table thead td.table-normal-padding,
.content table tbody td.table-normal-padding,
.content table tfoot td.table-normal-padding {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.content table tbody th.table-normal-padding,
.content table tbody td.table-normal-padding {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.content table tfoot th,
.content table tfoot td {
    text-align: left;
}


/*** CALENDAR WIDGET ***/
.wg_calendar {
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    padding-top: 2.25rem;
}


.wg_calendar table {
    border: none;
}


.wg_calendar table th,
.wg_calendar table td {
    border: none;
    padding: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}


.wg_calendar table tbody tr:nth-child(odd),
.wg_calendar table tbody tr:nth-child(even) {
    background: transparent;
}


.wg_cal_navi {
    text-transform: capitalize;
    font-weight: normal;
    top: 0;
}


.wg_cal_navi td {
    position: relative;
    font-weight: normal;
    border: none;
    padding: 0;
    background: transparent;
}


.wg_cal_navi td:nth-child(2),
.wg_cal_navi td:nth-child(4) {
    width: 2.75rem;
}


.wg_cal_navi td:nth-child(2) a,
.wg_cal_navi td:nth-child(4) a {
    padding-left: 2.75rem;
}


.wg_cal_navi td:nth-child(2) a,
.wg_cal_navi td:nth-child(4) a {
    background-image: url('/img/calendar_arrow.svg');
    background-position: left center;
    background-size: 0.375rem;
    z-index: 10;
}


.wg_cal_navi td:nth-child(3) {
    font-size: 1.125rem;
    padding: 0.25rem 0;
    font-weight: bold;
    color: var(--web-mainMenu-itemBackgroundColor);
}


.wg_cal_navi td:nth-child(4) a {
    transform: scaleX(-1);
}


.wg_cal_days {
    text-transform: uppercase;
}


.wg_cal_td {
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}


.wg_cal_td_a {
    background: var(--web-mainMenu-itemBackgroundColor);
    color: var(--web-mainMenu-itemColor);
    font-weight: bold;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    top: 0.125rem;
    bottom: 0.125rem;
    left: 0.25rem;
    right: 0.25rem;
    border-radius: 0;
    position: static;
}


/*** SLIDESHOW ***/
.slideshow {
    display: flex;
    flex-direction: column;
    margin: 0;
    position: relative;
    z-index: 5;
    margin-bottom: 0;
}


.slideshow .owl-controls {
    display: none;
}


.slideshow .owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: auto;
}


.slideshow .owl-carousel .slideshow__slide--msie img {
    max-height: none;
}


.slideshow__slideContent {
    display: flex;
    justify-content: center;
    position: relative;
}

@media only screen and (min-width: 60em) {
    .slideshow .owl-carousel .owl-item img {
        display: block;
        object-fit: cover;
        aspect-ratio: 2 / 1;
        min-height: 100vh;
    }

    .slideshow {
        position: relative;
        margin-top: -18.4em;
        margin-bottom: 3em;
    }

    .slideshow__slideContent {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-align: start;
        align-items: flex-start;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
}


/*** CANTEEN ***/
.wg_canteen {
    text-align: center;
}


/*** CONTEXT MENU ***/
.contextMenu {
    margin-bottom: 2rem;
}


.contextMenuLink {
    padding: 0.75rem 1rem;
    color: var(--web-leftMenu-itemColor);
    background: var(--web-leftMenu-itemBackgroundColor, transparent);
}


.contextMenuLink--active {
    padding: 0.75rem 1rem;
    color: var(--web-leftMenu-activeItemColor);
    background: var(--web-leftMenu-activeItemBackgroundColor, transparent);
}


.contextMenu__header .contextMenuLink {
    font-weight: bold;
    font-size: 1.125rem;
    background: transparent;
}


/*** SITE MENU ***/
.siteMenu {
    margin-bottom: 2rem;
}


.siteMenuLink {
    padding: 0.75rem 1rem;
    color: var(--web-leftMenu-itemColor);
    background: var(--web-leftMenu-itemBackgroundColor, transparent);
}


.siteMenuLink--active {
    color: var(--web-leftMenu-activeItemColor);
    background: var(--web-leftMenu-activeItemBackgroundColor, transparent);
}


/*** POSTS ***/
.post__title {
    font-size: 125%;
}


@media only screen and (min-width: 30em) {
    .posts--2cols,
    .posts--3cols,
    .posts--4cols {
        grid-template-columns: 1fr 1fr;
    }
}


@media only screen and (min-width: 60em) {
    .posts--3cols,
    .posts--4cols {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media only screen and (min-width: 70em) {
    .posts--4cols {
        grid-template-columns: repeat(4, 1fr);
    }
}


/*** GALLERY SLIDER ***/
.gallery-slider {
    padding: 1em 3.125rem;
    position: relative;
}

.gallery-slider .owl-controls {
    margin: 0;
}

.gallery-slider__slide {
    display: block;
    padding: 0.5em 1em;
    box-sizing: border-box;
}

.gallery-slider__photo {
    display: block;
}

.gallery-slider img {
    display: block;
    object-fit: cover;
}

.gallery-slider .owl-next,
.gallery-slider .owl-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    background-position: center center;
    background-repeat: no-repeat;
    width: 3.125rem;
    padding-left: 3.125rem;
    overflow: hidden;
    box-sizing: border-box;
}

.gallery-slider .owl-prev {
    left: -3.125rem;
    background-image: url('../img/slider-left.png');
}

.gallery-slider .owl-next {
    right: -3.125rem;
    background-image: url('../img/slider-right.png');
}


.photogallery {
    overflow: hidden;
    padding: 1em;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.625rem, 1fr));
    gap: 0.5em;
}


.photogallery .imgb {
    padding: 0;
    width: auto;
}


.photogallery .imgb .desc {
    bottom: 0;
}


.photogallery .imgb a {
    display: block;
}


.photogallery .photoswipe {
    display: block;
}


.photogallery img {
    object-fit: cover;
    max-height: none;
    box-shadow: none;
    border: none;
    display: block;
}


.photogallery .imgb--gallery-default img {
    background: #eee;
    object-fit: none;
}


.products {
    margin-bottom: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.product,
.product__content,
.product__image,
.product__image img,
.product__title,
.product__description {
    display: block;
}


.product {
    padding: 0;
    margin-bottom: 1em;
    color: inherit;
    box-sizing: border-box;
    width: 100%;
}


.product__content {
    padding: 0.5em 1em;
}


.product__title {
    font-weight: bold;
    text-align: center;
    font-size: 125%;
}


.product__image {
    margin-bottom: 1em;
}


.product__image img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}


.product__description {
    margin-top: 0.75em;
    text-align: center;
}


.product,
.product:hover,
.product:focus,
.product:active {
    text-decoration: none;
}


.product:hover .product__title,
.product:focus .product__title,
.product:active .product__title {
    text-decoration: underline;
}


.products--circle .product__image img {
    border-radius: 50%;
}


@media only screen and (min-width: 24em) {
    .product {
        width: 50%;
    }
}


@media only screen and (min-width: 38em) {
    .product {
        width: 33.33%;
    }
}


@media only screen and (min-width: 52em) {
    .product {
        width: 25%;
    }
}


/*** BLOCKS ***/
.block-1,
.block-2,
.block-3 {
    display: block;
}


.block-1 {
    background-color: #eee;
}


.block-2 {
    background-color: #ddd;
}


.block-3 {
    background-color: #ccc;
}


/*** BUTTON ***/
.button,
.button-2,
.button-3 {
    display: inline-block;
    box-sizing: border-box;
    background-color: #64c847;
    color: white;
    border-radius: 3.125rem;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.3em 1em;
    transition: background-color 0.25s linear;

    &:hover,
    &:focus,
    &:active {
        text-decoration: none;
        background-color: #262626;
    }
}



.button:active,
.button-2:active,
.button-3:active {
    box-shadow: none;
}


/*** GOOGLE MAP ***/
iframe.google-map {
    display: block;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}


/*** FOOTER ***/
.footer {
    position: relative;
    background-color: rgba(38, 38, 38, 0.9);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--web-footerImage);
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.footer > * {
    position: relative;
    z-index: 1;
}


.footer-layout {
    background-color: #262626;
}

.footer-inner--webauthor {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 1rem;
    justify-content: space-between;
    padding-top: 2em;
    padding-bottom: 2em;
    border-top: 0.31rem solid #eee;
}

.footer-inner--webauthor > :last-child {
    margin-left: auto;
    text-align: right;
}


.footer--customized .footer-inner--webauthor {
    border-top: none;
}


.footer-inner-content {
    font-size: 75%;
    color: rgba(255, 255, 255, 0.6);
}


.footer-inner-content a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-inner-content a:hover {
    text-decoration: none;
}


.footer-info {
    color: #fff;
    padding-top: 0em;
}


.footer-info > h3 {
    color: #fff;
    font-size: 1.7em;
    font-weight: 800;
    margin: 1.2rem 0 1.2rem;
    letter-spacing: -0.7px;
}


.footer-info .icon-adresa,
.footer-info .icon-phone,
.footer-info .icon-email {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    text-align: left;
}


.footer-info .phone-wrapper {
    display: block;
    text-align: left;
}

.phone-info {
    color: #999999;
}


.footer-info .phone-wrapper p{
    margin-top: 0;
    margin-bottom: 0;
}

.footer-info .icon-phone:before,
.footer-info .icon-adresa:before,
.footer-info .icon-email:before {
    content: "";
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 2.81rem;
    height: 2.81rem;
    margin-right: 1em;
    background-color: white;
    border-radius: 50%;
}


.footer-info .icon-phone:before {
    background-image: url('../img/call.svg');
}

.footer-info .icon-adresa:before {
    background-image: url('../img/location.svg');
}

.footer-info .icon-email:before {
    background-image: url('../img/mail.svg');
}


.footer-map {
    position: relative;
    display: inline-block;
    width: 100%;
}


.footer-button {
    padding: 1em 2em;
    background-color: #64c847;
    border-radius: 1.875rem;
}


.icon-adresa a,
.icon-email a,
.icon-phone a,
.footer-map a {
    color: white;
}

.footer-map a {
    color: white;
    text-decoration: none;
}

.icon-adresa a:hover,
.icon-email a:hover,
.icon-phone a:hover {
    text-decoration: none;
}

.footer-button:hover {
    background-color: #1d1d1d;
    transition: 0.5s ease-out;
}


.footer-image {
    display: none;
}

@media only screen and (min-width: 60em) {
    .footer-image {
        display: flex;
        justify-content: right;
        padding-top: 4em;
        object-fit: cover;
        overflow: hidden;
    }


    .footer-button {
        position: absolute;
        bottom: 3em;
        left: 0;
        background-color: #64c847;
        border-radius: 0;
        text-align: left;
        padding: 1.5rem 3rem 1.5rem 1.5rem;
        font-size: 1.3em;
    }


    .footer-info {
        padding-top: 2.5em;
    }

    .footer-info .icon-adresa,
    .footer-info .icon-phone,
    .footer-info .icon-email {
        margin-bottom: 1.8rem;
    }

    .footer-info > h3 {
        font-size: 2.11em;
        margin: 2rem 0 2.6rem;
    }

    .footer-inner-content {
        font-size: 105%;
    }
}


/*** UTILS ***/
.u-hide-mobile {
    display: none;
}


@media only screen and (min-width: 60em) {
    .u-hide-mobile {
        display: block;
    }
}


/*** TILES ***/
.tiles{
    margin-top: 0.5em;
    margin-bottom: 5em;
}


.tile {
    display: grid;
    min-height: 18.75rem;
    background-color: #f0f0f0;
}


.tile__title {
    color: white;
    text-shadow: 0 0 1.56rem rgba(0, 0, 0, 0.51);
    font-size: 3em;
    letter-spacing: -1px;
    padding: 1.9rem;
    margin-bottom: 0;
}


.tile__header {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 25rem;
    background-position: center;
    background-size: cover;
}


.tile__body {
    background-color: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    align-items: stretch;
}


.tile__content{
    padding: 3em;
    text-align: left;
    align-self: flex-start;
}

.tile__content a {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    font-weight: 600;
}

.tile__content a:hover {
    text-decoration: none;
}


.tile__body > p {
    padding: 2em;
}

.tile__content > p {
    line-height: 2;
}


@media (min-width: 60em) {
    .tile {
        grid-template-columns: 1fr 1fr;
    }

    .tile:nth-child(even) {
        direction: rtl;
    }

    .tile:nth-child(even) .tile__content {
        direction: ltr;
    }

    .tile__header {
        justify-content: right;
    }

    .tile:nth-child(even) .tile__header {
        justify-content: left;
    }

    .tile__title {
        font-size: 4.23em;
    }
}

/*** HOMEPAGE ABOUT ***/
.about-container {
    width: 100%;
    margin-bottom: 5em;
    color: white;
}


.about-grid-container {
    display: grid;
    grid-template-columns: 1fr;
}


.about-container > h1 {
    font-size: 4.23em;
    letter-spacing: -1.5px;
    margin-bottom: 0;
}


.about-container > h2 {
    margin-top: 0;
    font-size: 2.11em;
    letter-spacing: -0.6px;
}


@media (min-width: 60em) {
    .about-grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 8.3rem;
    }
}


.hidden {
    display: none;
}


/** ÚPRAVA AKTUALIT **/
.post-v2__image {
    display: block;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 350 / 250;
    height: auto;
    overflow: hidden;
}

.post-v2__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    object-position: center;
}

@media (max-width: 40em) {
    .post-v2__image{
        max-width: 100%;
    }
}

.post__link,
.post__perex a{
    color: rgba(255, 255, 255, 0.95);
}

.post__date {
    color: rgba(255, 255, 255, 0.7); 
}

.body-inner .content {
    padding-bottom: 2rem;
}