body {
    font-family: 'Poppins', sans-serif;
}

#panel-top {
    position: relative;
    height: 600px;
    background: url('../img/bg.png') center top no-repeat;
    box-shadow: 0 30px 100px rgba(251, 239, 221, 1);
    /* Adjust the values as needed */
    -webkit-border-bottom-right-radius: 50px;
    -webkit-border-bottom-left-radius: 50px;
    -moz-border-radius-bottomright: 50px;
    -moz-border-radius-bottomleft: 50px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
    background-size: contain;
}

#panel-top-custom {
    min-height: 300px;
    background-color: #ffefc3;
    -webkit-border-bottom-right-radius: 50px;
    -webkit-border-bottom-left-radius: 50px;
    -moz-border-radius-bottomright: 50px;
    -moz-border-radius-bottomleft: 50px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
    overflow: hidden;
}

#panel-top-custom-sekce {
    min-height: 450px;
    background-color: #ffefc3;
    -webkit-border-bottom-right-radius: 50px;
    -webkit-border-bottom-left-radius: 50px;
    -moz-border-radius-bottomright: 50px;
    -moz-border-radius-bottomleft: 50px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
    overflow: hidden;
}

#panel-top-grey {
    background-color: #f7f7f7;
    -webkit-border-bottom-right-radius: 50px;
    -webkit-border-bottom-left-radius: 50px;
    -moz-border-radius-bottomright: 50px;
    -moz-border-radius-bottomleft: 50px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.line-28 {
    line-height: 1.5rem;
}

.line-62 {
    line-height: 2rem;
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

/*@media (min-width:1400px){
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
max-width: 1920px;
}
}*/
#menu-main nav {
    font-weight: bold;
    background-color: #ffefc3;
    border: 1px #c9a668 solid;
    margin: 87px 100px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 23px rgba(0, 0, 0, .4);
}

#menu-main-custom nav {
    font-weight: bold;
    background-color: #fff;
    border: 1px #c9a668 solid;
    margin: 87px 100px 0px 100px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 23px rgba(0, 0, 0, .4);
}

#menu-main-custom .nav-link {
    color: #757575;
}

#menu-main-custom #menu-registrace-a-prihlaseni .nav-link {
    color: #000;
}

#menu-hlavni-menu .nav-link.active {
    color: #935e0d;
}

.grecaptcha-badge {
    display: none;
}

#news .card-img-top,
#schools .card-img-top,
#aktivity .card-img-top,
#regiony .card-img-top {
    max-height: 250px;
    max-width: 250px;
    object-fit: contain;
}

#regiony-news .card-img-top {
    max-height: 250px;
    max-width: 100%;
    object-fit: cover;
}

.single-dilo .card-img-top-single {
    max-width: 100%;
    object-fit: contain;
}

#news .image-area,
#schools .image-area,
#aktivity .image-area,
#regiony .image-area {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#regiony-news .image-area {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hlava {
    width: 158px;
    height: 216px;
    background: url('../img/hlava.png') left center no-repeat;
    background-size: contain;
    left: 629px;
}

.navbar-brand img {
    width: 170px;
}

#panel-top-custom-sekce #zaci {
    width: 339px;
    height: 339px;
    background: url('../img/zaci.png') left bottom no-repeat;
    background-size: contain;
}

#panel-top-custom-sekce #rodic {
    width: 424px;
    height: 335px;
    background: url('../img/parents.png') left bottom no-repeat;
    background-size: contain;
}

#panel-top-custom-sekce #skola {
    width: 339px;
    height: 339px;
    background: url('../img/teacher.png') left bottom no-repeat;
    background-size: contain;
}

#panel-top-custom-sekce #firma {
    width: 339px;
    height: 339px;
    background: url('../img/company.png') left bottom no-repeat;
    background-size: contain;
}

#panel-top-custom .btn-more,
#panel-top-custom-sekce .btn-more {
    background-color: #ffbc00;
    border-color: #ffbc00;
    color: #000;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

#panel-top-custom .btn-more:hover,
#panel-top-custom-sekce .btn-more:hover {
    background-color: transparent;
}

.start-65 {
    left: 65%;
}

