/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

body {
    font-size: 16px;
    color: #332C2C;
    line-height: 1.5;
    font-weight: 500;
    background-color: #F3F3F3;
    font-family: 'Manrope', sans-serif;
}

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

.wrap {
    width: 1200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.mwrap {
    width: 100%;
    height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-left: auto;
    margin-right: auto;
}

header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 10px;
    align-items: flex-start;
}

.header__logo {
    width: 190px;
    margin-top: auto;
    margin-bottom: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-start;
}

.header__logo img {
    width: 100%;
}

.header__contacts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width: 400px;
    margin-top: auto;
    margin-bottom: auto;
}

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

.header__item img {
    width: 30px;
    height: 30px;
    margin-top: auto;
    margin-bottom: auto;
}

.header__item span {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 5px;
}

.fs {
    background: url(/images/419116882_xl-2015.jpg);
    width: 100%;
    height: 680px;
    background-size: cover;
    border-radius: 50px;
    margin-top: 10px;
}

.fs__quote {
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 150px;
    border: 1px solid #cacaca;
    border-radius: 20px;
    color: white;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 20px;
    position: relative;
}

.fs__num {
    font-size: 50px;
    margin-left: auto;
    margin-right: auto;
}

.fs__one, .fs__two, .fs__three {
    text-align: center;
}

.fs__one, .fs__two, .fs__three {
    display: none;
}

.fs__num, .fs__text {
    opacity: 0;
}

.fs__title {
    font-size: 60px;
    color: white;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.1;
    margin-top: 50px;
}

.fs__text {
    line-height: 1.1;
}

.about__content {
    width: 625px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-top: auto;
    margin-bottom: auto;
}

.about__img {
    width: 460px;
    border-radius: 50px;
}

.about {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 50px;
}

.about__minititle {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #1C4481;
}

.about__minititle span {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
}

.about__title {
    font-size: 44px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
}

.about__text p {
    margin-top: 10px;
}

.serv {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 100px;
}

.serv__name {
    width: 360px;
    height: 300px;
}

.serv__items {
    width: 750px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.serv__item {
    width: 48%;
    margin-bottom: 50px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.serv__item span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
}

.serv__img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 35px;
}

.serv__img img {
    position: absolute;
}

.serv__itemcontent {
    width: 85%;
}

.serv__itemtitle {
    font-weight: 700;
    color: #1C4481;
    font-size: 20px;
    line-height: 1.1;
}

.serv__itemtext {
    margin-top: 5px;
}

.serv__minititle span {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
}

.serv__minititle {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #1C4481;
}

.serv__title {
    font-size: 44px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ag {
    background-color: #1C4481;
    border-radius: 50px;
    color: white;
    padding-bottom: 100px;
    padding-top: 50px;
    margin-top: 50px;
}

.ag__content {
    width: 95%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-left: auto;
    margin-right: auto;
}

.ag__back {
    position: absolute;
    z-index: 1;
}

.ag__img {
    border-radius: 20px;
    width: 48%;
    z-index: 2;
}

.ag__one {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 50px;
}

.ag__title {
    font-size: 44px;
    font-weight: 700;
}

.ag__minititle {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.ag__minititle span {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
}

.ag__two {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 50px;
}

.ag__two p {
    width: 48%;
}

.exp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 100px;
}

.exp__content {
    width: 550px;
    margin-top: auto;
    margin-bottom: auto;
}

.exp__img {
    border-radius: 20px;
    margin-top: auto;
    margin-bottom: auto;
}

.exp__imgs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: auto;
}

.exp__imgs .exp__img:nth-child(1) {
    width: 230px;
}

.exp__imgs .exp__img:nth-child(2) {
    width: 250px;
    margin-left: 50px;
}

.exp__minititle span {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
}

.exp__minititle {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #1C4481;
}

.exp__title {
    font-size: 44px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
}

.map {
    width: 100%;
    height: 540px;
    margin-top: 100px;
    background-image: url(/images/map.jpg);
    border-radius: 50px;
}

[class*="ymaps-2"][class*="-ground-pane"] {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    /* Firefox 3.5+ */
    -webkit-filter: grayscale(100%);
    /* Chrome 19+ & Safari 6+ */
}

.contacts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 50px;
}

.contacts__content {
    width: 50%;
}

.contacts__minititle span {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
}

.contacts__minititle {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #1C4481;
}

.contacts__title {
    font-size: 44px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
}

.contacts__itemname {
    font-size: 14px;
    color: gray;
}

.contacts__item {
    margin-bottom: 30px;
}

.contacts__itemtext a {
    display: block;
}

footer {
    margin-top: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    border-top: 1px solid #CBCBCB;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    color: #555555;
}

footer a {
    color: #555555;
}

.developer a {
    text-decoration: underline;
}

.privacy a {
    margin-left: 10px;
}

.map > ymaps {
    border-radius: 50px;
    overflow: hidden;
}

.header__cbutton {
    display: none;
}

.fs__back {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #1c4581;
    z-index: 1;
    left: 0px;
    top: 0px;
    border-radius: 20px;
    opacity: 0.2;
}



















