html {height: 96%;}

* html body {height: 96%;}

body{
    background-color: #141414;
    font-family: Verdana;
    color: #cdcdcd;
    position: relative;    
    font-size: 11px;
    min-height: 100%;
    line-height: 14px;
}

/*@font-face { font-family: "Rubl Sign"; src: url(../fonts/ruble.eot); }
span.rub { font-family: "Rubl Sign"; text-transform: uppercase; // text-transform: none;}    
span.rub span { position: absolute; overflow: hidden; width: .45em; height: 1em; margin: .1ex 0 0 -.55em; // display: none; }
span.rub span:before { content: '\2013'; }*/


a{
    color:#00a8ec;
}

a:hover{
    color: #ff7500;
}

h1, h3{
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 10px;
    clear: both;
}

p{
    color: #818181;
    margin-bottom: 20px;
    line-height: 16px;
}

hr{
    clear: both;
    height: 1px;
    border-top: 1px solid #303030;
    color: #303030;
}

input, textarea, button, #mail-form div.result{
    display: block;
    border: 1px solid #5b5b5b;
    background-color: #141414;
    color: #737373;
    width: 226px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
    font-size: 11px;
    font-family: Verdana;
}

.clear{
    clear: both;
}

#mail-form div.result{
    padding: 10px;
}

input{
    height: 16px;
    padding-top: 4px;
}

textarea{
    height: 130px;
    overflow: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

button{
    width: 100px;
    height: 25px;
    padding-bottom: 5px;
    color: #cdcdcd;
    float: right;

}

.fleft{
    float: left;
    clear: left;
}

.fright{
    float: right;
    clear: right;
}

.pink{
    color: #ec6b76 !important;
}

.gold{
    color: #fea900 !important;
    font-size: 12px !important;
}

.gray{
    color: #555555;
}

#content {
    padding-bottom: 164px;
}

#header, #top-menu, #sub-top-menu, #portfolio-second, #texts, #black-and-white-clients, #footer-inside, #top-menu-2{
    width: 927px;
    margin: 0 auto;
    margin-bottom: 30px;
}

#black-and-white-clients{
    margin-bottom: 80px;
}

#header{
    color: #a7a7a7;
    margin-top: 25px;
    position: relative;
}

#header div{
    position: absolute;
    font-size: 14px;
    text-align: right;
    bottom: 0;
    right: 0;
    line-height: 20px;    
}

#header span{
    font-size:24px;
}

#header em{
    font-size: 12px !important;
    font-style: normal;    
}

#top-menu{
    display: block;
    background-image: url('../images/background-top-menu.png');
    background-repeat: no-repeat;
    background-position: 0 20px;
    height: 91px;

}



#top-menu li, #top-menu-2 li, #sub-top-menu li{
    float: left;  
}

#top-menu-2{
    height: 20px;
}

#top-menu-2 li{    
    float: right;
}

#top-menu ul li span, #top-menu-2 ul li span{
    color: #53CC25;   
    font-size: 11px; 
}


#top-menu ul{
    margin-top: 10px;
}

#top-menu ul li {
    float: none;
    display: block;

}

#top-menu ul li, #top-menu ul li a{
    line-height: 18px;
}

#top-menu span, #sub-top-menu span{
    font-size: 14px;
}

#about-li{
    padding-left: 10px;
    width: 145px;
}

#sites-li{
    width: 250px;
}

#design-li{
    width: 197px;
}

#adv-li{
    width: 193px;
}

#smth-li{
    width: 132px;
}


#sub-top-menu li{
    margin-right: 17px;    
    float: left;    
    height: 14px;    
}

#sub-top-menu a{
    display: block;
    padding-top: 1px;
}

#portfolio-first{
    clear: both;
    background-image: url('../images/background-portfolio-first.png');
    width: 950px;
    padding-left: 20px;
    height: 303px;
    padding-top: 12px;
    margin: 0 auto;
    margin-top: 30px;
}

#portfolio-first li{
    float: left;
    width: 316px;
}

