body {
    font-family: 'Bitter', sans-serif;
    font-size: 20px;
    min-width: 299px;
}

.container-fluid {
    padding: 0;
}

.btn-danger {
    background: #ffff00;
    border-color: #007a99;
}
.btn-lg{
    color: #007a99;
}
.btn {
    text-shadow: 1px 0px 0px #000000;
}

.sh_btn_right_bottom {
    bottom: 100px !important;
}
 .niz .row{
        padding-top: 46px;
        padding-bottom: 46px;
    }
h2 {
    margin: 3% auto 3%;
    color: #007a99;
    font-size: 2em;
    font-weight: bold;
}


#programs,
#advantages,
#workflow,
#feedback {
    font-size: 16px;
}

.header,
#brief_advantages,
#programs,
#advantages,
#teachers,
#workflow,
#workflow_small,
#feedback {
    background: url('../img/line.png') no-repeat bottom;
    padding-bottom: 2%;
}


/*FORM*/

.header form,
#contacts form {
    background: rgba(255, 255, 255, .5);
    width: 80%;
    border: 1px solid gray;
    border-radius: 10px;
    box-shadow: 0 2px 9px -1px black;
    padding: 0 5%;
}

.header .form-control,
#contacts .form-control {
    margin-top: 10%;
    margin-bottom: 10%;
    font-size: 1.1em;
    height: 1.9em;
}

form p {
    font-size: .5em;
}


/*first_screen_container*/

#first_screen_container {
    background: url('../img/first_screen_container.jpg') no-repeat;
    background-position: 60% 50%;
    background-size: cover;
    /*box-shadow: 0 0 50px 1px #51c0f0;*/
    position: relative;
}


/*цвет основного фона*/

.wrapper {
    background: #fcffff;
}




/*MENU*/

#menu,
#header {
    background: rgba(255, 255, 255, .5);
    /*padding-top: 10px;*/
}

#menu .row {
    width: 90%;
    margin: auto;
}

#menu #menu_contacts {
    display: inline-block;
}

.tel:hover {
    text-decoration: none;
}

#right-menu p {
    font-size: 1.3em;
}


/*HEADER*/

.header {
    padding-top: 50px;
}


.header .header_bottom,
.sale>div,
.sale p {
    width: 75%;
    margin: auto;
}

.header .header_h1 {
    color: #21428a;
    margin-bottom: 1%;
}

/*.header_h1 h1,*/
.sale h2 {
    font-size: 2.2em;
}

.header_h1 h1 {
    font-weight: 700;
    border: 2px solid  #448eea;
    /*border-radius: 0 0 20px 20px;*/
    background-color: rgba(255, 255, 255, .8);
    font-weight: 1.6em;
    padding: 12px;
    border-top: none; 
    border-bottom: none; 
    border-radius: 30px/90px;
}


.sale {
    /*position: absolute;*/
    /*top: 5%;*/
    /*left: 0%;*/
    /*background: url('../img/sale_img.png') no-repeat;*/
    background-size: contain;
    min-height: 300px;
    background-position: 50% 50%;
    color: white;
    text-shadow: 2px 2px 4px #000000;
}

.sale h2 {
    margin-top: 9%;
    margin-bottom: 6%;
    color: white;
    text-shadow: 2px 2px 4px #000000;
}

.rotate_bg{
    display: inline-block;
    position: relative;
    z-index: 2;
}

.rotate_bg:after{
    content: '';
    width: 120%;
    height: 100%;
    background: red;
    display: inline-block;
    position: absolute;
    top: 0;
    left: -10%;
    transform: rotate(-1deg);
    z-index: -1;
}
.stripped_sign{
    position: relative;
}

.stripped_sign:after,
.stripped_sign:before{
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -20%;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 50px;
    transform-origin: 100% 0;
}
.stripped_sign:after{
    background: rgba(255, 0, 0, .5);
    transform: rotate(-1deg);
}
.stripped_sign:before{
    background: rgba(255, 0, 0, .9);
    transform: rotate(-1.9deg);
}

.header_h1 p,
.sale p {
    font-size: 1em;
}

#timer {
    margin-top: 1%
}

#timer span {
    font-size: 2.2em;
    color: #21428a;
}

#timer .timer_cell {
    display: inline-block;
    /*width:23%;*/
}

#timer .timer_key {
    font-size: 1em;
}

.countdown {
    margin-top: 1%
}

.countdown span {
    font-size: 2.2em;
    color: #21428a;
}

.countdown .timer_cell {
    display: inline-block;
    /*width:23%;*/
}

.countdown .timer_cell span {
    color: #21428a;
}

.countdown .timer_key {
    font-size: 1em;
}


/*BRIEF_ADVANTAGES*/

#brief_advantages {
    padding: 1% 1% 0%;
    font-size: 1em;
    line-height: 1.5em;
}

