﻿.ad-gallery {
 	width: 714px;height: 335px;position: relative;}
 	
.ad-gallery {
 	width: 714px;height: 345px;position: relative;}

.ad-gallery, .ad-gallery * {
	margin: 0;
	padding: 0;}
.ad-gallery .ad-image-wrapper {
    height: 335px;
    margin: 0;
    position: relative; }
.ad-gallery .ad-image-wrapper .ad-loader {
    position: absolute;
    z-index: 10;
    top: 48%;
    left: 48%;
    border: 1px solid #CCC;}
.ad-gallery .ad-image-wrapper .ad-image {
    z-index: 9;float: right; }
.ad-gallery .ad-image-wrapper .ad-image a img {
    border: 0;}
.ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
    z-index: 2;}

.ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title .ad-description-title2 {
        display: block;}
.ad-description-title{ 
	position: absolute; 
	top:60px;
        right: 0px;}
        
.ad-description-title2{ 
	position: absolute; 
	top:45px;
        right: 0px;}

.ad-gallery h1{     width: auto!important;
	color: #fff!important;
	text-align: right; 
	font-size: 2.8em!important; 
	font-weight: normal; 
	background: url("/SiteElements/Images/Base/Internal/bg-textOverlay-CorpGrassGreen.png") repeat 0 0 transparent; 
	padding: 7px!important;}

.ad-gallery div.findoutMore a, .ad-gallery div.findoutMore a:visited, .ad-gallery div.caseStudy a, .ad-gallery div.caseStudy a:visited{
	color: #fff!important;
	position: absolute; 
        text-decoration: none!important;
	float: right;
	top: 274px; 
	right: 0px; 
        text-decoration: underline!important;
	text-align: right; 
	font-size:1.2em; 
	font-weight: normal; 
	background: url("/SiteElements/Images/Base/Internal/bg-textOverlay-darkGrey.png") repeat scroll 0 0 transparent; 
	padding: 7px; 
	width: auto; 
	clear: both;}
.ad-gallery div.findoutMore a:hover, .ad-gallery div.caseStudy a:hover{
	color:#ccc!important; 
        text-decoration: none!important;
	cursor:pointer;}
.ad-gallery .ad-controls {
	display:none;}
.ad-gallery .ad-nav {
    height: 20px;
    position: absolute; 
    top: 0; width: 706px;}
.ad-gallery .ad-nav .ad-thumbs {
    padding:0; }
.ad-nav {	padding: 4px;
	background: url("/siteelements/images/base/internal/bg-textoverlay-darkgrey.png") repeat 0 0;}
.ad-gallery .ad-thumbs .ad-thumb-list {
	float: right;
	padding-top: 3px;position: relative; left: 200px;}
.ad-gallery .ad-thumbs ul{position: relative;right: 
0px; width: auto;}

.ad-gallery .ad-thumbs li {
    background-image: none!important; list-style-type:none;
    padding: 0 8px 0 0!important; float:left;}
.ad-gallery .ad-thumbs li a {
    display: block;}

.ad-gallery .ad-thumbs li a img {
    display: block;
    background-color: #333;}
.ad-gallery .ad-thumbs li a img:hover {
    background-color: #fff;}
.ad-gallery .ad-thumbs li a.ad-active img {
    background-color: #fff;
    cursor: default;}

/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
	position: absolute;
	left: -9000px;
	top: -9000px;}
	
/* Exceptions for Energy site*/
.sys_920by335Rotate .ad-gallery{width: 920px;}
.sys_920by335Rotate .ad-gallery .ad-nav {width:912px;}

/* Exceptions for Agri-food-ATP site*/
.sys_960by335Rotate .ad-gallery{width: 960px; height: 335px;}
.sys_960by335Rotate .ad-gallery .ad-nav {width:952px;}

/* Exceptions for Energy subpages*/
.sys_714by335Rotate .ad-gallery{width: 714px;}
.sys_714by335Rotate .ad-gallery .ad-nav {width:706px;}

/* Exceptions for Global Food Security site*/
.sys_690by335Rotate .ad-gallery{width: 690px;}
.sys_690by335Rotate .ad-gallery .ad-nav {width:682px;}


/* Fixes to fix issues from Gemma's list fixes */
#content .ad-gallery .ad-thumbs ul {
    list-style-type: none;
}

#content .ad-gallery .ad-thumbs ul li {
    margin-left: 0;
    list-style-type: none;
}