#menu-menu-v-liste-prave li:last-child .nav-link,
#menu-menu-v-liste-zaka-prave li:last-child .nav-link,
#menu-menu-v-liste-ucitele-prave li:last-child .nav-link,
#menu-menu-v-liste-firmy-prave li:last-child .nav-link,
#menu-menu-v-liste-ss-vs-prave li:last-child .nav-link,
#menu-menu-v-liste-muzea-prave li:last-child .nav-link,
#menu-menu-v-liste-mesta-prave li:last-child .nav-link,
#menu-menu-v-liste-regiony-prave li:last-child .nav-link {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #ffbc00;
}

#menu-menu-v-liste-prave li {
    padding: 0 10px;
}

#menu-menu-v-liste-prave li .nav-link {
    padding: 10px 20px;
}

.navbar-nav li {
    padding: 0 10px;
}

li .nav-link {
    padding: 10px 20px;
    color: #000000;
}

.bg-technikiada {
    background-color: #ffefc3;
}

.bg-brown-technikiada {
    background-color: #ffefc3;
    border: 1px solid #935e0d;
}

#rozcestnik .bg-technikiada {
    height: 348px;
}

#rozcestnik-regiony .bg-grey {
    height: 348px;
}

#rozcestnik-regiony .bg-grey.ndline {
    height: 210px;
}

#rozcestnik-regiony #mesto {
    width: 379px;
    height: 363px;
    background: url('../img/houses.png') center bottom no-repeat;
    background-size: contain;
}

#rozcestnik-regiony #kraje {
    width: 446px;
    height: 278px;
    background: url('../img/houses2.png') right bottom no-repeat;
    background-size: contain;
}

#rozcestnik-regiony #region {
    width: 446px;
    height: 278px;
    background: url('../img/budovy-cut.png') right bottom no-repeat;
    background-size: contain;
    -webkit-border-bottom-right-radius: 20px;
    -moz-border-radius-bottomright: 20px;
    border-bottom-right-radius: 20px;
}

#rozcestnik-obory #obory {
    width: 446px;
    height: 278px;
    background: url('../img/obory-cut.png') right bottom no-repeat;
    background-size: contain;
    -webkit-border-bottom-right-radius: 20px;
    -moz-border-radius-bottomright: 20px;
    border-bottom-right-radius: 20px;
}

#rozcestnik .btn-more {
    color: #000000;
    border: 2px solid #935f0e;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

#rozcestnik .btn-more:hover {
    background-color: #ffbc00;
}

#rozcestnik #zaci {
    width: 365px;
    height: 368px;
    background: url('../img/scientist.png') center bottom no-repeat;
}

#rozcestnik #rodice {
    width: 514px;
    height: 378px;
    background: url('../img/parents.png') 98px bottom no-repeat;
    background-size: contain;
    -webkit-border-bottom-right-radius: 20px;
    -moz-border-radius-bottomright: 20px;
    border-bottom-right-radius: 20px;
}

#rozcestnik #ucitele {
    width: 317px;
    height: 376px;
    background: url('../img/teacher.png') center bottom no-repeat;
}

#rozcestnik #firmy {
    width: 341px;
    height: 381px;
    background: url('../img/company.png') center bottom no-repeat;
}

#techcoin {
    width: 312px;
    height: 298px;
    background: url('../img/techcoin.png') right bottom no-repeat;
    background-size: contain;
}

#radek-1 .bg-zaci-1 {
    background: url('../img/sciens.png') center center no-repeat;
    background-size: cover;
}

#radek-1 #radek-cover-1 {
    background: url('../img/cover-gray.png') left center no-repeat;
    background-size: cover;
}

#radek-1 #radek-cover-2 {
    background: url('../img/cover-gray2.png') left center no-repeat;
    background-size: cover;
}

#radek-2,
#radek-kramek .row {
    background-color: #f7f7f7;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

#radek-kramek .bg-kramek {
    background: url('../img/airpods.png') center bottom no-repeat;
    width: 100%;
    height: 350px;
    background-size: contain;
}

#partner #airpods {
    background: url('../img/airpody-small.png') center bottom no-repeat;
    width: 248px;
    height: 359px;
    margin-right: 100px;
}

#radek-2 .bg-zaci-2 {
    background: url('../img/sciens2.png') left center no-repeat;
    background-size: cover;
}

#radek-2 #radek-cover-1 {
    background: url('../img/cover-gray3.png') right center no-repeat;
    background-size: contain;

}

#radek-2 #radek-cover-2 {
    background: url('../img/cover-gray4.png') right center no-repeat;
    background-size: contain;

}

