/*
Theme Name: WEB ARCH LABO
Author: OSCA
Author URI: http://oscasierra.net/
Description: Theme for WEB ARCH LABO.
Version: 1.0
*/

/*

←                        1060px                      →
|←            749px           →|← 300px →|← 9px →|
|← 9px →|← 728px →|← 12px →|← 300px →|← 9px →|


*/
body {
	background-color : #e6e6e6 ;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size : 11pt ;
	margin : 0px ;
	padding : 0px ;
}
a {
	color : #0055dd;
	text-decoration : none ;
}
h1, h2, h3 {
	margin : 0px ;
}
input[type="submit"], input[type="button"], input[type="reset"] {
	padding: 6px 10px;
	font-size: 11px;
	line-height: 1.428571429;
	font-weight: normal;
	color: #7c7c7c;
	background-color: #e6e6e6;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
	border: 1px solid #d2d2d2;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
}
ul {
	font-size : 11pt ;
}
dl dt {
	font-weight : bold ;
	padding : 5px 5px 2px 5px ;
}
dl dd {
	margin-bottom : 10px ;
}
pre.prettyprint {
	font-size : 12px ;
	margin : 10px 15px ;
	overflow: auto;
}
pre.prettyprint li.L0 { list-style-type: decimal }
pre.prettyprint li.L1 { list-style-type: decimal }
pre.prettyprint li.L2 { list-style-type: decimal }
pre.prettyprint li.L3 { list-style-type: decimal }
pre.prettyprint li.L5 { list-style-type: decimal }
pre.prettyprint li.L6 { list-style-type: decimal }
pre.prettyprint li.L7 { list-style-type: decimal }
pre.prettyprint li.L8 { list-style-type: decimal }

/* Page structure */

#primary a:hover {
	color : #cc0000 ;
}
#primary #content header.entry-header {
	border-color : #eeeeee ;
	border-style : solid ;
	border-width : 0px 0px 1px 0px ;
	margin-bottom : 5px ;
	padding : 0px 5px ;
}
#primary #content header.entry-header #breadcrumb-list {
    background-image : url("../installing-tomcat8-centos7-1_files/img/icon-home.png") ;
	background-position: 1px 3px;
	background-repeat: no-repeat;
	margin : 0px 0px 5px 0px ;
	padding : 0px ;
	text-indent: 23px;
}
#primary #content header.entry-header #breadcrumb-list li {
	color : #999999 ;
	display : inline ;
}
#primary #content header.entry-header #breadcrumb-list li a:hover {
	text-decoration : underline ;
}
#primary #content header.entry-header #entry-header-author {
	margin : 0px ;
}

#primary header h1 {
	font-size        : 24pt ;
	font-weight      : normal ;
	line-height      : 130% ;
	margin-bottom    : 0px ;
}
#primary .entry-content .section {
	padding-bottom   : 30px ;
}
#primary .entry-content .section h2 {
	border-color     : transparent transparent #cccccc #cc9999 ;
	border-style     : solid ;
	border-width     : 0px 0px 1px 5px ;
	font-size        : 14pt ;
	padding          : 2px 5px 2px 5px ;
}
#primary .entry-content .section h3 {
    padding-left     : 5px ;
	padding-top      : 10px ;
}
#primary .entry-content .section p {
	line-height : 160% ;
	padding : 5px ;
}

#primary .entry-content .section p.back-to-index {
	padding    : 20px 0px 0px 0px ;
	text-align : center ;
}
#primary .entry-content .section p.back-to-index a {
	background-color : #333366 ;
	color            : #ffffff ;
	padding          : 7px 21px 7px 21px ;
}
#primary .entry-content .section p.back-to-index a:hover {
	background-color : #333399 ;
}

/*--------------------------------------------------------------------------
  コマンド説明
--------------------------------------------------------------------------*/
#primary .entry-content .section code {
	background-color : #ffeeee ;
	border-color : #ff3333 ;
	border-style : solid ;
	border-width : 1px ;
	color : #333333 ;
	display : block ;
	font-family : "Menlo", "Courier New" ;
	font-size : 85% ;
	margin : 5px 15px 15px 15px ;
	overflow-x: auto;
	white-space: nowrap;
	padding : 10px ;
}
#primary .entry-content .section code span.command {
	color       : #dd0000 ;
}

