[class*="iconicfill-"]:before {
  font-family: 'iconicfill', sans-serif;
}

/*  General CSS*/
body{
    background: #fff;
}

/*p, div {
    font-family: "Verdana" !important;
}*/

a {
    transition: 0.4s;
}

a:hover, a:focus {
    color: #FFC459;
    text-decoration: none;
}

a span.line {
  border-bottom: solid 1px #cdcdcd;
  padding-bottom: 1px;
}

.contacts-sidebar {
    padding: 16px 0;
    margin: 31px 0;
    font-size: 1em;
    border-top: solid 1px #EDEDED;
    width: 78%;
    border-bottom: solid 1px #EDEDED;
    color: #474747;
    line-height: 28px;
}

.contacts-sidebar .fa-mobile-phone {
    vertical-align: top; 
    font-size: 1.6em;
    margin-right: 6px;
    display: inline-block;
    
}

.contacts-sidebar .fa-envelope-o {
    margin-right: 3px;
    display: inline-block;
}

.bottom-buffer {
    margin-bottom: 20px;
}

@media(max-width: 1021px) {
    .contacts-sidebar, .bottom-buffer {
        display: none;
    }
}


@media(max-width: 1021px) {
    .navbar-default a span.line{
        border-bottom: 0;
    }
} 

.wrapper{
    margin: 0 auto;
}

header ul.social li a,
.main .work a .caption,
header nav ul li a{
    transition:all .1s linear;
    -webkit-transition:all .1s linear;
    -moz-transition:all .1s linear;
    -o-transition:all .1s linear;
}

h1, h2, h3, h4, h5 ,h6{
    color: #4b4848;
    font-family: 'DejaVu Sans';
}

h1              { font-size: 1.6em; margin: .67em 0 }
h2              { font-size: 1.5em; margin: .75em 0 }
h3              { font-size: 1.37em; margin: .83em 0 }
h5              { font-size: 1.2em; margin: 1.5em 0 }
h6              { font-size: .95em; margin: 1.67em 0 }
h1, h2, h3, h4,
h5, h6          { font-weight: bolder }

h1.smalltitle, h4 {
    font-size: 19px;
}

.clearfix:before,  
.clearfix:after {  
    content: " ";  
    display: table;  
}  
.clearfix:after {  
    clear: both;  
}  
 
.clearfix {  
      
}


/* bootstrap */
.btn-default {
    padding: 15px 30px;
    border: solid 3px #3A3A3A;
    font-size: 14px;
    border-radius: 0;
    background: #FFFFFF;
    text-shadow: 0 0;
    color: #171717;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: none;
}

.btn-default:hover {
    background-color: #FFF;
    border-color: #FFC459;
    color: #37352D;
}

@media(max-width: 991px) {
    .btn-default {
        margin-bottom: 50px;
    }
}


/*  Header  */

header .logo a {
    font-family: 'Chivo';
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 3px;
}

@media (min-width:1000px){
    header{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        min-height: 100%;
        padding: 0 0 0 50px;
        background: #FFF; 
        float: left;
        overflow: hidden;
        z-index: 9999;
    }

    header .logo{
        margin-top: 109px;
    }

    header nav ul{
        display: block;
        overflow: hidden;
        margin-top: 85px;
        list-style: none;
    }

    header nav ul li{
        display: block;
        /*margin-bottom: 30px;*/
    }

    header nav ul li a, header nav ul li a:hover, header nav ul li a:visited, header nav ul li a.selected {
        text-decoration: none;
    }

     header nav ul li a:focus span {
        border-bottom-color: #F4DDA2;
        color: #F4DDA2;
     }

    header nav ul li a{
        color: #4D4D4D;
        font-family: 'Arial';
        font-size: 26px;
        font-weight: bold;
        text-decoration: none;
        letter-spacing: 1px;
        display: block;
        padding: 10px 0;
    }           

    header nav ul li a:hover,
    header nav ul li a.selected{
        color: #969595;        
    }

 /*   header nav ul li.active a span {
        color: #BABABA;
    }*/

    header .footer{
        position: absolute;
        bottom: 50px;
    }

    header .social {
        width: 194px;
        /*text-align: center;*/
    }

    header .social a {
        display: block;
        margin-bottom: 10px;
    }

    header .social i {
        font-size: 21px;
    }



    /*header ul.social{
        list-style: none;
        margin-bottom: 5px;
    }

    header ul.social li{
        display: block;
        float: left;
        position: relative;
        margin: 0 15px 15px 0;
    }


    header ul.social li a{
        display: block;
        width: 30px;
        height: 30px;
        background: url('../img/sm.png') no-repeat;
        background-position: 0 0;
    }


    header ul.social li a:hover{
        background: url('../img/sm_hover.png') no-repeat;
    }



    header ul.social li a.fb,
    header ul.social li a.fb:hover{
        background-position: 0 0;
    }


    header ul.social li a.google,
    header ul.social li a.google:hover{
        background-position: -31px 0;
    }

    header ul.social li a.behance,
    header ul.social li a.behance:hover{
        background-position: -62px 0;
    }

    header ul.social li a.twitter,
    header ul.social li a.twitter:hover{
        background-position: -93px 0;
    }

    header ul.social li a.dribble,
    header ul.social li a.dribble:hover{
        background-position: -124px 0;
    }

    header ul.social li a.rss,
    header ul.social li a.rss:hover{
        background-position: -155px 0;
    }*/

    header .rights p{
        color: #454545;
        font-family: 'Istok Web', arial;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }

    header .rights a{
        font-family: 'Istok Web', arial;
        font-weight: bold;
        text-decoration: none;
    }


}