.rounded-top {
    -webkit-border-top-left-radius: 20px !important;
    -webkit-border-top-right-radius: 20px !important;
    -moz-border-radius-topleft: 20px !important;
    -moz-border-radius-topright: 20px !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}

.rounded-left {
    -webkit-border-top-left-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
    -moz-border-radius-bottomleft: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.rounded-right {
    -webkit-border-top-right-radius: 20px;
    -webkit-border-bottom-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    -moz-border-radius-bottomright: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.text-grey {
    color: #929292;
}

.bg-techcoin .text-grey,
.bg-technikiada .text-grey {
    color: #a1977b;
}

.bg-grey {
    background-color: #f7f7f7;
}

.bg-darg-gray {
    background-color: #935f0e;
}

.btn,
.form-control,
.form-select,
.has-background {
    -webkit-border-radius: 20px !important;
    -moz-border-radius: 20px !important;
    border-radius: 20px !important;
    margin-bottom: 20px;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    border: 1px solid #935f0e;
}

#kontakty .kontakt .avatar-view {
    background-color: #ffefc3;
}

#kontakty .kontakt .contact-view {
    background-color: #f7f7f7;
}

#kontakty .kontakt .contact-view .logo-kontakty {
    display: block;
    margin: 10px auto;
}

.point {
    width: 70px;
    height: 70px;
    -webkit-border-radius: 70px;
    -moz-border-radius: 70px;
    border-radius: 70px;
    line-height: 70px;
    margin-top: 50px;
    margin-left: -50px;
}

.nadpis-36 {
    font-size: 1.5rem;
}

.nadpis-31 {
    font-size: 1.5rem;
}

.nadpis-32 {
    font-size: 1.5rem;
}

.nadpis-64 {
    font-size: 1.875rem;
}

.nadpis-96 {
    font-size: 2.25rem;
}

.font-48 {
    font-size: 1.5rem;
}

.font-32 {
    font-size: 1.5rem;
}

.font-31 {
    font-size: 1rem;
}

.font-24 {
    font-size: 1rem;
}

.font-21 {
    font-size: 1rem;
}

.my-100 {
    margin-top: 50px;
    margin-bottom: 50px;
}

.my-100 {
    margin-top: 50px;
    margin-bottom: 50px;
}

.mb-100 {
    margin-bottom: 50px;
}

.mt-100 {
    margin-top: 50px;
}

.ms-100 {
    margin-left: 50px;
}

.pt-100 {
    padding-top: 50px;
}

.px-100 {
    padding-left: 50px;
    padding-right: 50px;
}

.site-content a {
    color: #f4bb40;
    text-decoration: none;
}

.site-content a:hover {
    color: #f4bb40;
    text-decoration: underline;
}

#mappage {
    /*  background: rgb(253,249,241);
    background: linear-gradient(180deg, rgba(253,249,241,1) 0%, rgba(253,249,241,0) 20%, rgba(255,255,255,0) 100%);*/
}

.brown-color {
    color: #935f0e !important;
}

.radek,
.radek .col-12 {
    min-height: 320px;
}

.radek-39,
.radek-39 .col-12 {
    min-height: 320px;
}

.radek-39 .btn-more,
.radek .btn-more,
#store .btn-more,
#news .btn-more,
.btn-more {
    border: 2px solid #000;
    color: black !important;
    background-color: transparent;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.radek-39 .btn-more:hover,
.radek .btn-more:hover,
#store .btn-more:hover,
#news .btn-more:hover,
.btn-more:hover {
    background-color: #ababab;
    border: 2px solid #000;
}

.radek .bg-techcoin .btn-more,
.radek-39 .bg-techcoin .btn-more,
.radek-39 .bg-brown-technikiada .btn-more,
.radek .bg-brown-technikiada .btn-more {
    color: #000000;
    border: 2px solid #935f0e;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.radek .bg-techcoin .btn-more:hover,
.radek-39 .bg-techcoin .btn-more:hover,
.radek-39 .bg-brown-technikiada .btn-more:hover,
.radek .bg-brown-technikiada .btn-more:hover {
    background-color: #ffbc00;
}

.bg-techcoin {
    background-color: #ffefc3;
}

#myCarousel .card {
    min-height: 360px;
    background-color: #f7f7f7;
}

#myCarousel .carousel-inner {
    overflow: visible;
}

