/*
Theme Name: artmax
*/

/* =WordPress Core
-------------------------------------------------------------- */
.clear {
    clear: both;
}

.alignnone {
    margin: 0px 2px 13px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

a img.alignright {
    float: right;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.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;
    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. */
}

div.wpcf7 .ajax-loader {
    display: none;
}

/*******************/

@font-face {
    font-family: "__Elektra Text Pro_5";
    font-style: normal;
    font-weight: 400;
    src: local("☺"), url("fonts/elektratext.woff") format("woff"), url("fonts/elektratext.svg") format("svg");
}

@font-face {
    font-family: "__Elektra Light Pro_5";
    font-style: normal;
    font-weight: 400;
    src: local("☺"), url("fonts/elektra-light-pro-regular.woff") format("woff"), url("fonts/elektra-light-pro-regular.svg") format("svg");
}

@font-face {
    font-family: "__Elektra Text Pro_5";
    font-style: normal;
    font-weight: 700;
    src: local("☺"), url("fonts/8429.woff") format("woff"), url("fonts/8429.svg") format("svg");
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding: 0;
}

body, input, button, a {
    font-family: "__Elektra Text Pro_5";
}

a, a:hover {
    color: #fff;
}

.hid {
    display: none;
}

.dm {
    font-size: 16px;
    text-decoration: underline;
    color: #1DC7D4;
}

.dm:hover {
    text-decoration: none;
    cursor: pointer;
}

.page-id-18 {
    background-color: #054560;
    color: #fff;
    font-size: 16px;
}

.page-id-18 h1 {
    text-align: center;
    margin: 50px 0 15px;
}

#post-18 > p {
    font-size: 16px;
    width: 65%;
    margin: 0 auto 50px;
}

#post-18 input[type=text], #post-18 input[type=email] {
    color: #000;
    width: 92.5%;
    border: 1px solid #fff;
    padding: 3px 6px;
}

#post-18 .wpcf7-form-control {
    margin-bottom: 15px;
    display: inline-block;
}

#post-18 .text-412, #post-18 .text-412 input {
    width: 97.5%;
}

#post-18 .radio-99 .wpcf7-radio > span {
    margin: 0 50px 0 0
}

#post-18 .radio-99 .wpcf7-radio > span.last {
    margin: 0
}

#post-18 .radio-111 .wpcf7-radio > span {
    margin: 0 130px 0 0
}

#post-18 .radio-111 .wpcf7-radio > span.last {
    margin: 0
}

#post-18 .textarea-945, #post-18 .textarea-945 textarea {
    width: 97.5%;
    height: 160px;
    color: #000
}

#post-18 input[type=submit],
.crs1 input[type=submit], .crs2 input[type=submit], .crs3 input[type=submit], .crs4 input[type=submit] {
    background: #ECD666;
    color: #054560;
    text-transform: uppercase;
    padding: 12px 18px;
    border-radius: 0;
    border: none;
    margin: 0 0 15px
}

#post-18 input[type=submit]:hover,
.crs1 input[type=submit]:hover,
.crs2 input[type=submit]:hover,
.crs4 input[type=submit]:hover,
.crs3 input[type=submit]:hover {
    background: #ffd145;
}

#post-18 input.wpcf7-not-valid {
    background: #fff !important;
    border: 1px solid red;
}

.page-id-18 #OUR_CONCACTS {
    box-shadow: 0 0 5px #0d0d0d;
}

.row {
    width: 1132px;
    margin: 0 auto;
}

.row960 {
    width: 960px;
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
}

.header_bg {
    background: #01425D;
    height: 87px;
}

.header_line {
    background: #fff;
    position: absolute;
    width: 100%;
    height: 50px;
    display: block;
    top: 50px;
}

.logotype {
    width: 142px;
    height: 111px;
    display: block;
    float: left;
}

.adph .alignleft:nth-child(1) {
    margin: 0 15px 0 0;
    font-size: 12px;
    line-height: 1.2;
}

.top_bar {
    color: #fff;
    text-decoration: none;
    margin: 11px 15px;
}

.top_bar a {
    margin: 0 4px;
    text-decoration: none;
}

.bold-center {
    text-align: center;
    color: #32925c;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
}

.navigation {
    padding-top: 22px;
    margin: 0;
}

#topnav {
    padding: 0
}

.navigation ul { /*float: right;*/
}

.navigation a {
    color: #333333;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    visibility: inherit;
    text-transform: uppercase;
    margin: 0 6px;
}

.navbar-nav > li > a {
    padding: 0;
}

.navbar-nav > li > a:hover {
    color: #1DC7D9;
    background: none;
}

.navbar-nav > li > .dropdown-menu {
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.dropdown-menu > li > a {
    margin: 0;
    padding: 10px 21px;
    font-size: 14px;
}

.dropdown-menu > li > a:hover {
    background: #1DC7D4;
    color: #fff;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    background-color: #01425D;
    color: #fff;
    outline: 0 none;
    text-decoration: none;
}

.navigation ul ul ul {
    right: -247px;
    top: 200px;
    position: absolute;
    left: auto;
    box-shadow: none;
    border-radius: 0;
    border: none;
}

.navigation ul ul li.menu-item-has-children:hover > ul {
    display: block;
}

.navigation ul ul li.menu-item-has-children > a {
    position: relative;
}

.navigation ul ul li.menu-item-has-children > a::after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 0 4px 8px;
    border-color: transparent transparent transparent #000000;
    content: '';
    display: block;
    position: absolute;
    z-index: 99;
    left: 90%;
    top: 15px;
}

.call span {
    color: #ffd145;
    text-decoration: underline;
}

.call span:hover {
    cursor: pointer;
    text-decoration: none;
}

.slide {
    width: 100%;
    max-height: 600px;
}

.wp1s-caption-type-4 {
    border: 4px solid #fff;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.17);
    color: #01425d;
    border-radius: 10px;
    font-family: "__Elektra Text Pro_5";
    width: 500px;
    padding: 25px;
}

.wp1s-caption-title {
    font-family: "__Elektra Text Pro_5" !important;
    font-size: 33px !important;
    font-weight: 700 !important;
    line-height: 46px !important;
    text-align: center !important;
    margin: 5px 0 25px !important;
}

.wp1s-caption-content {
    text-align: justify !important;
    font-family: "__Elektra Text Pro_5" !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 25px !important;
    text-align: justify !important;
    text-transform: unset !important;
}

.wp1s-slider-wrapper {
    padding: 0 !important;
}

.wp1s-caption-wrapper.wp1s-caption-topright, .wp1s-caption-wrapper.wp1s-caption-middleright, .wp1s-caption-wrapper.wp1s-caption-bottomright {
    margin-right: 155px !important;
}

#about {
    background-color: #01425d;
    min-height: 1331px;
    padding: 56px 0 0;
}

.button-online-kurs {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 21px;
    padding: 10px 28px;
    background: #01425D;
    border: none;
}

.button-online-kurs:hover {
    background: #01427D;
}

#yellow_field {
    text-align: center;
}

