﻿/*.content{
    height:3200px !important;
}*/

.page {
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

.content {
    overflow: initial;
    margin-top: 110px !important;
    padding-bottom: 10%;
}


.title {
    font-size: 14px !important;
    margin-top:6px;
    margin-bottom:0!important;
}

#subTitle {
    margin-bottom: 6px !important;
    line-height: 1.35;
    color: #CD2D47;
    font-size: 19px;
}

@media screen and (max-width:1200px) {

    .page {
        margin-left: 3%;
        width: 94%;
    }
}



#word {
    width: calc(100%);
    padding: 48px 24px;
    margin-bottom: 0;
    color: var(--primary-color);
    margin-top: 30px;
    font-size: 17px;
    border-radius: 40px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    line-height: 1.4;
    background: var(--secondary-card-background);
    box-shadow: var(--primary-shadow);
}

.sentence{
    font-size:17px;
    font-weight:400;
    color:var(--primary-color);
}

.options {
    background: var(--primary-card-background);
    padding-bottom: 10px;
    border-radius: 8px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.option {
    width: calc(33.333% - 11px);
    display: inline-block;
    color: var(--primary-color);
    padding: 14px 0;
    text-align: center;
    font-size: 16px;
    margin: 4px;
    margin-top: 15px;
    background: var(--test-option-color);
    /*box-shadow: var(--secondary-shadow);*/
    border-radius: 6px;
    transition: 0.25s;
    z-index: 1;
}

#option0 {
    border-bottom-left-radius: 40px;
    border-top-left-radius: 40px;
}

#option2 {
    border-bottom-right-radius: 40px;
    border-top-right-radius: 40px;
}

.option:hover {
    cursor: pointer;
    transform: rotateX(30deg) translateY(5px);
}








.fixed-back {
    position: fixed;
    background: rgba(0,0,0,0.8);
    z-index: 9000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin-top:0 !important;
    /*transform: translate(-50%, -50%);*/
}

.result {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 300px;
    width:96%;
    max-width: 1050px;
    background: var(--primary-card-background);
    z-index: 9200;
    border-radius: 0.5rem;
    
}

.bg-result {
    background: #ededed;
    padding: 14px 20px;
    border:1px solid lightgrey;
    border-radius: 0.5rem;
    text-align: left;
}



h4 {
    margin: 0 !important;
    font-size: 18px;
    font-weight:500 !important;
}

h5 {
    
    margin-top: 6px !important;
    font-size: 15px;
    font-weight: 500;
}

h6 {
    font-weight: 500 !important;
}


#vysledokTitle {
    line-height: 1.5;
    max-height: 60px;
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--secondary-color);
    font-size: 17px;
}

#betweenCase {
    height: 90px !important;
    background: var(--primary-background) !important;
    z-index: 0;
    position:relative;
    display:none;
}

    #betweenCase:after {
        position: absolute;
        z-index: -1;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        content: 'Reklama';
        color: rgb(200, 200, 200);
    }


.sentenceRound {
    border-top-left-radius: 3.5rem;
    border-top-right-radius: 3.5rem;
}

.answerRound {
    border-bottom-left-radius: 3.5rem;
    border-bottom-right-radius: 3.5rem;
    border: 1px solid var(--border-color);
}

/*#nexttoTest{
    height:296px !important;
    min-height:296px !important;
}*/

#underTest {
    /*height: 576px !important;
    min-height: 576px !important;*/
    /*display:none;*/

}

@media screen and (max-width: 800px) {
    .option {
        width: calc(100% - 22px);
        margin-top: 6px;
    }



    #option0 {
        border-radius: 6px;
    }

    #option1 {
        border-radius: 6px;
    }

    #option2 {
        border-radius: 6px;
    }

    #betweenCase{
        display:none;
    }

    .problem-column {
        width: 100%;
    }
}



#correct {
    color: #666666;
}


.progress {
    position: relative;
    background: var(--primary-background);
    height: 20px;
    border: 1px solid var(--border-color);
}

.progress-bar {
    background: var(--primary-card-background);
    background-image: linear-gradient( 45deg, rgba(200, 200, 200, 0.15) 10%, transparent 10%, transparent 50%, rgba(200, 200, 200, 0.15) 50%, rgba(200, 200, 200, 0.15) 60%, transparent 60%, transparent );
    background-size: 0.6rem 0.6rem;
}

.progress-number {
    position: absolute;
    top: calc(50% - 1px);
    font-size: 11px;
    color: var(--primary-color);
    left: calc(50%);
    transform: translate(-50%, -50%);
}

h4 {
    margin-top: 12px;
}

.resultFluid {
    margin-top: 8px;
    text-align: center;
}

