/*** General CSS ***/
body {
    line-height: 1.9em;
    color: #000;
}
a:hover, a:focus, a:active {
    color: #ffd369;
}

/****** modal fix**/
.joomla-modal.modal.fade.show { opacity: 1; }
body.modal-open .modal-backdrop.show { z-index: -1; }
.modal.fade .modal-dialog {
    -webkit-transform: translate(0, 15%);
    -ms-transform: translate(0, 15%);
    -o-transform: translate(0, 15%);
    transform: translate(0, 15%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}
.media-toolbar {
    -webkit-border-start: 1px solid var(--template-bg-dark-7);
    background-color: #fff;
    border-bottom: 1px solid var(--template-bg-dark-7);
    border-inline-start: 1px solid var(--template-bg-dark-7);
    border-radius: 0 .25rem 0 0;
    -webkit-box-shadow: 0 -1px 0 0 var(--template-bg-dark-7);
    box-shadow: 0 -1px 0 0 var(--template-bg-dark-7);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    position: sticky;
    top: 67px;
    z-index: 10;
}
.media-breadcrumb ol > li > a, .media-disk-name { cursor: pointer; font-size: 2em; }
.subhead {
    background: #fff;
    color: #495057;
    left: 0;
    min-height: 43px;
    padding: 1rem .25rem;
    position: sticky;
    right: 0;
    top: 0;
    width: auto;
    z-index: 1000;
}
.media-browser-select::after {
    content: "\f00c";
    font-family: FontAwesome;
    font-size: 1.3rem;
    font-weight: 900;
    height: 1.69rem;
    left: 0;
    line-height: 1.69rem;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5);
    -webkit-transition: all .3s cubic-bezier(.4, 0, .2, 1);
    -o-transition: all .3s cubic-bezier(.4, 0, .2, 1);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    width: 1.69rem;
}
.item-name { font-size: 1.1em; }
.component.window .btn-toolbar { -webkit-box-pack: start; -ms-flex-pack: start; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; justify-content: flex-start; }
joomla-field-media .field-media-preview { margin-bottom: 20px; }
.component.window .btn { margin: 0 5px 30px 5px; }
#jform_images_image_fulltext, #jform_images_image_intro { margin-right: 5px; }
.mb-2 { margin: 15px 0; }
.com_content.layout-edit .edit.item-page .input-group .btn { padding: 6px 12px; font-size: 15px; }

@media screen and (min-width: 768px) {
    body.modal-open .modal-dialog { max-width: none; width: 60vw; margin: 30px auto; }
    .jviewport-height60 { height: 50vh; }
}

.btn-primary:hover, .sppb-btn-primary:hover {
    border-color: #faba00;
    background-color: #faba00;
}

/*** Header Area ***/
/* Header Top */
#sp-top-bar {
    position: relative;
    z-index: 999;
    background-color: #008c32;
    color: #FFF;
    font-size: 15px;
    padding: 5px 0 0px;
}
#sp-top-bar a {
    color: #fff;
}
body:not(.home) #sp-top-bar {
    border-bottom: 1px solid rgb(255 255 255 / 36%);
}

.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.styled-table thead tr {
    background-color: #22a03d;
    color: #ffffff;
    text-align: left;
}
.styled-table th,
.styled-table td {
    padding: 12px 15px;
}
.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}
.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}
.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}
.styled-table tbody tr.active-row {
    color: #000;
}

