/*
Theme Name: Nossal
Theme URI: http://nossalhs.vic.edu.au
Description: 2012 Redesign of the Nossal School Website.
Author: Hello World
Author URI: http://helloworld.com.au/
Version: 1.0

License: Copyright Nossal School
License URI: http://helloworld.com.au
*/
/*
 * 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.
 */


/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */


#update{
	  border-radius: 5px;
  border: 0px solid black;
  padding: 10px;
  background-color: #837874;
  color: white;
}

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: hot pink!
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; word-wrap: break-word;}
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

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; }

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
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%; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Improve image quality when scaled in IE7
 * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img { border: 0; -ms-interpolation-mode: bicubic; }

/*
 * Correct overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

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

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

/* 
 * Remove inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }


/* =============================================================================
   Primary styles
   Author: 
   ========================================================================== */








/* =============================================================================
   Non-semantic helper classes
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.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: drupal.org/node/897638 */
.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; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
.clear_both{
	clear: both;
}

.alignleft{
	float: left;
	margin: 0 10px 10px 0;
}

.alignright{
	float: right;
	margin: 0 0 10px 10px
}


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

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}

/* =============================================================================
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  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; }
}

/* 	=============================================================================

	===========================================================================		*/
html, body{
	min-height: 100%;
}

input::-moz-focus-inner { border: 0; }

object, embed {
  outline: 0;
}

a {
   outline: 0 !important;
}

body{
	background: url(images/body_bg.gif) repeat;
	font-family: helvetica;
	color: #303030;
}

#container{
	margin-top: 178px;
}

header{
	background: url(images/header_bg.gif) repeat-x;
	width: 100%;
	height: 178px;
	position: absolute;
	top: 0px;
}

a{
	color: #284bb0;
}

header div.header_meta{
	background: url(images/header_butterfly_bg.jpg) no-repeat;
	background-position: 60px 0;
	height: 126px;
	max-width: 943px;
	width: 100%;
	margin: 0 auto;
	position: relative;
}

header div.header_meta a.logo{
	position: relative;
	left: -45px;
	max-width: 252px;
	width: 100%;
	height: 212px;
	z-index: 99999999999;
}

header div.header_meta a.logo img{
	z-index: 9999999999;
}

.twitter_stream{
	position: relative;
	top: -215px;
	left: 320px;
	padding-left: 20px;
	max-width: 413px;
	width: 100%;
	height: 117px;
	color: #d7dada;
	font-style: italic;
	font-size: 13px;
	line-height: 17px;
  text-align: right;
}

.twitter_stream h3{
	height: 30px;
	font-size: 18px;
	line-height: 34px;
	font-style: normal;
	background: url(images/header_twitter_icon.png) no-repeat center left;
	padding-left: 35px;
	margin-bottom: 5px;
}

.twitter_stream p{
	margin-top: 0;
}

.connect_with_nossal{
	    max-width: 370px;
    width: 100%;
    position: relative;
    top: -210px;
    left: 590px;
    color: #D7DADA;
    font-weight: bold;
}

.connect_with_nossal a{
	color: #ffbe0e;
}

.connect_with_nossal .connect_button{
	display: block;
	width: 171px;
	height: 41px;
	background: url(images/connectwithnossal-sprite.png) no-repeat top left;
	margin-bottom: 5px;
}

.connect_with_nossal .connect_button:hover{
	background-position: 0 -41px ;
}

/*
header div.header_meta img.header_butterfly_bg{
	float: left;
}
*/

/* Main Menu */
header nav
{
	z-index: 50;
	background: url(images/nav_bg.jpg) no-repeat;
	max-width: 943px;
	width: 100%;
	height: 52px;
	margin-top:-202px;
	position: relative;
}

header nav ul{
	padding: 2px 0 0 158px;
	
}

header nav ul li
{
	float: left;
	position: relative;
	text-align: center;
	height: 51px;
	margin-right: 2px;
	padding-top: 12px;
}

