#kviz-btn-send {
    display: none;
}
.contant_all {
    margin-top: 1rem;
    box-shadow: 0 0 9px 4px #a7747417;
        max-height: 45rem;
    overflow-y: auto;
    position: relative;
}

@keyframes opacBox {
    0% {
        opacity : 0;
    }
    100% {
        opacity : 1;
    }
}

@keyframes boxOpacityNetx {
    0% {
        opacity : 0 ;
        z-index: -1;
    }
    15% {
        opacity: 1;
        z-index: 50;
    }
    80% {
        opacity: 1;
        z-index: 50;
    }
    100% {
        opacity: 0;
        z-index: -1;
    }
}
@keyframes boxAnimationSendOk {
    0% {
        background-color: rgb(198 198 198);
        border-radius: 4px;
    }
   
    100% {
        background-color: rgb(25 218 142);
        border-radius: 50%;
    }
}
@keyframes imgAnimationSendOk {
    0% {
        width: 0px;
        left: 50%;
        top: 40%;
        
    }
    80% {
        width: 55%;
        left: 24%;
        top: 18%; 
        transform: scale(1.05);
    }
    
    100% {
         width: 45%;
        left: 28%;
        top: 22%; 
        transform: scale(1);
    }
    
}

/* boxes-header */
.boxes-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 3.4rem;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 6px 15px #eef0f2;
    background-color: rgb(255 255 255);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}
.box-scroll-outer {
    position: relative;
    min-height: 1rem;
    width: 40rem;
    max-width: 80%;
    padding: 0 0.5rem;
}
.box-scroll_bottom-bland,
.box-scroll_append-bland {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    height: 0.8rem;
    border-radius: 10px;
    z-index: 100;
}
.box-scroll_bottom-bland {
    max-width: 40rem;
    width:100%;
    background-color: #E5E5E5;
}
.box-scroll_append-bland {
    width: 1rem;
    background-color: #D21218;
    z-index: 300;
    transition: all 1000ms linear;
}
.box-scroll_number-outer {
    padding: 0 0.5rem;
        font-size: 1.3rem;
    font-weight: 600;
    color: #D21218;
}
/* end boxes-header */

/* main */
.boxes-main {
    margin-top: 1.5rem;
}
.box-main-item {
    max-width: 655px;
    height: auto;
    margin: auto;
    margin-top: 1%;
    margin-bottom: 50px;
}

.box-main {
    display: none;
    min-height: 25vh;
    background-color: #fff;
}
.box-heead-item {
    display: flex;
        display: flex;
    justify-content: left;
    align-items: center;
    color: #222222;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 80%;
    margin-bottom: 1.2rem;
    padding: 0 12px;
}
.kviz-head-number {
    display: flex;
    width: 31px;
    justify-content: center;
    flex-wrap: no wrap;
    height: 31px;
    align-items: center;
    color: #222222;
    min-width: 2.3rem;
    border-radius: 50%;
    border: 1px solid #222222;
    margin-right: 12px;
}
 .kviz-head-text {
        font-size: 1.15rem;
    line-height: 120%;
    margin-bottom: 0;
    }
    
.box-maain-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.box-maain-item label {
    position: relative;
    /* padding: 25px 0px; */
    padding: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    display: block;
    height: 100%;
    text-align: center;
    font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 120%;
border: 2px solid transparent;
opacity: 0.4;
transition: all 250ms ease-out;
cursor: pointer;
}
.box-maain-item label::after {
    content: "";
    position: absolute;
    top: -12px;
    right: -12px;
    background-image: url("/assets/components/kvizopros/img/icon-checkbox-bird.svg");
    background-position: center;
    background-size: cover;
    width:24px;
    height: 24px;
    opacity: 0;
}

.box-maan-label-img {
    display: block;
    margin: auto;
    width: auto;
    max-width: 100%;
    height: 70%;
    padding-bottom: 1rem;
    max-height: 70%;
}

