
:root {
    /*07294D*/
    /*--blue-color: #154472;*/
    --blue-color: #143456;

    /*0C8B51*/
    --green-color: #0C8B51;

    --link-color: #3D7FBC;
    --link-hover-color: #0C8B51;
}

p.a {
    color: var(--link-color);
    text-decoration: underline !important;
    text-decoration-color: var(--link-color) !important;
}

a {
    color: var(--link-color);
    text-decoration: underline !important;
    text-decoration-color: var(--link-color) !important;
}

a:hover {
    color: var(--green-color);
    text-decoration-color: var(--green-color) !important;
}

a.event_title_link {
    text-decoration: underline !important;
    text-decoration-color: var(--link-color) !important;
    color: var(--link-color);
}

a.event_title_link:hover {
    text-decoration: underline !important;
    text-decoration-color: var(--link-hover-color) !important;
    color: var(--link-hover-color);
}

ul.nav-dropdown li a {
    text-decoration: none !important;

}

.page_item a {
    color: #555555;
    font-size: 16px;
}

.nav-dropdown {

}


.page_item.current_page_item a {
    color: #444444;
    font-weight: bold;
}

#my-header-section {
    margin-top: 80px;
    color: white;
    font-size: 20px;
}

#my-header-section > h2 {
    color: white;
}

#slider-right-box {
    padding: 20px;
    background: rgba(0, 0, 0, 0.0);
}

@media only screen and (min-width: 1200px) and (max-width: 1700px) {
    #slider-right-box {
        background: rgba(0, 0, 0, 0.6);
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    #slider-right-box {
        background: rgba(0, 0, 0, 0.6);
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    #slider-right-box {
        background: rgba(0, 0, 0, 0.6);
    }
}

@media (max-width: 767px) {
    #slider-right-box {
        background: rgba(0, 0, 0, 0.6);
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    #slider-right-box {
        background: rgba(0, 0, 0, 0.6);
    }
}

#bakalari-button {
    background-color: deeppink;
    color: white;

}

#bakalari-button:hover {
    background-color: #c41272;
    color: white;
}

#jidelnicek-button {
    background-color: forestgreen;
    color: white;
}

#jidelnicek-button:hover {
    background-color: #165c16;
    color: white;
}

#posta-button {
    background-color: dodgerblue;
    color: white;
}

#posta-button:hover {
    background-color: #186bbb;
    color: white;
}

.m-button {
    padding: 10px;
    text-align: center;
    width: 100%;
}

.footer-area {
    padding-top: 0px;
}

.blog-page {
    margin-bottom: 40px;
}

.submenu-link {
    color: var(--blue-color) !important;
    font-size: 16px;
}

.submenu-link:hover {
    color: var(--green-color) !important;
}

.submenu-link-active {
    color: var(--green-color) !important;
    font-weight: bold;
}

.header-top {
    padding-bottom: 0px;
}

.page-area {
    margin-top: 40px;
}

.head-box {
    position: relative;
    width: 25%;
    margin-left: 3px;
    margin-right: 3px;
}

.bg-red {
    background-color: #e65a50;
}

.bg-tyrkys {
    background-color: #7cc2b5;
}

.bg-yellow {
    background-color: #ffd54d;
}

.bg-green {
    background-color: #4c9c6f;
}

#header-section h1 {
    font-size: 32px;
    padding: 20px;
    text-transform: uppercase;
    line-height: 1.5em;
}

.navigation .nav-menus-wrapper .nav-menu li a {
    font-weight: 600;
    font-size: 16px;
    padding: 13px 0;
    color: #2d68a3;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    -ms-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
    display: block;
    position: relative
}

.slider-link {
    color: white;
    text-decoration: none !important;

}

.slider-link:hover {
    color: white;
    text-decoration: none !important;

}

.section-thumb {
    object-fit: cover;
    width: 230px;
    height: 200px;
}

.news-thumb {
    object-fit: cover;
    width: 200px;
    height: 120px;
    border: 4px solid white;
}


.my-menu li {

}

.my-menu li ul {
    display: none;
}

.title {
    background: rgba(0, 0, 0, 0);
    display: inline;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 32px !important;
    line-height: 50px;
    color: white;
}