@media (min-width: 1500px) {
    .wrap {
        width: 1440px;
    }
    
    body {
        font-size: 18px;
    }
    
    .about__title, .serv__title, .ag__title, .exp__title, .contacts__title {
        font-size: 54px;
    }
    
    .fs__title {
        font-size: 70px;
        width: 1000px;
    }
    
    .about__img {
        width: 560px;
    }
    
    .serv__items {
        width: 900px;
    }
    
    .header__contacts {
        width: 450px;
    }
    
    .serv__itemtitle {
        font-size: 22px;
    }
    
    .exp__imgs .exp__img:nth-child(2) {
        width: 350px;
    }
    
    .exp__imgs .exp__img:nth-child(1) {
        width: 280px;
    }
}

@media (max-width: 1220px) {
    .wrap {
        width: 1000px;
    }

    .fs__title {
        font-size: 50px;
    }

    .about__title, .serv__title, .ag__title, .exp__title, .contacts__title {
        font-size: 40px;
        line-height: 1.1;
    }

    .serv__name {
        width: 250px;
    }

    .serv__items {
        width: 700px;
    }

    .about__content {
        width: 500px;
    }

    .exp__content {
        width: 430px;
    }
}

@media (max-width: 1024px) {
    .wrap {
        width: 728px;
    }

    .fs__title {
        width: 100%;
    }

    .about__img {
        width: 300px;
        border-radius: 20px;
        height: 230px;
    }

    .about__content {
        width: 400px;
    }

    .serv__item {
        width: 100%;
    }

    .serv__items {
        width: 450px;
    }

    .ag__back {
        width: 700px;
    }

    .ag__title {
        margin-top: 10px;
    }

    .exp__imgs .exp__img:nth-child(2) {
        width: 150px;
        margin-left: 20px;
    }

    .exp__imgs .exp__img:nth-child(1) {
        width: 120px;
    }

    .map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .wrap {
        width: 100%;
    }
    
    .mwrap {
        width: 95%;
    }
    
    .fs, .ag {
        border-radius: 20px;
    }
    
    .mwrap:nth-child(4) {
        width: 100%;
    }

    .fs__title {
        font-size: 30px;
    }

    .fs {
        height: 500px;
    }

    .fs__quote {
        margin-top: 100px;
    }

    .about {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .about__content {
        width: 100%;
    }

    .about__img {
        width: 100%;
        border-radius: 20px;
        height: auto;
        margin-top: 50px;
    }

    .header__contacts {
        display: none;
    }

    .header__cbutton {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        border: 1px solid #1c4481;
        margin-top: auto;
        margin-bottom: auto;
        color: #1c4481;
        padding: 10px 15px;
        border-radius: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 14px;
    }

    .serv {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .serv__name {
        height: auto;
        width: 100%;
    }

    .serv__items {
        width: 100%;
        margin-top: 50px;
    }

    .ag__back {
        width: 80%;
    }

    .ag__one {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .ag__img {
        border-radius: 20px;
        width: 100%;
        z-index: 2;
        margin-top: 30px;
    }

    .ag__two {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .ag__two p {
        width: 100%;
        margin-top: 20px;
    }

    .exp {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .exp__content {
        width: 100%;
    }

    .exp__text {
        margin-top: 20px;
    }

    .ag__two {
        margin-top: 10px;
    }

    .exp__imgs .exp__img:nth-child(1) {
        width: 40%;
    }

    .exp__imgs .exp__img:nth-child(2) {
        width: 50%;
        margin-left: 20px;
    }

    .exp__imgs {
        margin-top: 50px;
    }

    .contacts {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .contacts__content {
        margin-top: 20px;
    }

    .contacts__content {
        width: 100%;
    }

    footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .privacy a {
        margin-right: 10px;
        margin-left: 0px;
        display: block;
    }
}

@media (max-width: 480px) {
    .fs__title {
        font-size: 24px;
        line-height: 1.5;
    }

    .about__title, .serv__title, .ag__title, .exp__title, .contacts__title {
        font-size: 36px;
    }

    .ag {
        padding-top: 0px;
        padding-bottom: 50px;
    }

    .ag__back {
        margin-top: 40px;
    }

    .header__logo {
        width: 150px;
    }
    
    header {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .fs {
        margin-top: 0px;
    }
    
    .exp__imgs {
        align-items: flex-start;
    }
}

@media (min-width: 2000px) {
    .wrap {
        width: 1900px;
    }
    
    .fs {
        height: 980px;
    }
    
    body {
        font-size: 22px;
    }
    
    .header__contacts {
        width: 550px;
    }
    
    .about__content {
        width: 900px;
    }
    
    .fs__title {
        font-size: 90px;
        width: 1200px;
    }
    
    .about__img {
        width: 760px;
    }
    
    .serv__items {
        width: 1300px;
    }
    
    .about__title, .serv__title, .ag__title, .exp__title, .contacts__title {
        font-size: 80px;
    }
    
    .serv__itemtitle {
        font-size: 30px;
    }
    
    .exp__content {
        width: 850px;
    }
    
    .exp__imgs .exp__img:nth-child(1) {
        width: 350px;
    }
    
    .exp__imgs .exp__img:nth-child(2) {
        width: 400px;
    }
    
    .map {
        height: 600px;
    }
    
    .contacts {
        margin-top: 100px;
    }
    
    .header__logo {
        width: 300px;
    }
    
    .fs__quote {
        width: 150px;
        height: 130px;
    }
    
    footer {
        font-size: 20px;
    }
    
    .about__minititle, .serv__minititle, .ag__minititle, .exp__minititle, .contacts__minititle {
        font-size: 20px;
    }
}