/* box 1 */
.box-1-btn {
        width: 194px;
    height: 156px;
    background: #FFFFFF;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
border-radius: 4px;
margin: 4px;
}

.box-maain-item input {
    display: none;
}

.box-maain-item input:checked + label::after {
    opacity: 1;
}

.box-maain-item input:checked + label,
.box-maain-item input + label:hover{
   opacity: 1;
   background: #FFFFFF;
border-color: #D21218;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
border-radius: 4px;
}

/* box 2 */
.box-2-btn {
    width: 194px;
    height: 194px;
    background: #FFFFFF;
    /* box-shadow: 0px 2px 4px rgb(0 0 0 / 25%); */
    border-radius: 4px;
    margin: 12px;
}
.box-maain-item-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.box-maain-item-2 label {
        display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    /* display: block; */
    height: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-style: normal;
    font-weight: normal;
    padding: 3px;
    font-size: 16px;
    line-height: 120%;
    border: 3px solid transparent;
    transition: all 250ms ease-out;
    cursor: pointer;
}
.box-maain-item-2 input {
    display: none;
} 
.box-maain-item-2 label::after {
    content: "";
    position: absolute;
    top: -12px;
    right: -12px;
    background-image: url("/assets/components/kvizopros/img/icon-checkbox-bird.svg");
    background-position: center;
    background-size: cover;
    width:24px;
    height: 24px;
    opacity: 0;
}

.box-maain-item-2 input:checked + label::after {
    opacity: 1;
}

.box-maan-label-img-2 {
        height: 100%;
    max-height: 100%;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    /* width: 95%;
    height: auto;
    transition: all 180ms linear; */
   /*  margin-top: 2px */;
}
.box-maain-item-2 input + label:focus,
.box-maain-item-2 input:checked + label {
   opacity: 1;
   background: #FFFFFF;
border-color:#D21218;
border-radius: 4px;

}
.box-maain-item-2 input:checked + label img,
.box-maain-item-2 input + label:hover img{
    width: 100%;
}


.kviz-box-open {
    display: block;
    animation-name: opacBox;
    animation-duration: 1000ms;
    animation-fill-mode: both;
    padding: 1rem 0;
}

/* block 3 */
.box-3-text {
    margin-bottom: 12px;
}

.car-text {
    background-color: #F4F5F7;
    border-radius: 4px;
    color: #8E939A;
    font-size: 18px;
    line-height: 120%px;
    padding: 10px 16px;
    display: block;
    width: 95%;
        border: 2px solid transparent;
    outline: none;
}
.car-text:hover,
.car-text:focus,
.car-text:active,
.car-text:focus-visible {
    border: 2px solid #D21218;
    outline: none;
}
.text-ac {
    border: 2px solid #D21218;
}
/* end block 3 */

/* block 4 */
.box-maain-item-4 {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding-bottom: 1rem;
}
.box-4-btn {
    display: block;
    min-width: 166px;
    min-height: 53px;
    margin-top: 6px;
    padding: 0.2rem;
}
.box4-inp-check {
     display: none; 
}
.box-4-label,
.box-4-label-end {
    display: block;
    max-width: 100%;
    text-align: center;
    border: 2px solid #8E939A;
    border-radius: 74px;
    padding: 10px 16px;
    font-style: normal;
font-weight: normal;
font-size: 1.1rem;
line-height: 120%;
color: #8E939A;
margin: 0px 10px;
cursor: pointer;
transition: all 230ms linear;
}

.box-4-label-end {
    display: block;
}
.box-4-btn-end {
    width: 90%;
}
/* .box-4-label-end:hover,
.box-4-label:hover {
    font-size: 1.3rem;    
} */
.box-maain-item-4 input:checked + label {
    border-color: #D21218;
    color: #D21218;
    transform: scale(1.1);
}

/* block 4 */
.box-maain-item-5 textarea {
    width: 100%; 
    height: 100px;
    font-style: normal;
font-weight: normal;
font-size: 1rem;
line-height: 32px;
border-radius: 4px;
background-color: #F4F5F7;
border: 2px solid transparent;
transition: all 200ms linear;
padding: 11px 16px;
box-sizing: border-box;
}

