@import url('content.css?3');

/* #0067B1 #0067B1 */

body { background: #DBDBDB; }

img { border: 0; }

dl { }
  dt { font-size: 110%; font-weight: bold; color: #0067B1; margin-top: 10px; }
  dd { font-weight: bold; }

.first { margin-top: 0 !important }
.mixed-case { text-transform: none; }
.rss-link { margin: 15px 0; padding: 3px 0 3px 20px; display: block; background: url(../images/rss.gif) no-repeat left center; }

.cl { clear: left; }
.cr { clear: right; }
.cb { clear: both; }

.inner-content { width: 900px; margin-left: auto; margin-right: auto; }

.sep { margin: 0 0.5em; }

.hr { height: 1px; background: #dbdbdb; margin: 15px 0; }
  .hr hr { display: none }
  
blockquote.styled { background: url(../images/quote-nw.gif) no-repeat top left; padding: 26px 0 0 1px; }
  blockquote.styled div { background: url(../images/quote-se.gif) no-repeat bottom right; padding: 0 0 26px 0; }

a.attachment-link * { vertical-align: middle; }
/*	a.attachment-link * { display: block; }
*/
/* Tab Bars */
.tab-bar { border-bottom: 1px solid #dbdbdb; margin: 0; padding-bottom: 32px; text-transform: uppercase; }
	.tab-bar ul,
	.tab-bar li { display: inline; list-style-type: none; margin: 0; padding: 0; }
	.tab-bar a { background: #CFCFCF url(../images/module-header-gradient.gif) repeat-x top; color: white; font-size: 11px; line-height: 11px; padding: 10px 10px; float: left; margin: 0 5px 0 0; border: 1px solid #dbdbdb;  color: black; }
		.tab-bar a.selected { border-bottom-color: white; background: white; font-weight: bold; color: #006AAF;  }
.tab-bar-box { border: 1px solid #dbdbdb; border-top: none; padding: 5px; position: relative; }  

/* Rounded corners */

.rounded, .rounded-top, .rounded-bottom  { position: relative; }
.tl, .tr, .bl, .br { position: absolute; width: 2px !important; height: 2px !important; line-height: 1; font-size: 1px; margin: 0; padding: 0; border: 0; }
.tl { top: 0; left: 0; background: url(../images/tl.gif) no-repeat top left;  }
.tr { top: 0; right: 0; background: url(../images/tr.gif) no-repeat top left; }
.bl { bottom: 0; left: 0; background: url(../images/bl.gif) no-repeat top left; }
.br { bottom: 0; right: 0; background: url(../images/br.gif) no-repeat top left; }

/* Forms */

input.hint { color: #a0a0a0 !important; }

.iw { background: #DBDBDB; padding: 2px; }
  .iw input,
	.iw textarea { border: 0; background: none; width: 100%; color: black; line-height: 1; padding: 0; }

.tabular-form { border-bottom: 4px solid #0067B1; margin-top: 20px; }
	.tabular-form table { width: 100%; margin-bottom: 20px; }
		.tabular-form th,
		.tabular-form td { vertical-align: middle; padding: 5px 0; }
		.tabular-form td { width: 245px; }
		.tabular-form label { font-weight: bold; color: #0052A6; text-transform: uppercase; }
		.tabular-form textarea { height: 120px; }
		.tabular-form select { display: block; width: 100%; }
		.tabular-form .iw { background: white; border: 1px solid #dbdbdb; }
		.tabular-form .date-select { }
			.tabular-form .date-select select { width: auto; display: inline; }
	.tabular-form .submit { float: right; }
	
.rounded-box-form { }
  .rounded-box-form .iw { background: white; border: 1px solid #dbdbdb; margin-bottom: 5px; padding: 5px; }
  .rounded-box-form .iw { -webkit-border-radius: 2px; -moz-border-radius: 2px; }
  .rounded-box-form .hint { text-transform: uppercase; color: #0067B1 !important; }
  .rounded-box-form .buttons { text-align: right; margin-top: 15px; }
  
/* Frame for general content pages with optional pagination */
.frame { margin: 10px 0; }
  .frame-pagination { float: right; margin-top: -20px; font-size: 11px; }
    .frame-pagination li { float: left; margin-left: 4px; }
			.frame-pagination a,
			.frame-pagination .label { background: white; color: #0067B1;  display: block; padding: 3px; border: 1px solid #DBDBDB; border-bottom: none; text-transform: uppercase; }
			.frame-pagination a.text, 
			.frame-pagination .label { font-weight: bold; padding-left: 5px; padding-right: 5px; }
			.frame-pagination .label { color: black; }
    .frame-pagination li.selected { }
      .frame-pagination li.selected a { background: #DBDBDB; color: black; }

		.frame-pagination-left { float: left; }
			.frame-pagination-left li { margin-left: 0; margin-right: 4px; }
		
		.frame-pagination-inverted { }
			.frame-pagination-inverted  a { background: #DBDBDB; color: black; }
			.frame-pagination-inverted li.selected a { color: #0067B1; background: white; font-weight: bold; }

  .frame-inner { clear: both; border: 5px solid #dbdbdb; }

	.single-main .frame .slideshow,
	.single-main .frame .slideshow li,
	.single-main .frame .slideshow .video-player { width: 430px; height: 325px; }
	.double-main .frame .slideshow,
	.double-main .frame .slideshow li,
	.double-main .frame .slideshow .video-player { width: 650px; height: 205px; }
	
	#contact-map-wrapper .frame .slideshow,
	#contact-map-wrapper .frame .slideshow li { height: 390px; }
	

/* Pagination for search results */  
.pagination { text-transform: uppercase; font-size: 11px; line-height: 1; font-weight: bold }
	.pagination label { display: block; font-size: 10px; font-weight: bold; text-transform: none; margin-bottom: 5px; }
  .pagination ul { }
  .pagination li { float: left; margin-right: 4px; border: 1px solid #dbdbdb; height: 11px; padding: 4px 4px 3px 4px; }
    .pagination .number { width: 18px; padding-left: 0; padding-right: 0; text-align: center; background: #dbdbdb; font-weight: normal; }
      .pagination .number a { color: black; }
    .pagination .selected { background: white !important; font-weight: bold !important;}
      .pagination .selected span { color: #0067B1; }
    .pagination .display-all { float: right; margin-right: 0; }
    .pagination .next { margin-right: 0; }
  .pagination a { }

.pagination-top { margin-bottom: 20px; }
.pagination-bottom { margin-top: 20px; float: right; }

/* Search results list */
.results { line-height: 1.3; }
  .results li { position: relative; border-bottom: 4px solid #0067B1; margin-top: 10px; padding: 0 30px 0 0; }
	.results .thumb { float: left; margin-right: 10px; }
    .results .thumb img { display: block; }
	.results .event-date-box { float: left; border: 3px solid #0052A6; }
  .results .more { position: absolute; bottom: 0; right: 0; }
	.results .region { position: absolute; bottom: 0; right: 35px; }
	.results .date { font-weight: bold; }

.results-downloads li .thumb { height: 64px; }
	.results-downloads li .inner { margin: 0 0 20px 40px; }

.results-search li,
.results-jobs li { padding-bottom: 10px !important; }

.box-list { }
  .box-list li { padding: 5px; margin-bottom: 10px; border: 1px solid #dbdbdb; }
  .box-list .thumb { display: block; width: 110px; height: 85px; float: left; }
  .box-list .inner { margin-left: 120px; margin-right: 10px; }
  .box-list h2 { margin-bottom: 5px; }
  .box-list .buttons { padding: 5px 0; }
  
.inline-search { margin: 20px 0; }
  .inline-search label { color: #0067B1; font-size: 12px; }
  .inline-search .row { margin-bottom: 5px; }

/* Contact Details */
.contact-details { border: 1px solid #dbdbdb; padding: 4px; margin-bottom: 20px; }
  .contact-details .main-image { float: left; width: 215px; }
  .contact-details .content { margin-left: 215px; padding: 10px 10px 0 15px; }

/* Sidebar search box */
.search-box { border: 1px solid #dbdbdb; margin-bottom: 10px; }
  .search-box .inner { padding: 10px; }
  .search-box h2 { margin-bottom: 3px; }
  .search-box h3 { margin: 10px 0 3px 0; text-transform: none; }
  .search-box select { display: block; width: 100%; }
  .search-box .date select { margin-bottom: 0.3em; }
	.search-box .buttons { border-top: 1px solid #dbdbdb; text-align: right; padding: 5px; }
  
/* Slideshow */
.slideshow { overflow: hidden; position: relative; }
	.slideshow ul { width: 5000px; margin: 0; padding: 0; position: absolute; top: 0; left: 0; }
	.slideshow li { display: block; list-style: none; float: left; overflow: hidden; }

.slideshow-label { position: absolute; left: 0; top: 0; padding: 5px 10px; font-weight: bold; color: #0052A6; text-transform: uppercase; background: white; font-size: 11px; }

/* Carousel */
.carousel { }
	.carousel ul { position: relative; overflow: hidden; }
	.carousel li { position: absolute; top: 0; left: 0; list-style: none; display: block; overflow: hidden; }

/* Video player */
.video-player { }
	.video-player .video-url { display: none; }
	.video-player img { display: none; }
	
/* Flash player */
.flash-player { }
	.flash-player .flash-url { display: none; }
	
/* Tooltips */
.tipsy { padding: 5px; font-size: 10px; opacity: 0.8; filter: alpha(opacity=80); background-repeat: no-repeat; }
  .tipsy-inner { padding: 4px 5px; background-color: black; color: white; max-width: 200px; text-align: center; }
  .tipsy-north { background-image: url(../images/tipsy-north.gif); background-position: top center; }
  .tipsy-south { background-image: url(../images/tipsy-south.gif); background-position: bottom center; }
  .tipsy-east { background-image: url(../images/tipsy-east.gif); background-position: right center; }
  .tipsy-west { background-image: url(../images/tipsy-west.gif); background-position: left center; }
  
/* Bubbles */
.form-bubble { background: #CEE1EC; border: 1px solid #007DC1; padding: 7px; font-size: 10px; font-weight: bold; font-style: italic; width: 150px; display: none; }
  .form-bubble-decoration { position: absolute; top: 5px; left: -11px; background: url(../images/form-bubble-arrow.gif); width: 11px; height: 17px; }

/* Boxes at top of Downloads/Press/Investing in Events pages */
.feature-box-wrapper { margin-bottom: 20px; }
  .feature-box-wrapper .frame-pagination { margin-top: 0 }
  .feature-box-wrapper .slideshow { clear: both; height: 230px; }
  .feature-box-wrapper .slideshow-label { background: #dbdbdb; }
.feature-box { position: relative; padding: 5px; background: #dbdbdb; height: 220px; width: 648px; }
  .feature-box h1 { margin-bottom: 0.8em; }
  .feature-box h2 { color: black; }
  .feature-box .image { float: left; width: 350px; height: 220px; }
  .feature-box .text { padding-top: 15px; padding-right: 15px; padding-left: 370px; }
  .feature-box .buttons { margin-top: 5px; }
  
/* FAQ blocks (used on SSET template) */
.faq-block { background: #E2E2E2; padding: 10px; margin: 3px 0; }
  .faq-block h2 { text-transform: none; background: url(../images/faq-expand.gif) no-repeat right center; cursor: pointer; cursor: hand; }
    .faq-block h2.expanded { background-image: url(../images/faq-contract.gif); }
  .faq-block .faq-block-content { display: none; padding-top: 5px; }
  
/* Polls */
.poll { }
  .poll .thanks { font-size: 14px; background-color: #DBDBDB; color: #0D6DB9; text-transform: uppercase; padding: 10px; font-weight: bold; }
  .poll .buttons { text-align: right; }
  .poll h2,
  .poll-question label { display: block; font-size: 14px; color: #0D6DB9; text-transform: none; font-weight: bold; margin-bottom: 10px; }
  .poll-question li { display: block; background-color: #DBDBDB; margin-bottom: 8px; padding: 5px; }
  
/* Home Page */

.home-page { }

.home-page-teasers { margin-bottom: 20px; }
	.home-page-teasers .main { border: 5px solid #dbdbdb; width: 583px; height: 329px; position: relative; float: left; }
		.home-page-teasers .main .home-page-teaser-item { background: #dbdbdb; width: 583px; height: 329px; position: relative; }
		
	.home-page-teasers .buttons { float: left; margin-left: 5px; width: 302px; font-size: 11px; position: relative; }
		.home-page-teasers .buttons a { display: block; border: 1px solid #dbdbdb; height: 65px; padding: 7px 7px 7px 82px; background-position: 7px 7px; background-repeat: no-repeat; margin-bottom: 5px; color: black; background-color: white; }
			.home-page-teasers .buttons a.selected { background-color: #dbdbdb; margin-left: -5px; padding-left: 87px; background-position: 12px 7px; }
		.home-page-teasers .buttons .title { font-weight: bold; color: #0052A6; text-transform: uppercase; }
	
	.home-page-teasers .video-player { width: 583px; height: 329px; }
	.home-page-teasers-full-image { display: block; width: 583px; height: 329px; }
	
	.home-page-teasers-small-images { float: left; }
	.home-page-teasers-small-images,
		.home-page-teasers-small-images ul,
		.home-page-teasers-small-images li,
		.home-page-teasers-small-images a,
		.home-page-teasers-small-images img { display: block; width: 345px; height: 329px; }
	
	.home-page-teasers-content { float: left; width: 188px; height: 279px; padding: 30px 20px 20px 30px; position: relative; }
		.home-page-teasers-content h1 { font-size: 18px; margin: 0; }
		  .home-page-teasers-content h1 a { color: #0067B1; text-decoration: none; }
		.home-page-teasers-content h2 { font-size: 14px; text-transform: none; font-weight: normal; margin: 0; }
		.home-page-teasers-content p { margin: 14px 0; }
		.home-page-teasers-content .more { position: absolute; bottom: 20px; right: 20px; }
	
.home-page-intro { padding: 30px; background: #DBDBDB; margin-bottom: 20px }

.home-page-left { float: left; width: 593px; }
.home-page-right { float: left; width: 282px; margin-left: 20px; }

.home-page .banners { padding: 8px 0 8px 15px; margin-top: 20px; }
	.home-page .banners a { float: left; margin: 0 9px 0 0; }
		.home-page .banners a.first { margin-left: 0; }
		.home-page .banners a.last { margin-right: 0; }
	
.home-page-whats-new { width: 313px; float: left; }
	.home-page-whats-new-wrapper { width: 280px; overflow: hidden; }
	.home-page-whats-new ul { width: 5000px; }
	.home-page-whats-new li { float: left; width: 280px; }
  .home-page-whats-new blockquote { font-size: 16px; margin: 0; }
.home-page-funding-resources { width: 260px; float: left; margin-left: 20px; }

	.home-page-module .module-title { background: #CFCFCF url(../images/module-header-gradient.gif) repeat-x top; padding: 10px; }
		.home-page-module .module-title .left { float: left; }
		.home-page-module .module-title .right { float: right; }
		.home-page-module .module-title .rss { font-weight: normal; text-transform: none; font-size: 11px; background: url(../images/rss-12.gif) no-repeat left center; padding-left: 16px; }
	.home-page-module-inner { padding: 15px; border: 1px solid #dbdbdb; border-top: none; min-height: 120px; }
		.with-image { background-repeat: no-repeat; background-position: 15px 15px; padding-left: 100px; }

.home-page-media { }
	.home-page-media-inner .home-page-media-item { border: 1px solid #dbdbdb; border-top: none; padding: 5px; margin-bottom: 10px; }
	.home-page-media .video-player,
	.home-page-media-inner .slideshow,
	.home-page-media-inner .slideshow li { width: 270px; height: 210px; }
	.home-page-media-pagination { margin-top: 5px; }
		.home-page-media-pagination .prev { float: left; }
		.home-page-media-pagination .next { float: right; }
	
  .home-page-media-item .poll .thanks { margin-bottom: 110px; }
	.home-page-media-item .poll { padding: 9px; }
	
/* Event Pages */

.event-list-teasers { margin-bottom: 15px; }
.event-list-teasers .frame-pagination { margin-top: 0 }
	
	.event-list-teasers-inner { clear: both; border: 1px solid #cdcdcd; height: 210px; }
		.event-list-teasers-inner ul { }
		.event-list-teasers-inner li { width: 202px; height: 185px; padding: 10px 10px 10px 446px; background-repeat: no-repeat; background-position: 5px 5px; position: relative; }
			.event-list-teasers-inner p.date { margin: 5px 0; color: #0052A6; }
			.event-list-teasers-inner .more { position: absolute; bottom: 5px; right: 10px; }
		.event-list-teasers-inner label { }
		
.event-list { margin-top: 20px; }

.event-page-header { border: 1px solid #dbdbdb; padding: 5px; margin-bottom: 10px; position: relative; height: 205px; }
	.event-page-header p { font-size: 12px; color: #0052A6; margin-top: 5px; }
	.event-page-header .slideshow { position: absolute; width: 429px; height: 205px; top: 5px; right: 5px; }
		.event-page-header .slideshow li { width: 429px; height: 205px; }
	.event-page-header .event-title { float: left; padding: 10px; width: 199px; }
		.event-page-header .event-region { font-weight: bold; }
	.event-page-header .pagination { position: absolute; bottom: 15px; left: 15px; }

.event-title { }
	.event-title .event-region { font-weight: bold; }

.event-details { }
	.event-details a { font-weight: bold; }
	.event-details h2 { text-transform: none; }
	.event-details .left { float: left; width: 230px; }
	.event-details .right { float: left; width: 200px; margin-left: 10px; }
	.event-details .event-date-box { float: left; margin-bottom: 10px; }
	.event-details .add-to-calendar { margin: 0 0 10px 57px; display: block; font-size: 12px; margin-top: -2px; }

.event-date-box { width: 47px; height: 47px; line-height: 1; text-align: center; font-weight: bold; background: #0052A6; text-transform: uppercase; }
	.event-date-box .month,
	.event-date-box .year { font-size: 9px; padding: 2px 0; display: block; }
	.event-date-box .month { color: white; }
	.event-date-box .year { color: #8DB5D8; }
	.event-date-box .day { color: white; font-size: 20px; display: block; }
	
.related-events { border: 1px solid #dbdbdb; margin-bottom: 10px; position: relative; }
  .related-events .slideshow-label { background: #dbdbdb; }
  .related-events .slideshow { border: 4px solid #dbdbdb; border-bottom-width: 5px; }
  .related-events .slideshow,
  .related-events .slideshow li { width: 210px; height: 185px; }
  .related-events .slideshow li { background: #dbdbdb; }
    .related-events .slideshow img { display: block; margin-bottom: 5px; }
    .related-events .event-title { text-transform: uppercase; font-weight: bold; }
  .related-events .pagination { padding: 4px; }
    .related-events a.prev { float: left; }
    .related-events a.next { float: right; }
  
	
/* Galleries */

.gallery-frame { background: url(../images/frame-gradient.gif) #E2E2E2 repeat-x bottom; padding: 5px; margin-top: 10px; }
	.gallery-frame-inner,
	.gallery-item,
	.gallery-item .video-player { width: 430px; height: 325px; }
	.gallery-frame-inner { display: block; margin: 0 auto; position: relative; overflow: hidden; }
		.gallery-frame-inner .gallery-item { position: absolute; top: 0; left: 0; }
	.gallery-buttons { padding: 10px 5px 5px 5px }
		.gallery-buttons .prev { float: left; }
		.gallery-buttons .next { float: right; }
.gallery-thumbs { margin: 20px 0 10px 0; }
	.gallery-thumbs li { float: left; margin: 0 10px 10px 0; display: block; list-style: none; width: 80px; height: 60px; overflow: hidden; }
	.gallery-thumbs .last-in-row { margin-right: 0; }
	.gallery-thumbs .first-in-row { clear: left; }
	.gallery-thumbs a { display: block; border: 0 solid #6F6F6F; width: 80px; height: 60px; position: relative; background-repeat: no-repeat; background-position: top left; }
	.gallery-thumbs img { display: none; }
	
/* News */

.results-news-list .date { color: #0052A6; font-weight: normal; }
	.results-news-list li { border-bottom: 4px solid #0052A6; padding: 0 0 10px 0; margin: 10px 0; }
	.results-news-list img,
	.results-news-list .video-player { display: block; border: 5px solid #dbdbdb; width: 430px; margin: 10px 0 10px 0; }
  .results-news-list .video-player { height: 240px; }

/* Contact Us */

.contact-us { margin-top: 20px; }
	.contact-us .left { width: 250px; float: left; }
	.contact-us .right { width: 380px; float: left; margin-left: 30px; }

/* Main layout regions */

.left-sidebar { width: 220px; float: left; }

.single-right { float: left; margin-left: 20px; width: 440px; border-top: 1px solid #DBDBDB; padding-top: 15px; }
.double-right { float: left; margin-left: 20px; width: 660px; border-top: 1px solid #DBDBDB; padding-top: 15px; }

.double-main { width: 660px; float: left; margin-left: 20px; }
.single-main { width: 440px; float: left; margin-left: 20px; }
  .single-right .single-main,
  .double-right .single-main,
	.double-right .double-main,
 	.double-main .single-main { margin-left: 0; }

.right-sidebar { float: left; width: 200px; margin-left: 20px; }
  .right-sidebar .top-box { border-top: none !important; margin-top: -15px; }

/* Sidebar buttons */

.left-sidebar .button  { margin-bottom: 10px; width: 220px; height: 46px; display: block; text-indent: -10000px; background-repeat: no-repeat; }
.right-sidebar .button { margin-bottom: 10px; width: 200px; height: 46px; display: block; text-indent: -10000px; background-repeat: no-repeat; }

.left-sidebar  .button-funding-enquiry { background:url(../images/btn/es-funding-220.gif); }
.left-sidebar  .button-previous-events { background:url(../images/btn/es-previous-events-220.gif); }
.left-sidebar  .button-more-events-in-scotland { background:url(../images/btn/more-events-in-scotland-220.gif); }
.right-sidebar .button-funding-enquiry { background:url(../images/btn/es-funding-200.gif); }
.right-sidebar .button-previous-events { background:url(../images/btn/es-previous-events-200.gif); }

.left-sidebar .button-latest-poll { background:url(../images/btn/latest-poll-220.gif); height: 77px; }
.right-sidebar .button-latest-poll { background:url(../images/btn/latest-poll-200.gif); height: 77px; display: none; }

.left-sidebar .button-box { background: #dbdbdb; padding: 5px; }
	.left-sidebar .button-box a { display: block; margin: 5px auto 0 auto; }

/* Showcase Slideshow */
.showcase-slideshow .frame-pagination { margin-top: -27px; margin-right: -6px; _margin-right: -3px; }
.showcase-slideshow .slideshow-controls { padding: 10px; border: 1px solid #dbdbdb; border-top: none; font-weight: bold; text-transform: uppercase; background: url(../images/module-header-gradient-2.gif) repeat-x center center; }
  .showcase-slideshow .slideshow-controls .prev { float: left; }
  .showcase-slideshow .slideshow-controls .next { float: right; }
  

/* Showcase Layout */

.showcase-layout { }
	.showcase-layout .showcase-teaser { background: #DBDBDB; padding: 5px; margin-bottom: 20px; }
	.showcase-layout .showcase-teaser-media { width: 345px; height: 335px; overflow: hidden; float: left; display: block; }
	.showcase-layout .showcase-teaser-content { padding: 20px 20px 20px 370px; font-size: 11px; }
	.showcase-layout .showcase-teaser h1 { font-size: 24px; margin-bottom: 10px; line-height: 1; }
	
	.showcase-bottom { margin-bottom: 30px; }
	
	.showcase-layout .showcase-video { width: 287px; float: left; }
		.showcase-layout .showcase-video .video-player { width: 275px; height: 215px; }

	.showcase-layout .showcase-slideshow { width: 357px; float: left; margin-left: 16px; }
		.showcase-layout .showcase-slideshow .slideshow,
		.showcase-layout .showcase-slideshow .slideshow li { width: 345px; height: 215px; }
		
/* Modular Page */

.modular-page { }

  .modular-page .feature-box .text { font-size: 12px; line-height: 1.2; }
  .modular-page .feature-box .text h1 { font-size: 14px; margin-bottom: 8px; }
  
  .modular-page-column-1 { float: left; width: 410px; }
	.modular-page-column-2 { float: left; width: 230px; margin-left: 20px; }
	
	.modular-page .showcase-slideshow { margin: 0 0 20px 0; }
		.modular-page .showcase-slideshow .slideshow,
		.modular-page .showcase-slideshow .slideshow li { width: 398px; height: 130px; }
		
	.modular-panel { }
		.modular-panel .image { width: 175px; height: 130px; float: left; position: relative; }
		.modular-panel .label { position: absolute; top: 0; left: 0; color: white; background: #0067B1; text-transform: uppercase; padding: 3px 5px; font-size: 11px; opacity: 0.7; filter: alpha(opacity=70); }
		.modular-panel .text { margin-left: 180px; padding: 10px; font-size: 12px; }
		.modular-panel h2 { font-size: 14px; line-height: 1.2; }
		.modular-panel p { margin: 5px 0 }
		
	.modular-page-module { border: 1px solid #dbdbdb; margin-bottom: 20px }
		.modular-page-module h2 { padding: 9px; }
			.modular-page-module h2.bordered { border-bottom: 1px solid #dbdbdb; }
		.modular-page-module .text { padding: 19px; font-size: 12px; }
		.modular-page-module .button { background: url(../images/modular-gradient.gif) repeat-x center center; text-transform: uppercase; padding: 5px; margin: 4px }
			.modular-page-module .button a { color: white; }
		.modular-page-module .slideshow-wrapper { width: 220px; margin: 0 auto 4px auto; position: relative; }
		.modular-page-module .pagination { position: absolute; top: 55px; left: 0; width: 220px; }
			.modular-page-module .pagination a { display: block; width: 40px; height: 39px; text-indent: -5000px; opacity: 0.8; }
			.modular-page-module .pagination .prev { float: left; background: url(../images/arrow-prev.png); }
			.modular-page-module .pagination .next { float: right; background: url(../images/arrow-next.png); }
		.modular-page-module .slideshow,
		.modular-page-module .slideshow li { width: 220px; height: 190px; }
		.modular-page-module .slideshow .image { display: block; height: 150px; overflow: hidden; }
		.modular-page-module .slideshow .button { margin: 0; height: 30px; }
		
.feature-list { }
	.feature-list-item { border: 1px solid #dbdbdb; padding: 5px; margin-bottom: 20px; }
		
/* Investing in events */

.investing-in-events { }
  .investing-in-events h2 { background: #0067B1; color: white; padding: 7px; font-weight: normal; margin-bottom: 10px; clear: left; float: left; }
  .investing-in-events .gallery-list { clear: left; margin-bottom: 20px; }
    .investing-in-events .gallery-list li { width: 140px; height: 190px; padding: 4px; margin: 0 20px 10px 0; }
    .investing-in-events .gallery-list .thumb { width: 140px; height: 140px; margin-bottom: 5px; }
    .investing-in-events .gallery-list .text { font-weight: bold; text-transform: uppercase; }
    
/* National Events Programme */

.nep-deadlines { border: 1px solid #d8d8d8; padding: 9px; }
  .nep-deadlines h3 { background: url(../images/modular-gradient.gif); color: white; font-weight: normal; padding: 12px; }
  .nep-deadlines li { padding: 10px; border: 1px solid #d8d8d8; border-top: none; }
    .nep-deadlines .round { color: #0067B1; font-size: 110%; font-weight: bold; text-transform: uppercase; }
    .nep-deadlines .deadline { font-weight: bold; }

.nep-inner { }
  .nep-inner h2 { font-weight: normal; font-size: 13px; }
  
.nep-info { border: 1px solid #d8d8d8; padding: 15px; margin-bottom: 10px; }
  .nep-info h2 { margin-bottom: 5px }
  
.nep-download-box { border: 1px solid #d8d8d8; padding: 15px; margin-bottom: 10px; background: white url(../images/module-header-gradient-2.gif) repeat-x bottom; }
  .nep-download-box a { text-transform: uppercase; font-size: 13px; display: block; background: url(../images/ico-download.gif) no-repeat 5px center; padding: 10px 0 10px 55px; }

.nep-apply { }
  .nep-apply h2 { line-height: 1; border: 1px solid #d8d8d8; padding: 15px; background: white url(../images/module-header-gradient-2.gif) repeat-x bottom; }
  .nep-apply li { padding: 25px 15px 0 60px; min-height: 38px; text-transform: uppercase; border: 1px solid #d8d8d8; border-top: none; background-position: 15px 15px; background-repeat: no-repeat;  }
    * html .nep-apply li { height: 38px; }
  .nep-apply .telephone { background-image: url(../images/ico-telephone.gif); }
  .nep-apply .download { background-image: url(../images/ico-download.gif); }
    .nep-apply .download a { color: black; }
  .nep-apply .more-info { background-image: url(../images/ico-plus.gif); }
    .nep-apply .more-info a { font-size: 11px; text-transform: none; }
    
/* Featured Events Paged */

.featured-event-page { }
  .featured-event-page .single-main { width: 408px; }
  .featured-event-page .right-sidebar { width: 232px; }
  .featured-event-page .feature-box { background: white; border: 1px solid #dbdbdb; }
  .featured-event-page .showcase-slideshow { }
		.featured-event-page .showcase-slideshow .slideshow,
		.featured-event-page .showcase-slideshow .slideshow li { width: 396px; height: 265px; }
		.featured-event-page .showcase-slideshow .text { padding: 10px; }
		.featured-event-page .showcase-slideshow .event-date { font-weight: bold; }
    
/* Homecoming Search Widget */

.homecoming-search-widget { border: 5px solid #dbdbdb; margin-bottom: 10px; }
  .homecoming-search-widget form { padding: 10px }
  .homecoming-search-widget select { display: block; font-size: 10px; width: 100%; margin: 0 0 10px 0; }
  .homecoming-search-widget .iw { background: white; border: 1px solid #dbdbdb; }
  .homecoming-search-widget .buttons { text-align: right; margin-top: 10px; }
  
/* Rails error styling */

#errorExplanation { margin-top: 0.7em; }
#errorExplanation strong { display: block; font-weight: bold; margin-bottom: 1em; }
	#errorExplanation ul { list-style: disc; list-style-position: inside; }

/* Modules */

.banners,
.widgets { background: #DBDBDB; padding: 5px; margin-bottom: 10px }
  .banners a { display: block; margin: 5px 0 0 0; }
  .banners img { display: block; }
  

.sub-nav { margin-bottom: 10px; position: relative; }
  .sub-nav h2 { font-size: 11px; padding: 11px; line-height: 1; margin: 0 0 1px 0; font-weight: bold; color: white; text-transform: uppercase; background: url(../images/sub-nav-gradient.gif) repeat-x top; }
    .sub-nav h2 a { color: white; }
  .sub-nav ul { }
    .sub-nav li { }
      .sub-nav ul a { background: #E2E2E2; color: black; display: block; padding: 3px 5px; border-bottom: 1px solid white;  }
        .sub-nav ul a.selected { background: #0067B1 url(../images/sub-nav-selected.gif) no-repeat 205px center; color: white; }
    .sub-nav ul ul a { padding-left: 20px; background: #CCCCCC; }
    .sub-nav ul ul ul a { padding-left: 35px; background: #AAAAAA; }
    .sub-nav ul ul ul ul a { padding-left: 50px; background: #888888; }
    
.related { margin-bottom: 10px; }
  .related h2 { font-weight: bold; color: #0067B1; text-transform: uppercase; padding: 5px 15px; background: url(../images/large-module-header-gradient.gif) repeat-x top; }
  .related ul { border: 1px solid #d8d8d8; border-top: none; }
  .related li { border-top: 1px solid #d8d8d8; padding: 4px 15px }
  .related a { }
  .related .buttons { background: #d8d8d8; padding: 4px 5px 5px 5px; }
    .related .buttons .left { float: left; }
    .related .buttons .right { float: right; }
    
.related-style-2 h2 { padding-top: 12px; padding-bottom: 12px; background: white url(../images/module-header-gradient-2.gif) repeat-x bottom; border: 1px solid #d8d8d8; border-bottom: none; }
    
.sidebar-content { margin-bottom: 10px; }

.gallery-list { }
  .gallery-list li { float: left; border: 1px solid #dbdbdb; overflow: hidden; }
  .gallery-list .thumb { display: block; }
  .gallery-list li.first-in-row { }
  .gallery-list li.last-in-row { margin-right: 0; }
  .gallery-list a { display: block; }

.page-summary-images { margin: 10px 0; overflow: hidden; width: 440px; }
  .page-summary-images li { padding: 2px; margin: 0 12px 12px 0; }
  
.newsletter { padding: 10px; margin-bottom: 10px; background: #CECECE url(../images/large-module-header-gradient.gif) repeat-x top left; }
  .newsletter h3 { font-size: 10px; }
  .newsletter .iw { background: white; margin: 5px 0; }
  .newsletter .buttons { text-align: right; }
  .newsletter a { color: #0067B1; text-transform: uppercase; font-weight: bold; }

#header-wrapper { background:  url(../images/header-gradient.gif) repeat-x top; }
  #header { height: 83px; position: relative; }
    #header #main-logo { position: absolute; top: 26px; left: 0; }
      #header #main-logo a { display: block; width: 199px; height: 31px; text-indent: -5000px; background: url(../images/logo.gif); }
      
      #header .meta { position: absolute; top: 17px; right: 0; color: white; }
        #header .meta * { vertical-align: middle; }
        #header .meta input.text { padding: 3px; font-size: 11px; height: 11px; border: 0; background: white; color: black; line-height: 1; }
        #header .today { float: right; color: #2499E4; margin-left: 0.5em; }
        #header .newsletter-signup { float: right; width: 0; overflow: hidden; text-align: right; }
          #header .newsletter-signup .inner { width: 200px; }
          #header .newsletter-signup input.text { width: 175px; }
          #header .newsletter-signup a { color: white; }
        #header .newsletter-actuator { float: right; color: white; }
      
      #header .search-form { clear: both; float: right; margin-top: 13px; }
        #header .search-form * { vertical-align: middle; }
        #header .search-form label { text-transform: uppercase; font-weight: bold; }
        #header .search-form input.text { width: 175px; margin-left: 5px; }
      
#necessary-evil { background: white; border-top: 5px solid #E8E8E8; }

#main-nav { margin-top: -5px; margin-bottom: 15px; }
  #main-nav ul { height: 36px; }
  #main-nav li { float: left; margin-right: 1px; height: 31px; background: url(../images/tab-bg.gif) no-repeat right -31px; }
    #main-nav a { float: left; display: block; height: 11px; background: url(../images/tab-bg.gif) no-repeat top left; font-size: 11px; line-height: 1; font-weight: bold; text-transform: uppercase; color: #0067B1; padding: 10px 8px; }
      #main-nav a:hover { text-decoration: none; }
  #main-nav li.selected,
  #main-nav li.hover { background-position: right -93px; }
    #main-nav li.selected a,
    #main-nav li.hover a { color: white; background-position: left -62px; }
  

.popup-form .error { background-color: #F8C4CE; }

#breadcrumbs { margin-top: 40px; background: #DBDBDB url(../images/1x1.gif) no-repeat top left; }
  #breadcrumbs .inner { padding: 5px 8px; background: url(../images/1x1.gif) no-repeat top right; }
  #breadcrumbs,
  #breadcrumbs a { color: #0067B1; }

.footer-logos { display: block; height: 54px; border-top: 1px solid #dbdbdb; padding: 4px 0; }
	.footer-logos img { display: block; margin: 0 auto }

#footer-contact { background: #DBDBDB; border-bottom: 1px solid white; padding: 20px 0; }
  #footer-contact label { font-weight: bold; }
  #footer-contact .left { float: left; }
    #footer-contact .left a { font-weight: bold; }
  #footer-contact .right { float: right; text-align: right; }
    #footer-contact .right a.jamhot { color: black; }
	
	#footer-contact .social-buttons { margin-bottom: 14px; }
	  #footer-contact .social-button { float: right; margin-left: 13px; }

#footer-nav { background: #DBDBDB; padding: 20px 0; line-height: 1.2; }
  #footer-nav ul { }
    #footer-nav li { float: left; margin-right: 18px; display: block; list-style: none; }
      #footer-nav li.last { margin-right: 0; }
    #footer-nav h3 { font-size: 11px; }
      #footer-nav ul ul { }
      #footer-nav ul ul li { float: none; }

/* Lightbox */

/**
 * jQuery lightBox plugin
 * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/)
 * and adapted to me for use like a plugin from jQuery.
 * @name jquery-lightbox-0.4.css
 * @author Leandro Vieira Pinho - http://leandrovieira.com
 * @version 0.4
 * @date November 17, 2007
 * @category jQuery plugin
 * @copyright (c) 2007 Leandro Vieira Pinho (leandrovieira.com)
 * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US
 * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin
 */
#jquery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
}
#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}
#jquery-lightbox a img { border: none; }
#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}
#lightbox-container-image { padding: 10px; }
#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	zoom: 1;
	display: block;
}
#lightbox-nav-btnPrev { 
	left: 0; 
	float: left;
}
#lightbox-nav-btnNext { 
	right: 0; 
	float: right;
}
#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 10px 0;
}
#lightbox-container-image-data {
	padding: 0 10px; 
	color: #666; 
}
#lightbox-container-image-data #lightbox-image-details { 
	width: 70%; 
	float: left; 
	text-align: left; 
}	
#lightbox-image-details-caption { font-weight: bold; }
#lightbox-image-details-currentNumber {
	display: block; 
	clear: left; 
	padding-bottom: 1.0em;	
}			
#lightbox-secNav-btnClose {
	width: 66px; 
	float: right;
	padding-bottom: 0.7em;	
}

/* VisitScotland Widget */

#widget_popup {
	position: absolute;
	width: 616px;
	font: 11px Verdana, Arial, Helvetica, sans-serif;
}
#widget_popup ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
#widget_popup #widget_title_row {
	background: url(http://visitscotland.com/i/widget/widget-header-bg.png) no-repeat 0px top;
	padding: 0px 8px;
	width: 600px;
	position: relative;
}
#widget_popup #widget_title {
	font-size: 18px;
	color: #FFFFFF;
	padding: 13px 0px 6px 15px;
	display: block;
	float: left;
}
#widget_popup #widget_close {
	cursor: pointer;
	color: #bcd1ff!important;
	z-index: 3;
	position: absolute;
	right: 23px;
	top: 17px;
}
#widget_popup #widget_close_button {
	cursor: pointer;
	position: absolute;
	height: 39px;
	width: 39px;
	z-index: 2;
	top: -10px;
	right: -10px;
	background: url(http://visitscotland.com/i/widget/close_button.png);
}
.widget_end_row { clear: both; }
#widget_popup li {
	float: left;
	width: 150px;
	display: block;
}
#widget_popup li a {
	color: #162A58;
	display: block;
	padding: 4px 10px 4px 15px;
	font-weight: normal;
	margin: 0px;
	text-decoration: none;
}
#widget_popup li a:hover {
	color: #FFFFFF;
	background: url(http://visitscotland.com/i/widget/widget-link-hover.png) repeat-x left bottom;
	text-decoration: none;
}
#widget_popup li .widget_disabled {
	display: block;
	padding: 4px 10px 4px 15px;
	margin: 0px;
	color: #888;
}
#widget_popup .widget_feature_row {
	background: url(http://visitscotland.com/i/widget/widget-featured-bg.png) no-repeat 0px bottom;
	padding: 0px 8px;
	width: 600px;
}
#widget_popup .widget_feature_row a {
	background: url(http://visitscotland.com/i/widget/featured-icon.png) no-repeat 15px 5px;
	padding: 5px 10px 6px 30px;
}
#widget_popup .widget_feature_row a:hover {
	background: url(http://visitscotland.com/i/widget/featured-icon.png) no-repeat 15px 5px;
	color: #769bc7;
	text-decoration: underline;
}
#widget_popup #widget_home a {
	background: url(http://visitscotland.com/i/widget/home-icon.png) no-repeat 15px 7px;
}
#widget_popup .widget_container {
	padding: 0px 8px 13px;
	background: url(http://visitscotland.com/i/widget/widget-bottom-bg.png) 0px bottom;
	width: 600px;
}
/* Explore VisitScotland Button Styles */
a#widget_button_link {
	background			: transparent url(../images/widgets/explore-btn-left.gif) no-repeat scroll right top;
	color				: #fff!important;
	display				: block;
	font-size: 11px;
	height				: 16px;
	text-decoration		: none;
	margin				: 0px;
	float				: left;
	width: 145px;
	text-align: left;
}
a#widget_button_link .widget_inside {
	line-height			: 11px;
	padding				: 2px 0 3px 18px;
	display				: block;
}
a#widget_button_link:hover {
	background-position	: bottom right;
	color				: #fff;
	text-decoration		: none!important;
	outline				: none; /* hide dotted outline in Firefox */
}
/* IE 6 Fixes */
* html #widget_popup #widget_close_button {
	background: url(http://visitscotland.com/i/widget/close_button.gif);
}
* html #widget_popup #widget_title_row {
	background: url(http://visitscotland.com/i/widget/widget-header-bg.gif) no-repeat 0px top;
}
* html #widget_popup .widget_feature_row {
	background: url(http://visitscotland.com/i/widget/widget-featured-bg.gif) no-repeat 0px bottom;
}
* html #widget_popup .widget_container {
	background: url(http://visitscotland.com/i/widget/widget-bottom-bg.gif) 0px bottom;
}