/*
Theme Name:     Rudenko
Theme URI: 	https://rudenko.kh.ua
Description:    Child theme made by Sergei Bondarenko
Author:         Sergei Bondarenko
Author URI: 	https://studio.bondarenko.dn.ua/portfolio
Template:       rudenko
Version:        1.0
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/
.td-sidebar-about img {
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    max-width: 160px;
    border: 5px solid #f3f2f9;
}
.home .td-sidebar-about img {
    margin-bottom: 15px;
}
.td-sidebar-about p{text-align: center;}
.td-sidebar-about a,.td-sidebar-contacts a {
    color: #000;
    font-weight: 600;
}
.td-sidebar-about a:hover,.td-sidebar-contacts a:hover {
    text-decoration: none !important;
}
.c-icon {
    position: relative;
    top: 6px;
    margin-right: 5px;
}
.widget_text .td-block-title {
    margin-bottom: 10px;
}
.counseling .widget,.tutoring .widget,.guidance .widget,.home .widget {
    margin-bottom: 15px;
}
select.subject {
    height: 34px;
    margin-bottom: 6px;
    border-color: #ff1f37;
}
input.submit {
    width: 100% !important;
    background: #00aff0;
    text-transform: uppercase;
    border: 5px solid #cceffc;
}
.clubtutors input.submit {
    width: 100%;
    background: #ffb701;
    text-transform: uppercase;
    border: 5px solid #ffe489;
}
.clubtutors input.submit:hover {
    background-color: #70a136;
    border-color: #b5d68e;
}
input.name, input.email, textarea.message,input.phone,select.country {
    margin-bottom: 5px !important;
    border: 1px solid #f5d8d9;
}
select.country {
    width: 100% !important;
    height: 34px;
    color: #757575;
    padding-left: 5px;
}
textarea.message {
    height: 60px;
    min-height: 60px;
    line-height: 15px;
}
.red-marker {
    color: #2a2a2a;
    background: #f5d8d9;
    padding: 2px 4px;
}
.contact-form p {
    margin: 0;
}
.contact-form .wpcf7-response-output {
    margin: 0;
}
.contact-form .wpcf7-mail-sent-ok{background: #dafdda;}
.contact-form .wpcf7-validation-errors {background: #ffffad;}
.contact-form .wpcf7-mail-sent-ok,.contact-form .wpcf7-validation-errors {
    font-size: 12px;
    margin-bottom: 20px;
}
.contact-form span.wpcf7-not-valid-tip {
    color: #d05743;
    font-size: 12px;
    line-height: 14px;
}
.textHidden p {
    font-size: 15px;
    line-height: 26px;
}
.textShow {
    text-align: center;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0) !important;
    background-image: url(img/read-more-bg.png);
    background-size: 100%;
    background-repeat: no-repeat;
    color: #fff !important;
    opacity: 0.8;
    font-size: 13px;
    padding: 7px 18px;
    width: 121px;
    height: 34px;
    margin: 0 auto;
}
.home .td_module_18 .meta-info-container {
    border-bottom: 1px dashed #efebe2;
}
pre {
    background-color: #fff7e2;
    padding: 10px 16px 10px 16px;
    border: 1px solid #fedd86;
    border-radius: 0;
    margin-top: 24px;
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.widget_text .service-title a {
    font-size: 18px;
    font-family: "Roboto Slab", serif;
    color: #111;
    line-height: 22px;
    display: block;
    font-weight: 500;
    border-bottom: 1px dashed #f2f2f2;
    padding: 10px;
	text-decoration:none;
}
.widget_text .service-title a:hover {
    text-decoration: none !important;
}
.service-title {
    margin: 0;
}
.td-main-sidebar .td-sidebar-contacts {
    margin-bottom: 20px;
}
.tag .td-page-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px dashed #f2f2f2;
}
.td-sub-footer-copy a {
    color: #fff;
}
.home2.social-list {
    margin-top: 20px;
}
.td-sub-footer-menu ul li a {
    font-weight: normal;
    text-transform: uppercase;
    font-size: 11px;
}
.services .mailster-wrapper.mailster-country-wrapper {
    margin-top: -12px;
}
.mailster-widget-text.mailster-widget-text-before {
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
    padding: 0 10px;
}
.flex-container{
    /*для поддержки флекс в браузерах*/
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    /**/
    display: flex;/* flex | inline-flex */
    flex-direction: row; /*  row | row-reverse | column | column-reverse */
    flex-wrap: wrap; /* nowrap | wrap | wrap-reverse */
    justify-content: flex-start; /* flex-start | flex-end | center | space-between | space-around */
    /*height: 400px;*/
    /*align-items: center; /* stretch | flex-start | flex-end | center по вертикали*/
    align-content: space-around; /* stretch | flex-start | flex-end | center | space-between | space-around */
}
.flex-element{
    order: 0; /* 0 | -n | n */
    /*flex-grow: 1; /* 0 |  */
    /*flex-basis: auto; /* ширина элемента по умолчанию */
    /*flex-shrink: 1; нужны определенные условия, используются не часто*/
    /* можно заменить общим flex: 1 1 200px - три параметра: первый параметр flex-grow, второй - flex-shrink, третий - flex-basis, если всего два параметра, то flex-grow и flex-basis, если 1 параметр, то flex-grow*/
    flex: 1 100px; /* 0 1 auto */
}
.flex-element.td-sidebar-contacts {
    flex: 2 100px;
    font-size: 12px;
}
.social-list {
    /*для поддержки флекс в браузерах*/
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    /**/
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}
.social-box {
    text-align: center;
    flex: 1 auto;
}
.td-footer-template-4 .footer-text-wrap {
    font-size: 13px;
    line-height: 25px;
}
.widget.widget_mailster_signup {
    margin: 0;
}
.wpb_video_widget {
    background: #000;
    transition: all 0.2s ease-out;
    opacity: .9;
}
.gift-box img {
    width: 200px;
}
.gift-box{text-align: center;}
.emphasis{
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #feb800;
    border-left: 10px solid #feb800;
    display:block;
}
.emphasis-row{
    border: 3px solid #feb800;
    padding-top: 35px;
    background: #f8f8f8;
    margin: 0;
    margin-bottom: 35px;
}
/*megamenu*/
.sf-menu .td-mega-grid .td_block_mega_menu {
    display: flex;
    flex-direction: column;
    align-content: stretch;
}
.sf-menu .td_mega_menu_sub_cats {
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding-top: 0;
    margin: 10px 0;
    order: -1;
    align-self: center;
}
.sf-menu .block-mega-child-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.sf-menu .block-mega-child-cats a {
    flex: 1;
    margin-top: 10px;
    border: 1px solid #eee;
    margin-left: 25px;
}
.sf-menu .block-mega-child-cats a:first-child {
    display: none;
}
.sf-menu .block-mega-child-cats a:last-child {
    order: -1;
}
.sf-menu .cur-sub-cat {
    border-color: #dcdcdc !important;
}
.sf-menu .td_mega_menu_sub_cats:after {
    width: 0;
}
.sf-menu .td-next-prev-wrap {
    position: absolute;
    clear: both;
    top: 25px;
    right: 25px;
}
.sf-menu .td-mega-row {
    width: 100%;
    display: flex;
    padding: 25px;
}
.sf-menu .td-mega-span {
    flex: 1 auto;
    margin-left: 25px;
    float: none;
}
.sf-menu .td-mega-span:first-child {
    margin-left: 0;
}
/*end megamenu*/
.service.def {
    background: #f8f8f8;
    padding: 10px 15px 30px;
    border: 3px solid #ffc41f;
}
.def .service-title a {
    border-bottom: 1px dashed #e1e1e1;
}
.kt-button:hover,.kt-blocks-info-box-learnmore:hover {
    text-decoration: none !important;
}
.left{text-align: left;}
@media (max-width: 767px)
{
.td-header-style-10 .td-logo-wrap-full {
    display: none;
}}