/*   
Theme Name: O'Reilly School of Technology Theme
Theme URI: http://www.oreillyschool.com
Description: 
Author: Pixo
Author URI: http://pixotech.com
Version: 1.0
*/

/* HTML5 Boilerplate  */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

a { color: #0451b3; }
article a:visited { color: #4b678c; }
a:hover { color: #0671f9; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol, #slideshow ul, #widget-area ul, footer li, footer ul { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

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

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

/*----------------
		CSS Sprites
		----------------*/
		
.sprite, aside nav li, .arrow, .promo-link {
	background: url(img/sprite.png) no-repeat top left;
}

.2nd_quotemarks{ background-position: 0 0; width: 181px; height: 162px; } 
.benefits_arrow_down{ background-position: 0 -187px; width: 8px; height: 9px; } 
.benefits_arrow_right{ background-position: 0 -221px; width: 8px; height: 9px; } 
.enroll_button{ background-position: 0 -255px; width: 195px; height: 31px; } 
.enroll_button_320{ background-position: 0 -311px; width: 288px; height: 46px; } 
.icon_catalog{ background-position: 0 -428px; } 
.icon_catalog_m{ background-position: 0 -472px; } 
.icon_chat{ background-position: 0 -543px; } 
.icon_chat_m{ background-position: 0 -587px; } 
.icon_email{ background-position: 0 -659px; } 
.icon_email_m{ background-position: 0 -703px; } 
.icon_news{ background-position: 0 -778px; } 
.icon_news_m{ background-position: 0 -822px; } 
.icon_share{ background-position: 0 -891px; } 
.icon_social_m{ background-position: 0 -935px; } 
.logo{ background-position: 0 -1006px; width: 468px; height: 98px; text-decoration: none;} 
.menu-icon{ background-position: 0 -1129px; width: 61px; height: 50px; } 
.nav-border{ background-position: 0 -1204px; } 
.promo-arrow, .promo-link{ background-position: 189px -1243px; } 
.quotemarks{ background-position: 0 -1284px; width: 190px; height: 138px; } 
.sc-button{ background-position: 0 -1447px; width: 204px; height: 39px; } 
.search{ background-position: 0 -1511px; width: 146px; height: 22px; } 
.arrow.back{ background-position: 0 -1558px; width: 64px; height: 50px; } 
.arrow.forward{ background-position: 0 -1633px; width: 64px; height: 50px; }
.search-button{ 
	background-position: 0 -1717px;
	width: 16px;
	height: 16px;
	position: relative;
	top: -19px;
	left: 125px;
	cursor: pointer; 
}
 

/*= Main styles ====================================*/

/*-----------------
	 Font Styles
	-----------------*/
	
/*-- Content Styles --*/

body {
	font-family: Arial, sans-serif;
}

article {
	font-size: .9em;
}

article h1 {
	font-weight: normal;
	font-size: 1.8em;
	margin: .5em 0;
}
article h2 {
	font-size: 1.4em;
	font-weight: normal;
	margin: 0em 0 -.4em 0;
}

/* shortcodes */
.sc-button {
	padding-top: 7px;
}
	.sc-button p {
		margin: 0;
	}
	.sc-button a {
		text-decoration: none;
		color: black;
		font-size: 1.25em;
		text-align: center;
		width: 204px;
		display: block;
	}
		.sc-button a:hover {
			color: #fefefe;
		}
		.sc-button a:visited {
			color: black;
		}
	
/* Splash and Sidebar */
	
#splash h2, aside h2 {
	font-family: "Helvetica-Light", Helvetica, sans-serif;
	font-weight: normal;
}
	.text h2 {
		font-size: 1.5em;
	}
	aside h2 {
		font-size: 2.2em;
	}
	#splash h2, aside, aside nav li a {
		color: #E6C79E;
	}
		aside nav li a:hover {
			color: white;
		}
	#main aside h2 {
		color: #DDA483;
	}
	aside h2 {
		border-bottom: 1px solid #DDA483;
		margin: .5em 0 .5em 9%;
		line-height: 1.2em;
	}
		.inner aside h2 {
			width: 91.1%;
		}
		/* Sidebar menu */
		aside nav {
			margin-bottom: 1.55em;
		}
		aside nav li {
			font-size: .75em;
			text-transform: uppercase;
			font-weight: bold;
			padding-top: .5em;
			padding-bottom: .5em;
			padding-left: 2.3em;
			border-bottom: 1px solid #C86A50;
		}
		
		aside nav li span.sub {
			font-weight: normal;
			text-transform: none;
		}
		
		aside nav li span.sub a {
			text-decoration: underline;
		}
		
		aside nav .menu-1 li:first-child {
			border-top: 1px solid #C86A50;
		}
		aside nav li a {
			text-decoration: none;
		}
		.no-background {
			background: none;
		}
			
	/* Enroll button */
	.enroll_button a {
		color: #333;
		text-decoration: none;
		text-transform: uppercase;
		font-weight: bold;
		padding-top: .35em;
		text-align: center;
		font-size: .95em;
		display: block;
	}
		.enroll_button a:hover {
			color: #fefefe;
		}
	
	/* Call hours */
	.phone {
		margin: 1em 0;
		width: 12em;
	}
		.phone span {
			margin: 0;
		}
		.phone_number {
			float: left;
			font-weight: bold;
			padding-top: .1em;
			font-size: 0.95em;
		}
		
		.call-hours {
			float: right;
			font-size: .65em;
			font-weight: bold;
			text-align: center;
			width: 7.5em;
			border: 1px solid #C86A50;
			padding: .2em .1em .3em .5em;
			line-height: .95em;
			border-radius: 5px;
		}
			.call-hours p {
				margin: 0;
			}
			.call-hours .label {
				text-transform: uppercase;
				width: 3.5em;
				
			}
			.label {
				float: left;
				margin-left: .25em;
			}
			.hours {
				float: right;
				margin-right: .55em;
			}
				.ie7 .hours {
					width: 29px;
				}
			
	/* Sidebar widgets */
	
	.expand-widget {
		color: white;
		font-size: .8em;
		background-color: #4B7FB6;
		font-weight: bold;
	}
		.expand-title {
			text-transform: uppercase;
		}
		.expand-icon {
			font-size: 1.2em;
			color: #FFC03B;
		}

