body#fp {
    font-size: 90%;
}

#fp .content {
    padding: 0 2.7vw;
}

#fp h1 {
    color: #c60000;
    font: 27px arial, sans-serif;
    margin: 0 0 10px 0;
    padding: 0;
}

#fp h2 {
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 27px;
}

#fp ul {
    margin: 0;
    padding: 0;
}

#fp ul li {
    margin: 0;
    padding: 0;
}

.block_logo {
    padding: 10px 0 20px 0;
    float: left;
    width: 100%;
}

.block_logo .fleft {
    width: 49%;
}

.block_logo .phone {
    padding: 35px 0 0 0;
}

.block_logo .phone span {
    font-size: 100%;
    font-weight: bold;
    color: #999;
}

.block_logo .phone div {
    color: #c60000;
    font-size: 280%;
}

.block_education {
    padding: 20px 0 15px 0;
    border: 1px solid #CCC;
    border-width: 1px 0;
    float: left;
    width: 100%;
}

.block_education .fleft {
    width: 49%;
    min-width: 220px;
}

#fp .block_education li {
    padding: 0 50px 15px 0;
}

#fp .block_education li a {
    font-weight: bold;
    font-size: 120%;
}

.btn01 {
    width: 80%;
    background: linear-gradient(#ffe610, #f49728);
    color: #000;
    padding: 13px 18px;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-weight: bold;
}

.btn01:hover {
    color: #000;
    text-decoration: none;
    box-shadow: 0 0 6px 0 #999;
}

.btn01-all-tests {
    width: auto;
    max-width: 220px;
    display: inline-block;
    margin-top: 5px;
    padding: 8px 14px;
    background: linear-gradient(#cccccc, #cccccc);
}

.btn01-all-tests:hover {
    color: #000;
    text-decoration: none;
    box-shadow: 0 0 6px 0 #e06969;
}

.test-menu {
    display: block;
    position: relative;
}

.test-menu-item-wrapper {
    display: inline-block;
}


.test-menu-item {
    position: relative;
}

.test-menu-del {
    margin-right: 5px;
}

.test-menu a {
    color: black;
    font-size: 1.1em;
    text-decoration: none;
    border-bottom: 1px black dashed;
}

.test-menu-first a {
    color: white;
    border-bottom: 1px white dashed;
}

.test-menu span {
    display: inline-block;
}

.test-menu span:not(:last-child) {
    margin-right: 5px;
}

.test-menu-first {
    border-radius: 0 0 10px 10px;
    padding: 10px 20px;
}

.test-menu-other {
    height: 40px;
    background-color: white;
    border-radius: 0 0 10px 10px;
}

.test-menu-children {
    display: none;
    position: absolute;
    background-color: white;
    padding: 15px 10px;
    top: 40px;
    border-radius: 10px;
    box-shadow: 5px 5px 20px 0 #bbb;
    z-index: 100;
}

.test-menu-children span:not(:last-child) {
    margin-bottom: 10px;
}

.test-menu-child-first {
    display: block !important;
}

.test-menu-child-first span {
    padding: 6px 10px;
    border-radius: 10px;
}

.test-menu-child-first span a {
    text-decoration: underline;
    color: white;
    border: none;
}

.test-menu-child-other {
    display: block !important;
}

.test-menu-child-other a {
    text-decoration: underline;
    color: darkblue;
    border: none;
}

.test-menu-service {
    position: absolute;
    top: 12px;
    right: 15px;
}

.test-menu-service-stats {
    margin-right: 15px;
}

.test-menu-service-rating {
    color: #5e2d31;
}

.test-menu-service a {
    font-size: 16px;
    color: #333;
    border: none;
    text-decoration: underline;
}

.article-toggle {
    border-bottom: 1px black dashed;
    cursor: pointer;
}

.block_teachers {
    padding: 20px 0 0 0;
    float: left;
    width: 100%;
}

.block_teachers .photo_teacher {
    float: left;
    padding: 0 15px 15px 0;
    width: 25%;
    min-width: 130px;
}

.block_teachers .photo_teacher img {
    margin: 0 0 15px 0;
}

.block_teachers div {
    padding: 0 0 7px 0;
}

.block_teachers span {
    color: #666;
    font-size: 90%;
    display: block;
    margin: 5px 0 0 0;
}

#fp .block_teachers h2 {
    color: #c60000;
    margin: 0 0 20px 0;
}

#fp .block_method h2 {
    color: #c60000;
    margin: 0 0 10px 0;
}

.block_method {
    padding: 0 0 30px 0;
    float: left;
    min-width: 150px;
}

.block_method h3 {
    font-size: 130%;
    margin: 0 0 15px 0;
    padding: 0;
}

#fp .block_method li {
    padding: 20px 0 0 150px;
    font-size: 130%;
    margin: 0 0 5px 0;
    min-height: 95px;
}

li#meth01 {
    background: url(/i/ico_method01.png) 0 0 no-repeat;
}

li#meth02 {
    background: url(/i/ico_method02.png) 0 0 no-repeat;
}