#portfolio-first div{
    background-color: #343434;
    width: 270px;    
    padding-left: 15px;
    padding-right: 15px;
    height: 38px;
    padding-top: 10px;
    margin-top: 12px;    
}

#portfolio-second{
    background-image: url('../images/background-portfolio-second.png');
    background-repeat: no-repeat;
    margin-top: 80px;
    width: 950px;
    padding-left: 16px;
    height: 108px;
    padding-top: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;    
    clear: both;
}

#portfolio-second div{
    width: 937px;
    overflow: hidden;
}

#portfolio-second ul{
    overflow: hidden;
    position:relative;
    list-style:none;
    width:31999px;    
}

#portfolio-second ul li {
    float:left;
}

#portfolio-second ul img{
    margin-right: 17px;   
    width: 142px; 
    height: 100px; 
}

#prev, #next{
    top: 33px;
    z-index: 3;
    cursor: pointer;
    position: absolute;
}

#prev{
    left: 16px;
}

#next{
    right: 17px;

}

#first-page-text-1{    
    float: left;
    width: 434px;
    padding-right: 25px;
}

#first-page-text-2{
    padding-right: 25px;
    padding-left: 455px;
}

#black-and-white-clients h1{
    border-bottom: 1px solid #2e2e2e;
    padding-bottom: 7px;
    margin-top: 30px;    
}

#black-and-white-clients li{
    float: left;
    margin:0 15px;
}

#black-and-white-clients li{
    background-image: url('../images/clients-black-white-logos.png');
    background-repeat: no-repeat;
    height: 80px;    
    overflow:hidden;
    text-indent:-40em;
    float: left;
}

#black-and-white-clients li.bw-chudo{
    background-position:0px 0px;
    width:90px;    
    overflow:hidden;
    text-indent:-40em;
    float: left;    
}


#black-and-white-clients li.bw-chudo{
    background-position:0px 0px;
    width:90px;    

}

#black-and-white-clients li.bw-edem{
    background-position:-130px 0px;
    width:120px;    

}

#black-and-white-clients li.bw-dula{
    background-position:-290px 0px;
    width:115px;    

}

#black-and-white-clients li.bw-vosvod{
    background-position:-446px 0px;
    width:56px;    

}

#black-and-white-clients li.bw-telfo{
    background-position:-542px 0px;
    width:124px;    

}

#black-and-white-clients li.bw-7nebo{
    background-position:-706px 0px;
    width:72px;    

}

#black-and-white-clients li.bw-telecom{
    background-position:-802px 0px;
    width:100px;    

}

#footer{
    clear: both;
    background-image: url('../images/background-footer.png');
    background-repeat: repeat-x;
    background-position: bottom;
    height: 144px;    
    position: absolute;
    bottom: 0px;
    width: 100%;
}

#footer-inside{
    position: relative;
}

#footer-text{
    margin-top: 60px;
    background-image: url('../images/logo-mogo-bw.gif');
    background-repeat: no-repeat;
    background-position: 0 10px;    
    margin-bottom: 0;
    color: #818181;

    padding-left: 100px;
    line-height: 14px;
    float: left;
}

#footer-address, #footer-descr{
    padding-top: 26px;
}

#footer-descr{    
    width: 260px;
    float: left;    
}

#footer-address{
    float: left;
    width: 200px
}

#garbage{        
    float: right;
    width: 283px;

    margin-top: 78px;
    margin-bottom: -100px;
}

#garbage a{
    display: block;
    background-image: url('../images/background-garbage.png');
    background-position: left center;
    background-repeat: no-repeat;
    width: 66px;
    padding-left: 45px;
    height: 30px;
    float: left;
    margin-top: 10px;
}

#garbage img{
    position: absolute;
    top: 7px;
    right:0px;
}

#texts{
    margin-top: 30px;
}

#texts h1, #texts h2{
    clear: none;
}

div.round-header{
    background-image: url('../images/background-round-header.png');
    background-repeat: no-repeat;
    width: 647px;
    height: 44px;
}