/*-- Header Styles --*/

.mobile-text {
	display: none;
	font-family: "Helvetica-Light", Helvetica, sans-serif;
	font-size: 1.2em;
	color: #E6C79E;
	width: 8em;
	line-height: 1.1;
	margin-bottom: -1.5em;
	margin-left: 1em;
}

.logo img {
	height: auto;
	max-width: 100%;
}

.sign-in a {
	color: #D5D6D8;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.8em;
}

/* Search box */ 

.search input {
	width: 9.85em;
	font-size: .8em;
	font-weight: bold;
	margin-bottom: .1em;
	margin-left: .8em;
	background: none;
	border: none;
}
.search input:focus {
	outline: none;
}

/* Placeholder text is per-vendor */
::-webkit-input-placeholder {
   color: #555;
}
:-moz-placeholder { /* Firefox 18- */
   color: #555;  
}
::-moz-placeholder {  /* Firefox 19+ */
   color: #555;  
}
:-ms-input-placeholder {  
   color: #555;  
}


	
/*-----------------------
		Background Colors
		------------------------*/

body {
 background-color: #3E4247; 
}

#splash, .inner #main {
	background-color: #656565;
	border-top: 1px solid #7F8084;
	border-bottom: 1px solid #7F8084;
	box-shadow: 0px 0px 45px #333;
}
.home #splash {
	background: url(img/home_bg.png) repeat-y;
	background-size: 100%;
}
.inner #main {
	background: url(img/inner_bg.png) repeat-y;
	background-size: 100%;
}
aside, .inner #main .outer-wrap {
	background-color: #A50309;
}

article {
	background: #EDE9E4 url(img/leaf.jpg) no-repeat bottom right;
}



/*-------------
		Layout
	   -------------*/
	     
/* Top level layout */
.outer-wrap {
	width: 100%; 
	max-width: 73.125em;  /* 1170px */
}

.wrap {
	width: 98%;
	max-width: 68.125em; /* 1090px */ 
}
	.wrap, .outer-wrap {
		margin: 0 auto;
	}
	
/* Fixed sidebar, fluid layout */
	
.content-wrap {
	float: left;
	width: 100%;
	margin-right: -326px; /* size of sidebar */
}


article {
	padding: .5em 2.5em 4em 2.5em;
	min-height: 720px;
	margin-right: 326px;
}

aside {
	float: right;
	width: 326px;
	position: relative;
}

.home aside {
	width: 25.5%;
	float: right;
}

/* Header styles */

.logo-area {
	float: left;
}
	.logo-area .logo {
		display: block;
		height: 90px; /* overriding sprite height */
	}

.interaction {
	float: right;
	margin-top: 3em;
}
.sign-in {
	float: left;
	margin-right: 3em;
}
.search {
	float: right;
}

/* Front Page Styles */

.home aside {
	height: 21.5em;
}

#splash .text {             
	height: 6em;
	width: 23em;
	position: absolute;
	top: 1em;
	left: 2em;
	z-index: 40;
}
	.text h2 {
		margin: 0;
		text-shadow: 1px 1px #333;
	}
	.text p {
		color: white;
		width: 18em;
		font-size: .8em;
		font-weight: bold;
		text-shadow: 1px 1px #333;
		margin: 0;
	}
#slideshow {
	float: left;
	width: 74.5%; /* 715px */
	height: 21.5em;
	overflow: hidden;
	background-color: #656565;
	position: relative;
}
	.quote-wrap {
		position: absolute;
		bottom: 3.75em;
		z-index: 50;
		width: 190px;
		height: 138px;
		left: 34%;
		background-image: url(img/quotemarks.png);
	}
	.quote {
		position: absolute;
		bottom: 0;
		color: white;
		font-size: .85em;
		text-align: center;
	}

/* Accordion for Course Syllabus */
.accordion_heading {
	margin: 30px 0 10px;
	padding-left: 20px;
	height: 14px;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	background: url('img/arrows_sprite.png') no-repeat;
}
.arrow_down {
	background-position: 0 0px;
}
.arrow_right {
	background-position: 0 -14px;
}
.accordion_section {
	display: none;
	font-size: 12px;
	border: 1px solid #999999;
	width: 94%;
	margin: 10px 10px 20px;
	padding: 5px;
	background-color: #F0F0F0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.accordion_section td {
	padding: 4px 8px;
}

.course_title a {
	color: #A50309;
    font-size: 1.2em;
    text-decoration: none;
}
.course_title a:hover {
    text-decoration: underline;
}
.course_title a:visited {
    color: #A50309;
}

/* Sidebar styles */

aside .inner {
	width: 12.15em; 
	margin-left: 9%;
}

	.inner aside .inner {
		width: 61%;
		margin-left: 7.35%;
	}
	
	.inner aside .points {
		width: 86%;
		margin-left: 7.35%;
	}

	/* Sidebar widgets */ 
	.expand-widget {
		width: 93.25%;
		padding: .5em 0 .5em 1.75em;
		margin-top: .75em;
		position: relative;
		left: 0;
		cursor: pointer;
	}
		.expand-widget .expand-inner {
			width: 85%;
		}
		.expand-widget p {
			margin: 0;
		}
		.expand-title {
			float: left;
		}
		.expand-text {
			display: none;
			width: 360px;
		}
		.expand-quote {
			float: right;
			width: 180px;
			height: 162px;
			margin-right: 0;
		}
			.expand-quote p {
				width: 9.6em;
			}
		.expand-text img {
			float: left;
		}
		.expand-icon {
			position: absolute;
			right: 2em;
		}

