/*
 * LAYOUT.CSS (Design and layout goes here)
 *
 * version: 0.1
 * media: screen
 *
 * * */

html               { margin: 0; padding: 0; color: white; background: #434343; }
body               { margin: 0; padding: 0; }


/* * * * * *  html 5 fix  * * * * * */
section,
article,
header,
footer,
nav,
aside,
hgroup             { display: block; }


/* * * * * *  layout  * * * * * */
#background        { padding: 40px 0 0;}	/* padding-top変更 */
#wrapper           {
	width: 960px;
	margin: 0 auto; /*border: solid 8px #e1e1e1; border-bottom: none; color: black;*/
	background: white url(../images/woody_bg-320-320.png);
	/*コンテンツの右上だけを角丸に*/
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	border-radius-topright: 5px;
	position:relative;
	overflow:hidden;
	background-image: url(../images/woody_bg-320-320.png);
	box-shadow:0px 0px 12px #111;
}
#wrapper:after     { display: block; clear: both; content: " "; }	/*clearfix*/


#header            { position: relative; width: 300px; height: 3560px; 
/*overflow:hidden;*/
float:left;
margin:40px 0 0 10px;
}	/* width変更 */

#content           { display: inline; float:left; width: 590px; margin: 90px 0 40px 10px; 
xbackground:#39342f;
xopacity:0.9;
background-color:rgba(57,52,47,0.75);
border-radius: 8px;
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
-webkit-border-top-right-radius: 8px;	/*角丸*/
-webkit-border-top-left-radius: 8px;
x-o-border-radius: 8px;
x-ms-border-radius: 8px;
box-shadow:2px 2px 3px #333;
/* 2012/07/11修正 */
/*background:url(../images/corrugated_board8.png) repeat-y left top;
*/padding:0 10px 0 20px;}

.clearfix:after{
display:block;
content:".";
clear:both;
visibility:hidden;
height:0;
}

a{
	display:block;
}
.logo h1{
	padding-bottom:30px;
}

#lab{
	margin:0;
	margin-top:20px;
}

.logo p{
	margin:0;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * */
/* * * * * *  sheena ADD;2012/07   * * * * * */
/* * * * * * * * * * * * * * * * * * * * * * * * * */

#content h1{
	font-size:24px;
	font-family: 'Oleo Script', cursive;
	color: #fff;
	line-height:1;
	margin-bottom:24px;
	/*text-shadow:3px 3px 3px #000000;
	padding-bottom:16px;*/
}

#content h2{
	font-size:38px;
	font-family: 'Fredericka the Great', cursive;
	color: #71ab1a;
	line-height:1;
	text-shadow:3px 3px 3px #000000;
	padding-bottom:16px;
}

/*カウボーイロゴ*/
#content h2#logo{
	margin-top:-25px;
	margin-left:40px;
}
#content h3 a{
	display:block;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "Tahoma", sans-serif;
	font-size:18px;
	font-weight:bolder;
	xfont-family: 'Fredericka the Great', cursive;
	color: #7aba7a;
	line-height:1;
	text-decoration:none;
	text-shadow:1px 1px 2px #000000;
	xpadding-bottom:16px;
}

#content p{
	/*font-family: mplus-2p-light;*/
	font-family: 'M+ 2p light';
	word-spacing:0.2;
	font-size: 13px;
	line-height:1.6;
	color: #f5fafa;
}

#content .toTop{
	text-align:right;
	margin-top:-30px;
	margin-right:10px;
}


/*フローティングメニュー設定*/
#floatbox {
  position: relative;
  /*padding: 10px;*/
  margin:0;
  width: 265px;
  /*height:100%;*/
 
 /* top: 20px;*/
  /*left: 15px;*/
 padding-top:10px;
 overflow:hidden;
}



/*.sidebar {
	width: 300px;
	padding: 0;
	float: left;
}*/

#menuList           { display: inline; float: left; width: 265px; margin: 0px 20px 40px 10px; }	/*margin-top値変更*/



/* * * * * * * * * * * * * * * * * * * * * * * * * */
/* * * * * *  HEADER AND FOOTER THINGS   * * * * * */
/* * * * * * * * * * * * * * * * * * * * * * * * * */

/* * * * * *  logo  * * * * * */
#header .logo                      {  }
#header .logo h1                   { xposition: absolute; top: 8px; xleft: 34px; margin: 0; width:300px;}	/* top変更 */
#header .logo a:focus              { background-color: transparent; }
#header .logo h2                   { position: absolute; top: 70px; left: 350px; margin: 0; font-size: 1.25em; color: #aaa; }
.onePoint					{ position: absolute; top: 40px; right: 0px; }


