/* Getting the new tags to behave */
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video{ display: block; }
mark, rp, rt, ruby, summary, time{ display: inline; text-align: justify; }

/* Global properties ======================================================== */
body { 
	background:#f6f4f4; 
	font-family:Arial, Helvetica, sans-serif;
	font-size:100%; 
	line-height:1.125em;
	color:#242424;
	text-align:justify;
}
html { min-width:1000px;}
html, body { height:100%;}



/* Global Structure ============================================================= */
.container {
	margin: 0 auto;
	position: relative;
	width: 1000px;
	font-size:.8125em;
}

	/* Header */
	header{
		z-index: 1;
		height:135px;
		overflow:hidden;
		background:url(../images/header-bg.gif) 0 0 repeat-x;
		border-bottom: 5px solid #E0E0E0; }
	
	/*Gallery*/
	#gallery {
		z-index: 1;
		height:265px;
		overflow:hidden;
		width: 100%;
		background: #fff;
	}

	#gallery2 {
		height:100px;
		overflow:hidden;
		width: 100%;
		background-color: #662729;
	}
	
	/* Content */
	#content {
		float: left;
		width: 552px; 	}

	#content a:hover { color: #F88017; }

	/* Google Maps */
	#map {
		position: relative;
		margin: 0 auto;
		width: 982px;
		height: 150px; 	}

	/* FAQ - Frequently Asked Questions */
	#faq {
		position: relative;
		margin: 0 auto;
		width: 982px; }
			
	/* Links */
	#links {
		float: left;
		width: 552px; 	}

	#links a:hover { color: #F88017; }
	#links img { 
			width: 40px; 
			height: 40px;
			margin-right: 20px;
			padding-bottom: 10px; }	

	/* Sidebar */
	aside{
		padding-top: 20px;
		float: left;
		width: 302px;
		margin-left:62px;
		
	}

	#aside-right{
		padding-top: 20px;
		float: left;
		width: 302px;
		margin-left: 10px;
		margin-right: 62px;
		
	}
			
	/* Footer */
	footer{
		padding:20px 0 22px 0;
		border-top:5px solid #7e7e7e;
	}




/* Left & Right alignment */

.fleft { float:left;}
.fright { float:right;}
.clear { clear:both;}

.col-1, .col-2, .col-3 { float:left;}

.alignright { text-align:right;}
.aligncenter { text-align:center;}

.wrapper { 
	width:100%;
	overflow:hidden;
}

/* The inside class provides consistent padding. To be used often! */
.inside{ padding: 32px 37px 50px 37px; }


/*----- form defaults -----*/
input, select, textarea { 
	font-family:Arial, Helvetica, sans-serif;
	font-size:1em;
	vertical-align:middle;
	font-weight:normal;
}

/*----- other -----*/
figure { margin-bottom:18px;}

.img-indent { 
	margin:0 20px 0 0; 
	float:left;
}
.img-box { 
	width:100%; 
	overflow:hidden; 
	padding-bottom:15px; 
}
	.img-box figure { 
		float:left; 
		margin:0 20px 0 0;
		padding:0;
		border: 5px solid #eaeaea;
	}

.extra-wrap { 
	overflow:hidden;
}

p {margin-bottom:18px;}
.p1 { margin-bottom:9px;}
.p2 { margin-bottom:18px;}
.p3 { margin-bottom:27px;
}


/*----- txt, links, lines, titles -----*/
a {
	color:#0e77a3; 
	outline:none;
}
a:hover{
	text-decoration:underline; color: #F88017;
}

h1 {
	font-size:34px;
	line-height:1.2em;
	color:#fff;
	font-weight:normal;
	background:url(../images/dobrean_logo_red.png) no-repeat 0 0;
	padding:6px 0 8px 69px;
	position:absolute;
	left:39px;
	top:6px;
}
	h1 a {
		color:#fff;
		text-decoration:none;
	}
h2 {
	font-size:30px;
	line-height:1.2em;
	font-weight:normal;
	color:#212222;
	margin-bottom:22px;
}
	h2 span {
		color:#8a8a8a;
	}
h3 {
	font-size:1em;
	margin-bottom:6px;
}
	h3 a { color:#242424; }
	h3 a:hover {
		text-shadow: 1px 1px 1px #888; 
	}




/*==================boxes====================*/
.main-box {
	padding-top: 0px;
	border-top:5px solid #662729;
	background: url(../images/content-bg.png) repeat-x;
	width:100%;
}

.main-box2 {
	padding-top: 0px;
	border-top:5px solid #E0E0E0;
	background: url(../images/content-bg-big.png) repeat-x;
	width:100%;
}

.main-box3 {
	padding-top: 0px;
	border-top:5px solid #E0E0E0;
	background: url(../images/content-bg-extra-big.png) repeat-x;
	width:100%;
}


.contacts {
	padding-bottom:20px;
}
	.contacts li {
		width:100%;
		overflow:hidden;
	}
		.contacts li strong {
			float:left;
			width:95px;
		}


.list1 {
	margin-left:12px;
	padding-bottom:18px;
}
.list1 li {
	background:url(../images/arrow1.gif) no-repeat 0 6px;
	padding:0 0 0 12px;
}



/*===== header =====*/
header nav {
	float:left;
	margin-left: 70px;
}
		header nav ul li {
			float:left;
		}
			header nav ul li a {
				font-size:11pt;
				color:#fff;
				height: 50px;
				padding-top: 30px;
				text-decoration:none;
				width:90px;
				text-align:center;
				float:left;
		}
		header nav ul li a.current, header nav ul li a:hover {
			border-top: 5px solid #fff; 
			text-decoration: underline;
		}

header .social {
	float:right;
	margin-top: 10px;
	padding-right: 15px;
	width: 150px;
}

li.logo	{
	width: 200px; 
	padding-right: 70px;
	height: 80px; 
	display: block;
	margin-top: -10px; }

		header nav ul li.logo:hover { }

/*===== content =====*/
#content { padding-top: 20px;
	
}
	#content img, aside img {
		border:3px solid #ebebeb;
		border-radius:4px;
		-moz-border-radius:4px;
		-webkit-border-radius:4px;
	}
	#content img:hover {
		border-color:#bbb;
	}

