.image-container {
    display: flex;
    justify-content: center;
}
.image-container img {
    width: 100%;
    height: auto;
}

.miniHeader {
    display: none
}
.fat-woman {
    max-width: 100%;
}
@media screen and (max-width: 960px) {
    #wrapper {
        width: auto !important
    }

    .footer-text {
        width: 100% !important
    }

    .miniHeader {
        display: block;
        width: 100% !important
    }

    #header {
        background: 0 0;
        width: auto !important;
        height: auto !important;
        height: auto;
        padding: 0
    }

    .devushka-block img, .malahov-block img {
        width: 100%
    }

    img {
        max-width: 490px;
        width: 100%;
        margin: 0 auto;
        /*width: 100% !important;*/
        height: auto !important
    }

    iframe {
        width: 100% !important
    }

    .area {
        float: none !important;
        /*width: auto !important*/
    }

    .photo img {
        /*width: 74px !important;*/
        margin: 10px
    }
}

* {
    margin: 0;
    padding: 0
}

body {
    background-color: #f5f5f5;
    /*font-family: Tahoma, Arial, Helvetica, sans-serif;*/
    font-family: metropolis, Helvetica Neue, Sans-serif;
    font-size: 15px;
    line-height: 23px;
    width: 100%
}

a {
    color: #0a78c2;
    outline: medium none;
    text-decoration: underline
}

a:hover {
    text-decoration: none
}

p {
    margin: 0 0 11px;
    padding: 3px
}

img {
    border: medium none
}

h2 {
    margin: 10px 0;
    font-size: 19px
}

h4 {
    margin: 10px 0 25px;
    font-size: 19px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    display: inline-block
}

/*#wrapper {*/
/*    background-color: #fff;*/
/*    width: 960px;*/
/*    margin: 0 auto*/
/*}*/

/*#header {*/
/*    width: 960px;*/
/*    height: 460px;*/
/*    position: relative*/
/*}*/

#wrapper {
    background-color: #fff;
    max-width: 960px;
    width: 100%;
    margin: 0 auto
}

#header {
    max-width: 960px;
    width: 100%;
    height: 306px;
    position: relative
}

.header-date {
    position: absolute;
    left: 484px;
    top: 11px;
    font-size: 13px;
    color: #fff
}

#middle {
    padding: 20px;
    height: 1%;
    position: relative
}

#middle::after {
    content: "";
    clear: both;
    display: table
}
@media screen and (max-width: 479px) {
    #middle {
        padding: 10px;
    }
}

#container {
    width: 100%;
    float: left;
    overflow: hidden
}

#sideRight {
    float: left;
    width: 250px;
    margin-left: -250px;
    position: relative;
    margin-top: 20px
}

#footer {
    height: 15px;
    background: #faf6dd none repeat scroll 0 0;
    margin-top: 25px;
    padding: 20px;
    font-size: 12px
}

.footer-text {
    margin: 0 auto;
    text-align: left;
    width: 960px
}

.vk_name {
    font: bold 11px/140% Tahoma, Arial;
    color: #10639a
}

.vk_text {
    font: 11px/130% Tahoma, Arial;
    color: #000
}

.vk_info {
    font: 9px Tahoma, Arial;
    color: #777;
    margin-top: 3px
}

.item {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    height: 1%;
    margin-bottom: 15px
}

.photo {
    float: left
}

.photo img {
    position: absolute;
    margin: 35px 10px 0 15px;
    display: block;
    border-radius: 15px;
    width: 65px;
    height: 65px !important;
    object-fit: cover;
    object-position: center top;
}

.area {
    float: right;
    max-width: 100%;
    width: 100%;
}

.name {
    border: 1px solid #e7e5de;
    background: #fafafa none repeat scroll 0 0;
    padding: 0 11px
}

.name span.old-span {
    color: #da1f1f;
    line-height: 27px;
    font-family: roboto condensed;
    font-size: 17px
}