.carousel-indicators {
    bottom: -60px;
}

.carousel-indicators button {
    background-color: #e6e6e6 !important;
}

.carousel-indicators button.active {
    background-color: #efc17c !important;
}

#myCarousel .carousel-control-prev-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"/></svg>');
    background-size: 35px 35px;
    background-position: center center;
    width: 115px;
    height: 115px;
    background-color: #ffbc00 !important;
    border: 2px solid white !important;
    -webkit-border-radius: 115px;
    -moz-border-radius: 115px;
    border-radius: 115px;
    -webkit-box-shadow: 10px 10px 96px -33px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 96px -33px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 96px -33px rgba(0, 0, 0, 0.75);
}

#myCarousel .carousel-control-next-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"/></svg>');
    background-size: 35px 35px;
    background-position: center center;
    width: 115px;
    height: 115px;
    background-color: #ffbc00 !important;
    border: 2px solid white !important;
    -webkit-border-radius: 115px;
    -moz-border-radius: 115px;
    border-radius: 115px;
    -webkit-box-shadow: 10px 10px 96px -33px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 96px -33px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 96px -33px rgba(0, 0, 0, 0.75);
}

#skolacek {
    width: 278px;
    height: 400px;
    background: url('../img/skolacek.png') right bottom no-repeat;
    background-size: contain;
}

#skolacka {
    width: 278px;
    height: 400px;
    background: url('../img/girl.png') right bottom no-repeat;
    background-size: contain;
}

#menu-menu-v-paticce li {
    padding: 0px;

}

#menu-menu-v-paticce li::after {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-weight: 400;
    content: '•';
    color: #929292;
    text-align: center;
}

#menu-menu-v-paticce li:last-child::after {
    display: none;
}

#menu-menu-v-paticce li .nav-link {
    padding: 10px 0px 10px 0px;
    color: #929292;
    text-decoration: underline;
    cursor: pointer !important;
    display: inline-block;
}

#store .card-image-front {
    height: 370px;
    object-fit: contain;
}

#store .nahodne {
    height: 100%;
}

#store .bg-technikiada .card-body .col-6:last-child {
    background: radial-gradient(circle, rgba(227, 212, 171, 1) 0%, rgba(255, 239, 195, 1) 55%);
}

#store .card-title:hover+.price {
    opacity: 1;
}

#store .card-image-front:hover+.card-body .price {
    opacity: 1;
}

#store .price {
    opacity: 0;
    transition: opacity 0.3s;
}

#store .price-mobile {
    opacity: 1;
}

.pagination {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

#singleitem .item-56 {
    max-height: 560px;
}

.border-green {
    border: 2px solid #97bf0d !important;
}

.text-green {
    color: #97bf0d;
}

.text-orange {
    color: #e2a600;
}

.page-item {
    margin: 0 5px;
    /* Adjust spacing between circles */
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
}

.page-link {
    display: block;
    text-align: center;
    line-height: 65px !important;
    text-decoration: none;
    color: black;
    background-color: transparent;
    border: 1px solid grey;
    border-radius: 60px;
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
    font-size: 32px;
    padding: 0px !important;
    width: 67px !important;
    height: 67px !important;
}

.page-link:hover {
    color: #ffbc00;
}

.page-item.active .page-link {
    background-color: #ffbc00;
    border-color: #ffbc00;
    color: black;
}

.page-item.active .page-link:hover {
    color: black;
}

.site-content .wp-block-buttons .wp-block-button__link,
.site-content .wp-element-button {
    background-color: transparent;
    border: 2px solid #935f0e;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
    line-height: 28px;
    /*  margin-top: 100px;*/
}

.site-content .wp-block-buttons .wp-block-button__link::after,
.site-content .wp-element-button::after {
    content: '\f178';
    font-family: "Font Awesome 6 Free";
    color: #935f0e;
    margin-left: 20px;
}

.site-content .wp-block-buttons .wp-block-button__link:hover,
.site-content .wp-element-button:hover {
    background-color: #e2a600;
    text-decoration: none;
    color: #000;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #e2a600;
}

#map {
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    border: 1px solid #e6e6e6;
}

#footerimage {
    width: 760px;
    height: 433px;
    background: url('../img/sciencefooter.png') right bottom no-repeat;
    background-size: contain;
    border-bottom-right-radius: 20px;
    -moz-border-radius-bottomright: 20px;
    -webkit-border-bottom-right-radius: 20px;
}