/* Footer Styles */

#DETC_copy {
	margin-top: 20px;
	text-align: justify;
}

/*--------------------
		Navigation
	   --------------------*/

/*-- Main Navigation Layout --*/

/*-- Mobile Menu Styling --*/
.uber-close {
	background-color:inherit!important;
	background:transparent!important;
}

/* right align the menu */
#main_menu #megaMenu ul.megaMenu {
	float: right;
	width: auto;
} 
/* Adjust submenu based on the right alignment */ 
#main_menu #megaMenu li.ss-nav-menu-mega ul.sub-menu.sub-menu-1 {
	right: 0;
	left: auto !important;
	width: auto;
}

/* Single column */
#main_menu #megaMenu ul.megaMenu > li.ss-nav-menu-mega > ul.sub-menu-1 {
	right: auto;
	min-width: 320px;
}
#main_menu #megaMenu ul.megaMenu > li.ss-nav-menu-mega > ul.sub-menu-1 > li {
	width: 90%;
	padding: 11px 10px;
}

/* Full width */
/* Make columns be a third of the width */
#main_menu #megaMenu ul.megaMenu > li.ss-nav-menu-mega-fullWidth > ul.sub-menu-1 > li.ss-nav-menu-notext {
	width: 27.5%;
}
	#main_menu #megaMenu ul.megaMenu > li.ss-nav-menu-mega-fullWidth > ul.sub-menu-1 {
		right: 0;
		padding-right: 0;
	}
/* Force widget areas into a new column */ 
#main_menu #megaMenu .sub-menu .ss-nav-menu-highlight {
	width: 27.5%;
	float: left;
	padding: 11px 27px;
} 
#main_menu .um-anchoremulator {
	display: none;
}

/* ie 7 bug fix */
#main_menu #megaMenu {
	z-index: 999; 
}

/*-- Main Navigation Customizations --*/

#main_menu #megaMenu li {
	float: left;
	line-height: 1em;
	font-size: .8em;
}
	/* remove arrows */
	#main_menu #megaMenu ul li > a:after {
		display: none;
	}
	#main_menu #megaMenu li:first-child {
		background-image: none;
	}
	#main_menu #megaMenu li a {
		margin: 0;
		padding: .4em .75em .35em .75em;
		margin-bottom: -1px;
	}
#main_menu a {
	color: #bcd3fe;
	text-decoration: none;
	font-weight: bold;
}

#main_menu #megaMenu .sub-menu {
	background-color: #fefefe;
}

#main_menu #megaMenu ul li a:hover, #main_menu #megaMenu ul li:hover a {
	color: #333;
	background-color: #fefefe;
}

#main_menu #megaMenu .sub-menu {
	background-color: #fefefe;
}
	#main_menu #megaMenu .sub-menu li {
		background-image: none;
		margin: 0;
		font-size: 1em;
		height: auto;
	}
		#main_menu #megaMenu .sub-menu li {
			float: none;
		}
		#main_menu #megaMenu .sub-menu li a {
			color: #333;
			border-bottom: 1px solid #CCD1D4;
			padding: .65em 0;
			background: none;
			margin-bottom: 0;
		}
		#main_menu #megaMenu .sub-menu  li:first-child a, #main_menu #megaMenu .sub-menu li:first-child > a {
			border-top: 1px solid #CCD1D4;
		}
			#main_menu #megaMenu .sub-menu li a:hover {
				background-color: #FFF7E4;
				border-bottom: 1px solid #CCD1D4;
			}
		/* stlying for text and image captions */
		#main_menu #megaMenu p {
			font-size: .9em;
			line-height: 1.4em;
			margin: 0;
		}
			#main_menu #megaMenu .wp-caption p {
				font-size: 1em;
				line-height: 1.2em;
			}

/* Remove border radius from drop down */
#main_menu #megaMenu.megaMenuHorizontal ul.megaMenu > li.menu-item > ul.sub-menu.sub-menu-1 {
	border-radius: 0;
}
/* Search in menu */
#main_menu #megaMenu .mobile-item {
	display: none;
}

#main_menu #megaMenu .sub-menu {	
	width: 302px;
	padding: 11px 10px;
}

#main_menu #megaMenu .sub-menu li {
	width: 288px;
}

#main_menu #megaMenu ul li:hover > ul {
	display: block;
}

#main_menu #megaMenu  .last .sub-menu {
	right: 0;
}

/*-- Breadcrumbs --*/
.breadcrumbs {
	color: #111;
	font-size: .75em;
}
.breadcrumbs a, .breadcrumbs a:visited {
	text-decoration: none;
	color: #111;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.breadcrumbs .current-page {
	color: #757575;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* ==========================================================================
   Media Queries 
   ========================================================================== */
   
@media only screen and (max-width: 935px) {	
	#slideshow {
		width: 70.5%;
	}
	.home aside {
		width: 29.5%;
	} 
	.quote-wrap {
		display: none;
	}
	
	/* Main menu */
	#main_menu #megaMenu ul.megaMenu {
	float: right;
	width: auto;
	}
	
	#main_menu #megaMenu ul li.ss-nav-menu-mega ul li.ss-nav-menu-item-depth-1 {
		padding: 11px 2%;
	}
	#main_menu #megaMenu #megaMenuToggle {
		display: none;
	}	
}

@media only screen and (max-width: 772px) {
	#slideshow {
		width: 66.5%;
	}
	.home aside {
		width: 33.5%;
	}
}

