/*****************************************************************************/
/* Overrides specific to smartphone landscape display */
/*****************************************************************************/

/*****************************************************************************/
/* Colours, Background and Borders */
/*****************************************************************************/
#top {
	background-image: url(/sites/all/themes/QED2011/qed_images/logo.png);
	background-repeat:no-repeat; 	
}

#back {
	background-color: #fff;
	background-repeat: no-repeat;
}


/***********/
/* Borders */
/***********/
#navigation {
	border-left: 0px solid transparent;
	border-right: 0px solid transparent;
	border-top: 0px solid transparent;
	border-bottom: 5px solid #eee;
}

#navigation li {
	border-right: 1px solid #eee;
	border-left: 1px solid #eee;
	border-top: 1px solid #eee;
	margin-right: 0;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

th, td {
    border-bottom: 1px solid #CCC;
}

#navigation li:first-child {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}


/*****************************************************************************/
/* Fonts */
/*****************************************************************************/
body {
	font-family: Geneva, Verdana, Trebuchet, Arial, Helvetica, sans-serif;
	text-align: left; 
	text-justify: newspaper;
}

#content,
#cse-search-form input[type=text],
#block-menu-menu-lhs-menu li {
	font-size: 1.2em;	
}

#navigation {
	font-size: 1.6em;
}


/*****************************************************************************/
/* General Tags */
/*****************************************************************************/
body {
	margin: auto;
	width: 440px;
	padding: 15px 10px;
}

/* BH - What to do with tables?  Put them in a block, make them easy to click */
table{
	table-layout: fixed;
	/* width: 450px; */
	padding: 2px;
}

th, td {
	margin-bottom: 30px;
	overflow: hidden;
/*    max-height: 200px; */
	padding: 5px;
	display: block;
}

td a {
	display: block;
}


/*****************************************************************************/
/* Navigation */
/*****************************************************************************/
#navigation {
	z-index: 5000;
	height: 70px;
}

#navigation:after { }
#navigation ul {	
	margin: 0;
}

/* BH Styles top menu items */
#navigation li {
	margin-top: 0px;
	margin-bottom: 1px;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 6px;
	padding-right: 6px;
	width: 120px;
	list-style-type: none;
}

/* BH - Disable Submenus of main navigation */
/* Hide Queen's Menu Item for mobile display */
#navigation ul ul,
#navigation li.last {
	display: none;
}


/*****************************************************************************/
/* Structure */
/*****************************************************************************/
#top {
	z-index: 5;
}

#go_container,
#back,
#page-wrapper,
#navigation,
.node,
body.page-calendar #content, 
body.not-front #content,
body.node-type-people-page,
#content div.column,
.column {
 	width: auto;
	min-width: none;
	max-width: 100%;	
}

#go_container { 
	padding: 0;
}

#back {
 	padding: 0 5px;
 	margin: 0 auto;
}

#go_content_frame {
	margin-left: 0px;
	margin-right: 0px;
}

#content {
	margin-left: 0px; 
	margin-right: 0px;
	/*
	width: 200px;
	padding: 8px;
	max-width: 550px;
	font-size: large;
	line-height: 1.8em;
	*/
}

#text {
	padding-top: 10px;
	min-height: 620px;
}

#news {
	text-align: left;
}

.mainpagecontent,
.mp_firstcol, .mp_secondcol, .mp_thirdcol {
	width: 100%;
}

.nomobiledisplay {
	display: none;
}


/**********/
/* Images */
/**********/
.field_page_images img,
#content .node .field-name-body img,
.field-name-field-photo img,
.field-name-field-personal-photo img {
	float: none;
	clear: none;		
	margin: 10px;
	width: auto;
	height: auto;
	max-width: 100%;
}


/*****************************/
/* Search Box & Social Media */
/*****************************/
#social-media-icons {
	padding-left: 10px;
}

#cse-search-form {
	width: auto;
	padding-right: 2px;
}

#cse-search-form input[type=text] {
	width: 175px;
} 


/**********/
/* Header */
/**********/
#desktop_header {
	display: none;
}

#mobile_header {
	display: inline;
}

#header {
	width: 100%;
}

