@media (min-width: 1260px) {
    .container {
        max-width: 1250px;
    }
    
    

    body.fr #crossword_page .controls label, body.fr #crossword_page .controls .control-label, body.fr .secret-box label {
        font-size: 11px;
    }
}


@media (max-width: 1370px) {
    .dropdown-menu-start[data-bs-popper] {
        right: 0;
        left: auto;
    }
}

@media (max-width: 1270px) {

    #customize-wrapper {
        width: 740px;
    }

    /* Jednoslovný popisek (Barva, Couleur…) se v úzkém sloupci nesmí zalomit uprostřed slova. */
    .col-1 label, .col-1 .control-label {
        white-space: nowrap;
    }
}
@media (max-width: 1260px) {
    .container {
        max-width: 1200px;
    }
    
    
    
    
}

@media (max-width: 1220px) {
    .container {
        max-width: 1100px;
    }
    
    
    
    
    
    
    
    #customize-wrapper  {
        width: 625px;
    }
    .answerInput, #answersHeader {
        width: 140px;
    }
    .questionInput, #questionsHeader {
        width: 374px;
        font-size: 16px;
    }

    /* Stejné sloupce karet (Nadpis, Podnadpis…) i v editoru Binga. */
    #customize-tab-content, #bingo-tab-content {
        .col-1 {
            width: 25%;
        }
        .col-2 {
            width: 50%;
        }
        .col-3 {
            width: 50%;
        }
        .col-4 {
            width: 75%;
        }
    }
    
}

@media (max-width: 1120px) {
    .container {
        max-width: 1000px;
    }
    
    
    .header_section .button-container {
        margin-top: 16px;
    }
    
    
    
    
    
    
    
    .header_section .button-container a {
        font-size: 23px;
    }
    #customize-wrapper  {
        width: 543px;
    }
    .answerInput, #answersHeader {
        width: 110px;
    }
    .questionInput, #questionsHeader {
        width: 320px;
    }
    
}

@media (max-width: 1020px) {
    .page h2 {
        margin-top: 10px;
        font-size: 26px;
    }
    #customize-wrapper .nav-link {
        padding: 8px !important;
    }
    #customize-wrapper  {
        width: 53%;
    }
    .container {
        max-width: 100%;
    }
    
    #crossword_page .questionRow {
        display: block;
        align-items: normal;
        margin-bottom: 10px;
    }
    .questionInput, #questionsHeader {
        width: 83%;
    }

    .answerInput, #answersHeader {
        width: 83%;
        display: block;
        float: left;
    }
    .questionRow::before {
        content: counter(question-counter) ".";
        width: 5%;
        display: block;
        float: left;
    }
    #questionsAndAnswersResponsiveHeader {
        display: block;
        font-size: 16px;
        font-weight: bold;
        margin: 0 0 10px 0;
        font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    }
    #questionsHeader, #answersHeader {
        display: none;
    }
    .answerInput::before {
        width: 15%;
        display: block;
        float: left;
    }
    
    .header_section .button-container {
        margin-top: 10px;
    }
    
    
    
    
    
    
    .header_section .button-container a {
        font-size: 20px;
    }
    .removeButton {
        margin-bottom: 9px;
        margin-left: 2px;
    }
    
}

@media (max-width: 980px) {
    

    #customize-wrapper  {
        width: 52%;
    }
    .questionInput, #questionsHeader {
        width: 81%;
    }
    .answerInput, #answersHeader {
        width: 81%;
    }
}

@media (max-width: 920px) {
    
    #customize-wrapper {
        width: 51%;
    }
    #customize-wrapper .nav-link {
        font-size: 19px !important;
    }
    #questionsAndAnswersResponsiveHeader {
        font-size: 14px;
    }
    
    .header_section .button-container {
        margin-top: 10px;
    }
}

@media (max-width: 910px) {

    #customize-wrapper  {
        width: 49%;
    }
    #form-secret .form-container {
        padding: 2px !important;
    }
}
@media (max-width: 892px) {
    #customize-wrapper {
        width: 51%;
    }
    #preview-wrapper {
        margin-right: 5px;
    }
    #crossword_page .container {
        padding: 12px;
    }

}
@media (max-width: 855px) {
    #customize-wrapper  {
        width: 48%;
    }
    .questionInput, #questionsHeader {
        padding: 5px;
        width: 80%;
    }
    .answerInput, #answersHeader {
        padding: 5px;
        width: 80%;
    }
    #crossword_page .form-container {
        margin-bottom: 7px;
    }
}

@media (max-width: 820px) {

    .container {
        max-width: 100%;
    }
    
    
    .header_section .button-container {
        margin-top: 10px;
    }
    
    
    

    
    
    .page h1 {
        font-size: 29px;
    }
    .page p, .page li {
        line-height: 27px;
        font-size: 17px;
    }
    .page p.index_text {
        line-height: 30px;
    }
    .page h2 {
        margin-top: 10px;
        font-size: 24px;
    }
    .page  {
        text-align: left;
    }
    section.page .container {
        padding: 26px;
    }
    .subscribe_container p.agreement_text {
        font-size: 16px !important;
    }
    .clear.foot input.button {
        font-size: 15px;
    }
}
@media (max-width: 855px) {
    #customize-wrapper, #start-wrapper  {
        width: 100%;
        margin-top: 14px;
    }
    .questionInput, #questionsHeader {
        width: 87%;
    }
    .answerInput, #answersHeader {
        width: 87%;
    }
    #customize-tab-content, #bingo-tab-content {
        .col-1 {
            width: 8.33333333%;
        }
        .col-2 {
            width: 16.66666667%;
        }
        .col-3 {
            width: 25%;
        }
        .col-4 {
            width: 33.33333333%;
        }
    }
    
}

