@font-face {
    font-family: BeastvsSpreadTall;
    src: url(../fonts/BeastvsSpreadTall.ttf) format("truetype");
}
*{
    margin: 0;
    padding: 0;
}
html,body{
    min-height: 100%;
    width: 100%;
}
body{
    background: url(../images/background.jpg) left top repeat-x scroll,url(../images/bbbb.png) center center repeat scroll;
    color: #414042;
    font-family: 'Open Sans', sans-serif;
    font-size: 14pt;
    text-align: justify;
}
header{
    width: 1300px;
    max-width: 100%;
    height: 200px;
    padding: 50px 0 35px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    transition: height,margin,padding 0.3s ease;
}
header a#logo{
    display: inline-block;
    vertical-align: top;
    width: 300px;
    height: 115px;
    margin-right: 80px;
    background: url(../images/logo.png) center center no-repeat scroll;
    background-size: 100%;
    transition: all 0.3s ease;
}
header a#logo span{
    display: block;
    width: 300px;
    height: 115px;
    opacity: 0;
    background: url(../images/logo-hovered.png) center center no-repeat scroll;
    background-size: cover;
    transition: opacity 0.5s;
}
header a#logo:hover span{
    opacity: 1;
}
header div#hamburger-menu{
    display: none;
    position: absolute;
    top: 20px;
    right: 10px;
    width: 95px;
    height: 95px;
    background: url(../images/hm.png) center center no-repeat scroll;
}
.hmc{
    background: url(../images/hm-hovered.png) center center no-repeat scroll !important;
}
header ul{
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    height: 70px;
    margin-top: 45px;
    transition: all 0.3s ease;
    overflow: hidden;
}
header ul li{
    display: inline-block;
    vertical-align: top;
    height: 70px;
    padding-right: 21px;
    margin-right: 15px;
    transition: all 0.3s ease;
    background: url(../images/menu-sprt.jpg) right center no-repeat scroll;
}
header ul li:last-child{
    padding: 0;
    margin: 0;
    background: none;
}
header ul li a{
    display: block;
    height: 70px;
    font-family: BeastvsSpreadTall;
    font-size: 42pt;
    line-height: 65px;
    color: #fff;
    transition: color 0.5s;
    text-decoration: none;
}
header ul li a:link,header menu li a:active,header menu li a:visited{
    color: #fff;
}
header ul li a:hover{
    color: #414042;
}
ul.hamburger-menu-active{
     height: 200px;
     border-top: 10px solid #414042 !important;
 }
section#header-shadow{
    height: 20px;
    width: 1500px;
    max-width: 100%;
    margin: 0 auto;
    background: url(../images/header-shadow.png) center top no-repeat scroll;
    background-size: 95% 100%;
}
main{
    width: 1300px !important;
    max-width: 100%;
    padding-top: 120px;
    margin: 0 auto !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
footer{
    width: 1060px;
    max-width: 100%;
    height: 60px;
    padding: 55px 0 15px;
    margin: 0 auto;
    text-align: center;
    font-size: 10pt;
    background: url(../images/footer.png) center bottom no-repeat scroll;
    background-size: 100% 100%;
}
footer p{
    display: inline-block;
    vertical-align: top;
    height: 60px;
}
footer p#logo-little{
    width: 160px;
    margin-right: 50px;
    background: url(../images/logo-little.png) center center no-repeat scroll;
}
footer p#text{
    width: 320px;
    height: 50px;
    margin-right: 90px;
    padding-top: 10px;
    text-align: center;
    color: #414042;
    line-height: 1.6;
}
footer p#text a{
    color: #fff;
    text-decoration: none;
}
footer p#text a:link,footer p#text a:active,footer p#text a:visited{
    color: #414042;
    
}
footer p#text a:hover{
    text-decoration: underline;    
}
footer p#social{
    width: 80px;
    height: 35px;
    margin: 15px 0 10px;
}
footer p#social a{
    display: inline-block;
    height: 35px;
    width: 35px;
}
footer p#social a#vk{
    margin-right: 10px;
    background: url(../images/vk-icon.png) center top no-repeat scroll;
}
footer p#social a#fb{
    background: url(../images/fb-icon.png) center top no-repeat scroll;
}
footer p#social a#vk:hover{
    background-position: center bottom;
}
footer p#social a#fb:hover{
    background-position: center bottom;
}





