/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: rgb(148, 17, 0);/* #b3d4fc; */
    text-shadow: none;
}

::selection {
    background: rgb(148, 17, 0);/* #b3d4fc; */
    color: white;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
/* * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } */

/* ==================================================================================================================== */
/* ! The 1140px Grid V2 by Andy Taylor \ http://cssgrid.net \ http://www.twitter.com/andytlr \ http://www.andytlr.com   */
/* ==================================================================================================================== */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,q,small,strong,sub,sup,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;margin:0;padding:0}article,aside,figure,figure img,figcaption,hgroup,footer,header,nav,section,video,object{display:block}a img{border:0}figure{position:relative}figure img{width:100%}
	
	ul{
	list-style: none;
	}
	
		ul.bullet{
	list-style-type: disc;
	list-style-position: outside;
	padding-left: 20px;
	}
	
	ul.square{
	list-style-type: square;
	list-style-position: outside;
	padding-left: 20px;
	margin-bottom: 0px;
	}
	
	.container {
	padding-left: 20px;
	padding-right: 20px;
	-webkit-box-sizing: border-box; Safari/Chrome, other WebKit
	-moz-box-sizing: border-box;    Firefox, other Gecko
	box-sizing: border-box;         Opera/IE 8+
	}
	
	.content{	
	width:96%;
	max-width: 1140px;
	min-width: 755px;
	margin: 0 auto;
	overflow: hidden;
	
	-webkit-box-sizing: border-box; Safari/Chrome, other WebKit
	-moz-box-sizing: border-box;    Firefox, other Gecko
	box-sizing: border-box;         Opera/IE 8+
	
	-moz-border-radius: 10px;
	border-radius: 10px;
	
	-moz-box-shadow: 0px 0px 10px 10px #2c2c2c;
	-webkit-box-shadow: 0px 0px 5px 5px #2c2c2c;
	box-shadow: 0px 0px 5px 7px #2c2c2c;
	
	background-image: url('../img/redox_01.png');
	background-repeat:repeat;
	background-size: 600px 375px;
	}
	
	.row {
	position:relative;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	
	width: 100%;
	max-width: 1140px;
	min-width: 755px;
	margin: 0 auto;
	overflow: hidden;
	padding-bottom:10px;
	}
	
	.footer {
	width:96%;
	max-width: 1100px;
	padding-top:1em;
	background: rgba(0, 0, 0, 0.0);
	padding-bottom:0.67em;
	color: rgb(245,245,245);
	}
	
	.python{margin-top:3em}
	
	.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol {
	margin-right: 3.8%;
	float: left;
	min-height: 1px;
	}
	
	.row .onecol {
	width: 4.85%;
	}
	
	.row .twocol {
	width: 13.45%;
	}
	
	.row .threecol {
	width: 22.05%;
	}
	
	.row .fourcol {
	width: 30.75%;
	}
	
	.row .fivecol {
	width: 39.45%;
	}
	
	.row .sixcol {
	width: 48%;
	}
	
	.row .sevencol {
	width: 56.75%;
	}
	
	.row .eightcol {
	width: 65.4%;
	}
	
	.row .ninecol {
	width: 74.05%;
	}
	
	.row .tencol {
	width: 82.7%;
	}
	
	.row .elevencol {
	width: 91.35%;
	}
	
	.row .twelvecol {
	width: 100%;
	float: left;
	}
	
	.last {
	margin-right: 0px;
	}
	
	img, object, embed {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	max-width: 100%;
 	overflow-x: visible;
	width:97%;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-moz-box-shadow: 10px 10px 5px #888;
	-webkit-box-shadow: 5px 5px 2px #888;
	box-shadow: 5px 5px 2px #888;}
	
	}
	
	img {
		height: auto;
	}
	
	.slides img {
		width=100%;
 		overflow-x: hidden;
 		overflow-y: hidden;
		padding-right: 0px;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	
	.floatRight {
	float: right;
	right: 8px;
	width: 48%; 
	margin-right: 8px;
	margin-left: 3.8%;
	}
	
		

	
	/* Smaller screens */
	
	@media only screen and (max-width: 1023px) {
	
		body {
		font-size: 0.8em;
		line-height: 1.5em;
		}
		
		.row, body, .container {
		min-width: 0;
		margin: 0px auto;
		margin-top:0px;
		}
		
		.title{
		margin: 0 auto;
		padding-bottom:-20px;
		margin-bottom:-40px;
		}
		
		.nav_but{
    	margin-top:-60px;
    	margin-bottom:-15px;
    	}
    	
    	nav { float:center;}
		
		}
	
	
	/* Mobile */
	
	@media handheld, only screen and (max-width: 767px) {
	
		body {
		font-size: 16px;
		-webkit-text-size-adjust: none;
		}
		
		.row, body, .container{
		position:relative;
		min-width: 0;
		margin-left: 2%;
		margin-right: 2%;
		}

		.python{margin-top:0em}
		
		.row .onecol, .row .twocol, .row .threecol, .row .fourcol, .row .fivecol, .row .sixcol, .row .sevencol, .row .eightcol, .row .ninecol, .row .tencol, .row .elevencol, .row .twelvecol {
		width: auto;
		float: none;
		margin-left: 0px;
		margin-right: 0px;
		padding-left: 0px;
		padding-right: 0px;
		}
		
		#twitter-widget-0 {
    	padding-top:20px;
  		}
  		
/* 
  		.floatRight{
  		float:none !important;
  		margin-left: auto;
  		margin-right: auto;
		width: 75%;
  		}
 */
	
	}
	



