/*
Theme Name: AIHTC
Theme URI: https://www.aihtc.org/
Author: AIHTC
Description: Layout der bisherigen AIHTC-Website. Texte liegen als WordPress-Seiten, Bilder und PDFs im Theme.
Version: 1.0.0
Text Domain: aihtc
*/

/* CSS Document */

html, body {
	margin: 0;
	padding: 0;
	overflow-x:hidden;
}
html{
	font-size: 62.5%;
}
body {
	position: relative;
	background-color: #fff;
	color: #252525;
	font-family:Arial,"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	letter-spacing:0.1em;
}

a, img {
	border: 0;
}
a {
	color: #112d55;
}
h1,h2,h3,h4,h5 {
	margin:0;
	padding:0;
}
ul,li {
	margin:0;
	padding:0;
}


.cl{
	clear:both;
	margin:0;
	padding: 0;
	width: 0;
	height: 0;
	font-size: 0;
	line-height: 0;
}


/* header */

header {
	width:100%;
	height:85px;
	background:#fdfdfd;
	margin:0;
	padding:0;
	position:fixed;
	z-index:9999;
	border-bottom: solid 1px #e8e8e8;
}
header .inner {
	margin:0 auto;
	position:relative;
	width: 1050px;
}
h1#logo {
	padding-top:7px;
	display: block;
	float: left;
}
h1#logo img {
	width: 150px;
	margin-right: 25px;
	}
#description {
	font-size: 13px;
	font-weight: normal;
    line-height: 53px;
    margin: 0;
    color: #bf5959;
	}
header ul li{
	float: left;
    list-style: none;
    font-size: 14px;
    padding: 0 7px;
    border-right: solid 1px #cccccc;
}
header ul li.first {
	padding-left: 0;
}
header ul li.end {
	border: none;
}
header ul li a {
	text-decoration: none;
	height: 75px;
	padding: 3px 0;
}
header ul li a:hover {
	color: #D64D4D;
	border-bottom: solid 1px;
}

/* content */

#mainvisual {
	position:relative;
	width: 100%;
	height:250px;
	margin:75px auto 0;
	background-image: url(images/bg.png);
	background-size: 100%;
	background-position: center 45%;
}
#mainvisual .inner {
	width: 1050px;
	height: 250px;
	margin: auto;
	background-image: url(images/twologo.png);
	background-repeat:no-repeat;
	background-position:center;
}

#mainmargin {
	position:relative;
	width: 100%;
	height:90px;
	background-size: 100%;
	background-position: center 45%;
}

#subcontent {
	position:relative;
	width: 95%;
	font-size:16px;
	padding: 0.5em 2em;
}


#top_message {
	width:100%;
	font-size:18px;
	background:#e26363;
	color:#fff;
	text-align:center;
	margin:0px auto 30px;
	padding:10px 0;
}
#top_message p {
	width: 1050px;
	margin: 10px auto;
	line-height: 24px;
	max-height: 100%;
}

.top_h3 {
	text-align:center;
	font-size:30px;
}

.pickup {
	width:1050px;
	margin:20px auto 30px;
}
.pickup div {
	position: relative;
	float: left;
	width:280px;
	min-height:260px;
	background:#fff;
	border: solid 5px #eeeeee;
	color: #333;
    font-size: 14px;
	margin:0 0 20px 20px;
	padding: 15px;
}
.pickup div h3 a{
	font-size: 22px;
	color: #e26363;
}
.pickup div a {
	text-decoration:none;
	color: #333;
    font-size: 14px;
}
.pickup div img {
	margin-bottom: 15px;
	width: 100%;
}
.pickup div p {
	word-wrap:break-word;
	line-height: 20px;
	margin-bottom: 45px;
}
.pickup div .left {
	position: absolute;
	bottom: 15px;
	left: 15px;
	font-size: 12px;
	color: #aaaaaa;
}
.pickup div .right a{
	position: absolute;
	bottom: 10px;
	right: 10px;
	border: solid 1px;
	padding: 8px;
	background: #e26363;
	color: #fff;
}
.pickup div span a:hover{
	bottom: 11px;
	right: 11px;
}


/* footer */

footer {
	text-align:center;
	padding:20px 0;
	width:100%;
	border-top: solid 1px #cccccc; 
}
footer ul {
	width:100%;
	margin:0 auto;
}
footer ul li {
	list-style:none;
	display:inline-block;
	margin-right:15px;
}

footer .copy {
	margin:10px 0;
	font-size:14px;
	color:#666;
}


/* up */
#topwrapper {
	position: fixed;
	right: 20px;
	bottom: 100px;
}
#pagetop {
position: relative;
width: 55px;
height: 55px;
background-color: #665e53;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
cursor: pointer;
}
.arrow {
position: absolute;
width: 15px;
height: 15px;
border: 5px solid #665e53;
border-left-color: #FFF;
border-top-color: #FFF;
top: 20px;
left: 15px;
transform: rotate(45deg);
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-o-transform: rotate(45deg);
-ms-transform: rotate(45deg)
}

.blockTitle {
	background-color: #e26363;
	width: 980px;
	margin: auto;
	text-align: center;
	padding: 10px;
	font-size: 200%;
	font-weight: bold;
	color: #fff;
}

.blockContent {
	background-color: #eee;
	width: 880px;
	margin: auto;
	padding: 30px 60px;
}

/* print-style */
@media print {
	body {
		zoom: 70%;
	}
header ul li {
	padding: 0 8px;
	}
}
	
.modified {
	background-color: #f99;
}

body.admin-bar header {
	top: 32px;
}
body.admin-bar #mainvisual {
	margin-top: 107px;
}
body.admin-bar #mainmargin {
	height: 122px;
}
@media screen and (max-width: 782px) {
	body.admin-bar header {
		top: 46px;
	}
	body.admin-bar #mainvisual {
		margin-top: 121px;
	}
	body.admin-bar #mainmargin {
		height: 136px;
	}
}