li#meth03 {
    background: url(/i/ico_method03.png) 0 0 no-repeat;
}

li#meth04 {
    background: url(/i/ico_method04.png) 0 0 no-repeat;
}

li#meth05 {
    background: url(/i/ico_method05.png) 0 0 no-repeat;
}

.photo_img {
    max-height: 270px;
    border-radius: 12px;
    min-width: 125px;
    min-height: 150px;
    margin-bottom: 10px;
}

.name {
    height: 89px;
}

.block_aim {
    padding: 0 0 35px 0;
    float: left;
    width: 100%;
}

#fp .block_aim h2 {
    margin: 0 0 5px 0;
    padding: 0;
    color: #c60000;
}

#fp table {
    border-collapse: collapse;
}

#fp table td {
    padding: 8px 15px 8px 0;
    font-size: 130%;
}

#fp table#lessons_list td {
    padding: 0;
    border: none;
}

#lessons_list a:hover {
    color: #c70000;
}

.block_aim b {
    font-size: 40px;
}

.block_aim .statistic_table {
    margin-right: 50px;
}

.block_aim .statistic {
    font-size: 150%;
    margin: 7px 0 0 0;
}

.block_aim .statistic span {
    font-size: 80px;
    font-weight: bold;
    padding: 5px 0 0 0;
    display: block
}

.block_where {
    padding: 0 0 20px 0;
    float: left;
    width: 100%;
}

#fp .block_where h2 {
    margin: 0 0 15px 0;
    color: #c60000;
}

#moscow {
    font-size: 170%;
    background: url(/i/logo_moscow.png) 100% 0 no-repeat;
    padding: 10px 90px 20px 0;
    margin: 0 40px 15px 0;
    float: left;
}

#moscow div {
    color: #666;
    background: url(/i/ico_metro.png) 0 100% no-repeat;
    padding: 10px 0 0 40px;
}

#skype {
    font-size: 170%;
    background: url(/i/logo_skype.png) 100% 0 no-repeat;
    padding: 10px 190px 15px 0;
    float: left;
}

.block_how {
    padding: 10px 0 30px 0;
}

#fp .block_how li {
    font-size: 130%;
    margin: 0 0 15px 0;
}

#fp .block_how h2 {
    margin: 0 0 15px 0;
    padding: 0;
    color: #c60000;
}

#fp .block_how h3 {
    font-size: 25px;
}

.block_how p {
    font-size: 170%;
    margin: 25px 0 10px 0;
}

#fp .sp .block_education li {
    padding: 0;
    float: left;
    margin: 0 10px 0 0;
}

#fp .sp .block_education li.curr {
    font-weight: bold;
    font-size: 120%;
    background: #ececec;
    border-radius: 8px;
    float: left;
    padding: 12px 15px;
    color: #000;
    box-shadow: 0 3px 5px #CCC inset, 0 -1px 0 rgba(0, 0, 0, .05) inset;
}

.sp .block_education {
    padding: 5px 0 5px 0;
    margin: 0 0 25px 0;
}

.sp .block_education li a {
    float: left;
    padding: 12px 15px;
    width: 100%;
    border-radius: 8px;
}

.sp .block_education li a:hover {
    background: #fff3a0;
    color: #000;
    box-shadow: 0 0 5px #ffcc41 inset;
}

#fp .sp .block_education li.curr a {
    float: left;
    padding: 0;
    width: 100%;
    border-radius: 0;
    font-size: 100%;
    color: #000;
    text-decoration: underline !important;
}

#fp .sp table td {
    border-bottom: 1px solid #CCC;
}

#fp .sp table td.td_price {
    text-align: center;
    font-size: 180%;
    padding: 10px 25px 10px 0;
}

#fp .sp table tr.th td {
    background: #f2f2f2;
    font-size: 90%;
}

#fp .sp h2 {
    font-size: 24px;
    color: #c60000;
    margin-bottom: 10px;
}

#fp .sp ul.conditions li {
    padding: 0 0 10px 0;
    font-size: 120%;
}

#fp .sp ol.conditions li {
    font-size: 120%;
    padding-bottom: 7px;
    line-height: 130%;
}

#fp .sp ol.conditions {
    position: relative;
    left: -40px;
    border: 1px solid #FFF;
}

#logo_resize {
    min-width: 270px;
}

#logo_resize div {
    cursor: pointer;
    cursor: hand;
    background: url(/i/logo00.png) 0 50% no-repeat;
    background-size: 100%;
    height: 113px;
    max-width: 389px;
    margin-right: 30px;
}

.webinars_listing {
    font-size: 120%;
    line-height: 130%;
}

.teacher_photo {
    border-radius: 150px;
    width: 11vw;
    height: 11vw;
    margin: 0 20px 15px 0;
    min-width: 85px;
    min-height: 85px;
}

.webinars_list {
    float: left;
    width: 49%;
    margin: 10px 0 0 0;
}

.teacher_credits, .teacher_photo {
    float: left;
}

