color/**
 * @file
 * Block Styling
 */


.block { /* Block wrapper */
  margin-bottom: 1.5em;
}

.block p {
	font-size: 0.9em;
}

.block.first { /* The first block in the region */
}

.block.last { /* The last block in the region */
}

.block.odd { /* Zebra striping for each block in the region */
}

.block.even { /* Zebra striping for each block in the region */
}

h2.block-title { /* Block title */
	font-weight: normal;
	font-size: 1.4em;
	margin-bottom: 10px;
	line-height: 1.4em;/*added by PAH */
}

#block-aggregator-category-1 { /* Block for the latest news items in the first category */
}

#block-aggregator-feed-1 { /* Block for the latest news items in the first feed */
}

#block-block-1 { /* First block created with "Add block" link */
}

#block-blog-recent { /* "Recent blog posts" block */
}

#block-book-navigation { /* "Book navigation" block for the current book's table of contents */
}

#block-comment-recent { /* "Recent comments" block */
}

#block-forum-active { /* "Active forum topics" block */
}

#block-forum-new { /* "New forum topics" block */
}

#block-locale-language { /* Language switcher block */
}

#block-menu-menu-NAME { /* Custom menu block */
}

#block-node-recent { /* "Recent content" block */
}

#block-node-syndicate { /* "Syndicate" block for primary RSS feed; see also page.css's .feed-icon */
}

#block-poll-recent { /* "Most recent poll" block */
}

#block-profile-author-information { /* "Author information" block for the profile of the page's author */
}

#block-search-form { /* "Search form" block */
}

#block-shortcut-shortcuts { /* "Shortcuts" block */
}

#block-statistics-popular { /* "Popular content" block */
}

#block-system-main-menu { /* "Main menu" block */
}

#block-system-management { /* "Management" block for Drupal management menu */
}

#block-system-navigation { /* "Navigation" block for Drupal navigation menu */
}

#block-system-user-menu { /* "User menu" block for Drupal user menu */
}

#block-system-help { /* "System help" block */
}

#block-system-main { /* "Main page content" block */
}

#block-system-powered-by { /* "Powered by Drupal" block */
}

#block-user-login {
   width: 100%;
   background: url('../images/intro_background.png') repeat scroll top left;
   overflow: auto;
   /*height: 270px;*/
   /*Added by rajesh@millertech.co.uk to make the login block auto-height*/
   height: auto;
   margin-left: 5px;
   border-radius: 5px 5px 5px 5px;
}
#block-user-login h2 {
   margin: 5%;
   width: 200px;
   font-size: 1.6em;
   line-height: 1.5em;
   color: white;
}
#block-user-login .form-item label {
   display: inline-block;
   width: 110px;
   color: white;
}
#block-user-login div.form-item-pass {
   margin: 1em 0;
}
#block-user-login div.item-list ul {
   margin: 0.5em 0;
   color: #003A65;
}
#block-user-login div.item-list ul li a {
   color: #003A65;
}
#block-user-login input[type="submit"] {
   background: white;
   color: #00345F;
   padding: 4px;
   margin: 0 3px 0 0;
   border: 2px solid #00345F;
   -webkit-appearance: none;
   appearance: none;
   -webkit-border-radius: 3px;
   -moz-border-radius: 3px;
   -ms-border-radius: 3px;
   -o-border-radius: 3px;
   border-radius: 3px;
   text-decoration: none;
   font-weight: bold;
   font-size: 1.0em;
}


#block-user-new { /* "Who's new" block for a list of the newest users */
}

#block-user-online { /* "Who's online" block for a list of the online users */
}

/* google custom search engine block */
#block-google-cse-google-cse {
	width: 280px;
	position: absolute;
	top: 25px;
	margin-left: 150px;


}

	#block-google-cse-google-cse #google-cse-results-gadget {
		display: none;
	}

		#block-google-cse-google-cse .form-text {
			width: 200px;

			-webkit-border-radius: 5px;
			   -moz-border-radius: 5px;
			    -ms-border-radius: 5px;
			     -o-border-radius: 5px;
			        border-radius: 5px;
		}

/* Block Buttons */
.arrow {
	padding: 0 3px;
}