.item .time {
    float: right;
    color: #aaa;
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    padding: 0 0 0 20px
}

.name span em {
    color: #9e9494;
    font-size: 12px
}

.comment {
    min-height: 85px;
    border-style: solid;
    border-color: #e7e5de;
    padding: 5px 10px 5px 10px;
    border-width: 0 1px 1px;
    background: #fff none repeat scroll 0 0
}

.comment p {
    margin: 0;
    font-size: 15px;
    padding: 5px 5px 5px 80px
}
.comment p:first-of-type {
    min-height: 60px;
}

.comment img {
    display: block;
    margin: 15px auto 0;
}

.date {
    margin: 7px 0;
    font-style: italic
}

.malahov-block {
    background: url("malahov_ava.jpg") 0 8px no-repeat;
    padding-left: 80px;
    min-height: 80px;
    border-bottom: 1px solid #d4d4d4;
    padding-bottom: 10px;
    border-top: 1px solid #d4d4d4;
    padding-top: 17px
}

.devushka-block {
    background: url("pegova_ava.jpg") no-repeat;
    padding-left: 80px;
    min-height: 60px;
    margin: 20px 0 20px 0
}

.devushka-block img, .malahov-block img {
    height: auto
}
@media screen and (max-width: 470px) {
    .malahov-block,
    .devushka-block {
        padding-left: 65px;
    }
}

.project {
    width: 250px;
    height: 1056px
}

.ui-helper-clearfix::after, .ui-helper-clearfix::before {
    content: "";
    display: table;
    border-collapse: collapse
}

.ui-helper-clearfix::after {
    clear: both
}

.ui-helper-clearfix {
    min-height: 0
}

.ui-state-disabled {
    cursor: default !important
}

.ui-icon {
    display: block;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat
}

.ui-datepicker {
    padding: .2em .2em 0;
    display: none
}

.ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: .2em 0
}

.ui-datepicker .ui-datepicker-next, .ui-datepicker .ui-datepicker-prev {
    position: absolute;
    top: 2px;
    width: 1.8em;
    height: 1.8em
}

.ui-datepicker .ui-datepicker-prev {
    left: 2px
}

.ui-datepicker .ui-datepicker-next {
    right: 2px
}

.ui-datepicker .ui-datepicker-next span, .ui-datepicker .ui-datepicker-prev span {
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -8px;
    top: 50%;
    margin-top: -8px
}

.ui-datepicker .ui-datepicker-title {
    margin: 0 2.3em;
    line-height: 1.8em;
    text-align: center
}

.ui-datepicker table {
    width: 100%;
    font-size: .9em;
    border-collapse: collapse;
    margin: 0 0 .4em
}

.ui-datepicker th {
    padding: .7em .3em;
    text-align: center;
    font-weight: 700;
    border: 0 none
}

.ui-datepicker td {
    border: 0 none;
    padding: 1px
}

.ui-datepicker td a, .ui-datepicker td span {
    display: block;
    padding: .2em;
    text-align: right;
    text-decoration: none
}

.ui-widget {
    font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif;
    font-size: 1.1em
}

.ui-widget-content {
    border: 1px solid #ddd;
    background: #eee url("") repeat-x scroll 50% top;
    color: #333
}

.ui-widget-content a {
    color: #333
}

.ui-widget-header {
    border: 1px solid #ccc;
    background: #f6a828 url("") repeat-x scroll 50% 50%;
    color: #fff;
    font-weight: 700
}

.ui-widget-header a {
    color: #fff
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid #ccc;
    background: #f6f6f6 url("") repeat-x scroll 50% 50%;
    font-weight: 700;
    color: #1c94c4
}

.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled {
    opacity: .35;
    background-image: none
}

.ui-icon {
    width: 16px;
    height: 16px
}

.ui-icon, .ui-widget-content .ui-icon {
    background-image: url("")
}

.ui-widget-header .ui-icon {
    background-image: url("")
}

.ui-icon-circle-triangle-e {
    background-position: -48px -192px
}