#brief_advantages span {
    font-size: 5em;
    color: #21428a;
}

#brief_advantages .row {
    margin: 5% auto;
}


/*цвет иконок 2-го скрина*/

#brief_advantages strong {
    color: red;
}


/*PROGRAMS*/

#programs h2 {
    margin-bottom: 3%;
}

#programs .head-no-margin {
    margin: 1%;
}


#programs .programs_description p {
    background: url('../img/programs_check.png') no-repeat;
    padding-left: 50px;
    min-height: 40px;
    padding-top: 9px;
}


.programs_img {
    position: relative;
}

.programs_img .slogan {
    /*position: absolute;
    top:80%;
    left:18%;*/
    color: black;
    margin: 0;
    font-style: oblique;
    min-height: 44px;
}

#programs img {
    margin: auto;
    /*width:200px;
    height:200px;*/
}

#programs .btn {
    display: table;
    margin: 0 auto;
    text-align: center;
    font-weight: 600;
    width: 70%;
}

#programs .btn-info {
    background: #1f6dbf;
    border: 1px solid #1f6dbf;
}

#programs .btn-info:hover {
    background: blue;
}

#modal2 .btn-info,
#modal3 .btn-info,
#modal4 .btn-info {
    width: 100%;
    background: #1f6dbf;
    border: 1px solid #1f6dbf;
}

#modal2 .btn-info:hover,
#modal3 .btn-info:hover,
#modal4 .btn-info:hover {
    background: blue;
}

#programs #programs_center {
    border-left: 1px solid black;
    border-right: 1px solid black;
}

#programs #programs_center h3 {
    white-space: nowrap;
}


/*ADVANTAGIES*/

#advantages h2 {
    margin: 2% auto;
}

@media screen and (min-width: 992px) {
    #advantages .col-sm-6 {
        padding-left: 5%;
        padding-right: 5%;
    }
}
.tt{
    float: left;
    
}

#advantages .col-sm-6 p {
    margin: 0;
}

#advantages .advantages_neg, #advantages .advantages_pos{
    background-repeat: no-repeat;
    display: table;
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

#right-menu .tel {
    color: #23527c;
}

#right-menu .tel:hover, #right-menu .tel:focus {
    color: #337ab7;
}

.yes-no h3 > span {
    position: relative;
    display: block;
    width: 50%;
    float: left;
}

.yes-no h3 > span.slash {
    display: none;
}

.yes-no h3 {
    text-align: center;
    font-weight: 600;
    color: #21428a;
}

form h3 {
    font-weight: 600;
    color: #21428a;
}

form .btn {
    display: table;
    margin: 0 auto;
}

@media screen and (max-width: 991px) {
    form .btn {
        white-space: inherit;
    }
}

@media screen and (max-width: 767px) {
    .yes-no h3 > span {
        display: inline;
        width: inherit;
        float: none;
    }

    .yes-no h3 > span.slash {
        display: inline;
    }
}

#advantages .advantages_neg {
    background-image: url(../img/ico_1.png);
}
#advantages .advantages_pos {
    background-image: url(../img/ico_2.png);
}

.advantages_neg + div, .advantages_pos + div  {
    display: table;
}

.advantages_neg + div * {
    color: red;
}

.advantages_pos + div * {
    color: green;
}
#advantages [class^='col-'] { margin-bottom: 30px; }

@media screen and (min-width: 768px) {
    #advantages [class^='col-'] { margin-bottom: 20px; }
}



#advantages .col-sm-6 p:nth-child(2) {
    color: black;
}



/*здесь можно изменить размеры картинок радосной-грустной Монро
но смотрится плохо..:(*/

#advantages img {
    margin: auto;
    width: 300px;
    height: 200px;
}


/*TEACHERS*/

#teachers h2 {
    margin: 2% auto 8%;
}

#teachers .row {
    width: 80%;
    margin: auto;
}

#teachers .teachers_inner {
    position: relative;
    border: 2px solid #6ad6fb;
    border-radius: 10px;
    min-height: 213px;
}

#teachers img {
    position: absolute;
    /*top:-17%;
    left:37%;*/
    left: 50%;
    transform: translate(-50%, -50%);
}

#teachers h3 {
    color: #06bbf9;
    margin: 22% auto 10%;
}

#teachers p {
    font-size: .7em;
    padding: 0 5% 10%;
    text-align: left;
}


/*WORKFLOW*/

#workflow_small {
    display: none;
}

#workflow .row {
    margin-bottom: 3%;
}

#workflow .col-md-6 {
    display: inline-block;
    width: auto;
}

#workflow .col-md-12 {
    width: 300px;
}

.workflow_group {
    width: 300px;
}

.workflow_group div {
    float: left;
    position: relative;
}