/* Shape */
.shape-bottom {
    z-index: 2 !important;
}
.shape-bottom svg {
    height: 88px;
    width: 100%;
}
.elementor-shape .elementor-shape-fill {
    fill: #fff;
}
.shape-bottom .shape-small svg {
    height: 30px;
}
.shape-small.bottom {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.domu {
    line-height: 48px !important;
    font-weight: 500 !important;
    border-radius: 5px;
    background: #d7900f;
    color: #fff !important;
}
.rodice {
    line-height: 48px !important;
    font-weight: 500 !important;
    border-radius: 5px;
    background: #f30606;
    color: #fff !important;
}
.aktuality {
    line-height: 48px !important;
    font-weight: 500 !important;
    border-radius: 5px;
    background: #dd1bd7;
    color: #fff !important;
}
.tridy {
    line-height: 48px !important;
    font-weight: 500 !important;
    border-radius: 5px;
    background: #045a52;
    color: #fff !important;
}
.oskole {
    line-height: 48px !important;
    font-weight: 500 !important;
    border-radius: 5px;
    background: #2856d7;
    color: #fff !important;
}

/* Header Menu */
#sp-header {
    top: 0px;
    padding: 0px;
    height: inherit;
    box-shadow: none;
    background-color: #fff;
    z-index: 9999;
}
#sp-header.header-sticky {
    position: fixed;
    top: 0;
    background: #fff;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
}
body:not(.home) #sp-header {
    background: #fff;
    position: static;
}
body:not(.home) #sp-header.header-sticky {
    position: fixed;    
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    color: #252525;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 10px 0;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    text-transform: capitalize;
    position: relative;
    color: #222;
    margin-left: 1px;
}
.sp-megamenu-parent > li.active > a {
    font-weight: 600;
}
.sp-megamenu-parent > li:last-child > a {
    padding: 0px 30px 0px 30px;
    margin-left: 20px;
    color: #fff;
    margin-top: 15px;
    line-height: 48px;
    font-weight: 500;
    border-radius: 5px;
    background: #ffffff33;
}
.sp-megamenu-parent > li.active:last-child > a,
.sp-megamenu-parent > li:last-child > a:hover {
    background: #216104;
}

.sppb-btn-square {
    border-radius: 10px 10px 0px 0px !important;
}

/* Canvas Menu */
.offcanvas-menu .offcanvas-inner .menu-child > li a {
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(197, 153, 153, 0.21);
    display: inherit;
}
.offcanvas-menu .offcanvas-inner ul.menu > li > a, .offcanvas-menu .offcanvas-inner ul.menu > li > span {
    font-size: 20px;
    font-weight: 500;
}
.burger-icon > span {
    background-color: #222;
}
.offcanvas-menu > .align-items-center {
    background: #fff;
}
.offcanvas-active .burger-icon > span, #modal-menu-toggler.active .burger-icon > span {
    background-color: #222;
}

/*** Block Styles ***/
/* Button */
.btn, .button, .no-btn {
    padding: 13px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid;
    display: inline-block;
    box-shadow: 0px 10px 30px 0px rgb(75 131 252 / 50%);
    background: transparent;
    color: #fff !important;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.btn:hover {
    color: #fff !important;
}
.btn:hover, .button:hover, .no-btn:hover {
    transform: translateY(-8px);
}
.btn.color {
    background-color: #66cfa9 !important;
    border-color: #66cfa9 !important;
}

/* Title */
.title strong {
    display: inline;
}
.title em {
    padding-right: 10px;
}
.title h3 {
    letter-spacing: 2px;
}
.title h2 {
    font-size: 43px;
    font-weight: 600;
    padding: 20px 0;
    color: #1b2336;
}
.title.white h3, .title.white h2 {
    color: #fff !important;
}