/* ==|== primary styles =====================================================
   Author: Joshua Vaughan - August 2012
   ========================================================================== */
   
body{background-image:url('../img/bo_play_pattern.png');
background-repeat:repeat;
background-size: 42px 22px;
}

/* DEFAULT FONT SETTINGS */
/* 16px base font size with 150% (24px) friendly, unitless line height and margin for vertical rhythm */
/* Font-size percentage is based on 16px browser default size */
body, button, input, select, textarea {font: 100%/1.5 Georgia,Palatino,"Palatino Linotype",Times,"Times New Roman",serif; *font-size: 1em; color: #444} /* IE7 and older can't resize px based text */
p, blockquote, q, pre, address, hr, code, samp, dl, ol, ul, form, table, fieldset, menu, img {margin: 0 0 1.5em; padding: 0}

/* TYPOGRAPHY */
/* Composed to a scale of 12px, 14px, 16px, 18px, 21px, 24px, 36px, 48px, 60px and 72px */
h1, h2, h3, h4, h5, h6 {font-family:Georgia, "Century Gothic", AppleGothic, sans-serif;color:#222;text-shadow:2px 2px 5px rgba(0,0,0,0.2);}
h1 {margin: 0; font-size: 3.75em; line-height: 1.2em; margin-bottom: 0.4em;text-shadow:5px 5px 10px rgba(0,0,0,0.35)}/* 60px / 72px */
h2 {margin: 0; font-size: 3em; line-height: 1em; margin-bottom: 0.5em} /* 48px / 48px */
h3 {margin: 0; font-size: 2.25em; line-height: 1.3333333333333333333333333333333em;} /* margin-bottom: 0.6667em} /* 36px / 48px */ 
h4 {margin: 0; font-size: 1.5em; line-height: 1em; margin-bottom: 1em} /* 24px / 24px */
h5 {margin: 0; font-size: 1.3125em; line-height: 1.1428571428571428571428571428571em}/* ; margin-bottom: 1.1428571428571428571428571428571em} /* 21px / 24px */ */
h6 {margin: 0; font-size: 1.125em; line-height: 1.3333333333333333333333333333333em; margin-bottom: 1.3333333333333333333333333333333em} /* 18px / 24px */
p, ul, blockquote, pre, td, th, label {margin: 0; font-size: 1em; line-height: 1.5em; margin-bottom: 1.5em;} /* 16px / 24px */
small, p.small {margin: 0; font-size: 0.875em; line-height: 1.7142857142857142857142857142857em; margin-bottom: 1.7142857142857142857142857142857em} /* 14px / 24px */

a{color:#006}

.title {
		background: rgba(0, 0, 0, 0.0);
		padding-bottom:-20px;
		margin-bottom:-40px;
		}
	
.footer a {
	color:white;
	text-decoration: none;}

.entry-content .twitter-timeline-rendered {
width:100%;
max-width: 100% !important;
}	

.twitter-timeline .twitter-timeline-rendered {
width:100%;
max-width: 100% !important;
}	

#twitter-widget-0 {
    width:97%;
    min-width: 200px;
  }
	
	
.top {
	-moz-border-radius: 10px 10px 0px 0px;
	border-radius: 10px 10px 0px 0px;
	padding-top:10px;
	}

	
nav select {
  display: none;
}

nav {
      display: block;
	  margin: 26px auto;
      text-align: center;
      float:right;
    }
nav ul {
      list-style: none;
    }
nav li {
      display: inline-block;
    }
    
nav a {
	display: inline-block;
	background-color: #060606;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(6, 6, 6)), to(rgb(80, 80, 80)));
	background-image: -webkit-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: -moz-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: -o-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: -ms-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#060606', EndColorStr='#505050');

	  color: white;
	  padding: 5px 15px;
	  border: 1px solid black;
	  -moz-border-radius: 5px ;
	  border-radius: 5px;
	  text-decoration: none;
		-moz-box-shadow: 0px 0px 10px 10px #2c2c2c;
	-webkit-box-shadow: 0px 0px 5px 5px #2c2c2c;
	box-shadow: 0px 0px 5px 7px #2c2c2c;
    }
    
nav a:hover {
    background-color: #060606;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(6, 6, 6)), to(rgb(148, 17, 0)));
	background-image: -webkit-linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	background-image: -moz-linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	background-image: -o-linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	background-image: -ms-linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	background-image: linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#060606', EndColorStr='#941100');
    }
    

nav a:active {
    background-color: #060606;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(148, 17, 0)), to(rgb(6, 6, 6)));
	background-image: -webkit-linear-gradient(top, rgb(148, 17, 0), rgb(6, 6, 6));
	background-image: -moz-linear-gradient(top, rgb(148, 17, 0), rgb(6, 6, 6));
	background-image: -o-linear-gradient(top, rgb(148, 17, 0), rgb(6, 6, 6));
	background-image: -ms-linear-gradient(top, rgb(148, 17, 0), rgb(6, 6, 6));
	background-image: linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#060606', EndColorStr='#941100');
    }


nav select {
      display: none;
    }
    
.nav_but{
    	margin-top:-110px;
    	padding-right:11px;
    	}
       
 select {
/*  	height: 25px; /* Buttons are 37px by default	 */ */
	background-color: #060606;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(6, 6, 6)), to(rgb(80, 80, 80)));
	background-image: -webkit-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: -moz-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: -o-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: -ms-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#060606', EndColorStr='#505050');

	color: white;
	padding: 5px 15px;
	border: 1px solid black;
	-moz-border-radius: 5px ;
	border-radius: 5px;
	text-decoration: none;
	-moz-box-shadow: 0px 0px 10px 10px #2c2c2c;
	-webkit-box-shadow: 0px 0px 5px 5px #2c2c2c;
	box-shadow: 0px 0px 5px 7px #2c2c2c;
	}


/* Video */
	.video-container-embedded {
		position: relative;
		padding-bottom: 56.25%;
		padding-top: 1px;
		height: 0;
		overflow: hidden;
	}

	.video-container-embedded iframe,  
	.video-container-embedded object,  
	.video-container-embedded embed
		{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	
	.video-containter-embedded youtube{
		padding-bottom: 56.25%;
		padding-top: 30px;
		}
	
	.video-wrapper{
		width: 97%;
		max-width: 97%;
		-moz-box-shadow: 10px 10px 5px #888;
		-webkit-box-shadow: 5px 5px 2px #888;
		box-shadow: 5px 5px 2px #888;
	}

/* Scheduling button */
.schedule {	
	text-align: left;
	}

.schedule a {	
/*  	height: 37px; /* Buttons are 37px by default	 */ */
	background-color: #060606;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(6, 6, 6)), to(rgb(80, 80, 80)));
	background-image: -webkit-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: -moz-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: -o-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: -ms-linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	background-image: linear-gradient(top, rgb(6, 6, 6), rgb(80, 80, 80));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#060606', EndColorStr='#505050');

	color: white;
	padding: 8px 15px;
	border: 1px solid black;
	-moz-border-radius: 5px ;
	border-radius: 5px;
	text-decoration: none;
	-moz-box-shadow: 10px 10px 5px #888;
	-webkit-box-shadow: 5px 5px 2px #888;
	box-shadow: 5px 5px 2px #888;
	}

.schedule a:hover {
    background-color: #060606;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(6, 6, 6)), to(rgb(148, 17, 0)));
	background-image: -webkit-linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	background-image: -moz-linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	background-image: -o-linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	background-image: -ms-linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	background-image: linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#060606', EndColorStr='#941100');
    }
    

.schedule a:active {
    background-color: #060606;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(148, 17, 0)), to(rgb(6, 6, 6)));
	background-image: -webkit-linear-gradient(top, rgb(148, 17, 0), rgb(6, 6, 6));
	background-image: -moz-linear-gradient(top, rgb(148, 17, 0), rgb(6, 6, 6));
	background-image: -o-linear-gradient(top, rgb(148, 17, 0), rgb(6, 6, 6));
	background-image: -ms-linear-gradient(top, rgb(148, 17, 0), rgb(6, 6, 6));
	background-image: linear-gradient(top, rgb(6, 6, 6), rgb(148, 17, 0));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#060606', EndColorStr='#941100');
    }

 /* List styling */
 ol.papers { margin: 1em 0; padding: 0 0 0 40px; }  
  
 
 /* utility classes */
.clickable {cursor: pointer;}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (max-width: 375px) {
	.title {
		font-size: 0.9em;
		}
	}

@media only screen and (max-width: 790px) {
	body {
		font-size: 0.8em;}
				
	.title {
/* 		font-size: 0.9em; */
		padding-left: 5px;
		padding-right: 5px;
		margin-left:0px;
		margin-right:0px;}
	
  	nav ul     { display: none; }
  	nav select { display: inline-block; 
  		margin-top:10px;}
  	
  	.nav_but{
/*   		margin-top:-10px; */
  		padding-bottom:0px;
  		}

  }
  
@media only screen and (max-width: 1100px){
		.nav_but{
    	margin-top:-60px;
    	margin-bottom:-15px;
    	}
    	nav {float:center;}
    	

    	
    	.title {
    	text-align:center;
/* 		padding-bottom:-40px; */
/* 		margin-bottom:-50px; */
		}
    	
}

/* Style adjustments for high resolution devices */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
       
       body{
/*        	background-image:url('../img/bo_play_2x.png'); */
		background-image: url('../img/bo_play_pattern_@2x.png');
		background-repeat:repeat;
		}
		
		.container.content{
/* 		background-image:url('../img/redox_01_2X.png'); */
		background-image: url('../img/redox_01_@2x.png');
		background-repeat:repeat;}
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
