@font-face {
    font-family: Tassimo;
    src: url("../fonts/TASSIMO_HAND_RUS-Regular.otf") format("opentype");
	src: url('../fonts/TASSIMO_HAND_RUS-Regular.eot');
    src: url('../fonts/TASSIMO_HAND_RUS-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/TASSIMO_HAND_RUS-Regular.woff') format('woff'),
         url('../fonts/TASSIMO_HAND_RUS-Regular.ttf') format('truetype');

}

@font-face {
    font-family: Tassimo;
    font-weight: bold;
    src: url("../fonts/TASSIMO_HAND_RUS-Bold_2.otf") format("opentype");
	src: url('../fonts/TASSIMO_HAND_RUS-Bold_2.eot');
    src: url('../fonts/TASSIMO_HAND_RUS-Bold_2.eot?#iefix') format('embedded-opentype'),
         url('../fonts/TASSIMO_HAND_RUS-Bold_2.woff') format('woff'),
         url('../fonts/TASSIMO_HAND_RUS-Bold_2.ttf') format('truetype');
}

@font-face {
    font-family: Myriad Pro;
    src: url("../fonts/MyriadPro-Regular.otf") format("opentype");
}
header{
    text-align: center !important;
}
.man_block{
    display: none !important;
}
@media(max-width:499px){
    body{
        font-size: 3px;
    }
    header{
        height: 105px;

    }

    .fl, .fr {
        float: none;
    }
    header .social {
        margin-top: 3%!important;
        width: auto!important;
        /*display: inline-block;*/
    }
    header .social>a>img {
        /*margin-top: 2%;*/
        /*width: 150px;*/
        /*width: 10%;*/
    }

    header .contacts {
        font-size: 7em;
    }

    footer{
        height: 80px;
    }

    .mybutton{
        margin-top: -90px;
        margin-left: 5%;
    }
    .client{
        /*height: 60%;*/
        width: 50%;
        margin: 2% 0;
    }
    .man_block {
        height: 100px!important;
        margin-bottom: 10%;
    }

    .meanings .title {
        font-size: 12em;
    }

    .meanings ol {
        font-size: 5.5em;
        margin-right: 5%;
    }

    .meanings {
        line-height: 1.6;
    }

    .meanings_block {
        background: #000000;
    }

    .work_carousel_photo {
        width: 100% ;
    }

    .work_text_block {
        width: 100% ;
        height: 185px;
        font-size: 6em;
    }

    .review_photo {
        width: 100%;
    }

    .review_text_block {
        width: 95%;
        padding: 10%;
        padding-top: 0;
    }

    .review_name {
        font-size: 21em;
    }

    .review_who {
        font-size: 6em;
    }

    .review_tags {
        font-size: 5em;
    }

    .review_text {
        font-size: 6em;
    }

    .review_photo > img {
        width: 60%;
        margin: 0 auto;
    }

    .big_title {
        font-size: 12em;
    }

    .work_block {
        margin-top: 10%;
    }

    .work_block > a {
        font-size: 7em;
    }

    .review_block > .big_title > img {
        width: 10%;
    }

    header .title {
        font-size: 9em;
    }

    .first {
        width: 50%;
        margin-top: 0;
        font-size: 1.8em;
    }

    .second {
        width: 50%;
        margin-left: 45%;
        font-size: 1.8em;
    }

    .third {
        width: 50%;
        margin-top: 0;
        font-size: 1.8em;
    }

    .mybutton {
        font-size: 7em;
    }

    footer .contacts {
        font-size: 7em;
    }

    .modal{
        font-size: 8em;
    }
    .modal-title{
        font-size: 1.3em;
    }
    .form-control{
        font-size: 1em;
    }
    .btn{
        font-size: 1em;
    }
    .close{
        font-size: 2em;
    }

    footer .kvadra {
        text-align: center;
        font-size: 8em;
        padding: 3% 5%;
    }

    footer .social {
        padding-bottom: 3%;
    }
}
@media(min-width:500px){
    body{
        font-size: 5px;
    }
    header{
        height: 50px;
    }
    footer{
        height: 90px;
    }

    .mybutton{
        margin-top: -110px;
        margin-left: 5%;
    }
    .client{
        height: 70%;
        margin: 5% 0;
    }

    .work_carousel_photo {
        width: 100% ;
    }

    .work_text_block {
        width: 100% ;
        height: 185px;
        font-size: 6em;
    }

    .review_photo {
        width: 100%;
    }

    .review_text_block {
        width: 95%;
        padding: 10%;
        padding-top: 0;
    }

    .review_name {
        font-size: 21em;
    }

    .review_who {
        font-size: 6em;
    }

    .review_tags {
        font-size: 5em;
    }

    .review_text {
        font-size: 6em;
    }

    .review_photo > img {
        width: 60%;
        margin: 0 auto;
    }

    .big_title {
        font-size: 12em;
    }

    .work_block > a {
        font-size: 7em;
    }
}
@media(min-width:768px){
    body{
        font-size: 5px;
    }
    header{
        height: 60px;
    }

    header .title {
        font-size: 5em;
    }

    .fl {
        margin: 0 auto;
    }

    .fr {
        float: right;
    }

    header .contacts {
        font-size: 3.5em;
    }

    footer{
        height: 110px;
    }

    footer .social {
        padding-bottom: 1%;
    }

    .mybutton{
        margin-top: -160px;
        margin-left: 10%;
    }
    .client{
        height: 80%;
        margin: 1%;
    }

    .meanings .title {
        font-size: 8em;
    }

    .meanings ol {
        font-size: 5em;
    }

    .meanings_block {
        height: auto;
    }

    .work_carousel_photo {
        width: 45% ;
    }

    .work_text_block {
        width: 55% ;
    }

    .review_photo {
        width: 35%;
    }

    .review_text_block {
        width: 63%;
        font-size: 2em;
    }

    .review_photo > img {
        width: 100%;
    }

    .big_title {
        font-size: 10em;
    }

    .review_text_block {
        padding: 0 5% 0 0;
    }

    .review_name {
        font-size: 6em;
    }

    .review_who {
        font-size: 1.5em;
    }

    .review_tags {
        font-size: 1.2em;
    }

    .review_text {
        font-size: 1.4em;
    }

    .work_block > a {
        font-size: 3em;
    }

    .work_text_block {
        font-size: 4em;
    }

    .first {
        width: 30%;
        margin-top: -19%;
        font-size: 0.8em;
    }

    .second {
        width: 35%;
        margin-left: 28%;
        font-size: 0.8em;
    }

    .third {
        width: 30%;
        margin-top: -15%;
        font-size: 0.8em;
    }

    .mybutton {
        font-size: 3.5em;
    }

    footer .contacts {
        font-size: 5em;
    }

    .meanings_block {
        background: url("../img/compass.png") 99% 99% no-repeat #000000;
    }

    .modal{
        font-size: 1.7em;
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    }
    .modal-title{
        font-size: 1.3em;
    }
    .form-control{
        font-size: 1em;
    }
    .btn{
        font-size: 1em;
    }
    .close{
        font-size: 2em;
    }

    footer .kvadra {
        font-size: 2.5em;
        padding: 1% 5%;
        text-align: right;
    }
}
@media(min-width:992px){
    body{
        font-size: 8px;
    }
    header{
        height: 80px;
    }
    footer{
        height: 140px;
    }

    .mybutton{
        margin-top: -160px;
        margin-left: 15%;
    }
    .client{
        height: 90%;
    }
}
@media(min-width:1200px){
    body{
        font-size: 10px;
    }
    header{
        height: 100px;
    }
    footer{
        height: 170px;
    }
    .mybutton{
        margin-top: -160px;
        margin-left: 20%;
    }
    .client{
        height: 100%;
    }
}