.arrow.blue:after {
	content: url('../images/arrow_blue.png') no-repeat right;
	position: relative;
	top: 3px;
}

.arrow.white:after {
	content: url('../images/arrow_white.png') no-repeat right;
	position: relative;
	top: 3px;
}

/* Custom Created Blocks */
/* frontpage content blocks */
/*background colour changed from #000 to #00345F ---- MTL 14-Nov-2013*/

#content_bottom .block-block,
#content_bottom .block-views,
.sidebars .block-block,
.sidebars .block-views,
.sidebars .block-menu,
.sidebars .block-menu-block,
.sidebars .block-multiblock {
	float: left;
	display: inline;
	width: 28%;
	margin: 6px;
	/*background: #00345F;*/
	/*color: #FFF;*//*move text colour to section below and removed sidebar block-block*/
	padding: 2%;
	height: 250px;
	position: relative;

	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	    -ms-border-radius: 5px;
	     -o-border-radius: 5px;
	        border-radius: 5px;
}

#content_bottom .block-block,
#content_bottom .block-views,
.sidebars .block-views,
.sidebars .block-menu,
.sidebars .block-menu-block,
.sidebars .block-multiblock {
	color: #FFF;
}



#content_bottom #block-aggregator-feed-1,
#content_bottom #block-views-npj-feed-view-block {
	float: left;
	display: inline;
	width: 28%;
	margin: 6px;
	color: #FFF;
	padding: 2%;
	position: relative;

	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	    -ms-border-radius: 5px;
	     -o-border-radius: 5px;
	        border-radius: 5px;
}


#content_bottom #block-block-18 {
   width: 95%;
   margin: auto;
   background: #ffffff;
   color:#000000;
  /* height: 85px;mtl change*/
   height: auto;
   text-align: center;
}
#content_bottom #block-block-18 h2 {
   display:none;
}
#content_bottom #block-block-18 img {
   height: 75px;
   margin-right: 15px;
}

/* make width bigger for sidebars */
.sidebars .block-block,
.sidebars .block-views,
.sidebars .block-menu,
.sidebars .block-menu-block,
.sidebars .block-multiblock {
	width: 90%;
	padding: 6%;
}

	.block-block h2.block-title {
		font-size: 1.6em;
	}

/* Block Buttons */

#buttons {
	position: absolute;
	bottom: 4%;
}

.block-block .button,
.block-multiblock .button,
#block-aggregator-feed-1  .button { /* block buttons */
	float: left;
	display: inline;
	padding: 3px;
	margin: 0 3px 0 0;
	border: 2px solid #00345F;	

	/* Remove default button style */
	-webkit-appearance: none;
	appearance: none;

  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
      -ms-border-radius: 3px;
       -o-border-radius: 3px;
          border-radius: 3px;
}
	.block-block h3,
	.block-multiblock h3 {
		font-size: 0.9em;
	}
	.block-block h3 a,
	.block-multiblock h3 a {
		text-decoration: none;
		font-weight: bold;
		color: inherit;
		font-size: 1.2em;
	}
		.block-block .button.info,
		.block-multiblock .button.info {
			background: #FFF;
			color: #00345F;
		}
			.block-block .button.register,
			.block-multiblock .button.register {
				background: #FACF42;
				color: #00345F;
			}

				.block-block .button.join,
				.block-multiblock .button.join {
					background: #00345F;
					color: #FFF;
				}


#content_bottom #block-block-1 {
	width: 61%;
	background: url('../images/intro_background.png') repeat scroll top left;
	overflow: hidden;
}

	#block-block-1 span {
		font-weight: bold;
		font-size: 90%;
	}
		#block-block-1 p {
			margin: 0 0 10px 0;
			line-height: 1.5em;
		}
			#block-block-1 #author {
              float: right;
              margin: -60px -4% 0 0;
              }



#content_bottom #block-block-2 {
	color: #00345F;
	background: #BBD953;
	position: relative;
	height: 350px;
}