.middle-item {
    background: var(--secondary-card-background);
    padding: 15px 18px;
    margin: 3px 0;
    font-size: 15px;
    font-weight: 400;
    border-radius: 0.5rem;
}

.red {
    color: var(--secondary-color);
    font-weight: 600;
}

#nazovTestu {
    line-height: 1.5;
}
       
       

imp {
    color: var(--secondary-color);
    display: inline-block;
    text-align: end;
}

.badge {
    background: var(--secondary-color);
    color: rgb(240,240,240);
    padding: 5px 7px;
    margin: 4px 3px;
}

.whole {
    width: 100%;
    margin-top: 50px;
    margin-left: 0%;
}



button:focus {
    outline: 0;
}



.right {
    float: right;
}






.next {
    transition: 0.2s;
    padding: 12px 0;
    font-size: 16px;
    border-radius: 50px;
    text-align: center;
    color: var(--primary-color);
    background: var(--primary-button-background);
    box-shadow:var(--secondary-shadow);
    margin-bottom:0.5rem;

}

    .next:hover {
        cursor: pointer;
    }


.disabled{
    opacity:0.3;
}

.lekcia {
    display: none;
}

    .lekcia:hover {
    }

#genTest {
    margin-left: 10px;
    background: white;
}

#genAnswers {
    background: white;
}

#genTest:hover #genAnswers:hover {
    cursor: pointer;
}



#lekcia {
    background: white;
}

.lft {
    /*float: left;*/
}

#tagsTarget {
    max-width: 400px;
    margin-top: 12px;
}

.bg-buttons {
    background: white;
    height: auto;
    overflow: auto;
    float: none;
    border-radius: 8px;
    padding: 10px 5px;
    padding-top: 16px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 5px;
    width: 100%;
    box-shadow: rgba(149, 157, 165, 0.4) 0px 4px 12px;
}

@media screen and (max-width:1100px) {

    .slovak-wrap {
        margin-left: 0%;
        width: 100%;
    }

    .content{
        width:94%;
        margin-left:3%;
    }

    .whole {
        margin-left:0%;
        width: 100%;
    }


}

br {
    display: none;
}

@media screen and (max-width:600px) {



    br {
        display: initial;
    }





    .right {
        float: none;
    }

    #tagsTarget {
        margin-top: 100px;
    }

    #genTest {
        margin-left: 0;
    }


    .item-text {
        padding-left: 0px;
    }
}

.li {
    margin: 4px 0;
}


.list-group-item:hover {
    background: rgba(0,0,0,0.05);
    transition: 0.4s;
    cursor: pointer;
}

a:hover {
    color: unset;
}

.form-group {
    width: 95%;
    margin-left: 2.5%;
}

.head {
    text-align: center;
    background: rgb(230,230,230) !important;
}



#input{
    border-radius:0px;
    border-top-left-radius:8px !important;
    border-bottom-left-radius:8px !important;
    width:calc(100% - 240px);
    margin-top:10px;
}

#enter {
    padding: 14px 18px;
    background: var(--correct-color);
    color: var(--primary-color);
    transition: 0.3s;
    border-radius: 0;

}

#enter:hover{
    cursor:pointer;
}

#show:hover{
    cursor:pointer;
}

#show {
    padding: 14px 18px;
    background: var(--wrong-color);
    transition: 0.3s;
    color: var(--primary-color);
    border-radius: 0;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
}



#subWords {
}

#subWords0 {
    color: dimgrey;
    background: rgba(111,111,211,0.2);
    border-radius: 6px;
    border: 1px solid rgba(111,111,211,0.4);
    padding: 5px 10px;
    font-size: 15px;
    width: 66%;
    display: inline-block;
    margin: 5px 0;
}

#subWords1 {
    color: dimgrey;
    background: rgba(111,211,111,0.2);
    border-radius: 6px;
    border: 1px solid rgba(111,211,111,0.4);
    padding: 5px 10px;
    font-size: 15px;
    width: 33%;
    display: inline-block;
    margin: 5px 0;
}

#subWords2 {
    color: dimgrey;
    background: rgba(211,111,111,0.2);
    border-radius: 6px;
    border: 1px solid rgba(211,111,111,0.4);
    padding: 5px 10px;
    font-size: 15px;
    width: 33%;
    display: inline-block;
    margin: 5px 0;
}

#subWords3 {
    color: dimgrey;
    background: rgba(211,211,111,0.2);
    border-radius: 6px;
    border: 1px solid rgba(211,211,111,0.4);
    padding: 5px 10px;
    font-size: 15px;
    width: 33%;
    display: inline-block;
    margin: 5px 0;
}