.title-podklad {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    display: inline;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 32px !important;
    line-height: 50px;
}

.small-title {
    background: rgba(0, 0, 0, 0.3);
    display: inline;
    padding-left: 40px;
    padding-right: 40px;
    color: white;
    font-size: 32px !important;
}

.news-header {
    font-size: 20px;
}

.news-header a {
    color: var(--blue-color);
    text-decoration-color: var(--blue-color) !important;
    text-decoration: underline;
}

.news-header a:hover {
    color: darkgreen;
}

.blog-read-more {
    color: red;
}

.header-link-list li span {
    color: red;
}

.header-top-right {
    color: #aaaaaa;
}

.header-top-right span {
    margin-bottom: 6px;
    margin-left: 20px;
}

.homepage-h {
    color: red;
}

.hp_new_image_box {
    width: 125px;
}

.hp_new_image_box img {
    border-top: 4px solid #DDDDDD;
    border-bottom: 4px solid #DDDDDD;
}

.hp_image_wrapper {
    border-top: 4px solid #DDDDDD;
    border-bottom: 4px solid #DDDDDD;
    width: 125px;
    height: 125px;
    background-position: center;
    background-size: cover;
}

ul.category-items li {
    line-height: 20px;
}

ul.category-items li a {
    color: var(--blue-color);
    text-decoration-color: var(--blue-color) !important;
}

ul.category-items li a:hover {
    color: var(--green-color);

}

.predmety_box a {
    color: var(--blue-color);
    line-height: 28px;
}

.predmety_box a:hover {
    color: var(--green-color);
    line-height: 28px;
}

.nav-menu {
    background-color: white;
}

#menu-hlavni-menu {
    margin-top: 14px;
}

#menu-hlavni-menu li a {
    text-decoration: none !important;
    font-size: 16px;
}

.teacher-name {
    margin-bottom: 10px;
}

.designation {
    margin-bottom: 30px;
    font-weight: bold !important;
}

.footer-link ul li a {
    color: white !important;
    text-decoration-color: white;
!important;
}

.footer-link p {
    color: white;
}

.link-list {
    line-height: 10px;
}

.footer-link ul {
    color: white;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
}

.link-list li {
    line-height: 15px;
    margin-top: 0px;
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
    #gymnp-logo {
        width: 80%;
    }
}

@media (max-width: 767px) {
    #gymnp-logo {
        width: 100%;
    }
}

.page-banner {

    margin-bottom: 20px;
}

.page-banner-bg {
    background-color: var(--blue-color);
}

.wp-block-file {
    margin-bottom: 8px !important;
}

.wp-block-file a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-color: var(--link-color) !important;
}

.wp-block-file a:hover {
    color: var(--link-hover-color);
    text-decoration-color: var(--link-hover-color) !important;
}

blog-content h2 {
    margin-top: 10px !important;
    margin-bottom: 10px;

}

blog-content h3 {
    margin-top: 100px !important;
    margin-bottom: 10px;

}

h4 {
    margin-top: 10px;
    margin-bottom: 10px;

}

#hp-bannery {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    height: 100%;
}

.hp-bannery-banner {
    background-color: white;
}

.hp-banner-obrazek {
    height: 100%;

}

.wp-block-separator {
    color: #cccccc;
}

#grid-partners {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    justify-items: center;
    align-items: center;
}

.grid-partners-item {

}

#wpadminbar ul li a {
    color: white !important;
}

.event-title {
    color: var(--link-color);
    margin-bottom: 0px;
    margin-top: 0px;
    padding-top: 0px;
}

* {
    box-sizing: border-box;
}

.parent {
    position: relative;
    margin: 0 auto;
}

.parent img {
    vertical-align: middle;
}

.parent .text {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0); /* Fallback color */
    background: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    color: #ffffff !important;
    width: 100%;
    padding: 20px;
}


@media only screen and (min-width: 768px) and (max-width: 991px) {
    .page-banner {
        padding-top: 60px;
        padding-bottom: 0px;
    }
}