header nav ul li.current{
	background: url(images/nav_highlight.gif) repeat-x;
}

header nav ul li.one{    width: 64px;  }
header nav ul li.two{    width: 112px; }
header nav ul li.three{  width: 96px;  }
header nav ul li.four{   width: 95px;  }
header nav ul li.five{   width: 90px;  }
header nav ul li.six{    width: 122px; }
header nav ul li.seven{  width: 93px;  }
header nav ul li.eight{  width: 97px;  }


header nav ul li a{
	color: #ececec !important;
	text-decoration: none;
	font-weight: bold;
	-moz-text-shadow: 1px 2px 2px #1f1e1e;
	-webkit-text-shadow: 1px 2px 2px #1f1e1e;
	text-shadow: 1px 2px 2px #1f1e1e;
}

header nav ul li a:hover{
	color: #febe10 !important;
}

/* Dropdown Menu */
header nav ul li ul{
	display: none;
	padding: 20px;
	background-image: url(images/dropdown_top_shadow.gif), url(images/menu_bg.gif);
	background-repeat: repeat-x, repeat;
	background-position: top center, center center;
	position: relative;
	top: 22px;
	width: 144px;
	z-index: 99999999999999999;
	-moz-box-shadow: 1px 2px 4px #1f1e1e;
	-webkit-box-shadow: 1px 2px 4px #1f1e1e;
	box-shadow: 1px 2px 4px #1f1e1e;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	border-bottom-right-radius: 10px;
}

header nav ul li ul li{
	float: none;
	height: auto;
	text-align: left;
	border-top: 1px solid #3e3e3e;
	border-bottom: 1px solid #2c2b2b;
	padding: 11px 0;
	z-index: 9999;
}

header nav ul li ul li:first-child{
	border-top: none;
	padding-top: 0px;
}

header nav ul li ul li:last-child{
	border-bottom: none;
	padding-bottom: 0px;
}

header nav ul li ul li a{
	font-weight: normal;
	display: block;
}


header nav ul li ul li ul{
	left: 142px;
	position: absolute;
	top: -2px;
}

/* Footer */
footer, .push{
	height: 229px;
}

footer{
	width: 100%;
	background: url(images/footer_bg.jpg) repeat-x top center;
}

#footer_content{
	position: relative;
	max-width: 943px;
	width: 100%;
	margin: 0 auto;
	padding-top: 30px;
	font-size: 12px;
	line-height: 20px;
}

#footer_content p, #footer_content #address, #footer_content ul{
	margin: 0;
}

#footer_content #address{
	margin-right: 35px;
}

#footer_content #address, #footer_content ul{
	float: left;
}

#footer_content ul{
	padding: 0 20px;
	border-left: 1px solid #bbb8b4;
}

#footer_content li{
	list-style-type: none;
}

#footer_content a{
	text-decoration: none;
	color: #000;
}

#footer_content #site_meta{
	clear: both;
	margin-top: 16px;
	margin-bottom: 25px;
	color: #696867;
	font-size: 11px;
}

#footer_content .embrace{
	float: left;
	max-width: 550px;
	width: 100%;
}

#footer_content .butterfly{
	position: absolute;
	top: 20px;
	right: -125px;
}


/* Main content area */
#main{
	clear: both;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 178px auto -229px;
	z-index: 0;
}


/* Homepage Carousel */
#homepage_gallery{
	width: 100%;
	overflow: hidden;
	-moz-box-shadow: 1px 2px 3px #c4c4c0;
	-webkit-box-shadow: 1px 2px 3px #c4c4c0;
	box-shadow: 1px 2px 3px #c4c4c0;
	z-index: 1;
}



#carousel_container{
	width: 100%;
	height: 474px;
	max-height: 474px;
	background: #FFF;
	z-index: 1;
}


#carousel{
	height: 452px;
	max-height: 452px;
	padding: 12px 0;
	width: 960px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