@media only screen and (max-width: 770px) {
	#main_menu #megaMenu ul.megaMenu {
		float: none;
		width: 100%;
	}
    #main_menu #megaMenu.megaResponsiveToggle ul.megaMenu {
		display: block;
	}
	#main_menu #megaMenu li.ss-nav-menu-mega ul.sub-menu.sub-menu-1 {
		left: auto !important;
	}
	#main_menu #megaMenu.megaResponsive ul.megaMenu > li {
		width: auto;
	}
	#main_menu #megaMenu ul.megaMenu > li.ss-nav-menu-mega-alignLeft > ul.sub-menu-1 {
		right: 0;
		padding-left: 0;
	}
	
	.home #slideshow, aside, .home aside, .content-wrap {
		float: none;
		width: 100%;
		margin: 0;
	}
	article {
		width: 90%;
		padding: .5em 0;
		margin: 0 auto;
		background: none;
	}
	
	/* header 
	.interaction {
		display: none;
	}*/
	
	/* Sidebar */
	aside, .home aside {
		position: static;
		padding: 1.25em 0;
		height: auto;
		border-top: 1px solid #7F8183;
		border-bottom: 1px solid #7F8183;
	}
		aside .inner, .inner aside .inner {
			width: 90%;
			margin: 0 auto;
		}
		aside h2 {
			display: none;
		}
		.contact {
			margin: 1em auto;
		}
		.enroll_button {
			float: left;
		}
		.phone {
			float: right;
			margin: 0;
		}
	/* Sidebar Menu */
	aside nav {
		margin: 0;	
	}
	aside nav ul {
		width: 45%;
	}
	.menu-1 {
		float: left;
	}
	.menu-2 {
		float: right;
	}
		.menu-2 li:first-child {
			border-top: 1px solid #C86A50;
		}
	
	/* Content pages */
	.inner #main .outer-wrap {
		background-color: #EDE9E4;
	}
	.content-wrap {
		background: #EDE9E4 url(img/leaf.jpg) no-repeat bottom right;
	}	
	#slideshow {
		height: 345px;
	}	
	#splash .text {
		font-size: 90%;
	}
	/*.interaction {
		float: none;
		margin-top: 0;
	}*/
	
	/* Sidebar Widgets */
	.expand-widget {
		width: 100%;
		padding: .5em 0;
	}
		.expand-text, .expand-inner {
			margin: 0 auto;
		}
		.expand-text {
			width: 85%;
		}
		.expand-quote {
			width: 50%;
			font-size: .9em;
		}
}

@media only screen and (max-width: 530px) {
	/* menu */
	#main_menu #megaMenu.megaResponsive ul.megaMenu > li, 
	#main_menu #megaMenu ul.megaMenu > li, 
	#main_menu #megaMenu ul.megaMenu > li:first-child {
		float: none;
		font-size: .9em;
		padding: .5em 0 .5em .5em;
		text-transform: uppercase;
		width: 98%;
		margin-bottom: 1px;
		background: #c5c8d6; /* Old browsers */
		background: -moz-linear-gradient(top,  #c5c8d6 0%, #b7bac8 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c5c8d6), color-stop(100%,#b7bac8)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #c5c8d6 0%,#b7bac8 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #c5c8d6 0%,#b7bac8 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #c5c8d6 0%,#b7bac8 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #c5c8d6 0%,#b7bac8 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c5c8d6', endColorstr='#b7bac8',GradientType=0 ); /* IE6-9 */
	}
		#main_menu #megaMenu ul.megaMenu > li:hover {
			background: #9ea4ba; /* Old browsers */
			background: -moz-linear-gradient(top,  #9ea4ba 0%, #8b90a2 100%); /* FF3.6+ */
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9ea4ba), color-stop(100%,#8b90a2));/*Chrome,Safari4+*/
			background: -webkit-linear-gradient(top,  #9ea4ba 0%,#8b90a2 100%); /* Chrome10+,Safari5.1+ */
			background: -o-linear-gradient(top,  #9ea4ba 0%,#8b90a2 100%); /* Opera 11.10+ */
			background: -ms-linear-gradient(top,  #9ea4ba 0%,#8b90a2 100%); /* IE10+ */
			background: linear-gradient(to bottom,  #9ea4ba 0%,#8b90a2 100%); /* W3C */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9ea4ba', endColorstr='#8b90a2',GradientType=0 ); /* IE6-9 */

		}
		#main_menu #megaMenu ul li a:hover, #main_menu #megaMenu ul li:hover a {
			background: none;
		}
		#main_menu #megaMenu li a {
			color: black;
		}
	#main_menu #megaMenu ul.megaMenu > li.ss-nav-menu-mega > ul.sub-menu-1 > li.ss-nav-menu-notext,
	#main_menu #megaMenu ul.megaMenu > li.ss-nav-menu-mega-alignLeft > ul.sub-menu-1 > li  {
		width: 80%;
		padding-left: 10%;
		padding-right: 10%;
		max-width: none;
		text-transform: none;
	}
	#main_menu #megaMenu ul.megaMenu > li > ul.sub-menu-1 {
		margin-top: .5em;
	}
		#main_menu #megaMenu ul.megaMenu > li.ss-nav-menu-mega-alignLeft > ul.sub-menu-1 {
			width: 100%;
		}
	#main_menu #megaMenu #megaMenuToggle {
		display: block;
		margin-top: -3em;
		overflow: hidden;
	}
	#main_menu #megaMenu.megaResponsiveToggle ul.megaMenu {
		display: none;
	}
	#main_menu #megaMenu .megaMenuToggle-icon {
		display: block;
		background: url(img/menu-icon.png) no-repeat;
		width: 61px;
		height: 50px;
		margin: 0 0 5px 0;
	}
		#main_menu #megaMenu .megaMenuToggle-icon::before, 
		#main_menu #megaMenu .megaMenuToggle-icon::after {
			content: none;
		}
		.mobile-text {
			display: block;
		}
		
	#main_menu #megaMenu ul.sub-menu {
		margin-top: .5em;
		text-transform: none !important;		
	}	
	
	#main_menu #megaMenu .search-toggle {
		display: block;
		background: url(img/search_toggle.png) no-repeat 0 0;
		width: 61px;
		height: 50px;
		cursor: pointer;
		float: right;
		margin-left: 8px;
	}
	
	#megaMenu #mobile_search {
		display: none;
		padding: 20px;
		background-color: #9ea4ba;
		border-bottom: 1px solid #333;
	}

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

	#megaMenu #mobile_search input[type="search"] {
		padding: 5px;
	}

	#megaMenu #mobile_search input[type="submit"] {
		padding: 6px 11px;
		margin-left: .5em;
	}
	
	
	/* Search in menu */
	#main_menu #megaMenu .mobile-item {
		display: block;
	}
	/* Update menu sprites */
	.icon_catalog{ background-position: 0 -474px; } 
	.icon_chat{ background-position: 0 -593px; }
	.icon_email{ background-position: 0 -710px; } 
	.icon_news{ background-position: 0 -825px; } 
	.icon_share{ background-position: 0 -938px; } 
	
	aside nav li {
		font-weight: normal;
		font-size: .95em;
		padding-left: 3em;
	}

	/* sidebar */
	aside {
		font-size: 130%;
	}
	.text h2 {
		display: none;
	}
	.text p {
		width: 13em;
	}
	.contact {
		margin: 0;
	}
	.enroll_button {
		background: url(img/enroll_button_320.png) no-repeat 0 0;
		width: 288px;
		height: 46px;
		margin: 0 auto;
		float: none;
	}
		.enroll_button a {
			font-size: 1.1em;
			margin-top: 30px;
		}
	.phone {
		margin: 1em auto;
		float: none;
	}
	aside nav ul {
		width: 90%;
		margin: 0 auto;
	}
		.menu-1, .menu-2 {
			float: none;
		}
		.menu-2 li:first-child {
			border-top: none;
		}
	.logo {
		width: auto;
	}
	
	/* header */
	.interaction {
		display: none;
	}

}