/*main page*/
main section#main-page-items{
    text-align: center;
}
main section#main-page-items a.main-item{
    display: inline-block;
    vertical-align: top;
    width: 250px;
    margin: 1.9%;
    margin-top: 0;
    color: #414042;
    text-decoration: none;
    transition: all 0.5s ease-out;
}
main section#main-page-items a.main-item:link,main#main-page-items a.main-item:active,main#main-page-items a.main-item:visited{
    color: #414042;
}
main section#main-page-items a.main-item div{
    width: 190px;
    height: 190px;
    margin-bottom: 10px;
    padding: 20px;
    border: 10px solid #414042;
    border-radius: 40px;
    transition: box-shadow 0.3s ease-out;
    background: #fff;
    transition: all 0.5s ease-out;
}
main section#main-page-items a.main-item div img{
    width: 190px;
    height: 190px;
    border: 0 !important;
    transition: all 0.5s ease-out;
}
main section#main-page-items a.main-item h1{
    width: 250px;
    font-family: BeastvsSpreadTall;
    font-size: 23pt;
    text-align: center;
    letter-spacing: 2px;
    transition: all 0.5s ease-out;
}
main section#main-page-items a.main-item:hover{
    transform: scale(1.05);
}
main section#main-page-items a.main-item:hover div{
    box-shadow: 0 0 30px 2px #414042;
}




main section.page-items{
    width: 1100px;
    padding: 50px;
    margin-bottom: 130px;
    border: 10px solid #414042;
    border-radius: 50px;
    background: #fff;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
main section.page-items:nth-child(2n){
    margin-left: auto;
}
main div.out-it-left,main div.out-it-right{
    display: inline-block;
    vertical-align: top;
}
main div.out-it-left{
    width: 300px;
    margin-right: 50px;
    transition: all 0.3s ease;
}
main div.out-it-left h1{
    width: 300px;
    min-height: 50px;
    margin-bottom: 50px;
    font-family: BeastvsSpreadTall;
    font-size: 40pt;
    letter-spacing: 7px;
    color: #414042;
    text-align: left;
    transition: all 0.3s ease;
}
main div.out-it-left img{
    width: 298px;
    height: 298px;
    border: 1px solid #414042;
    transition: all 0.3s ease;
}
main div.out-it-right{
    width: 570px;
    min-height: 416px;
    padding-left: 50px;
    font-size: 12pt;
    text-align: justify;
    line-height: 1.5;
    border-left: 10px solid #414042;
    position: relative;
    transition: all 0.3s ease;
}

main section.tall-height div.out-it-right{
    min-height: 472px;
}
main section.tall-height2 div.out-it-right{
    padding-bottom: 50px;
    transition: all 0.3s ease;
}
main div.out-it-right a#to-main{
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    height: 25px;
    padding-top: 5px;
    padding-right: 8px;
    padding-left: 40px;
    color:#414042;
    background: url(../images/to-main-bg.jpg) left center no-repeat scroll;
    text-decoration: none;
}
main div.out-it-right a#to-main:link,main div.out-it-right a#to-main:active,main div.out-it-right a#to-main:visited{
    color:#414042;
}
main div.out-it-right a#to-main:hover{
    padding-right: 7px;
    border-right: 1px solid #414042;
}
main div.out-it-right>p{
    text-indent: 20px;
}
main div.out-it-right p.page-title{
    margin: 10px 0;
    font-weight: bold;
    text-align: center;
}
main div.out-it-right ul{
    margin-left: 20px;
    margin-bottom: 10px;
}
main div.out-it-right td{
    padding: 20px;
    vertical-align: top;
}
main div.out-it-right td:first-child{
    padding-right: 0;
}
main div.out-it-right td:first-child p{
    text-align: center;
}




main section#about-us{
    width: 1000px;
    max-width: 100%;
    margin: 0 auto 100px;
}
main section#about-us p{
    text-indent: 20px;
}
main section#about-us div{
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}
main section#about-us img{
    width: auto;
    height: 315px;
    border: 1px solid #414042;
    margin-left: 85px;
    float: right;
}
main section#about-us ul{
    width: 400px;
    margin: 20px;
}
main section#about-us li{
    margin-bottom: 3px;
}
main section#about-us h1{
    text-align: center;
    clear: both;
}