#menu_icon,
.close_menu{
    float: right;
    margin-right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url('../img/men_icons.png') no-repeat;
}

#menu_icon{    
    background-position: 0 0;
    top: 0;
    position: absolute;
    right: 0;
}
.close_menu{
    background-position: -41px 0!important;
}






/*  Main  */
.main{
    width: 100%;
    height: 100%;
    padding-left: 300px;
    padding-right: 15px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #fff;
    clear: both;
}







/*  portfolio  */
.main .work{
    min-height: 400px;
    display: block;
    width: 33.33333333333333%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
}


.main .work .caption{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    background: #ffffff;
    opacity: 0;
}


.main .work a:hover .caption{
    opacity: 0.85;
}

@media(max-width: 1021px) {
    .main .work a .caption {
        opacity: 0.99;
        background-color: rgba(255, 255, 255, 0.78);
    }
}

.work .caption .work_title{
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    margin-top: -40px;
}

.main .work .caption h1{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 20px 0;
    z-index: 77;
    color: #454545;
    font-family: 'DejaVu Sans';
    font-size: 16px;
    letter-spacing: .5px;
    border-bottom: 1px solid #bfbbbb;
    border-top: 1px solid #bfbbbb;
}







/*  Inner Page  */
.img-responsive {
    margin-bottom: 45px;
}

@media(min-width: 993px) {
    .mgrleft0, .mgrleft0 .col-md-12, .mgrleft0 .col-md-4 {
        padding-left: 0 !important;
    }
}

.top{
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: block;
    position: relative;
    background-color: #000;
    /*background-image: url(img/agency4.jpg);  background-size: cover;  background-position: 0px -202px;*/
    max-width: 1500px;
    margin: 0 auto;
    height: 300px;
}

@media(min-width: 508px) and (max-width: 705px) {
    .top {
        height: 200px;
    }
}

@media(max-width: 507px) {
    .top {
        height: 184px;
    }
}

.cover .wrapper_main {
    background: url(../img/company_cover.jpg) center center no-repeat;
    background-size: cover;
}

.top .wrapper_main {
    display: table;
    padding: 50px 41px;
    width: 100%;
    /*background-color: #202020;*/
}

@media(max-width: 991px) {
    .top .wrapper_main {
        padding: 50px 30px;        
    } 
}

@media(max-width: 705px) {
    .top .wrapper_main {
        padding:  33px 30px;
    }
}

@media(min-width: 341px) and (max-width: 507px) {
    .top .wrapper_main {
        padding:  33px 24px;
    }
}

@media(max-width: 340px) {
    .top .wrapper_main {
        padding:  33px 22px;
    }
}

.top h1 {
    display: table-cell;
    vertical-align: middle;
    color: #fff;
    font-size: 2.8em;
    line-height: 67px;
    margin: 0;
}

@media(min-width: 1057px) and (max-width: 1319px) {
    .top h1 {
        font-size: 2em;
        line-height: 67px;
    }
}

@media(min-width: 1022px) and (max-width: 1056px) {
    .top h1 {
        font-size: 1.85em;
        line-height: 63px;
    }
}

@media(min-width: 904px) and (max-width: 1021px) {
    .top h1 {
        font-size: 2.4em;
        line-height: 67px;
    }
}

@media(min-width: 805px) and (max-width: 903px) {
    .top h1 {
        font-size: 2.1em;
        line-height: 67px;
    }
}

@media(min-width: 805px) and (max-width: 903px) {
    .top h1 {
        font-size: 2.1em;
        line-height: 67px;
    }
}

@media(min-width: 706px) and (max-width: 804px) {
    .top h1 {
        font-size: 1.8em;
        line-height: 67px;
    }
}

@media(min-width: 574px) and (max-width: 705px) {
    .top h1 {
        font-size: 1.4em;
        line-height: 45px;
    }
}

@media(min-width: 508px) and (max-width: 573px) {
    .top h1 {
        font-size: 1.2em;
        line-height: 45px;
    }
}

