/*
Theme Name: Maximum Randomosity
Theme URI: http://www.maximumrandomosity.com
Description: The theme of Maximum Randomosity
Author: Gerard Gareau
Version: 1
*/

/** Reset */
address,article,blockquote,body,caption,col,colgroup,dd,dialog,div,dl,dt,fieldset,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,hr,nav,legend,li,menu,ol,p,pre,section,table,tbody,td,tfoot,th,thead,tr,ul,a,abbr,b,bdo,br,cite,code,del,dfn,em,i,ins,kbd,label,mark,meter,progress,q,rp,rt,ruby,samp,small,span,strong,sub,sup,time,var,audio,canvas,embed,figure,figcapture,iframe,img,math,object,svg,video {
	border:          0;
	margin:          0;
	outline:         0;
	padding:         0;
	border-spacing:  0;
	list-style:      none;
	color:           inherit;
	font-size:       inherit;
	font-style:      inherit;
	text-align:      inherit;
	font-weight:     inherit;
	font-family:     inherit;
	line-height:     inherit;
	text-decoration: inherit;
	vertical-align:  baseline;
	border-collapse: separate;
	background:      transparent; }
article,dialog,figure,figcapture,footer,header,hgroup,legend,nav,section { display: block; }

/** Basic Styling */
@import url();

body {
	background:#2d3e4c;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #1d2830),color-stop(0.30, #2d3e4c));
  background: -moz-linear-gradient(top, #1d2830, #2d3e4c 30%);  
	margin-top:0;
	font-family: helvetica, sans serif;
}

a, a:link, a:visited {
	color:#FFF;
	text-decoration:none;
}

a:hover {
}

#comic span {
	/*width:100%;*/
	margin:0 auto;
	text-align:center;
	text-align:center;
}
#comic img{max-width:100%;}
#logo img{
	width:100%;
	max-width:250px;
	margin:0 auto;
	}
h1 {
}
h2{
	color:#fff;
	text-align:center;
	line-height:2em;
	font-size:1.5em;
}

#wrap{
	margin:0 auto;
	width:100%;
	max-width:1198px;
	min-width:950px;	
	min-height:1000px;
}
#header{}
#menu{
	margin-top:0;
 font-size:0.8em;
}
ul.nav{
	text-align:center;
	list-style-type:none;
	margin:0 auto;
	clear:both;
}
ul.nav li{
	width:25%;
	float:left;
	height:2em;
	background: #909da7;
	line-height:2em;
}
ul.nav li img{
	height:2em;line-height:2em;}
ul.nav.upper li{
	margin-top:30px;
	-moz-border-radius-topleft: 2em;
	-webkit-border-top-left-radius: 2em;
	-moz-border-radius-topright: 2em;
	-webkit-border-top-right-radius: 2em;
	border-top-left-radius:2em;
	border-top-right-radius:2em;
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #687985),color-stop(0.80, #909da7));
	background: -moz-linear-gradient(bottom, #687985, #909da7 80%);
}
ul.nav.lower li{
	-moz-border-radius-bottomleft: 2em;
	-webkit-border-bottom-left-radius: 2em;
	-moz-border-radius-bottomright: 2em;
	-webkit-border-bottom-right-radius: 2em;
	border-bottom-left-radius:2em;
	border-bottom-right-radius:2em;
	margin-bottom:2em;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #687985),color-stop(0.80, #909da7));
	background: -moz-linear-gradient(top, #687985, #909da7 80%);margin-top:4px;  
}
ul.nav li:hover{
	background: #000;
}
ul.nav{
	margin:0 auto;
	padding:0;
}

#menu ul{
	text-align:center;
	list-style-type:none;
	margin:0 auto;
}
#menu ul li{
	float:left;
	height:2em;
	margin-right:0.8em;
	line-height:2em;
	-moz-border-radius-bottomleft: 0.5em;
	-webkit-border-bottom-left-radius: 0.5em;
	-moz-border-radius-bottomright: 0.5em;
	-webkit-border-bottom-right-radius: 0.5em; 
	border-bottom-left-radius:0.5em;
	border-bottom-right-radius:0.5em;
	margin-bottom:1em;
}
#menu ul li a {
	display:block;
	padding:0 1em 0 1em;
	}
ul.nav li a {
	display:block;
	}
#menu ul li:hover{
	background: #dae2e8;
	color:#000;
}
#menu ul li:hover a{
	color:#000;
	opacity:0.7;
	}
#menu ul li a:hover{
	opacity:1;
	}