#yellow_field .pc {
    display: block
}

#yellow_field .tab,
#yellow_field .mob {
    display: none;
}

#yellow_field img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}


#red_field {
    background: url(http://artmax-school.com.ua/wp-content/uploads/ArtMax_wesite2.jpg) no-repeat;
    width: 100%;
    height: 434px;
    border-radius: 19px;
    /*box-shadow: 8px 10px 9px rgba(0, 0, 0, 0.2);*/
    color: #fff;
    padding: 30px;
    box-sizing: border-box;
    position: relative
}

#banner-letniy-lager {
    background: url(http://artmax-school.com.ua/wp-content/uploads/banner-letniy-lager.jpg) no-repeat;
    width: 100%;
    height: 861px;
    border-radius: 19px;
    box-shadow: 8px 10px 9px rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 30px;
    box-sizing: border-box;
}

#green_field {
    width: 100%;
    border-radius: 19px;
    box-shadow: 8px 10px 9px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    margin-top: 25px;
}

#green_field img {
    width: 100%;
}

#red_field .red_field_title {
    font-size: 49px;
    font-weight: 700;
    display: block;
    text-align: center;
}

#red_field .red_field_text {
    font-size: 23px;
    font-weight: 400;
    display: block;
    text-align: center;
    line-height: 1.2em;
}

#red_field .col-md-3 {
    text-align: center;
    margin-top: 10px;
}

#red_field .col-md-3 p {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    margin-top: 25px;
}

#red_field .col-md-3 p span {
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
    text-transform: lowercase;
}

#red_field .big_text {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 10px;
    text-transform: uppercase;
}

a.reg {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 19px;
    text-align: center;
    background-color: #0d00be;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    display: table;
    margin: 531px auto 0;
    margin-left: 456px;
}

a.registration {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 19px;
    text-align: center;
    background-color: #9144b8;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.6);
    padding: 15px 60px;
    /*display: table;
    margin: 290px 0 0 735px;*/
    border-radius: 10px;

    top: auto;
    bottom: 60px;
    position: absolute;
    right: 12%;
}

a.reg:hover, a.registration:hover {
    text-decoration: none;
    background: #01427D;
    box-shadow: none;
}

a.reg1 {
    color: #ffdc4d;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 3px;
    line-height: 23px;
    text-align: center;
    background-color: #3d5d6e;
    /* box-shadow: 0 5px 9px rgba(0, 0, 0, 0.6); */
    padding: 23px 30px;
    display: table;
    margin: 762px auto 0;
    margin-left: 444px;
    border-radius: 15px;
}

a.reg1:hover {
    text-decoration: none;
    background: #34b5a4;
    box-shadow: none;
}

a.reg-2 {
    color: #023d7f;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 19px;
    text-align: center;
    background-color: #f1d45e;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    display: table;
    margin: -70px auto 70px;
    cursor: pointer;
}

a.reg-2:hover {
    text-decoration: none;
    background: #fe8840;
    color: #ffffff;

}

.about_school {
    color: #fff;
    padding: 50px 0 0;
    max-width: 960px;
    margin: 0 auto;
    float: none;
}

.about_school div {
    color: #e6d16c;
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
    text-transform: uppercase;
    margin: 35px 0;
}

.about_school p {
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    text-align: justify;
    margin-bottom: 20px;
}

.about_school a {
    text-decoration: underline;
}

.about_school a:hover {
    text-decoration: none;
}

.about_school p.big_text {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 30px;
}

#custom-text {
    color: #000;
}

#custom-text .title {
    text-align: center;
    font-size: 21px;
    font-weight: 700;
    font-family: "__Elektra Text Pro_5";
    line-height: 25px;
}

#custom-text .yellow {
    font-size: 18px;
    margin: 15px 0
}

#courses {
    background: rgba(0, 0, 0, 0.1) url(images/section_A.png) no-repeat center bottom / cover;
    background-attachment: fixed;
    min-height: 1000px;
}

#courses .container {
    padding-bottom: 20px;
    padding-top: 59px;
}

#courses .title {
    color: #00405a;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
}

.courses_boxes {
    display: table;
    margin-bottom: 100px;
    width: 100%;
}

.c_box {
    color: #00405a;
    margin: 45px 0 0;
    padding: 0 15px;
}

.c_box a {
    background-color: #1dc7d4;
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.1);
    display: block;
    padding: 100px 0 30px;
    background-repeat: no-repeat;
    background-position: center 15px;
    margin-bottom: 7px;
    border: 7px solid transparent;
}

.c_box a:hover {
    border: 7px solid #1dc7d4;
    background-color: transparent;
    text-decoration: none;
}

#u800 {
    background-image: url(images/u800.png);
}

#u810 {
    background-image: url(images/u810.png);
}

#u820 {
    background-image: url(images/u820.png);
}

#u830 {
    background-image: url(images/u830.png);
}

#u840 {
    background-image: url(images/u840.png);
}

#u850 {
    background-image: url(images/media.png);
}

#u860 {
    background-image: url(images/zno.png);
}

#u870 {
    background-image: url(images/ph.png);
}

#u890 {
    background-image: url(images/story.png);
}

#u891 {
    background-image: url(images/video.png);
}

#u892 {
    background-image: url(images/rubez.png);
}

.c_box div {
    text-transform: uppercase;
    color: #00405a;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
}

.c_box span {
    color: #333333;
    font-size: 15px;
    font-weight: 400;
    line-height: 0;
    text-align: center;
    display: block;
    margin: 20px 0 0;
}

#napravlenie {
}

#napravlenie .title {
    margin-bottom: 50px;
}

#napravlenie .sub_title {
    color: #01425d;
    font-size: 20px;
    font-weight: 700;
    line-height: 23px;
    text-align: center;
    text-transform: uppercase;
}

#napravlenie .nap_box {
    background: #01425D;
    margin: 22px 7px;
    min-height: 400px;
}

#napravlenie .nap_box ul {
    list-style: none;
    padding: 10px 10px 10px 20px;
}

#napravlenie .nap_box ul li {
    padding: 15px 0;
}

#napravlenie .nap_box ul li a {
    text-decoration: none;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    padding-left: 50px;
    /*min-height: 42px;*/
    display: table;
    vertical-align: middle;
}

#napravlenie .np1 ul li {
    padding: 22px 0;
}

#napravlenie .nap_box ul li a:hover {
    color: #1DC7D9
}

.nap_box1 {
    background: url(images/nap_box1.png) no-repeat left center;
}

.nap_box2 {
    background: url(images/nap_box2.png) no-repeat left center;
}

.nap_box3 {
    background: url(images/nap_box3.png) no-repeat left center;
}

.nap_box4 {
    background: url(images/nap_box4.png) no-repeat left center;
}

.nap_box5 {
    background: url(images/nap_box5.png) no-repeat left center;
}

.nap_box6 {
    background: url(images/nap_box6.png) no-repeat left center;
}

.nap_box7 {
    background: url(images/nap_box7.png) no-repeat left center;
}

.nap_box8 {
    background: url(images/nap_box8.png) no-repeat left center;
}