#carousel ul{
	margin: 0;
	width: 9999em;
	position: absolute;
}

#carousel ul li{
	float: left;
	list-style-type: none;
	z-index: 1;
	background-size: cover !important;
	max-height: 452px;
}

.frame_left, .frame_right{
	position: relative;
	/*z-index: 9;*/
}

.frame_left{
	left: -22px;
}

.frame_right{
	left: 905px;
}

a.move_left, a.move_right{
	position: absolute;
	display: block;
	width: 105px;
	height: 452px;
	z-index: 9997;
	text-decoration: none;
	color: transparent;
}

a.move_left{}
a.move_left:hover{ 
	background: url(images/move_left.png) no-repeat top left;
}
a.move_right{ left: 855px; }
a.move_right:hover{
	background: url(images/move_right.png) no-repeat top left;
}

.text_panel{
	display: none;
	background: url(images/carousel_text_panel.png) no-repeat top left;
	width: 350px;
	height: 146px;
	margin-top: 286px;
	margin-left: 10px;
	color: #4d4c4c;
	font-family: helvetica;
}

.text_panel a{
	position: relative;
	left: 300px;
	top: -107px;
	display: block;
	width: 40px;
	height: 40px;
	text-decoration: none;
}

.text_panel:hover{
	background-position: -350px 0;
}

.text_panel h3{
	font-size: 40px;
	line-height: 40px;
	font-weight: 100;
	padding: 30px 0 0 20px;
	margin-bottom: 10px;
}

.text_panel p{
	font-size: 14px;
	line-height: 18px;
	margin-top: 0;
	width: 300px;
	padding-left: 20px;
}

#content{
	max-width: 964px;
	width: 100%;
	margin: 30px auto 30px;
}

#content .panels{
	padding: 0 0 0 15px;
	
}


#content .panel{
	width: 220px;
	background: url(images/panel_bg.jpg) no-repeat top left;
	height: 300px;
	float: left;
	margin: 0 19px 0 0;
	color: #31302f;
	font-family: helvetica;

	
}

#content .panel h3{
	margin: 22px 0 0 10px;
	font-size: 22px;
	font-weight: 400;
	padding-left: 0;
}

#content .panel p{
	margin-left: 10px;
	font-size: 14px;
	padding-left: 0;
	padding-right: 10px;
	height: 60px;
	overflow: hidden;
}

#content .panel a{
	display: block;
	width: 43px;
	height: 42px;
	background: url(images/arrow_sprite.png) no-repeat top left;
	text-indent: -999em;
	position: relative;
	left: 170px;
	top: -23px;
}

#content .panel a:hover{
	background-position: -43px 0;
}

#content .panels .one{

}

#content .panels .two{
	background-position: -220px 0;
}

#content .panels .three{
	background-position: -440px 0;
}

#content .panels .four{
	background-position: -660px 0;
}

#content .panels .last{
	margin-right: 0;
}

#banner{
	width: 100%;
	background: url(images/content_page_banner_bg.gif) repeat-x;
	height: 477px;
	padding-top: 10px;
}

#banner #title_image{
	max-width: 940px;
	width: 100%;
	height: 452px;
	margin: 0 auto;
	border-left: 10px solid #FFF;
	border-right: 10px solid #FFF;
}



#banner #title_image h1{
	margin: 0;
	position: relative;
	top: 360px;
	height: 37px;
}

#banner #title_image .title{
	display: inline;
	color: #4d4c4c;
	font-family: helvetica;
	font-size: 47px;
	line-height: 47px;
	font-weight: 200;
	background: url(images/page_title_bg.gif) repeat-x top left;
	padding: 30px
}


#content #left{
	max-width: 628px;
	width: 100%;
	padding-right: 15px;
	border-right: 1px solid #dbd7d4;
	margin-right: 15px;
	float: left;
}

#content #left div p{
	margin-right: 15px;
}

#content #left div iframe{
	float: left;
	margin-top: 15px;
	padding-left: 15px;
}