/* * * * * *  footer  * * * * * */
#footer{
	width:100%;
	height:100%;
	font-size: 1em; 
	background: url(../images/woody_bg-320-320-mono2.png) repeat-x;
	color:#ffcc66;
	overflow:hidden;
	
}
/*
#footer                            { width: 100%; font-size: 0.916em; color: #d5d5d5; background: url(../images/footer_rep.gif) 0 0 repeat-x; }
#footer .width                     { position: relative; width: 976px; margin: 0 auto; background: url(../images/footer.png) 0 0 no-repeat; }

#footer a                          { color: #d5d5d5; }
#footer p                          { margin: 0; }
#footer p small                    { font-size: 1em; }
#footer p.copyright                { display: inline; margin: 35px 0 10px 8px; float: left; }
#footer p.HTML5                      { display: inline; margin: 35px 8px 10px 0; float: right; }
*/

#footer #f-box						{ float:left; color:#ffcc66; }
#footer .f-cont						{ padding-left:40px; width:245px; float:left; margin-right:30px;}
#footer .f-cont li,	#footer .f-cont dl, #footer .f-cont dt a,#footer .f-cont dd				
{ line-height:1.5; 
 margin:0;
 padding:0;
 color:#ffcc66;
}
#footer .f-cont	 p{
padding-left:25px;
margin:5px 0 0;
}

#footer .f-cont	li.links a{
	padding-right:12px;
	display:block;
	float:left;
	vertical-align:baseline;
}

#footer small{
	display:block;
	font-size:1em;
	text-align:center;
	margin-bottom:10px;
}



/* * * * *  linkbuilding links  * * * * * */
#linkbuilding                      { clear: both; }
#linkbuilding ul                   { margin: 0; padding: 1em 1em 2em; color: #aaa; text-align: center; }
#linkbuilding ul li                { display: inline; margin: 0 3px; padding: 0; background: none; }
#linkbuilding ul li a              { color: #aaa; text-decoration: none; }
#linkbuilding ul li a:hover        { text-decoration: underline; }


/* * * * * *  main menu  * * * * * */
#mainMenu                          { position: absolute; bottom: 0; left: 0; width: 100%; height: 40px; background: url(../images/menu-bg.png) 0 0 repeat-x; }
#mainMenu ul#spritemenu01                       { margin: 0; padding: 0 0 0 20px; }	/* paddingの値変更 */
#mainMenu ul#spritemenu01 li                    { display: inline; float: left; padding: 0; font-weight: normal; font-size:120%;
/* CSSスプライト*/
width:90px;	/*追加*/
background: url(../images/menu-back4.png) no-repeat -20px 0px ; }
#mainMenu ul#spritemenu01 li a                  { float: none; text-decoration: none; color: #ffffff; 	/* color変更 */
/*CSSスプライト*/
width:100%;
height:40px;
display:block;
padding:10px 0 0; 
text-align:center;}	
/*#mainMenu ul#spritemenu01 li a span             { float: none; padding: 0; }*/
#mainMenu ul#spritemenu01 li a:hover,
#mainMenu ul#spritemenu01 li a:focus,
#mainMenu ul#spritemenu01 li.active a           { color: #ffffff; /*background: url(../images/menu-back4.png) no-repeat -20px -40px*/ ;
padding:10px 0 0 0px;
outline:none;}
/*
#mainMenu ul li a:hover span,
#mainMenu ul li a:focus span,
#mainMenu ul li.active a span      { background: url(../images/mmenu_right.gif) 100% 0 no-repeat; }
*/


/* * * * * *  quick navigation  * * * * * */
ul#quickNav                        { position: absolute; top: 14px; right: 20px; margin: 0; }	/* rightの値変更 */
ul#quickNav li                     { display: inline; float: left; padding: 0; background: none; }
ul#quickNav li a                   { float: left; width: 30px; height: 20px; background: url(../images/icons.png) 8px -15px no-repeat; }
ul#quickNav li.map a               { background-position: -25px -15px; }
ul#quickNav li.contact a           { background-position: -61px -15px; }
ul#quickNav li a span              { position: absolute; left: -999em; }


/* * * * * *  language mutations  * * * * * */
ul#lang                            { position: absolute; top: 15px; right: 15px; margin: 0; }
ul#lang li                         { display: inline; float: left; width: 20px; height: 15px; margin-left: 11px; padding: 0; font-size: 0.833em; text-align: center; background: none; }
ul#lang li a                       { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
ul#lang li a span                  { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(../images/icons.png) 0 0 no-repeat; }
ul#lang li.de a span               { background-position: -35px 0; }
ul#lang li.fr a span               { background-position: -70px 0; }


