@font-face {
    font-family: 'Work Sans';
    src: url('../fonts/WorkSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('../fonts/WorkSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('../fonts/WorkSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('../fonts/WorkSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    src: url('../fonts/WorkSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --sliderBody: #F3F1EC;
    --darkBlue: #161C3F;
    --silver: #FFFFFF;
    --golden: #D3A863;
    --faqBody: #ECE2CA;
    --pink: #FF25D7;
}

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

h1, h2, h3 {
    text-transform: uppercase;
}

section {
    overflow-x: hidden !important;
}

h1 {
    font-weight: 700;
    letter-spacing: 12px;
    font-size: 30px;
}

h2 {
    font-weight: 800;
    letter-spacing: 9px;
    font-size: 22px;
}

h3 {
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 18px;
}

p {
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 0.02em;
}

.span-custom-header {
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0.02em;
}
.mt-nadpis-p {
    padding-top: 1.8rem !important;
    padding-bottom: 0.3rem;
}
main {
    overflow-y: hidden;
}

.navbar-brand span {
    display: none;
}

main > .container, main > .container-fluid
{
    padding: 70px 15px 20px;
}

.super-black {
    color: #000000 !important;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container, .footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #000000;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #000000;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

input[type=number] {
    -moz-appearance: textfield !important;
}

.form-floating .help-block,
.form-floating .invalid-feedback {
    font-size: 0.8rem;   
    color: #dc3545;    
    margin-top: 0.25rem; 
    margin-left: 0.10rem;
}

.breadcrumb-like {
    background-color: var(--bs-gray-200); 
    padding: 0.5rem 1rem;
}

.breadcrumb-like .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

.editable-buttons a {
    margin-left: 0.5rem;
}

.circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50% !important;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.site-index {
    position: relative;
}

/* vertikální středová čára */
#center-line {
    position: absolute;
    left: 50%;
    top: 5rem;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #000000;
}


#connector {
    position: absolute;
    height: 2px;
    background: #000000;
    width: 0;
    pointer-events: none;
    opacity: 1;
    transition: width 300ms ease; /* animuj width a top */
}

#connector-start {
    width: 13px;
    height: 13px;
    background: #000000;      /* černá kostička */
    position: absolute;
    top: -6.5px;                /* začátek connectoru */
    border-radius: 0;      /* můžeš nastavit 0 pro čtverec */
}

.delka-left-gold    { width: 300px; }
.delka-right-gold   { width: 300px; }
.delka-left-silver  { width: 40px; }
.delka-right-silver { width: 80px; }

#connector.fading-out {
    opacity: 0;
}


#connector.left {
    right: 50%;
}

#connector.right {
    left: 50%;
}


.faq {
    background-color: var(--faqBody) !important;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.golden-frame-first {
    margin-bottom: 1rem;
    width: 382px;
    height: 382px;
    border-radius: 15px;
    background-color: var(--golden);
    width: 382px;
    height: 382px;
    border-radius: 0px;
    background-color: var(--golden);
    clip-path: polygon(
    0 15%, 5% 15%, 5% 10%, 10% 10%, 10% 5%, 15% 5%, 15% 0, 
    100% 0, 100% 0, 100% 100%, 0 100%, 0 100%
    );
}

.img-frame-big-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 463px;
    height: 463px;
}

.img-frame-big-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 463px;
    height: 463px;
}

.container-black {
    width: 382px;
    height: 382px; 
}


.golden-frame-left {
    width: 375px;
    height: 382px;
    margin-right: 7px;
    border-radius: 0px;
    border-right: 7px black solid;
    background-color: var(--golden);
    clip-path: polygon(
        0 9%, 3% 9%, 3% 6%, 6% 6%, 6% 3%, 9% 3%, 9% 0, 
        100% 0, 100% 0, 100% 100%, 0 100%, 0 100%
        );
}

.empty-frame {
    width: 1px;
    height: 1px;
    margin-bottom: 5rem;
}



.first-right-margin {
    margin-top: 10rem !important;
}

.first-right-margin-no-picture {
    margin-top: 28rem !important;
}
.golden-frame-right {
    width: 375px;
    height: 382px;
    margin-left: 7px;
    border-radius: 0px;
    border-left: 7px black solid;
    background-color: var(--golden);
    clip-path: polygon(0 0, 91% 0, 91% 3%, 94% 3%, 94% 6%, 97% 6%, 97% 9%, 100% 9%, 
            100% 100%, 100% 100%, 100% 100%, 0 100%);
}

.white-bg-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-color: var(--silver);
}


.white-bg-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-color: var(--silver);
}

.tuforint-container-picture,
.tuforint-container-without-picture {
    position: relative;
    width: 100%;        /* zabere dostupnou šířku rodiče */
    max-width: 600px;   /* nikdy větší než původní */
}

.tuforint-container-picture {
    aspect-ratio: 600 / 630;   /* square */
}