#subWords4 {
    color: dimgrey;
    background: rgba(211,111,211,0.2);
    border-radius: 6px;
    border: 1px solid rgba(211,111,211,0.4);
    padding: 5px 10px;
    font-size: 15px;
    width: 33%;
    display: inline-block;
    margin: 5px 0;
}

.one-line-clamp {
    padding: 12px 14px;
    background: #f5f5f5;
    line-height: 1.35;
    border-radius: 6px;
    background: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 2px 2px;
    border: 1px solid #ededed;
}


#subDesc {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    line-height: 1.4;
    font-weight: 400 !important;
}

.test-as {
    width: 80%;
    margin-left: 10%;
    max-height: 200px;
    height: 200px;
    margin-bottom: 5px;
    border-radius: 6px;
}

.other-margin {
    margin-top: 20px;
}


.imgdown {
    margin: 0!important;
    margin-top:20px !important;
    width: 100% !important;
}


@media screen and (max-width:700px) {
    #subWords0 {
        width: 100% !important;
        margin: 5px 0 !important;
    }

    #subWords1 {
        width: 100% !important;
        margin: 5px 0 !important;
    }

    #subWords2 {
        width: 100% !important;
        margin: 5px 0 !important;
    }

    #subWords3 {
        width: 100% !important;
        margin: 5px 0 !important;
    }


    .form-group {
        width: 97% !important;
        margin-left: 1.5% !important;
    }

    .test-as {
        width: 100%;
        margin-left: 0%;
    }

    .imgdown {
        width: 100% !important;
    }

    #input{
        width:100%;
        border-radius:8px;
    }

    #enter {
        display: inline-block !important;
        width: 64%;
        border-top-left-radius: 8px !important;
        border-bottom-left-radius: 8px !important;
        margin-top: 0.5rem;
        padding: 11px 12px;
    }

    #show {
        display: inline-block !important;
        width: 34%;
        border-top-right-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
        margin-top: 0.5rem;
        padding: 11px 12px;
    }

}


#tests {
}

#otherTests1 {
    margin-top: 25px;
    font-size: 15.5px !important;
    margin-bottom: 20px;
}

#otherTests2 {
    margin-top: 25px;
    font-size: 15.5px !important;
    margin-bottom: 20px;
}

#tests1 {
    background: rgb(0,0,0,0.02);
    border-radius: 6px;
    margin-bottom: 50px;
    padding-bottom: 10px !important;
}

#tests2 {
    background: rgb(0,0,0,0.02);
    border-radius: 6px;
    margin-bottom: 50px;
    padding-bottom: 10px !important;
}





zvlanj {
    font-weight:500;
}

.title-bg {
    background: rgba(0,0,0,0.02);
    padding: 1.25em 1.5em;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    box-shadow: rgba(149, 157, 165, 0.4) 0px 4px 12px;
    border: 1px solid rgb(230, 230, 230);
}

.no-shadow {
    box-shadow: none !important;
}

input {
    border-top-left-radius: 16px !important;
    border-bottom-left-radius: 16px !important;
    background: var(--primary-card-background);
    color: var(--primary-color);
}

.form-control {
    padding: 12px 20px !important;
    background:var(--secondary-card-background);
    color:var(--primary-color);
    border:1px solid var(--border-color);
}

    .form-control:focus {
        border-color: var(--secondary-color);
        box-shadow: none;
        background: var(--secondary-card-background);
        color: var(--primary-color);
    }

    .form-control::placeholder {
        color: var(--primary-color);
        opacity: 0.3;
    }

input::placeholder {
    font-size: 15px;
    opacity: 0.66 !important;
}



h1 {
    margin-bottom: 0 !important;
}





.test-box {
    /*margin-top:2rem !important;*/
}



.mt-6 {
    margin-top: 100px !important;
}

.test-item-desc {
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    display:-webkit-box;
}

.imgTest {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

red{
    color:rgb(211, 111, 111);
}

#subOptions {
    border-bottom-left-radius:50px;
    border-bottom-right-radius:50px;
    box-shadow: var(--primary-shadow);
}

.mask {
    mask-image: url(../../pictures/settings/mask.png);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    margin: 1rem auto;
    margin-top:0;
    display: block;
    width: 350px; /* or fixed px width if you prefer */
    max-width:100%;
    aspect-ratio: 4 / 3; /* reserve vertical space */
    background-color: #e0e0e0; /* neutral background always visible */
    overflow: hidden;
}

    .mask img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: opacity 0.3s ease;
    }


#title {
    color: var(--primary-color);
    font-size: 24px !important;
    font-weight: 600;
    line-height: 1.25;
}
