/*
 Theme Name:   Divi Child
 Theme URI:    http://elegantthemes.com/
 Description:  Divi Child Theme
 Author:       ElegantThemes
 Author URI:   http://elegantthemes.com
 Template:     Divi
 Version:      0.1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/

/* ==== Add your own styles below this line ====
 * -------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Kontora Bold', Helvetica, Arial, Lucida, sans-serif !important;
}
.table-color thead {
    background: #ec5a3b;
    color: #fff;
}
.et_pb_section.popup {
    max-width: 700px;
}
.et_pb_section.popup .et_pb_contact_main_title {
    text-align: center;
}
strong {
    font-family: 'Kontora Bold', Helvetica, Arial, Lucida, sans-serif !important;
}
 body {
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#et-top-navigation {
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
}
#top-menu-nav>ul>li>a:hover {
    opacity: 1;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    color: #ec483b!important;
}
.et_secondary_nav_enabled #page-container #top-header {
    background-color: #ec483b !important;
    background: linear-gradient(180deg, #ec5d3b 0%, #ec483b 100%);
}
#top-header .container {
    padding-top: 18px;
    font-weight: 400;
}
#et-info, #et-secondary-menu>ul>li a {
    padding-bottom: 18px;
    display: block;
}
#et-secondary-menu>ul>li>a:hover, #et-info-email:hover {
    opacity: 1;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
#et-secondary-menu {
    float: none;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}
#et-secondary-menu .et-social-icons {
    margin-right: 0px;
}
#top-header .et-social-icon a {
    font-size: 18px;
}
.under:hover {
	text-decoration:underline;
}
.panel-box {
    padding: 30px 30px 30px 30px !important;
    box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.05);
    background: #ffffff;
    border-radius: 4px;
}
.flex-icon {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
	gap: 10px;
}
.container.et_menu_container {
    z-index: 99;
    width: 90%;
}
.container {
    width: 90%;
}
#main-content {
    background-color: #ececec;
}
.et-social-viber a.icon:before {
    content: "\f409";
	font-family: FontAwesome;
}
table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.entry-content tr td {
    border-top: 1px solid #eee;
    padding: 10px 10px;
	line-height: 22px;
}

.fa-check-circle:before, .fa-dot-circle-o:before {
    color: #ec483b;
}
.no-before ul {
    list-style-type: none;
}

.teachers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.teacher-card {
    width: calc(20% - 20px);
    text-align: center;
    padding: 0px;
    border-radius: 8px;
}

.teacher-card img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.teacher-card h3 {
    font-size: 18px;
    margin: 10px 0;
}

.teacher-button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    float: right;
    margin: -65px 10px 0 0;
    text-align: center;
	font-size: 20px;
    line-height: 35px;
    z-index: 10;
	color:#fff;
    text-decoration: none;
    cursor: pointer;
    background-color: #ec483b;
    -webkit-transition: all cubic-bezier(0.27, 1.5, 0.32, 0.95) 0.5s;
    transition: all cubic-bezier(0.27, 1.5, 0.32, 0.95) 0.5s;
}

.teacher-card h3 a:hover {
    color: #ec483b;
}

.teacher-button:hover {
    color: #fff;
	 -webkit-box-shadow: inset 0 0 0 1px #e92a1a;
    box-shadow: inset 0 0 0 1px #e92a1a;
}

.teacher-button:hover:before {
    color: #ffffff;
}

.teacher-card:hover > .teacher-button:before {
    content: "-";
    /* color: #ec483b; */
    transform: translate(0%, -5%);
}
.teacher-card .teacher-button:before {
    cursor: pointer;
    font-family: "fontAwesome";
    color: #ffffff;
    font-size: 18px;
    display: block;
}
.teacher-card .teacher-button:hover:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.teacher-card .teacher-button:after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    opacity: 0;
    position: absolute;
    background-color: #ec483b;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    z-index: -1;
    left: 0;
    top: 0;
    -webkit-transition: -webkit-transform 0.4s, opacity 0.5s;
    transition: transform 0.4s, opacity 0.5s;
}


.number-course .num {
    background: #ff2a00;
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
}
.number-course .title {
    text-transform: uppercase;
    color: #ff2a00;
    font-weight: 900;
    font-size: 22px;
}
.number-course {
    display: flex;
    align-items: center;
}

/*Йога - туры/Семинары*/

