/* MAIN */

html {
	/* this is a hack to force scrollbars on at 
     all times so that the page does not jump
     when going from short to long pages */
	height: 100%;
	margin-bottom: 1px;
	background: #4F6FA7;
}

body {
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 135%;
	font-family: Arial, Helvetica, sans-serif;
	color: #1D2D45;
}

p {
	margin-top: 10px;
	margin-bottom: 15px;
}

h1, h2, h3, h4, h4 {
	padding-bottom: 5px;
	margin: 15px 0;
}

/* FONTS */

/* Sizes */

h1 {
	font-size: 200%;
}

h2 {
	font-size: 180%;
}

h3 {
	font-size: 150%;
}

h4 {
	font-size:  120%;
}

/* Family */

#top {
	color: #666;
}

a:link, a:visited {
	color: #819D26;
	text-decoration: none;
}

#bottom a:link, #bottom a:visited {
	color: #99CC00;
}

a:hover {
	text-decoration: underline;
}

img {
	border-style: none;
}

/* STRUCTURE */

#wrapper {
	margin: 0 auto;
	width: 700px;
	padding-top: 18px;
}

.section {
	width: 670px;
	background: #FFF;
	padding: 15px;
	padding-bottom: 10px;
	overflow: hidden;
}

.open {
}

#home, #services, #portfolio, #contact {
}

.home, .services, .portfolio, .contact {
}

#header {
	background: url(images/header-bg.png) 0 0 repeat-x;
}

#header .rheader {
	background:  url(images/header-r.png) 100% 0 no-repeat;
}

#header .lheader {
	background:  url(images/header-l.png) 0 0 no-repeat;
	height: 103px;
	overflow: hidden;
}

#logo {
	float:  left;
	margin-left: 38px;
	width: 350px;
	height: 100px;
	background: url(logo.png) 0 0 no-repeat;
}

#horiz-menu {
	background: url(images/menu-bg.png) 0 0 repeat-x;
	height: 36px;
}

#footer {
	padding-top:-5px;
	background: #121A28;
	height: 27px;
}

#footer .rfooter {
	background: url(images/footer-r.png) 100% 0 no-repeat;
}

#footer .lfooter {
	background: url(images/footer-l.png) 0 0 no-repeat;
	height: 80px;
	overflow: hidden;
}

#the-footer {
	color:#CCC;
	text-align: center;
}

/* MENUES */

#horiz-menu ul {
	margin: 0;
	padding: 6px 0 0 0;
}

#horiz-menu li {
	margin: 0;
	padding: 0;
	padding-right: 2px;
	float: left;
	list-style: none;
	background: url(images/menu-divider.png) 100% 0 repeat-y;
	line-height: 30px;
}

#horiz-menu .selected {
}

#horiz-menu a:link, #horiz-menu a:visited {
	display: block;
	float: left;
	padding: 0 25px;
	height: 30px;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
}

#horiz-menu a:hover {
	background: #4F6FA7;
}

/** Solving div overflow **/

.clearfix:after {
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}