body {
    font-family: Tassimo;

    line-height: 1;
    /*min-width: 800px;*/
}

header {

    background: #000;
    color: #ffffff;
    padding-left: 2%;
    padding-top: 0.5%;
    /*display: table-cell;*/
    /*vertical-align: middle;*/
    /*width: 100%;*/
}

header .title {
    text-transform: uppercase;
    /*font-size: 5em;*/
}

header .social {
    margin-top: 7%;
    width: 170px;
}

.big_logo_block {
    height: 500px;
    background-image: url("../img/big_logo.png");
    background-position: center center;
    background-repeat: no-repeat;
}

.call {
    padding-top: 10%;
    margin-left: -1px;
    display: inline-block;
}

.meanings_block {
    /*height: auto;*/
    /*background: url("../img/compass.png") 99% 99% no-repeat #000000;*/
    color: #ffffff;
}

.meanings {
    /*width: 65%;*/
    padding: 1% 0 10% 0;
}

.meanings .title {
    text-transform: uppercase;
    /*font-size: 8em;*/
    text-align: center;

}

.meanings ol {
    margin-top: 5%;
    /*font-size: 5em;*/
}

.first_carousel {
    /*width: 35%;*/
    /*padding-left: 0;*/
}

.how_work_block {
    height: auto;
    color: #000000;
    padding: 0 2% 2%;
}

.big_title {
    text-transform: uppercase;
    text-align: center;
    /*font-size: 10em;*/
    font-family: Tassimo;
}

.big_title > img {
    margin-top: 15px;
    margin-left: 5px;
}

.lips {
    margin: 1% auto 0;
    z-index: 1;
}

.first {
    /*width: 30%;*/
    /*margin-top: -19%;*/
    z-index: 5;
    /*font-size: 0.8em;*/
}

.first img {
    margin-left: 20px;
    margin-bottom: 10px;
}