#content #right{
	float: left;
}

#content{
	clear: both;
	font-size: 15px;
	line-height: 20px;
}

#content p, #content ul, #content h2, #content h3{
	margin-bottom: 25px;
	padding-left: 15px;
}

#content ul{
	margin-left: 15px;
}
	

#content h2{
	margin: 15px 0 15px;
	font-size: 18px;
}

.submenu{
	width: 255px;
	border: 1px solid #dbd7d4;
	background: #e9e6e2;
	background: rgba(219, 216, 210, .3);
	padding: 15px;
	margin-bottom: 10px;
	
}

.submenu h3{
	color: #303030;
	font-size: 13px;
	font-weight: bold;
	margin: 0 0 8px 0;
	padding: 0;
}

.submenu h3 a{
	text-decoration: none;
	color: #303030;
}
	

.submenu ul{
	list-style-type: none;
	margin: 0;
}

.submenu ul li{
	background: url(images/arrow_icon.gif) no-repeat left center;
	padding-left: 19px;
	margin: 5px 0 5px 0;
}

.submenu ul li a{
	color: #303030;
	text-decoration: none;
	font-size: 13px;
}

#quote{
	background: url(images/quote_icon.png) no-repeat top left;
	padding-top: 65px;
	margin-top: 40px;
	width: 292px;
	font-weight: 100;
	font-style: italic;
	font-size: 20px;
	color: #615c5c;
	line-height: 25px;
}

#enquiries_left{
	float: left;
	width: 380px;
	margin-right: 20px;
}

#contact_details h2{
	margin-top: 0;
}

#contact_details p{
	line-height: 20px;
}

#contact_form{
	background: url(images/contact_form_bg.jpg) no-repeat top left;
	width: 380px;
	height: 328px;
	position: relative;
}

#contact_form input, #contact_form textarea{
	color: #8a8a8a;
	font-size: 15px;
}

#contact_form span{
	position: relative;
	left: 3px;
}

#contact_form span.first_name{
	top: 33px;
}

#contact_form span.first_name input{
	width: 135px;
	height: 24px;
	border: none;
	background: none;
	padding-left: 12px;
	line-height: 25px;
}

#contact_form span.last_name{
	top: 7px;
	left: 183px;
}

#contact_form span.last_name input{
	width: 135px;
	height: 24px;
	border: none;
	background: none;
	padding-left: 12px;
	line-height: 25px;
}

#contact_form span.email_address{
	top: 33px;
}

#contact_form span.email_address input{
	height: 24px;
	width: 315px;
	border: none;
	background: none;
	padding-left: 12px;
	line-height: 25px;
}



#contact_form span.message{
	top: 28px;
}

#contact_form span.message textarea{
	width: 320px;
	height: 119px;
	border: none;
	background: none;
	padding-left: 12px;
	line-height: 25px;
}

#contact_form span.submit{
	top: 79px;
	left: 215px
}

#contact_form span.submit input{
	color: #FFF;
	width: 126px;
	height: 34px;
	border: none;
	background: none;
}

#contact_form span.submit input:hover{
	
}

#enquiries_right{
	float: left;
}

#enquiries_address{
	max-width: 517px;
	width: 100%;
	height: auto;
	border: 1px solid #dbd7d4;
	background: #e9e6e2;
	background: rgba(219, 216, 210, .3);
	padding: 17px;
}
.residential_address{
	float: initial !important;
}

/* Supress contact form errors */
.wpcf7-response-output{
	position: relative;
	top: 75px;
}

.residential_address{
	float: left;
	border-right: 1px solid #dbd7d4;
	padding-right: 50px;
	margin-right: 30px
}

#content .residential_address p{
	margin-bottom: 0;
}

.postal_addres{
	float: left;
}

#twitter_update a{
	color: #D7DADA;
}

#content .event_listing ul{
	padding-left: 0;
}

