/* General */

body, h1, h2, h3, p, ul {margin: 0; padding: 0;}
body {background: #ededed url(../images/bg.png) repeat-x; text-align: center;}
img {border: none;}
a {color: #3378ff; text-decoration: none;}
a:hover {color: #fff; background: #0066bb;}
a img {display:block;}

* html .sub #header { height: 150px; }
* html .sub #header { height: 150px; }
.clearer {clear: both;}
.print {display: none;}
.left {float: left;}
.right {float: right;}
a:hover.nobg {background: none;}
ul {list-style-position: inside;}

#container {
	position: relative;
	text-align: left;
	margin: 10px auto 20px auto;
	padding: 10px;
	font: 14px/18px Helvetica, Arial, sans;
	width: 960px;
	color: #152039;
	background-color: #fff;
	}
#header {padding-left: 40px; border-bottom: solid 4px #1b3e93;}
	.front #header {background: #375cad url(../images/header-front-bg.png) repeat-x;}
	.sub #header {min-height: 150px; background: #375cad url(../images/header-sub-bg.png) repeat-x;}
div#chop {margin: 0 50px 25px 0; height: 15px; background: url(../images/header-chop.png) top right no-repeat;}
div#logo {float: left; margin-right: 35px; padding-right: 45px; border-right: solid 1px #355aae;}
div#mainmenu {padding-top: 30px;}
	#mainmenu ul {}
	#mainmenu li {float: left; padding-right: 10px; list-style: none;}
	#mainmenu a:link, #mainmenu a:visited {padding: 4px; color: #fff;}
	#mainmenu a:hover {color: #152039; background: #7fa4ff;}
	#mainmenu .active, #mainmenu .active a {color: #7fa4ff;}
	#mainmenu .active a:hover {color: #152039;}

div#content {margin: 20px 250px 30px 60px;}
	#content h1, #content h2 {padding: 20px 0 15px 0;}
	#content h1 {font-size: 25px; font-weight: normal; color: #1b3e93;}
	#content h2 {font-size: 14px;}
	#content.withsubmenu {margin-right: 60px;}
	#content.withsubmenu .text {padding-left: 200px;}
div#footer {
	padding: 10px 15px 7px 60px;
	font-size: 11px;
	background: #f3f3f3 url(../images/footer-bg.png) repeat-x;
	border-top: solid 1px #dfdfdf;
	}
	#footer span {padding-right: 20px;}

/* Front */

div#intro {
	margin: 100px 100px 60px 25px;
	clear: both;
	font: 20px/30px Lucida Grande, Helvetica, Arial, sans;
	color: #7fa4ff;
	}
	#intro h1 {padding-bottom: 10px; font-size: 25px; font-weight: normal; color: white;}
	#intro a {color: #fff;}
	#intro a:hover {background: #fff; color: #152039;}

/* Sub */

div#submenu {float: left; width: 160px; margin: 15px 50px 0 0px;}
	#submenu ul {}
	#submenu li {
		display: block;
		padding: 7px 0 9px 16px;
		list-style: none;
		background: url(../images/horizon.png) bottom repeat-x;
		}
	#submenu a:link,
	#submenu a:visited,
	#submenu span {
		padding: 4px;
		color: #1b3e93;
		}
	#submenu a:hover {color: #fff;}
	#submenu .active {font-weight: bold;}
.news h1 {margin: 0; padding: 0;}
.news .date {padding: 0 0 15px 0; font-size: 12px;}
hr {margin-top: 20px; height: 1px; border: none; border-bottom: dashed 2px #cccccc;}

/* Tanel NewsBox on Front Page */
div#homepnews {
  background: #ededed url('http://www.randomconsult.ee/images/header-front-bg.png') repeat-x;
  font-size: 12px;
  font-family: tahoma;
  position: absolute;
  left: 630px;
  top: 260px;
  width: 295px;
  border: 2px solid #21416d;
  overflow: hidden;
  padding: 4px;
  color: white;
  line-height: 20px;
  }
  #homepnews h3 {
    display: block;
    font-size: 18px;
  }
  #homepnews a {color: #3378ff; text-decoration: none;}
  #homepnews a:hover {color: #fff; background: #0066bb;}
  #homepnews hr {margin-top: 10px; height: 1px; border: none; border-bottom: dashed 2px #cccccc;}

#team {
        width: 850px;
        height: 1800px;
}
.contact {
        float: left;
        width: 550px;
}
.name {
        color: #000099;
        font-weight: bold;
}
.personblock {
        height: 350px;
}

#cogent {
        background: url('/images/cogentbg.jpg') repeat;
}

