﻿/* reset browser styles */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.2;
}
ol {
    padding-left: 1.4em;
    list-style: decimal;
}
ul {
    padding-left: 1.4em;
    list-style: square;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* end reset browser styles */
.clearfix {
    clear: both;
}
.wrapper {
    width: 1280px;
    margin: 0 auto;
}
/* начало стилей хедера */
.animation-header {
    width: 1280px;
    height: 528px;
    background: url("images/animation/header-animation.jpg") no-repeat;
    position: relative;
}
.animation-logo {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 115px;
    top: 40px;
    background: url("images/logo_white_small.png");
    background-size: 60px 60px;
}
h2.animation-header-title {
    display: block;
    position: absolute;
    width: 610px;
    height: 340px;
    left: 115px;
    top: 150px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 125px;
    color: #f5ffff;
    line-height: 0.9;
	
}
/*начало анимации */
@-webkit-keyframes scroll {
    0% {
        -webkit-transform: translate(-100%, 0);
        transform: translate(-100%, 0);
    }
    100% {
        -webkit-transform: translate(0%, 0);
        transform: translate(0%, 0)
    }
}

@-moz-keyframes scroll {
    0% {
        -moz-transform: translate(-100%, 0);
        transform: translate(-100%, 0);
    }
    100% {
        -moz-transform: translate(0%, 0);
        transform: translate(0%, 0)
    }
}

@keyframes scroll {
    0% {
        transform: translate(-100%, 0);
    }
    100% {
        transform: translate(0%, 0)
    }
}

.marquee {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.marquee h2 {
    display: inline-block;
    padding-left: 100%;
    -webkit-animation: scroll 5s infinite linear;
    -moz-animation: scroll 5s infinite linear;
    animation: scroll 5s infinite linear;
}
/*конец анимации */
/* конец стилей хедера */
.intro-wrapper {
    margin-bottom: 50px;
    background-color: #ffffff;
}
.animation-intro {
    width: 1050px;
    margin: 0 auto;
    padding-top: 50px;
}
.animation-title {
    font-size: 50px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    display: block;
    margin-bottom: 30px;
}
.animation-text {
    font-size: 23px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    line-height: 1.7em;
}

.clients-wrapper {
    background-color: #f2f2f2;
}
.animation-clients {
    width: 1050px;
    margin: 0 auto;
    padding-top: 50px;
	padding-bottom: 50px;
}


.client-images {
    /*margin-top: 50px;*/
    /*margin-bottom: 50px;*/
}
.client-image1 {
    width: 512px;
    height: 288px;
    float: left;
    margin-right: 20px;
	margin-bottom: 20px;
}
.client-image2 {
    width: 512px;
    height: 288px;
    float: left;
	margin-bottom: 20px;
}
.client-image3 {
    width: 512px;
    height: 288px;
    float: left;
    margin-right: 20px;
margin-bottom: 20px;
}
.client-image4 {
    width: 512px;
    height: 288px;
    float: left;
margin-bottom: 20px;
}

.client-image5 {
    width: 512px;
    height: 288px;
    float: left;
 margin-right: 20px;
}

.client-image6 {
    width: 512px;
    height: 288px;
    float: left;
}


.main-cases-button {
    width: 360px;
    height: 60px;
    margin: 80px auto;
    background-color: #768e92;

}
.main-cases-button a {
    color: #f5ffff;
    text-decoration: none;
    font-size: 30px;
    text-align: center;
    line-height: 60px;
    display:block;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}
.main-cases-button:hover {
    background-color: #647477;
}
/* начало стилей футера */
.main-footer {
    width: 1280px;
    height: 370px;
    position: relative;
    background-color: #363636;
}
.main-footer-logo {
    position: absolute;
    top: 40px;
    left: 115px;
}
.main-footer-contacts {
    position: absolute;
    left: 450px;
    top: 40px;
    color: #fcfcfc;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}
.main-footer-contacts p {
    display: block;
}
.main-footer-contacts p:first-child {
    margin-bottom: 30px;
}
.main-footer-social {
    position: absolute;
    right: 115px;
    top: 40px;
    box-sizing: border-box;
}
.main-footer-social .contact-us {
    color: #fcfcfc;
    font-size: 35px;
    border: 3px solid #fcfcfc;
    text-decoration: none;
    padding: 10px;
    display: block;
    margin-bottom: 90px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.contact-us:hover {
    color: #424242;
    border: 3px solid #424242;
}

.main-footer-social .mfs-slogan {
    display: block;
    color: #fcfcfc;
    font-size: 20px;
    float: left;
    margin-right: 50px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    padding-top: 20px;
}
.social-icon {
    display: block;
    float: left;
    width: 60px;
    height: 60px;
    box-sizing: content-box;
    border: 1px solid #fcfcfc;
}
.social-icon:hover {
    border: 1px solid white;
}
.social-icon:first-child {
    margin-right: 10px;
}
.vk {
    background: url("images/vk.png");
    background-size: 60px 60px;
}
.fb {
    background: url("images/fb.jpg");
    background-size: 60px 60px;
}
/* конец стилей футера */