img
{
    border: 0px;
}

html
{
    height:100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 15px;
    color: gray;
}

body
{
    height:100%;
    background-color: black;
    margin: 0;
    padding: 0;
}

h1
{
    font-size: 20px;
}

h2
{
    
    font-size: 17px;
    font-weight: bold;
    margin-top: 15px;
    color: #C9C9C9;
}

h4
{
    margin: 0px;
    padding: 0px;
    margin-bottom: 5px;
    margin-top: 5px;
    color: #C9C9C9;
}

ul
{
    margin: 0px;
    margin-left: 30px;
    padding: 0px;  
    margin-bottom: 5px;
}

.hl
{
    font-weight: normal;
    color: #C9C9C9;
}

#wrapper
{
	width: 100%;
	height: 100%;
	min-width: 1000px;
}

#wrapper-head
{
	background-color: white;
	height: 128px;
}

#wrapper-foot
{
    height: 60px;
	vertical-align: top;
	background-color: #141414;
}

.menu_position
{
	padding-left: 140px;
    padding-top: 88px;
}

/* --- Header --- */
#header
{
	width: 100%;
	height: 100%;
}

#header-left
{
	background-color: black;
	height: 158px;
}

#header-center
{
	background-image: url("/_mod_files/ce_images/header-center.png");
	background-color: black;
	background-repeat: no-repeat;
	width: 998px;
	height: 128px;
	vertical-align: bottom;
	margin: 0 auto;
}

#header-right
{
	background-color: black;
	height: 128px;
}

/* --- Menu --- */

/*.menu
{
	width: 800px;
	display: inline-block;
}*/

#menu-left-padding
{
	/*background-color: white;*/
	width: 152px;
}

#photo
{
	background-image: url("/_mod_files/ce_images/menu/photo-unsel.png");
	background-repeat: no-repeat;
	width: 122px;
	height: 61px;
}

#photo-sel
{
  background-image: url("/_mod_files/ce_images/menu/photo-sel.png");
	background-repeat: no-repeat;
	cursor: pointer;
	width: 122px;
	height: 61px;
}

#photo:hover
{
	background-image: url("/_mod_files/ce_images/menu/photo-sel.png");
	background-repeat: no-repeat;
	cursor: pointer;
	width: 122px;
	height: 61px;
}

#portfolio
{
	background-image: url("/_mod_files/ce_images/menu/portf-unsel.png");
	background-repeat: no-repeat;
	width: 120px;
	height: 61px;	
}

#portfolio-sel
{
  background-image: url("/_mod_files/ce_images/menu/portf-sel.png");
	background-repeat: no-repeat;
	width: 120px;
	height: 61px;	
}

#portfolio:hover
{
	background-image: url("/_mod_files/ce_images/menu/portf-sel.png");
	background-repeat: no-repeat;
	cursor: pointer;
	width: 120px;
	height: 61px;	
}

#costs
{
	background-image: url("/_mod_files/ce_images/menu/costs-unsel.png");
	background-repeat: no-repeat;
	width: 136px;
	height: 61px;	
}

#costs-sel
{
  background-image: url("/_mod_files/ce_images/menu/costs-sel.png");
	background-repeat: no-repeat;
	width: 136px;
	height: 61px;	
}

#costs:hover
{
	background-image: url("/_mod_files/ce_images/menu/costs-sel.png");
	background-repeat: no-repeat;
	cursor: pointer;
	width: 136px;
	height: 61px;	
}

#rent
{
	background-image: url("/_mod_files/ce_images/menu/rent-unsel.png");
	background-repeat: no-repeat;
	width: 145px;
	height: 61px;		
}

#rent-sel
{
  background-image: url("/_mod_files/ce_images/menu/rent-sel.png");
	background-repeat: no-repeat;
	cursor: pointer;
	width: 145px;
	height: 61px;	
}

#rent:hover
{
	background-image: url("/_mod_files/ce_images/menu/rent-sel.png");
	background-repeat: no-repeat;
	cursor: pointer;
	width: 145px;
	height: 61px;		
}