@media only screen and (max-width: 360px) {  
	aside .inner, .inner aside .inner {
		width: 95%;
	}
}

@media only screen and (min-width: 531px) {
	#megaMenu #mobile_search {
		display: none !important;		
	}

}
/*
@media only screen and (min-width: 531px) and (max-width: 680px) {
	.interaction {
		float: left;
		margin-top: 1em;
		margin-bottom: 1em;
	}

}*/

/*==================================================*/
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden, .screen-reader-text { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* ShareThis Div styles...probably coulda guessed that. */
#shareThisDiv {
    display: none;
    padding: 5px;
}

/* contact, catalog and newsletter forms */

.required_message {
	font-size: 90%;
	color: #A50309;
}
.required_field {
	color: #A50309;
}

article .form_submitted h2 { /* For confirmation messages copy entered in wp content manager */
	font-size: 1.5em;
	color: #A50309;
	margin-bottom: 1em;
	margin-top: 1em;
}

.modal_form {
	padding: 20px;
	font-size: 80%;
	width: 340px;
	margin: 0 auto;
}
.modal_form_container {
	width: 240px;
	margin: 0 auto;
}
.form_mobile .modal_form {
	width: 240px;
}
#newsletterSubmitted,
#catalogSubmitted,
#contactSubmitted {
	display: none;
	width: 240px;
	height: 400px;
}
.modal_form_pop_up {
	background-color: #EFEFEF;
}
.modal_form h2 {
	font-size: 1.5em;
	color: #A50309;
	margin-bottom: 1em;
}
.modal_form h3 {
	font-size: 1.1em;
	color: #A50309;
}

.form_copy {
	width: 240px;
}
.form_select {
	width: 200px;
	margin: 2px 0;
}
.form-label,
.form_line {
	display: block;
	margin-top: 5px;
}
.form-input {
    margin: 1px 0px;
}
.form-submit-container {
	text-align: right;
}
.form-button {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
    background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
    background-color:#ededed;
    -moz-border-radius:14px;
    -webkit-border-radius:14px;
    border-radius:14px;
    border:1px solid #777777;
    display:inline-block;
    color:#777777;
    font-family:arial;
    font-size:12px;
    font-weight:bold;
    padding:5px 7px;
    text-decoration:none;
    text-shadow:1px 1px 0px #ffffff;
    cursor: pointer;
}.form-button:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
    background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
    background-color:#dfdfdf;
}.form-button:active {
    position:relative;
    top:1px;
}

.form-link {
    font-size: small;
}

.display_none {
	display: none;
}
.error_text {
	color: red;
}
.form-input-error {
    border: 1px solid red;
    box-shadow: 0 0 5px red;
    -moz-box-shadow: 0 0 5px red;
    -webkit-box-shadow: 0 0 5px red;
}