.box-maain-item-5 textarea:hover,
.box-maain-item-5 textarea:focus, 
.box-maain-item-5 textarea:active {
    border-color: #D21218;
    outline: none;
}
/* block6 */
.box-maain-item-6 {
    max-width: 238px;
    margin: auto;
    padding-bottom: 2rem;
}
.drag {
    background-color: #C6C6C6;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
border-radius: 4px;
 margin: 32px 0 20px;
 min-width: 250px;
    /* padding:  47px 32px 32px ; */
    position: relative;
    overflow: hidden;
    min-height: 250px;
    transition: all 600ms linear;
}
.b6-icon-water{
    position: absolute;
    z-index: 90;
    top:100%;
    left: 0;
    right: 0;
    width: 100%;
}
#inp-file {display: none;}
.inp-file-label
{
    position:absolute;
    width: 99%;
    height: 100%;
    text-align: center;
    left: auto;
    right: auto;
    top: calc(50% - 80px);
    cursor: pointer;
    z-index: 200;
}
/* .drag  .inp-file-label:hover {
    border: 2px solid red;
    box-shadow: 0px 2px 4px red;
} */
.file-images-text {
    position: absolute;
        top: 150px;
    left: calc(50% - 87px);
   /* margin-top: 23px; */
   max-width: 174px;
   text-align: center;
   
    color: #FFFFFF;
    font-style: normal;
font-weight: normal;
font-size: 12px;
line-height: 120%;
z-index: 102;
}
.file-images-text span{
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}
.box-btn-send {
    width: 100%;
}
.b6-btn-send {
    display: block;
    text-decoration: none;
    width: 182px;
    border: 2px solid #CCD2D7;
    box-sizing: border-box;
    border-radius: 100px;
    padding: 9px 0px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: #CCD2D7;
    margin: auto;
}
.kviz-btn-send-active {
    background-color: #D21218;
    color: #fff;
    border-color: #D21218;
   cursor: pointer;
   transition: all 180ms linear;
}
.kviz-btn-send-active:hover {
    background-color: #1fbb7d;
    border-color: #1fbb7d;
}
.upload_overall {
    transition: all linear 600ms;
}
.imganimation {
    position: absolute;
    top: 25%;
    max-width: 100%;
    max-height: 100%;
    left: 24%;
    display: block;
    animation: imgAnimationSendOk 2500ms forwards;
    
}
.outer-box_animation-active{
    animation: boxAnimationSendOk 2000ms forwards;
}

.pamnimation {
    font-style: normal;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 65% auto auto;
    max-width: 12rem;
    text-align: center;
    color: rgb(255 255 255);
    /* text-shadow: 0px 4px 4px rgb(0 0 0 / 25%); */
}

