body {
    background: url(../img/bgl.png);
    #f2f2f2;
}

#container {
	position: relative;
}
/*
----------------------------------------------------------------------------------------

top phone

----------------------------------------------------------------------------------------
*/
#top_phone {
    background-color: #4c4e4d;
    height: 43.5pt;
	z-index: 99999;
}

	#top_phone input {
	    font: 11pt Georgia, "Times New Roman", serif;
	    margin-top: 4.5pt;
	    width: 99%;
	    background-color: #f2f2f2;
	    border: none;
	    color: #989898;
	}

	#top_phone #input_background {
	    margin: 8.25pt 0pt;
	    height: 24.75pt;
	    width: 100%;
	    background-color: #f2f2f2;
	    color: #e8e8e8;
	}

	#top_phone #tel_button {
	    font: 11pt Georgia, "Times New Roman", serif;
	    color: white;
	    margin: 8.25pt 0pt;
	    height: 24.75pt;
	    width: 100%;
	    background-color: #49baeb;
	    border: none;
	    cursor: pointer;
		border-radius: 6px;
	    -webkit-border-radius: 6px;
	    -moz-border-radius: 6px;
	}
/*
----------------------------------------------------------------------------------------

header

----------------------------------------------------------------------------------------
*/
#header {
    background: url(../img/header.png);
    background-color: #e0e0e0;
    position: relative;
	overflow: hidden;
	z-index: 1;
}
* html #header {
	display: inline-block;
}
	#child  {
		position: absolute;
		bottom: 1px;
		left: 1px;
		z-index: 1000;
		display: block;
	}
	#header a, #header p {
	    color: #3e403f;
	}

	#header_logo {
	    background: url(../img/child.png) no-repeat bottom left;
	    padding: 0 0 2em;
	}

	#header_top_text {
	width: 960px;
	margin: 0 auto;		
	}

	#logo {
		position:absolute;
		top: 16pt;
		left: 0;
	}
	.fix_fucking_stupid_bug {
		height: 2em
	}
	#logo_container {
		position: absolute;
		left: 50%;
		margin-left: -480px;
		top: 0;
	}
	#header_screen {
		position: relative;
		left: 0;
		height: 100%;
		background:  #ed3b47;
		width: 100%;
		z-index: 9999;
		color: #fff;
		top: 0px;
		height: 300pt;
		margin-top: -300pt;
	}
	#header_screen_container {
		position: absolute;
		top: 43.5pt;
		overflow: hidden;
		width: 100%;
		z-index: 999999;
		overflow: hidden;
	}
	#header_960_container {
		width: 960px;
		margin: 0 auto;
		position: relative;
	}
	#sale {
	    position: relative;
	   	margin: 0 0 0 auto;
	    height: 160px;
	    width: 150px;
	    background: url(../img/sale.png) no-repeat bottom left;
		display:block;
		cursor:pointer;
		z-index: 10;
	}
		#sale a {
			position:absolute;
			top: 25px;
			left: 15px;
			font-size: 16pt;
		}
		.z_index_fix *{
			z-index: 0;
		}
	#menu {
	    list-style: none;
	    margin-top: 16pt;
		margin-bottom: 16pt;
	}

		#menu li {
		    display: inline;
		    margin-right: 2em;
		    line-height: 50pt;
		    vertical-align: middle;
		}

		#menu img, #menu a {
		    vertical-align: middle;
		}
/*
----------------------------------------------------------------------------------------

portfolio

----------------------------------------------------------------------------------------
*/
#portfolio {
    background: url(../img/screen.png) no-repeat top left;
    height: 373px;
	width: 495px;
	margin: 2em 5px 0 -22px;
}
* html #portfolio{
	background: url(../img/screen_fix.jpg) no-repeat top left;
}
	#portfolio_container {
		position: relative;
		height: 322px;
		width: 444px;
		margin: 24px 0 0 23px;
		display:block;
		overflow: hidden;
	}
		#portfolio_container img {
			display: block;
			zoom: 1;
		}
#footer {
	background: #4c4e4d;
	padding: 16.5pt 0;
	color: #fff;
	position: relative;
}
	#footer_top_arrow {
		position: absolute;
		top: 0;
		right: 0;
		height: 30px;
		width: 30px;
		display:block;
	}
/*
----------------------------------------------------------------------------------------

colors

----------------------------------------------------------------------------------------
*/
.red {
    color: #ed3b47;
}
.white, #header .white {
	color: #fff;
}
.gray {
    color: #4c4e4d;
}
.bordo {
	color: #811d1d;
}
.dgray {
    color: #3e403f;
}
.lgray {
	color:#b7b7b7;
}
.blue {
	color: #6fd4ff;
}
a {
    color: #ed3b47;
}
/*
----------------------------------------------------------------------------------------

underlines

----------------------------------------------------------------------------------------
*/
.dashed_border_bordo,.dashed_border_blue,.dashed_border_white {
	text-decoration:none;
}
.dashed_border_bordo {
	border-bottom: 1px dashed #811d1d;
}
.dashed_border_white {
	border-bottom: 1px dashed #fff;
}
.dashed_border_blue {
	border-bottom: 1px dashed #6fd4ff;
}
.dashed_border_bordo:hover,.dashed_border_blue:hover,.dashed_border_white:hover {
	border: none;
}
/*
----------------------------------------------------------------------------------------

inline blocks

----------------------------------------------------------------------------------------
*/
.thumbnails {
    margin: 1em 0 0 -1em;
    text-align: center;
}

.thumbnail {
    text-decoration: none;
    display: -moz-inline-box;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    margin: 1em 0 0 1em;
	background: url(../img/light_noise.jpg);
}

.thumbnail .r {
    width: 263px;
    float: left;
	padding: 8.25pt 16pt 16pt;
}
/*
----------------------------------------------------------------------------------------

Some strange classes

----------------------------------------------------------------------------------------
*/
.vertical_align_middle {
	vertical-align:middle;
	text-decoration:none;
}
.pos_r {
	position: relative;
}
/*
----------------------------------------------------------------------------------------

contacts

----------------------------------------------------------------------------------------
*/
#contacts_picture {
	position: relative;
	overflow: hidden;
	z-index: 1;
	display: none;
}
#contacts_picture img {
	zoom: 1;
	z-index: 10000;
	z-index: 99999;
	position: relative;
}

*:first-child + html body #portfolio_container{
    margin: 23px 0 0 23px;
   	width: 444px;
}
* html body #portfolio_container{
	margin: 23px 0 0 20px;
    width: 444px;
}


