/*________popup_________*/
.mbtn {
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 20;
}
.modal {
    position: absolute;
    background-color: #000;
    color:#000;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);

    /*min-height: 100px;*/
    /*min-width: 150px;*/
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    display: none;
    overflow-y: auto;
}
.modal-overlay--visible {
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease-in-out;
}
.modal--visible {
    display: block;
}
.stop-scroll{
    overflow: hidden;
}
/*------------------*/
.btn-close{
    position: absolute;
    right:4px;
    top:4px;
    width: 29px;
    height: 30px;
    font-size: 18px;
    /*background-color: rgba(206, 189, 168, 0.99);*/
    /*border:1px solid rgb(255, 179, 179, 0.3);*/
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    z-index: 5;
}
/*.btn-close:hover{*/
/*    background-color: rgba(206, 189, 168, 0.7);*/
/*}*/

.btn-close:before,.btn-close:after{
    content: '';
    position: absolute;
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 3px;
    top:12px;
    left:3px;
    transform: rotate(45deg);
    background-color: white;
}
.btn-close:after{
    transform: rotate(-45deg);
}
/*--------------------*/
.students-cases{
    margin: 40px auto 60px auto;
}
.students-cases__content{
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
}
.students-cases__item{
    transition: transform .3s;
}
.students-cases__item:hover{
    transform: scale(1.1);
}
.students-cases__item-modal-link{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.students-cases__item-image{
    border-radius: 50%;
    max-width: 160px;
    max-height: 160px;
}
.students-cases__item-name{

}
video.video-case{
    border-radius:0;

}
div.video-case-wrapper{
    margin:0;
}
li.ns-show{
    display: flex;
    justify-content: center;
}

.contacts{
    justify-content: center;
}
.testimonials__item-wrapper{
    /*position: relative;*/
    padding: 0;
    margin: auto;
}
.testimonials__item{

}
.testimonials__item img{
    border-radius: 20px;
    object-fit: cover;
    max-height: 750px;
}
.testimonials__item-showed{

}
/*.testimonials__item-showed img{*/
/*    width: auto;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*}*/

.mt-30{
    margin-top:30px;
}
.mt-50{
    margin-top: 50px;
}
.mt-70{
    margin-top: 70px;
}


