/* block7 */
.box-7-mess {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
.box-btn-send {
    margin-top: 2rem;
}

.box-file-name {
    display: flex;
    justify-content: flex-start;
    flex-wrap: no-wrap;
    padding: 16px;
}
.box-file-close {
    /* border: 1px solid red; */
    margin-right: 18px;
        font-size: 16px;
    font-weight: bold;
    display: block;
    margin: 0 5px;
    width: 16px;
    height: 16px;
    text-align: center;
    cursor: pointer;
}
.file-name {
        font-size: 16px;
    font-weight: bold;
}

.box-7-mess input {
    display: none;
}
.box-7-mess {
    min-height: 65px;
    padding: 0 6px;
    /* display: none; */
}
.box-7-mess label {
        border: 2px solid #8E939A;
    padding: 8px 0px;
    font-weight: bold;
    color: #8E939A;
    font-size: 12px;
    line-height: 100%;
    margin: 13px 10px;
    display: inline-block;
    border-radius: 24px;
    cursor: pointer;
    width: 80px;
    text-align: center;
    transition: all 300ms linear;
}
.box-7-mess #box-7-viber:checked + label {
    border-color:  #6339C3;
    background-color: #6339C3;
    color: #ffffff;
}
.box-7-mess #box-7-viber + label:hover {
    border-color: #6339C3;
    color: #6339C3;
}
.box-7-mess #box-7-viber:checked + label:hover {
    background-color: #451BA5;
    border-color: #451BA5;
    color: #ffffff;
}
.box-7-mess #box-7-telegram:checked + label {
    border-color: #51A3FC;
    background-color: #51A3FC;
    color: #ffffff;
}
.box-7-mess #box-7-telegram + label:hover {
    border-color: #51A3FC;
    color: #51A3FC;
}
.box-7-mess #box-7-telegram:checked + label:hover {
    background-color: #3385DE;
    border-color: #3385DE;
    color: #ffffff;
}
.box-7-mess #box-7-Whatsapp:checked + label {
    border-color: #64B243;
    background-color: #64B243;
    color: #ffffff;
}
.box-7-mess #box-7-Whatsapp + label:hover {
    border-color: #64B243;
    color: #64B243;
}
.box-7-mess #box-7-Whatsapp:checked + label:hover {
    background-color: #00BC70;
    border-color: #00BC70;
    color: #ffffff;
}

.box-maain-item-9 {
        display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
    flex-wrap: wrap;
    gap: 1rem;
        margin: 3rem 0;
}
.box-9-btn-radio {
    padding: 0.5rem;
    transition: all 100ms linear;
}
.box-9-btn-radio label {
    padding: 10px;
    cursor: pointer;
    transition: all 100ms linear;
}
.box-9-btn-radio:hover {
    transform: scale(1.1);
    color: #D21218;
}
/* footer */
.btn-next {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    height: 100%;
}
.btn-next-item {
    position: relative;
    margin: auto;
    display: block;
    padding: 9px 32px;
    color: #CCD2D7;
    background-color: #fff;
    align-items: center;
    font-style: normal;
font-weight: bold;
font-size: 20px;
line-height: 120%;
border: 2px solid #CCD2D7;
border-radius: 100px;
transition: all 299ms linear;
}

.next-item-img {
    margin-left: 10px;
}



/* next window */
.nex-window {
    position: absolute;
    padding: 1rem;
    bottom: 58px;
    background-color: transparent;
    left: auto;
    right: auto;
    width: 250px;
    height: auto;
    display: none;
    z-index: -1;
    opacity: 0;
    cursor: pointer;
}
.nex-window-opacity {
    z-index: 100;
    opacity: 1;
   animation: boxOpacityNetx 4000ms both;
    display:block;
} 

.next-window-item {
    position: relative;
    background: #FFFFFF;
    color: rgb(164 175 184);
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    text-align: center;
    line-height: 120%;
    padding: 14px;
    box-shadow: 0 3px 10px 0 rgba(164,175,184,.75);
    height: 100%;
    width: calc(100% - 2rem);
}

.next-window-item::after {
    box-shadow: none;
        position: absolute;
    content: '';
    width: 0.71428571em;
    height: 0.71428571em;
    background: rgb(255 255 255);
    transform: rotate(45deg);
    z-index: 2;
    top: auto;
    right: auto;
    bottom: -0.30714286em;
    left: 50%;
    margin-left: -0.30714286em;
}
/* end next window */

#kviz-btn-prev {
    /* border: transparent; */
    cursor: pointer;
    font-size: 20px;
    padding: 7px 7px;
    display: none;
}

.boxes-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
box-shadow: 0px -6px 15px #EEF0F2;
}

.kviz-btn-next-active {
    background-color: #D21218;
    color: #fff;
    border-color: #D21218;
   cursor: pointer;
}
.kviz-btn-next-active path {
    fill: #fff;
}
/* box-gratitude */
 .box-gratitude {
    display: none;
    justify-content: center;
    align-items: center;
    /* display: flex; */
    /* min-height: calc(100vh - 2.8rem); */
    background-color: #fff;
 }
 .box-gratitude-item {
    max-width: 655px;
    margin: auto;
    width: 100%;
 }