.ui-icon-circle-triangle-w {
    background-position: -80px -192px
}

.ui-corner-all, .ui-corner-left, .ui-corner-tl, .ui-corner-top {
    border-top-left-radius: 4px
}

.ui-corner-all, .ui-corner-right, .ui-corner-top, .ui-corner-tr {
    border-top-right-radius: 4px
}

.ui-corner-all, .ui-corner-bl, .ui-corner-bottom, .ui-corner-left {
    border-bottom-left-radius: 4px
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-br, .ui-corner-right {
    border-bottom-right-radius: 4px
}

.nolink {
    cursor: pointer
}

.nolink {
    cursor: pointer
}

.mini {
    font-size: 80%
}

#headerFeedback {
    margin-top: 0;
    height: 10px;
    width: 100%;
    position: fixed;
    z-index: 102;
    background: red;
    -khtml-opacity: 0;
    opacity: 0
}

.screenLock {
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, .9) none repeat scroll 0 0;
    top: 0;
    left: 0;
    z-index: 99999;
    display: none
}

.msg {
    position: absolute;
    width: 550px;
    height: 360px;
    top: 150px;
    left: 50%;
    margin-left: -300px;
    background: #fab812;
    background: -moz-linear-gradient(left, #fab812 0, #fa5b12 100%);
    background: -webkit-gradient(left top, right top, color-stop(0, #fab812), color-stop(100%, #fa5b12));
    background: -webkit-linear-gradient(left, #fab812 0, #fa5b12 100%);
    background: -o-linear-gradient(left, #fab812 0, #fa5b12 100%);
    background: -ms-linear-gradient(left, #fab812 0, #fa5b12 100%);
    background: linear-gradient(to right, #fab812 0, #fa5b12 100%);
    box-shadow: 0 28px 50px -20px;
    border-bottom: 4px solid #fff
}

.msg > h1 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 20px 0;
    background: #dc3131;
    color: #fff;
    border-bottom: 1px solid #fff
}

.msg > h2 {
    color: #fff;
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 30px
}

.close {
    position: absolute;
    top: 1px;
    right: 5px;
    font-size: 40px;
    cursor: pointer
}

.submit {
    margin-top: 10px;
    height: 50px;
    width: 400px;
    background-color: #b22222;
    color: #fff;
    font-size: 30px;
    border-radius: 3px
}

.fig {
    text-align: center
}

.close {
    position: absolute;
    top: -40px;
    right: -40px
}

.close img {
    width: 30px
}

.popupdesc {
    color: #fff;
    text-align: left;
    padding: 20px;
    font-size: 22px;
    font-weight: 700
}

img.pic_rounded.align-left {
    border-radius: 100%;
    width: 160px !important;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px
}

.popuplink {
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid;
    clear: both;
    text-align: center;
    margin: 0 20px;
    padding: 20px 10px;
    font-size: 30px;
    color: #fff;
    border-radius: 5px
}

.popuplink:hover {
    color: #6e0b94;
    transition: all .5s
}

a.submit-popup {
    text-decoration: none
}

.history {
    background: #ecf2ff;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px
}

.history p {
    text-align: left
}

.history-label {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 24px;
    color: #2f50a0
}

.pegova-order {
    background: url("pegova_order.png") center 0 no-repeat;
    width: 100%;
    height: 326px;
    text-align: left;
    font-size: 14px;
    color: #159f7b;
    position: relative
}

.pegova-order span {
    position: absolute;
    bottom: 4px;
    left: 40%;
    background: #d9ff24;
    padding: 2px 8px;
    color: #000
}

.left-pic {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    width: 170px;
    font-size: 14px;
    line-height: 1.2em
}

.left-pic img {
    margin-bottom: 7px
}

@media screen and (max-width: 639px) {
    .left-pic {
        float: none;
        margin: 20px auto;
    }
}

.medblock {
    background: #ecf2ff;
    padding: 20px;
    margin: 0
}

span.small {
    font-size: .75em;
    color: #000;
    text-shadow: none;
    text-transform: none;
    border-top: 1px solid;
    padding: 10px 0 10px 0;
    margin: 20px 0 20px 0;
    display: block;
    border-bottom: 1px solid
}

#content {
    font-size: 16px
}

.label-program {
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    margin: 40px 0;
    font-size: 28px;
    line-height: 1.2em
}

span.red {
    color: #db080e
}

span.green {
    color: green
}

.photo-desc {
    font-size: 14px;
    margin: 4px 0 10px;
    font-style: italic
}

.lead-footer-block {
    border: 12px solid #8c0300;
    padding: 40px;
    margin: 40px 10px;
    font-size: 20px;
    line-height: 1.3em;
    overflow: hidden;
    padding-top: 10px
}

.lead-footer-block-label {
    text-transform: uppercase;
    font-weight: 700;
    color: #ca1713;
    margin-bottom: 20px;
    text-align: center;
    font-size: 26px
}

.lead-footer-medium {
    margin-top: 20px;
    border-top: 1px solid;
    padding-top: 20px;
    font-size: 18px;
    line-height: 1.3em
}

.greenlink {
    background: green;
    padding: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    width: 80%;
    margin: 0 0 20px;
    border-radius: 5px;
    font-size: 26px;
    line-height: 1.4em;
    box-shadow: 0 30px 30px -30px #00000070
}

a.n-underline {
    text-decoration: none
}

.gradient {
    background-color: #7ac44d;
    background-image: url("");
    background-image: url(""), -webkit-gradient(radial, left bottom, 0, left bottom, 723, color-stop(0, #f3ef15), color-stop(1, #009885));
    background-image: -webkit-repeating-radial-gradient(left bottom, ellipse farthest-corner, #f3ef15 0, #009885 100%);
    background-image: repeating-radial-gradient(ellipse farthest-corner at left bottom, #f3ef15 0, #009885 100%);
    background-image: -ms-repeating-radial-gradient(left bottom, ellipse farthest-corner, #f3ef15 0, #009885 100%)
}

.lead-footer-block-pic {
    float: left;
    width: 100%;
    padding: 0 30px 0 0;
    max-width: 200px;
    margin-left: -15px;
}

.lead-footer-block-pic img {
    max-width: 100%
}

.lead-footer-block-desc {
    margin-left: 220px
}

span.im-caret {
    -webkit-animation: 1s blink step-end infinite;
    animation: 1s blink step-end infinite
}

@keyframes blink {
    from, to {
        border-right-color: #000
    }
    50% {
        border-right-color: transparent
    }
}

@-webkit-keyframes blink {
    from, to {
        border-right-color: #000
    }
    50% {
        border-right-color: transparent
    }
}

span.im-static {
    color: grey
}

div.im-colormask {
    display: inline-block;
    border-style: inset;
    border-width: 2px;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield
}

div.im-colormask > input {
    position: absolute;
    display: inline-block;
    background-color: transparent;
    color: transparent;
    -webkit-appearance: caret;
    -moz-appearance: caret;
    appearance: caret;
    border-style: none;
    left: 0
}

div.im-colormask > input:focus {
    outline: 0
}

div.im-colormask > input::-moz-selection {
    background: 0 0
}

div.im-colormask > input::selection {
    background: 0 0
}

div.im-colormask > input::-moz-selection {
    background: 0 0
}

div.im-colormask > div {
    color: #000;
    display: inline-block;
    width: 100px
}

@media screen and (max-width: 700px) {
    .lead-footer-block-pic {
        float: none;
        margin: 0 auto
    }

    .lead-footer-block-desc {
        margin-left: 0
    }
}

@media screen and (max-width: 500px) {
    .lead-footer-block {
        padding: 10px 10px 40px;
        font-size: 16px
    }
}

@media screen and (max-width: 480px) {
    ._1dcOy span {
        padding: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    .greenlink {
        margin: 0;
        width: 100%;
    }
}