#block-block-2 a#practice_button,
#block-aggregator-feed-1 a#practice_button {
		position: absolute;
		right: -35px;
		top: -40px;
		z-index: 9;
}
#block-block-2 h2,
#block-aggregator-feed-1 h2 {
			width: 80%;
			/*line-height: 1.3;*//*removed by PAH*/
}
#block-block-2 p,
#block-views-npj-feed-view-block p, 
#block-aggregator-feed-1 p {
				font-size: 1em;
}
#content_bottom #block-block-2,
#content_bottom #block-views-npj-feed-view-block ul,
#content_bottom #block-aggregator-feed-1 ul {
	padding: 0 0 0 15px;
	margin: 0;
}
#content_bottom #block-block-2,
#content_bottom #block-views-npj-feed-view-block a,
#content_bottom #block-aggregator-feed-1 a {
	font-size: 0.95em;
	color: #00345f;
}
#block-aggregator-feed-1 .authorsc {
	color: #335D7F;
}
#block-views-npj-feed-view-block .pubdate,
#block-aggregator-feed-1 .authors {
	font-style: italic;
	color: #335D7F;
}

#block-multiblock-1,
#block-multiblock-3,
#block-multiblock-4 {
	background: #00345F;
	height: 300px;
}

#content_bottom #block-block-3,
#content_bottom #block-block-4,
#content_bottom #block-block-5,
#content_bottom #block-block-8,
#content_bottom #block-block-29,
#content_bottom #block-views-news-block-1,
#content_bottom #block-views-events-block
{
	background: #00345F;
	height: auto;
	overflow: display;
}

#content_bottom #block-block-3 h2,
#content_bottom #block-block-8 h2,
#content_bottom #block-block-29 h2,
#content_bottom #block-views-news-block-1 h2,
#content_bottom #block-views-events-block h2 {
	margin-bottom: 0;
/*	line-height: 1.6em;*//*removed by PAH*/
}

#content_bottom #block-block-3 p,
#content_bottom #block-block-8 p,
#content_bottom #block-block-29,
#content_bottom #block-views-news-block-1,
#content_bottom #block-views-events-block p {
	margin-top: 0.5em;
}

#block-block-4 #image,
#block-multiblock-3 #image {
		height: 150px;
		overflow: hidden;
		margin: -19px;

	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	-ms-border-radius: 5px 5px 0 0;
	-o-border-radius: 5px 5px 0 0;
	border-radius: 5px  5px 0 0;
}

#block-block-5 #image,
#block-multiblock-1 #image,
#block-multiblock-4 #image {
	height: 150px;
	margin: 10px 10px 0 0;
	float: left;
}


#block-block-5 img,
#block-multiblock-1 img,
#block-multiblock-4 img {
	height: 125px;
	margin: -1.5em auto 0 auto;
	display:block;
}

#block-block-4 img.crop,
#block-multiblock-3 img.crop {
			width: 320px;
			/* margin: -70px 0px 0px 0px; */
			/* margin: -103px 0px 0px 0px; */			
			margin: 0;
}


#block-block-4 h2.block-title,
#block-multiblock-3 h2.block-title{
	position: absolute;
 	top: 150px
}

#block-block-4 #block_content,
#block-multiblock-3 #block_content { /* need block title to display above the image */
	margin-top: 3.75em;
}

#content_bottom #block-block-10,
#content_bottom #block-block-9 { /* Latest Resources Block */
  background-image: url('../images/resources_block_background.png');
  background-repeat: no-repeat;
  background-position: 150px 0;
  background-color: #facf42;
  height: 350px;
}

    #block-block-10 h2,
    #block-block-9 h2 {
    	line-height: 1;
    	color: #003A65;
    }

       #block-block-10 ul.content_list,
       #block-block-9 ul.content_list {
       		list-style-image: none;
       		list-style-type: none;
    	}


	    	#block-block-10 ul.content_list li,
	    	#block-block-9 ul.content_list li {
	    		list-style-image: none;
	    		list-style-type: none;
	    		margin: 30px 5px 10px 15px;
	    	}

	    		#block-block-10 ul.content_list li a,
	    		#block-block-9 ul.content_list li a {
	    			color: #003A65;
	    			font-weight: bold;
	    			font-size: 1em;
	    		}
#block-block-9 ul,
#block-block-10 ul {
	padding: 0;
}
#block-block-9 ul li,
#block-block-10 ul li {
	list-style-image: none;
	list-style-type: none;
	height: 85px;
	margin: 0;
}