.form-control {
    font-size: 1rem;
}

input[type="submit"],
.tl_ares {
    color: #000 !important;
    font-weight: bold;
    background-color: #ffbc00 !important;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: 1px solid #ffbc00;
}

input[type="submit"]:hover,
.tl_ares:hover {
    border: 1px solid #000;
}

input[type="file"]::file-selector-button {
    color: #000 !important;
    font-weight: bold;
    background-color: #ffbc00 !important;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    border: 1px solid #ffbc00;
}

input[type="file"]:hover::file-selector-button {
    border: 1px solid #000;
}

input[type="file"] {
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}

.wp-block-file .wp-block-file__button {
    color: #000 !important;
    font-weight: bold;
    background-color: #ffbc00 !important;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    border: 1px solid #ffbc00;
}

.wp-block-file .wp-block-file__button:hover {
    border: 1px solid #000;
}

.wp-block-file a:first-child {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}

input[type="checkbox"] {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid #d9d9d9;
    border-radius: 0.15em;
    transform: translateY(0rem);
    display: inline-grid;
    place-content: center;
}

input[type="checkbox"]::before {
    content: "\f00c";
    width: 1.15em;
    height: 1.15em;
    border-radius: 0.15em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-control-color);
    background-color: #ffbc00;
    font-family: "Font Awesome 6 Free";
    color: #000;
    line-height: 1.1em;
    text-align: center;
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:focus {
    outline: max(2px, 0.15em) solid currentColor;
    outline-offset: max(2px, 0.15em);
}

:root {
    --form-control-disabled: #959495;
}

input[type="checkbox"]:disabled {
    --form-control-color: var(--form-control-disabled);
    color: var(--form-control-disabled);
    cursor: not-allowed;
}

select {
    background-color: #f7f7f7 !important;
    border-radius: 0.15em !important;
    color: #6c737f !important;
    border: 1px solid #f7f7f7 !important;
}

select:focus {
    border-color: #ffbc00 !important;
    box-shadow: none !important;
}

select[multiple] option:checked {
    background-color: #f7f7f7;
}

input:focus {
    border-color: #ffbc00 !important;
    box-shadow: none !important;
}

.form-floating>label {
    color: #b7b7b7 !important;
}

.input-icon-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-container i {
    position: absolute;
    margin-left: 10px;
    /* Adjust as needed */
    color: #ccc;
    /* Adjust icon color as needed */
}

.input-icon-container input {
    padding-left: 30px;
    /* Adjust to make room for the icon */
}

.wpcf7-not-valid-tip {
    font-size: 1rem;
}

.logo-min-size {
    min-height: 200px;
}

#page p.has-background {
    padding: 1rem 1rem;
}

.custom-tooltip {
    --bs-tooltip-bg: #ffbc00;
    --bs-tooltip-color: #000;
}

#partneri .img-thumbnail {
    filter: grayscale(100%);
}

#partneri .img-thumbnail:hover {
    filter: grayscale(0%);
}

