body {
    margin: 0;
    padding: 0;
    font-size: 13pt;
    font-family: 'Open Sans', sans-serif;
    background-color: white;
}

li {
    color: #18323F;
}

a {
    color: black;
}

.clear {
    clear: both;
}

.l-col {
    width: 560px;
    float: left;
    margin-left: 30px;
}

.s-col {
}

header > div, footer > div, #menu > div, section > div {
    width: 1000px;
    margin: 0 auto;
}

header > div, #menu {
    display: flex;
    align-items: center;
    height: 97px;
}

header .logo {
    float: left;
    display: block;
    margin: auto 0;
}

header .contacts {
    font-size: 13pt;
    margin-left: auto;
    margin-right: 62px;
    color: #040404;
}

header .contacts a {
    color: #040404;
}

#menu {
    background-color: #FEDD2E;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
    position: relative;
    /*z-index: 2;*/
}

#menu > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li {
    float: left;
    margin-right: 35px;
}

nav a {
    font-size: 13pt;
    font-weight: bolder;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
}

nav li.active a {
    color: #FF0000;
}

a.basket {
    background: url(images/basket.png);
    display: block;
    width: 40px;
    height: 48px;
    text-decoration: none;
    color: #FF0000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bolder;
    margin-right: 50px;
}

a.basket > div {
    padding-top: 8px;
}

.half-block {
    width: 410px;
    float: left;
}

#main {
    height: 821px;
    background: #E1CFB7 url('images/home/background.jpg') no-repeat center;
    display: block;
    overflow: auto;
}

#main > div > div {
    height: 800px;
    margin: 0 0 0 410px;
    padding-top: 18px;
    color: white;
    position: relative;
}

#main h1 {
    margin: 0;
    font-size: 36pt;
    font-variant: small-caps;
    font-weight: 800;
}

#main-content {
    overflow: auto;
    background: #F6F3F2 url(images/program/background.jpg) repeat;
    display: block;
    padding: 47px 0 40px 0;
}

#main-content h2 {
    font-size: 29pt;
    color: #293E4A;
    font-weight: 800;
    font-variant: small-caps;
    margin: 0;
}

#main-content .l-col h2 {
    color: #FF0000;
    margin-bottom: 25px;
}

#main-content h3 {
    font-size: 12pt;
    font-weight: normal;
    text-transform: uppercase;
    margin: 40px 0 20px 0;
}

#main-content p {
    font-size: 12pt;
    font-weight: lighter;
    color: #040404;
    line-height: 1.1em;
}

#main-content .half-block p img {
width: 60px;
}
#main-content .half-block td.st-6 {
padding-top: 50px;
padding-right: 10px;
}

#programs {
    color: white;
    background-color: #D0B38B;
    overflow: auto;
    display: block;
    padding: 0 0 65px 0;
}

#programs .l-col {
}

#programs-title, #comments h1 {
    color: #293E4A;
    font-size: 36pt;
    font-variant: small-caps;
    font-weight: 800;
    margin-left: 15px;
}

#comments h1 {
    margin: 0 0 30px 15px;
}

#text-actions-p2 {
background: #f6a5c7;
padding: 35px 0px;
font-size: 18px;
}

.programs-list-cc {
//width: 1000px !important;
//margin: 0 auto !important;
}
.items-b3 {
margin: 0px 20px;
}
.items-b3 .title-b3 {
font-family: 'Open Sans', sans-serif;
font-size: 22px;
margin: 15px 0px;
min-height: 80px;
}
.items-b3 .price-b3 {
border-bottom: 1px solid #000;
margin: 20px 0px;
}
.items-b3 .price-b3 span {
float: right;
}
.items-b3 .date-b3 {
border-bottom: 1px solid #000;
margin: 20px 0px;
min-height: 30px;
}
.items-b3 .date-b3 span {
float: right;
overflow: hidden;
}
.items-b3 .link-b3 a {
display: block;
background: #FEDD2E;
text-decoration: none;
width: 180px;
text-align: center;
margin: 0 auto;
padding: 10px 0px;
}
.title-b3-1 {
text-align: center;
font-size: 28px;
padding: 20px 10px;
}

#program-text ul li, .trainer-info ul li {
background: url('/assets/static/images/home/li.png');
padding: 15px 0 10px 40px;
background-repeat: no-repeat;
list-style-type: none;
background-position: 0 50%;
}