#OUR_ACHIEVEMENTS {
    background: url(images/achivements.jpg) no-repeat center top / cover;
}

#OUR_ACHIEVEMENTS .layout {
    background: rgba(1, 66, 93, 0.92);
    padding: 50px 0;
}

#OUR_ACHIEVEMENTS .title {
    margin-bottom: 50px;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
}

#YT_VIDEOS {
    background: url(images/yt_bg.png) no-repeat center top / cover;
}

#YT_VIDEOS .layout {
    padding: 50px 0 20px;
}

#YT_VIDEOS .col-md-6 {
    margin-bottom: 25px;
}

#TEACHERS {
    background: url(images/pattern.jpg);
}

#TEACHERS .layout {
    background: rgba(1, 66, 93, 0.98);
    padding: 50px 0 0;
}

#TEACHERS .title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    margin-bottom: 45px;
}

#TEACHERS .teacher {
    text-align: center;
    cursor: pointer;
    width: 25%;
    padding: 0 10px 30px;
}

#TEACHERS .teacher img {
    border-radius: 15px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: block;
    max-width: 100%;
    margin: 0 auto 15px auto;
}

#TEACHERS .teacher .about {
    color: #fff;
    display: block;
}

#TEACHERS .teacher:hover .about {
    color: #1DC7D9;
    text-decoration: none;
    cursor: pointer;
}

#TEACHERS .kompan a {
    color: #282ca7;
    margin: 0px 0 10px;
    height: 0px;
    display: block;
}

#TEACHERS .teacher .name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

#TEACHERS .teacher .job {
    font-weight: 400;
    line-height: 14px;
}

#TEACHERS .about_teacher, .p_form, .p2_form, .dp_form, .crs1, .crs2, .crs3, .crs4 {
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
}

#TEACHERS .about_teacher .layout, .p_form .layout, .p2_form .layout, .dp_form .layout, .crs1 .layout, .crs2 .layout, .crs3 .layout, .crs4 .layout {
    width: 600px;
    height: auto;
    /*min-height: 400px;*/
    margin: 0 auto;
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    color: #000;
    margin-top: 90px;
    text-align: left;
    font-family: "__Elektra Light Pro_5";
    position: relative;
}

#TEACHERS .about_teacher .layout p,
.p_form .layout p, .p2_form .layout p, .dp_form .layout p, .crs1 .layout p, .crs2 .layout p, .crs3 .layout p, .crs4 .layout p {
    font-size: 16px;
    font-weight: 300;
    line-height: 19px;
    text-align: justify;
}

#TEACHERS .about_teacher .layout .close_about_teacher, .p_form .layout .close_p_form, .p2_form .layout .close_p_form {
    color: #ffffff;
    font-size: 38px;
    font-weight: 700;
    right: 0px;
    top: -45px;
    left: auto;
    line-height: 53px;
    position: absolute;
    text-align: center;
}

.dp_form .layout .close_p_form, .crs1 .layout .close_p_form, .crs2 .layout .close_p_form, .crs3 .layout .close_p_form, .crs4 .layout .close_p_form {
    color: #ffffff;
    font-size: 38px;
    font-weight: 700;
    left: auto;
    right: 10px;
    line-height: 53px;
    position: absolute;
    text-align: center;
    top: 0px;
}

.crs1 .layout .close_p_form, .crs2 .layout .close_p_form, .crs3 .layout .close_p_form, .crs4 .layout .close_p_form {
    color: #000
}

#TEACHERS .about_teacher .layout .close_about_teacher:hover,
.p_form .layout .close_p_form:hover, .p2_form .layout .close_p_form:hover, .dp_form .layout .close_p_form:hover,
.crs1 .layout .close_p_form:hover, .crs2 .layout .close_p_form:hover, .crs3 .layout .close_p_form:hover, .crs4 .layout .close_p_form:hover {
    cursor: pointer;
}

.p_form .col-md-4, .p2_form .col-md-4, .dp_form .col-md-4, .text_p_form .col-md-12 p {
    width: 100% !important;
    text-align: center;
}

#ZAKAZ_FORM {
    background: url(images/form_bg.jpg) no-repeat center top / cover;
}

#ZAKAZ_FORM .layout {
    padding: 30px 0
}

#ZAKAZ_FORM .title {
    color: #ffffff;
    font-family: "__Elektra Text Pro_5";
    font-size: 35px;
    font-weight: 700;
    line-height: 42px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

#ZAKAZ_FORM .sub_title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
}

#ZAKAZ_FORM #form_body span {
}

#ZAKAZ_FORM #form_body input[type=text],
#ZAKAZ_FORM #form_body input[type=email],
#form_body input[type=text],
#form_body input[type=email] {
    background: #fff;
    padding: 10px 12px;
    width: 95%;
    margin: 0 24px;
    border: none;
    box-sizing: border-box;
}

.blue-border {
    margin: 25px 0
}

.blue-border .col-md-12, #custom-text .sub_title {
    text-align: center !important;
}

#custom-text .sub_title, #custom-text .yellow {
    font-size: 21px
}

.blue-border input {
    border: 1px solid #00d2dd !important;
}

.blue-border input.wpcf7-submit {
    color: #fff;

    text-transform: uppercase;
    font-size: 21px;
    padding: 10px 28px;
    background: #01425D;
    border: none !important;
}

.p_form input[type=text],
.p_form input[type=email],
.p2_form input[type=text],
.p2_form input[type=email] {
    background: #fff;
    padding: 10px 12px;
    width: 50%;
    margin: 0 24px;
    border: none;
    box-sizing: border-box;
    border: 2px solid #ccc;
    margin: 5px 0;
}

.crs1 input[type=text],
.crs1 input[type=email],
.crs2 input[type=text],
.crs2 input[type=email],
.crs3 input[type=text],
.crs3 input[type=email],
.crs4 input[type=text],
.crs4 input[type=email] {
    background: #fff;
    padding: 10px 12px;
    width: 100%;
    margin: 0 24px;
    border: none;
    box-sizing: border-box;
    border: 2px solid #ccc;
    margin: 5px 0;
}

.p_form .select_type_corse,
.p2_form .select_type_corse {
    color: #333;
    display: table;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    padding: 25px 0 0;
    text-align: center;
    text-transform: uppercase;
}

.p_form .col-md-12, .p2_form .col-md-12 {
    text-align: center;
}

.p_form_title {
    color: #333333;
    font-family: "__Elektra Text Pro_5";
    font-size: 35px;
    font-weight: 400;
    line-height: 42px;
    text-align: center;
}

.p_form_sub {
    color: #333333;
    font-family: "__Elektra Light Pro_5";
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    margin-bottom: 12px;
}

#ZAKAZ_FORM #form_body .col-md-12, .center {
    text-align: center;
}

#ZAKAZ_FORM #form_body input.wpcf7-submit, .p_form input.wpcf7-submit, .p2_form input.wpcf7-submit {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 21px;
    padding: 10px 28px;
    background: #01425D;
    border: none;
    margin-top: 30px;
}