.yoga-tours-list,
.seminary-list,
.news-list,
.articles-list{
    display: flex;
    flex-direction: column;
}

.yoga-tour-item,
.seminary-item,
.news-item,
.articles-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.yoga-tour-date,
.seminary-date {
    width: 15%;
    font-weight: bold;
    color: #000000;
    font-size: 24px;
}

.yoga-tour-thumbnail img,
.seminary-thumbnail img,
.news-thumbnail img,
.articles-thumbnail img {
    max-width: 100%;
    border-radius: 5px;
}

.yoga-tour-info,
.seminary-info {
    width: 50%;
    padding-left: 15px;
}
.news-info {
    width: 70%;
    padding-left: 15px;
}
.articles-info {
    width: 80%;
    padding-left: 15px;
}
.yoga-tour-info h3,
.seminary-info h3,
.news-info h3,
.articles-info h3 {
    margin: 0 0 10px;
    color: #000000;
    font-size: 20px;
    font-weight: 900;
}
.yoga-tour-info h3:hover a,
.seminary-info h3:hover a,
.news-info h3:hover a,
.articles-info h3:hover a {
    color: #ec483b;
}
.yoga-tour-thumbnail,
.seminary-thumbnail,
.news-thumbnail {
	width:30%;
}

.articles-thumbnail {
	width:16%;
}
.yoga-tour-info p,
.seminary-info p,
.news-info p,
.articles-info p {
    margin: 0;
    color: #000000;
    font-size: 14px;
    line-height: 20px;
}
.single .et_pb_section {
    width: 100%!important;
}
.news-thumbnail {
    object-fit: cover;
    max-height: 205px;
    overflow: hidden;
    border-radius: 5px;
}
.news-item {
    padding-bottom: 16px;
    margin-bottom: 16px;
}
#top-menu li li a {
    padding: 6px 20px;
    width: 100%;
    color: #fff!important;
    display: block;
}
#top-menu li li {
    padding: 0 20px;
    margin: 0;
    width: 100%;
}
.nav li ul {
    position: absolute;
    padding: 20px 0;
    z-index: 9999;
    width: 290px;
}
.et_mobile_menu li a:hover, .nav ul li a:hover {
    background-color: #282e3f;
    opacity: 1;
    border-radius: 4px;
}
.nav li li ul {
    left: 290px;
}
#top-menu li li.current-menu-ancestor>a, #top-menu li li.current-menu-item>a, #top-menu li li.current_page_item>a {
    color: #fff!important;
	background-color: #282e3f;
}
.et-fixed-header #top-menu li li a{
	color: #fff!important;
}
.et-fixed-header #top-menu li li.current-menu-ancestor>a, .et-fixed-header #top-menu li li.current-menu-item>a, .et-fixed-header #top-menu li li.current_page_item>a {
    color: #fff!important;
}
#main-footer .footer-widget h4, #main-footer .widget_block h1, #main-footer .widget_block h2, #main-footer .widget_block h3, #main-footer .widget_block h4, #main-footer .widget_block h5, #main-footer .widget_block h6 {
    color: #f97456;
    padding-bottom: 25px;
}
#footer-widgets .footer-widget li:before {
	display:none;
}
#footer-widgets .footer-widget li {
    padding-left: 0px;
    position: relative;
}
.adres {
    padding-bottom: 25px;
}
.phone a {
    color: #f97456!important;
}

.seminary-home .et_pb_blurb .et_pb_image_wrap {
    height: 200px;
}
.seminary-home .et_pb_blurb .et_pb_image_wrap img {
    height: 200px;
    max-width: 100%;
    object-fit: cover;
}

.lang ul {
    display: flex;
    gap: 15px;
}
.lang ul li.current-lang a {
    text-decoration: underline;
    text-underline-offset: 5px;
}
#et-top-navigation {
    display: flex;
}
#et-top-navigation .phone {
    line-height: 1em;
	padding-left: 50px;
	    z-index: 9;
}
#et-top-navigation .phone a {
    color: #ec483b !important;
    font-size: 20px;
}
#et-secondary-menu .phone.mob {
        display:none!important;
    }