/*Mobiles*/
/* Small devices (landscape phones, 576px and up)*/
@media (max-width: 1400px) {
    #panel-top {
        background: url('../img/bg.png') center top no-repeat;
        background-size: cover;
    }

    #hlava {
        display: none;
    }

    #menu-main nav,
    #menu-main-custom nav {
        margin: 10px 50px;
    }

    /*  #bs4navbar{
        width: 100%;
    }
    #bs4navbar2{
        width: 100%;
    }*/
    .nadpis-36 {
        font-size: 18px;
    }

    .nadpis-31 {
        font-size: 18px;
    }

    .nadpis-64 {
        font-size: 20px;
    }

    .nadpis-96 {
        font-size: 34px;
    }

    .font-24 {
        font-size: 17px;
    }

    .font-21 {
        font-size: 16px;
    }

    .font-32 {
        font-size: 17px;
    }

    .font-48 {
        font-size: 24px;
    }

    .px-100 {
        padding: 20px;
    }

    .my-100 {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .mb-100 {
        margin-bottom: 50px;
    }

    .mt-100 {
        margin-top: 50px;
    }

    .pt-100 {
        padding-top: 50px;
    }

    #page {
        overflow: hidden;
    }

    #rozcestnik-regiony #mesto {
        background: url('../img/houses.png') right bottom no-repeat;
        background-size: contain;
        max-height: 150px;
    }

    #rozcestnik-regiony #kraje {
        max-height: 147px;
    }

    #rozcestnik-regiony #region {
        max-height: 110px;
    }

    #rozcestnik #zaci,
    #panel-top-custom-sekce #zaci {
        background: url('../img/scientist.png') right bottom no-repeat;
        background-size: contain;
        max-height: 250px;
    }

    #rozcestnik #rodice,
    #panel-top-custom-sekce #rodic {
        background: url('../img/parents.png') right bottom no-repeat;
        max-height: 250px;
        background-size: contain;
    }

    #rozcestnik #ucitele,
    #panel-top-custom-sekce #skola {
        background: url('../img/teacher.png') right bottom no-repeat;
        max-height: 250px;
        background-size: contain;
    }

    #rozcestnik #firmy,
    #panel-top-custom-sekce #firma {
        background: url('../img/company.png') right bottom no-repeat;
        max-height: 250px;
        background-size: contain;
    }

    #techcoin {
        background: url('../img/techcoin.png') right bottom no-repeat;
        max-height: 100px;
        background-size: contain;
    }

    #skolacek {
        background: url('../img/skolacek.png') right bottom no-repeat;
        max-height: 150px;
        background-size: contain;
    }

    #skolacka {
        background: url('../img/girl.png') right bottom no-repeat;
        max-height: 150px;
        background-size: contain;
    }

    #partner #airpods {
        background: url('../img/airpody-small.png') right bottom no-repeat;
        max-width: 120px;
        margin-right: 20px;
        background-size: contain;
    }

    #footerimage {
        background: url('../img/sciencefooter.png') right bottom no-repeat;
        max-height: 300px;
        background-size: contain;
    }
    #rozcestnik-obory #obory{
        width: 200px;
    }

    .radek,
    .radek .col-12 {
        min-height: 320px;
    }

    .font-31 {
        font-size: 16px;
    }

    .line-62 {
        line-height: 31px;
    }

    #store .card-image-front {
        height: 185px;
        object-fit: contain;
    }

    #singleitem .item-56 {
        max-height: 280px;
    }

    #rozcestnik-regiony .bg-grey.ndline {
        height: 230px;
    }
}

/*Mobiles*/
/* Small devices (landscape phones, 576px and up)*/
@media (max-width: 991.98px) {
    #footerimage {
        background: url('../img/sciencefooter.png') right bottom no-repeat;
        max-height: 150px;
        background-size: contain;
    }

    #footer .radek-39 {
        min-height: 520px;
    }

    #panel-top-custom-sekce {
        min-height: 540px;
        background-color: #ffefc3;
        padding-bottom: 20px;
    }

    #rozcestnik .bg-technikiada {
        height: 460px;
    }

    #rozcestnik-regiony .bg-grey {
        height: 460px;
    }

    #rozcestnik .btn-more {
        position: relative !important;
        margin-left: 0px !important;
    }

    .navbar-brand {
        width: 100%;
    }

    #myCarousel .carousel-control-prev-icon {
        width: 75px;
        height: 75px;
    }

    #myCarousel .carousel-control-next-icon {
        width: 75px;
        height: 75px;
    }

    #myCarousel .carousel-control-prev {
        left: -40px;
    }

    #myCarousel .carousel-control-next {
        right: -40px;
    }

    #rozcestnik #rodice,
    #panel-top-custom-sekce #rodic {
        max-height: 219px;
    }

    .px-5 {
        padding-right: 2rem !important;
        padding-left: 2rem !important;
    }

    .p-5 {
        padding-right: 2rem !important;
        padding-left: 2rem !important;
    }
}

.card .card-image-front-gs {
    filter: grayscale(100%);
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
}

#overlayContent {
    background: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 100%;
    max-height: 80%;
    overflow-y: auto;
    /* Enable vertical scrolling */
}

.resultItem {
    padding: 10px;
    cursor: pointer;
}

.resultItem:hover {
    background-color: #f0f0f0;
}

#burzomat .card img {
    width: 100%;
    height: 185px;
    object-fit: contain;
}

#single-poptavka img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
}

#single-nabidka img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
}

/*Techncoin slider*/
.techcoin-slider {
    margin: 30px 0;
}