main section#contacts{
    width: 900px;
    max-width: 100%;
    margin: 0 auto 100px;
}
main section#contacts p.other-text{
    font-size: 14pt;
    text-align: center;
}
main section#contacts ul{
    display: block;
    width: 100%;
    margin: 30px 0;
}
main section#contacts ul li{
    display: inline-block;
    vertical-align: top;
    width: 33%;
    transition: all 0.3s ease;
}
main section#contacts ul li>span{
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}
main section#contacts ul li p{
    font-size: 20pt;
    text-align: center;
    transition: all 0.3s ease;
}
main section#contacts ul li p:last-child{
    font-size: 18pt;
}
main section#contacts ul li a{
    text-decoration: none;
    color: #414042;
}
main section#contacts ul li a:link,main section#contacts ul li a:active,main section#contacts ul li a:visited{
    color: #414042;
}
main section#contacts ul li a:hover{
    text-decoration: underline;
}
main section#contacts span#life{
    background: url(../images/life-icon.png) center center no-repeat scroll;
    background-size: contain;
}
main section#contacts span#kyivstar{
    background: url(../images/kyivstar-icon.png) center center no-repeat scroll;
    background-size: contain;
}
main section#contacts span#mail{
    background: url(../images/mail-icon.png) center center no-repeat scroll;
    background-size: contain;
}
main section#contacts span#site{
    background: url(../images/site-icon.png) center center no-repeat scroll;
    background-size: contain;
}




main section#our-clients{
    width: 1300px;
    max-width: 100%;
    padding-bottom: 50px;
}
main section#our-clients img{
    display: block;
    margin: 0 auto 50px;
    max-width: 100%;
    height: auto;
}




main section#portfolio{
    width: 1300px;
    max-width: 100%;
    margin: 0 auto 50px;
    text-align: center;
}
main section#portfolio div.portfolio-item{
    display: inline-block;
    vertical-align: top;
    width: 45%;
    margin:0 3% 6%;
    text-align: justify;
}
main section#portfolio div.portfolio-item:nth-child(2n+1){
    margin-right: 0;
}
main section#portfolio h1{
    margin-bottom: 20px;
    font-size: 25pt;
    text-align: center;
}