/* Bg */
.bg > .sppb-row-overlay {
    background-image: linear-gradient(90deg, #040D25E6 0%, #4B83FC00 100%);
}
.bg-title {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.bg-title li {
    display: inline-block;
    font-size: 17px;
    text-transform: capitalize;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
}
.bg-title li strong {
    display: none;
}
.bg-title li em {
    padding: 0 15px;
    font-size: 16px;
    color: #66cfa9;
}

/* Slider */
.title-slider h1 {
    font-size: 75px;
    font-weight: 800;
    color: #1b2336;
    padding: 20px 0;
    margin: 0;
}
.slider-colum .clearfix:nth-child(2) {
    width: 60%;
    float: left;
}
.slider-colum .clearfix:nth-child(3) {
    width: 20%;
    float: left;
}
.slider-colum .clearfix:nth-child(4) {
    width: 50%;
    float: left;
}
.slider-right {
    position: relative;
}
.slider-space {
    width: 538px;
    height: 538px !important;
    background: #66cfa9;
    position: absolute;
    bottom: -10px;
    right: 0;
    z-index: -1;
    border-radius: 10px;
}

/* Video */
.video {
    min-width: 60px;
    min-height: 60px;
    position: relative;
    top: 34%;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    background: #66cfa9;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.video .sppb-img-container {
    overflow: hidden;
}
.video .sppb-img-container:hover:before {
    background-color: rgba(0, 0, 0, 0.90);
}
.video .sppb-img-container:before {
    background-color: rgba(0, 0, 0, 0.60);
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.video img {
    width: 100%;
}
#video-popup-container,
#video-popup-containers {
    display: none;
    position: fixed;
    z-index: 996;
    width: 60%;
    left: 50%;
    margin-left: -30%;
    top: 20%;
    background-color: #fff;
}
.video a {
    font-size: 0;
    position: absolute;
    top: 44%;
}
.video a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    margin-top: 5px;
    margin-left: 0;
    border-radius: 50%;
    border: 10px solid #21C063;
    -webkit-animation: pulse-border 1500ms ease-out infinite;
    animation: pulse-border 1500ms ease-out infinite;
    z-index: -1;
}
.video a:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    margin-top: -11.5px;
    margin-left: -5px;
    border: solid 11px transparent;
    border-left: solid 17px;
    border-left-color: #fff;
    z-index: 10;
}
#video-popup-close,
#video-popup-closes {
    cursor: pointer;
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 9999;
    width: 25px;
    height: 25px;
    border-radius: 25px;
    text-align: center;
    font-size: 12px;
    background-color: #000;
    line-height: 25px;
    color: #fff;
    opacity: 1;
}
#video-popup-iframe-container,
#video-popup-iframe-containers {
    position: absolute;
    z-index: 999;
    width: 100%;
    padding-bottom: 56.25%;
    border: 2px solid #000;
    border-radius: 2px;
    background-color: #000;
}
#video-popup-iframe,
#video-popup-iframes {
    z-index: 999;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #000;
}
#video-popup-overlay,
#video-popup-overlays {
    display: none;
    position: fixed;
    top: 0;
    background-color: #000;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    left: 0;
}
#video-popup-close:hover,
#video-popup-closes:hover {
    color: #DE0023;
}
@-webkit-keyframes pulse-border {
    0% {
        -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.8);
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.8);
        opacity: 0;
    }
}
@keyframes pulse-border {
    0% {
        -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.8);
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.8);
        opacity: 0;
    }
}

/* About */
.about-img img {
    border: 12px solid #fff;
}
.about-pg-colum .clearfix:first-child {
    width: 100%;
}
.about-pg-colum .clearfix {
    width: 50%;
    float: left;
}

/* Team */
.team-item {
    background-color: #FFFFFF;
    box-shadow: 0px 10px 30px 0px rgb(102 207 169 / 0%);
    padding: 20px;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.team-item:hover, .team-item.color {
    background-color: #057fb9;
    box-shadow: 0px 10px 30px 0px rgb(102 207 169 / 50%); 
}
.team-item:hover h3, .team-item:hover .sppb-addon-text {
    color: #fff !important;
}
.team-item img {
    border-radius: 50%;
}
.team-colum .clearfix {
    float: left;
    width: 18%;
    margin: 0 1%;
}

/* Professionals */
.professionals .sppb-row {
    background-color: #558907;
    margin: 0 10px;
}
.professionals-img img {
    -webkit-mask-image: url(../images/img-mask.png);
    -webkit-mask-size: 100%;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
}
.professionals-img {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
}
.professionals-img1 {
    position: absolute;
    left: 0;
    top: 20%;
}
.professionals-img2 {
    position: absolute;
    left: 20px;
    bottom: 20%;
}
.professionals-img3 {
    position: absolute;
    right: -90px;
    top: 20%;
}

/* Counter */
.counter-item h1 {
    font-size: 50px;
    margin: 0;
    line-height: 57px;
    font-weight: 600;
}
.counter-item h5 {
    font-size: 16px;
    font-weight: 500;
}

/* Course */
.course-colum {
    box-shadow: 0px 10px 30px 0px rgb(75 131 252 / 10%);
    position: relative;
}
.course-item h3 {
    background-color: #216104;
    box-shadow: 0px 10px 30px 0px rgb(102 207 169 / 50%);
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    letter-spacing: 3px;
}
.course-item .sppb-media-content {
    padding: 0px 30px 0px;
}
.course-pricing {
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 12px 17px;
    background-color: #cfcfcf;
    border-radius: 5px;
    box-shadow: 0px 10px 30px 0px rgb(255 189 64 / 50%);
    letter-spacing: 2px;
}
.event-colum .course-pricing {
    top: auto;
    bottom: 100px;
    border-radius: 5px;
}

/* Offer */
.offer-right {
    position: relative;
}
.offer-space {
    width: 538px;
    height: 538px !important;
    border-radius: 50%;
    background: #66cfa9;
    position: absolute;
    top: 5px;
    right: 0;
    z-index: -1;
    box-shadow: 0px 0px 500px 0px rgb(102 207 169 / 50%);
}
.offer-item {
    padding: 30px;
    box-shadow: 0px 10px 30px 0px rgb(75 131 252 / 10%);
    border-left: 5px solid transparent;
}
.offer-item.first, .offer-item:hover {
    padding: 30px;
    box-shadow: 0px 10px 30px 0px rgb(75 131 252 / 10%);
    border-left: 5px solid #878787;
}

/* --- Responzivita pro mobily (bezpečně bez vlivu na PC a bez display: block) --- */
@media screen and (max-width: 768px) {
    /* Cílíme pouze na tabulky s třídou, neničíme ostatní tabulky na webu */
    .styled-table {
        width: 100% !important;
        display: table !important; /* Zachová chování tabulky, nevytvoří prázdný sloupec */
        overflow-x: auto;
    }

    .styled-table tr, 
    .styled-table th, 
    .styled-table td {
        width: auto !important;
        max-width: none !important;
        box-sizing: border-box;
    }
}

    /* Zrušení pevných inline šířek u řádků a buněk, které by na mobilu dělaly potíže */
    table tr, 
    table th, 
    table td {
        width: auto !important;
        max-width: none !important;
        box-sizing: border-box;
    }
}