.slider-container {
    display: flex;
    flex-direction: row;
    /* Align label and slider horizontally */
    align-items: center;
    /* Center label vertically with the slider */
    margin-bottom: 10px;
    position: relative;
    /* Required for absolute positioning of tooltip */
}

.slider-container label {
    margin-right: 40px;
    /* Increased space to the right of the label */
    font-size: 16px;
    color: #a17d3f;
    /* Updated label color */
    white-space: nowrap;
    /* Prevent text from wrapping */
}

.slider-wrapper {
    position: relative;
    width: 100%;
}

#techcoinRange {
    -webkit-appearance: none;
    /* Remove default styling */
    width: 100%;
    height: 10px;
    /* Set track height */
    border-radius: 8px;
    background: #d6cba9;
    /* Default background for entire slider */
    outline: none;
    transition: background 0.15s, opacity 0.2s;
}

#techcoinRange::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    /* Ensure this matches the track height */
    border-radius: 5px;
    background: transparent;
    /* Use JavaScript to style the track */
}

#techcoinRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    /* Remove default styling */
    appearance: none;
    width: 30px;
    /* Updated width */
    height: 30px;
    /* Updated height */
    border-radius: 50%;
    background: white;
    border: 8px solid #f5bf41;
    cursor: pointer;
    position: relative;
    z-index: 2;
    /* Ensure thumb is above track */
    margin-top: -10px;
    /* Adjust margin to center thumb vertically */
}

#techcoinRange::-moz-range-thumb {
    width: 30px;
    /* Updated width */
    height: 30px;
    /* Updated height */
    border-radius: 50%;
    background: white;
    border: 8px solid #f5bf41;
    cursor: pointer;
    position: relative;
    z-index: 2;
    /* Ensure thumb is above track */
    margin-top: -10px;
    /* Adjust margin to center thumb vertically */
}

.tooltip-custom {
    position: absolute;
    top: -35px;
    /* Fixed position above slider */
    background-color: #262626;
    color: #fff;
    padding: 5px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    pointer-events: none;
    white-space: nowrap;
    transform: translateX(-50%);
    z-index: 3;
    width: 40px;
    /* Constant width */
    text-align: center;
    /* Center the text within the tooltip */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Adds a shadow for depth */
}

.tooltip-custom::after {
    content: '';
    position: absolute;
    bottom: -5px;
    /* Position arrow at the bottom */
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-color: #262626 transparent transparent transparent;
    /* Arrow color */
}

.techcoin-slider p {
    margin-top: 20px;
}
.techcoin-slider .btn-primary {
    border: none;
    background-color: #f5bf41;
    padding: 10px 30px;
}
.custom-list {
    list-style: none;
    /* Remove default bullet points */
    padding: 0;
    /* Remove default padding */
    margin: 0;
    /* Remove default margin */
    max-width: 600px; /* Adjust this as necessary */
}

.custom-list li {
    display: flex;
    /* Use flexbox for alignment */
    align-items: flex-start;
    /* Align items at the top */
    font-size: 16px;
    /* Adjust font size as needed */
    margin-bottom: 10px;
    /* Add some space between items */
    text-align: left;
    line-height: 1.5;
    /* Improve readability for long text */
    word-wrap: break-word;
    /* Ensure long words break onto the next line */
    overflow-wrap: break-word;
}

.custom-list li::before {
    content: '✔';
    font-size: 12px;
    color: black;
    background-color: #f5bf41;
    border-radius: 50%;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
    /* Ensure icon doesn't shrink */
}
.custom-list .without-icon {
    margin-left: 34px; /* Align popis text with the start of the text in 'with-icon' */
    font-size: 16px;
    margin-bottom: 10px;
    text-align: left;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.custom-list .without-icon::before {
    display: none;
}
.btn-yellow {
    border-radius: 10px;
    background-color: #ffbc00;
    color: white; /* Bílá barva textu pro lepší kontrast */
    width: 100%; /* Tlačítko bude přes celou šířku */
    padding: 10px 0; /* Vycentrovaný text a prostor kolem */
    font-size: 16px; /* Příjemná velikost textu */
    border: none; /* Bez rámečku */
}

.btn-yellow:hover {
    background-color: #e0a800; /* Tmavší odstín pro hover efekt */
}
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
img.grayscale{
    filter: grayscale(100%);
}