#queens-logo {
	/* image 103x71 */
	margin-top: 5px;
	margin-bottom: 5px;
	width: 100px;
	float: left;
	
}

#logo {
	/* image 800x90 */
	margin-top: 0px;
	margin-right: 0px;
	float: right;
	width: 330px;
}

body.front #go_content_frame {
	margin-top: 0;
}


/************/
/* Sidebars */
/************/
#go_container .region-sidebar-first, 
#go_container .region-sidebar-second,
#go_content_frame #content {
	float: none;
	position: static;
	clear: both;
	width: 100%;
	margin: 15px 0 0 0;
	padding: 0;
}

#go_container .region-sidebar-first .section, 
#go_container .region-sidebar-second .section {
	margin-left: 0;	
	margin-right: 0;
}

#block-menu-menu-lhs-menu ul {
	overflow: hidden;		
}

#block-menu-menu-lhs-menu li {
	/*
	background-color: #eee;
	border-right: 2px solid #11335D;
	border-left: 1px solid #11335D;
	border-top: 1px solid #11335D;
	border-bottom: 1px solid #11335D;
	font-size: 1.2em;
	*/
	display: block;
	position: relative;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 2px;
	padding-right: 2px;
	width: 200px;
	float: left;
	height: 25px;
	list-style-type: none;
}

/* Hide Login Menu Item for mobile display. */
#block-menu-menu-lhs-menu li.last {
	display: none;
}


/************/
/* Calendar */
/************/
/* Upcoming Events on main page */
/*
#block-views-calendar-block-2 {
	border: 1px solid #11335D;
	background-color: #eee;
	text-align: left;
	margin-top: -20px;
	margin-bottom: 20px;
	padding-left: 20px
}

#block-views-calendar-block-2 h2 {
	padding-top: 10px;
	padding-bottom: 0px;
	margin-left: -10px;
}

#block-views-calendar-block-2 li {
	padding-bottom: 20px;
}
*/


/*******************************************************/
/* Top Text */
/* Don't know what this is; keep it for legacy reasons */
/*******************************************************/
#top_text li {
	margin-bottom: 0;
}

#top_text {
	top: 135px;
	width: 250px;
	margin-left: 15px;
}

#top_text ul.hide {
	display: none;
}

#top_text div.leftButton {
	position: absolute;
	top: 7px;
	left: 6px;
	height: 30px;
	font-weight: bold;
	text-align: center;
	color: white;
	text-shadow: rgba(0,0,0,0.6) 0px -1px 0px;
	line-height: 28px;
	border-width: 0 8px 0 8px;
	-webkit-border-image: url(/sites/all/themes/QED2011/qed_js/jqtouch/themes/jqt/img/whiteButton.png) 0 8 0 8;
	-moz-border-image: url(/sites/all/themes/QED2011/qed_js/jqtouch/themes/jqt/img/whiteButton.png) 0 8 0 8;
}

#top_text div.pressed {
	-webkit-border-image: url(/sites/all/themes/QED2011/qed_js/jqtouch/themes/jqt/img/whiteButton.png) 0 8 0 8;
	-moz-border-image: url(/sites/all/themes/QED2011/qed_js/jqtouch/themes/jqt/img/whiteButton.png) 0 8 0 8;
}

#top_text ul {
	list-style: none;
	margin: 20px;
	margin-top: 30px;
	margin-bottom: 40px;
	padding: 0;	
}

#top_text ul ul {
	display: none;
}

#top_text ul li a {
	background-color: #fff;
	border: 1px solid #999;
	color: #222;
	display: block;
	font-size: 17px;
	font-weight: bold;
	margin-bottom: -1px;
	padding: 12px 10px;
	text-decoration: none;	
}

#top_text ul li form {
	background-color: #fff;
	border: 1px solid #999;
	color: #222;
	display: block;
	font-size: 17px;
	font-weight: bold;
	margin-bottom: -1px;
	padding: 12px 10px;
	text-decoration: none;	
}