#block-block-9 ul li img,
#block-block-10 ul li img {
	float: left;
	margin: 0 5px 0 0;
}
#block-block-9 ul li a,
#block-block-10 ul li a {
	font-weight: bold;
}

/* alternative content inside blocks */
#block_content p {
	margin: 1em 0;
}

#content_bottom #block-views-events-block {
	color: #FFFFFF;
	position: relative;
	height: 350px;
}

#content_bottom #block-views-news-block-1 {
	color: #FFFFFF;
	position: relative;
	height: 300px;
}

#block-views-news-block-1 h4 a {color:white;}
#block-views-news-block-1  h2.block-title{color:white;}
#block-views-news-block-1  a:link{color:white;}

#block-views-events-block h4 a {color:white;}
#block-views-events-block h2.block-title{color:white;}
#block-views-events-block  a:link{color:white;}

/*#block-block-6 {  /* Latest PCRJ Articles 
	color: #00345F;
	background: #BBD953;
}

#block-block-7 { /* Resources 
	color: #00345F;
	background: #BBD953;
}*/

/*

#block-block-17 {
	width: 94.5%!important;
	height: 100px!important;
	color: #000000!important;
	background: #ffffff!important;
	text-align: center;
	overflow-x: auto;
	overflow-y: hidden;
}
#block-block-17 ul {
	list-style:none;
	margin: 0 auto;
	padding: 0;
	white-space: nowrap;
}
#block-block-17 ul li {
	margin: 0 5px 0 0;
	display: inline;
}
#block-block-17 ul li img {
	height: 80px!important;
}
*/

/* Latest news scroller */
/* #block-views-latest-blocks-block div.jcarousel-container-vertical {
	height: 300px;
	width:100%;
	padding: 20px 20px 40px 20px;
}

#block-views-latest-blocks-block .jcarousel-skin-default .jcarousel-clip-vertical {
	height: 300px;
} */

/*
.jcarousel-skin-default .jcarousel-item,
.jcarousel-list li,
.jcarousel-item {
	padding: 0;
	width: 100%;
	height: 150px!important;
	overflow: hidden;
	border: 1px solid #CCC;
	list-style: none;
	background: #fff none;
}
.jcarousel-skin-default .jcarousel-container-vertical {
	height: 320px;
	overflow: hidden;
}
.jcarousel-skin-default .jcarousel-container-vertical {
	width: 100%;
	padding: 0;
	margin: auto;
}
a.jcarousel-prev,
a.jcarousel-next {
	display:none!important;
}
*/

/* footer block content */
#footer .block-block {
	float: none;
	width: auto;
	height: auto;
	background: none;

	-webkit-border-radius: 0px;
	   -moz-border-radius: 0px;
	    -ms-border-radius: 0px;
	     -o-border-radius: 0px;
	        border-radius: 0px;
}

#footer #block-block-6 {
	margin: 0px 20px;
	font-size: 85%;
	color: #FFF;
	line-height: 1.5em;
	clear: both;
}

#footer #block-block-6 a,
#footer #block-block-6 a:hover,
#footer #block-block-6 a:visited {
	color: white!important;
}

/* Footer Social media icons */
#footer #block-block-7 {
	margin-top: 10px;
}

	#footer ul.social_media {
	  list-style: none;
	  list-style-image: none;
	  float: right;
	  clear: both;
	  padding: 0;
	  margin: 0;
	}

		#footer ul.social_media li.icon {
		  list-style-image: none;
		  list-style-type: none;
		  float: left;
		  display: inline;
		  margin: 5px;
		}

/* PCRS Custom Classes for Blocks */ 
.pcrs-blue-block{
                background: #00345F;
                color: #FFFFFF;
    		}
    		
.pcrs-grey-block {
    		background: #CCCCCC;
    		color: #335D7F;
                }    		

.pcrs-green-block {
    		background-color: #BBD953;
    		background-image: url("../images/article_block_background.png");
    		background-position: 180px -20px;
    		background-repeat: no-repeat;
    		color: #00345F
		}
                
.pcrs-yellow-block {
    		background-color: #FACF42;
   		background-image: url("../images/resources_block_background.png");
    		background-position: 150px 0;
    		background-repeat: no-repeat;
    		color: #335D7F
		}                
      
        