.text-block-teor-praktik > div {
border: 3px solid #6b6868;
border-radius: 12px;
background: #f3f1f1;
padding: 0px 15px;
margin-bottom: 10px;
}

#programs ul, #comments ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#programs li, #comments li {
    border-left: 5px solid #D0B38B00;
    padding: 5px 0 5px 10px;
    text-transform: uppercase;
    line-height: 1.1em;
}

#programs li a {
    color: white;
    text-decoration: none;
}

#comments li a, #comments li.active {
    color: #293E4A;
    text-decoration: none;
}

#programs li.active, #comments li.active {
    border-left-color: #FEDD2E;
}

#programs h1 {
    font-size: 19pt;
    font-weight: bolder;
    text-transform: uppercase;
    margin: -10px 0 10px 0;
}

#program-properties {
    color: #293E4A;
    font-size: 16pt;
    text-transform: lowercase;
    margin-bottom: 30px;
}

#program-headline-wrapper p {
    font-size: 16pt;
    line-height: 1.1em;
    margin-left: 35px;
}

#comments {
    overflow: auto;
    background-color: #F6F3F2;
    background-image: url(images/program/background.jpg);
    background-repeat: repeat;
}

#main p {
    font-size: 16pt;
    line-height: 1.1em;
}

#introtext {
    margin: 0.5em 0 1.5em 0;
}

footer {
    height: 250px;
}

a.button {
    font-size: 16pt;
    font-weight: bolder;
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 25px;
    background-color: #293E4A;
    color: #FEDD2E;
}

a.button.small {
    padding: 8px 10px;
    font-size: 12pt;
}

.program-card {
    display: block;
    width: 560px;
    height: 314px;
    box-shadow: 0px 12px 2px -5px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: white;
    position: relative;
}

.program-card > div {
    max-width: 250px;
    position: absolute;
    left: 305px;
}

.program-card .title {
    top: 40px;
    text-transform: uppercase;
}

.program-card .date {
    top: 140px;
    font-size: 24pt;
    font-variant: small-caps;
    font-weight: 800;
}

.program-card .price {
    font-size: 38pt;
    font-weight: bold;
    position: absolute;
    bottom: 5px;
}

.program-card .price span {
    font-size: 26pt;
    font-weight: normal;
}

.program-card .program-dates {
    width: 160px;
    margin-top: 11px;
}

.program-card .program-date input[type="radio"] {
    display: none;
}

.program-card .program-date {
    margin: 5px 0;
}

.program-card .program-date label {
    display: block;
    width: 100%;
    border: 1px solid transparent;
    font-size: 16pt;
    font-weight: lighter;
    font-variant: small-caps;
    text-align: center;
    color: white;
    cursor: pointer;
}

.program-card .program-date label:hover {
    border: 1px solid white;
}

.program-card .program-date input[type="radio"]:checked + label {
    color: black;
    background: white;
}

.program-brief {
    margin-left: 68px;
}

#programs-link {
    margin-left: 68px;
    position: absolute;
    bottom: 36px;
}

#program-details {
    overflow: auto;
    background: #F6F3F2 url(images/program/background.jpg) repeat;
    display: block;
    padding: 50px 0;
}

#program-text-title {
    color: #FF0000;
    font-size: 29pt;
    font-variant: small-caps;
    font-weight: 800;
}

#program-text {
    font-size: 12pt;
    font-weight: lighter;
    float: left;
    width: 560px;
}

#program-trainers {
    float: left;
    width: 360px;
    margin-left: 30px;
}

#program-text h2 {
    color: #293E4A;
    font-weight: 800;
    text-transform: uppercase;
}

#program-text h3 {
    font-weight: bolder;
}

#comments-title {
    color: #FEDD2E;
    font-size: 29pt;
    font-variant: small-caps;
    font-weight: 800;
    margin-top: 0;
}

.num, .num_select {
    font-size: 12pt;
    text-transform: uppercase;
    min-width: 70px;
    height: 16px;
    padding: 10px;
    font-weight: bold;
}

.num a {
    text-decoration: none;
    color: black;
}

.num_select {
    background-color: #293E4A;
    color: #FEDD2E;
}

#program-trainers h2 {
    color: #293E4A;
    font-size: 29pt;
    font-variant: small-caps;
    font-weight: 800;
    margin-top: 0;
}

