/*
--------------------------------------------------------------------------------
name          : Comunica Templates Original001
author        : Comunica Templates
author_url    : http://www.comunicatemplates.com/

File Name     : /css/content_elements.css
Description   : 各コンテンツにおいて共通で使用される要素を集約したCSSファイル。
--------------------------------------------------------------------------------
*/



/*--------------------------------------
  Each Category Common Elements
---------------------------------------*/

/*  Header Elements
---------------------------------------*/

h1 {
margin: 0;
padding: 0;
line-height: 1.0;
}

h2, h3, h4, h5, h6 {
line-height: 1.3;
}

h2 {
clear: both;
border-left: 8px solid #ccc615;
border-bottom: 1px solid #cdc6a2;
padding: 0 0 5px 10px;
margin: 35px 0 20px 0;
}

h3 {
background: #ece6c7;
border-left: 8px solid #ccc615;
padding: 6px 10px 4px 10px;
margin: 35px 0 15px 0;
}

h4 {
padding: 0 0 0 20px;
margin: 35px 0 13px 0;
background: transparent url(../images/icon_h4.gif) left 1px no-repeat;
}

h5 {
padding: 0;
margin: 35px 0 10px 0;
}

h6 {
padding: 0;
margin: 35px 0 8px 0;
}



/*  Text Elements
---------------------------------------*/

#content div,
#content p {
line-height: 1.8;
}

#content p {
margin: 0 0 20px 0;
}

pre {
width: 99%;
font-family: Courier New;
height: auto;
padding: 5px;
margin: 0 0 20px 0;
border: 1px solid #cdc6a2;
background: #ece6c7;
overflow: scroll;
}

code {
font-family: Courier New;
}

kbd {
font-family: Courier New;
padding: 0 3px; 
border: 1px solid #cdc6a2;
background: #ece6c7;
}

blockquote {
line-height: 1.8;
padding: 15px 20px;
margin: 0 0 20px 0;
border: 1px solid #cdc6a2;
background: #ece6c7;
}

cite {
padding: 2px 0;
font-style: normal;
border: 1px dotted #cdc6a2;
background: #ece6c7;
}

em, i {
font-style: italic;
width: 99%;
}

strong, b {
font-weight: bold;
}

abbr, acronym {
border-bottom: 1px dotted #e0d6b8;
cursor: help;
}

sup {
vertical-align: 4px;
}



/*  Text Correction Elements
---------------------------------------*/

ins {
padding: 2px 0;
border: 1px solid #cdc6a2;
background: #ece6c7;
text-decoration: none;
}

del {
color: #aa9a6b;
text-decoration: line-through;
}



/*  List-Item Elements
---------------------------------------*/

#content ul,
#content ol,
#content dl {
margin: 0 0 20px 0;
}

#content ul li,
#content ol li,
#content dl dt,
#content dl dd {
line-height: 1.8;
}

#content ul li {
list-style-type: square;
margin: 0 0 5px 16px;
}

#content ol li {
list-style-type: decimal;
margin: 0 0 5px 22px;
}
*+html body #content ol li { /* -- This is for IE7 -- */
margin: 0 0 5px 25px;
}
* html #content ol li { /* -- This is for IE6 and below -- */
margin: 0 0 5px 25px;
}

#content dl dt {
margin: 0 0 5px 0;
}
#content dl dd {
margin: 0 0 5px 20px;
}

#content ul li ul,
#content ul li ol,
#content ul li dl,
#content ol li ul,
#content ol li ol,
#content ol li dl {
margin: 5px 0 0 0;
}

#content ul li p,
#content ul li div,
#content ul li pre,
#content ul li blockquote,
#content ol li p,
#content ol li div,
#content ol li pre,
#content ol li blockquote {
margin: 0 0 20px 0;
}



/*  Form Elements
---------------------------------------*/

#content form {
margin: 0 0 30px 0;
}

#content form p,
#content form dl {
margin: 0 0 15px 0;
}

#content fieldset {
margin: 0 0 15px 0;
padding: 5px 10px 15px 10px;
border: 1px solid #cdc6a2;
}

#content legend {
margin: 0 1em;
padding: 0.5em;
color: #333333;
}

#content input,
#content select {
_height: 1.8em; /* WinIE6 */
\_height: 1.8em; /* WinIE5.5/5.0x */
padding: 2px;
}

#content textarea {
width: 80%;
padding: 2px;
line-height: 1.6;
}



/*  Table Elements
---------------------------------------*/

table {
line-height: 1.6;
margin: 0 0 30px 0;
border-left: solid 1px #cdc6a2;
border-top: solid 1px #cdc6a2;
}
table th,
table td {
padding: 7px;
vertical-align: middle;
border-bottom: solid 1px #cdc6a2;
border-right: solid 1px #cdc6a2;
}
table th {
font-weight: bold;
text-align: left;
vertical-align: middle;
background: #ece6c7;
}



/*  Floating Elements
---------------------------------------*/

.float-right {
float: right;
}
.float-left {
float: left;
}
.clear-both {
clear: both;
}



/*  Margin Module
---------------------------------------*/

.margin-right5 {
margin-right: 5px;
}
.margin-right10 {
margin-right: 10px;
}
.margin-right15 {
margin-right: 15px;
}
.margin-right20 {
margin-right: 20px;
}
.margin-right25 {
margin-right: 25px;
}
.margin-right30 {
margin-right: 30px;
}
.margin-right35 {
margin-right: 35px;
}
.margin-right40 {
margin-right: 40px;
}
.margin-right45 {
margin-right: 45px;
}
.margin-right50 {
margin-right: 50px;
}

.margin-left5 {
margin-left: 5px;
}
.margin-left10 {
margin-left: 10px;
}
.margin-left15 {
margin-left: 15px;
}
.margin-left20 {
margin-left: 20px;
}
.margin-left25 {
margin-left: 25px;
}
.margin-left30 {
margin-left: 30px;
}
.margin-left35 {
margin-left: 35px;
}
.margin-left40 {
margin-left: 40px;
}
.margin-left45 {
margin-left: 45px;
}
.margin-left50 {
margin-left: 50px;
}

.margin-top5 {
margin-top: 5px;
}
.margin-top10 {
margin-top: 10px;
}
.margin-top15 {
margin-top: 15px;
}
.margin-top20 {
margin-top: 20px;
}
.margin-top25 {
margin-top: 25px;
}
.margin-top30 {
margin-top: 30px;
}
.margin-top35 {
margin-top: 35px;
}
.margin-top40 {
margin-top: 40px;
}
.margin-top45 {
margin-top: 45px;
}
.margin-top50 {
margin-top: 50px;
}

.margin-bottom5 {
margin-bottom: 5px;
}
.margin-bottom10 {
margin-bottom: 10px;
}
.margin-bottom15 {
margin-bottom: 15px;
}
.margin-bottom20 {
margin-bottom: 20px;
}
.margin-bottom25 {
margin-bottom: 25px;
}
.margin-bottom30 {
margin-bottom: 30px;
}
.margin-bottom35 {
margin-bottom: 35px;
}
.margin-bottom40 {
margin-bottom: 40px;
}
.margin-bottom45 {
margin-bottom: 45px;
}
.margin-bottom50 {
margin-bottom: 50px;
}