/* layout.css
--------------------------------------------------------------

:: CSS Index

 1 : container
   : header
 2 : contents
 3 : footer

 
--------------------------------------------------------------

2007.01.26 : designed by Sig.

--------------------------------------------------------------

:: Page Structure - /index.html


 body - #container
          |-- #header
          |-- #contents
          |      |-- #wrap
          |      |     |-- #main
          |      |     |-- #sub1
          |      |-- #sub2
          |-- #footer


-------------------------------------------------------------- */



/* container
-------------------------------------------------------------- */

body {
	padding-top: 20px;
}
#container {
	position: relative;
	width: 100%;
	margin: 0 auto;
	
	text-align: left;
}

/* --- header --- */

#header {
	padding: 10px;
}

/* contents
-------------------------------------------------------------- */

#contents {
	position: relative;
	padding: 0 10px;
}
#wrap {
}

/* --- clearfix --- */

#contents:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
.clearfix {display: inline-block;}
 
/* Hides from IE-mac \*/
* html #contents {height: 1%;}
#contents {display: block;}
/* End hide from IE-mac */

/* --- end clearfix --- */



#main {
	float: left;
	width: 46%;
	min-width: 260px;
	margin: 0 10px 10px 0;
	overflow: hidden;
}
#sub1 {
	float: left;
	width: 24%;
	min-width: 120px;
	margin: 0 10px 10px 0;
	
	background: #f0f0f0;
}
#sub2 {
	float: left;
	width: 24%;
	min-width: 120px;
	margin: 0 10px 10px 0;
	
	background: #f0f0f0;
}



/* footer
-------------------------------------------------------------- */

#footer {
	clear: both;
	padding: 10px;
}
#footer p {
	margin: 0;
}
