/*  
Theme Name: Synergy Group
Theme URI: http://www.s-gr.com/
Description: Visual design for SynergyGroup.
Version: 1.0
Authors: Leina Ševele, Kristaps "KSP" Pilveris
 
*/


/* =====================================================================
     Generic element styles
===================================================================== */

body {
	font-size: 100%;
	margin: 0;
	padding: 0;
	background-image: url(img/bg.png);
	background-repeat: repeat-y;
	background-color: #ccc;
}

#content a img {
  border: transparent;
}

/* =====================================================================
     Layout structure
===================================================================== */

div#cont {
	margin: 0;
	padding: 0 0 70px 0;
	background-image: url(img/bg_star_overlay.png);
	background-repeat: no-repeat;
}

div#page {
	margin: 0 -20em 0 60px;
	padding: 0;
	border-left: 3px solid #999;
	border-right: 3px solid #999;
	background-color: #fff;
	background-image: url(img/bg_star.png);
	background-repeat: no-repeat;
	background-position: -60px 0;
	width: 60em;
	font: normal 0.8em 'Trebuchet MS', Trebuchet, Swiss, sans-serif;
}

div#header {
	margin: 0 0 2em 0;
	padding: 0;
	background-image: url(img/bg_header.png);
	background-repeat: repeat-x;
	position: relative;
	top: 0;
	left: 0;
	
}

#header ul {
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	right: 1.5em;
	top: 63px;
}

#header ul li {
	display: inline;
	padding: 0 0 0 1em;
	margin: 0;
	border: 0px solid red;
	font: normal 1em 'Trebuchet MS', Trebuchet, Swiss, sans-serif;
}

#header ul li a {
	color: #fff;
	text-decoration: none;
}
	
#header ul li.current_page_item a, #header ul li.current_page_parent a, #header ul li.current-cat a {
	color: #ff3;
}

#header ul li a:hover {
	text-decoration: underline;
} 


/* ================================= */
/*    Header search form            */

#searchform {
  border: 0px solid red;
  position: absolute;
	right: 1.5em;
	top: 98px;
}

#searchform input {
  border: 1px solid #ee8;
  padding: 1px 4px;
  font: normal 0.9em sans-serif;
  color: #772;
  background-color: #f7f7f2;
}

#searchform #searchsubmit {
  border: 1px solid #cc7;
  color: #764;
  background-color: #eed;
}

#searchform #searchsubmit:active {
  border: 1px inset #999;
  background-color: #e6e4e0;
}

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

div#content {
	margin: 0 ;
	padding-left: 5em;
	border-right: 0px solid green;
	float: left;
	width: 33.5em;
}

table#footer {
	height: 46px;
	clear: both;
	position: relative;
	top: 46px;
	left: 0;
}

td#footertext {
	 width: 100%;
	 background-image: url(img/bottom_mid.png);
	 background-repeat: repeat-x;
	 background-position: 0% 0%;
	 height: 46px;
	 overflow: hidden;
	 color: #917A70;
	 font-size: 0.9em;
}


/* =====================================================================
     Right column 
===================================================================== */

div#rightcolumn {
	width: 18em;
	margin: 4em 0 0 0;
	float: right;
	border-left: 0px solid green;
}

div#rightcolumn ul {
  list-style: none;
  margin: 0 0 0 1em;
  padding: 0;
}

div#rightcolumn ul li {
  line-height: 2em;
}

div#rightcolumn ul li.current_page_item a {
  color: #624233;
  text-decoration: none;
}

div#illustration {
  background-color: #ff0;
  background-image: none;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  height: 140px;
  margin: 4em 0 0 0; 
}
/* =====================================================================
     Text formatting
===================================================================== */

a {
  color: #D87512;
}

a:hover {
  color: #FB952F;
  text-decoration: underline;
}

div#page {
  color: #624233; 
}

h1, h2, h1 a, h2 a {
  color: #D71313;
  text-decoration: none;
}

h3, h3 a {
  color: #990F0E;
  color: #CA0202;
  text-decoration: none;
}

h4, h4 a {
  color: #38241D;
  text-decoration: none;
}


#content h1 {
	font-size: 1.6em;
	margin: 2em 1em 1em 0;
}

#content h2 {
  font-size: 1.2em;
  margin: 2em 0 0.5em 0;
}

#content h3 {
  font-size: 1em;
  margin: 2em 0 0.1em 0;
}

#content h4 {
  font-size: 0.9em;
  margin: 1em 0 0 0;
}


#content p img {
  padding: 0.1em 0.5em 0.2em 0.5em;
}


/* ================================= */
/* General text formatting  */

#content p {
  margin: 0 0 0.5em 0;
}

#content ul, #content ol {
  margin: 0 0 0.5em 1.5em;
  padding: 0;
}

#content ul {
  list-style: disc; 
}

#content p.postmetadata {
  margin: -2em 0 2em 1em;
  font-size: 0.9em;
  color: #917A70;
}

/* ================================= */
/* Text formatting in news lists and archives */

#content div.shortpost {
  
}

#content div.shortpost p {
  margin: 0 4em 0.5em 2em;
  font-size: 0.9em;
  color: #917A70;
  line-height: 120%;
}

div.navigation {
  padding: 3em 1em 2em 1em;
}

div.navigation div.alignleft {
  float: left;
  width: 50%;
}

div.navigation div.alignright {
  float: right;
  text-align: right;
  width: 50%;
}


/* ================================= */
/* Text formatting in right column  */

#rightcolumn p {
  font-size: 0.9em;
  margin: 0 0 0.5em 0;
  padding: 0 2em 0 0;
}

#rightcolumn h1 {
  font-size: 1.1em;
  margin: 2em 0 0 0;
  color: #CA0202;
}

#rightcolumn h2 {
  font-size: 1em;
  margin: 1em 0 0 0;
  color: #38241D;
}