.workflow_text {
    width: 200px;
    margin-top: 5%;
    /*font-size: 20px;*/
}

.workflow_pic {
    width: 90px;
    height: 90px;
    margin: 5px;
    border: 1px dashed black;
    border-radius: 50%;
}

.workflow_pic span {
    color: #6e0202;
    font-size: 3em;
    margin-left: 22px;
    margin-top: 20px;
}

.workflow_group_1 {
    top: 0;
    left: 70px;
}

.workflow_group_2 {
    top: 0;
    left: 180px;
}

.workflow_group_3 {
    top: -50px;
    left: 200px;
}

.workflow_group_4 {
    top: -30px;
    left: 300px;
}

.workflow_group_5 {
    top: -83px;
    left: 502px;
}

.workflow_group_6 {
    top: 17px;
    left: 90px;
}

.arrow_up_2 {
    position: absolute;
    top: 50px;
}

.arrow_up_1 {
    position: absolute;
    top: -15px;
}

.arrow_down_right {
    position: absolute;
    top: 90px;
    left: 100px;
}

.arrow_down {
    position: absolute;
    top: 40px;
    left: -55px;
}


/*FEEDBACK*/

#feedback {
    padding-bottom: 1%;
}

#feedback .row {
    margin-bottom: 3%;
}

#feedback .item>div {
    /*min-height: 480px;*/
}

#feedback img,
.feedback_img {
    border-radius: 50%;
}

.feedback_img {
    position: relative;
    padding: 3%;
    border: 1px dashed black;
    display: inline-block;
    z-index: 1;
}

.feedback_img span {
    position: absolute;
    top: 80%;
    left: 10%;
    font-size: 2em;
    color: #007a99;
    z-index: -1;
}


#feedback .carousel-inner {
    width: 90%;
    margin: auto;
}

#feedback .carousel-control {
    background-image: none;
    width: 5%;
}

#feedback .carousel-control span {
    color: black;
}


/*FOTO*/

#foto {
    padding: 3% 15px;
    background: url('../img/line.png') no-repeat bottom;
}

#foto img {
    display: inline-block;
    height: 241px !important;
}

#foto ul li {
    width: 30%;
}

.carousel-indicators {
    top: 100%;
}

.carousel-indicators li {
    background: black;
    border: 1px solid black;
}

#foto .carousel-control {
    background-image: none;
    width: 5%;
}

#foto .carousel-control span {
    color: black;
}


/*CONTACTS*/

#contacts {
    position: relative;
}

#contacts #map {
    width: 100%;
    height: 400px;
}

#contacts form {
    width: 317px;
    padding: 0 2%;
    position: absolute;
    top: 24%;
    left: 15%;
}

#contacts form h3 {
    margin-top: 0;
}

#contacts h2 {
    margin: 5% auto 2%;
}

.baloon {
    background: rgba(255, 255, 255, .5);
}


/*FOOTER*/

#footer h2 {
    color: #007a99;
    margin-top: 5%;
}

#footer a {
    font-size: 1.5em;
    padding-left: 15px;
}

#footer .col-xs-3 p {
    font-size: 12px;
}

#footer .footer_phone {
    width: 60px;
    
}

#footer .col-sm-6{
    padding-top: 15px;
}
.names {
    margin-top: 3%;
}


/*BTN_UP*/

.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /* image replacement properties */
    overflow: hidden;
    /*text-indent: 100%;*/
    white-space: nowrap;
    background: rgba(232, 98, 86, 0.8);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-top {
    display: table;
}

.cd-top:hover {
    text-decoration: none;
}

.cd-top:focus {
    text-decoration: none;
}

.cd-top span {
    display: table-cell;
    vertical-align: middle;
    font-size: 20px;
    color: white;
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
}

.cd-top.cd-fade-out {
    /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
    opacity: .5;
}

.cd-top:hover {
    background-color: #e86256;
    opacity: 1;
}


/*Modal */

#myModal {
    margin-top: 30px;
    width: auto;
}

#myModal .modal-dialog {
    max-width: 55%;
    width: auto;
}

#myModal .modal-dialog img {
    margin: auto;
}


.school{
    text-align: center;
}
.student{
    text-align: center;
}


@media screen and (max-width:1199px) {
    #programs .programs_description p {
        min-height: 53px;
    }
    .header .row,
    #teachers .row {
        width: 100%;
    }
    #feedback .item>div {
        min-height: 270px;
    }
    .feedback_img {
        float: left;
    }
    .feedback_inner {
        border-bottom: 2px dashed #007a99;
        padding: 1%;
        width: 80%;
        margin: auto;
    }
}