#primary .entry-content .section span.code {
	background-color      : #eeeeee ;
	border-color          : #cccccc ;
	border-radius         : 2px ;
	border-style          : solid ;
	border-width          : 1px ;
	color                 : #993333 ;
	padding-left          : 4px ;
	padding-right         : 4px ;
	-moz-border-radius    : 2px ;
	-webkit-border-radius : 2px ;
}

/*--------------------------------------------------------------------------
  連載タイトル一覧用
--------------------------------------------------------------------------*/
#primary .entry-content div.serial p.serial-thumb {
     float : left ;
	padding : 0px ;
	width : 120px ;
}
#primary .entry-content div.serial p.serial-thumb img {
    border-color              : #cccccc ;
    border-style              : solid ;
    border-width              : 1px ;
    height                    : 118px ;
    width                     : 118px ;
}
#primary .entry-content div.serial ul.serial-entries {
    list-style-position       : inside ;
    list-style-type           : circle ;
    margin-left               : 130px ;
    padding                   : 0px ;
}
#primary .entry-content div.serial ul.serial-entries li {
    margin                    : 0px ;
    padding                   : 1px 0px ;
}

/*--------------------------------------------------------------------------
  ポイント
--------------------------------------------------------------------------*/
#primary .entry-content div.the-point {
	background-color          : #f9f9f9 ;
	border-color              : #cccccc ;
	border-style              : dashed ;
	border-width              : 1px ;
	margin                    : 0px auto 15px auto ;
	padding-bottom            : 10px ;
	width                     : 90% ;
}
#primary .entry-content div.the-point .the-point-title {
	font-size                 : 18px ;
	font-weight               : bold ;
	margin                    : 0px 0px 0px 0px ;
	padding                   : 10px 8px ;
}
#primary .entry-content div.the-point ul {
	margin                    : 0px 0px 5px 0px ;
}
#primary .entry-content div.the-point ul li {
	margin-bottom             : 5px ;
}

/*--------------------------------------------------------------------------
  アプリ紹介
--------------------------------------------------------------------------*/
#primary .entry-content div.app-link {
	border-color     : #cccccc ;
	border-style     : dotted ;
	border-width     : 1px ;
	margin           : 5px auto 5px auto ;
	padding          : 5px ;
	width            : 90% ;
}
#primary .entry-content div.app-link p {
	margin           : 0px ;
	padding          : 2px ;
}
#primary .entry-content div.app-link p.app-link-thumb {
	float            : left ;
	padding          : 2px ;
	width            : 96px ;
}
#primary .entry-content div.app-link p.app-link-thumb img {
	border-color     : #cccccc ;
	border-style     : solid ;
	border-width     : 1px ;
	height           : 96px ;
	width            : 96px ;
}
#primary .entry-content div.app-link p.app-link-title {
	font-weight      : bold ;
	margin-left      : 110px ;
}
#primary .entry-content div.app-link p.app-link-developer {
	color            : #666666 ;
	margin-left      : 110px ;
}
#primary .entry-content div.app-link p.app-link-link {
	margin-left      : 110px ;
}

/*--------------------------------------------------------------------------
  関連エントリー
--------------------------------------------------------------------------*/
#primary .entry-content div.related-entry {
	background-color : #f9f9f9 ;
	border-color     : #cccccc ;
	border-style     : solid ;
	border-width     : 1px ;
	margin-bottom    : 10px ;
	margin-left      : 50px ;
	margin-right     : 50px ;
	padding          : 5px ;
}
#primary .entry-content div.related-entry p {
    margin           : 0px ;
	padding          : 0px ;
}
#primary .entry-content div.related-entry p.related-entry-thumbnail {
	float            : left ;
	width            : 40px ;
}
#primary .entry-content div.related-entry p.related-entry-thumbnail img {
	height           : 40px ;
}
#primary .entry-content div.related-entry p.related-entry-title {
	margin-left      : 50px ;
	margin-top       : 8px ;
}

