/*
Theme Name: SERG
Theme URI: http://www.cite.soton.ac.uk
Description:  SERG custom theme is based on 'University Flexible Custom Theme 1' with significant changes for SERG website. Feel free to copy and develop as a new theme.
Author: SERG group 
Version: 0.4
License: GNU General Public License
License URI: license.txt
Tags: 
*/

body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	
	font-family:Georgia, Verdana, serif !important;
}

body {
	line-height: 1;
	font-size:12px;
	background:#cccccc;
	margin:0px;
	padding:0px;
}

ol, ul {
	
}
ul
{
	
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
	style: float: left;
}

/* Image alignment */
mg {
	margin: 0;
}
img.size-auto,
img.size-large,
img.size-full,
img.size-medium {
	max-width: 100%;
	height: auto;
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}



#searchForm
{
	border-bottom:3px solid #fff;
}

#searchForm #s
{
	margin:5px 0px 5px 5px;
	border:2px solid #8f9e94;
	padding:3px;
	width:155px;
}

#searchForm #searchButton
{ 
vertical-align:middle;
margin-right:5px;
}

/*
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

#primary,
#secondary {
	overflow: hidden;
}
#secondary {
	clear: right;
}


#footer {
	clear: both;
	width:100%;
	height:20px;   /* Height of the footer */
	background:#6cf;
	padding-bottom:20px;
}




/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles */

html {
       overflow-y: scroll;
}


body,
input,
textarea {
	color: #666;
	font-size: 12px;
	line-height: 18px;
}
hr {
	background-color: #007c92;
	margin-bottom: 6px;
	margin-top: 6px;
	width: 100%;
}

/* Text elements */
p {
	margin-bottom: 18px;
}


/* Text meant only for screen readers */
.screen-reader-text {
	position: absolute;
	left: -9000px;
}


#mainContent ul
{
padding:0px 0px 15px 20px;
}

#mainContent li
{
padding:2px;
}

/* =Asides
-------------------------------------------------------------- */

.home #content .format-aside p,
.home #content .category-asides p {
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 10px;
	margin-top: 0;
}
.home .hentry.format-aside,
.home .hentry.category-asides {
	padding: 0;
}
.home #content .format-aside .entry-content,
.home #content .category-asides .entry-content {
	padding-top: 0;
}


/* =Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */
pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}


/* =Print Style
-------------------------------------------------------------- */
@media print {
	body {
		background: none !important;
	}
	#wrapper {
		clear: both !important;
		display: block !important;
		float: none !important;
		position: relative !important;
	}
	#header {
		border-bottom: 2pt solid #000;
		padding-bottom: 18pt;
	}
	#colophon {
		border-top: 2pt solid #000;
	}
	#site-title,
	#site-description {
		float: none;
		line-height: 1.4em;
		margin: 0;
		padding: 0;
	}
	#site-title {
		font-size: 13pt;
	}
	.entry-content {
		font-size: 14pt;
		line-height: 1.6em;
	}
	.entry-title {
		font-size: 21pt;
	}content
	#access,
	#branding img,
	#respond,
	.comment-edit-link,
	.edit-link,
	.navigation,
	.page-link,
	.widget-area {
		display: none !important;
	}
	#container,
	#header,
	#footer {
		margin: 0;
		width: 100%;
	}
	#content,
	.one-column #content {
		margin: 24pt 0 0;
		width: 100%;
	}
	.wp-caption p {
		font-size: 11pt;
	}
	#site-info,
	#site-generator {
		float: none;
		width: auto;
	}
	#colophon {
		width: auto;
	}
	img#wpstats {
		display: none;
	}
	#site-generator a {
		margin: 0;
		padding: 0;
	}
	#entry-author-info {
		border: 1px solid #e7e7e7;
	}
	#main {
		display: inline;
	}
	.home .sticky {
		border: none;
	}
}


