﻿.checkbox{
    padding: 36px;
    background: #f2f1f6;
}
.checkbox a{
    font-size: 19px;
    color: #333;
}
.checkbox ul{
    display: block;
    padding: 0 0 0 100px;
    position: relative;
    margin: 0 0 20px 0;
}
.checkbox ul li:nth-child(1){
    position: absolute;
    top: 4px;
    left: 0;
}
.checkbox ul li{
    display: inline-block;
    vertical-align: text-top;
    margin: 0 4px 6px 0px;
}
.checkbox ul li:not(:nth-child(1)) a{
    padding: 4px 20px;
    display: inline-block;
    /*border: 1px red solid;*/
    text-align: center;
    min-width: 110px;
}
.checkbox ul li:nth-child(2) a{
    min-width:auto ;
}


.checkbox ul li:not(:nth-child(1)):hover a,
.checkbox ul li:not(:nth-child(1)).checkon a{
    background: linear-gradient(0deg, #7e12ac 0%, #2c06a0 100%);
    color: #ffffff;
}

.checkbox ul.zmul{
    margin-bottom: 0;
}
.checkbox ul.zmul li:not(:nth-child(1)) a {
    padding: 4px 9px;
    min-width: auto;
}



.teacherul{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 40px -22px;

}
.teacherul li{
    width:25%;
    padding: 0 22px;
    margin-bottom: 38px;
}
.teacherul li a{
    display: block;
    padding: 20px 0 0 20px;
    position: relative;
}
.teacherul .bigimg{
    height: 360px;
}
.teacherul li a:before{
    width: calc(100% - 20px);
    height:100%;
    display: block;
    content: ' ';
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #eae6f5 0%, transparent 80%);
}
.teacherul li a .textpd,
.teacherul li a .imgpd{
    position: relative;
    z-index:10;
}

.teacherul li a .textpd h4{
    font-size: 20px;
    color: #333333;
    line-height: 54px;
    border-bottom: 1px #2c06a0 solid;
}
.teacherul li a .textpd p{
    font-size: 18px;
    color: #333333;
    margin: 10px 0 0 0;
    padding: 0 0 0 12px;
    background: url("../img/renicon.png") no-repeat left center;
    background-size: 8px;
}

.teacherul li a:hover h4{
    background: -webkit-linear-gradient(#2c06a0, #7e12ac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
.teacherul li a:hover:before {
    background: linear-gradient(180deg, #2c06a0 0%, #7e12ac 40% , transparent 60%);

}







@media (max-width: 1600px) {
    .checkbox {
        padding: 30px;
    }
    .checkbox a {
        font-size: 18px;
    }
    .checkbox ul {
        padding: 0 0 0 90px;
        margin: 0 0 10px 0;
    }
    .checkbox ul li:not(:nth-child(1)) a {
        padding: 4px 16px;
        min-width: auto;
    }
    .checkbox a {
        font-size: 16px;
    }
    .teacherul .bigimg{
        height: 330px;
    }

}


@media (max-width: 1400px) {
    .checkbox {
        padding: 24px;
    }
    .checkbox ul {
        padding: 0 0 0 80px;
    }
    .checkbox ul li:not(:nth-child(1)) a {
        padding: 4px 12px;
        min-width: auto;
    }
    .teacherul li a {
        padding: 18px 0 0 18px;
    }
    .teacherul {
        margin: 30px -18px;
    }
    .teacherul li {
        width: 33.333%;
        padding: 0 18px;
        margin-bottom: 28px;
    }
    .teacherul .bigimg{
        height: 300px;
    }
    .teacherul li a .textpd h4 {
        font-size: 18px;
        line-height: 42px;
    }
    .teacherul li a .textpd p {
        font-size: 16px;
        margin: 8px 0 0 0;
        padding: 0 0 0 10px;
    }


}

@media (max-width: 1200px) {
    .checkbox {
        padding: 20px;
    }

}

@media (max-width: 1000px) {
    .checkbox {
        padding: 14px;
    }
    .checkbox ul li:not(:nth-child(1)) a {
        padding: 2px 8px;
        min-width: auto;
    }
    .checkbox ul li {
        margin: 0 2px 4px 0px;
    }
    .teacherul {
       margin-top: 20px;
    }

}

@media (max-width: 768px) {
    .checkbox {
        padding: 10px 14px;
        border: 1px #dfdfdf solid;
    }
    .checkbox ul {
        padding: 0 0 0 70px;
        margin: 0 0 10px 0;
    }
    .checkbox ul li:nth-child(1) {
        top: 1px;
    }
    .checkbox ul li:nth-child(1) a{
        font-weight: bold;
    }
    .checkbox ul li:not(:nth-child(1)) a {
        padding: 1px 4px;
        min-width: auto;
    }
    .checkbox ul.zmul li:not(:nth-child(1)) a {
        padding: 1px 4px;
        min-width: auto;
    }
    .checkbox a {
        font-size: 14px;
    }
    .teacherul .bigimg {
        height: 240px;
    }
    .teacherul li a {
        padding: 10px 0 0 10px;
    }
    .teacherul {
        margin: 10px -6px;
    }
    .teacherul li {
        width: 50%;
        padding: 0 6px;
        margin-bottom: 14px;
    }
    .teacherul li a .textpd h4 {
        font-size: 14px;
        line-height: 34px;
        font-weight: bold;
    }
    .teacherul li a .textpd p {
        font-size: 13px;
        margin: 2px 0 0 0;
        padding: 0 0 0 6px;
        background-size: 4px;
    }
    .teacherul li a:before {
        width: calc(100% - 10px);
    }

}


@media (max-width: 340px) {
    .teacherul .bigimg {
        height: 180px;
    }
    .teacherul li a {
        padding: 8px 0 0 8px;
    }

}


