@media (max-width: 767px) {
    .page-banner {
        padding-top: 100px !important;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .page-banner {
        padding-top: 100px !important;
    }
}

.aktualita-s-obrazkem-grid-container {
    display: grid;
    grid-template-columns: 1fr 150px;
    grid-template-rows: auto auto;
    gap: 0px 0px;
    grid-template-areas:
    "nadpis datum"
    "obsah obrazek";
    column-gap: 20px;
}

.aktualita-bez-obrazku-grid-container {
    display: grid;
    grid-template-columns: 1fr 150px;
    grid-template-rows: auto auto;
    gap: 0px 0px;
    column-gap: 10px;
    grid-template-areas:
    "nadpis datum"
    "obsah obsah";
}

.datum {
    grid-area: datum;
    align-self: center;

}

.nadpis {
    grid-area: nadpis;
}

.obsah {
    grid-area: obsah;
}

.obrazek {
    grid-area: obrazek;
    gap: 10px;
}

.page-area.container ul li {
    list-style: disc !important;
}

.hp-banners__grid-container {
    padding-top: 110px;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 8px;

}


.hp-banners__item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.14);
    transition: 0.3s ease-in-out;
}

.hp-banners__item:hover {
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.28);
}

.hp-banners__item img {
    transition: 0.3s ease-in-out;
}

.hp-banners__item:hover img {
    filter: brightness(90%);

}

.hp-banners__item h1 {
    font-size: 22px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.hp-banners__item-text {
    color: white;
    position: absolute;
    bottom: 0px;
    z-index: 2;
    width: 100%;
    height: auto;
    text-align: center;
    margin: 0;
    margin-top: 16px;
    padding-left: 10px;
    padding-right: 10px;
}

@media screen and (max-width: 768px) {
    .hp-banners__grid-container {
        padding-top: 126px;
        display: grid;
        grid-template-rows: 200px 200px;
        grid-template-columns: 1fr 1fr;
        gap: 8px;

    }

    .hp-banners__item h1 {
        font-size: 18px;
        padding-top: 6px;
        padding-bottom: 6px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

.footer-widget.container {
    display: none;
}

.footer-widget {
    padding-top: 0px;
    margin-top: 30px;
    padding-left: 20px;
}

.footer-widget h4 {
    margin-top: 20px;
    margin-bottom: 0px;
    padding-bottom: 0px;

}

.footer-widget ul {
    margin-top: 0px;
    padding-top: 0px;
    margin-top: -2px;

}

.top-header-button {
    background-color: rgb(12, 139, 81);
    transition: 0.3s;
    padding: 6px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 3px;
}

.top-header-button:hover {
    background-color: rgb(11, 105, 62);

}

.event-title-2 a {
    font-size: 18px !important;
}

.wp-block-file__button {
    color: white !important;
}

ul {
    list-style-type: disc;
    padding-left: 1em;
}

.header-area ul {
    list-style-type: none;
    padding-left: 0;
}

.footer-widget ul {
    list-style-type: none;
    padding-left: 0;
}

.blog-sidebar ul {
    list-style-type: none;
    padding-left: 0;
}

.gutenberg-content ul {
    list-style-type: disc;
    padding-left: 1em;
}

.no-disk ul {
    list-style-type: none !important;
    padding-left: 0;
}

h2.sidebar-header {

}

.mk-gallery {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.mk-gallery a {
    width: 100%;
    height: 100%;
    display: block;
}

.mk-gallery a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-in-out;
}

.mk-gallery:hover a img {
    transform: scale(1.2);
}

.mk-gallery-title h2 {
    padding: 6px;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 20px;

}


@media all and (max-width: 768px) {
    h2.sidebar-header {
        font-size: 20px;
    }
}

@media all and (max-width: 430px) {
    h2.sidebar-header {
        font-size: 16px;
    }
}

.hp-section-title-link {
    text-decoration: none !important;
    display: block;
}

.hp-section-title-link:hover {
    text-decoration: none !important;
}

.hp-section-title {
    font-size: 20px;
    text-decoration: none !important;
    background-color: #154472;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 14px;
    padding-bottom: 12px;
    color: white;
    margin: 20px;
    margin-left: 0;
    margin-right: 0;
    transition: 0.3s ease-out;
}
.hp-section-title:hover {
    background-color: #2d5479;
    text-decoration: none !important;
}