h1, h2, h3, h4{
	font-family:Georgia, Verdana, sans-serif !important;
}
h1{
	padding-bottom:10px;
	line-height:25px;
	color:#014359;
	font-weight:normal;
	font-size:2em;	
}
h2{
	font-size:1.5em;
	padding-bottom:1px;
	margin:5px 0px 5px 0px;
	line-height:25px;
	color:#014359;
	font-weight:normal;
	border-bottom:solid 1px #014359;
}
h2 a:link { color: #336699; text-decoration: none; font-weight:normal}
h2 a:active { color: #336699; text-decoration: none;}
h2 a:visited { color: #336699; text-decoration: none;}
h2 a:hover { color:#000099; text-decoration: underline;}
h3{
	color:#333333;
	margin:5px 0px 5px 0px;
	/*padding-bottom:5px;
	border-bottom:solid 1px #014359;*/
	font-weight:normal;
	font-size:1.1em;
}
a:link { color: #336699; text-decoration: underline;}
a:active { color: #336699; text-decoration: underline;}
a:visited { color: #336699; text-decoration: underline;}
a:hover { color:#000099; text-decoration: underline;}


#footer{
	font-size:80%;
	padding-top:5px;
	padding-bottom:5px;
	background:#f1f1f1;
	border-top:1px solid #ccc;
	border-bottom:1px solid #ccc;
	text-align:center;
	margin-bottom:5px;
	width:100%
	clear:both;
}

.newsDate{
	color:#666666;
	margin:0px 0px 0px 0px;
	padding:0px;
	/*font-weight:bold;*/
	font-style:italic;
}

.newsTitle{
	font-weight:bold;
	padding:0px 0px 5px 0px;
}


h1 .newsTitle{
	font-size:18px;
	margin:0px 0px 5px 0px;
	color:#666666;
	/*border-bottom:1px solid #ccc; */
	display:block;
	padding:0px;
}

.post_container {
	width: 625px;
	overflow: hidden
}

.post_image {
	/*background-color: GREEN;*/
	width: 200px;
	padding-top:5px;
	float: left;
	text-align: left ;
}

.post_content {
	/* background-color: YELLOW; */
	float: right;
	width: 400px;
}

.post_left {
	float: left;
	width: 300px;
}

.post_right {
	float: right;
	width: 300px;
}

.post3_left{
	float: left;
	width: 200px;
}
.post3_center{
	float: left;
	width: 200px;
}
	
.post3_right{
	float: right;
	width: 200px;
}

.cat-links a:link, .cat-links a:active, .cat-links a:visited
{
	color:#999999;
}

.mainMenu
{
	font-size:14px;
	position:absolute 30px;
	margin:0px;

}


/* Menu links style */
.mainMenu ul li a
{
	font-family:Georgia, "Times New Roman", Times, serif !important;
	font-weight: normal !important;
	display: block;
	overflow: auto; /*force hasLayout in IE7 */
	color:#fff;
	text-decoration: none;
	padding: 5px 8px;
	border-bottom: 1px solid #fff !important;
	margin:0px !important;
}

.mainMenu ul li a,.mainMenu ul li a:hover, .mainMenu ul li a:visited,.mainMenu ul li a:active,
{
	text-decoration:none;
	color:#fff;
	display: block;
} 
.uniHome a
{
	border-top:1px solid #fff !important; 
}
/*** menu modification start - Lisha and then Will (to add grandchildren also switched page to menu to show categories) ***/
/* Indent child menu items  */
.mainMenu .sub-menu a {
    padding-left: 15px;
}
/* Indent grandchild menu items  */
ul.sub-menu ul.sub-menu a {
    padding-left: 30px;
}
/* hide submenu items for non-selected menu items */
ul.sub-menu {
	display: none;
}
/* hide third level menu items  */
ul.sub-menu ul.sub-menu{
	display: none;
}
/* Show submenu items for the current menu (and parents) */
li.current-menu-item > ul.sub-menu,
li.current-menu-ancestor > ul.sub-menu,
li.current-menu-parent > ul.sub-menu,
li.current-page-item > ul.sub-menu,
li.current-page-ancestor > ul.sub-menu,
li.current-page-parent > ul.sub-menu,
li.current-post-item > ul.sub-menu,
li.current-post-ancestor > ul.sub-menu,
li.current-post-parent > ul.sub-menu{
 display: block;
}
/*
li.current-post-ancestor > ul.sub-menu, 
li.current-menu-item > ul.sub-menu, 
li.current-menu-parent> ul.sub-menu 
{
display: block;
}
/* Show grandchildren items for the current children menu */
li.current-menu-ancestor .submenu li.current-menu-ancestor > ul.sub-menu ul.sub-menu, 
li.current-menu-item  .submenu li.current-menu-item > ul.sub-menu ul.sub-menu,
li.current-menu-parent  .submenu li.current-menu-item  > ul.sub-menu ul.sub-menu 
{
	display: block;
}
/*** menu modification end - Lisha and then Will***/


/*** Holly Hack for IE ***/
* html .mainMenu ul li { float: left; height: 1%; }
* html .mainMenu ul li a { height: 1%; }
/*** End ***/

#menuDiv
{
    width: 220px;
	padding:15px 20px 0px 15px;
	top:70px;
	left:10px;
	font-size:16px;
}

#menuDiv li
{
	list-style:none;
}

#menuDiv ul ul ul li
{
/* text-indent:20px; */ /*this is the font size of the children menu */
	font-size:14px;
}

#leftSidebar
{
	width:215px;
	padding:110px 0px 20px 20px;
	float:left;
}

/* adjust left sidebar to line up with the main menu */
#leftSidebar #primary {
    padding-left: 15px;
    padding-right: 0px;
    width: 215px;
}

#leftSidebar #primary ul
{
	list-style:none;
}

/* Catgory ul indents */
.widget_categories ul ul li
{
	padding-left:10px;
}

#mainContent
{
	width:620px;
	padding: 180px 40px 20px 35px;
	float:right;
	font-family:Verdana, Arial, Helvetica, sans-serif !important;
}

#wrapper
{
	width:940px;
	background:#fff;
	margin:0 auto;
	position:relative;	
}

#AT_toolbar
{
	background:#ccc;
	font-size:11px;
	padding:3px 0px 3px 15px;
	width:940px;
	margin:0 auto;	
}
#AT_toolbar a
{
	padding:5px;
	text-decoration:none;
	color:#333333;
	font-weight:normal;
}
#AT_toolbar a:hover
{
	text-decoration:underline;
}


/* =Comments
-------------------------------------------------------------- */
#comments {
	clear: both;
}
#comments .navigation {
	padding: 0 0 12px 0;
}
h3#comments-title,
h3#reply-title {
	color: #000;
	margin-bottom: 0;
}
/* font-size: 20px;
	font-weight: bold; */
h3#comments-title {
	padding: 24px 0;
}
.commentlist {
	list-style: none;
	margin: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	color: #000;
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	color: #888;
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
	color: #ff4b33;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
	color: #888;
}
.reply a:hover,
a.comment-edit-link:hover {
	color: #ff4b33;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	color: #888;
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}

/* Comments form */
input[type=submit] {
	color: #333;
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	color: #ff4b33;
	font-weight: bold;
}
#respond label {
	color: #888;
	font-size: 12px;
}
#respond input {
	margin: 0 0 9px;
	width: 98%;
}
#respond textarea {
	width: 98%;
}
#respond .form-allowed-tags {
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}