.tuforint-container-without-picture {
    aspect-ratio: 600 / 382;   /* rectangle */
}
.margin-custom-top {
    margin-top: 5.4rem;
}

.margin-custom-top-white-line {
    margin-top: 5em;
}
.container-custom-parchment {
    position: relative;
    width: 100%;
    height: 100%;
}


.m-4-parchment {
    margin-top: 4.7rem;
}

.mb-4-parchment {
    margin-bottom: 4rem;
}

.container-custom-parchment img {
    z-index: 10 !important;
}

.container-custom-parchment h2 {
    position: absolute;
    width: 550px;
    height: 100;
    top: 51.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11 !important;
    text-align: center;
    margin-left: 5px;
    padding-bottom: 5px;
}

.picture-container-faq {
    width: 382px;
    height: 382px;
   
}

.picture-container-faq img {
    width: 100%;        
    height: auto;       
    display: block;     
    object-fit: contain; 
}

.right-border {
    border-right: 7px solid black
}

.left-border {
    border-left: 7px solid black
}
.golden-container-left-picture {
    position: absolute;
    left: 170px;
    top: 228px;
}

.golden-container-left {
    position: absolute;
    left: 170px;
    top: 0;
}

.golden-container-right-picture {
    position: absolute;
    right: 153px;
    top: 231px;
}

.golden-container-right {
    position: absolute;
    right: 153px;
    top: 0;
}

.tuforint-container-picture-silver,
.tuforint-container-without-picture-silver {
    position: relative;
    width: 100%;        /* zabere dostupnou šířku rodiče */
    max-width: 534px;   /* nikdy větší než původní */
    aspect-ratio: 534 / 560; /* zachování poměru šířka:výška */
}

.tuforint-container-without-picture-silver {
    aspect-ratio: 534 / 300;
}

.m-84 {
    margin-left: 91px;
}

.img-frame-smaller-right-silver {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
}

.silver-frame {
    width: 300px;
    height: 300px;
}

.silver-frame-right {
    width: 293px;
    height: 300px;
    margin-left: 7px;
    border-radius: 0px;
    /*opacity: 0.9;*/
    border-left: 7px black solid;
    background-color: var(--silver);
}

.silver-container-right-picture {
    position: absolute;
    right: 153px;
    top: 240px;
}

.img-frame-smaller-left-silver {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
}

.silver-frame-left {
    width: 293px;
    height: 300px; 
    margin-right: 7px;
    border-radius: 0px;
    /*opacity: 0.9;*/
    border-right: 7px black solid;
    background-color: var(--silver);
}

.silver-container-left-picture {
    position: absolute;
    left: 153px;
    top: 240px;
}

.silver-container-right-without-picture {
    position: absolute;
    right: 153px;
    top: 0;
}

.silver-container-left-without-picture {
    position: absolute;
    left: 153px;
    top: 0;
}

html, body .white-line {
    width: 100%;
    height: 1.2rem;
    background-color: #FFFFFF;
   
    
}

.relative-content {
    position: relative;
}

.absolute-bottom {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}

.footer .golden-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--golden);
}

.footer .blue-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: var(--darkBlue);
}

.footer .golden-section strong {
    font-size: 18px;
    letter-spacing: 1px; 
}

.footer .golden-section .kontakt {
    color: white;
}

.fotter .mt-custom-p {
    margin-top: 1.8rem;
}

.footer .strong-like {
    font-size: 18px;
    letter-spacing: 1px; 
    font-weight: bold;
    line-height: 1.4;
}

.faq-container {
    width: 450px;
}


.faq-container-right-part-margin {
    margin-left: 100px;
}
.faq-container p a {
    text-decoration: none;
    color: black;
}

.faq-picture-margin-right {
    margin-right: 0rem;
}

.faq-picture-margin-left {
    margin-left: 0rem;
}

html, body .main-frontend  {
    background-color: var(--sliderBody);
}
html, body .main-frontend  {
    background-color: var(--sliderBody);
}

html, body header {
    background-color: var(--darkBlue) !important;
}

.darb-blue {
    background-color: var(--darkBlue) !important;
}

.golden-text {
    color: var(--golden);
}

.z-1 {
    z-index: 1 ;
}

.z-2 {
    z-index: 2 ;
}

.z-3 {
    z-index: 3 ;
}

.z-4 {
    z-index: 4 ;
}