/* Check List */
.check-list strong {
    display: none;
}
.check-list em {
    box-shadow: 0px 10px 30px 0px rgb(102 207 169 / 50%);
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    margin-right: 10px;
    border-radius: 50%;
    color: #66cfa9;
}
.check-list em:before {
    font-size: 10px;
    position: relative;
    top: -2px;
    left: 2px;
}
.check-list p {
    text-transform: uppercase;
    color: #415674;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 15px;
}

/* Who */
.who-colum, .who-colum .sppb-column-overlay {
    border-radius: 15px;
}
.who-img2 {
    position: absolute;
    left: -30px;
    bottom: -30px;
    z-index: -1;
}
.who-img1 {
    position: absolute;
    right: -30px;
    top: -30px;
    z-index: -1;
}
.who-space {
    width: 221px;
    border: 20px solid #66cfa9;
    border-radius: 50%;
    position: absolute;
    right: -60px;
    bottom: -30px;
}

/* Skill */
@keyframes load {
    0% { stroke-dashoffset: 0; }
}
.skill .progress {
    position: relative;
    display: inline-block;
    padding: 0;
    text-align: center;
    width: 100%;
    margin: 0;
    height: auto;
    background: none;
}
.skill .lt-skill-item .elementor-element {
    margin-bottom: 0;
}
.skill .progress > li {
    display: inline-block;
    position: relative;
    text-align: center;
    color: #fff;
    font-weight: 400;
}
.skill .progress > li:after {
    content: attr(data-percent);
    position: absolute;
    width: 100%;
    top: 3.7rem;
    left: 0;
    font-size: 30px;
    text-align: center;
    color: #000;
    font-weight: 600;
}
.skill svg {
    width: 10rem;
    height: 10rem;
}
.skill svg:nth-child(2) {
    position: absolute;
    left: 0;
    top: 0;
    transform: rotate(-90deg);
}
.skill svg:nth-child(2) path {
    fill: none;
    stroke-width: 12px;
    stroke-dasharray: 629;
    stroke: #fff;
    opacity: .8;
    animation: load 10s;
}
.skill-item p {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0 0;
}

/* Project */
.project-item i {
    background-color: #4b83fc;
    border-radius: 5px;
    box-shadow: 0px 10px 30px 0px rgb(75 131 252 / 50%);
    height: 35px !important;
    width: 55px !important;
    line-height: 35px !important;
}

/* Blog */
.jmm-row {
    margin-bottom: 1px;
    background: #ffffffb0;
    border-radius: 10px;
}
.jmm-item .jmm-image.mod-article-image {
    overflow: hidden;
    margin: 0;
}
.jmm-image.mod-article-image img {
    transform: scale(1);
    -webkit-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}
.jmm-item:hover .jmm-image.mod-article-image img {
    transform: scale(1.12);
    filter: grayscale(100%);
}
.jmm-text {
    padding: 20px;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 9.899px 9.899px 30px 0 rgb(0 0 0 / 10%);
}
.jm-category-module.default .jmm-text .jmm-title {
    font-size: 19px;
    font-weight: 600;
}
.jm-category-module.default .jmm-readmore {
    margin-top: 20px;
}

