
#ni_widget,
#ni_widget .clients{
    display: flex;
}
#ni_widget{
    box-shadow: 0 0 15px 2px rgb(0 0 0 / 10%);
    padding: 15px 20px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
#ni_widget .first_row{
    width: 113px;
    flex-basis: 113px;
    flex-grow: 0;
    flex-shrink: 0;
}
#ni_widget .clients .cl{
    width: 160px;
    transition: all .2s,opacity .3s linear .1s,visibility .3s linear .1s;
}
#ni_widget .clients .cl.active{
    opacity: 0;
    visibility: hidden;
    margin: 0;
    padding: 0;
    max-height: 100px;
    width: 0;
    min-width: 0;
    transition: all .2s,width .3s linear .1s,min-width .3s linear .1s,margin .3s linear .2s,padding .3s linear .2s;
}
#ni_widget .ni_table_head .ni_logo {
    height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
#ni_widget .ni_table_head img{
    max-width: 100px;
    max-height: 60px;
}
#ni_widget .ni_table_head{
    font-size: 14px;
    line-height: 20px;
    font-weight: 900;
    text-align: left;
    color: #333a3f;
}
#ni_widget .clients .ni_table_head{
    font-size: 11px;
    line-height: 14px;
    text-align: center;
    color: #979797;
    font-weight: 500;
}
#ni_widget .clients .ni_table_head .title{
    font-size: 13px;
    line-height: 16px;
    color: #333;
    margin-bottom: 10px;
}
#ni_widget .clients .ni_table_head .link a{
    z-index: 1;
    background-color: #00c696;
    border-radius: 5px;
    font-weight: 600;
    display: block;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    padding: 0;
    bottom: 10px;
    width: calc(100% - 20px);
    height: 26px;
    line-height: 26px;
}

#ni_widget .first_row .ni_table_body{    
    justify-content: flex-start;
    line-height: 16px;
    font-size: 11px;
    font-weight: 700;
}
#ni_widget .clients .ni_table_body{
    color: #979797;
    line-height: 16px;
    font-size: 11px;
    text-align: center;
    font-weight: 700;
}

#ni_widget .first_row .ni_table_body,
#ni_widget .clients .ni_table_body .field{
    border-top: 1px solid #dbe1ed;
    border-left: 1px solid #dbe1ed;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}
#ni_widget .first_row .ni_table_body.rating,
#ni_widget .clients .ni_table_body .field.rating {
    height: 40px;
}
#ni_widget .clients .ni_table_body .field.rating img{
    max-width: 18px;
}
#ni_widget .first_row .ni_table_body:last-child,
#ni_widget .clients .ni_table_body .field:last-child{
    border-bottom: 1px solid #dbe1ed;   
}
#ni_widget .cl:last-child .ni_table_body{
    border-right: 1px solid #dbe1ed;
}
#ni_widget .first_row .ni_table_body:nth-child(2n),
#ni_widget .clients .ni_table_body .field:nth-child(2n+1){
    background-color: #fbfbfb;
}

#ni_widget .first_row.non_vertical .ni_table_body:nth-child(2n),
#ni_widget .clients.non_vertical .ni_table_body .field:nth-child(2n+1){
    background-color: #f7f3fd;
}

#ni_widget .first_row .ni_table_head{
    padding-top: 45px;
}