.trainer-title {
    display: flex;
    align-items: center;
}

.program-trainer {
    margin: 0 0 32px 0;
}

.program-trainer img {
    float: left;
    width: 91px;
    height: 91px;
}

.program-trainer .trainer-name {
    float: left;
    font-weight: lighter;
    font-size: 18pt;
    line-height: 1em;
    margin-left: 20px;
}

.trainer-info {
    font-size: 12pt;
    font-weight: lighter;
}

a.button + span {
    color: #293E4A;
    font-size: 12pt;
}

.arrow-up {
    position: absolute;
    bottom: -35px;
    left: 30px;
}

.three-col-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.three-col-layout .col {
    flex-grow: 1;
    flex-basis: 30%;
    max-width: 280px;
}

.three-col-layout h2 {
    color: #18323F;
    font-size: 15pt;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 28px;
}

.three-col-layout p {
    font-size: 12pt;
    font-weight: lighter;
    color: #040404;
    line-height: 1.1em;
}

#company-info {
    color: #040404;
    margin-top: 52px;
}

#company-links {
    margin-top: 43px;
}

#company-links > div {
    float: left;
}

.seostudiolink {font-size: 12px; display: inline-block; margin-top: 5px;}

#company-links::after {
content: "";
float: none; clear: both; display: table;
}

#vse-samo, #vse-samo a {
    color: #b3b3b3;
    font-weight: lighter;
}

#vse-samo {
    position: relative;
    left: 480px;
}

#trainers img {
    width: 245px;
    height: 245px;
    float: none;
}

#trainers .program-trainer {
    margin-bottom: 60px;
}

#trainers .program-trainer .trainer-name {
    float: none;
    margin: 0 0 20px 0;
}

#trainers > div > h2 {
    color: #293E4A;
    font-size: 29pt;
    font-variant: small-caps;
    font-weight: 800;
    margin-top: 0;
}

.ec-author {
    font-weight: lighter !important;
    font-size: 18pt !important;
    line-height: 1em !important;
}

.ec-message {
    margin-bottom: 50px !important;
    padding: 0 !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.ec-message p {
    margin: 10px 0 0 0 !important;
    font-size: 12pt !important;
    font-weight: lighter !important;
}

.ec-message__date {
    font-size: 12pt !important;
    font-weight: lighter !important;
    color: black !important;
    padding: 0 !important;
}

.ec-message__reply {
    background: white url('images/sign.svg') no-repeat top 10px left 25px !important;
    padding: 30px 30px 30px 120px !important;
    min-height: 40px !important;
    margin-top: 10px !important;
    color: #293E4A !important;
}

.ec-message__reply p {
    font-weight: normal !important;
    margin: 0 !important;
}

p.important {
    margin-top: 60px;
    font-size: 18pt;
}

#price-modifications {
    overflow: auto;
}

.price-modification {
    width: 50%;
    float: left;
    display: table-cell;
    text-align: center;
    color: #293E4A;
    font-weight: lighter;
    margin-top: 25px;
}

.price-modification .exists {
    display: none;
}

.ms2_form button, .ms2_form a.link-button {
    height: 50px;
    border-radius: 0;
    border: 1px solid #293E4A;
    background-color: transparent;
    text-transform: uppercase;
    font-size: 15pt;
    color: #293E4A;
    font-weight: lighter;
    padding: 0 15px;
    cursor: pointer;
}

.ms2_form .default button, .ms2_form a.link-button {
    background-color: #293E4A;
    font-weight: bold;
    color: #FEDD2E;
}

.default div {
    font-weight: bold;
    font-size: 12pt;
}

.ms2_form a.link-button {
    display: inline-block;
    text-decoration: none;
    padding-top: 10px !important;
    height: 40px;
    margin-top: 17px;
}

#order-page {
    color: white;
    background-color: #D0B38B;
    font-size: 16pt;
    padding-bottom: 80px;
    overflow: auto;
}

#order-page a {
    color: white;
}

#order-page h1 {
    margin: 0;
    color: #293E4A;
    font-size: 36pt;
    font-variant: small-caps;
    font-weight: 800;
}

#order-page .sign {
    position: relative;
    top: -60px;
    left: -85px;
}

#order-page .payment {
    font-weight: lighter;
}

#msCart {
    margin-top: -50px;
}