@media (max-width: 767px) {
    #questionModal .nav-pills .nav-link {
        white-space: nowrap;
        padding: 0.75rem 1rem;
        font-weight: 600;
    }

    #questionModal .nav-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    #questionModal .modal-body {
        max-height: none;
    }
}

@media (min-width: 768px) {
    .alert {
        border-radius: 6px;
        display: table;
        width: 100%;
        padding-left: 78px;
        position: relative;
        padding-right: 60px;
        border: 1px solid #e6e6e6;
    }

    .alert .icon {
        text-align: center;
        width: 58px;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border: 1px solid #bdbdbd;
        padding-top: 15px;
        border-radius: 6px 0 0 6px;
    }

    .alert .icon i {
        font-size: 20px;
        color: #fff;
        left: 21px;
        margin-top: -10px;
        position: absolute;
        top: 50%;
    }

    .alert .icon img {
        font-size: 20px;
        color: #fff;
        left: 18px;
        margin-top: -10px;
        position: absolute;
        top: 50%;
    }
    /*============ colors ========*/
    .alert.alert-success .icon,
    .alert.alert-success .icon:after {
        border-color: none;
        background: #00986a;
    }

    .alert.alert-warning .icon,
    .alert.alert-warning .icon:after {
        border-color: none;
        background: #d98c1f;
    }
}


@media (max-width: 710px) {
    
    .questionInput, #questionsHeader {
        width: 85%;
    }
    .answerInput, #answersHeader {
        width: 85%;
    }
}


    @media (max-width: 690px) {
        
        .questionInput, #questionsHeader {
            width: 84%;
        }
        .answerInput, #answersHeader {
            width: 84%;
        }
        
        
        .header_section .button-container {
            margin-top: 0;
        }

        
        
        
        
        

        body.fr .header_section .button-container a {
            font-size: 16px;
            padding: 9px 11px;
        }
    }


@media (max-width: 820px) {
    #customize-tab-content, #bingo-tab-content {
        .col-1 {
            width: 25%;
        }

        .col-2 {
            width: 50%;
        }

        .col-3 {
            width: 50%;
        }

        .col-4 {
            width: 75%;
        }
        .col-xs-1 {
            width: 25%;
        }
    }
}

    @media (max-width: 564px) {
        
        #customize-wrapper .nav-link {
            font-size: 18px !important;
        }
        .questionInput, #questionsHeader {
            width: 83%;
        }
        .answerInput, #answersHeader {
            width: 83%;
        }
        nav.navbar.navbar-expand-lg {
            padding-left: 11px;
            padding-right: 0;
        }
        
        
        
        
        
        
        

        .header_section .button-container a {
            padding: 9px 11px;
            font-size: 16px;
        }
        .brandingLogo {
            width: 100%;
        }
    }

        @media (max-width: 497px) {
            
            body.pt  .navbar-blog {
                font-size: 16px;
            }
            body.pt #dropdownMenuButton {
                font-size: 15px;
            }

            .questionInput, #questionsHeader {
                width: 82%;
            }
            .answerInput, #answersHeader {
                width: 82%;
            }
        
        
        
        
        
            

        .subscribe_container {
            width: 100%;
        }
        #mce-EMAIL {
            width: 100%;
        }
        .subscribe_container p.agreement_text {
            width: 90%;
        }
        #mc_embed_signup {
            width: 100%;
        }
        section.page .container {
            padding: 20px;
        }
        .header_section {
            padding-top: 0;
        }
        .container.nav {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }
    }
    @media (max-width: 461px) {
        .page h1 {
            font-size: 25px;
        }
        
        .header_section .container-fluid {
            padding: 0 !important;
        }
        #customize-wrapper .nav-link {
            font-size: 16px !important;
        }
        .questionInput, #questionsHeader {
            width: 81%;
        }
        .answerInput, #answersHeader {
            width: 81%;
        }
        
        #crossword_page {
            transform: scale(0.8);
            transform-origin: top left;
            width: 125%;
            height: 125%;
        }
        .navbar-blog {
            margin-right: 12px;
            font-size: 16px;
        }
        

    }
@media (max-width: 404px) {
    .page h1 {
        font-size: 22px;
    }
    
    body.pt nav.navbar.navbar-expand-lg {
        padding-left: 8px;
    }
    body.pt .navbar-blog, body.nl .navbar-blog {
        font-size: 15px;
    }
    body.pt #dropdownMenuButton {
        font-size: 14px;
    }
}

    @media (max-width: 389px) {
        
        body.pt .navbar-blog, body.nl .navbar-blog  {
            font-size: 14px;
        }
        body.fr .header_section .button-container a {
            padding: 9px 7px;
            font-size: 15px;
        }

        body.nl .navbar-blog {
            margin-right: 8px;
        }
        body.nl .bi.bi-globe {
            display: none;
        }
    }