﻿
html, body, div, span, applet, 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

a:visited, a:link {
    color: inherit;
    text-decoration: none;
    }


#bnrs {
    background-color: #a25f5f;
    background-image: url("../images/4bnrs.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    margin-bottom: 0px;
    padding-left: 0%;
    padding-right: 0%;
    box-shadow: 2px 2px 4px 0 #ccc;
    display: block;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-width: 380px;
}

#works, #info {
    text-align: center;
    padding:80px 0 0 0;
}

#works img {
    margin: 0 0 20px 0;
}

#works h1, #info h1 {
    font-family: "nirmala-semi";
    font-weight: 100;
    font-size: 40px;
}

#info h1 {
    padding: 60px 0 60px 0;
}


* { box-sizing: border-box; }



/* ---- grid ---- */


/* clearfix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- grid-item ---- */


.grid-item {
    width: 160px;
    min-height: 80px;
    float: left;
    background: #D26;
    border: 2px solid #333;
    border-color: hsla(0, 0%, 0%, 0.5);
    border-radius: 5px;





}

.grid-item--width2 { width: 320px; }
.grid-item--width3 { width: 480px; }
.grid-item--width4 { width: 640px; }

.grid-item--height2 { height: 200px; }
.grid-item--height3 { height: 260px; }
.grid-item--height4 { height: 360px; }
.grid-item--height4 { height: 360px; }

.grid-item img{
    display: block;
    max-width: 100%;
}


@font-face {
    font-family: 'nirmala-semi';
    font-style: normal;
    font-weight: normal;
    src: url('/fonts/NirmalaS.eot'), url('/fonts/NirmalaUI-Semilight.woff') format('woff'),
    url('/fonts/NirmalaUI-Semilight.svg') format('svg');
}


body {
    font: 1em/1.67 'nirmala-semi', Arial, Sans-serif;
    margin: 0;padding: 0;
    background: #e9e9e9;
}

.wrapper {
    padding: 0 7em;
  /*  padding: 30px 0;*/
}

.masonry {
    margin: 1.5em 0 0 0;
    /*  padding: 0;*/
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
    font-size: .85em;
}


#works.wrapper {
    background: url("/images/big_back_1_.jpg") no-repeat center ;
    background-size: cover;
}

.item {
    display: inline-block;
    background: #fff;
    /*padding: 1em;*/
    margin: 0 0 1.5em;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /*box-shadow: 2px 2px 4px 0 #ccc;*/
    /*border-radius: 15px;*/
    position: relative;
    overflow: hidden;
}
.item span {
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    background: #ffffff;
    height: 35px;
    line-height: 35px;
    text-align: center;
    opacity: 0;
    font-size: 18px;
}

#plane{
    position: fixed;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    background: #ffffff;
    z-index: 10;
    opacity: 0.9;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.masonry .item:hover img {
    opacity: .85;
    -moz-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.masonry .item:hover span {
    opacity: 1;
    bottom: 0;
    -moz-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

@media only screen and (min-width: 380px) {
    .masonry {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
    #works h1, #info h1 {
        padding: 60px 15px;
    }
    #works p{
        padding: 0 15px;
    }
    #prev_work, #next_work{
        display: none;
    }

    #contacts, #about{
        width: 100%;
    }

    #top_menu li{
        display: none;
    }
    #top_menu {
        background: url("/images/menuicon.gif") no-repeat right 5px;
        width: 120px;
        height: 60px;
    }
}

@media only screen and (min-width: 700px) {
    #header{
        background-image: url("/images/l_corner_1_.jpg");
    }
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
    #top_menu li{
        display: inline-block;
    }
    #top_menu {
        background: none;
        width: auto;
    }

}

@media only screen and (min-width: 1000px) {
    #header{
        background-image: url("/images/l_corner_1_.jpg"), url("/images/r_corner_1_.jpg");
    }
    .masonry {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
    #works h1, #info h1 {
        padding: 60px 0px;
    }
    #works p{
        padding: 0;
    }
    #contacts, #about{
        width: 50%;
    }


    #prev_work, #next_work{
        display: block;
    }

}