#msCart .program-card {
    width: 470px;
    height: 263px;
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}

#msCart .program-card > div {
    max-width: 300px;
    position: absolute;
    left: 200px;
}

#msCart .program-card .title {
    top: 22px;
    font-size: 15pt;
}

#msCart .program-card .date {
    top: 114px;
    font-size: 18pt;
}

#msCart .program-card .price {
    top: 153px;
    font-size: 25pt;
	text-shadow: 0px 0px 5px #000000;
}

#msCart .program-card .price .currency {
    font-size: 18pt;
    font-weight: normal;
}

#msCart .program-card .price .total {
    font-size: 20pt;
}

#msCart .program-card .price .total .currency {
    font-size: 12pt;
    font-weight: lighter;
    text-transform: uppercase;
}

#msCart .program-card .price.full .total {
    text-decoration: line-through;
}

#msCart .program-card .price-comment {
    top: 190px;
    font-size: 12pt;
    font-weight: bolder;
    text-transform: lowercase;
    text-shadow: 0 0 4px #fff;
    color: #293E4A;
}
#msCart .ms2_form {
	text-align: right;
}
#msCart .btn-remove {
    width: 42px;
    height: 42px;
    font-weight: bolder;
    font-size: 28pt;
    padding: 0;
    margin: 0;
    line-height: 38px;
    color: rgba(255, 0, 0, .7);
    border: none;
	background: rgba(255, 255, 255, .6);
	padding-bottom: 5px;
}

.payment {
    overflow: auto;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.payment > div, .payment > img, .payment > button {
    margin-right: 15px;
}

.payment button {
    font-size: 16pt;
    font-weight: bold;
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 25px;
    background-color: #293E4A;
    color: #FEDD2E;
}

#msCart .total {
    font-size: 24pt;
    text-transform: uppercase;
    font-weight: bolder;
    margin-top: 15px;
}

#msOrder {
    margin-top: 20px;
}

#msOrderForm {
    margin-top: 20px;
}

#about {
    height: auto;/*750px;*/
    background: #F2F1EF url('images/about/background.jpg') no-repeat top right;
    display: block;
    overflow: auto;
    font-weight: lighter;
}

#about h1, #about h2 {
    margin: 50px 0 0 0;
    color: #293E4A;
    font-size: 36pt;
    font-variant: small-caps;
    font-weight: 800;
    line-height: 0.8em;
}

#about .audience h2 {
    color: #FF0000;
    font-size: 16pt;
    font-variant: none;
    text-transform: uppercase;
    margin: 0;
}

#about .audience {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

#about .motto {
    font-size: 24pt;
}

/* ---------------------------- */

.image-link {
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

/* This block of CSS adds opacity transition to background */
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

/* padding-bottom and top for image */
.mfp-no-margins img.mfp-img {
    padding: 0;
}

/* position of shadow behind the image */
.mfp-no-margins .mfp-figure:after {
    top: 0;
    bottom: 0;
}

/* padding for main container */
.mfp-no-margins .mfp-container {
    padding: 0;
}

/* aligns caption to center */
.mfp-title {
    text-align: center;
    padding: 6px 0;
}

.image-source-link {
    color: #DDD;
}

.without-caption {
    text-decoration: none;
    cursor: zoom-in;
    display: block;
    float: left;
}

.hidden {
    display: none;
}

.img-flip-horizontal {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.img-flip-vertical {
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipV;
    -ms-filter: "FlipV";
}

.button-caption button + span {
    color: #293E4A;
    font-size: 12pt;
}

.button-caption a.button, button {
    font-size: 16pt;
    font-weight: bold;
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 25px;
    background-color: #293E4A;
    color: #FEDD2E;
}

@media only screen and (min-width: 1100px) {
    .programs-list {
        position: relative;
        left: -100px;
        width: 510px;
    }
.programs-list-cc {
width: 1000px !important;
margin: 0 auto !important;
}
}

.programs-list > div {
    border-left: 5px solid transparent;
    padding: 5px 0 5px 10px;
    text-transform: uppercase;
    line-height: 1.1em;
    float: left;
    width: 380px;
}

.programs-list > div:nth-child(odd) {
    width: 90px;
    padding: 7px 10px 0 0;
    text-align: right;
    font-size: 10pt;
    font-weight: bold;
    text-transform: uppercase;
    color: #293E4A;
}

.programs-list a {
    color: #ffffff;
    text-decoration: none;
}

.programs-list .active {
    border-left-color: #FEDD2E;
}

.programs-list .active a {
    font-weight: bold;
}

.programs-list .closest-date {
    white-space: pre;
    color: #293E4A;
    font-size: 0.7em;
}

#comments .arrow, .l-col .arrow {
    position: relative;
    left: -90px;
    top: 20px;
}

#about .v-arrow {
    margin: -100px 0 0 210px;
    z-index: 9999;
}