/*===== Google Maps =====*/
#map {
	border:3px solid #ebebeb;
	border-bottom:none;
	padding-bottom: 120px; }


/*===== FAQ - Frequently Asked Questions =====*/
#faq {
	border-bottom:none; }

	h3 faq { color: #662729;
		 padding-top: 10px; }

/*--- news list styles ---*/
	.news li {
		overflow:hidden;
		position:relative;
		padding:0 0 26px 84px;
	}
	.news li:last-child {
		padding-bottom:0;
	}
	
		.news li figure {
			width:59px;
			height:69px;
			background:url(../images/date-bg1.gif) no-repeat 0 0;
			position:absolute;
			left:0;
			top:0;
			text-align:center;
			border:1px solid #ebebeb;
			border-radius:4px;
			-moz-border-radius:4px;
			-webkit-border-radius:4px;
			font-size:10px;
			color:#fff;
			text-transform:uppercase;
		}
			.news li figure strong {
				display:block;
				font-size:30px;
				line-height:1.2em;
				margin-bottom:0px;
				padding-top: 4px;
			}
		
		.news li:nth-of-type(4n+2) figure {
			background:url(../images/date-bg2.gif) no-repeat 0 0;
		}
		.news li:nth-of-type(4n+3) figure {
			background:url(../images/date-bg3.gif) no-repeat 0 0;
		}
		.news li:nth-of-type(4n+4) figure {
			background:url(../images/date-bg4.gif) no-repeat 0 0;
		}

.team-list li {
	overflow:hidden;
	padding-bottom:13px;
}
.team-list li:last-child {
	padding-bottom:0;
}
	.team-list li figure {
		float:left;
		margin:0 25px 0 0;
		padding:0;
	}

/*--- loopedSlider styles ---*/
/*
 * Required 
*/
#loopedSlider .wrap { width:295px; height:295px; overflow:hidden; position:relative;}
#loopedSlider .slides { position:absolute; top:0; left:0; }
#loopedSlider .slides div { position:absolute; top:0; width:295px; display:none; }
/*
 * Optional
*/
#loopedSlider { width:295px; position:relative; clear:both; }
#loopedSlider .nav-controls {
	width:100%;
	overflow:hidden;
	padding-top:10px;
}
#loopedSlider li {
	display:inline;
}
#loopedSlider li a.previous {
	float:left;
}
#loopedSlider li a.next {
	float:right;
}

/*===== footer =====*/
footer {
	background: #E0E0E0;
	color: #662729; }

	footer .fleft {
		padding-top: 10px;
		padding-left:40px; }

	footer .fright {
		padding-top: 10px;
		padding-right:40px;
	}

footer .footerinfo { 	
	margin: 0 auto;
	overflow: hidden;
	height: 235px;}

.leftinfo { 
		position: absolute; 	
		left: 100px; 
		width: 29%; }

.leftinfo ul li a { color: #662729; text-decoration: none; }
.leftinfo ul li a:hover { color: #662729; text-decoration: underline; }

.middleinfo {
		position: absolute; 
		left: 32%; 
		width: 29%; }


.middleinfo ul li a { color: #662729; text-decoration: none; }
.middleinfo ul li a:hover { color: #662729; text-decoration: underline; }

.rightinfo {
		position: absolute; 
		left: 60%; 
		width: 40%; }


/*----- forms -----*/
#contacts-form { 
	clear:right;
	width:100%;
	overflow:hidden;
}
	#contacts-form fieldset { 
		border:none;
		float:left;
	}
		#contacts-form .field { 
			clear:both;
		}
			#contacts-form label { 
				float:left;
				width:110px;
				line-height:18px;
				padding-bottom:6px;
				font-weight:bold;
			}
			#contacts-form input {
				width:205px;
				padding:1px 0 1px 3px;
				background:none;
				border:1px solid #e5e5e5;
				color:#616161;
				float:left
			}
			#contacts-form input:invalid {
				border-color:red;
			}
			#contacts-form textarea { 
				width:450px;
				height:215px;
				padding:1px 0 1px 3px;
				background:none;
				border:1px solid #e5e5e5;
				color:#616161;
				margin-bottom:12px;
				overflow:auto;
				float:left;
			}
			#contacts-form div:last-child {
				padding-left:110px;
			}

/*==========================================*/

#countrytabs {
	float: left; 
	margin-left: 30px; }

#countrydivcontainer {
	float: left; 
	margin-left: -170px;
	border: none; }
