/* CMS Lounge stylesheet */
/*******************************/ 





/* GENERAL LAYOUT STYLES */

BODY {
	text-align:center;
	padding:0;
	margin:0;
	background: #666666;
}

table {
	width: 100%;
}

body,td,th, tr, p, div {
	font-family: Tahoma, Helvetica, sans-serif;
	font-size: 11px;
}

h1,h2, h3 {
	font-family: Arial;
}

#wrapper body,#wrapper td,#wrapper th,#wrapper tr,#wrapper p,#wrapper div {
	line-height: 135%;
	color: #333333;
}

#front-panel div,#front-panel p { 
	line-height: 120%;
}

#footer div,
#footer p,
#footer td {
	color: #ffffff;
}

#wrapper {
	margin:0 auto;
	width: 850px;
	text-align: left;
	background-color: white;
	background: url(http://iyps.org/sites/all/themes/vanilla/images/background_header.jpg) no-repeat;
}

#page {
	margin:0 auto;
	width: 850px;
	background-color: white;
	/*background: url(http://iyps.org/sites/all/themes/vanilla/images/background_content.jpg);*/
	margin-top: 20px;
}

#header {
	position: relative;
	/*height: 85px;*/
	background: url(images/header_background.png) repeat;
	background-color: #005a63;
}


#top {
	float: right;
	right: 0px;
	top: 0px;
	color: white;
	text-align: right;
}




a img {
	border:none;
}

#logo img,
#right img {
	display: block;
}

#wrapper #content {
	padding-top: 15px;
}

#wrapper #content #content {
	padding: 0px;
}




#menu-area {
	/*background-color: #d94c1f;*/
}

/* @ Set menu colour */
#menu-area a {
	/*color: white !important;*/
}

/* @ Increase menu font size */
#menu a {
	font-size: 12px;
}

ul.nice-menu {
	border:none;
	display: block;
	width: auto;
}

ul.nice-menu li {
	/*background: #d94c1f;*/
	border: none;
	background: none;
	width: auto;
	display: block;
	float:  none;
}

ul.nice-menu li a {

	display: block;
	background: url(images/menu_points.png) no-repeat center right;
	text-transform: uppercase;
	color: #007a83;
	font-weight: bold;
	text-decoration: none;

	border-top:1px solid #cccccc;
	padding: 7px;
	padding-bottom: 4px;
	margin: 7px;
	text-align: right;
	padding-right: 15px;

	font-size: 9px;
	font-family: verdana;
}

#menu {
	/*text-align: right;*/
	margin:0 auto;
	width: 800px;
}


#menu .block h2,
#footer h2,
.block h2 {
	visibility: collapse;
	display: none; 
}



/* NAVIGATION MENU */

ul { 
	margin: 2px;
	padding: 6px;
	padding-left: 15px;
}

li {	
	padding-left: 1px;
	/*line-height: 150%;*/
	text-align: left;
}

#menu ul {
	margin: 0;
	padding: 0;
}

/* @ Adjust menu item padding */
#menu ul li {
	list-style-type: none;
	list-style-image: none;
	float: left;
	padding-left: 10px;
	padding-right: 10px;	
	height: 27px;
}

#menu ul li ul {
	border-top: none;
}

/* @ set menu popup background colour */
#menu ul li ul li {
	/* background-color: xxx */
}


#menu a:link,
#menu a:visited {
	padding-right: 5px;
	padding-left: 5px;
	text-decoration: none;
}

#menu a:hover {
	text-decoration: underline;
}


#menu a.active {
	color: black;
}



#content {
	padding: 5px;
	width: 420px;
	float: left;
}


/* increase default size of editing area */
#edit-body_ifr {
	height: 330px !important;
}

/* add a default padding to content images, so text doesn't squish against! */
/*#content img {
	margin: 10px;
}*/

#content p, .block p {
	line-height:130%;
	margin:3px 0 8px;
}

#content table td {
	vertical-align: text-top;
}

#left {
	float: left;
	width: 215px;
}

#left .content {
	margin: 15px;
	margin-bottom: 5px;
}

#right {
	float: left;
	width: 170px;
	margin-left: 20px;
	margin-top: 15px;
}