.page-template-page-course input.wpcf7-submit {
    margin-top: 30px;
}

#ZAKAZ_FORM #form_body input.wpcf7-submit:hover,
.p_form input.wpcf7-submit:hover, .p2_form input.wpcf7-submit:hover {
    background: #01427D;
}

#ZAKAZ_FORM .select_type_corse {
    color: #ffffff;
    display: table;
    font-size: 17px;
    font-weight: 400;
    /*line-height: 17px;*/
    padding: 25px 0;
    text-align: center;
    text-transform: uppercase;
}

input.wpcf7-not-valid {
    background: #fff !important;
    border: 1px solid red !important;
    box-sizing: border-box;
}

span.wpcf7-not-valid-tip, .wpcf7-validation-errors {
    display: none !important;
}

.wpcf7-mail-sent-ok {
    border: none !important;
    background: #00ce74 !important;
    width: 80% !important;
    margin: 25px auto 0 !important;
    padding: 12px 21px !important;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

#OUR_CONCACTS {
    background: #054560;
}

#OUR_CONCACTS .layout {
    padding: 50px 0
}

#OUR_CONCACTS .row960 {
    color: #fff;
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 34px;

}

#OUR_CONCACTS .place,
#OUR_CONCACTS .mail {
    margin: 15px 0;
}

#OUR_CONCACTS .place_icon {
    background: url(images/location.png) no-repeat;
    width: 23px;
    height: 23px;
}

#OUR_CONCACTS .phone_icon {
    background: url(images/phone.png) no-repeat;
    width: 23px;
    height: 23px;
}

#OUR_CONCACTS .mail_icon {
    background: url(images/mail.png) no-repeat;
    width: 20px;
    height: 20px;
}

#OUR_CONCACTS .place_icon,
#OUR_CONCACTS .phone_icon,
#OUR_CONCACTS .mail_icon {
    display: inline-block;
    padding: 0 15px;
    vertical-align: middle;
}

#MAP {
    height: 450px;
}

article a {
    color: #054560;
    text-decoration: underline;
}

article a:hover {
    color: #054560;
    text-decoration: none;
}

.page-template-page-course .course_head {
    min-height: 475px;
    width: 100%;
}

.page-template-page-course article {
    padding: 25px 0 50px;
}

.page-template-page-course div.h1 {
    color: #ffffff;
    font-size: 38px;
    font-weight: 700;
    line-height: 62px;
    /* text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);*/
    text-transform: uppercase;
    width: 500px;
    margin: 0;
    position: relative;

    left: 55%;
    background: rgba(0, 0, 0, .4);
    padding: 15px;
    top: 100px;
    text-shadow: 0 0 5px #000, 0 0 10px #000;
}

.page-template-page-course h1 {
    text-align: center;
    margin-bottom: 40px;
}

.page-template-page-course h2, .page-template-page-custom h2 {
    font-family: "__Elektra Text Pro_5";
    font-size: 21px;
    font-weight: 700;
    line-height: 25px;
    text-align: center;
    margin: 35px 0;
}

.page-template-page-course h3, .page-template-page-custom h3 {
    font-weight: 700;
    line-height: 22px;
    text-align: left;
}

.page-template-page-course p, .page-template-page-custom p {
    font-family: "__Elektra Light Pro_5";
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
}

.page-template-page-custom article {
    margin-bottom: 50px;
}

.page-template-page-custom article h2 {
    color: #00405a;
    text-transform: uppercase;
    font-size: 21px;
    font-weight: 700;
    line-height: 25px;
    text-align: center;
    margin: 35px 0;
}

.page-template-page-course article ul, .page-template-page-custom article ul {
    padding: 0;
}

.page-template-page-course article li, .page-template-page-custom article li {
    background: url(images/li.png) no-repeat left 2px;
    padding-left: 36px;
    margin: 4px 0 16px;
    display: flex;
    color: #333333;
    font-family: "__Elektra Text Pro_5";
    font-size: 18px;
    font-weight: 400;
}

.page-template-page-course article .bbpe li {
    background: url(images/lid.png) no-repeat left 2px;
}

.wpcp-carousel-section ul.slick-dots li {
    background: none !important;
    padding: 0 !important;
}

#CIRCLES {
    background: url(images/circles_bg.jpg) no-repeat center center / cover;
}

#CIRCLES .layout {
    padding: 50px 0
}

#CIRCLES .row960 {
    color: #fff;
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 34px;

}

#CIRCLES .c1 {
    background: url(images/c1.png) no-repeat center top;
}

#CIRCLES .c2 {
    background: url(images/c2.png) no-repeat center top;
}

#CIRCLES .c3 {
    background: url(images/c3.png) no-repeat center top;
}

#CIRCLES .c1,
#CIRCLES .c2,
#CIRCLES .c3 {
    text-align: center;
    padding-top: 180px;
}

#CIRCLES .sub_t_c {
    font-size: 23px;
    font-weight: 700;
    line-height: 28px;
}

#CIRCLES p {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    margin: 12px 0;
}

#CIRCLES p a {
    color: #ffffff;
    font-family: "__Elektra Text Pro_5";
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    text-align: center;
    text-decoration: underline;
}

#CIRCLES p a:hover {
    text-decoration: none;
    cursor: pointer;
}

.category {
}

.category article {
    margin: 10px 0 30px;
}

.category h1 {
    margin: 35px 0 25px;
}

.category h2 {
    color: #000;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.category .wp {
    padding-left: 30px;
}

.category .date {
    color: #01425d;
    margin: 12px 0;
}

.category .more a {
    text-transform: uppercase;
    color: #fff;
    font-size: 15px;
    padding: 8px 16px;
    background: #01425d;
    text-decoration: none;
    float: right;
    margin: 15px 0 0;
    border-radius: 3px;
}

.category .more a:hover {
    background: #053447;
    cursor: pointer;
    text-decoration: none;
}

.category .nv {
    display: block;
    text-align: center;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    background: #01425d;
    border-color: #01425d;
}

.pagination > li > a, .pagination > li > span,
.pagination > li > a:hover, .pagination > li > span:hover,
.pagination > li > a:focus, .pagination > li > span:focus {
    color: #01425d;
}

.single article {
    margin: 10px 0 30px;
}

.page-id-83 article,
.category section, .single-post section {
    background: url(images/section_A.png) no-repeat fixed center bottom / cover;
}

.page-id-1224 article,
.category section, .single-post section {
    background: url(images/section_A.png) no-repeat fixed center bottom / cover;
}

.page-id-1286 article,
.category section, .single-post section {
    background: url(images/section_A.png) no-repeat fixed center bottom / cover;
}

.page-id-85 article, .page-id-89 article {
    background: url(images/bgg2.png) no-repeat fixed center top / cover;
}

.page-id-87 article {
    background: url(images/bgg4.png) no-repeat fixed center top / cover;
}

.page-id-91 article {
    background: url(images/bgg3.png) no-repeat fixed center top / cover;
}

.kolonki {
    -webkit-columns: 200px 2;
}

.footr {
    background: #01425D;
    padding: 10px 0;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.8em;
}

