/*
Theme Name: YACD Topics
Theme URI: http://www.yacd.ac.jp/
Description: 山形デザイン専門学校のニュースコーナー用
Version: 1.0
Author: Tagiri Kunio
Tags: 
*/

/*wrapperの一部を上書き修正*/
#wrapper {
background-image: url(http://www.yacd.ac.jp/ui_parts/contents_back_pink.jpg);
font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3";
}

/*contentsの一部を上書き修正*/
#contents {
float: left!important;
width: 470px!important;
background: none!important;
padding-left: 90px!important;
margin-top:0!important;
padding-top:10px!important;
/*検証用background-color:#CCCCFF!important;*/
}

/*１記事のブロック*/
#wrapper_fix #wrapper #contents .post {
margin: 0 0px 40px 20px;
/*text-align: justify; */
}

/*１記事のタイトル部分*/
#wrapper_fix #wrapper #contents .post h2 {
border:none;
padding-left:0px;
margin-bottom:0px;
font-size: 18px;
background-image:none;
clear: both;
border-bottom:1px solid #000000;
}

/*日付部分*/
small {
font-family: Arial, Helvetica, Sans-Serif;
font-size: 0.9em;
line-height: 1.5em;
padding-left:0px;
}

/*１記事のタイトル部分のアンダーライン消し*/
#wrapper_fix #wrapper #contents .post h2 a{
text-decoration:none;
}

/*１記事の中の記事部分ブロック*/
#wrapper_fix #wrapper #contents .post .entry {
overflow:visible;
font-size:14px;
}

/*１記事の中の記事部分の段落（他CSS打ち消し）*/
#wrapper_fix #wrapper #contents .post .entry p {
margin-left:0px;
}

/* 記事中の画像関連 */
#wrapper_fix #wrapper #contents .wp-caption p {
margin:0px;
}

p img {
padding: 0;
max-width: 100%;
}

/*Using 'class="alignright"' on an image will (who would've
thought?!) align the image to the right. And using 'class="centered',
will of course center the image. This is much better than using
align="center", being much more futureproof (and valid) */

img.centered {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}

.alignright {
float: right;
}

.alignleft {
float: left
}
/* ここまで　記事中の画像関連 */


/* キャプション関連 */
.aligncenter,
div.aligncenter {
display: block!important;
margin-left: auto;
margin-right: auto;
}

#wrapper_fix #wrapper #contents .wp-caption {
border: 1px solid #aaa;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
display:inline;/*IEダブルマージンバグ対策*/
}

.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}

#wrapper_fix #wrapper #contents .wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}

/* ここまで　キャプション関連 */

/*管理者ログイン表示用*/
.for_admin{
background-color:#FFEEEE;
border:1px solid #999999;
text-align:center;
margin:0!important;
padding:5px;
color:#666666;
}

/*前後ページへのリンク*/
.next_back_link{
overflow:auto;
margin-top:0;
padding-top:0;
/*height:2em;*/
}
.next_link {
float:right;
margin-right:16px;
width:200px;
display:inline;/*IEバグ回避用*/
text-align:right;
}
.back_link {
float:left;
margin-left:16px;
display:inline;/*IEバグ回避用*/
width:200px;
}

.nextlist_backlist_link a {
font-size:16px;
height:30px;
width:120px;
text-align:center;
font-weight:bold;
border:1px solid #666666;
background-image:url(http://www.yacd.ac.jp/ui_parts/menu_back_ll.jpg);
margin:0 auto 0 auto;
line-height:30px;
display:block;
/*検証用background-color:#FF9966;*/
}

.nextlist_backlist_link a:hover{
background-image:url(http://www.yacd.ac.jp/ui_parts/menu_back_on_ll.jpg);
}

/*サイドバー*/
#sidebar {
float:right;
width:210px;
margin:0;
padding: 10px 0 0 30px;
/*検証用background-color:#FFCC00;*/
}

#sidebar ul {
padding: 0;
margin:0;
list-style-position:outside;
list-style-type: none;
}

#sidebar .cat-item {
margin: 0;
padding: 0 0 0.5em 0;
}

#sidebar #archive_menu li {
margin: 0 0 1em 0;
padding:0 10px 0 0;
}

#sidebar h3 {
font-size:16px;
font-weight:normal;
padding:3px 10px;
background-color:#00A1EA;
color:#FFFFFF;
}

/* bottom_menuの一部属性上書き修正*/
#bottom_menu {
padding: 30px 0 20px 110px;
clear:both;
}

/*copyの一部属性上書き修正*/
#copy {
padding-left: 90px;
}
