/****************************************
*	This is the style sheet of PPLOG	*
*	Edit this as you wish.				*
*	Designed by Federico Ramírez		*
*	A.K.A fedekun						*
*   Modified by jamesbond for his blog  *
****************************************/

/* google fonts */
@import url(https://fonts.googleapis.com/css?family=Italianno);
@import url(https://fonts.googleapis.com/css?family=Kotta+One);
@import url(https://fonts.googleapis.com/css?family=Cookie);

/* local font definition */ /*
@font-face { font-family: Italianno; src: url(Italianno-Regular.woff); }
@font-face { font-family: Cookie; src: url(Cookie-Regular.woff); }
@font-face { font-family: 'Kotta One'; src: url(KottaOne-Regular.woff); }
*/
#anchor {
	background-image:url(style1/comment.gif);
	background-repeat: no-repeat;
	vertical-align: bottom;
	padding-left: 12px;
}

#menubar {
 position:absolute;
 left:0px;
 top:2px;
}

body {
	font-family: 'Kotta One', serif;
	font-size: 18px;
	color: #222222;
	/*background-color: white; */
	background-image:url(style1/bg.jpg);
	background-repeat: repeat;
	margin-top: 0px;
}

table {
	font-size: 16px;
}

input, button, textarea, select, radio {
	padding: 2px;
	border: 1px solid #8FB236;
	color: #008000;
	background-color: white;
	/*font-family: Verdana, Arial, Helvetica, sans-serif;*/
	/*font-size: 12px;*/
}

div#all {
	width: 970px;
	margin: auto;
	min-height: 600px;
	background-image:url(style1/header.png);
	background-position: center top;
	background-repeat: no-repeat;
	padding-top: 150px;
	/*background-color: white; */
	/* border-top: 1px dashed silver;
	border-left: 1px dashed silver;
	border-right: 1px dashed silver; */
}

*::-moz-selection {
	background-color:#8FB236;
	color: white;
}

div#mobilemenu { display: none; }
div#menu {
	float: right;
	padding-left: 10px;
	width: 200px;
	margin-right: 20px;
	letter-spacing: -1px;
	background-color: #ffe0b0;
	box-shadow: 5px 5px 5px #404040;
}

div#menu:after {
	content: "";
	height:180px;
	background-image: url(../cgi-bin/worldvisitor.cgi);
	background-size: 190px;
	background-repeat: no-repeat;
	display: block;
}

#menu h1, #mobilemenu h1 {
	color: #602000; /*#008000; */
	padding: 0px;
	margin-top: 18px;
	margin-bottom: 0px;
	font-family: 'Cookie', cursive;	
	font-size: 26px;
	font-weight: normal;
}

#menu a, #mobilemenu a {
	display: block;
	color: #008000;
	text-transform: capitalize;
	padding-left: 5px;
	text-decoration: none;
}

#menu a:hover, #mobilemenu a:hover {
	padding-left: 7px;
}

div#content {
	float: right;
	padding-right: 15px;
	width: 690px;
	padding-left: 10px;
	min-height: 600px;
}

#content h1, #content h1>a {
	font-family: 'Italianno', cursive;
	font-weight: normal;
	font-size: 36px;
	/* border-bottom: 1px solid gray; */
	/* margin-bottom: 5px; */
	padding: 0px;
	color: #602000;	
	letter-spacing: 2px;
}

#content a {
	color: blue;
	text-decoration: none;
}

#content h1:after {
	content: url(style1/separator.png);
	display: block;
}

div#footer {
	clear: both;
	text-align: center;
	font-size: 11px;
	color: #666666;
	padding-top: 15px;
	letter-spacing: 2px;
}

#footer a {
	color: black;
	text-decoration: none;
	letter-spacing: -1px;
}

.code {
	border: 1px solid black;
	/*background-color: #F1F1F1;*/
	font-family: 'DejaVu Sans Mono', courier, monospace;
	color: #111111;
	font-size: 11px;
	padding: 2px 10px 2px 10px;
	margin: 2px 10px 2px 10px;
	line-height: 0.6em;
	height: auto;
	max-height: 300px;
	overflow: auto;
}

/* sc0ttman - persistent styling for code highlighting on PPLOG */
html .prettyprint { 
	border: 0px solid black; 
}

.quote {
	border: 1px solid black;
	padding: 2px;
	margin: 2px;
}

/* james - extra classes */
/* emphasise - red */
.emr {
	font-weight: bold;
	color: red;
}

/* emphasise - blue */
.emb {
	font-weight: bold;
	color: blue;
}

/* emphasise - green */
.emg {
	font-weight: bold;
	color: green;
}

/* subheading 2 */
.h2 {
	font-size: 20px;
	font-weight: bold;
	color: #602000;
}

/* monospace font */
.mono {
	font-family: Monaco, Cousine, Monospace;
}

/* italic - red */
.itr {
	font-style: italic;
	color: red;
}

/* italic - blue */
.itb {
	font-style: italic;
	color: blue;
}

/* italic - green */
.itg {
	font-style: italic;
	color: green;
}

/* fit image */
.fitimage img {
	width: 100%;
}

@media (max-device-width: 600px) {
	div#all { 
		max-width: -moz-min-content;
		max-width: -webkit-min-content;
	}
	div#menu { display: none; }
	div#content { float: none; width: auto; }
	div#mobilemenu { 
		display: block; 
		background-color: #ffe0b0;
		box-shadow: 5px 5px 5px #404040;
	}
	#mobilemenu a { 
		display: inline; 
		padding-left: 0px;
	}
	#mobilemenu a:hover { 
		font-weight: bold;
		padding-left: 0px;
	}
	
	#mmpages:before {
		content: "Pages: ";
	}
	#mmlinks:before {
		content: "Links: ";
	}
	#content h1, #content h1>a {
		font-size: 66px;
		letter-spacing: 4px;
	}
}