/*#right .block {
	padding: 10px;
}*/

#copyright {	
	float: right;
	padding-top: 3px;
}	

#copyright p {	
	padding-top: 0px;
	font-size: 10px;
	color: #9e9e9e;
}	



#footer {
	clear: both;
	margin: 0 auto;
	padding: 0;
	width: 850px;
	padding-bottom: 15px;
	/*background: url(http://iyps.org/sites/all/themes/vanilla/images/background_footer.jpg) no-repeat;*/
	background-color: #005a63;
	text-align: left;
	margin-bottom: 20px;
}

#footer-inner {
	padding: 15px;
}

#footer .block {
	padding-top: 1px;
}

#clear {
	clear: both;
}


/* GENERAL PURPOSE STYLES */

/* @ set link colour */
a:link {
	text-decoration: underline;
	color: #005A63;
}

a:visited {
	text-decoration: underline;
	color:#007a83;
}

a:hover {
	color: #555;
}

blockquote {
	margin: 10px;
}


/* DRUPAL ELEMENTS STYLES */

.links {
  margin: 0em 0em 2em 0;
  padding-top:  6px;
}

/*.block {
  padding-bottom: 1em;
}*/


/* calendar styles */

.calendar td, 
.calendar th, 
.calendar tbody {
	border: 1px solid gray;
	font-size: 11px;
}

.calendar table {
	width: 160px;
	margin: 3px;
}


/* login window list item styles */

.item-list ul li {
	list-style-type: none;
}


/* form styles */

form {
	padding: 0;
	margin: 0;
}

#right .form-item {
	text-align: left;
}

input.form-text, 
select {
	border:1px solid #ccc;
	padding: 2px;
	font-size:11px;
}

#right #user-login-form input {
	width: 130px;
	text-align: left;
}

#right #user-login-form input.form-submit {
	width: 50px;
	margin-bottom: 10px;
	text-align: center;
}

#content input.form-text {
	width: 250px;
}

input.form-text:hover {
	background: #F9F9F9;
}

#user-login-form ul {
	padding-top: 8px;
}

#user-login-form ul li {
	margin-left:0;
}

#right .block {
	margin-bottom: 15px;
}



/* UNUSED STYLES */

#header .title {}
#header .title a {}
#header .title a:hover {}
#header .site-slogan {}
.node .title {}
.node .title a,
.node .title a:link,
.node .title a:active,
.node .title a:visited {}
.node .title a:hover {}

/* new tags */

h1, h2, h3, h4 {
	margin: 0;
	padding: 5px;
	padding-bottom: 0px;/*10px;*/
	padding-left: 0;
}

h1,
h1.title  {
	font-weight: bold;
	font-size: 16px;
	padding-bottom: 10px;
	padding-top: 10px;
}

h2,
h2.title {
	font-size: 14px;
	color: #005A63;
	margin:10px 0 0;
}
}

#content h2.title {
	margin-bottom: 10px;
}

#switch h2 {
	color: black;
}

#right h2 {
	font-size: 15px;
	font-weight: normal;
	/*text-transform: uppercase;*/
	color: black;
}

#content h2.title a {
	font-weight: bold;
	font-size: 19px;
	padding: 0;
	margin: 0;
	text-decoration: none;
}

h3 {
	font-size: 12px;
}

h4 {
	font-size: 11px;
}


#secondary ul li {
	display: none;
}

#footer ul {
	margin: 0;
	padding: 0;
}

#footer ul li {
	float: left;
	list-style-type: none;
	list-style-image: none;
	height: 22px;
}

#footer ul li ul {
	display:none;
}

#footer a, 
#footer a:link, 
#footer a:visited  {
	text-decoration: none;
	color: white;
}

#footer a:hover, 
#footer a#active_menu-bottom {
	text-decoration: underline;
}


#right ul,
#right li {
	margin: 0;
	padding: 0;
}

#right ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
	line-height: 21px;
}

#right .item-list ul li {
	text-align: left;
}

#right ul li a, 
#right ul li a:link, 
#right ul li a:visited {
	text-decoration: none;
	font-size: 11px;
	font-weight: normal;	
}

#right ul li a:hover,
#right ul li a.active {
	text-decoration: underline;
}