@media screen and (max-width: 1400px) {
    header a#logo{
        margin-right: 20px;
    }
}
@media screen and (max-width: 1300px) {
    body{
        background: url(../images/bbbb.png) center center repeat scroll;
    }
    header{
        background-color: #00adef;
    }
    main{
        padding: 50px 10px 0;
    }
}
@media screen and (max-width: 1260px) {
    header{
        height: 150px;
        padding: 20px 0 15px;
    }
    header ul li{
        padding-right: 10px;
        margin-right: 6px;
    }
}
@media screen and (max-width: 1170px) {
    header{
        height: 130px;
        padding: 20px 10px 15px;
    }
    header a#logo, header a#logo span{
        width: 250px;
        height: 95px;
    }
    header ul{
        height: 60px;
        margin-top: 35px;
    }
    header ul li{
        height: 60px;
        padding-right: 10px;
        margin-right: 6px;
    }
    header ul li a{
        font-size: 36pt;
        line-height: 60px;
    }
    
    main section#contacts ul{
        text-align: center;
    }
    main section#contacts ul li{
        display: inline-block;
        vertical-align: top;
        width: 25%;
    }
    main section#contacts ul li>span{
        display: block;
        width: 80px;
        height: 80px;
        margin: 0 auto 10px;
    }
    main section#contacts ul li p{
        font-size: 15pt;
        text-align: center;
    }
    main section#contacts ul li p:last-child{
        font-size: 13pt;
    }
      
}
@media screen and (max-width: 1120px) {
    main section.page-items{
    width: 900px;
    padding: 30px;
    margin-bottom: 70px;
    border: 7px solid #414042;
    border-radius: 30px;
    }
    main div.out-it-left{
        width: 200px;
        margin-right: 30px;
    }
    main div.out-it-left h1{
        width: 200px;
        min-height: 30px;
        margin-bottom: 30px;
        font-size: 37pt;
        letter-spacing: 0;
    }
    main div.out-it-left img{
        width: 198px;
        height: 198px;
    }
    main div.out-it-right{
        border-left: 7px solid #414042;
        width: 550px;
        padding-left: 30px;
    }
    main section.tall-height2 div.out-it-right{
        padding-bottom: 30px;
    }
}
@media screen and (max-width: 1010px) {
    header{
        height: 200px;
        padding-bottom: 10px;
    }
    header a#logo{
        display: block;
        margin: 0 auto;
    }
    header ul{
        display: block;
        margin-top: 15px;
    }
    header ul li{
        height: 60px;
        padding-right: 10px;
        margin-right: 6px;
    }
    header ul li a{
        font-size: 36pt;
        line-height: 60px;
    }
    main, main section#portfolio{
        width: 1010px;
    }
    main section#portfolio div.portfolio-item{
        display: block;
        width: 80%;
        margin:0 auto 6%;
    }
    main section#portfolio div.portfolio-item:nth-child(2n+1) {
        margin-right: auto;
    }
    footer p#logo-little{
        margin-right: 30px;
    }
    footer p#text{
        margin-right: 50px;
    }
    main section#main-page-items a.main-item{
        width: 210px;
    }
    main section#main-page-items a.main-item div{
        width: 150px;
        height: 150px;
    }
    main section#main-page-items a.main-item div img{
        width: 150px;
        height: 150px;
    }
    main section#main-page-items a.main-item h1{
        width: 210px;
        font-family: BeastvsSpreadTall;
        font-size: 20pt;
        letter-spacing: 2px;
    }
    main section#main-page-items a.main-item:hover div{
        box-shadow: 0 0 25px 2px #414042;
    }
}
@media screen and (max-width: 940px) {
    main section.page-items{
    width: 800px;
    }
    main div.out-it-right{
        width: 450px;
    }
}
@media screen and (max-width: 855px) {
    main section#about-us ul{
        width: 55%;
    }
    main section#about-us img{
        width: 40%;
        height: auto;
        margin-left: 5%;
    }
    main section#our-clients img{
        margin: 0 auto 30px;
    }
}
@media screen and (max-width: 755px) {
    main section#main-page-items a.main-item{
        width: 168px;
    }
    main section#main-page-items a.main-item div{
        width: 110px;
        height: 110px;
        border-width: 8px;
    }
    main section#main-page-items a.main-item div img{
        width: 110px;
        height: 110px;
    }
    main section#main-page-items a.main-item h1{
        width: 168px;
        font-family: BeastvsSpreadTall;
        font-size: 16pt;
    }  
}
@media screen and (max-width: 745px) {
    header{
        height: 190px;
        padding-bottom: 10px;
    }
    header a#logo{
        display: block;
        margin: 0 auto;
    }
    header ul{
        height: 50px;
        border-top: 0px solid #414042 !important;
    }
    header ul li{
        height: 50px;
        padding-right: 10px;
        margin-right: 6px;
    }
    header ul li a{
        font-size: 30pt;
        line-height: 55px;
    }
    section#header-shadow{
        background-size: 97% 100%
    }
    main{
        padding: 50px 10px 0;
    }
    main section#portfolio div.portfolio-item{
        width: 100%;
    }
    footer{
        padding: 25px 0 10px;
    }
    footer p#logo-little{
        margin-right: 10px;
    }
    footer p#text{
        width: 280px;
        margin-right: 20px;
    }
    main section#contacts ul li{
        display: block;
        width: 100%;
        height: 40px;
        margin-bottom: 10px;
    }
    main section#contacts ul li>span{
        display: inline-block;
        vertical-align: top;
        width: 40px;
        height: 40px;
        margin:0 10px 0 0;
    }
    main section#contacts ul li p{
        display: inline-block;
        vertical-align: top;
        width: 80%;
        height: 40px;
        font-size: 20pt;
        overflow: hidden;
        text-align: left;
        line-height: 2.4;
    }
}

@media screen and (max-width: 650px) {
    header{
        height: auto;
    }
    header div#hamburger-menu{
        display: block;
    }
    header a#logo{
        display: block;
        margin: 0;
    }
    header ul{
        height: 0;
        border-top: 0px solid #414042;
    }
    header ul li{
        display: block;
        width: 80%;
        height: 40px;
        margin: 0 auto;
        padding: 0;
        background: none;
        border-bottom: 1px solid #fff;
    }
    header ul li:last-child{
        border: none;
        margin: 0 auto;
        padding: 0;
    }
    header ul li a{
        height: 40px;
        line-height: 1;
    }
    main section#about-us ul{
        width: 93%;
    }
    main section#about-us div p{
        display: none;
    }
    footer p#logo-little{
        margin-right: 50px;
    }
    footer p#text{
        display: none;
    }
    main section#our-clients img{
        margin: 0 auto 10px;
    }
}
@media screen and (max-width: 400px) {
    main section#main-page-items a.main-item{
        width: 148px;
    }
    main section#main-page-items a.main-item div{
        width: 90px;
        height: 90px;
        border-width: 8px;
    }
    main section#main-page-items a.main-item div img{
        width: 90px;
        height: 90px;
    }
    main section#main-page-items a.main-item h1{
        width: 148px;
        font-family: BeastvsSpreadTall;
        font-size: 14pt;
    }  
}