/*!
Theme Name: publishing
Theme URI: #
Author: Roman
Author URI: #
Description: Description
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: publishing
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

publishing is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,500,700&subset=cyrillic');

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

body {
    margin: 0;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
    clear: both;
}
h2 {
	margin: 0;
}
hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

button,
input {
    /* 1 */
    overflow: visible;
}

button,
select {
    /* 1 */
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

p {
    margin: 0 0 8px 0;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

address {
    margin: 0 0 1.3em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    background: rgba(255, 0, 0, 0.05);
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.3em;
}

ul,
ol {
    margin: 0 0 10px 10px;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 10px;
}

dt {
    font-weight: bold;
}

img {
    /*height: auto;*/
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

.custom-logo {
    height: auto;
}

figure {
    margin: 1em 0;
    /* Extra wide images within figure tags don't overflow the content area. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
}

input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
    color: #6f757b;
    text-decoration: none;
}

a:visited {}

a:hover,
a:focus,
a:active {
    color: #222;
}

a:hover,
a:active {
    outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */

#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget select {
    max-width: 100%;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky {
    display: block;
}

.hentry {
    margin: 0 0 20px;
}

.updated:not(.published) {
    display: none;
}

.page-content {
    display: flex;
    flex-direction: column;
    margin: 30px;
}


.page-links {
    clear: both;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/

/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */

.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}
.entry-content {
    margin-bottom: 20px;
}

/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
    max-width: 100%;
}

/* Make sure logo link wraps around logo image. */

.custom-logo-link {
    display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1em;
    margin-right: 1em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*--------------------
          ty
-------------------*/

#main {
    margin-bottom: 15px;
}

.site-header {
    background: #fff;
    margin-bottom: 20px;
    position: relative;
    border-bottom: 3px solid #e70d0d;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, .4);
}

#primary {
    order: 2;
    min-height: 675px;
}

.content-area {
    width: 100%;
}

.row {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

.wrap-teacher {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.wrap {
    background: #fff;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .2);
    overflow: hidden;
}

.wrap-site-header {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 10px;
    justify-content: space-between;
    align-items: flex-end;
}

.entry-footer {
    margin: 20px 0;
}

.menu {
    padding: 0;
    margin: 0;
}

.nav-menu {
    padding: 0;
    display: flex;
}

.nav-menu li {
    list-style: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    padding: 10px 15px 20px 15px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.nav-menu > li > a:hover {
    color: #1975a6;
}

.nav-menu > .current-menu-item {
    background: #1975A6;
}

.nav-menu > .current-menu-item a {
    color: #fff;
}

.nav-menu > .current-menu-item a:hover {
    color: #fff;
}

.nav-menu > .current-menu-ancestor {
    background: #1975A6;
}

.nav-menu > .current-menu-ancestor > a {
    color: #fff;
}

.nav-menu > .current-menu-ancestor > a:hover {
    color: #fff;
}

.nav-menu > li > ul {
    display: none;
    position: absolute;
    right: 0;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 0;
    padding: 0;
    background: #fff;
    z-index: 10;
}

.nav-menu > li > ul > li {
    padding: 0px 10px;
    display: inline-block;
    vertical-align: top;
}

.nav-menu > li > ul > li > a {
    display: block;
    padding: 0 15px 10px 10px;
    margin: 15px 0;
    font-size: 22px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
}

.nav-menu > li > ul > li > a:hover {
    color: #1975a6;
}

.nav-menu > li > ul > li > ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0 0 15px 0;
}

.nav-menu > li > ul > li > ul > li a {
    display: block;
    text-decoration: none;
    padding: 5px 0 5px 15px;
    white-space: nowrap;
}

.nav-menu > li > ul > li > ul > li a:hover {
    background: #8080801a;
}

.nav-menu .menu-item-has-children:hover .sub-menu {
    /*display: flex;*/
}

.site-branding {
    margin-top: 10px;
    max-width: 230px;
}

.wrap-site-content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-left: 10px;
    margin-right: 10px;
}

#secondary {
    order: 1;
    margin-right: 20px;
    width: 294px;
    flex-shrink: 0;
}

.pub-post {
    margin: 30px;
}

.type-page a,
.widget a,
.pub-post a {
    color: #1975a6;
    border-bottom: 1px dotted #1975a6;
}

.post-edit-link {
    margin-left: 30px;
}

.site-content {}

.widget {
    background: #fff;
    margin-bottom: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
}

.widget .widget-title {
    padding: 25px 10px 10px 15px;
    font-size: 22px;
    background: #1975a6;
    color: #fff;
	margin: 0;
}

.widget .menu {
    list-style: none;
}

h1 {
    font-weight: 500;
    margin: 0;
}

.widget .menu > li > a {
    text-decoration: none;
    display: block;
    padding: 20px 0 20px 20px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: #222;
    border-bottom: 1px solid #f2f2f2;
}

.widget .menu .sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget .menu > li a:hover {
    color: #444;
}

.widget .menu .sub-menu .menu-item a {
    display: block;
    padding: 20px 0 20px 30px;
    text-decoration: none;
    margin: 0;
    border-bottom: 1px solid #f2f2f2;
}

.widget .menu .sub-menu .menu-item a:hover {
    background: rgba(0, 0, 0, .2);
}

.widget .textwidget {
    padding: 20px 10px 10px 10px;
}

.page-header {
    flex-shrink: 1;
    flex-basis: 100%;
    padding: 20px 0;
    margin-left: 30px;
}

.teacher-cat .category-teacher {
    width: 31%;
}

.teacher-cat {
    margin: 0 15px;
}

.teacher-cat article {
    margin: 1%;
}

.type-page {
    margin: 30px;
}

.entry-header a {
    display: block;
    color: #1975a6;
}

.wrap-page {
    display: flex;
}

.entry-fields {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    margin-bottom: 15px;
}

.entry-fields > * {
    width: 45%;
    display: flex;
    align-items: center;
    height: 50px;
    font-size: 13px;
    margin-right: 5%;
}
.entry-fields .fa-3x::before {
    font-size:  35px;
    margin-right: 5px;
}

.book-videoreview::before {
    content: "\f167";
    font-family: "Font Awesome 5 Free";
    font-size: 35px;
    margin: 0 5px;
    color: #1975a6;
}

.book_custom_files_mp3::before,
.book_audio::before {
    content: "\f1c7";
    font-family: "Font Awesome 5 Free";
    font-size: 35px;
    margin: 0 5px;
    color: #1975a6;
}

.book_custom_files_pdf::before,
.book-planning::before {
    content: "\f1c1";
    font-family: "Font Awesome 5 Free";
    font-size: 35px;
    margin: 0 5px;
    color: #1975a6;
}

.book-samples::before,
.book_custom_files_file::before,
.book-content::before {
    content: "\f15b";
    font-family: "Font Awesome 5 Free";
    font-size: 35px;
    margin: 0 5px;
    color: #1975a6;
}

.book_custom_files_arh::before {
    content: "\f1c6";
    font-family: "Font Awesome 5 Free";
    font-size: 35px;
    margin: 0 5px;
    color: #1975a6;
}

.book_custom_files_doc::before {
    content: "\f1c2";
    font-family: "Font Awesome 5 Free";
    font-size: 35px;
    margin: 0 5px;
    color: #1975a6;
}

.book_custom_files_pp::before {
    content: "\f1c3";
    font-family: "Font Awesome 5 Free";
    font-size: 35px;
    margin: 0 5px;
    color: #1975a6;
}

.book_custom_files_jpg::before {
    content: "\f1c5";
    font-family: "Font Awesome 5 Free";
    font-size: 35px;
    margin: 0 5px;
    color: #1975a6;
}

/* формируем внешний вид кнопки переключателя на панели справа */

.menu-toggle::after,
.widget .menu-item-has-children > a::after,
.nav-menu > .menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    margin: 0 0 0 10px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 16px;
}

.widget .menu-item-has-children:hover > a::after {}

/*----

----*/

.curent-menu-item {
    background: #1975a6;
}

.nav-menu > .curent-menu-item > a,
.curent-menu-item > a {
    color: #fff;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.2);
}

.post-teacher {
    width: 360px;
    margin-left: 30px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.post-content {
    color: #56585a;
    margin-top: 12px;
    font: 400 14px/28px "Roboto", sans-serif;
}

.post-header {
    margin-top: 20px;
}

.entry-title a {
    font-size: 24px;
    line-height: 32px;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-meta {
    float: right;
}

/*--- 
*more
---*/

/* Линейные кнопки (заливка при наведении) */

.more {
    width: 100%;
}

.more a {
    font-size: 16px;
}

.hover {
    position: relative;
    display: inline-block;
    margin: 0em .5em;
    padding: 0.25em 1.25em;
    color: #555;
    text-decoration: none;
    overflow: hidden;
    border: none !important;
    float: right;
}

.hover:hover {
    border: none !important;
    background: none;
    color: #555;
}

.hover:before {
    position: absolute;
    content: attr(data-text);
    display: inline-block;
    padding: 0.25em 1.25em;
    color: #fff;
    text-decoration: none;
    top: 1.6875em;
    left: 0em;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -mos-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    border: none !important;
}

.hover:hover:before {
    top: 0em;
    color: #fff;
}

/* морская волна */

.blue:hover {
    border: 0.0625em solid #1975a6;
    background: #1975a6;
    color: #1975a6;
}

.blue:hover:before {
    border: 0.0625em solid #1975a6;
}

.blue:hover:after {
    border: 0.0625em solid #1975a6;
    color: #1975a6;
    background: #1975a6;
}

.blue:before {
    background: #1975a6;
    border: 0.0625em solid #1975a6;
}

.blue:after {
    background: #1975a6;
    border: 0.0625em solid #1975a6;
}

/*---
* footer
-----*/

#colophon {
    background: #1975a6;
    box-shadow: 0 0 15px rgba(0, 0, 0, .2);
    display: flex;
    overflow: hidden; 
}

footer a {
    color: #fff;
}

.row-footer {
    display: flex;
    padding: 15px;
    color: #fff;
    min-height: 85px;
    align-items: center;
}

.adress-footer {
    display: flex;
    justify-content: center;
}

.tel-footer {
    padding: 10px;
}

.email-footer {
    padding: 10px;
}

.flex-3 {
    width: 33%;
    padding: 15px;
}

/*---
*slider
----*/

.wrap-slider {
    max-width: 880px;
    max-height: 263px;
    margin-bottom: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
}

.slick-prev:before,
.slick-next:before {
    font-size: 30px;
}

.slick-prev {
    left: 25px;
    z-index: 5;
}

.slick-next {
    right: 25px;
    z-index: 5;
}

.post-desc {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-text {
    margin-top: 15px;
}

.post-greed {
    display: flex;
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, .2);
    overflow: hidden;
}

.post-greed img {}

.wrap-book {
    display: flex;
    flex-flow: row wrap;
    margin-left: 10px;
    margin-right: 10px;
}

.publishing_book {
    flex: 1 46%;
    margin: 2%;
    border-bottom: 1px solid #f2f2f2;
}

.publishing_book img {
    max-width: 200px;
	height: auto;
}

.row-book {
   /* display: flex;*/
}

.book-info {
   /* display: flex;
    flex-direction: column;*/
}
.book-img {
    float: left;
}

.widget .current-menu-parent .sub-menu {
    display: block;
}

.widget .sub-menu .current-menu-item {
    background: #1975a6cc;
}

.widget .sub-menu .current-menu-item a {
    color: #fff;
}

.widget .sub-menu .current-menu-item a:hover {
    color: #fff;
}

.main-navigation {
    display: flex;
    margin-left: 15px;
}

/* Small menu. */

.menu-toggle {
    display: none;
}

.wrap-page-bottom {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
}

.white-des {
    position: absolute;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
    right: 0;
    left: 0;
    height: 437px;
    background: #fff;
    top: 0;
    z-index: -1;
}

.menu-menu-sitebar-container {
    margin-bottom: 40px;
}

.page-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 0;
}

.colum-3 {
    width: 30%;
    margin: 15px;
}

.colum-3:first-child {
    border-left: 0;
}

.about-header {
    font-size: 24px;
    line-height: 32px;
    color: #1975a6;
    margin-bottom: 15px;
}

.about-img {
    margin-bottom: 15px;
}

.marked-list {
    list-style: none;
    padding-left: 0;
}

.marked-list li {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.marked-list li:last-child {
    border-bottom: 0;
}

.marked-list li a {
    font-size: 18px;
    line-height: 20px;
    color: #1975a6;
    display: block;
}

.marked-list li::before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-size: 18px;
    line-height: 20px;
    margin: 0 10px;
    color: #1975a6;
    float: left;
}

.marked-list li:hover::before,
.marked-list li a:hover {
    color: #444;
}

.help-mail-btn {
    display: flex;
    margin-bottom: 15px;
    margin-left: 20px;
}

.eModal-1 {
    cursor: pointer;
    padding: 15px 25px;
    border: 1px solid #5a7ca3;
    border-radius: 8px;
    color: #1975a6;
    font-weight: 500;
    transition: all .3s;
}

.eModal-1:hover {
    background: #1975a6;
    color: #fff;
}

.phone,
.email {
    margin-bottom: 10px;
    margin-left: 15px;
}

.phone a,
.email a {
    font-size: 18px;
    line-height: 20px;
    color: #555;
}

.social-link {
    display: flex;
    padding: 0 15px;
}

.phone a::before {
    content: "\f095";
    font-family: "Font Awesome 5 Free";
    font-size: 18px;
    line-height: 20px;
    margin: 0 5px;
    color: #555;
}

.email a::before {
    content: "\f003";
    font-family: "Font Awesome 5 Free";
    font-size: 18px;
    line-height: 20px;
    margin: 0 5px;
    color: #555;
}

/*.h-facebook a::before {
    content: "\f082";
    font-family: "Font Awesome 5 Free";
    font-size: 36px;
    line-height: 20px;
    margin: 0 5px;
    color: #fff;
}

.h-twitter a::before {
    content: "\f081";
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    margin: 0 0 0 10px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 16px;
    color: #fff;
}

.h-youtube a::before {
    content: "\f167";
    font-family: "Font Awesome 5 Free";
    font-size: 36px;
    line-height: 20px;
    margin: 0 5px;
    color: #fff;
}

.h-facebook a,
.h-twitter a,
.h-youtube a {
    display: flex;
    justify-content: center;
    align-items: center;
}
*/

.h-facebook,
.h-twitter,
.h-youtube {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.phone a:hover,
.email a:hover,
.phone a:hover::before,
.email a:hover::before {
    color: #1975a6;
}

.h-facebook a:hover,
.h-twitter a:hover {
    color: #1da1f2;
}

.h-youtube a:hover {
    color: #f00;
}

.wrap-footer {
    display: flex;
    justify-content: space-between;
}

.lang {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 10px;
}

.lang a {
    color: #fff;
    font-size: 16px;
    padding: 5px 10px;
}

.lang a:hover {
    text-decoration: underline;
}

.lang li:first-child {
    border-right: 1px solid #ffffff2e;
}

.mejs-container {
    max-width: 540px !important;
}

.mp3-preview {
    display: flex;
    margin: 15px 0;
    align-items: center;
    border-bottom: 0 !important;
}

.mp3-preview::before {
    content: "\f104";
    font-family: "Font Awesome 5 Free";
    font-size: 30px;
    margin: 0 5px;
    color: #1975a6;
}
.component-item {
    width: 160px;
}
.mp3-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.mp3-list-item {
    flex-direction: column;
    align-items: start;
    margin-bottom: 20px;
    max-width: 500px;
}

.mp3-list-item audio {
    width: 100%;
}

/* Вкладки (табы)
-----------------------------------------------------*/
/* бфзовый контейнер вкладок(табов) */
 
.tabs-box {
    display: inline-block;
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
}
 
 
/* панель вкладок */
 
ul.tabs {
    margin: 0;
    padding: 0;
    float: left;
    list-style: none;
    height: 42px;
    border-bottom: 1px solid #125071;
    width: 100%;
}
 
ul.tabs li {
    float: left;
    margin: 0;
    cursor: pointer;
    padding: 0 21px;
    height: 42px;
    line-height: 42px;
    border-top: 1px solid #125071;
    border-left: 1px solid #13577b;
    border-right: 1px solid #139ae2;
    background-color: #1586c1;
    color: #ddd;
    overflow: hidden;
    position: relative;
    font-size: 16px;
}

/* указываем стиль правой рамки у последней вкладки */
 
.tab_last {
    border-right: 1px solid #00655c;
}

/* стили вкладок при наведении */
 
ul.tabs li:hover {
    background-color: #50c3ff;
    color: #fefefe;
}
 
/* стили активных вкладок */
ul.tabs li.active {
    background-color: #fff;
    color: #333;
    border-top: 1px solid #1975a6;
    display: block;
}

/* контейнер вкладок первого уровня */
.tab_container {
    border-top: none;
    clear: both;
    float: left;
    width: 100%;
    background: #fff;
    overflow: auto;
}

/* блоки с содержанием по-умолчанию скрыты */
.tab_content {
    padding: 20px;
    display: none;
}

/* параграф внутри блоков с содержанием */
.tab_content p {
    margin-bottom: 10px
}
.tab_content h2 {
	margin-bottom: 20px;
}

/* Изображения внутри вкладок */

.tab_content img {
    width: 100%;
    height: auto;
    -moz-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* полноразмерная картинка */
.tab_content img .large-img {
    width: 100%;
    margin-bottom: 10px;
}
 
/* миниатюра слева */
.tab_content img.img-left {
    width: 25%;
    float: left;
    margin: 5px 15px 15px 0;
}

/* миниатюра справа */
.tab_content img.img-right {
    width: 25%;
    float: right;
    margin: 5px 0 15px 15px;
}

/* Встраиваемое видео */
.video-responsive {
    margin: 20px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    -moz-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
 
/* аккордеон скрыт в режиме вкладок */
.tab_accordion {
    display: none;
}
 
.cours-element {
    display: flex;
    flex-wrap: wrap;
}


@media screen and (max-width: 1200px) {
    .row {
        width: 960px;
    }
    .wrap-slider {
        width: 679px;
    }
    #secondary {
        width: 260px;
    }
    .nav-menu > li > a {
        font-size: 16px;
        padding: 20px 25px;
    }
    .custom-logo-link img {
        width: 231px;
    }
}

@media screen and (max-width: 1040px) {
    .row {
        width: 740px;
    }
    .wrap-slider {
        width: 679px;
    }
    #secondary {
        display: none;
    }
    .colum-3 {
        width: 47%;
        margin: 10px;
    }
    .teacher-cat .category-teacher {
        width: 48%;
    }
    .type-page {
        margin: 10px;
    }
}

@media screen and (max-width: 768px) {
    .row {
        width: 100%;
    }
    .menu-toggle {
        display: flex;
        background: #1975a6;
        font-size: 22px;
        color: #fff;
        border: 0;
        padding: 25px 20px;
        outline: none;
        border-radius: 5px 5px 0 0;
    }
    .wrap-slider {
        display: none;
    }
    .menu-toggle:hover {
        display: flex;
    }
    .main-navigation.toggled .menu {
        display: flex;
        position: absolute;
        top: 100%;
        z-index: 20;
        background: #fff;
        flex-direction: column;
        right: 0;
        left: 0;
    }
    .main-navigation ul {
        display: none;
    }
    .nav-menu > li > a {
        font-size: 16px;
        border-bottom: 1px solid #ddd;
        color: #444;
    }
    .nav-menu > li {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}
@media screen and (max-width: 500px) {
    .post-greed {
        flex-direction: column;
    }
}
@media screen and (max-width: 380px) {
    .teacher-cat .category-teacher {
        width: 100%;
    }
    .entry-fields > * {
        width: 100%;
    }
    .pub-post {
        margin: 0
    }
    .colum-3 {
        width: 100%;
    }
    .row {
        width: 100%;
    }
    .site-main {
        padding: 0 10px;
    }
    .post-greed {
        flex-direction: column;
    }
    .post-greed img {
        width: 100%;
    }
	
}