/* * * * * *  search form  * * * * * */
#header form                       { position: absolute; bottom: 7px; right: 30px; }	/* bottom値変更 */
#header form fieldset              { margin: 0; padding: 0; border: none; background: none; }
#header form fieldset legend       { display: none; }
#header form fieldset input.text   { width: 11.333em; padding: 5px 5px 4px 35px; color: #8A8A8A; background: white url(../search.gif) 5px 4px no-repeat; }
#header form fieldset input.submit { width: 5.4166em; height: 2.166em; padding: 0; margin-left: 2px; background:#ffffff/*url(../images/search-bg.jpg)*/}



/* * * * * * * * * * * * * * * * * * * * */
/* * * * * *  SIDEBAR THINGS   * * * * * */
/* * * * * * * * * * * * * * * * * * * * */

#sidebar h1                        { font-size: 1.5em; margin: 20px 0 5px; padding-bottom: 8px; background: url(../images/side_line.gif) 0 100% no-repeat; }
#sidebar p.banner                  { margin: 17px 0; text-align: center; }

/* * * * * *  nav menu  * * * * * */
.navMenu                           { width:100%;
xbackground:url(../images/side_line.gif) no-repeat left top;
xpadding:15px 0 30px;
xoverflow:hidden;
color:#fff;
}
.navMenu ul                        { margin: 0; }
.navMenu ul li                     {
	padding: 0;
	background: none;
	text-align: left;
}
.navMenu ul li a                   { display: block; padding: 5px 15px 5px 5px; text-decoration: none; font-weight: normal; border-bottom: solid 1px #fff;
                                     color: #fff; background: #60584f; opacity:0.9; outline:none; box-shadow:3px 3px 3px #333;}
.navMenu ul li ul li a             { padding-left: 40px; font-weight: normal; background-position: 28px 10px; }
.navMenu ul li a:hover             { xbackground-color: #39342f; color:#71ab1a;}

.sideCont                           { width:100%;
background:url(../images/side_line.gif) no-repeat left top;
padding:15px 0 0;
margin:0 0 20px;
overflow:hidden;
color:#4a494a;
}

.sideCont a {
display:block;
width:100%;
height:100%;
}

.sideCont address{
	margin:0;
}

aside.banner{
	padding:0 0 0 60px;	
}

/* * * * * * * * * * * * * * * * * * * * * * */
/* * * * * *  MAIN CONTENT THINGS  * * * * * */
/* * * * * * * * * * * * * * * * * * * * * * */

/* * * * * *  floats  * * * * * */
.floatBoxes                        { width: 100%; margin: 1em 0 2em; }
.floatBoxes h1						{ margin: 0 0 2em;}
.floatBoxes:after                  { display: block; clear: both; content: " "; }
.floatBoxes article                { display: inline; float: left; width: 186px; margin: 0 30px 0 0; background: #eee; }
.floatBoxes article.last           { margin-right: 0; }
.floatBoxes article a              { display: block; padding: 100px 10px 10px; color: black; text-decoration: none; }
.floatBoxes article a:hover        { background: #ddd; }
.floatBoxes article a h1           { margin: 0 0 10px; font-size: 1.166em; font-weight: bold; text-align: center; }
.floatBoxes article a p            { margin: 0; }

article.portFolio{
	width: 560px;
	margin:0 0 30px 30px;
	overflow:hidden;
	background:none;
	opacity: 1;
}
.portFolio:after                  { display: block; clear: both; content: "."; visibility:hidden; height:0;}
.portFolio img						{ float:right; width:310px; margin:0; opacity:1; }
.portFolio .port-cont				{ float:left; width:240px; overflow:hidden;}
.portFolio h2						{ margin:0 0 1em; padding: 0 0 6px 0; border-bottom: 1px solid #FFF; font-weight:normal;} 
.portFolio h3						{ margin:0 0 5px; font-weight:bold;}
.portFolio p						{ margin:0; line-height:1.7;} 



/* * * * * *  news list  * * * * * */
.newsList article h1               { margin: 12px 0 3px; font-size: 1.166em; font-weight: bold; }
.newsList article p                { margin-top: 0; }

.floatBoxes h1,
.newsList h1                       { font-size: 1.5em; }


/* * * * * *  todo  * * * * * */
.todo                              { position: fixed; top: 0; right: 0; width: 180px; padding: 8px 12px; font-size: 0.916em; opacity: 0.1;
                                     border: solid 1px #e1c400; color: black; background: #fff7c1; }
.todo:hover                        { opacity: 1; }
.todo div                          { max-height: 200px; overflow: auto; }
.todo h1,
.todo h2                           { margin: 10px 0 0; font-size: 1em; line-height: 1.5em; font-weight: bold; }
.todo h1                           { margin-top: 0; }
.todo ol                           { margin-top: 0; margin-bottom: 0; }
.todo footer                       { margin-top: 0; }
