/** 
  Layout module, specifies the basic layout for the page. This is generally different fot various media
  @module layout
  @author rikkert.koppes@finalist.com
*/
/** SCREEN LAYOUT **/
@media screen {
  * {
    /* Fix some major IE CSS bugs */
    szoom: 1;
  }
  html,body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
  }
  body {
    overflow: auto;
  }
  div.container {
    width: 982px;
    margin: 0px auto;
    padding: 26px 18px 18px 20px;
    position: relative;
  }
  div.header {

  }
  div.menu {}
  div.footer {
    border: 1px solid #c7c7c7;
    border-top: none;
    margin-bottom: 22px;
  }
  div.content {
    border: 1px solid #c7c7c7;
    border-bottom: 1px solid #ff9900;
    background-color: white;
    margin-bottom: 0px;
    overflow: auto;
    padding: 28px 20px 20px 20px;
    zoom: 1;
  }
  img {
	border: none;
	padding: 0;
	margin: 0;
  }
  div.section {
    width: 475px;
    font-size: 11px;
  }
  
  div.section img {
    float: left;
    margin: 0px 10px 10px 0px;
    border: none;
  }
  
  h2.headerblog {
  	width: 362px;
  	height: 40px;
  	background-image: none;
    background-position: right;
    margin-bottom: 28px;
    overflow: hidden;
	color: #ff9900;
  }
}



/** FRONTPAGE SPECIFIC **/
@media screen {
  #frontpage div.content {
    background-image: none;
  }
  #frontpage div.section {
    width: 280px;
    height: 240px;
    margin-right: 45px;
    margin-top: 21px;
    margin-bottom: 5px;
    float: left;
    background-image: url('../res/section_background.png');
    background-position: right;
    background-repeat: repeat-y;
  } 
  #frontpage div.section img {
    float: none;
    margin: 0;
  }
  #frontpage div.section h2 {
    border-top: 2px solid #ff9900;
    position: relative;
    top: -9px;
    padding-top: 7px;
    margin-bottom: 0px;
  }
  
  #frontpage div.section .figure {
    margin: 0;
  }
  
  #frontpage div.section ul {
    background-image: url('../res/section_background.png');
    background-position: right;
    background-repeat: repeat-y;
  }
  
  #frontpage div.section#blog {
    width: 224px;
    margin-right: 0;
    position: absolute;
    right: 63px;
    top: 78px;
  }
  #frontpage div.section#blog ul {
    height: 364px;
  }
  #frontpage div.section#portfolio {
    width: 605px;
    margin-right: 0;
  }
  
  #frontpage div.section#portfolio p {
    float: left;
    margin-right: 35px;
  }
  #frontpage div.section#portfolio ul {
    float: left;
    width: 280px;
    margin: 0;
    margin-left: 10px;
  }
  
  #frontpage div.aside {
    font-family: daxlight, "univers condensed", "arial narrow", sans-serif;
    font-size: 24px;
    color: #ff9900;
    width: 200px;
    position: absolute;
    left: 690px;
    top: 460px;
    z-index: 10;
  }
  #frontpage div.aside p {
    line-height: normal;
  }
}

/** OTHERPAGE SPECIFIC **/
@media screen {
  #related {
    position: absolute;
    right: 91px;
    top: 113px;
    width: 168px;
    height: 367px;
    padding: 18px;
    font-size: 10px;
  }
  #related h2 {
    color: #004e61;
    border-bottom: 2px solid #DDDDDD;
    margin-bottom: 0px;
  }
  #related li a {
    color: #004e61
  }
  
  h2.categories {
  	background-image:none;
	background-repeat:no-repeat;
    font-size: 2.2em;
	letter-spacing: 3px;
  }
  
  h2.history {
  	background-image:none;
	background-repeat:no-repeat;
    font-size: 2.2em;
	letter-spacing: 3px;
  }
  
  div.content {
    background-image: url('../res/blog_background_980.jpg');
    background-repeat: no-repeat;
    background-position: 0px 26px;
  }
  
  .article {
    border-bottom:1px solid #FF9900;
    font-size: 11px;
    zoom: 1;
    clear: both;
  }
  .article .postfeedback {
    text-align: right;
    width: 475px;
    display: inline-block;
    margin-bottom: 1em;
  }

  .article .refer {
    clear: both;
  }

  .article .permalink {
    background: transparent url(http://blog.finalist.com/wp-content/themes/finalist4/images/permalink.gif) no-repeat scroll left center;
    padding-left: 14px;
  }

  .article .commentslink {
    background: transparent url(http://blog.finalist.com/wp-content/themes/finalist4/images/commentslink.gif) no-repeat scroll left center;
    padding-left: 14px;
  }
  
	#commentlist li {
	background-image: none;
	border-bottom: 1px solid #ff9900;
	padding: 0 0 0 1em;
	margin-top: 1em;
}


	pre {
		font-size:12px;
		line-height:1.333;
		padding:2px 4px;
		overflow: scroll;
		width: 475px;
	}



/*
	pre {
		display: block;
		background-color:#F9F9F9;
		border:1px solid silver;
		color:#110000;
		margin:0 0 1.5em;
		overflow:auto;
		font-size:12px;
		line-height:1.333;
		width: 475px;
		padding:2px 4px;
		vertical-align:top;
	}

/*

}

/** PRINT LAYOUT **/
@media print {
  div.header {}
  div.menu {}
  div.footer {}
  div.content {}
}