/* Contact Info */
.contact-info h2, .contact-info h3 {
    font-size: 25px;
}
button.btn.btn-primary.validate {
    color: #fff !important;
    padding: 13px 20px;
}
#sp-position1 {
    padding: 0;
}

/* Bottom */
#sp-bottom {
    overflow: hidden;
    position: relative;
    z-index: 1;
}
#sp-bottom p {
    line-height: 28px;
}
#sp-bottom .sp-module .sp-module-title {
    font-size: 22px;
    font-weight: 600;
    color: #878787;
}
#sp-bottom span, #sp-bottom3 span {
    padding-right: 10px;
}
#sp-bottom strong {
    display: none;
}
#sp-bottom h4 {
    letter-spacing: 2px;
}
#sp-bottom1 .shrewd_solution_icon {
    padding-top: 10px;
}
#sp-bottom1 .menu-ft li,
#sp-bottom1 .shrewd_solution_icon, #sp-bottom1 .shrewd_solution_icon li {
    display: inline-block !important;
}
#sp-bottom1 .shrewd_solution_icon li a {
    font-size: 16px;
    color: #000 !important;
    height: 0;
    width: 0;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    margin-right: 35px;
    -webkit-transition: .5s;
    transition: .5s;
    display: inline-block;
    background: transparent;
}
#sp-bottom1 .shrewd_solution_icon li a:hover {
    background: #fff !important;
}
#sp-bottom1 .shrewd_solution_icon strong {
    display: none;
}
#sp-bottom1 .menu-ft {
    margin-top: 10px !important;
}
#sp-bottom1 .menu-ft li {
    margin: 0 20px !important;
}
#sp-bottom1 .menu-ft a {
    font-size: 16px;
    padding: 0 10px;
    color: #229631;
}

/* Footer Copyright */
#sp-footer {
    text-align: center;
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 1;
}
#sp-footer .container-inner {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/*** Responsive Layout ***/
@media (min-width: 1400px) {
    .sppb-row-container {
        max-width: 1320px;
    }
}
@media (max-width: 1680px) {
    .sp-megamenu-parent > li:last-child > a {
        margin-left: 0px;
    }
}
@media (max-width: 768px) {
    #sp-header, #sp-header .logo {
        height: 70px;
    }
    #sp-footer p {
        text-align: center;
    }
    body #sp-header {
        padding: 0;
    }
    #sp-header {
        top: 0px;
    }
    .slider-space {
        width: 300px !important;
        height: 300px !important;
    }
    .slider-colum .clearfix:nth-child(2) {
        width: 100%;
        margin-bottom: 30px;
    }
    .team-colum .clearfix {
        width: 100%;
        margin-bottom: 30px;
    }
    .testimonial .sppb-col-md-4, .course .sppb-col-md-4, .client .sppb-col-md-2,
    .event .sppb-col-md-4 {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    div#sp-menu {
        width: 10%;
    }
}

@media (max-width: 767px) {
    .obory-mobil .sppb-row {
        display: flex !important;
        flex-wrap: nowrap !important;
    }
    .obory-mobil .sppb-row > .sppb-col-md-4 {
        width: 33% !important;
        max-width: 33% !important;
        flex: 0 0 33% !important;
        padding-left: 0 !important;
        padding-right: 1px !important;
    }
    .obory-mobil .sppb-img-container {
        display: block !important;
        width: 100% !important;
    }
    .obory-mobil .sppb-img-responsive {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    .obory-mobil .sppb-feature-box-title {
        font-size: 10px !important;
        line-height: 1.15 !important;
        margin-top: 8px !important;
    }
}

:root {
    --background-color: currentColor;
    --background: currentColor;
    --text-color: currentColor;
}

.page-item.active .page-link, .slider-item .sppb-btn-success, .sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-info:hover, 
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay, .btn,
.sp-megamenu-parent > li:last-child > a, .get {
    background-color: #008c32 !important;
}
.article-list .article .readmore a:hover, .article-list .article .readmore a:active, .article-list .article .article-header h2 a:hover,
#sp-footer a, .title-slider h3, .title h3, .bg-title li:first-child {
    color: #216104;
}
.btn {
    border-color: #008c32 !important;
}

#sp-top1.col-lg-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

#section-id-229e81d3-99f1-4fd1-b8e6-5b1042f0b684 .sppb-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