#bottom-nav {
    padding: 0;
    margin-top: 15px;
}

.f_phone {
    margin-top: 15px;
}

#bottom-nav li {
    width: 30%;
    display: inline-block;
}

#bottom-nav li a {
}

#bottom-nav li a:hover {
    text-decoration: none;
    color: #1DC7D9;
}

.top-social {
    padding: 17px 0 0
}

.top-social img {
    width: 32px;
    height: auto;
}

.social {
    width: 39%;
}

.social a:hover div {
    background-color: rgba(0, 193, 220, 0.1);
}

.vk_icon {
    background: url(images/vk.png);
    width: 28px;
    height: 28px;
    display: inline-block;
}

.fb_icon {
    background: url(images/fb.png);
    width: 28px;
    height: 28px;
    display: inline-block;
}

.yt_icon {
    background: url(images/yt.png);
    width: 28px;
    height: 28px;
    display: inline-block;
}

.in_icon {
    background: url(images/in.png);
    width: 28px;
    height: 28px;
    display: inline-block;
}

.privacy-policy a {
    text-decoration: none;
}

.privacy-policy a:hover {
    color: #1DC7D9;
}

.privacy-policy {
    float: left;
    width: auto;
}

/******* RADIO ********/

.wpcf7-list-item input {
    vertical-align: top;
    width: 17px;
    height: 17px;
    margin: 0 3px 0 0;
}

.wpcf7-list-item input + span {
    cursor: pointer;
}

.wpcf7-list-item input:not(checked) {
    position: absolute;
    opacity: 0;
}

.wpcf7-list-item input:not(checked) + span {
    position: relative;
    padding: 0 0 0 35px;
}

.wpcf7-list-item input:not(checked) + span:before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 50%;
    background: #FFF;
}

.wpcf7-list-item input:not(checked) + span:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #054560;
    /*box-shadow: inset 0 1px 1px rgba(0,0,0,.5);*/
    opacity: 0;
    /*transition: all .2s;*/
}

.wpcf7-list-item input:checked + span:after {
    opacity: 1;
}

.radio:focus + span:before {
    /*box-shadow: 0 0 0 3px rgba(255,255,0,.5);*/
}

.green_line {
    background: #2E9059;
    display: block;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2) inset;
}

.green_line div:nth-child(1) {
    line-height: 46px;
    text-transform: uppercase;
    font-size: 38px;
    font-weight: 700;
}

.green_line div:nth-child(2) {
    line-height: 30px;
    font-size: 25px;
    font-weight: 400;
}

.s1, .s3 {
    background: #2A3847;
}

.s1 .top_circle {
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
}

.s1 .top_circle img {
    width: 100%;
    height: auto;
}

.s1 .text, .s1 .timer {
    margin: 40px auto 0;
    width: 700px;
    font-size: 16px;
    text-align: justify;
    line-height: 20px;
    color: #FFFFFF;
    font-weight: 400;
    font-family: "__Elektra Light Pro_5";
}

.s1 .text .s1_title {
    background-color: #E6D16C;
    color: #2A3847;
    text-transform: uppercase;
    display: block;
    padding: 6px;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    line-height: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.s1 .text .yellow {
    font-size: 20px;
    text-align: justify;
    line-height: 24px;
    color: #E6D16C;
}

.timer_title {
    color: #00C16B;
    line-height: 42px;
    text-align: center;
    font-size: 35px;
    font-family: '__Elektra Text Pro_5';
    font-weight: 700;
}

.tim {
    margin: 25px 0 0
}

.wic, .s2_label {
    color: #fff;
    font-size: 24px;
    font-family: '__Elektra Text Pro_5';
    font-weight: 700;
    text-align: center;
    margin: 55px 0;
}

.wic div {
    padding-top: 60px;
    margin-bottom: 55px;
}

.calendar {
    background: url(images/calendar.png) no-repeat center 5px;
}

.edu {
    background: url(images/education.png) no-repeat center 5px;
}

.summer {
    background: url(images/summer.png) no-repeat center 5px;
}

.tool {
    background: url(images/tool.png) no-repeat center 5px;
}

.sxb .col-md-4 {
    min-height: 232px;
    position: relative;
    min-width: 33%;
    width: 33%;
    float: left;
    background-size: cover;
    background-position: center;
}

.sxb .col-md-4:hover {
    cursor: pointer;
}

.sxb {
    display: inline-block;
    margin-bottom: 80px;
    width: 100%;
}

.sxb .layout {
    background: #000;
    opacity: 0.6;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.sxb_text {
    color: #FFFFFF;
    line-height: 24px;
    text-align: center;
    font-size: 20px;
    font-family: '__Elektra Text Pro_5';
    font-weight: 400;
    z-index: 10;
    position: relative;
    text-transform: uppercase;
    padding-top: 50%;
    max-width: 80%;
    width: 100%;
    margin: 0 auto;
}

.ii1 {
    background: url(images/rtpwmcu5srm.jpg) no-repeat;
}

.ii2 {
    background: url(images/e2koco.jpg) no-repeat;
}

.ii3 {
    background: url(images/9wnjeo2mvki.jpg) no-repeat;
}

.ii4 {
    background: url(images/o1yqgylxqgm.jpg) no-repeat;
}

.ii5 {
    background: url(images/cc3mdh1hvue.jpg) no-repeat;
}

.ii6 {
    background: url(images/ngkdduspcxg.jpg) no-repeat;
}

.s2 {
    background: #2E9059;
    padding: 80px 0 0;
}

.s2_label {
    text-align: left;
    text-transform: uppercase;
    margin: 0 0 55px
}

.s2 ul {
    list-style: none;
    padding: 0
}

.s2 ul li {
    color: #FFFFFF;
    line-height: 19px;
    text-transform: lowercase;
    font-size: 16px;
    font-family: '__Elektra Light Pro_5';
    font-weight: 400;
    background: url(images/6dp.png) no-repeat left 2px;
    padding: 0 0 25px 36px;
}

.s3 .container, .s4 .container {
    padding: 55px 0
}

.s3 .col-md-4 {
    padding: 0 5px;
}

.s3 .yellow-row {
    text-align: center;
    color: #ECD666;
    font-weight: 700;
    font-size: 30px;
}

.brd {
    border: 3px solid #ECD666;
    width: 100%;
}

.page-id-423 .brd {
    height: 1780px;
}

.brd .tl {
    text-align: center;
    font-family: '__Elektra Text Pro_5';
    font-weight: 700;
    font-size: 21px;
    text-transform: none;
    line-height: 28px;
    color: #FFFFFF;
    padding: 10px 0;
}

.brd .pr {
    background: #5D6873;
    padding: 15px 0;
    text-align: center;
    font-weight: 700;
}

.brd .pr .old_p {
    color: #FFFFFF;
    line-height: 26px;
    font-size: 22px;
    font-family: '__Elektra Text Pro_5';
    text-decoration: line-through;
    height: 22px;
}

.brd .pr .new_p {
    font-size: 25px;
    line-height: 30px;
    padding-top: 5px;
    color: #E6D16C;
    text-transform: uppercase;
}

.brd .lm {
    color: #fff;
    font-family: '__Elektra Text Pro_5';
    padding: 15px;
}

.brd .lm .dat {
    /*text-align: center;*/
    font-size: 16px;
    line-height: 19px;
    padding: 15px;
}

.brd .lm .fch {
    padding: 15px 0;
}

.brd .lm .fch span {
    display: block;
    font-size: 18px;
    line-height: 22px;
    padding: 10px 0;
}

.brd .lm .fch ul {
    padding: 0;
    margin: 6px 0;
}

.brd .lm .fch li {
    list-style: none;
    font-size: 17px;
    padding-left: 21px;
    background-position: left 5px;
    background-repeat: no-repeat;
    background-size: 10px;
    background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTI1NiwwQzExNC44MzcsMCwwLDExNC44MzcsMCwyNTZzMTE0LjgzNywyNTYsMjU2LDI1NnMyNTYtMTE0LjgzNywyNTYtMjU2UzM5Ny4xNjMsMCwyNTYsMHoiIGZpbGw9IiNlY2Q2NjYiLz4KCTwvZz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K);
}

.more_link {
    padding: 25px 0 10px;
    display: block;
    text-align: center;
}

.more_link a {
    text-transform: uppercase;
    color: #E8D666;
    line-height: 20px;
    font-size: 17px;
    text-decoration: underline;
}

.more_link a:hover {
    text-decoration: none;
}

.choose_c {
    display: block;
    width: 100%;
    padding: 25px 0
}

.bt {
    color: #ECD666;
    line-height: 23px;
    text-align: center;
    font-size: 19px;
    font-family: '__Elektra Text Pro_5';
    font-weight: 400;
    border: 3px solid #ECD666;
    background: none;
    width: 100%;
    padding: 10px 0;
}

.bt:hover {
    background: #ECD666;
    color: #2A3847
}

#summer #TEACHERS .layout {
    background: #32925C;
    color: #FFF;
}

