@import url(fonts.css);

body{
	background: url(../images/background.jpg) #e0e0e0 no-repeat 50% 0;
	background-attachment: fixed;
	font-family: Fertigo, Georgia, serif;
	color: #333;
	margin: 0;
	padding: 0;
	font-size: 18px;
	}
section,article,header,nav,aside,footer{
	display: block;
	}
a{ color: #333; }
a:hover{ color: #000; }
br.clear{ clear: both;}

/* ************************************ */

header.main-title{
	background: url(../images/header_background.png) no-repeat 50% 0 transparent;
	width: 100%;
	height: 270px;
	}
header.main-title div{
	width: 960px;
	margin: 0 auto;
	}
header.main-title h1{
	display: block;
	float: left;
	padding: 0;
	margin: 20px 0 0;
	text-indent: -9999em;
	width: 176px;
	height: 85px;
	background: url(../images/logo.png) no-repeat 0 0;
	}

header.main-title nav{
	float: right;
	}
header.main-title nav ul{
	padding: 0;
	margin: 40px 0 0;
	}
header.main-title nav li{
	display: inline;
	padding: 0 15px 0 0;
	}
header.main-title nav a{
	outline: none;
	padding: 0 0 3px;
	font-size: 14px;
	text-decoration: none;
	border-bottom: #444 3px solid;
	color: #fff;
	}
header.main-title nav a:hover{
	padding: 0 0 2px;
	border-bottom: #666 5px solid;
	color: #e0e0e0;
	}
header.main-title p{
	clear: both;
	display: block;
	width: 100%;
	font-size: 34px;
	font-style: italic;
	color: #fff;
	text-align: right;
	padding: 25px 0 0;
	}

/* ************************************ */
section#main-wrapper{
	width: 960px;
	margin: 0 auto;
	padding: 20px 0;
	}
section#main-wrapper aside{
	width: 360px;
	float: right;
	}
article h2, aside h2{
	font-weight: normal;
	font-size: 36px;
	letter-spacing: -2px;
	line-height: 1.5em;
	margin: 0;
	padding: 0 0 0 55px;
	}
aside h2{
	text-align: right;
	padding: 0 0 0 0;
	}
aside h3{
	margin: 20px 0 0;
	padding: 0;
	line-height: 0.8em;
	font-style: italic;
	font-weight: normal;
	}
aside p{
	padding: 5px 0 15px;
	margin: 0;
	}
aside li{
	margin: 10px 0 0;
	}
article{
	width: 540px;
	float: left;
	}
aside.latest img{
	border: 5px solid #fff;
	margin: 10px 0;
	-moz-box-shadow: 0 0 8px #666;
	-webkit-box-shadow: 0 0 8px #666;
	box-shadow: 0 0 8px #666;
	}
aside.latest a:hover img{
	-moz-box-shadow: 0 0 8px #333;
	-webkit-box-shadow: 0 0 8px #333;
	box-shadow: 0 0 8px #333;
	}
article.preview{
	width: 250px;
	margin: 0 35px;
	float: left;
	text-align: center;
	}
article.preview h2{
	display: block;
	width: 250px;
	padding: 0 0 185px;
	margin: 0;
	line-height: .8em;
	}

article h2.design{ background: url(../images/icon_design_mica.png) no-repeat 0 50%; }
article h2.hosting{ background: url(../images/icon_hosting_mica.png) no-repeat 0 50%; }
article h2.promovare{ background: url(../images/icon_promovare_mica.png) no-repeat 0 50%; }
article h2.contact{ background: url(../images/icon_contact_mica.png) no-repeat 0 50%; }

article.preview h2.design{ background: url(../images/icon_design_mare.png) no-repeat 50% 100%; }
article.preview h2.hosting{ background: url(../images/icon_hosting_mare.png) no-repeat 50% 100%; }
article.preview h2.promovare{ background: url(../images/icon_promovare_mare.png) no-repeat 50% 100%; }

article p{
	letter-spacing: -0.03em;
	line-height: 1.3em;
	}
p.error{
	padding-left: 85px;
	color: #e33;
	}
p.success{
	color: #393;
	text-align: center;
	letter-spacing: 0;
	font-weight: bold;
	}
article p small{
	letter-spacing: 0;
	font-size: .9em;
	font-style: italic;
	}
article.preview p{
	font-size: 20px;
	font-style: italic;
	letter-spacing: -1px;
	}

article.preview a.detalii{
	display: block;
	width: 250px;
	height: 50px;
	outline: none;
	background: url(../images/details_button.png) no-repeat 50% 2px;
	text-indent: -9999em;
	margin: 3px 0 0;
	}
article.preview a.detalii:hover{
	background: url(../images/details_button.png) no-repeat 50% 0;
	}