.gold-button {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffcf3d), color-stop(1, #e8bc37) );
	background:-moz-linear-gradient( center top, #ffcf3d 5%, #e8bc37 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffcf3d', endColorstr='#e8bc37');
	background-color:#ffcf3d;
	-moz-border-radius:12px;
	-webkit-border-radius:12px;
	border-radius:12px;
	border:1px solid #ffbc47;
	display:inline-block;
	color:#000;
	font-family:arial;
	font-size:15px;
	font-weight:bold;
	padding:4px 17px;
	text-decoration:none;
}

.gold-button:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e8bc37), color-stop(1, #ffcf3d) );
	background:-moz-linear-gradient( center top, #e8bc37 5%, #ffcf3d 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e8bc37', endColorstr='#ffcf3d');
	background-color:#e8bc37;
	color: #000;
}

.gold-button:active {
	position:relative;
	top:1px;
}

.gold-button:visited {
	color: #000;
}

.entry-meta img {
    float: left;
    padding: 0px 5px 0px 0px;
}

.entry-meta-footer {
   margin-bottom: 1em;
}

.entry-title {
    margin: 0px;
}

.entry-title a {
   font-size: 12pt;
   font-weight: bold;
   text-decoration: none;
}

.entry-author {
   font-size: 10pt;
}

.entry-date {
   font-size: 10pt;
}

.comments-link {
   font-size: 10pt;
}

.entry-utility-prep {
    color: #222222;
}

.tag-links {
    color: #222222;
}

.tag-links a {
    color: #0451B3;
}

.tag-links a:hover {
    color: #0671F9;
}

.post-title {
   font-weight: bold;
}

.post-content {
   margin-top: 35px;
}

/* styles for stay connected automatic popup */
#email_popup {background-color:#ddd; overflow:hidden; padding: 0; font-size: inherit; width:100%; max-width:740px; }
#email_popup .popup_t {background-color:#efefef; padding:10px 40px 10px 20px; -webkit-box-shadow:0px 0px 15px rgba(0, 0, 0, 0.3); -moz-box-shadow:0px 0px 15px rgba(0, 0, 0, 0.3); box-shadow:0px 0px 15px rgba(0, 0, 0, 0.3); }
#email_popup .popup_b { background-color:#ddd; padding:0; margin:20px 20px 0 20px; }
#email_popup #email-popup-frame { overflow:hidden; display: block; border: none; padding: 0; margin: 0 auto; width:100%; max-width: 450px; height: 90px; text-align: left; }
#email_popup h2 { font-size:24px; line-height:1.2em; color:#222; margin:10px 0 5px 0; font-weight:normal; }
#email_popup h3 { font-size:20px; line-height:1.2em; margin:0 0 5px 0; color:#a50309;  font-weight:normal; }
#email_popup p { margin:0 0 10px 0; }
#email_popup .email_submitted { display:none; margin-bottom:30px; }

@media (min-width: 570px) {#email_popup .popup_t:before {content:""; display:block; float:left; width:109px; height:158px; margin:0 20px 0 0; background:transparent url('http://cdn.oreillystatic.com/oreilly/promos/ost-leaf-20130523.jpg') 0 0 no-repeat; }
  #email_popup .popup_t:after { content:""; display:block; clear:both; }
  #email_popup .popup_b { margin:40px 40px 0 40px; }
  #email_popup h2 { font-size:36px; margin:30px 0 0; }
  #email_popup h3 { font-size:24px; margin:10px 0 5px 0; }
}

/* styles for stay connected sidebar popup */
#newsletterForm .email_submitted { display:none; }
#email-sidebar-frame { overflow:hidden; display: block; border: none; padding: 0; margin: 0 auto; width:100%; height: 90px; text-align: left; }



/********** Styles for new homepage (previously known as /home2) - from Matthew Woodruff, but altered considerably - added 10/7/13 **********/
body.home { background-color:#fff; }
header { background-color:#3E4247; border-bottom:1px solid #54565a; }
footer { width:100%; margin-bottom:0; background-color:#fff; }
footer .content { max-width:68.125em; margin:0 auto; padding:15px 1em; overflow:hidden; }
footer .content p { font-size:12px; color:#222; line-height:1.3em; margin-bottom:.2em; }
footer .content a { font-size:12px; color:#222; }
footer .content .col1 { float:left; width:80%; }
footer .content .col2 { float:right; width:20%; text-align:right; }

.home h1 { font-size:54px; line-height:1.2em; font-weight:normal; margin:0 0 15px; }
.home h2 { font-size:54px; line-height:1.2em; margin:0 0 15px 0; }
.home h3 { font-size:36px; line-height:1.2em; margin:0; }
.home h4 { font-size:24px; line-height:1.2em; margin:0; }
.home p { font-size:20px; margin:0 0 20px 0; line-height:1.3em; }
footer p { font-size:20px; margin:0 0 20px 0; line-height:1.3em; }
.homelink { text-decoration:none; font-size:20px; }

h2.logo-tag { font-size:13px; font-weight:normal; color:#fff; margin:-20px 0 0 72px; } /* font-size is 15px on wp site - not sure why, but it needs to be 13 here, to match */
a h2.logo-tag { text-decoration:none;}

body.home #main {
    border: 0 !important;
    box-shadow: 0px 0px 0px #fff !important;
}

.row { width:100%; }
.row .content { max-width:68.125em; margin:0 auto; padding:0 1em; }

#row-intro { height:529px; width:100%; overflow:hidden; position:relative; background:#000;  }
#row-intro .background { position:absolute; z-index:0; height:529px; width:100%; background:#000 url('http://www.oreillyschool.com/wp-content/themes/oreilly-school/img/home-2/alan-foster.jpg') center 0 no-repeat; }
#row-intro .content { height:484px; padding:45px 1em 0; position:relative; color:#fff; }
#row-intro .content h1, #row-intro .content p { text-shadow:0px 0px 4px rgba(0,0,0,1); }
#row-intro .content p { font-size:24px; width:500px; }
#row-intro .content .highlight { color:#c00; }
#row-intro .content .attribution { position:absolute; bottom:0; right:120px; width:350px; padding:10px 20px; margin:0; background:rgb(0,0,0); background:rgba(0,0,0,.6); font-size:16px; }

#row-benefits { background:#fff; }
#row-benefits .content { padding:45px 1em; overflow:hidden; }
#row-benefits .content .col1 { float:left; width:29%; overflow:hidden; }
#row-benefits .content .col1 h2 { color:#990000; line-height:1em; margin-bottom:0; }
#row-benefits .content .col1 h3 { font-size:38px; font-weight:bold; color:#990000; line-height:1em; margin-bottom:15px; }
#row-benefits .content .col1 .leaf { float:right; max-width:100%; }
#row-benefits .content .col2 { float:right; width:66%; }

#row-certificate { background:#f1eeea; }
#row-certificate .content { padding:45px 1em 25px; overflow:hidden; }
#row-certificate .content h3 { margin:0 0 15px; }
#row-certificate .content h4 { color:#900; font-size:24px; margin-top:40px; }
#row-certificate .content p { max-width:900px; }
#row-certificate .content .certificate { max-width:40%; float:right; padding:0 0 20px 20px; }

#row-offer { background:#fff; }
#row-offer .content { padding:45px 1em; overflow:hidden; }
#row-offer .content .highlight { color:#900; }
#row-offer .content h3 { color:#900; }
#row-offer .content .graphic { max-width:38%; float:right; padding:0 0 20px 20px; margin-right:6px; }

#row-video { background:#f1eeea; }
#row-video .content { padding:45px 1em; overflow:hidden; }
#row-video .content h3 { margin:0 0 30px; }
#row-video .content .inner-content { max-width:880px; margin:0 auto; }
#row-video .content .video { position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; }
#row-video .content .video iframe { position:absolute; top:0; left:0; width:100%; height:100%; }

#row-cert-programs { background:#fff; }
#row-cert-programs .content { padding:45px 1em; overflow:hidden; }
#row-cert-programs .content h3 { margin:0 0 15px; }
#row-cert-programs .content .slider { width:100%; height:200px; position:relative; overflow:hidden; background:#990000; padding:30px 0; margin:0 0 30px; -webkit-border-radius:10px; -moz-border-radius:10px; border-radius:10px; }
#row-cert-programs .content .slider .control { display:block; cursor: pointer; height:120px; width:80px; position:absolute; top:70px; font-size:120px; line-height:120px; color:#cc0000; font-family:times; font-weight:bold; }
#row-cert-programs .content .slider .control:hover { color:#ee0000; }
#row-cert-programs .content .slider .control.left { left:20px; }
#row-cert-programs .content .slider .control.left:before { content:"<"; }
#row-cert-programs .content .slider .control.right { right:20px; text-align:right; }
#row-cert-programs .content .slider .control.right:before { content:">"; }

#row-cert-programs .content .slider .mask { height:200px; margin:0 95px; overflow:hidden; }
#row-cert-programs .content .slider .inner-slider { overflow:visible; height:200px; }
#row-cert-programs .content .slider .certificate { display:block; float:left; height:125px; width:220px; padding:75px 20px 0; margin:0 20px; background:#fff url('http://www.oreillyschool.com/wp-content/themes/oreilly-school/img/home-2/certificate-bg.png') 0 0 no-repeat; font-size:20px; line-height:1.2em; color:#222; text-align:center; font-weight:bold; -webkit-box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, .3); box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, .3); }
#row-cert-programs .content .slider .certificate:hover { color:#990000; -webkit-box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, .6); box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, .6); }

#row-paths { background: #f1eeea; }
#row-paths .content { padding:45px 1em; overflow:hidden; }
#row-paths .content .path { display:block; width:26%; overflow:hidden; color:#222; }
#row-paths .content .path img { max-width:95%; display:block; margin:0 auto; }
#row-paths .content .path.col1 { float:left; }
#row-paths .content .path.col1 img { padding:17px 0; }
#row-paths .content .path.col2 { float:left; margin-left:11%; }
#row-paths .content .path.col2 img { padding:25px 0; }
#row-paths .content .path.col3 { float:right; }
#row-paths .content .path.col3 img { padding:25px 0; }
#row-paths .content .path .row1 { height:170px; width:100%; background-color:#363636; -webkit-border-top-left-radius:10px; -webkit-border-top-right-radius:10px; -moz-border-radius-topleft:10px; -moz-border-radius-topright:10px; border-top-left-radius:10px; border-top-right-radius:10px; }
#row-paths .content .path .row2 { height:110px; padding:20px 30px; background-color:#fff; -webkit-border-bottom-right-radius: 10px; -webkit-border-bottom-left-radius: 10px; -moz-border-radius-bottomright: 10px; -moz-border-radius-bottomleft: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; text-align:center; }
#row-paths .content .path h3 { font-size:14px; line-height:1.6em; margin:0 0 3px; text-transform:uppercase; }
#row-paths .content .path p { font-size:14px; line-height:1.6em; }

.row-nav-home { background:#001516 url('http://www.oreillyschool.com/wp-content/themes/oreilly-school/img/home-2/footer-bg.png') repeat-y; background-size:100%; }
#row-nav { background-color:#001516; }
#row-nav .content { padding:0 1em; overflow:hidden; }
#row-nav .content .col1 { float:left; width:840px; padding:45px 0; overflow:hidden; background:#001516; }
#row-nav .content .col1 p, #row-nav .content .col1 a, #row-nav .content .col1 li { color:#e0c79f; font-size:13px; font-weight:bold; }
#row-nav .content .col1 a:hover { color:#fff; }
#row-nav .content .col1 ul { display:inline-block; vertical-align:top; list-style:none; padding:0 20px 0 0; margin:0; max-width:180px; }
#row-nav .content .col1 ul:last-child { padding-right:0; }
#row-nav .content .col1 li { margin:0 0 8px 0; line-height:1.2em; }
#row-nav .content .col1 li.title { text-transform:uppercase; margin-bottom:10px; }
#row-nav .content .col2 { float:left; width:195px; padding:25px 0; background:#990000; }
#row-nav aside { height:auto; margin-left:20px;}
#row-nav aside .call-hours p { font-size:10px; line-height:9px; margin: 0; }
#row-nav aside li a { font-size:12px; line-height:16px; text-decoration:none; }
#row-nav a { text-decoration:none; }

@media (max-width: 70.125em) { /*1122px*/
  #row-intro .background { padding-left:200px; background-position-x:right; }
  #row-intro .content .attribution { right:0; }
}

@media (max-width: 68em) { /*1088px*/
  .home h2 { font-size:40px; }
  .home h3 { font-size:30px; }
  .home h3 { font-size:30px; }
  
  h2.logo-tag { font-size:15px; }
  
  #row-benefits .content .col1 h3 { font-size:30px; }

  #row-paths .content .path { width:32%; }
  #row-paths .content .path.col2 { margin-left:2%; }
  #row-paths .content .path .row2 { padding:20px 20px; }

  #row-nav { background:transparent; }
  #row-nav .content { padding:0; }
  #row-nav .content .col1 { float:none; width:auto; padding:45px 1em; }
  #row-nav .content .col1 ul:first-child { max-width:10%; }
  #row-nav .content .col1 ul { max-width:20%; padding-right:2.5%; }
  #row-nav .content .col1 ul:last-child { padding-right:0; }
  #row-nav .content .col1 li img { margin-bottom:5px;}
  #row-nav .content .col2 { float:none; width:auto; padding:25px 1em 45px; margin:0; }

  .home aside nav { margin:0; }
  .home aside nav ul { width:45%; }
  .menu-1 { float:left; }
  .menu-2 { float:right; }
  .menu-2 li:first-child { border-top:1px solid #C86A50; }
  .phone { margin:1em auto; float:none; }
  .phone .phone_number { color:#e6c79e !important; }
}

@media (max-width: 62em) { /*992px*/
  h2.logo-tag { display:none; }

  #row-intro { height:420px; }
  #row-intro .content .attribution { display:none; }
  #row-intro .content h1 { font-size:40px; }
  #row-intro .content h1, #row-intro .content p { text-shadow:0px 0px 4px rgba(0,0,0,1); }
  #row-intro .content p { font-size:20px; width:390px; }
}

@media (max-width: 54em ) { /*864px*/
  #row-intro { height:auto; }
  #row-intro .background { background-position-x:left; margin-left:330px; margin-top:0px; }
  #row-intro .content { height:auto; padding:45px 1em; }
  #row-intro .content h1 { font-size:46px; }
  #row-intro .content h1, #row-intro .content p { text-shadow:0px 0px 4px rgba(0,0,0,1); }
  #row-intro .content p { font-size:22px; width:85%; }

  #row-benefits .content .col1 { width:41%; }
  #row-benefits .content .col1 .leaf { float:left; }
  #row-benefits .content .col2 { width:56%; }
}

@media (max-width: 49em ) { /*784px*/
  #row-paths .content .path .row2 { height:140px; padding:10px 10px; }

  footer .content .col1, footer .content .col2 { width:100%; text-align:left; margin-bottom:10px; }
  footer .content p { margin-bottom:1em; }
}

@media (max-width: 45em) { /*720px*/
  #row-paths .content .path { width:49%; margin-bottom:2%; }
  #row-paths .content .path.col2 { float:right; }
  #row-paths .content .path.col3 { float:left; margin-bottom:0; }

  #row-nav .content .col1 ul { float:none; width:100%; max-width:100%; padding-right:0; margin-bottom:0.6em; text-align:center; }
  #row-nav .content .col1 ul:first-child { max-width:100%; }
  #row-nav .content .col1 ul li { display:none; }
  #row-nav .content .col1 ul li.title { display:block; }
  #row-nav .content .col1 ul:last-child { margin-bottom:0; }
  #row-nav .content .col1 ul:last-child li { display:block; }
}

@media (max-width:38em) { /*608px*/
  #row-benefits .content .col1 { float:none; width:100%; position:relative; overflow:visible; }
  #row-benefits .content .col1 .leaf { float:none; width:auto; height:80px; position:absolute; right:0; top:0; }
  #row-benefits .content .col2 { float:none; width:100%; }

  #row-offer .content:before { display:none; }
}

@media (max-width:33.125em) { /*530px*/
  .home h3 { font-size:24px; line-height:1.2em; margin:0; }
  .home p { font-size:16px; margin:0 0 10px 0; line-height:1.4em; }
  .home a { text-decoration:none; font-size:16px; line-height:1.4em; }

  #row-intro .background { background-position-x:left; margin-left:0; }
  #row-intro .content h1 { font-size:38px; }
  #row-intro .content h1, #row-intro .content p { text-shadow:0px 0px 4px rgba(0,0,0,1); }
  #row-intro .content p { font-size:16px; line-height:1.4em; width:100%; }

  #row-benefits .content .col1 h2 { font-size:38px; }
  #row-benefits .content .col1 h3 { font-size:24px; }
  #row-benefits .content .col2 h3 { font-size:24px; }

  #row-certificate .content .certificate { display:none; }

  #row-offer .content .graphic { display:none; }

  #row-paths .content .path { width:100%; float:left; margin-bottom:1em; }
  #row-paths .content .path.col2 { margin-left:0; }
  #row-paths .content .path .row2 { height:auto; padding:20px 30px 5px; }

  #row-cert-programs .content .slider .control { width:40px; font-size:60px; background-color:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.3); }
  #row-cert-programs .content .slider .control.left { padding-left:6px; left:0; }
  #row-cert-programs .content .slider .control.right { padding-right:6px; right:0px; }
  #row-cert-programs .content .slider .mask { margin:0 0 0 -6px; }
  #row-cert-programs .content .slider .certificate { width:190px; padding:75px 35px 0; margin:0 20px; }

  .home aside { font-size:130%; }
  .home .text h2 { display:none; }
  .home .text p { width:13em; }
  .home .contact { margin:0; }
  .home .phone { margin:1em auto; float:none; }
  .home aside nav ul { width:100%; margin:0 auto; }
  .home .menu-1, .menu-2 { float:none; }
  .home .menu-2 li:first-child { border-top:none; }
}