@media screen and (max-width:991px) {
    body {
        font-size: 16px;
    }
    h3 {
        font-size: 20px;
    }
    .header_h1 h1 {
        font-size: 1.7em;
    }
    .header form {
        width: 100%;
    }
    #programs .btn {
        font-size: 15px;
        padding: 10px 10px;
        margin-bottom: 1%;
    }
    #teachers img {
        position: static;
        transform: none;
    }
    #teachers h3 {
        margin-top: 1%;
    }
    #workflow {
        display: none;
    }
    /*WORKFLOW < 992px*/
    #workflow_small {
        display: block;
        padding: 0;
    }
    .workflow_group {
        width: auto;
    }
    .workflow_group div {
        float: none;
    }
    #workflow_small .workflow_pic {
        float: left;
    }
    .workflow_text {
        width: auto;
        padding-top: 5%;
    }
    .form-container{
  position:relative; 
    }
        .header .header_bottom, .sale>div, .sale p {
    text-align: center;
}

#foto img {
    height: 152px !important;
}

    #contacts form {
    width: 238px;
    padding: 0 2%;
    position: absolute;
    top: 24%;
    left: 0%;
}
.niz{
    background-position: 34% 50% !important;
}

.verkh{
    background-position: 34% 50% !important;
}
.header .header_bottom, .sale>div, .sale p {
    text-align: center;
}
#foto img {
    height: 150px !important;
}
.verkh .sale h2 {
    font-size: 2.2em;
    padding-top: 0px;
}
.niz .sale h2 {
    font-size: 2.2em;
    padding-top: 24px;
}
}

@media screen and (max-width:767px) {
    #first_screen_container {
        box-shadow: none;
    }
    .header .header_bottom, .sale>div, .sale p {
    width: 100%;
    margin: auto;
    text-align: center;
}
.header {
    padding-top: 0px;
}
    
    .header .header_h1 {
        margin-bottom: 0;
    }
    .sale{
        min-height: auto;
        padding-bottom: 4%
    }
    .sale h2 {
        margin-top: 0;
        margin-bottom: 4%;
        /*padding-top: 9%;*/
    }
    #timer {
        text-align: center;
    }
    .header form {
        width: 320px;
        margin: auto;
    }
    .brief_advantages_inner {
        border-top: 4px solid #6e0202;
        border-top-left-radius: 62%;
        border-top-right-radius: 62%;
    }
    #programs .programs_description p {
        min-height: 40px;
    }
    .programs_description {
        text-align: center;
    }
    .advantages_neg {
        display: none;
    }
    #teachers h3 {
        margin: 0;
    }
    #teachers p {
        padding: 0;
    }
    #teachers .teachers_inner {
        width: 80%;
        margin: 0 auto 1%;
        min-height: auto;
    }
    /*workflow*/
    #workflow_small {
        padding: 0;
    }
    #workflow_small .row {
        margin: 0
    }
    #workflow_small .row > div {
        padding: 0;
    }
    .workflow_text {
        margin-top: 0;
    }
    #foto .img-responsive {
        display: inline-block;
    }
    .carousel-inner>div>div {
        margin-bottom: 1%
    }
    #map {
        display: none;
    }
    #contacts form {
        position: static;
        margin: auto;
    }
            .verkh {
    background-position: 83% 50% !important;
}
.niz {
    background-position: 95% 50% !important;
}


#foto img {
    height: 152px !important;
}

        .verkh {
    background-position: 88% 50% !important;
}
.niz {
    background-position: 91% 50% !important;
}
.info .col-md-12 p, a{
        float: none !important;
        padding-top: 0px;

    }
}

@media screen and (max-width:501px) {
    h2 {
        font-size: 1.5em
    }
    #menu .container {
        padding: 0;
    }
    #menu .row {
        width: 100%;
    }
    #right-menu a {
        font-size: 1em;
    }
    #right-menu p {
        font-size: 1em
    }
    .header_h1 h1,
    .sale h2 {
        font-size: 1.5em
    }
    .header_h1 p,
    .sale p {
        font-size: 1.2em
    }
    #timer span {
        font-size: 1.5em
    }
    .header .row .col-sm-5 {
        padding: 0;
    }
    .header form {
        width: 275px;
    }
    #feedback .item>div {
        min-height: auto;
    }
    .feedback_img {
        float: none;
    }
    #feedback .carousel-inner {
        width: auto;
    }
    #feedback .feedback_inner {
        width: auto;
    }
    #contacts form {
        width: 275px;
    }
    #player{
        display: none;
    }
    #footer a {
        padding-left: 5px;
    }
    #footer .footer_phone {
        width: 30px;
        vertical-align: bottom;
    }
    #foto img {
        max-height: 195px !important;
    }
    .gform: {
    left: 0px; 
    width: 100%;
    }
    .info .col-md-12 p, a{
        float: none !important;
        padding-top: 10px;
    }
    #footer .col-sm-6 {
    padding-top: 5px;
}
}