/*
Theme Name: Montessori Theme
Author: Lantrix Web Studio
Author URI: https://lantrix.com.ua/
Version: 1.2
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Reset
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Header
	5.1. Logo
6.0 Navigation
	6.1 Links
	6.2 Menus
7.0 Accessibility
8.0 Alignments
9.0 Clearings
10.0 Widgets
11.0 Content
	11.1 Main container
	11.2 Posts and pages
	11.3 Asides
	11.4 Comments
12.0 Footer
13.0 Infinite scroll
14.0 Media
	14.1 Captions
	14.2 Galleries
15.0 Revolution slider custom navigation
16.0 Contact page
17.0 404 Page
18.0 Pricing plans
19.0 Staff listing page
20.0 Courses listing page
21.0 Misc
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Reset
--------------------------------------------------------------*/
div#lang_sel {

    position: absolute;
    right: 1%;
    top: 25%;
}



html, body, div, span, applet, object, iframe,
p, blockquote, pre,
/* h1, h2, h3, h4, h5, h6, p, blockquote, pre, */
abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

html {
    font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
    overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
    -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
    box-sizing: border-box; /* Apply a natural box layout model to the document; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff; /* Fallback for when there is no custom background color defined. */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
    display: block;
}
.yaz {
    position: absolute;
    right: 1%;
    top: 33px;
}
ol,
ul {
    list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
    border-collapse: separate;
    border-spacing: 0;
    border-bottom: 1px solid #e8e8e8;
}

.vc_sep_line {
    border-top: 1px solid #e8e8e8 !important;
}

caption,
td {
    text-align: left;
    border-top: 1px solid #e8e8e8;
    padding: 6px 10px 6px 0;
}

th {
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px 10px 6px 0;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

a:focus {
    outline: 0;
}

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

a img {
    border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #777;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5 {
    clear: both;
}

p {
    margin-bottom: 1.5rem;
}

b,
strong {
    font-weight: bold;
}

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

blockquote {
    margin: 0 1.5rem;
    font-size: 2.4rem;
    text-style: italic;
    font-weight: 300;
}

address {
    margin: 0 0 1.5rem;
}

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

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

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

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

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

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

small {
    font-size: 80%;
}

big {
    font-size: 115%;
}

.clear {
    clear: both;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5rem;
}

ol {
    margin: 0 0 1.5rem 3rem;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ol {
    margin-bottom: 0;
    margin-left: 1.5rem;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5rem 1.5rem;
}

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

figure {
    margin: 0;
    width: 100%;
}

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

th {
    font-weight: bold;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
    font-size: 100%; /* Corrects font size not being inherited in all browsers */
    margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
    -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1;
    padding: 10px 20px;

}

input[type="checkbox"],
input[type="radio"] {
    padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
    -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
    -webkit-appearance: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    color: #777;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"] {
    padding: 8px;
}

input[type="search"] {
    padding: 8px;
}

textarea {
    overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
    vertical-align: top; /* Improves readability and alignment in all browsers */
    width: 100%;
    padding: 8px;
}

.ztl-input {
    padding: 8px !important;
    border-radius: 5px !important;
    border-color: #e8e8e8 !important;
    width: 100%;
}

::-webkit-input-placeholder {
    color: #777;
}

:-moz-placeholder {
    color: #777;
}

::-moz-placeholder {
    color: #777;
}

:-ms-input-placeholder {
    color: #777;
}

.wrapper {
    max-width: 1050px;
    margin: 0 auto;
}

.wrapper .fixed-header {
    max-width: 1050px;

}


body, aside a{
        font-family: sans-serif !important;
        font-weight: 400;
        }
h1, h2, h3 {
		font-family: sans-serif !important;
		}

#current_lang_ru #lang_en, #current_lang_ru #lang_uk{
    display: none !important;
}

#current_lang_uk #lang_en, #current_lang_uk #lang_ru{
    display: none !important;
}

#current_lang_en #lang_ru, #current_lang_en #lang_uk{
    display: none !important;
}

#pl-w6155732b8cdc0 .so-panel {
    margin-bottom: 0px !important;
}

.panel-grid_v{
    width: 100%;
    display: inline-block;
    text-align: center;
}

.panel-grid_v .panel-grid-cell_v{
    width: calc(25% - 5px);
    display: inline-block;
    padding: 0px 5px;
}


@media only screen and (max-width: 1025px) {
    .panel-grid_v .panel-grid-cell_v{
        width: calc(50% - 5px);
    }
}


@media only screen and (max-width: 600px) {
    .panel-grid_v .panel-grid-cell_v{
        width: 100%;
    }
}