/* cmsms stylesheet: teacher modified: воскресенье, 19 октября 2025 г. 23:58:47 */
/* teacher */
.teacher_item_in_content {
    width: 31%;
    padding: 1em;
    border-radius: 1em;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin: 0 0 2vh;
}

.teacher_image_in_content {
width:100%;
    display: flex;
    justify-content: center;
}

.teacher_image_in_content img {
    width: 16em;
    height: 16em;
    border-radius: 50%;
    align-self: center;
}

.teacher_content_in_content {
    width: 100%;
    margin-top: 5%;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
} 

.teacher_content_in_content a {
    width: 100%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher_content_in_content a:hover {
opacity: 0.7;
transition: 0.3s;
}

.teacher_content_in_content span.teacher_title {
    font-weight: 600;
    color: #1C4C8B;
    text-decoration: none;
    font-size: 1.2vw;
    margin-bottom: 1vh;
    display: block;
    width: 60%;
    align-self: center;
}

.teacher_content_in_content span.description {
    font-size: 1vw;
    color: #383838;
}

.teacherDetailHolder {
    width: 60%;
    margin: 0 auto;
    padding: 8vh 0;
}

.teacherDetailImage {
display: flex;
    justify-content: center;
    margin-bottom: 1em;
}


.teacherDetailImage img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
}

.teacherDetailTitle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacherDetailTitle text {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.teacherDetailTitle h1{
    font-size: 26px;
    
}

.teacherFullText h3{
    font-size: 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacherFullText table {
border-collapse: collapse; 
width: 100%;
font-size: 18px;
}

.teacherFullText table tr td li {
font-size: 18px;
padding: 1% 0;
}

.teacherFullText table tbody tr {
border-top: 1px solid #C7C7C7; 
border-bottom: 1px solid #C7C7C7; 
vertical-align: baseline;
}

.teacherFullText table tbody tr td:first-child {
padding: 18px; 
width: 40%; 
font-weight: bold;
}
.teacherFullText table tbody tr td:last-child {
padding: 18px; 
width: 59.9795%;
}

.detailTeachers .teacherDetailImage img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
width: 30%;
}

.detailCamp .teacherDetailImage img {
margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 50%;
width: 30%;
}