#ni_widget .descriptionNI{
    padding: 0 10px 55px;
    text-align: center;
    position: relative;
    min-height: 60px;
    margin: auto 10px;
    background: #fff;
    max-height: 100%;
}
#ni_widget .descriptionNI:before{
    content: "";
    box-shadow: 0 9px 12px 0 #e8ecf4;
    position: absolute;
    top: 23px;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 0;
}
#ni_widget .descriptionNI:after{
    content: "";
    width: 15px;
    height: 15px;
    background-color: #fff;
    box-shadow: 0 9px 12px 0 #e8ecf4;
    position: absolute;
    display: block;
    transform: rotate(45deg);
    bottom: -8px;
    left: calc(50% - 10px);
}
#ni_widget .ni_last_column{
    padding: 60% 15px 0;
    background-color: #e5e5e5;
    height: 100%;
    border-left: 1px solid;
    border-image: linear-gradient( 
                    to top, #dbe1ed, 
                    rgba(0, 0, 0, 0) ) 1 100%;
    background: linear-gradient(
                        0deg, 
                        rgb(251 251 251) 0%, 
                        rgb(255 255 255) 100%);
    border-bottom: 1px solid #dbe1ed;
}
#ni_widget .ni_last_column p{
    font-size: 22px;
    line-height: 28px;
    font-weight: 900;
    text-align: left;
    color: #333a3f;
}
#ni_widget .ni_last_column a{
    color: #f24175;
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
    border-bottom: 2px solid;
}
#ni_widget .ni_last_column a:hover{
    border-bottom: none;
    text-decoration: none;
}
#ni_widget .descriptionNI .desc{
    height: 84px;
    overflow: hidden;
}
#ni_widget .descriptionNI .link{
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    justify-content: center;
    display: flex;
}
/*
#ni_widget .clients .ni_table_body,
#ni_widget .first_row .ni_table_body:nth-child(2){
    margin-top: 60px;
}
*/
#ni_widget .scroll_button{
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%,rgba(255,255,255,1) 44%);
    position: absolute;
    top: 12px;
    right: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
}
#ni_widget .scroll_button svg,
#ni_widget .back_scroll svg{
    color: #ccc;
    border-radius: 50%;
    border: 2px solid;
    width: 30px!important;
    height: 30px;
    padding: 4px;
    position: absolute;
    left: 50%;
    cursor: pointer;
}
#ni_widget .back_scroll{
    position: absolute;
    right: unset;
    bottom: unset;
    width: 60px;
    display: inline-block;
    top: 10px;
    left: 100px;
    transform: rotate(180deg);
    height: 32px;
    z-index: 2;
}
#ni_widget .photo-speaker img {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    margin-right: 5px;
}
#ni_widget .price {
    font-weight: bold;
    font-size: 14px;
}

.ni_become_box {
    padding: 10px 15px;
    text-align: center;
    background: #f3f3f3;
    margin-bottom: 30px;
}

@media screen and (max-width: 1200px){
    #ni_widget .descriptionNI{
        min-height: 120px;
    }
}
@media screen and (max-width: 768px){
    #ni_widget{
        padding: 40px 0 0;
        box-shadow: unset;
        position: relative;
    }
    #ni_widget .first_row{
        background: #FFFFFF;
        border: 1px solid #DCE1EC;
        border-right: 1px solid #99A1B1;
    }
    #ni_widget .scroll_button{
        top: 0;
        background: unset;
        width: 40px;
        height: 40px;
        bottom: unset;
    }
    #ni_widget .scroll_button svg, #ni_widget .back_scroll svg{
        left: unset;
        width: 40px !important;
        height: 40px;
    }
    #ni_widget .first_row .ni_table_body:last-child, 
    #ni_widget .clients .ni_table_body .field:last-child{
        border-bottom: unset;
    }
    #ni_widget .clients{
        border-top: 1px solid #DCE1EC;
        border-right: 1px solid #DCE1EC;
        border-bottom: 1px solid #DCE1EC;
    }
    #ni_widget:after{
        content: "";
        border-right: 1px solid #DCE1EC;
        position: absolute;
        top: 40px;
        bottom: 0;
        right: 0;
    }
    #ni_widget .first_row .ni_table_head{
        font-size: 16px;
        line-height: 118.5%;
        padding: 23px 18px 0 15px;
    }
    #ni_widget .first_row .ni_table_body{
        border-left: unset;
        font-size: 14px;
        justify-content: left;
    }
    #ni_widget .clients .ni_table_head{
        padding-top: 23px;
    }
    #ni_widget .back_scroll{
        left: 0;
        width: 40px;
        height: 40px;
        top: 0;
    }
    .bottom_mob_menu.ni_hidden{
        display: none;
    }
}

@media screen and (max-width: 400px){
    #ni_widget .first_row{
        flex-basis: 90px;
    }
}