.event_listing ul li{
	list-style-type: none;
	margin-bottom: 30px;
	border-bottom: 6px solid #e6e4df;
}

#content .event_listing ul li p{
	padding-left: 0;
}

.event_listing h1{
	font-size: 25px;
	line-height: 30px;
	margin-bottom: 15px;
}

.event_listing h1 a{
	text-decoration: none;
	color: #303030;
}

.event_listing h1 a:hover{
	color: #d2d91b;
}


.small{
	font-size: .8em;
}

#content .event_listing p.meta{
	padding-left: 0;
	background: none repeat scroll 0 0 rgba(219, 216, 210, 0.3);
	border: 1px solid #DBD7D4;
	margin-bottom: 10px;
	padding: 15px;
	margin-top: 0;
	width: 163px;
	font-size: 12px;
	float: left;
	margin-right: 28px;
}

#content .event_listing p.meta span{
	color: #9b9897;
}

.event_listing img.event_thumb
{
	float: left;
	width: 380px;
	margin-bottom: 10px;
	margin-right: 15px;
}

.event_listing a.read_more{
	clear: left;
	float: left;
	display: block;
	width: 209px;
	height: 57px;
	padding: 0;
	margin: 0 12px 0 -1px;
	text-indent: -99999px;
	background: url(images/read_more.png) no-repeat top left;
}

.event_listing a.read_more:hover{
	background-position: 0 -56px;
}

.application_button{
	z-index: 99999999999999999;
	position: relative;
	left: 630px;
}

#year_in_the_life{
	background: url(images/nossal-life.png) no-repeat top left;
	height: 4699px;
}

#year_in_the_life .submenu{background: none; border: none; margin-top: 40px;}

#year_in_the_life #left{
	border-right: none;
}
.hamburger{
	display: none;
}

	header nav ul li.connect_with_nossal{
		display: none;
	}
	header nav ul li.search{
		display: none;
	}

.search_result{
	    border: 1px solid #dbd7d4;
    background: rgba(219, 216, 210, .3);
    padding: 20px;
        margin-left: 0px !important;
}
.search_result li{
	list-style: none;
}

.quicklinks{
	display: none;
}