.telegram-footer {
    position: fixed;
    bottom: 42px;
    right: 16px;
    width: auto;
    z-index: 999;
}
.btn-free-wrap {
    position: fixed;
    z-index: 9999;
    bottom: 20px;
    right: 100px;
    z-index: 10;
}
.btn-free-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95px;
    height: 95px;
    margin: 7px 0;
    border-radius: 100%;
    padding: 10px 10px;
    font-size: 14px;
    background-color: #EF4E38;
    border-radius: 100%;
    color: #fff;
    text-align: center;
    -ms-box-shadow: 0 0 36px 2px rgba(3, 1, 32, 0.4);
    -o-box-shadow: 0 0 36px 2px rgba(3, 1, 32, 0.4);
    box-shadow: 0 0 36px 2px rgba(3, 1, 32, 0.4);
    line-height: 1.7;
}
.btn-free {
    font-size: 13px;
    background-image: linear-gradient(top, #fff, #f0f0f0);
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-out;
    letter-spacing: 1.4px;
}







@media (min-width: 981px) {
    .et_primary_nav_dropdown_animation_fade #et-top-navigation ul li:hover>ul, .et_secondary_nav_dropdown_animation_fade #et-secondary-nav li:hover>ul {
        -webkit-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
        background-color: #ec483b;
        background: linear-gradient(180deg, #f45833 0%, #ec483b 100%);
        border-radius: 4px;
    }
}



@media (max-width: 1200px) {
    /* Добавляем горизонтальную прокрутку для таблицы */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
	#top-menu li {
    display: inline-block;
    font-size: 14px;
    padding-right: 10px;
}
#et-top-navigation .phone {
    line-height: 1em;
    padding-left: 20px;
    z-index: 9;
}
}

@media (max-width: 1200px) {
	#et-secondary-nav, #et-secondary-nav li {
    display: none;
}
.phone.mob a {
    color: #ffffff !important;
}
#top-header .container {
    padding-top: 12px;
	padding-bottom: 0px;
    font-weight: 400;
    }
	#et-info, #et-secondary-menu>ul>li a {
    padding-bottom: 12px;
    display: block;
}
       .container.et_menu_container {
        display: flex;
        align-items: center;
        height: 64px;
        padding-top: 10px;
        padding-bottom: 10px;
        justify-content: space-between;
    }
	span.logo_helper {

    height: 100%;
    vertical-align: middle;
    width: 0;
}
/*.et_header_style_left .logo_container {
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 200px;
}*/
    #et-top-navigation .phone {
        display:none!important;
    }
	#et-secondary-menu .phone.mob {
        display:block!important;
    }
    .et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_left #et-top-navigation {
        padding-top: 0px;
		padding-left: 0 !important;
        display: block;
    }
}




@media screen and (max-width: 980px) {
	#top-header .container {
    padding-top: 12px;
	padding-bottom: 12px;
    font-weight: 400;
    }
#top-header .et-social-icons li {
    margin-left: 0;
    margin-right: 10px;
    margin-top: 0px;
}
#et-top-navigation .phone a {
    color: #ec483b !important;
    font-size: 15px;
    line-height: 20px;
}
.yoga-tour-item,
.seminary-item,
.news-item,
.articles-item {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
    flex-direction: column;
}
.yoga-tour-date,
.seminary-date {
    width: 100%;
    font-weight: bold;
    color: #000000;
    font-size: 24px;
    padding-bottom: 20px;
}
.yoga-tour-thumbnail,
.seminary-thumbnail,
.news-thumbnail {
    width: 100%;
    margin-bottom: 20px;
}
.yoga-tour-info,
.seminary-info,
.news-info,
.articles-info {
    width: 100%;
    padding-left: 0px;
}
.articles-thumbnail {
    width: 100%;
    padding-bottom: 20px;
}
	.fg-header {
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    padding: 0;
    margin: 0;
    border-top: solid 1px #aaa;
    border-bottom: solid 1px #aaa;
    flex-direction: column;
    align-items: center;
}
.fg-header-title, .fg-header-active {
    text-align: center!important;
}
    .reverse-column {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 980px) {
	.teacher-card {
    width: calc(50% - 10px);
    text-align: center;
    padding: 0px;
    border-radius: 8px;
}
    .et_header_style_left #logo {
        max-width: 100%;
        max-height: 50px;
		height: 100%;
    }
}
@media (max-width: 980px) {
    .et_fixed_nav #top-header {
        position: fixed;
    }
	.et_fixed_nav #main-header {
        position: fixed;
    }
	    #et-secondary-menu {
        display: flex !important;
        align-items: center;
    }
	#top-header .et-social-icon a {
    font-size: 18px;
    padding-bottom: 0;
}
 
}