#right ul li ul {
	margin: 0;
	padding: 0;
}

#right ul li ul li {
	padding-left: 10px;
	background: none;
}

#right ul li ul li,
#right ul li ul li ul li  {
	list-style-type: none;
	list-style-image: none;
}

#right ul li ul li ul li {
	padding-left: 20px;
}

#content .left, 
#content .right {
	margin:0;
}

.messages {
	margin:10px;
	padding:10px;
}


#content ul.tabs li a:link,
#content ul.tabs li a:visited {
	background:#cccccc;
}

#content ul.tabs li a.active:link,
#content ul.tabs li a.active:visited {
	background:#FFF;
	color:#000;
}

tr.odd {
	background:#dddddd;
}

tr.even {
	background:white;
}




/* blah blah creative header */
#_carbon {
	background: url(http://iyps.org/sites/all/themes/vanilla/images/header_carbon.png) no-repeat center center;
	display: block;
	height: 56px;
	width: 856px;
	margin: auto;
	margin-bottom: 15px;
}

#_carbon #cp {
	display: block;
	float: left;
	margin-left: 360px;
	padding-top: 17px;
}

#_carbon #lo {
	display: block;
	float: right;
	padding-right: 30px;
	padding-top: 17px;
}

#_carbon a {
	color: black;
	font-weight: bold;
	text-decoration: underline;
	font-family: Tahoma;
}




/* IMCE - Help box UI Improvements*/
#help-box {
  position: absolute;
  text-decoration: none !important;
  color: #f36;
  overflow: hidden;
  left: 0; **
}

#help-box-content {
  display: none;
  color: #444;
  background-color: #f5f5f5;
  border: 1px dashed #000;
  padding: 5px;
}

#help-box-title {
	font-weight: bold;
	margin-left: 15px;**
	background-color: white;**
}

#help-box:hover {
  overflow: visible;
}

#help-box:hover #help-box-content {
  display: block;
}

#ops-list #op-item-undefined {
	font-weight: bold;
	text-decoration: underline;
}

#file-preview { /* left align image, so if it's wide it can be shown OK */
	text-align: left;
}

#log-wrapper { /* hide the log wrapper - has no practical use */
	display: none;
}

#file-list-wrapper  table.files td.name { /* left align file names in file list - looks neater */
	text-align: left;
}

#log-prv-wrapper { /* increase size of the image preview area */
	height: 190px!important;
}

#log-clearer { /* hide the log clearer - now hidden, no visible output */
	display: none!important;
}


/* kill bad decoration for Control Panel in Safari */
div.control-panel-item a {
	text-decoration: none;
}

div.control-panel-item {
	border: none;
}

div.control-panel-item:hover {
	border: none;
}

#control-panel-0 span {	
	line-height: 100% 
}	




/* rounded borders */



#left .box-top {background:url(images/box.gif) top left no-repeat;}

#left .box-top div {margin-left:5px; background:url(images/box.gif) top right no-repeat; padding-top:5px;}



#left .box {background:url(images/box.gif) bottom left no-repeat; margin-bottom:10px;}

#left .box div {margin-left:5px; background:url(images/box.gif) bottom right no-repeat; padding:4px; padding-top:3px;}



#right .box-top {background:url(images/box.gif) top left no-repeat;}

#right .box-top div {margin-left:5px; background:url(images/box.gif) top right no-repeat; padding-top:5px;}



#right .box {background:url(images/box.gif) bottom left no-repeat; margin-bottom:10px;}

#right .box div {margin-left:5px; background:url(images/box.gif) bottom right no-repeat; padding:4px; padding-top:3px;}



/* used on MDG pages */
#next-page {
	border-top: dotted 1px gray;
	margin-top: 10px;
	padding-top: 3px;
}

#previous-page {
	border-bottom: dotted 1px gray;
	margin-bottom: 10px;
	padding-bottom: 3px;
}

.postinfo {
	color:#BBBBBB !important;
}

/* needed to help override 100% width definition earlier */
#page.role-government #content table {
	width: 250px;
}

/* styling from front page news items! */
.views-row-odd, .views-row-even {
	border-bottom:1px dotted gray;
	padding-bottom:10px;
}