/*--------------------------------------------------------------------------
  table
--------------------------------------------------------------------------*/
#primary .entry-content table.table-type-1 {
	border-collapse : collapse ;
	border-color    : #999999 ;
	border-style    : solid ;
	border-width    : 1px ;
	margin          : 0px 10px 0px 10px ;
}
#primary .entry-content table.table-type-1 thead tr th {
	background-color : #cccccc ;
	border-color    : #999999 ;
	border-style    : solid ;
	border-width    : 1px ;
	padding         : 5px 8px 5px 8px ;
}
#primary .entry-content table.table-type-1 tbody tr th {
	border-color    : #999999 ;
	border-style    : solid ;
	border-width    : 1px ;
	padding         : 5px 8px 5px 8px ;
}
#primary .entry-content table.table-type-1 tbody tr th.sub-title {
	background-color : #ccccaa ;
	text-align : left ;
}
#primary .entry-content table.table-type-1 tbody tr td {
	border-color    : #999999 ;
	border-style    : solid ;
	border-width    : 1px ;
	padding         : 5px 8px 5px 8px ;
}

#primary .entry-content table.table-type-2 {
	border-collapse : collapse ;
	border-color    : #999999 ;
	border-style    : solid ;
	border-width    : 1px ;
	margin          : 0px 10px 0px 10px ;
}
#primary .entry-content table.table-type-2 tbody tr th {
	background-color : #eeeeee ;
	border-color    : #999999 ;
	border-style    : solid ;
	border-width    : 1px ;
	padding         : 5px 10px 5px 10px ;
	text-align      : right ;
	vertical-align  : top ;
}
#primary .entry-content table.table-type-2 tbody tr td {
	border-color    : #999999 ;
	border-style    : solid ;
	border-width    : 1px ;
	padding         : 5px 10px 5px 10px ;
	vertical-align  : top ;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- 関連記事
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#primary .entry-content div.related-entries h3 {
	border-color : #999999 ;
	border-style : solid ;
	border-width : 0px 0px 1px 0px ;
	padding-top  : 20px ;
}

/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- Amazon/楽天アフィリエイト
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#primary .entry-content div.ad-items {
	padding-top : 10px ;
}
#primary .entry-content div.ad-items div.ad-item {
	border-color : #666666 ;
	border-style : dotted ;
	border-width : 1px ;
	float : left ;
	margin-right : 10px ;
	padding : 5px 10px 5px 10px ;
}
#primary .entry-content div.ad-items div.ad-item p {
	margin : 0px ;
	padding : 0px 5px 3px 5px ;
}
#primary .entry-content div.ad-items div.ad-item p.ad-item-thumb {
	float : left ;
	margin-right : 10px ;
	padding : 5px ;
	text-align : center ;
	width : 100px ;
}
#primary .entry-content div.ad-items div.ad-item p.ad-item-name {
	font-weight : bold ;
	margin-left : 115px ;
}
#primary .entry-content div.ad-items div.ad-item p.ad-item-link-amazon {
	margin-left : 115px ;
}
#primary .entry-content div.ad-items div.ad-item p.ad-item-link-rakuten {
	margin-left : 115px ;
}
#primary .entry-content div.ad-items div.ad-item p a {
	border-color : #666666 ;
	border-style : dotted ;
	border-width : 0px 0px 1px 0px ;
}

#primary footer {
	border-width : 0px ;
}
#primary footer #comment-on-facebook h2 {
	text-align : left ;
}
/*==========================================================================
= 著書プロファイル
==========================================================================*/
#primary footer #author {
	background-color : #eeeeee ;
	border-color : #cccccc ;
	border-style : solid ;
	border-width : 1px 0px 0px 0px ;
	padding       : 5px 8px 10px 8px ;
	text-align : left ;
}
#primary footer #author h2 {
	font-size     : 11pt ;
	margin-bottom : 5px ;
	padding       : 0px ;
}
#primary footer #author p#author-icon {
	float : left ;
	margin : 0px ;
	padding : 0px ;
	width : 60px ;
}
#primary footer #author p#author-icon img {
	height : 60px ;
	width  : 60px ;
}
#primary footer #author p#author-comment {
	font-size : 10pt ;
	margin    : 0px 0px 0px 70px ;
	padding   : 0px 0px 0px 0px ;
}
#primary footer #author p#author-twitter-account {
	margin-left : 70px ;
}