div.round-footer{
    background-image: url('../images/background-round-footer.png');
    background-repeat: no-repeat;
    width: 647px;
    height: 47px;
    bottom: 174px;
    /*position: absolute;*/
}

div.round-header-right{
    background-image: url('../images/background-round-header-right.png');
    background-repeat: no-repeat;
    width: 318px;
    height: 11px;
}

div.round-footer-right{
    background-image: url('../images/background-round-footer-right.png');
    background-repeat: no-repeat;
    width: 318px;
    height: 10px;
    position: relative;
    top: 100%;
}



div.round-annotation-top{
    background-image: url('../images/background-annotation-top.png');
    background-repeat: no-repeat;
    width: 318px;
    height: 14px;
}

div.round-annotation-middle{
    background-image: url('../images/background-annotation-middle.png');
    background-repeat: repeat-y;
    width: 268px;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 25px;
    line-height: 16px;
    clear: both;
    min-height: 286px;
}

div.round-annotation-bottom{
    background-image: url('../images/background-annotation-bottom.png');
    background-repeat: no-repeat;
    width: 318px;
    height: 14px;
}

.round-annotation-middle div.fleft, .round-annotation-middle div.fright{
    color: #818181;
    padding-bottom: 20px;
    line-height: 14px;
}

.round-annotation-middle hr{
    margin-bottom: 20px;
}

#portfolio-inside{
    width: 968px;
    margin: 0 auto;
    position: relative;
}

#portfolio-inside td{
    vertical-align: top;
    line-height: 16px;
}

#portfolio-inside #left{
    width: 647px;
    background-color: #212121;
    border-right: 3px solid #141414;
    background-image: url('../images/background-round-footer.png');
    background-repeat: no-repeat;
    background-position: bottom;
    padding-bottom: 63px;
}

#portfolio-inside #right{
    width: 318px;
    background-color: #303030;
    background-image: url('../images/background-round-footer-right.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    padding-bottom: 15px;
}

#portfolio-inside .item{
    width: 618px;
    min-height: 130px;
    padding-left: 29px;
    padding-top: 20px;    
    clear: both;
}

#portfolio-inside .description h2{
    color: #cdcdcd;
    font-weight: normal;
    font-size: 14px;
    border-bottom: 1px solid #303030;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

#portfolio-inside .item img{
    float: left;
    margin-top: 3px;

}

#portfolio-inside .item .description{
    padding-left: 155px;
    padding-right: 15px;
    padding-bottom: 10px;
}

#portfolio-inside .item .description.project{
    padding-left: 0px;
}


#mail-form{
    margin-top: 60px;
    margin-left: 33px;
}

#mail-form button{
    margin-right: 37px;
}

#portfolio-navigation{
    padding-top: 9px;
}

#portfolio-navigation .fleft{
    padding-left: 30px;
    font-size: 14px;
    padding-top: 5px;
}

#portfolio-navigation .fright{
    margin-right: 20px;
}

#portfolio-navigation li{
    float: left;
    display: block;
    margin-left: 5px;
    margin-right: 5px;  
    padding-top: 2px;  
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

#portfolio-navigation li.selected{
    color: #53cc25;
    background-color: #303030;
    border: 1px solid #5b5b5b;
}

.pagination, .paginator{
    color: #b4b4b4;
    position: realtive;
    bottom: -54px;
    width: 300px;
    margin-left: 243px;
}

.pagination div, .pagination li, .paginator a{
    float: left;
    margin-right: 12px;
    position: relative;
}

.pagination div{
    padding-top: 5px;
}

.pagination li a, .paginator a, .pagination a.inactive{
    display: block;
    border: 1px solid #5b5b5b;
    padding: 5px;
    padding-left: 8px;
    padding-right: 8px;
    color: #53CC25;
    text-decoration: none;
    background-color: #303030;
    cursor: default;
}

.pagination li.selected, .paginator a.active{
    color: #fff;
    background-color: #141414;
    cursor: pointer;
}


a[title="Previous Page"]{
    display: none;
}

a[title="Next Page"]{
    display: none;
}