.s4 {
    background: #ECD666;
}

.s4_title {
    color: #2A3847;
    line-height: 41px;
    text-align: center;
    font-size: 34px;
    font-family: '__Elektra Text Pro_5';
    font-weight: 700;
}

.s4_sub_title {
    color: #2A3847;
    line-height: 24px;
    text-align: center;
    font-size: 20px;
    font-family: '__Elektra Light Pro_5';
    margin-bottom: 25px;
}

.s4 .col-md-6 {
    text-align: center;
}

.btns {
    position: absolute;
    bottom: 40px;
    z-index: 99;
    width: 960px;
}

.btns .col-md-4:nth-child(1) {
    padding: 10px 10px 5px 20px
}

.btns .col-md-4:nth-child(2) {
    padding: 10px 18px 10px 10px
}

.btns .col-md-4:nth-child(3) {
    padding: 10px 24px 10px 4px
}

.vuz_text {
    padding-top: 20px;
}

.col-md-6 .f_phone a, .col-md-12 a {
    text-decoration: none;
}

.lm {
    height: 390px;
}

iframe[name='google_conversion_frame'] {
    position: absolute;
    left: -1000px;
    top: 0;
}

.viber-icon {
    background: url(http://artmax-school.com.ua/wp-content/uploads/viber.png) no-repeat left center;
    background-size: 18px;
    display: inline-block;
    vertical-align: bottom;
    padding-left: 25px;
}

.kyivstar-icon {
    background: url(http://artmax-school.com.ua/wp-content/uploads/kyivstar_logo.png) no-repeat left center;
    background-size: 18px;
    display: inline-block;
    vertical-align: bottom;
    padding-left: 25px;
}

.lifecell-icon {
    background: url(http://artmax-school.com.ua/wp-content/uploads/lifecell-logo.png) no-repeat left center;
    background-size: 18px;
    display: inline-block;
    vertical-align: bottom;
    padding-left: 25px;
}

.vodafone-icon {
    background: url(http://artmax-school.com.ua/wp-content/uploads/vodafone-logo.png) no-repeat left center;
    background-size: 18px;
    display: inline-block;
    vertical-align: bottom;
    padding-left: 25px;
}

@media (max-width: 1200px) {
    .container, .row {
        width: 100%;
    }

    #red_field {
        background: url(http://artmax-school.com.ua/wp-content/uploads/ArtMax_wesite2.jpg) no-repeat center center;
        background-size: 100% auto;
        position: relative;
    }
}

@media (max-width: 1024px) {
    body {
        overflow-x: hidden;
    }

    .row {
        width: 100%
    }

    .adph {
        width: 60%;
    }

    .adph .alignleft {
        margin: 0 !important
    }

    .navigation {
        padding-top: 16px;
    }

    .header_line {
        top: 60px;
    }

    .header_bg {
        height: 131px;
    }

    .row960 {
        width: 100%
    }

    #form_body .col-md-3 {
        width: 25%;
        float: left;
    }

    #ZAKAZ_FORM #form_body span {
    }

    #ZAKAZ_FORM #form_body input[type=text],
    #ZAKAZ_FORM #form_body input[type=email] {
        width: 80%;
        font-size: 13px;
    }

    span.wpcf7-list-item {
        width: 100%
    }

    #red_field { /*height: auto; */
        display: table;
        background-size: 100% auto;
        height: 345px;
    }

    #red_field .col-md-12 {
        width: 100%
    }

    #red_field .col-md-3 {
        width: 50%;
        float: left;
        display: inline-block;
        height: 340px;
    }

    #red_field .col-md-3 p {
        font-size: 14px;
        line-height: 15px;
    }

    #red_field .red_field_title {
        font-size: 4vw;
    }

    #red_field .red_field_text {
        font-size: 2vw;
    }

    .c_box div {
        font-size: 17px;
    }

    .home #gallery-1 .gallery-item {
        width: 21%;
        margin: 10px 2% 0;
    }

    .home #gallery-1 .gallery-item img {
        width: 100%;
        height: auto;
    }

    #YT_VIDEOS .col-md-6 {
        text-align: center;
    }

    #napravlenie .nap_box {
        min-height: auto;
    }

    #TEACHERS .teacher {
        width: 33%;
    }

    .page-template-page-course article {
        padding: 25px
    }

    .page-id-83 .tn-9, .page-id-85 .tn-1 {
        width: 33% !important;
        padding: 0;
    }

    .wic div {
        width: 50%;
        margin-bottom: 25px;
        float: left;
    }

    .s2 .row960 .col-md-6:nth-child(1) {
        display: none;
    }

    .s2 .row960 .col-md-6:nth-child(2), .s3 .col-md-4 {
        width: 600px;
        margin: 0 auto;
        float: none;
    }

    .social {
        width: 100%
    }

    .top-social {
        display: none;
    }

    .nv {
        width: 100% !important
    }

    .h2, h2 {
        font-size: 2.4vw;
    }

    a.registration {
        bottom: 40px;
        right: 10%;
    }
}