@media(max-width: 507px) {
    .top h1 {
        font-size: 1em;
        line-height: 38px;
    }
}

@media(max-width: 407px) {
    .hidden_small {
        display: none;
    }
}


.top_inner{
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: block;
    position: relative;
}

.work_nav{
    display: block;
    width: 100%;
}

.work_nav .btn{
    float: right;
}

.work_nav ul{
    list-style: none;
}

.work_nav ul li{
    display: block;
    float: left;
    margin: 0 0 1px 1px;
    position: relative;
}

.work_nav a{
    display: block;
    width: 40px;
    height: 40px;
    background: url('../img/p_navigation.png') no-repeat;
    background-position: 0 0;
}

.work_nav a.previous{
    background-position: 0 0;
}

.work_nav a.grid{
    background-position: -41px 0;
}

.work_nav a.next{
    background-position: -82px 0;
}

.top .title{
    display: block;
    text-align: center;
    width: 100%;color: #4b4848;
    font-family: 'DejaVu Sans';
    font-size: 26px;
    font-weight: bold;
    background: rgba(255, 255, 255, .7);
    padding: 20px;
    text-transform: uppercase;
    line-height: 30px;
    margin: 0!important;
    overflow: hidden;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

}

.wrapper_main {
    max-width: 1500px;
    position: relative;
    height: 100%;
    margin: 0 auto;
}

.content_header{
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 50%;
    top: 0;
    margin-top: 132px;
    margin-left: -46.36363636363637%;
}

.content{
    color: #4b4848;
    font-family: 'Istok Web', arial;
    font-size: 15px;
    line-height: 22px;
    padding: 45px 0;
    background: #fff;
    letter-spacing: 0.02em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

@media(max-width: 991px) {
    .content {
        padding: 0;
    }
}

.content p{
    color: #4b4848;
    font-family: 'Istok Web', arial;
    font-size: 17px;
    line-height: 24px;
    margin-bottom: 45px;
}

p.title {
    font-size: 28px;
    font-weight: bold;
    line-height: 30px
}

.pmedium {
    font-size: 1.42em !important;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
    color: #4b4848;
    font-family: 'DejaVu Sans';
    font-weight: normal;
    line-height: 28px;
    margin-bottom: 30px;

}

.main .cover {
    height: 500px;
    padding: 0;
}

@media(max-width: 992px) {
    .main .cover {
        margin-bottom: 45px;
    }
}

@media(max-width: 992px) {
    .navbar-default ul {
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
        margin: 0;
        background: rgba(0, 0, 0, 0.8);
    }

    .navbar-default ul li a {
        font-size: 43px;
        border-top: 0;
        background: transparent;
        color: #fff;
    }

    .navbar-default ul li a:hover,  .navbar-default ul li a:active, .navbar-default ul li a:focus {
        background: transparent;
        color: #FFC459;
    }
}

/* new project */
.new-project {
    margin: 45px 0px;
    /* border: solid 5px #FFC459; */
    /* padding: 12px; */
    /* background: url(img/tmp.jpg); */
    height: 550px;
    /* text-align: center; */
    background: #FF5858;
    background: url(../img/02.jpg) center -55px no-repeat;
    background-size: cover;
    /* opacity: 0.50; */
    position: relative;
    overflow: hidden;
    border-bottom: solid 5px #B2B2B2;
    /* background: url(http://park-chelny.ru/img/pattern.png) left 4px repeat; */
}

@media(min-width: 1370px) {
    .new-project {
        background: url(../img/02.jpg) center -300px no-repeat;
    }
}

.new-project .name-project {
    background: rgba(214, 57, 36, 0.9);
    padding: 28px 30px 21px 30px;
    display: inline-block;
    text-align: left;
    color: #FFFFFF;            
}

.new-project .name-project span {
    display: inline-block;
    margin-left: 23px;
    vertical-align: top;
    margin-top: -3px;
}

@media(max-width: 397px) {
    .new-project .name-project span {
        display: none;
    }
}

.new-project .bottom { 
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: #272727;
    color: #fff;
    text-align: center;
    font-size: 17px;
}

.new-project .bottom span {
    display: inline-block;
    padding: 39px;
}

@media(max-width: 442px) {
    .new-project .bottom span {
        display: none;
    }
        .new-project .bottom span:last-child {
        display: block;
    }
}

.new-project .top-block {
    padding: 12px 0;
    background: #FFFFFF;
    position: relative;
    /* text-align: center; */
    border-top: solid 5px #B2B2B2;
    /* border: solid 5px #B2B2B2; */
}

@media(max-width: 991px) {
    .new-project .top-block {
            text-align: center;
    }
}

.new-project .top-block a {
    border-bottom: solid 1px #BBBBBB;
    /* color: #154AF4; */
    /* font-size: 51px; */
    width: 100%;
}

.new-project .cover-project {
    position: absolute;
    color: #FFFFFF;
    /* border: solid 5px #FFFFFF; */
    padding: 127px 38px;    
    font-size: 30px;
    display: block;
    width: 100%;
    line-height: 43px;
    text-align: center;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.28);
    top: 51px;
    font-weight: bold;
    /* background: url(http://bitcat.ru/img/pattern.png) left top repeat; */
    height: 100%;
}
/* end new project */