article section{ width: 450px; float: left;}
article section p, article section h3{text-align: center;}
article section:nth-child(even){ margin-right: 35px;}


/* ************************************ */

#main-wrapper nav p{
	text-align: right;
	background: #ccc;
	padding: 0 10px;
	line-height: 2em;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	}
#main-wrapper nav a{
	padding: 2px 10px 2px;
	text-decoration: none;
	}
#main-wrapper nav a:hover{
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background: #eee;
	}
/* ************************************ */
a.portofoliu{
	margin: 5px 10px;
	outline: none;
	}
a.portofoliu img{
	border: 5px solid #fff;
	margin: 10px 0;
	-moz-box-shadow: 0 0 8px #666;
	-webkit-box-shadow: 0 0 8px #666;
	box-shadow: 0 0 8px #666;
	}
a.portofoliu:hover img{
	-moz-box-shadow: 0 0 8px #333;
	-webkit-box-shadow: 0 0 8px #333;
	box-shadow: 0 0 8px #333;
	}
div#preview{
	width: 850px;
	height: 390px;
	margin: 20px auto;
	}
div#preview.loading{
	background: url(../images/ajax-loader.gif) no-repeat center center;
	}
div#preview img{
	border: 10px solid #fff;
	-moz-box-shadow: 0 0 8px #333;
	-webkit-box-shadow: 0 0 8px #333;
	box-shadow: 0 0 8px #333;
	}
	
/* ************************************ */
form{margin: 25px 0 0;}
input, button, textarea{
	background: #fcfcfc;
	border: 1px solid #ccc;
	font-family: Fertigo, Georgia, serif;
	font-size: 16px;
	line-height: 1.3em;
	padding: 5px;
	width: 250px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	}
input:hover,textarea:hover{
	-moz-box-shadow: 0 0 5px #bbb;
	-webkit-box-shadow: 0 0 5px #bbb;
	box-shadow: 0 0 5px #bbb;
	}
form p{
	padding: 0;
	margin: 5px 0;
	}
textarea{
	width: 380px;
	height: 150px;
	}
button{
	width: 100px;
	background: #369;
	margin-left: 85px;
	cursor: pointer;
	color: #fcfcfc;
	}
button:hover{
	background: #47a;
	}
label{
	line-height: 1.8em;
	display: block;
	width: 80px;
	float: left;
	text-align: right;
	margin-right: 5px;
	vertical-align: top;
	cursor: pointer;
	}
/* ************************************ */
#check-domain{
	width: 500px;
	margin: 25px auto;
	}
#check-domain input[type=text]{
	width: 345px;
	}
#check-domain input[type=radio]{ width: auto;}
#check-domain label{ text-align: left; font-size: 14px;}
#check-domain button{ margin-left: 5px; }

#mask{
	background: rgba(0, 0, 0, .9);
	position: absolute;
	display: none;
	z-index: 9998;
	top: 0;
	}
#domain-details{
	position: absolute;
	width: 500px;
	display: none;
	z-index: 9999;
	padding: 10px;
	background: #fff;
	color: #333;
	
	border-radius: 10px 10px 3px 3px;
	-moz-border-radius: 10px 10px 3px 3px;
	-webkit-border-radius: 10px 10px 3px 3px;
	}
#domain-details .content{height: 400px; overflow: auto;}
#domain-details pre{ font-size: 13px; white-space: pre-wrap;}

table.listing{
	font-size: 16px;
	}
table.listing td{
	padding: 3px 5px;
	white-space: nowrap;
	}
/* ************************************ */
footer{
	padding: 20px 0;
	width: 100%;
	clear: both;
	color:#999;
	background: url(../images/footer_background.png) 0 0 repeat-x #222;
	font-size: 14px;
	}
footer div{
	width: 960px;
	margin: 0 auto;
	}
footer h4{
	font-size: 20px;
	font-weight: normal;
	font-style: italic;
	}
footer article{
	width: 250px;
	float: left;
	margin: 0 35px;
	}
footer address{ font-weight: normal; }
footer address b{ font-weight: normal; font-size: 18px; }

footer a{ color: #999; }
footer a:hover{ color: #ccc; }
footer ul{
	margin: 0;
	padding: 0;
	list-style-type: none;
	}
footer li{
	line-height: 1.3em;
	}

/* ************************************ */
table{
	width: 80%;
	margin: 0 auto;
	border-collapse: collapse;
	}
td{
	text-align: center;
	border: 1px solid #666;
	padding: 5px;
	}
thead td, tfoot td{
	padding: 10px 5px;
	background: #333;
	color: #fff;
	font-size: 1.3em;
	}
tbody tr td:first-child{text-align: left}
tfoot a{color: #f0f0f0;}
tfoot a:hover{color: #fff;}