@media only screen and (max-width: 1100px) {
    .programs-list > div:nth-child(odd) {
        display: none;
    }

    .programs-list {
        width: 410px;
    }

.programs-list .closest-date {
    font-size: 0.5em;
}
}

.review_list {
    margin-bottom: 50px;
}

#trainers .program-trainer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#trainers .program-trainer li {
    line-height: 0.9em;
    margin-bottom: 8px;
}

#trainers .program-trainer img {
    box-shadow: 0px 12px 2px -5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

#trainers {
    background: #F6F3F2 url(images/program/background.jpg) repeat;

}

#photogallery h2 {
    color: #FEDD2E;
    font-size: 29pt;
    font-variant: small-caps;
    font-weight: 800;
    margin-top: 0;
}

.payment-disabled {
color: #293E4A;
font-size: 16pt;
font-weight: lighter;
    margin: 30px 0 0 35px;
}

.sberbank {
color: #000000;
font-size: 16pt;
font-weight: lighter;
    margin: 10px 0 0 35px;
}

.footnote:before { content: '* '; }
a.footnote {
text-decoration:none; 
color: #FF0000;
}

#note {
margin-left: -12px;
}

@media (max-width: 1000px) { 

header > div > img, header .logo, nav ul, #program-text, #company-info, p.important, p.feedback {
margin-left: 15px;
}

.three-col-layout {
margin-left: 15px;
}

#main-facts .three-col-layout .col, #about-facts .three-col-layout .col {
flex-basis: auto;
    max-width: inherit;
}

#trainers .three-col-layout .col {
flex-basis: 45%;
    max-width: inherit;
}

.three-col-layout h2 {
    font-size: 9pt;
}

.three-col-layout p {
    font-size: 10pt;
hyphens: auto;
}

#trainers .program-trainer li {
font-size: 10pt;
margin-bottom: 0.5em;
hyphens: auto;
}

#company-links {
     padding-left: 15px;
}

#about {
background: none;
}

#about .l-col {
width: auto;
}

#about .audience h2 {
    font-size: 10pt;
}

#about .audience div {
    font-size: 20pt;
}

#about .v-arrow {
    margin: -100px 0 0 280px;
}

#main-content .half-block {
margin-left: 15px;
}

.l-col {
    width: 500px;
}

#programs h1 {
margin-top: 5px;
}

#program-text, #program-trainers {
width: auto;
float: none;
padding: 0 10px;
}

#program-trainers {
    margin-top: 80px;
}

.program-trainer {
margin-bottom: 80px;
}

.program-trainer img {
width: 244px;
height: 244px;
}

#program-details .program-trainer .trainer-name {
     font-size: 38pt;
}

#trainers .program-trainer .trainer-name {
     font-size: 12pt;
}

header > div, footer > div, #menu > div, section > div {
width: auto;
}

nav a {
    font-size: 20pt;
}

#default-page {
padding: 0 15px;
}

#main h1, #main-content h2, #programs-title, #comments h1, .program-card .date, .program-card .program-date label, 
#program-text-title, #comments-title, #program-trainers h2, #trainers > div > h2, #order-page h1, 
#about h1, #about h2, #photogallery h2 {
    font-variant: none;
text-transform: uppercase; 
}

.arrow, .v-arrow {
display: none;
}

#vse-samo {
    left: 380px;
}


}

.block-ico-result > div{
display: inline-block;
width: 30%;
vertical-align: top;
}
.block-ico-result > div > img {
display: block;
width: 70%;
margin: 10px auto;
}
.block-ico-result div > div {
text-align: center;
color: #18323F;
}

#gallery-pagec img {
width: 300px;
}
img.img-otzyvy-i {
float: left;
margin: 2px 10px 15px 2px;
}
#gallery-pagec h2 {
color: #293E4A;
}