/*  Contact page map  */
#map .map_adresse{
    font-family: 'raleway-regular', arial;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 1px;
}

#map .map_address,
#map .map_tel{
    padding: 5px;
}

#map .map_address .address,
#map .map_tel .tel{
    font-family: 'raleway-bold', arial;
    font-weight: bolder;
}



/*  Tooltip  */
.tooltip{
    display: block;
    padding: 7px 10px;
    background: #454545;
    color: #fff;
    font-family: "raleway-regular", arial;
    font-size: 12px;
    position: absolute;
    white-space: nowrap;
    z-index: 999;
    opacity: 0;
    text-align: center;
    letter-spacing: .5px;

}

.tooltip:after{
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 3px 3px 0 3px;
    border-color: #454545 transparent transparent transparent;
    display: block;
    text-align: center;
    position: absolute;
    bottom: -3px;
    left: 50%;
    margin-left: -3px;
}


/**/
.services.clearfix {
    display: flex;
    flex-wrap: wrap;
}

.services .col-md-4 a {
    height: 100%;
}

.services .col-md-4 {
    padding-left: 0;
}

.services .col-md-4:last-child {
    padding-right: 0 !important;
}

@media(max-width: 991px) {
    .services .col-md-4 {
        padding-right: 0;
    }
}

.services .col-md-4 a {
    border: solid 5px #171717;
    display: block;
    padding: 27px;
    font-size: 1.9em;
    color: #171717;
}

@media(min-width: 1137px) and (max-width: 1242px) {
    .services .col-md-4 a {
        font-size: 1.6em;
    }
}

@media(min-width: 1022px) and (max-width: 1136px) {
    .services .col-md-4 a {
        font-size: 1.27em;
    }
}

@media(max-width: 991px) {
    .services .col-md-4 a {
        border: 0;
        border-bottom: solid 5px #171717;
        font-size: 1.9em;
    }
}

@media(max-width: 500px) {
    .services .col-md-4 a {
        font-size: 1.7em;
    }   
}

.services .col-md-4 a:hover {
    border-color: #FFC459;
    background: #FFC459;
    color: #37352D;
}

.services .col-md-4 a span {
    display: block;
    font-size: 0.5em;
    line-height: 20px;
    margin-top: 14px;
    letter-spacing: 0.02em;
}

@media(min-width: 1137px) and (max-width: 1242px) {
    .services .col-md-4 a span {
        font-size: 0.55em;
    }    
}

@media(min-width: 1022px) and (max-width: 1136px) {
    .services .col-md-4 a span {
        font-size: 0.65em;
    }    
}

.services .col-md-4 .fa-spin {
    -webkit-animation: fa-spin .3s linear;
    animation: fa-spin .3s linear;
}
/**/

.navbar-default {
    background-color: #fff;
}

.navbar-toggle .icon-bar{
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 0px;
  margin: 6px 0;
  background-color: #000;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: transparent;
}

/*  Responsive code  */
@media (min-width: 1022px) {
    .navbar-toggle {
        display: none !important;
    }
}
.navbar-toggle {
    background-color: transparent;
    border: none;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1002;
    padding: 9px 10px; /* Keep padding for clickable area */
    cursor: pointer;
}

.navbar-toggle span {
    position: relative;
    top: 0;
    transition: 300ms ease-in-out;

}

.open span {
    background: #fff !important;
}

.navbar-toggle.open span:last-child {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: -9px;
}

.navbar-toggle.open span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.open span:first-child {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 9px;
}

@media(max-width: 991px) {
    header .logo {
        margin-top: 37px;
    }
}
@media (max-width:1021px){

    header{
        display: block;
        width: 100%;
        min-height: 67px;
        padding: 0;
        position: relative;
    }
    header .logo{
        margin: 16px 0 0 30px;
        display: inline-block;
    }
    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 30px 30px 0 0;
    }
    header nav ul{
        list-style: none;
        display: none;
        margin-top: 35px;
        position: relative;
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        background: #fff;
    }
    header nav ul li a:active{
        background: #f7f5f5;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }

    .main .work{
        width: 50%;
    }
    .main{
        width: 100%;
        position: relative;
        padding-left: 15px;
    }
    #map{
        margin: 0!important;
    }
}

@media(max-width: 991px) {
    .main {
        padding: 0;
    }
}

@media (max-width:550px){
     .main .work{
        width: 100%;
    }
}