@media (max-width: 992px) {
    #yellow_field {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .navigation {
        float: right;
    }

    .navigation a {
        font-size: 13px;
        margin-left: 10px;
    }

    .footr .col-md-4 {
        width: 33%
    }

    .f_phone {
        float: left;
        width: 33%;
    }

    .footr .fm {
        float: right;
    }

    .soc {
        float: left;
    }

    #form_body .col-md-3 {
        width: 50%;
        margin: 10px auto;
    }

    .courses_boxes, #napravlenie .title {
        margin-bottom: 25px;
    }

    #bottom-nav li {
        width: 100%
    }

    .footr .col-md-6 {
        width: 50%;
        margin: 0;
        float: left;
    }

    .footr #bottom-nav {
        margin: 0
    }

    .footr .col-md-4 img {
        width: 80px;
        height: auto;
    }

    .footr .col-md-8 .col-md-12 {
        padding-left: 33%
    }

    .green_line div:nth-child(1) {
        font-size: 30px;
    }

    .green_line div:nth-child(2) {
        font-size: 18px;
    }

    .privacy-policy {
        padding-left: 33%;
    }
}

@media (max-width: 800px) {
    .sxb .col-md-4 {
        width: 50%
    }

    .sxb_text {
        padding-top: 40%
    }

    #red_field {
        height: 300px
    }
}

@media (max-width: 767px) {
    .slide, .course_head {
        display: none;
    }

    #gallery-2 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 20px;
        width: 100%;
    }

    #gallery-2 br {
        display: none;
    }

    #gallery-2 .gallery-item {
        float: none !important;
        width: auto !important;
        margin: 0 !important
    }

    .navbar-header {
        background: url(images/navbar-header.jpg) no-repeat right top;
        width: 160px;
        height: auto;
    }

    #gallery-2 img {
        width: 100%;
        height: auto;
    }

    .navbar-collapse {
        background: #01425d none repeat scroll 0 0;
        padding: 0 15px !important;
        position: absolute;
        width: 180px;
        right: -10px;
    }

    .navbar-toggle {
        margin: 0 0 10px !important;
    }

    .navbar-collapse a {
        color: #fff;
    }

    .adph, .fm {
        font-size: 13px;
    }

    .thumbnail {
        display: table;
        margin: 0 auto 20px;
    }

    #OUR_CONCACTS .place, #OUR_CONCACTS .mail, #OUR_ACHIEVEMENTS .title, #TEACHERS .title {
        margin: 15px;
    }

    .col-xs-1-5 {
        width: 50%
    }

    #courses .container {
        padding: 15px 0;
    }

    .c_box {
        /*margin: 1.5% 1.5% 0 1.5%;
        width: 47% !important;
        padding: 0 !important*/
    }

    #OUR_ACHIEVEMENTS .layout, #TEACHERS .layout, .about_school, #ZAKAZ_FORM .layout, .p_form .layout, .p2_form .layout, .dp_form .layout {
        padding: 15px
    }

    .home #gallery-1 {
        display: table;
    }

    .home #gallery-1 .gallery-item {
        width: 29%
    }

    .home #gallery-1 br {
        display: none;
    }

    #about {
        min-height: auto;
    }

    .page .teacher {
        width: 50% !important
    }

    .sxb {
        width: 600px;
        margin: 0 auto;
        display: block;
    }

    .sxb .col-md-4 {
        width: 300px;
        height: 200px;
    }

    .s1 .text, .s1 .timer {
        width: 90%;
        margin: 40px auto 0;
    }

    .timer_title {
        font-size: 24px
    }

    .page-template-page-custom article {
        padding-left: 15px;
        padding-right: 15px;
    }

    #yellow_field .tab {
        display: block
    }

    #yellow_field .pc,
    #yellow_field .mob {
        display: none;
    }
}

@media (max-width: 645px) {
    header {
        position: relative;
    }

    .header_bg {
        height: 290px;
    }

    .header_line {
        top: 220px;
    }

    .logotype {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .top_bar .alignleft, .top_bar .alignright {
        width: 100%;
    }

    .adph {
        float: none;
        text-align: center;
        margin: 15px 0;
    }

    .fm {
        float: none;
    }

    .call {
        text-align: center;
        margin: 8px;
    }

    #bottom-nav {
        display: none;
    }

    .footr .col-md-6, .footr .col-md-4, .footr .col-md-8, .footr .soc {
        width: 100%;
        float: none;
        text-align: center;
    }

    .about_school div {
        margin: 15px 0;
        font-size: 21px;
        line-height: 21px;
    }

    #TEACHERS .teacher {
        width: 50%
    }

    #TEACHERS .about_teacher .layout, .p_form .layout, .p2_form .layout, .dp_form .layout {
        width: 90%
    }

    .p_form_title, .dp_form_title, .h1, h1 {
        font-size: 21px;
    }

    .p_form input[type="text"], .p_form input[type="email"],
    .p2_form input[type="text"], .p2_form input[type="email"],
    .dp_form input[type="text"], .dp_form input[type="email"] {
        padding: 3px 6px;
    }

    #ZAKAZ_FORM #form_body input.wpcf7-submit, .p_form input.wpcf7-submit, .p2_form input.wpcf7-submit {
        padding: 6px 10px;
        font-size: 16px;
        width: 100%
    }

    .dp_form input.wpcf7-submit {
        padding: 6px 10px;
        font-size: 16px;
        border: none;
        background: #01425D;
        color: #fff;
        display: block;
        text-transform: uppercase;
        width: 100%;
    }

    .dp_form input.wpcf7-submit:hover {
        background: #01427D
    }

    .p_form .select_type_corse, .p2_form .select_type_corse, .dp_form .select_type_corse {
        padding: 10px 0 0;
    }

    .category .wp, .footr .col-md-8 .col-md-12 {
        padding-left: 0;
    }

    span.wpcf7-list-item {
        margin: 0
    }

    #ZAKAZ_FORM .select_type_corse, .p_form .select_type_corse, .p2_form .select_type_corse, .dp_form .select_type_corse {
        font-size: 17px;
        text-align: left;
    }

    #CIRCLES .col-md-4 {
        padding: 0 15px
    }

    .page-template-page-course .course_head {
        min-height: auto;
    }

    .page-template-page-course h1 {
        font-size: 34px;
        left: 0;
        text-align: center;
        padding: 25px 10px;
        width: 100%;
    }

    .crs1 .layout, .crs2 .layout, .crs3 .layout, .crs4 .layout {
        width: 96%;
    }

    .green_line div:nth-child(1) {
        font-size: 24px;
    }

    .green_line div:nth-child(2), .brd .lm .fch span, .s4_sub_title {
        font-size: 16px;
    }

    .wic, .s2_label, .brd .tl, .brd .pr .new_p, .s4_title {
        font-size: 18px
    }

    .wic div {
        width: 100%
    }

    .sxb, .sxb .col-md-4, .s2 .row960 .col-md-6:nth-child(2), .s3 .col-md-4, .s4 .col-md-6 {
        width: 300px
    }

    .s4 .col-md-6 {
        margin: 0 auto;
        float: none;
    }

    .s4 .col-md-6 iframe {
        width: 100%
    }

    .privacy-policy {
        padding-left: 0;
        width: 100%;
    }

}