#section-id-229e81d3-99f1-4fd1-b8e6-5b1042f0b684 .sppb-row-column {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
    margin-right: 20px;
}

.sppb-btn-square {
    border-radius: 10px 10px 0px 0px;
}

.sp-page-title {
    padding: 120px 0;
}

.sp-page-title .sp-page-title-heading {
    font-size: 32px;
    line-height: 1.3;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 991px) {
    .fields-container .field-entry.prilohy .field-value {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media screen and (min-width: 1200px) {
    html body #sp-header #sp-menu nav.sp-megamenu-wrapper ul.sp-megamenu-parent {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    html body #sp-header #sp-menu nav.sp-megamenu-wrapper > a#offcanvas-toggler {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .fields-container .field-entry.prilohy .field-value {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .fields-container .field-entry.prilohy .field-value > center {
        
    }
    .fields-container .field-entry.prilohy h3 {
        font-size: 15px;
    }
}

.tags.list-inline .tag-list0 a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.sppb-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sppb-article-meta .tags {
    margin: 0 !important;
    padding: 0;
}
.sppb-article-meta .tags li {
    margin: 0;
}
.sppb-article-meta .tags a {
    display: inline-block;
}

.sppb-panel-title {
    font-size: 18px;
}

.tf-gallery-wrapper .gallery-items .item img {
    border-radius: 20px;
}

.article-list .article {
    background-color: rgb(255 255 255 / 35%);
}

/* YouTube Video Styles */
.fields-container .field-entry.youtube {
    list-style: none;
    margin: 40px 0;
    padding: 0;
}
.fields-container .field-entry.youtube > .field-label {
    display: none;
}
.fields-container .field-entry.youtube .field-value {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}
.fields-container .field-entry.youtube .tf-video {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03), 0 12px 35px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.fields-container .field-entry.youtube .tf-video:hover {
    border-color: #c8c8c8;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.04), 0 18px 45px rgba(0, 0, 0, 0.11);
}
.fields-container .field-entry.youtube .tf-video-embed-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.fields-container .field-entry.youtube .tf-video-embed {
    background: #111111;
}
.fields-container .field-entry.youtube .tf-video-embed img {
    max-width: 100%;
}

@media (max-width: 600px) {
    .fields-container .field-entry.youtube {
        margin: 25px 0;
    }
    .fields-container .field-entry.youtube .tf-video {
        padding: 5px;
        border-radius: 8px;
    }
    .fields-container .field-entry.youtube .tf-video-embed-wrapper {
        border-radius: 4px;
    }
}

/* Phoca Gallery – seznam kategorií pod sebou */
#phocagallery.pg-categories-view .pg-categories-items-box {
    display: block !important;
    width: 100% !important;
}

#phocagallery.pg-categories-view .pg-category-box {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box;
    padding: 28px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #ddd;
}

/* Skrýt náhledový obrázek kategorie */
#phocagallery.pg-categories-view .pg-category-box-image {
    display: none !important;
}

/* Informace o kategorii */
#phocagallery.pg-categories-view .pg-category-box-info {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Název kategorie */
#phocagallery.pg-categories-view .pg-category-box-title {
    display: block !important;
    width: 100% !important;
    font-size: 16px;
    line-height: 1.6;
}

/* Ikona před názvem */
#phocagallery.pg-categories-view .pg-category-box-title > svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Odkaz na kategorii */
#phocagallery.pg-categories-view .pg-category-box-title a {
    display: inline !important;
    text-decoration: none;
    color: #222;
}

#phocagallery.pg-categories-view .pg-category-box-title a:hover {
    color: #0077aa;
    text-decoration: underline;
}

/* Počet fotografií */
#phocagallery.pg-categories-view .pg-category-box-count {
    color: #777;
    font-size: 13px;
    white-space: nowrap;
}

/* Vyčištění rozložení */
#phocagallery.pg-categories-view .ph-cb {
    clear: both;
}

.pg-item-box-title, .pg-category-box-title {
    background: #fff;
}

.dp-locations a.dp-location__url {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
}

figure.article-full-image.item-image {
    width: 80% !important;
    max-width: 80% !important;
    float: none !important; /* Zruší obtékání vlevo */
    margin: 20px auto !important; /* Hodnoty auto vlevo a vpravo vycentrují prvek na střed */
    display: block;
}

figure.article-full-image.item-image img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}