#comic{
	clear:both;
	margin-bottom:-4px;
	width:100%;
	background:#000;
}
#menu ul li.home:hover{
	background: transparent;
}
#content{
	width:98%;
	margin:50px auto;
	background:#909da7;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	border-radius:0.5em;
	clear:both;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #687985),color-stop(0.80, #909da7));
	background: -moz-linear-gradient(top, #687985, #909da7 80%);  
}
.textbox{
	background:#2d3e4c;
	margin:2em 350px 2em 2em;
	-moz-border-radius: 2em;
	-webkit-border-radius: 2em;
	border-radius: 2em;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0, #1d2830),color-stop(0.80, #2d3e4c));
	background:-moz-linear-gradient(top, #1d2830, #2d3e4c 80%); 
}
.textbox .title{
	background:#000;
	width:100%;
	height:3em;
	-moz-border-radius-topleft: 2em;
	-webkit-border-top-left-radius: 2em;
	-webkit-border-top-right-radius: 2em;
	-moz-border-radius-topright: 2em;
	border-top-left-radius:2em;
	border-top-right-radius:2em;
	border-bottom:0.1em solid #485865;
	}
.textbox p{
	padding:1.5em 1.5em 0 1.5em;
	font-size:0.9em;
	color:#dae2e8;
	text-align: justify;
	text-justify: newspaper;
}
#sidebar{
	width:300px;
	float:right;
	background:#dae2e8;
	-webkit-border-bottom-left-radius: 2em;
	-moz-border-radius-bottomleft: 2em;
	border-bottom-left-radius:2em;
	border-left:0.2em solid #596a77;
	border-bottom:0.2em solid #596a77;
	color: #000;
}
#sidebar a{
	color:#2d3e4c;
}
#sidebar p, #sidebar figure, #sidebar ul, #sidebar select, #sidebar table{
	padding:0 2em 0.5em 2em; margin:0 auto;text-align:center;
}
#sidebar li {
	font-size:0.8em;}
#sidebar select{
	margin-left:25px;
	width:250px;
	margin-bottom:2em;
}
#sidebar caption{
	margin-bottom:0.5em;
	font-weight:bold;
}
#footer p{
	margin-top:1em;
	text-align:center;
	font-size:0.65em;
	color:#909da7;
	}
#footer a{
	color:#FFF;
	font-size:1.2em;
	letter-spacing:0.07em;
}
.right{
	float:right;
}
#logoAd{	
	float:left;
	width:100%;
	margin-top:0.5em;
	padding:0;
}
#logo{
	width:150px;
	opacity:0.85;
	margin-bottom:30px;
	clear:both;
}
#logo:hover{
	width:150px;
	opacity:1;
	clear:both;
}
#ad, #altAd{
	width:728px;
	height:90px;
	background-color:#DBDBDB;
	margin:70px auto;
	margin-bottom:0;
	clear:both;
}
#altLogo{
	clear:both;
}
#altLogo img{
	width:150px;
	}
#altAd{
	display:none;
	float:none;
	
	margin: 50px auto;
}
.contentTitle{
	height:2em;
	width:100%;
	background:#dae2e8;
	-webkit-border-top-left-radius: 0.5em;
	-webkit-border-top-right-radius: 0.5em;
	-moz-border-radius-topleft: 0.5em;
	-moz-border-radius-topright: 0.5em;
	border-top-left-radius:0.5em;
	border-top-right-radius:0.5em;
	border-bottom:0.2em solid #596a77;
	margin-bottom:-0.2em;

	}
.contentTitle a{
	color:#000;
	line-height:2em;
	font-size:1em;
	
	}
.contentTitle p{
	text-align:center;
	text-transform:uppercase;
	}
#topbar{
	height:0.5em;
	-webkit-border-bottom-left-radius: 0.5em;
	-webkit-border-bottom-right-radius: 0.5em;
	-moz-border-radius-bottom-left: 0.5em;
	-moz-border-radius-bottom-right: 0.5em;
	border-bottom-left-radius:0.5em;
	border-bottom-right-radius:0.5em;
	border-bottom:1px solid #000;
	background:#909da7;
}
.meta p{
	text-align:right;
	font-size:0.8em;
	line-height:2.5em;
	padding:0 2em 0 0;
}
.meta{
	background:#000;
	width:100%;
	height:2em;
	-moz-border-radius-bottomleft: 2em;
	-webkit-border-bottom-left-radius: 2em;
	-webkit-border-bottom-right-radius: 2em;
	-moz-border-radius-bottomright: 2em;
	border-bottom-left-radius:2em;
	border-bottom-right-radius:2em;
	border-top:0.1em solid #485865;
	margin-top:1em;}

/* FOR SMALL SCREENS */

@media screen and (max-width: 768px) {

#logoAd, #ad{
	display:none;	
}
#altLogo{
	display:inherit;
}
#altAd{
	display:inherit;
	}
	li{
	font-size:1em;	
	}
#wrap{
	min-width:760px;	
}
.contentTitle{
	margin-bottom:-0.25em;
	}
}

/* INCREASE FONT SIZE FOR IPAD IN PORTRAIT */
@media screen and (orientation:portrait){
	li{
		font-size:1.3em;
	}

}