@media (max-width: 520px) {
    .tim {
        display: none !important
    }

    #gallery-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    #OUR_CONCACTS .row960, #napravlenie .sub_title {
        font-size: 18px;
    }

    .logotype {
        height: 90px;
        float: left;
        width: 115px;
        margin-top: 5px
    }

    .top_bar a {
        display: block;
    }

    .cnt { /*width: 140px;*/
        float: right;
    }

    .fm {
        font-size: 17px;
    }

    .call {
        margin: 8px 0
    }

    .header_line {
        top: 100px;
    }

    .header_bg {
        height: 155px;
    }

    .logotype img {
        height: 100%;
        width: auto;
    }

    .p_form input[type="text"], .p_form input[type="email"], .p2_form input[type="text"], .p2_form input[type="email"], .dp_form input[type="text"], .dp_form input[type="email"], #ZAKAZ_FORM #form_body input[type="text"], #ZAKAZ_FORM #form_body input[type="email"] {
        width: 100%;
        margin: 0;
        position: relative;
        z-index: 99999;
    }

    #red_field .col-md-3 {
        width: 100%;
        height: auto;
    }

    #YT_VIDEOS iframe {
        width: 100%;
        height: 194px;
    }

    #red_field .col-md-3 p {
        margin: 0 0 6px;
    }

    #red_field .col-md-3 img, #red_field .col-md-3 p br, #OUR_ACHIEVEMENTS, #TEACHERS, .f_phone,
    .adr {
        display: none;
    }

    #form_body .col-md-3 {
        width: 100%;
        padding: 0;
    }

    .about_school p, a.reg, .p_form_sub, .dp_form_sub {
        font-size: 14px;
        line-height: 15px;
    }

    .col-xs-1-5 {
        width: 50%
    }

    #TEACHERS .teacher {
        width: 100%
    }

    .home #gallery-1 .gallery-item {
        width: 46%;
    }

    #OUR_ACHIEVEMENTS .title,
    #ZAKAZ_FORM .title,
    #courses .title, #TEACHERS .title,
    #napravlenie .title {
        font-size: 22px
    }

    #YT_VIDEOS, #ZAKAZ_FORM .sub_title {
        padding: 0 15px;
    }

    #TEACHERS .teacher a {
        margin: 15px 0
    }

    .page-template-page-course h1 {
        font-size: 21px;
        left: 0;
        text-align: center;
        padding: 25px 10px
    }

    .page .teacher {
        width: 100% !important
    }

    .hid {
        display: block;
    }

    #mobcourses {
        background: #F7F7F7;
    }

    .mobcourse {
        margin: 10px;
        background: #fff;
    }

    .mobcourse .imda {
        padding: 0 15px 15px
    }

    .mobcourse h2 {
        font-size: 18px
    }

    .mobcourse img {
        width: 100%;
        height: auto;
    }

    .dp_form input[type="text"], .dp_form input[type="email"] {
        margin-bottom: 6px
    }

    .green_line {
        padding: 15px;
        display: table;
    }

    .green_line div:nth-child(1), .s1 .text .yellow,
    .timer_title, .s1 .text .s1_title {
        font-size: 18px;
        display: table;
        width: 100%;
        line-height: 1.2em;
    }

    .green_line div:nth-child(2), .s1 .text, .s1 .timer {
        font-size: 14px;
        line-height: 1.2em;
    }

    .dp_form .layout .close_p_form, .crs1 .layout .close_p_form, .crs2 .layout .close_p_form, .crs3 .layout .close_p_form, .crs4 .layout .close_p_form {
        color: #000
    }

    #yellow_field .mob {
        display: block
    }

    #yellow_field .pc,
    #yellow_field .tab {
        display: none;
    }

    a.reg-2 {
        font-size: 10px;
        margin-top: -35px;
        padding: 5px 10px;
    }
}

@media (max-width: 375px) {
    .top-social {
        display: block;
        position: absolute;
        left: -20%;
        top: 62px;
    }

    .c_box {
        float: left;
    }

    .c_box div {
        font-size: 14px;
    }
}

@media (min-width: 979px) {
    ul.nav li.dropdown.show-on-hover:hover > ul.dropdown-menu { /* для раскрывания субменю по наведению */
        display: block;
    }

    .comment-list .children { /* для комментов */
        padding: 0;
        margin-left: 74px;
        padding-bottom: 15px;
    }

    .comment-list .media {
        margin-top: 0;
    }
}


.gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery br {
    display: none;
}

.gallery .gallery-item {
    width: 100% !important;
    float: none !important;
}

@media (min-width: 500px) {
    .gallery .gallery-item {
        width: 50% !important;
    }
}

@media (min-width: 769px) {
    .gallery .gallery-item {
        width: 33.3% !important;
    }
}

@media (min-width: 1025px) {
    .gallery.gallery-columns-5 .gallery-item {
        width: 20% !important;
    }

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

    .gallery.gallery-columns-3 .gallery-item {
        width: 33.333% !important;
    }

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

article {
    padding-bottom: 50px;
}

.d-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.p2_form .col-md-3 {
    width: 100% !important;
    text-align: center;
}

.sn-one-button {
    position: fixed;
    right: 20px;
    top: 50%;
    z-index: 99;
    transform: translate(0,-50%);
}
.sn-one-button .sn-lnk-wrap {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-bottom: 10px;
}
.sn-one-button .sn-lnk-wrap a {
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 0 5px rgb(0 0 0 / 15%), 0 5px 10px rgb(0 0 0 / 30%);
    border-radius: 50%;
    display: block;
    height: 46px;
    margin-bottom: 13px;
    position: relative;
    width: 46px;
}
.sn-one-button .sn-lnk-wrap a span {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 1px rgb(0 0 0 / 10%), 0 1px 6px rgb(0 0 0 / 20%);
    color: #000;
    padding: 1px 10px;
    position: absolute;
    right: 0;
    top: 50%;
    opacity: 0;
    margin-right: 10px;
    white-space: nowrap;
    transform: translate(0,-50%);
    transition: all .3s;
}
.sn-one-button .sn-lnk-wrap a:hover span {
    opacity: 1;
    right: 100%;
}
.sn-one-button .sn-lnk-wrap .fb-ico {
    background-color: #1877f2;
    background-image: url(images/ico-fb.svg);
}
.sn-one-button .sn-lnk-wrap .yt-ico {
    background-color: red;
    background-image: url(images/ico-yt2.svg);
}
.sn-one-button .sn-lnk-wrap .ig-ico {
    background-color: #ee4b5f;
    background-image: url(images/ico-ig2.svg);
}
.sn-one-button .sn-lnk-wrap .tg-ico {
    background-color: #2caddf;
    background-image: url(images/ico-tg.svg);
}
.sn-one-button .sn-lnk-wrap .viber-ico {
    background-color: #724087;
    background-image: url("/wp-content/uploads/viber_14147.png");
}