.teacher_credits {
    width: 60%;
    margin: 5px 0 0 0;
}

.teacher_credits b {
    display: block;
    color: #000;
    margin: 0 0 8px 0;
}

.teacher_credits p {
    margin: 0 0 5px 0;
    color: #666;
}

.duration {
    color: #FFF;
    background: #999;
    padding: 3px 5px;
    border-radius: 4px;
    font-size: 80%;
}

.task_count {
    color: #666;
}

.webinars_btn {
    margin: 10px 0 25px 0;
    font-size: 120%;
    line-height: 140%;
}

.webinars_btn a {
    background: url(/i/logo_vk.png) 0 0 no-repeat;
    padding: 6px 0 8px 38px;
}

.webinar_date {
    font-size: 90%;
    color: #ec8400;
}

.trafimova_webinars .webinar_date {
    color: #2ba600;
}

.trafimova_webinars .teacher_photo {
    box-shadow: 0 0 20px 0 #99cb2a;
}

.trafimova_webinars:hover .teacher_photo {
    box-shadow: 0 0 30px 0 #88cf19;
}

.rudakovskaya_webinars .teacher_photo {
    box-shadow: 0 0 20px 0 #f49720;
}

.rudakovskaya_webinars:hover .teacher_photo {
    box-shadow: 0 0 30px 0 #f49720;
}

.main-video {
    background: #FFF;
    padding: 0 0;
    position: static;
    text-align: center;
}

.mini_menu {
    display: none;
}

#fp .test_page table td {
    padding: 0;
    font-size: 100%;
}

#fp .sp .test_page table td {
    border-bottom: 0;
}

#grey_font div, #grey_font {
    opacity: 0.3 !important;
}

#grey_font div * {
    opacity: 1.0 !important;
}

#fp .landing h2 {
    color: #000;
}

.comment_pics img {
    margin: 5px 0;
    width: 100%;
}

.tbl_test td {
    padding: 0 15px 5px 0 !important;
}

#logo_resize {
    min-width: 270px;
}

#logo_resize div {
    cursor: pointer;
    cursor: hand;
    background: url(/i/logo00.png) 0 50% no-repeat;
    background-size: 100%;
    height: 113px;
    max-width: 389px;
    margin-right: 30px;
}

#first_block {
    background: #335744 url(/i/main2020_bg02.jpg) 0 45% no-repeat;
    background-size: 90%;
    clear: both;
}

#first_block h1 {
    font-size: 3vw;
    font-weight: bold;
    color: #eaee02;
    padding: 0;
    margin: 0;
}

#first_block .w_text {
    color: #FFF;
    font-size: 2vw;
}

.yellow {color: #eaee02;}

.topmenu {
    float: left;
    width: 100%;
    background: #FFF;
    font-size: 92%;
}

.menupad {
    padding: 0 0 0 15px;
}

.topmenu .menupad div {
    float: left;
    padding: 5px 30px 8px 0;
}

@media (max-width: 800px) {
    /* работает, если окно больше, чем min-width */
    #first_block {
        background-size: 100%;
        background-position: 0 -15px;
    }

    .block_education .fleft, .block_logo .fleft div {
        width: 99%;
        margin-right: 0;
    }

    #logo_resize div {
        height: 100px;
    }

    .block_logo {
        padding-top: 0;
    }

    .block_logo .phone {
        padding: 0;
    }

    .name {
        height: 94px;
    }
}

/* required to avoid jumping */
#price_block2.fixed table {
    position: fixed;
    top: 0;
    z-index: 1000000000;
    padding: 0 5px 0 0;
    margin: 0 0 0 0;
    display: block;
    background-color: #FFF;
    opacity: 0.95;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 0 0 15px 15px;
}

#price_block2 table {
    display: none;
}

.request {
    position: relative;
}

.request .container {
    display: none;
    position: absolute;
    z-index: 10000;
    width: 400px;
    min-height: 300px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 5px 11px 0 rgba(30, 20, 10, 0.20), 0 4px 15px 0 rgba(30, 20, 10, 0.15);
    background-color: rgba(250, 240, 230, 0.95);
    padding: 20px 30px;
}

.request .cancel {
    position: absolute;
    z-index: 10001;
    top: 5px;
    right: 15px;
    color: #543;
    font-size: 200%;
    cursor: pointer;
}

.request input[type=text] {
    width: 300px;
    margin: 5px 0;
    padding: 8px;
    border: 1px solid #999;
    border-radius: 4px;
}

.request span.invalid {
    display: none;
    margin-left: 5px;
    font-weight: bold;
    color: red;
}

.request div.invalid input[type=text] {
    border-color: red;
}

.request .complete {
    margin-bottom: 20px;
    font-weight: bold;
}

.request .dnone {
    display: none;
}

.please-login {
    padding: 10px;
    background: #ffee78;
    border-radius: 8px;
    transition: all 0.8s ease;
}

.please-login.effect {
    background: darkorange;
    transition: all 0.8s ease;
}