/***************************************************************************
* #sidebar
***************************************************************************/
#sidebar {
	margin-left      : 740px ;
	width            : 300px ;
}
#sidebar #sidebar-ad1 {
	margin-bottom    : 10px ;
}
#sidebar .fb-like-box {
	margin-bottom    : 10px ;
}
#sidebar #sidebar-ad2 {
	margin-bottom    : 10px ;
}

/*==========================================================================
=
==========================================================================*/
@media screen and (min-width:320px) {
	#page {
		background-color      : #ffffff ;
	}

	/*----------------------------------------------------------------------
	- header#page-header
	----------------------------------------------------------------------*/
	header#page-header {
		border-color    : #cccccc ;
		border-style    : solid ;
		border-width    : 0px 0px 1px 0px ;
		margin-bottom   : 10px ;
		padding         : 20px 0px 20px 20px ;
	}
	header#page-header a {
		color : #000 ;
	}
	header#page-header ul#page-header-sns-icons {
		display         : none ;
	}
	header#page-header #site-description {
		font-size             : 10pt ;
		margin                : 0px ;
		padding               : 0px ;
	}

	/*----------------------------------------------------------------------
	- nav#page-nav
	----------------------------------------------------------------------*/
	nav#page-nav {
		display               : none ;
	}

	/*----------------------------------------------------------------------
	- #content
	----------------------------------------------------------------------*/
	#primary #content img {
		max-width             : 100% ;
	}
	#primary #content header.entry-header .share {
		display               : none ;
	}
	#primary #content article .entry-content {
		padding               : 0px 5px 15px 5px ;
	}
	#primary .entry-content div.ad-items div.ad-item {
		width                 : calc( 100% - 2px - 20px ) ;
	}

	/*----------------------------------------------------------------------
	- #primary footer
	----------------------------------------------------------------------*/
	#primary footer {
		display               : none ;
	}

	/*----------------------------------------------------------------------
	- #sidebar
	----------------------------------------------------------------------*/
	#sidebar {
		display               : none ;
	}

	/*----------------------------------------------------------------------
	- #global-footer
	----------------------------------------------------------------------*/
	#global-footer {
		background-color      : #ffffff ;
		border-color          : #cccccc ;
		border-style          : solid ;
		border-width          : 1px 0px 0px 0px ;
		clear                 : both ;
		color                 : #999999 ;
		font-size             : 12px ;
		padding               : 10px 10px 20px 10px ;
	}
	#global-footer p {
		margin                : 0px ;
	}
	#global-footer #global-footer-menu {
		display               : none ;
	}
	#global-footer #global-footer-copyright p {
		text-align            : center ;
	}
}
/*==========================================================================
=
==========================================================================*/
@media screen and (min-width:660px) {
	header#page-header ul#page-header-sns-icons {
		float                 : right ;
		padding               : 0px 20px ;
	}
	header#page-header ul#page-header-sns-icons {
		display               : block ;
	}
	header#page-header ul#page-header-sns-icons li {
		float                 : left ;
		list-style-type       : none ;
		margin                : 0px 0px 0px 15px ;
	}

	/*----------------------------------------------------------------------
	- nav#page-nav
	----------------------------------------------------------------------*/
	nav#page-nav {
		background-color      : #444444 ;
		background            : -moz-linear-gradient(top, #666666, #333333) ;
		background            : -webkit-gradient(linear, left top, left bottom, from(#666666), to(#333333));
		clear                 : both ;
		display               : block ;
		margin-top            : -11px ;
		margin-bottom         : 10px ;
		padding               : 0px ;
	}
	nav#page-nav ul {
		margin : 0px ;
		padding : 10px 5px 10px 5px ;
	}
	nav#page-nav ul li {
		border-color : #666666 ;
		border-style : solid ;
		border-width : 0px 1px 0px 0px ;
		display : inline ;
		margin  : 0px ;
		padding : 5px 15px 5px 15px ;
	}
	nav#page-nav ul li:hover {
		background: -moz-linear-gradient(top, #777777, #444444) ;
		background: -webkit-gradient(linear, left top, left bottom, from(#777777), to(#444444));
	}
	nav#page-nav ul li a {
		color : #ffffff ;
	}

	/*----------------------------------------------------------------------
	- #content
	----------------------------------------------------------------------*/
	#primary #content header.entry-header .share {
		display               : block ;
		margin-top            : 15px ;
	}

	#primary footer {
		display               : block ;
		text-align            : center ;
	}
	#primary footer #author {
		text-align            : left ;
	}
	#primary .entry-content div.ad-items div.ad-item {
		width : calc( ( 100% / 2 ) - 40px ) ;
	}

	/*----------------------------------------------------------------------
	- #global-footer
	----------------------------------------------------------------------*/
	#global-footer #global-footer-menu {
		display               : block ;
		margin                : 0px auto 20px auto ;
	}
	#global-footer #global-footer-menu a:hover {
		color                 : #cc0000 ;
	}
	#global-footer #global-footer-menu .global-footer-menu-category {
		clear                 : both ;
	}
	#global-footer #global-footer-menu .global-footer-menu-category .global-footer-menu-item {
		float                 : left ;
		width                 : calc( 100% / 4 ) ;
	}
	#global-footer #global-footer-menu .global-footer-menu-category .global-footer-menu-item p {
		margin                : 0px ;
		padding               : 0px ;
	}
	#global-footer #global-footer-menu .global-footer-menu-category .global-footer-menu-item p.global-footer-menu-item-thumb {
		float                 : left ;
		padding               : 3px ;
		width                 : 15px ;
	}
	#global-footer #global-footer-menu .global-footer-menu-category .global-footer-menu-item p.global-footer-menu-item-thumb img {
		height                : 15px ;
		width                 : 15px ;
	}
	#global-footer #global-footer-menu .global-footer-menu-category .global-footer-menu-item p.global-footer-menu-item-title {
		margin-left           : 21px ;
		padding               : 2px 5px 2px 0px ;
	}
}
/*==========================================================================
= 1024px
= 
= |←                        1014px                      →|
= |← 10px →|←             992px            →|← 10px →|
= |← 10px →|← 672px →|← 10px →|← 300px →|← 10px →|
==========================================================================*/
@media screen and (min-width:1024px) {
	#page {
		border-color    : #cccccc ;
		border-style    : solid ;
		border-width    : 1px ;
		box-shadow      : 0 2px 6px rgba(100, 100, 100, 0.3) ;
		margin          : 10px auto ;
		padding         : 0 10px 0px 10px ;
		width           : 992px ;
	}

	/*----------------------------------------------------------------------
	- #primary
	----------------------------------------------------------------------*/
	#primary {
		float            : left ;
		padding-bottom   : 10px ;
		width            : 672px ;
	}

	#primary #content article .entry-content {
		padding               : 0px 0px 15px 0px ;
	}

	/*----------------------------------------------------------------------
	- #sidebar
	----------------------------------------------------------------------*/
	#sidebar {
		display          : block ;
		margin-left      : 692px ;
		width            : 300px ;
	}

	/*----------------------------------------------------------------------
	- #global-footer
	----------------------------------------------------------------------*/
	#global-footer #global-footer-menu {
		width            : 1014px ;
	}
	#global-footer #global-footer-menu .global-footer-menu-category .global-footer-menu-item {
		width                 : calc( 100% / 5 ) ;
	}
}
/*==========================================================================
= 1280px
= 
= |←                        1270px                      →|
= |← 20px →|←             1228px           →|← 20px →|
= |← 20px →|← 918px →|← 10px →|← 300px →|← 20px →|
==========================================================================*/
@media screen and (min-width:1280px) {
	#page {
		margin                : 20px auto ;
		width                 : 1228px ;
	}

	/*----------------------------------------------------------------------
	- #primary
	----------------------------------------------------------------------*/
	#primary {
		width                 : 918px ;
	}
	/*----------------------------------------------------------------------
	- #sidebar
	----------------------------------------------------------------------*/
	#sidebar {
		margin-left           : 928px ;
	}

	/*----------------------------------------------------------------------
	- #global-footer
	----------------------------------------------------------------------*/
	#global-footer #global-footer-menu {
		width            : 1230px ;
	}
	#global-footer #global-footer-menu .global-footer-menu-category .global-footer-menu-item {
		width                 : calc( 100% / 6 ) ;
	}
}