.box-gratitude_name { 
    margin: 0;
 color: #222222;
 font-style: normal;
font-weight: 700;
font-size: 5rem;
line-height: 100%;
text-align: center;
}
.box-gratitude_text {
    color: #222222;
    text-align: center;
    font-style: normal;
font-weight: 300;
font-size: 1.8rem;
line-height: 120%;
text-align: center;
    max-width: 23rem;
    display: block;
    margin: 1.2rem auto 2rem;
}
.box-gratitude_btn {
    color: #fff;
    padding: 15px 100px;
    display: block;
    width: 100%;
    margin: 1rem auto;
    text-align: center;
background-color: #2CD990;
border-radius: 74px;
font-weight: 400;
font-size: 20px;
line-height: 120%;
max-width: 471px;
    box-sizing: border-box;
    text-decoration: none;
}
.box-gratitude_btn:hover,
.kviz-btn-next-active:hover {
    background-color: #D21218;
    color: rgb(255 255 255);
    /* background-color: rgb(75 241 171); */
    border-color: #D21218;
}
/* end box-gratitude */

@media screen and (max-width: 767px) {
    /* .boxes-header {
        justify-content: center;
    } */
    .kviz-head-text {
        font-size: 1.1rem;
    }    
    .box-scroll_number-outer {
        font-size: 1.2rem;
    }
     .btn-next-item {
        font-size: 1.2rem;
    }
   
    .box-1-btn {
        width: 10rem;
        height: 11rem;
        
    }
    .car-text {
        box-sizing: border-box;
        width: calc(100% - 2rem);
        margin: 0 1rem;
        font-size: 1rem;
    }
    .box-maain-item label {
        
        font-size: 0.8rem;
        
    }
  
    /* block2 */
    .box-2-btn {
        width: 11rem;
        height: 11rem;
        margin: 0.35rem;
    }
    .box-maain-item-2 {
        justify-content: space-evenly;
    }
    .box-maan-label-img-2 {
    width: 100%;
    height: 100%;
    
}
    .box-maain-item-2 label {
        display: flex;
    justify-content: center;
    align-items: center;
    }
    .box-4-label, .box-4-label-end {
        font-size: 1.1rem;
    }
    /* .box-maain-item-6 {
            max-width: 210px;
    } */
    .box-file-name {
    justify-content: flex-start;
    }
    .box-gratitude_name {
            font-size: 3.5rem;
    }
    .box-gratitude_text {
        font-size: 1.5rem;
    }
    .box-gratitude_btn {
        padding: 1.2rem 0.5rem;
        width: 75%;
    }
    .box-maain-item-7 {
       padding: 0rem 1rem 4rem; 
    }
}
@media screen and (max-width: 415px) {
    /* header */
    .boxes-header {
        max-width: 90%;
        margin: auto;
        padding: 0 5%;
    }
    .box-scroll-outer {
        width: 70%;
    }
    .kviz-head-text {
        font-size: 1.1rem;
        padding: 0.5rem;
    }
     .box-gratitude_name {
            font-size: 3rem;
    }
    .box-gratitude_text {
        font-size: 1.35rem;
    }
    
   
}
@media screen and (max-width: 390px) {
    .box-2-btn {
        width: 8.3rem;
        height: 8.3rem;
        margin: 0.3rem;
    }
    /* .box-1-btn {
    width: 7.5rem;
    height: 7.5rem;
    } */
    .box-4-btn {
        min-width: inherit;
    min-height: inherit;
     margin: 1.2rem;
    }
    /* .box-maain-item label {
        font-size: 0.6rem;
    } */
    .box-gratitude_text {
        font-size: 1.2rem;
    }
    .box-gratitude_btn {
        padding: 0.5rem;
        width: 90%;
        font-size: 1rem;
        
    }
    
}