#top_text ul li:first-child a {
	-webkit-border-top-left-radius: 8px;	
	-webkit-border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;	
	-moz-border-radius-topright: 8px;
	border-top-left-radius: 8px;	
	border-top-right-radius: 8px;
}
#top_text ul li:last-child a {
	-webkit-border-bottom-left-radius: 8px;	
	-webkit-border-bottom-right-radius: 8px;	
	-moz-border-radius-bottomleft: 8px;	
	-moz-border-radius-bottomright: 8px;	
	border-bottom-left-radius: 8px;	
	border-bottom-right-radius: 8px;	
}

#top_text ul li:last-child form {
	-webkit-border-bottom-left-radius: 8px;	
	-webkit-border-bottom-right-radius: 8px;	
	-moz-border-radius-bottomleft: 8px;	
	-moz-border-radius-bottomright: 8px;	
	border-bottom-left-radius: 8px;	
	border-bottom-right-radius: 8px;	
}


/*****************************************************************************/
/* Home Page Slider */
/*****************************************************************************/
.view-id-sliders .views_slideshow_main,
.view-id-sliders .views-slideshow-controls-bottom {
	font-size: 90%;
}

.view-id-sliders .views_slideshow_main {
	height: 205px;
}

.view-id-sliders .views_slideshow_main .views-field-title {
	top: 80px;	
	height: 110px;
}

.view-id-sliders .views_slideshow_main .views-field-title h1 {
	padding-top: 5px;
	font-size: 180%;	
}

.view-id-sliders .views_slideshow_main .views-field-title p {
	line-height: 1.1;
}

.view-id-sliders .views-slideshow-controls-bottom span {
	padding: 4px 8px;
}

/*****************************************************************************/
/* Footer */
/*****************************************************************************/
.region-footer .block:first-child {
	margin-top: 15px;
}


/*****************************************************************************/
/* Miscellaneous */
/*****************************************************************************/
/* BH - Layout for /academics/undergraduate.  This page is a series of generated menus */
#block-menu-menu-course-information, #block-menu-menu-department-information-and-,
#block-menu-menu-university-offices, #block-menu-menu-university-forms-and-polici {
	width: 90%;
	border: 1px solid #CCC;
	float: left;
	min-height: 200px;
	margin-right: 20px;
}

/* BH - search on all pages */
body.not-front div#content.column {
	margin-top: 35px;
	z-index: 10;
}

body.node-type-undergraduate-page .block-menu, body.node-type-graduate-page .block-menu, 
body.node-type-research-page .block-menu, body.node-type-page-other .block-menu {
	width: auto;
	float: none;
}


/*****************************************************************************/
/* Archive */
/*****************************************************************************/
/*
table{
    table-layout: fixed;
    width: 450px;
    padding: 2px;
}

th, td {
    border: 1px solid black;
    overflow: hidden;
    width: 125px;
    max-height: 200px;
    padding: 5px;
    display: block;
}
*/
/* BH Main page mods */
/*
body.front #content {
	clear: both;
	float: left;
	margin-left: 0px;
	padding-left: 0;
	margin-top: 5px;	
 	min-width: 430px;	
 	max-width: 450px; 
	min-height: 200px;
}
*/
/*
#block-search-0 {
	width: 260px;
	float: right;
	padding-top: 5px;
	padding-right: 1px;
	text-align: right;
	z-index: 4999;
	height: 20px;
}

#block-search-0 {
	float: left;
	padding-top: 95px;
	padding-right: 0px;
	text-align: left;
	width: 300px;
	clear: both;
	font-size: larger;
	height: 50px;
}

#block-search-0 input[type=text] {
	width: 200px;
	font-size: larger;
} 


#block-search-0 label {
	display: none;
}

#cse-search-form {
	font-size: x-large;
}
*/
/*
#wrap {
 	width: 470px;	 
}
*/
/*
#block-menu-menu-lhs-menu {
	margin-top: 55px;
	width: 99%;
	padding-top: 15px;
	padding-bottom: 0px;
	background-color: #fff;
	border: 0px;
}
*/
/* BH GoSaBe - Drop the content to under the header and search*/
/*
#go_content_frame {
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 5px;
	float: left;
}
*/
/*
#block-menu-menu-lhs-menu li:first-child {
	padding-top: 1px;
}
*/