.centered-component {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.tufIcon {
    width: 16px !important;
    height: auto;
}

.reward-icon {
    width: 100%;
    height: auto;
}

.target-image h3 {
    margin-top: 3rem;
}

.target-image strong {
    margin-top: 1.6rem;

}

.cena {
    font-size: 24px !important;
    font-weight: 500;
}

.form-floating textarea.floating-textarea {
    height: 150px;
}

.main-admin {
    background-color: #FFFFFF;
}
@media (max-width: 1200px) { /* pod XL */
   .margin-custom-top {
        margin-top: 0;
   }

   .tuforint-container-picture {
        margin-bottom: 8rem !important;
    }

    .tuforint-container-without-picture {
        margin-bottom: 6rem;
    }

    .tuforint-container-without-picture-silver {
        margin-bottom: 2.4rem;
    }
    
    .tuforint-container-picture-silver {
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    .target-image h3 {
        margin-top: 0.2rem;
    }

      .tuforint-container-without-picture {
        margin-bottom: 0.7rem;
    }


    h3 {
            font-weight: 600;
            letter-spacing: 3px;
            font-size: 13px;
        }

        p {
            font-weight: 300;
            font-size: 12px;
            letter-spacing: 0.02em;
        }
    .cena {
        font-size: 14px !important;
    }
    .target-image strong {
        margin-top: 0rem;
    }

    .target-image {
        padding-left: 1rem;
        padding-right: 1rem
    }

    .tufIcon {
        width: 0.7rem !important;
        height: 0.7rem;
    }

    .reward-icon {
        width: 20px !important;
        height: 20px;
    }

    .container-custom-parchment img {
        width: 300px !important;
        height: auto;
    }

    .container-custom-parchment h2 {
        width: 280px;
        text-align: center;
        font-size: 0.8rem;
    }

    .m-4-parchment {
        margin-top: 2rem;
    }

    .container-custom-parchment {
        margin-bottom: 2rem;
    }

    .container-black {
        width: 300px;
        height: 300px; 
    }

    .margin-custom-top {
        margin-top: 0rem;
    }
    .golden-frame-right {
        width: 250px;
        height: 250px;
        font-size: 0.7rem;
    }

    .golden-frame-left {
        width: 250px;
        height: 250px;
        font-size: 0.7rem;
    }

    .golden-container-left-picture {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 150px;
    }

    .golden-container-left {
        position: absolute;
        left: 40%;
        transform: translateX(-40%);
        margin-top: 1.5rem;
    }
        .slider-item .frame {
        position: absolute;
        top: 50%;
        left: 50%; /* nebo right: 50% podle side */
        transform: translate(-50%, -50%);
    }

    .slider-item .image-container {
        display: flex;
        justify-content: center; /* obrázek uprostřed horizontálně */
        position: relative; /* frame bude absolutně vůči obrázku */
    }

    .golden-container-right-picture {
        position: absolute;
        left: 24%;
        transform: translateX(-50%);
        top: 150px;
    }

    .golden-container-right {
        position: absolute;
        left: 24%;
        transform: translateX(-50%);
    }
    .img-frame-big-right {
        position: absolute;
        top: 0;
        left: 0;
        transform: translateX(7%);
        width: 230px;
        height: 230px;
    }

    .img-frame-big-left {
        position: absolute;
        top: 0;
        right: 0;
        transform: translateX(30%);
        width: 230px;
        height: 230px;
        margin-left: 23px;
        margin-top: 10px;
    }
     .img-frame-smaller-left-silver {
        position: absolute;
        top: 0;
        right: 0;
        transform: translateX(12%);
        width: 270px;
        height: 270px;
    }
    .img-frame-smaller-right-silver {
         position: absolute;
        top: 0;
        left: 0;
        transform: translateX(7%);
        width: 270px;
        height: 270px;
    }

    .silver-frame-left {
        width: 250px !important;
        height: 250px;
        font-size: 0.7rem;
    }

    .silver-frame-right {
        width: 250px ;
        height: 250px;
        font-size: 0.7rem;
    }

    .silver-container-left-picture {
        position: absolute;
        left: 50%;
        transform: translateX(-55%);
        top: 190px;
    }

    .silver-container-right-picture {
        position: absolute;
        left: 30%;
        transform: translateX(-58%);
        top: 190px;
    }

    .silver-container-right-without-picture {
        position: absolute;
        left: 2%;
        transform: translateX(-50%);
        top: 0;
    }

    .silver-container-left-without-picture {
        position: absolute;
        left: 7%;
        top: 0;
    }
    .tuforint-container-picture,
    .tuforint-container-without-picture {
        
        position: relative;
        width: 100%;        
        max-width: 280px;  
    }

    .tuforint-container-picture {
        margin-bottom: 8rem;
    }
    .tuforint-container-picture {
        aspect-ratio: 250/ 250;   /* square */
    }

    .tuforint-container-without-picture {
        aspect-ratio: 250 / 250;   /* rectangle */

    }

    .tuforint-container-picture-silver,
    .tuforint-container-without-picture-silver {
        position: relative;
        width: 100%;        /* zabere dostupnou šířku rodiče */
        max-width: 280px;   /* nikdy větší než původní */
        aspect-ratio: 250 / 250;
    }

    .tuforint-container-picture-silver {
        margin-bottom: 10.5rem; /* zachování poměru šířka:výška */
    }
    .tuforint-container-without-picture-silver {
        aspect-ratio: 200 / 200;
        max-width: 200px;
        margin-bottom: 5rem;
    }

    .silver-frame {
        width: 250px;
        height: 250px;
    }
}