#contacts
{
	background-image: url("/_mod_files/ce_images/menu/contacts-unsel.png");
	background-repeat: no-repeat;
	width: 110px;
	height: 61px;	
}

#contacts-sel
{
  background-image: url("/_mod_files/ce_images/menu/contacts-sel.png");
	background-repeat: no-repeat;
	cursor: pointer;
	width: 110px;
	height: 61px;	
}

#contacts:hover
{
	background-image: url("/_mod_files/ce_images/menu/contacts-sel.png");
	background-repeat: no-repeat;
	cursor: pointer;
	width: 110px;
	height: 61px;	
}

#splitter
{
	width: 100%;
	height: 1px;
	background-image: url(/_mod_files/ce_images/splitter.png);
	background-repeat: repeat-x;
}

.footer
{
	width: 100%;
	background-color: #141414;
}

#footer
{
	text-align: center;
}

#footer-content
{
	display: inline-block;
	width: 1000px;
}

td .footer-content
{
	font-family: sans-serif;
	padding: 10px;
	font-size: 11px;
	color: #B9B9B9;
}

#f-left
{
	text-align: left;
	padding-left: 100px;
	width: 200px;
}

#f-center
{
	text-align: center;
	width: 400px;
}

#f-right
{
	padding-left: 30px;
	text-align: left;
	width: 330px;
}

.v-splitter
{
	width: 1px;
	background-image: url("../../template/img/v-splitter.png");
	background-repeat: no-repeat;
}

.v-splitter-menu
{
	width: 1px;
	background-image: url("../../template/img/v-splitter-menu.png");
	background-repeat: no-repeat;
    background-position: center;
}

/* COSTS */

#cost-elem
{
    font-size: 15px;
    height: 30px;
    background-repeat: repeat-y;
}

#cost-elem > div
{
    height: 30px;
    text-align: right;
    padding: 5px;
    padding-right: 20px;
}

a
{
    font-family: sans-serif;
    color: gray;   
    font-style: normal;
    text-decoration: none;    
}

#sub_menu
{
    width: 500px;
    height: 30px;
    vertical-align: middle;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: -5px;
}

.menu_item
{
    padding: 5px;
}

.hid
{
    padding-top: 10px;
    margin-left: 15px;
}

.tb_h
{
    background-color: #101010;
}

#pht > table
{
    font-size: 13px;
}

#carousel
{
    margin-left: 50px;
    height: 800px;
}

.carousel-container-image
{
    width: 100px;
}

div.m1
{
    background-image: url('../../img/studio/m2.png'); 
    cursor: pointer;
    width: 153px; 
    height: 25px;
}

div.m2
{
    background-image: url('../../img/costs/m2.png'); 
    cursor: pointer;
    width: 153px; 
    height: 25px;
}

div.m1:hover, div.m2:hover
{
    background-position: -153px;
}

div.image-cell
{
    /*padding: 5px;*/
    width: 94px;
    height: 94px;
    vertical-align: middle;
    display: table-cell;
    overflow: hidden;
    background-color: #141414;
    #position: relative;
}

div.image-cell > a > img
{
    display: block;
    margin: 0px auto;
    background-color: #bbb;
    padding: 2px;
    #position: relative; #top: -50%
}

div.image-cell > a
{
    #position: absolute; #top: 50%;    
}

div.image-cell:hover
{
    background-color: #838383;
}

div.image-outer
{
    /*display: inline-block;*/
    display: inline;
    display: -moz-inline-stack;/*Firefox 2*/
    display:inline-block; /*Хорошие браузеры*/
    _overflow:hidden;/*IE6, IE7*/
    
    *zoom:1;/*включаем hasLayout для IE6, IE7*/
    *display:inline;/*при hasLayout true display:inline в IE6, IE7 ведёт себя как display:inline-block*/
    
    width: 94px;
    height: 94px;
    margin-bottom: 4px;
    *margin:4px;  
    #position: relative; 
}


div > div.image-outer
{
    vertical-align: top
}

#dialog_bk
{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0.6;
    background-color: #101010;
}

#dialog_form
{
    position: absolute;
    z-index: 2001;
    width: 510px;
    height: 218px;
    background-color: #E9E9E9;
    opacity: 1;
}