@media (max-width: 960px) {
  .twitter_stream, .connect_with_nossal,.prev,.next{
    display: none;
  }
  .application_button{
  	position: absolute;
    left: initial;
  }
  .application_button img{
  	width: 80px;
  }
	.hamburger {
    position: relative;
    display: inline-block;
    width: 1.25em;
    height: 0.8em;
    margin-right: 0.3em;
    border-top: 0.2em solid #fff;
    border-bottom: 0.2em solid #fff;
    float: right;
    position: absolute;
    right: 15px;
    top: 60px;
}
.event_listing img.event_thumb{
	width: 100%;
}
.quicklinks{
	display: block;
	position: absolute;
    left: 0;
    right: 0;
    top: 128px;
    background: #f1efeb;
    text-align: center;
}

.quicklinks .column{
	    width: 50%;
    display: inline-block;
    float: left;
    padding: 10px 0px;
}

.quicklinks .column:first-child{
	    border-right: 1px solid #dbd7d4;
    margin-right: -1px;
}

.quicklinks .column a{
	    text-decoration: none;
    color: #303030;
}

.hamburger:before {
    content: "";
    position: absolute;
    top: 0.3em;
    left: 0px;
    width: 100%;
    border-top: 0.2em solid #fff;
}
  header div.header_meta a.logo {
	    position: relative;
	    left: 5px;
	    max-width: 252px;
	    width: 100%;
	    height: 212px;
	    z-index: 99999999999;
	    top: 24px;
	}
	.logo img{
		max-width: 100px;
	}
	header nav{
		    margin: auto;
    background: transparent;
    height: 0;
	}
	header nav ul{
		padding: 0px;
    	background: #3a3a3a;
    	visibility: hidden;
    	opacity: 0;
    	margin-top: 39px;
    	transition:opacity 0.1s linear; 
	}
	header nav ul.open{
		visibility: visible;
    	opacity: 1;
	}
	header nav ul li{
		display: block;
		width: 100% !important;
		height: initial;
	}
	header{
		height: 128px;
	}

	header nav ul li.connect_with_nossal{
		position: initial;
		max-width: initial;
		display: block;
	}
	header nav ul li.connect_with_nossal .connect_button{
		margin: auto;
	}
	#banner #title_image .title{
		font-size: 22px;
		padding: 15px;
	}
	#container{
		margin-top: 128px;
	}
	iframe{
		width: initial;
	}
	video{
		width: 100%;
	}
	.wp-video{
		width: 100% !important
	}
	#main{
		margin-top: 128px;
		padding-left: 15px;
		padding-right: 15px;
	}
	#content #right{
		width: 91%;
	}
	.submenu{
		width: 100%;
	}
	#content .panels{
		padding-right: 15px;
	}
	#content .panel{
		width: 47%;
		background: none;
		height: initial;
		border: 1px solid #dddcd8;
		margin-bottom: 15px;
		background-color: #ebeae6;
		position: relative;
	}
	
	#content .panel a{
		position: absolute;
		left: initial;
		top: initial;
		right: 10px;
		bottom: 10px;
	}

	#content .panel img{
		width: 100%;
	}

	#content .panel.one img{
		border-bottom: 10px solid #7f7a76;
	}

	#content .panel.two img{
		border-bottom: 10px solid #fab905;
	}

	#content .panel.three img{
		border-bottom: 10px solid #cfd819;
	}
	#content .panel.four img{
		border-bottom: 10px solid #d58955;
	}

	#content #left{
		border-right: 0px;
		margin-right: 0px;
		padding-right: 0px;
	}
	#banner #title_image{
		border: none !important;
	}
	#carousel .text_panel {
	    display: none;
		background: url(images/carousel_text_panel.png) no-repeat top left;
		width: 350px;
		height: 96px;
		margin-top: 286px;
		margin-left: 0px;
		color: #4d4c4c;
		font-family: helvetica;
		transform: scale(0.8) !important;
		transform-origin: bottom left;
	}

	#carousel .text_panel h3 {
	    font-size: 20px;
	    line-height: 40px;
	    font-weight: 100;
	    padding: 10px 0 0 10px;
	    margin-bottom: 0px;
	}

	#carousel .text_panel p {
	    font-size: 14px;
	    line-height: 18px;
	    margin-top: 0;
	    width: 80%;
	    padding-left: 10px;
	}
	#carousel .text_panel a {
   		position: relative;
    	left: 310px;
   		top: -73px;
	}
	footer{
		width: initial;
    padding-left: 15px;
    padding-right: 15px;
    height: auto;
    position: relative;
    display: block;
    background: none;
    background-color: #e0dcd9;
	}
	#footer_content ul{
		    width: 100%;
    padding-bottom: 15px;
    border-left: none;
    border-bottom: 1px solid #bbb8b4;
    padding-top: 15px;
    padding-left: 0px;
    padding-right: 0px;
	}
	#footer_content .embrace{
		float: initial;
	}
	header nav ul li ul{
		width: 100%;
		margin-top: 0px;
	}
	header nav ul li.search{
		display: block;
	}
}

@media (max-width: 768px) {

	#content .panel{
		width: 100%;
		background: none;
		height: initial;
		border: 1px solid #dddcd8;
		margin-bottom: 15px;
		background-color: #ebeae6;
		position: relative;
	}
	#banner{
		height: 300px;
	}
	#banner #title_image{
		height: 290px;
		    background-size: cover !important;
	}
	#banner #title_image h1{
		top: 210px;
	}

}

@media only screen and (orientation:portrait)
{
	.butterfly{
		display: none;
	}
	

}

@media only screen and (orientation:landscape)
{
	.butterfly{
		display: none;
	}
}