@media only screen and (min-width: 1200px) {
    .masonry {
        -moz-column-count: 5;
        -webkit-column-count: 5;
        column-count: 5;
    }

}




@media only screen and (min-width: 1280px) {
    .wrapper {
        /*width: 1560px;*/
    }
}
#contactme{
    width: 100%;
    height:200px;
    background:#6098bb;
    text-align: center;
    line-height: 200px;

}

#contactme span {
    width: 250px;
    padding: 20px;

    font-size: 24px;
    /*padding: 1em;
    margin: 0 0 1.5em;*/
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /*box-shadow: 2px 2px 4px 0 #ccc;*/
    border-radius: 50px;
    border: 1px #ffffff solid ;
    color: #ffffff;
}



/*

  @font-face
  {font-family:'__Exo 2.0_5';
      src:url('../fonts/exo2light.eot');
      src:local('â˜º'), url('../fonts/exo2light.woff') format('woff'), url('../fonts/exo2.0-light.svg') format('svg');font-weight:300;font-style:normal;}
*/
#header{
    width: 100%;
    top: 0;
    height: 80px;
    background-repeat: no-repeat, no-repeat;
    background-position: left top, right top;
    background-color: #191a1c;
    color:#ffffff;
    position: absolute;
    border-bottom: 1px solid #8c8d8e;
    padding: 20px 0 0 0;
}
#logo{
    float: left;
}
#top_menu {
    float: right;

}
#top_menu li {
    font-family: "nirmala-semi";
    font-size:24px ;
    text-transform: uppercase;
    margin-left: 10px;
    letter-spacing: 1px;
    color: #7c7c7c;
}

#top_menu li a:hover {
    color: #ffffff;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

#top_menu li a:active {
    color: #6098bb;
}

#hompage #top_menu li a{
    font-weight: bold;
    color: white;
}


h1 {
    text-transform: uppercase;
}
#contacts, #about{
    float: left;
    background: #425262 url("/images/contact_corner.jpg") no-repeat right bottom;
    color: #cfcfcf;
    min-height: 400px;
    text-align: left;
}
#about{
    background: #33373c url("/images/about_corner.jpg") no-repeat bottom right;
}
#close{
    position: absolute;
    right: 20px;
    top:-30px;
    color: #000000;
}

#footer {
    background: #cfcfcf;
    clear: both;
    height: 120px;
    color: #7c7c7c;
}
.socicon {
    /*background: #6098bb;
    border-radius: 20px;*/
    font-size: 24px;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    margin: 20px 10px 0 0;

}
#about, #contacts {
    padding: 7em;
}
#about h2, #contacts h2{
    font-size: 30px;
    text-transform: uppercase;
}

#prev_work, #next_work{
    position: absolute;
    top:300px;
    left: 10%;
    font-size: 24px;
    text-decoration: none;
    opacity: 0.5;
    text-align: center;
}

#prev_work p, #next_work p{
    font-size: 18px;
    opacity: 0.3;
}


#prev_work:hover, #next_work:hover{
    opacity: 1;
    -moz-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

#prev_work:hover{
    left: 9.7%;
}

#next_work:hover{
    right: 9.7%;
}


#next_work{
    left: auto;
    right: 10%;
}


#top_bottom{
    position: fixed;
    top:80%;
    right: 10%;
    background: #cfcfcf;
    width: 70px;
    height: 70px;
    display:none;
}


#works header {
    padding: 0 0 20px 0;
    max-width: 1000px;
    text-align: left;
    margin: 0 auto;
    line-height: normal;
}
#works b {
    color: #33373c;
}

#works img {
display:block;
margin:2em auto;
}


.team
{color: #e9e9e9}
.team a
{
text-decoration:underline;
}