p {
    font-size: 5em;
}

.second {
    /*width: 35%;*/
    /*margin-left: 28%;*/
    z-index: 5;
    /*font-size: 0.8em;*/
}

.second p {
    margin-left: 20%;
    margin-bottom: 5%;
}

.second img {
    margin-top: 5%;
    margin-bottom: 10px;
}

.third {
    /*width: 30%;*/
    /*margin-top: -15%;*/
    z-index: 5;
    /*font-size: 0.8em;*/
}

.third img {
    margin-top: -25%;
    margin-right: 15%;
    margin-bottom: 10px;
}

.man_block {
    margin-top: 5%;
    /*background: url("../img/man.png") center center no-repeat;*/
    /*background-size: auto 100%;*/
    height: 300px;
}

.man_block .back {
    margin: 0 auto;
    z-index: 1;
}

.mybutton {
    background: url("../img/mybutton.png") no-repeat;
    background-size: 100% 100%;
    /* background-size: cover; */
    color: #ffffff;
    /*font-size: 3.5em;*/
    width: auto;
    padding: 10px 16px;
    display: table-cell;
    position: absolute;
    /*vertical-align: middle;*/
}

.work_block{
    height: auto;
    text-align: center;
    margin: 0 auto;
}
.work_block>.big_title{
    margin-bottom: 1%;
}
#work{
    margin-top: 1.5%;
    background-color: #000;
}
.work_block>a{
    color:#000000;
    text-transform: uppercase;
    /*font-size: 3em;*/
    margin: 2% 0.5% 0 0.5%;
    font-weight: bold;
}

.work_carousel_photo {
    float: left;
}

.work_carousel_photo > img {
    width: 100%;
    height: auto;
}

.work_text_block {
    float: left;
    text-align: center;
    /*font-size: 4em;*/
    padding: 5% 3%;
    color: #FFF;
    padding-bottom: 0;
}

.work_text_block span{
    font-size: 1.5em;
}

.work_text_block img{
    margin: 3% 0;
}

.clients_block{
    height: auto;
    margin: 0 auto;
    text-align: center;
}
.client{
    display: inline-block;
    /*height: 100px;*/
    /*margin:1%;*/
    filter: url("../img/bw_filter.svg#grayscale"); /* Firefox 3.5+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Google Chrome & Safari 6+ */
}
.client:hover{
    filter: none;
    -webkit-filter: grayscale(0);
}

.review_block{
    width: 100%;
    height: auto;
    margin: 0 auto;
    margin-top: 4%;
    font-family: Myriad Pro;
}

.review_photo {
    float: left;
    /*width: 35%;*/
    padding: 5%;
    margin-left: 2%;
}

.review_text_block {
    float: left;
    /*width: 63%;*/
    /*padding: 0 5% 0 0;*/
}

.review_photo > img {
    /*width: 100%;*/
    height: auto;
}

.review_name {
    /*font-size: 6em;*/
    padding-top: 6.5%;
    font-family: Tassimo;
    margin-bottom: 2%;
}

.review_who {
    /*font-size: 1.5em;*/
    color: #888888;
    margin: 3% 0;
}

.review_tags {
    /*font-size: 1.2em;*/
    margin: 1% 0;
}

.tag {
    color: #00ABED;
}

.review_text {
    /*font-size: 1.4em;*/
}

footer {
    background: #000;
    color: #ffffff;
    text-align: center;
    padding-top: 3%;
}

footer .social {
    margin-top: 1%;
    /*padding-bottom: 1%;*/
    background: #000;
}

footer .kvadra {
    /*text-align: right;*/
    /*padding: 1% 5%;*/
    /*font-size: 2.5em;*/
    background: #1D1D1B;
}
.kvadra a:hover, .kvadra a {
    text-decoration: none;
    color: #FFF;
    margin-right: 10px;
}
.modal-header {
    padding: 5px 15px;
}
.modal-footer {
    padding: 5px 15px;
}

.modal-body {
    padding: 15px;
}

.modal-body .form-group:last-child {
    margin-bottom: 0;
}

/*.carousel-control.right{*/
/*position: absolute;*/
/*bottom: 2%;*/
/*top:auto;*/
/*right: -7%;*/
/*}*/
/*.carousel-control.left{*/
/*position: absolute;*/
/*bottom: 18%;*/
/*top:auto;*/
/*right: -9%;*/
/*left: auto;*/
/*}*/
/*.photographer {*/
/*box-shadow: inset 0 0 6px #888;*/
/*-webkit-box-shadow: inset 0 0 6px #888;*/
/*}*/
.btn-ppz{
    border-color: #000;
    background-color: #000;
    color: #fff;
    line-height: 1.3;
    width: 30%;
    float: right;
}
.btn-ppz:hover, .btn-ppz:focus{
    color: #ffffff;
}
