*
{
	margin: 0;
	padding: 0;
}
body
{
	background-color: #fef8e5;
	text-align: center;
}
#wrapper
{
	margin: 0px auto 0px auto;
	width: 1024px;
}
#header
{
	text-align: left;
	background: url('../resurse/header.png');
	width: 1024px;
	height: 133px;
}
a #logo
{
	float: left;
	margin-left: 0px;
	margin-top: 41px;
	text-decoration: none;
}
img#logo
{
	border: 0px;
}
#meniu
{
	float: left;
	margin-left: 172px;
	margin-top: 45px;
	width: 530px;
	height: 30px;
	text-transform: uppercase;
}
#meniu a
{
	float: left;
	display: block;
	padding-top: 33px;
	text-align: center;
	text-decoration: none;
	color: #fff;
}
#meniu a#primapagina
{
	margin-left: 1px;
	width: 129px;
	height: 51px;
	vertical-align: middle;
}
#meniu a#desprenoi
{
	width: 111px;
	height: 51px;
}
#meniu a#portofoliu
{
	margin-left: 0px;
	width: 120px;
	height: 51px;
}
#meniu a#contact
{
	margin-left: 1px;
	width: 92px;
	height: 51px;
}
a#primapagina:hover
{
	background: url('../resurse/primapagina.png');
}
a#desprenoi:hover
{
	background: url('../resurse/desprenoi.png');
}
a#portofoliu:hover
{
	background: url('../resurse/portofoliu.png');
}
a#contact:hover
{
	background: url('../resurse/contact.png');
}
a#primapagina.active
{
	background: url('../resurse/primapagina.png');
}
a#desprenoi.active
{
	background: url('../resurse/desprenoi.png');
}
a#portofoliu.active
{
	background: url('../resurse/portofoliu.png');
}
a#contact.active
{
	background: url('../resurse/contact.png');
}
/*beginning of main*/
#main
{
	background: url('../resurse/main_repeat.png') top left repeat-y;
	width: 1024px;
	border-bottom: 5px solid #483737;
}
/*beginning of leftside*/
#mesaj
{
	float: left;
	width: 512px;
	color: #483737;
	text-align: justify;
}
#mesaj_desprenoi
{
	float: left;
	margin-left: 0px;
	margin-top: 60px;
	width: 1022px;
	font-family: tahoma;
	font-size: 13px;
	text-align: justify;
	color: #483737;
	text-align: justify;
	background: #FEF8E5;
	border: 1px solid #ccc;
}
#scurt_istoric
{
	font-size: 13px;
	font-weight: bold;
	margin-top: 10px;
}
.ani
{
	margin-top: 10px;
	font-weight: bold;
}
h2
{
	margin-top: 20px;
	margin-left: 60px;
	font-family: tahoma;
	font-size: 15px;
}
#text
{
	margin: 15px 100px 15px 100px;
	font-family: tahoma;
	font-size: 13px;
}
#maimult
{
	margin-left: 300px;
	font-family: tahoma;
	font-size: 11px;
}
#maimult a
{
	color: #483738;
}
#galerie_categorii
{
	clear: both;
	width: 1024px;
	height: 170px;
	padding-top: 50px;
	padding-left: 10px;
}
.listacategorii
{	
	width: 1024px;
	height: 20px;
	text-transform: uppercase;
}
a.listacategorii_a, div.listacategorii_a
{
	display: block;
	float: left;
	width: 110px;
	margin-left: 5px;
	text-decoration: none;
	font-family: tahoma;
	font-size: 15px;
	color: #483738;
}
a.listacategorii_a#electrice, div.listacategorii_a#electrice
{
	margin-left: 48px;
}
a.listacategorii_a#incalzire, div.listacategorii_a#incalzire
{
	margin-left: 48px;
}
.categorii
{
	float: left;
	margin-top: 3px;
}
a .categorii_a, img.categorii_a
{
	float: left;
	display: block;
	margin-top: 5px;
	margin-left: 15px;
	text-decoration: none;
	border: 0px;
}
a .categorii_a:hover
{
	float: left;
	display: block;
	margin-left: 15px;
	margin-top: 0px;
	text-decoration: none;
	border: 0px;
}
img.categorii_a
{
	border: 0px;
}
/*beginning of rightside - but common elements are specified in the previous section*/
#text_right
{
	float: left;
	width: 500px;
	height: 170px;
}
#persuasiv
{
	float: left;
	margin-top: 20px;
	margin-left: 15px;
}
a.listacategorii_a#sanitare, .listacategorii_a#sanitare
{
	margin-left: 60px;
}
a.listacategorii_a#gaz, .listacategorii_a#gaz
{
	margin-left: 35px;
}
a.listacategorii_a#energieverde, .listacategorii_a#energieverde
{
	margin-left: 93px;
}
/*beginning of footer*/
#footer
{
	width: 1024px;
	height: 167px;
	background: #483737;
	border-top: 3px solid #ffddbb;
}
#footerleft
{
	float: left;
	width: 512px;
	height: 167px;
	text-align: left;
}
p#srl
{
	float: left;
	margin-left: 60px;
	margin-top: 40px;
	width: 412px;
	height: 15px;
	font-size: 11px;
	color: #ffddbc;
	text-transform: uppercase;
	
}
p#adresa
{
	float: left;
	margin-left: 60px;
	margin-top: 4px;
	width: 412px;
	height: 40px;
	color: #ffddbc;
	font-family: tahoma;
	font-size: 10px;
}
p#copyright
{
	float: left;
	width: 300px;
	margin-top: 45px;
	margin-left: 10px;
	font-size: 10px;
	color: #fff;
}
#footerright
{
	float: left;
	width: 512px;
	height: 167px;
	text-align: left;
}
#certificari a, #certificari p
{
	float: left;
	width: 100px;
	margin-left: 300px;
	margin-top: 20px;
	text-decoration: none;
	text-transform: uppercase;
	color: #ffddbc;
}
#byadrian
{
	float: left;
	margin-top: 60px;
	margin-left: 350px;
}
#byadrian img
{
	border: 0px;
}
#image_certificari
{
	float: left;
	margin-top: -72px;
	margin-left: 200px;
}
/*beginning of the other pages - common elements can be defined above*/
/*contact*/
#form
{
	float: left;
	width: 512px;
}
fieldset
{
    padding-top: 20px;
    padding-left: 15px;
    padding-bottom: 15px;
    width: 450px;
	height: 170px;
    border: 1px dashed #041f32;
}
#fs
{
    float: left;
	margin-left: 20px;
    margin-top: 15px;
}
#leftform
{
    float: left;
    width: 100px;
    font-family: tahoma;
    font-size: 13px;
    color: #041f32;
}
#rightform
{
    
    float: left;
}
#formmessage
{
    width: 300px;
    height: 80px;
}
#date_contact
{
	float: left;
	width: 400px;
	margin-top: 20px;
	margin-left: 60px;
	font-family: tahoma;
	font-size: 13px;
	text-align: center;
	color: #041f32;
}
span.contact
{
	font-weight: bold;
}
p#persoane_contact
{
	font-weight: bold;
	margin-top: 15px;
}
#date_contact p
{
	margin-bottom: 5px;
}
.formbox
{
    margin-bottom: 13px;
	background: #ffddbb;
	border: 2px solid #fff;
}
#sendbutton
{
    margin-left: 102px;
	margin-top: -6px;
    border: none;
}
/*categorii*/
.titlu_articol
{
	font-weight: bold;
	margin-bottom: 10px;
	margin-left: 50px;
}
#mesaj_electrice, #mesaj_termice, #mesaj_proiectare, #mesaj_sanitare, #mesaj_gaz, #mesaj_energieverde
{
	float: left;
	width: 512px;
	margin-top: 30px;
	font-family: tahoma;
	font-size: 13px;
	text-align: justify;
	color: #041f32;
}
p#electrice, p#termice, p#gaz, p#energieverde, p#proiectare, p#sanitare
{
	margin-left: 50px;
	margin-right: 50px;
}
h1#titlu_proiectare
{
	font-family: tahoma;
	font-size: 13px;
	font-weight: bold;
}
/*certificari*/
.paddingleft
{
	margin-left: 7px;
}
a.autorizatii
{
	float: left;
	margin-right: 7px;
	margin-bottom: 15px;
	text-decoration: none;
}
.autorizatii img
{
	border: 1px solid #041f32;
	background: #fff;
	padding: 6px;
}
.paddingtop
{
	margin-top: 15px;
}
#galerie_autorizatii
{
	float: left;
	width: 512px;
}
/*lightbox*/
#lightbox{
	background-color:#eee;
	padding: 10px;
	border-bottom: 2px solid #666;
	border-right: 2px solid #666;
	}
#lightboxDetails{
	font-size: 0.8em;
	padding-top: 0.4em;
	}	
#lightboxCaption{ float: left; }
#keyboardMsg{ float: right; }
#closeButton{ top: 5px; right: 5px; }

#lightbox img{ border: none; clear: both;} 
#overlay img{ border: none; }

#overlay{ background-image: url(../scripts/overlay.png); }

* html #overlay{
	background-color: #333;
	back\ground-color: transparent;
	background-image: url(../scripts/blank.gif);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="overlay.png", sizingMethod="scale");
	}
	