/* Buddy Press groups list page -*/
#interestGroupInfo
{
	padding:20px 0px;	
}

#groups-dir-list li
{
list-style:none;	
}

div#item-header ul
{
list-style:none;	
}

#mainContent3Col
{
	width:360px;
	padding-top:220px;
	margin-left:280px;
	margin-right:300px;
	font-family:Verdana, Arial, Helvetica, sans-serif !important;
	
}
#rightSideBar
{
        width:200px;
        float: right;
        padding: 220px 30px 20px 0px;
}

label, checkbox
{
display:block;
}

#learningObjectSubPageMenu
{
	font-size:0.8em;	
}

#learningObjectNavigation
{
	margin:30px 0px;
}

#learningObjectNavigation a,#learningObjectNavigation a:visited,#learningObjectNavigation a:active
{
	color:#336699;
	font-size:1.7em;
	border:#ccc 2px solid;
	padding:2px;
	background:#f1f1;
	text-decoration:none;
}

#learningObjectNavigation a:hover
{
	color:#fff;
	background:#336699;

}

#learningObjectJumpBox
{
	text-align:center;
}

#previousLinkDiv
{
	margin:0px;
	float:left; width:150px;
	height: 65px;

}

#nextLinkDiv
{
	margin:0px;
	float:right; width:150px;text-align:right;
}

#LOminiNav{
	float:right;text-align:right;
	color:#999;
}

#LOminiNav a,#LOminiNav a:visited,#LOminiNav a:active
{
	border:2px solid #ccc;
	padding:2px 3px;
	text-decoration:none;
	margin:2px;
}

#LOminiNav a:hover
{
	color:#fff;
	background:#336699;

}

ol {margin-left: 20px;}
ol ol {margin-left: 20px;list-style-type: upper-alpha;}
ol ol ol{margin-left: 20px;list-style-type: lower-roman;}

/* side bar resent post settings */
.sidebar-latest-post {
	margin-bottom: 4px;
}
.sidebar-latest-post a {
	float: none;
}
.sidebar-latest-post img {
	float: left; 
	margin: 4px 4px 0 0;
	padding-bottom:4px;
}
.sidebarn-latest-post .clear {
	clear: both;
}

/** Pagination */
.pagination {
	background:#E7E6E5;
	background:rgba(255,255,255,0.35);
	padding:7px 10px 5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
}
.pagination .page-numbers {
	padding:3px 6px;
	font-size:13px;
	font-weight:bold;
}
.pagination .current {
	color:#000;
}

.phil_header {

font-size: 250%;

color: #006699;

padding: 10px 20px 0px 0px;

}

.phil_nav {

color: white;

font-size: 100%;

background: #D0D0D0 ;

padding: 3px 6px;

}

.phil_row {

}

.phil_col {

background: #99CCFF;

font-size: 120%;

font-weight: bold;

color: white;

float: left; 

margin:0.5%; 

width:24%;

padding: 10px 0;

text-align: center;

}
