/** to remove blue outline in Chrome **/

a,
a:hover,
a:focus,
button,
button:hover,
button:focus {
	outline: none !important;
}

[tabindex] {
  outline: none !important;
}

[tabindex="-1"] {
  outline: none !important;
}

/** Assets */

.asset-display{

}

.asset-display h2{
	margin-bottom:20px;
}

.epa-section{
	width:100%;
	clear:both;
	margin-bottom:20px;
	display:inline-block;
}

.epa-item-thumb {
	width: 16.666666666666664%;
	width: 33.33333333333333%;
	float: left;
	position: relative;
	min-height: 1px;
	padding-right: 0.5%;
	margin-bottom: 0.5%;
}

.epa-item-thumb.full{
	width: 33.33333333333333%;
}

.epa-item-thumb.full:nth-child(3n+1){
	padding-right:0px;
}

.no-sub-headers .epa-item-thumb.full:nth-child(3n+1){
	padding-right: 0.5%;
}

.no-sub-headers .epa-item-thumb.full:nth-child(3n){
	padding-right:0px;
}

.news .epa-item-thumb.full{
	width: 50%;
	padding-right: 0.5%;
}

.news .epa-item-thumb.full:nth-child(3n+1){
	padding-right:0.5%;
}

.news .epa-item-thumb.full:nth-child(2n+1){
	padding-right:0px;
}


.search .epa-item-thumb.full{
	width: 25%;
	padding-right: 0.5%;
}

.search .epa-item-thumb.full:nth-child(3n+1){
	padding-right:0.5%;
}

.search .epa-item-thumb.full:nth-child(4n){
	padding-right:0px;
}


.epa-item-thumb a{
	width: 100%;
	height: 100%;
	position: relative;
	margin: auto;
	display: inline-block;
	padding: 10px;
	background:#f0f0f0;
	color: #666;
	text-align:left;
}

.epa-item-thumb.full a.epa-item-thumb-link{
	height:220px;
}

.epa-item-thumb.full a .thumb-holder img{
    max-height: 160px;
}

.epa-item-thumb.full .epa-item-thumb-buttons{
	display:inline-block;
	width:100%;
	padding:10px 0px;
	background: #ededed;
}

.epa-item-thumb.full .epa-item-thumb-buttons.active{
	background:#999;
	color: #fff;
}

.epa-item-thumb.full .epa-item-thumb-buttons a{
	height:auto;
	display:inline-block;
	width:auto;
	font-size:0.8em;
	padding:5px 1px;
	margin:0px;
	width:30%;
	text-align:center;
	border:none;
	border-radius:0px;
	border-right:solid #ccc 1px;
}

.epa-item-thumb.full .epa-item-thumb-buttons a{
	background:none;
}

.epa-item-thumb.full .epa-item-thumb-buttons.active a{
	color: #fff;
}

.epa-item-thumb.full .epa-item-thumb-buttons.active a:hover,
.epa-item-thumb.full .epa-item-thumb-buttons.active a:focus{
	background:#f0f0f0;
	color: #666;
}

.epa-item-thumb.full .epa-item-thumb-buttons a:last-child{
	border:none;
}

.epa-item-thumb.full .epa-item-thumb-buttons .thumb-image-buttons a:nth-child(3),
.epa-item-thumb.full .epa-item-thumb-buttons .thumb-image-buttons a:nth-child(4){
	width:20%;
}

.epa-item-thumb.full .epa-item-thumb-buttons .thumb-video-buttons a{
	width:20%;
}

.epa-item-thumb.full .epa-item-thumb-buttons .thumb-document-buttons a{
	width:20%;
}

.epa-item-thumb.full.disabled.active a.epa-item-thumb-link,
.epa-item-thumb.full.disabled.active .epa-item-thumb-buttons{
	background:#ddd;
	color: #666;
}

.epa-item-thumb-description{
	position:absolute;
	top:0px;
	left:0px;
	overflow-y: hidden;
	height: 0px;
	width:100%;

	transition-property: all;
	transition-duration: .5s;
	transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

.epa-item-thumb-description-panel{
	position:relative;
	top:0px;
	left:0px;
	width:100%;
	height:100%;

	background: #f0f0f0;
	color: #000;
	opacity:0.8;
}

.epa-item-thumb.full a.epa-item-thumb-link:hover .epa-item-thumb-description{
	height:100%;
	max-height:165px;
}

.epa-item-thumb-description-copy{
	padding:30px;
	font-size:0.8em;
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
}

.epa-item-thumb .circle.info{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #bbb;
    color: #fff;
    font-family: Helvetica, Arial Black, sans;
    font-size: 10px;
    text-align: center;
    line-height: 0;
    float: none;
    margin-left: 0px;
	z-index: 11;

	position: absolute;
	top: 5px;
	left: 5px;
}


.epa-item-thumb .circle.info i {
    padding-left: 2px;
	padding-top: 20%;
}


.epa-item-thumb.private a{
	background:#FF001E;
	color: #fff;
}

.epa-item-thumb a:hover,
.epa-item-thumb a:focus,
.epa-item-thumb a.active {
	background:#ddd;
	color: #666;
	text-decoration:none;
}

.epa-item-thumb.full a:hover,
.epa-item-thumb.full a:focus,
.epa-item-thumb.full a.active {
	background:#999;
	color: #fff;
	text-decoration:none;
}

.epa-item-thumb.disabled a.epa-item-thumb-link{
	cursor:default;
}

.epa-item-thumb.disabled a.epa-item-thumb-link:hover,
.epa-item-thumb.disabled a.epa-item-thumb-link:focus,
.epa-item-thumb.disabled a.epa-item-thumb-link.active{
	background:#f0f0f0;
	color: #666;
}

.epa-item-thumb a .thumb-holder{
	width: 40%;
	width: 100%;
	height:auto;
	display:inline-block;
	vertical-align:top;
}

.epa-item-thumb a .thumb-holder img{
	max-width: 100%;
	max-height: 100%;
}


.epa-item-thumb a.Document .thumb-holder{
	width: 15%;
}

.epa-item-thumb a .thumb-holder img.epa-thumb.Document{
	max-width: 70%;
}

.epa-item-thumb a .thumb-holder .video-play-icon{
	font-size:40px; 
	color:#000; 
	opacity:0.9;
	position:absolute;
	top:0px;
	left:0px;
}

.epa-item-thumb.full a .thumb-holder .video-play-icon{
	display:none;
}

.epa-item-thumb .basket{
	display:none;
	position:relative;
	position:absolute;
	top:5px;
	right:5px;
}
.epa-item-thumb.basket .basket{
	display:inline-block;
}

.epa-item-thumb a .info-holder{
	width: 57%;
	height:100%;
	position: relative;
	display:inline-block;
	vertical-align:top;
	padding-left:5px;
	padding-bottom:30px; /** to take into account of icons at the bottom */

	float: right;
}

.epa-item-thumb a .info-holder {
    width: 100%;
    height: auto;
    padding-left: 0px;
    padding-bottom: 0px;
    margin-top: 10px;
}

/***.epa-item-thumb a.Document .info-holder {
    width: 83%;
}***/

.epa-item-thumb a .info-holder .copy{
	height:auto;
}

.epa-item-thumb a .info-holder .copy p.filename {
   	word-break: break-all;
	word-wrap: break-word;
}

.epa-item-thumb a .icons{
	display: inline-block;
	height:auto;
	width:100%;
	position: absolute;
	bottom: 0px;
	right:0px;
}

.epa-item-thumb a .icons .circle,
.circle{
  	width: 30px;
  	height: 30px;
  	border-radius: 50%;
	background: #bbb;
  	color: #fff;
  	font-family: Helvetica, Arial Black, sans;
  	font-size: 12px;
  	text-align: center;
  	line-height:0;

 	float:right;
	margin-left:10px;
}

.epa-item-thumb .circle.basket{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #bbb;
    color: #fff;
    font-family: Helvetica, Arial Black, sans;
    font-size: 10px;
    text-align: center;
    line-height: 0;
    float: none;
    margin-left: 0px;
	z-index: 10;
}

.epa-item-thumb.full .circle.basketX {
    width: 25px;
    height: 25px;
    border-radius: 0%;
    font-size: 11px;
	top: 0px;
	right: 0px;
}

.epa-item-thumb a .icons .circle.security,
.circle.security{
	 background: #780723;
}

.epa-item-thumb a .icons .circle i,
.circle i{
	color:#fff;
	padding-top:25%;
}

.epa-item-thumb .circle.basket i{
	padding-top:20%;
}

.epa-item-thumb.full .circle.basket iX {
    padding-top: 30%;
}

.epa-item-thumb.private a .icons .circle.security{
	 background: #fff;
}

.epa-item-thumb.private a .icons .circle.security i{
	color:#FF001E;
}

.epa-item-thumb.private a:hover .icons .circle.security,
.epa-item-thumb.private a:focus .icons .circle.security{
	 background: #fff;
}

.epa-item-thumb.private a:hover .icons .circle.security i,
.epa-item-thumb.private a:focus .icons .circle.security i{
	color:#b2b2b2;
}

/*** INFO BOX */

#epa-info-box {
    position: relative;
    display: none;
    background: #999;
    color: #fff;
    min-height: 160px;
    margin: 0px;
    clear: both;
    float: none;
    padding: 20px;
	margin-right: 20px;
	text-align:left;
	margin-bottom:20px;
}

#epa-info-box .info-box-inner {
	/**padding: 0 40px;
	width:100%;*/
	margin: 0 40px;
}

#epa-info-box .info-box-content {
	display:inline-block;
	vertical-align:top;
	width:60%;
	width:100%;
}

#epa-info-box .info-box-image-wrapper{
	display:inline-block;
	vertical-align:top;
	width:49%;
}

#epa-info-box .info-box-image{
	max-width:100%; 
	max-height:50%;
}

#epa-info-box .info-box-video{
	max-width:100%; 
	max-height:50%;
	background:#333;
}

#epa-info-box .info-box-image.Document{
	padding:15px;
}


#epa-info-box .info-box-info{
	display:inline-block;
	vertical-align:top;
	width:49%;
	padding-left:15px;
}


#epa-info-box.Document .info-box-info{ 		
	width: 100%; 	
}

#epa-info-box .info-box-security{
    text-align:right;
}

#epa-info-box .info-box-title {
    margin-top: 0px;
	font-style:italic;
}

#epa-info-box .info-box-buttons{
	border-top: none;
	padding-top: 20px;
	position: relative;
	bottom: 0;
	left: 0;
	right: 0;

	display:inline-block;
	vertical-align:top;
	width:100%;
}


#epa-info-box .info-box-other-info{
	display:inline-block;
	vertical-align:top;
	width:39%;
	width:100%;
}


#epa-info-box .info-box-table{
	display:table;
	width: 100%;
}


#epa-info-box a.info-box-prev, 
#epa-info-box a.info-box-next{
	display:block;
	height: 100%;
	width:60px;

	display:table-cell;
	vertical-align:middle;
	text-align:center;

    font-size: 50px;
}

#epa-info-box a.info-box-prev:hover,
#epa-info-box a.info-box-prev:focus, 
#epa-info-box a.info-box-next:hover,
#epa-info-box a.info-box-next:focus {
	background:#f0f0f0;
}

#epa-info-box .info-box-inner {
    margin: 0;
}

#epa-info-box .info-box-content {
	background:#ccc;
}
#epa-info-box .info-box-info{
	padding:20px;
}

#epa-info-box .info-box-buttons {
	background:#bcbcbc;
	padding:0px;
}

#epa-info-box .info-box-buttons .btn {
    display: inline-block;
    padding: 16px 12px;
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: none;
    border-radius: 0px;
    white-space: nowrap;
	min-width:118px;
	/**background:#fff;*/
	border-right:solid #fff thin;
	color:#fff;
}


.file-results #epa-info-box .info-box-buttons .btn {
	min-width: 40px;
}

#epa-info-box .gallerybut {
    margin-bottom: 0px;
}

#epa-info-box .info-box-other-info{
	background:#ccc;
	padding:15px;
}

#epa-info-box .info-box-other-info select{
	width:100%;
}

#epa-info-box .info-box-video-buttons .btn.btn-watch {
    display:none;
}

/** ON SEARCH PAGE */

.file-results #epa-info-box .info-box-video-buttons .btn.btn-watch {
    display: inline-block;
}

.file-results .epa-item-thumb a .thumb-holder{
	width: 100%;
	height:auto;
	display:inline-block;
	vertical-align:top;
}

.file-results .epa-item-thumb a.Document .thumb-holder{
	width: 30%;
	height:auto;
	display:inline-block;
	vertical-align:top;
}

.file-results .epa-item-thumb a .info-holder{
	width: 100%;
	height:auto;
	position: relative;
	display:inline-block;
	vertical-align:top;
	padding-left:0px;
	padding-bottom:30px; /** to take into account of icons at the bottom */
}

.file-results .epa-item-thumb a .icons {
    position: absolute;
    bottom: 10px;
	right: 10px;
}


/*** FULL WIDTH PRE-LOADED VIDEO BOX */

.epa-preload-box {
    position: relative;
    background: #ddd;
    color: #666;
    min-height: 160px;
    margin: 0px;
    clear: both;
    float: none;
    padding: 10px;
	text-align:left;
	margin-bottom:20px;
}

.epa-preload-box .info-box-video.video-iframe {
    margin-bottom: 10px;
	background:#000;
}


.epa-preload-box .info-box-buttons{
	border-top: none;
	position: relative;
	bottom: 0;
	left: 0;
	right: 0;

	display:inline-block;
	vertical-align:top;
	width:100%;

	background: none;
    padding: 0px;
    margin-top: 0px;
    text-align: left;
}

.epa-preload-box .info-box-buttons .btn{
    display: inline-block;
    padding: 8px 6px;
    margin: 0;
    font-size: 1em;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: none;
    border-radius: 0px;
    white-space: nowrap;
	color:#fff;
	background:#999;
	width: 49%;
}

.epa-preload-box .info-box-buttons .btn:last-child {
    float: right;
}

.epa-preload-box .info-box-buttons .btn:hover {
   	background:#f0f0f0;
	color: #666;
}



@media (max-width: 1180px) {
	.search .epa-item-thumb.full {
		width: 33.33333333333333%;
		padding-right: 0.5%;
	}
	.search .epa-item-thumb.full:nth-child(4n),
	.search .epa-item-thumb.full:nth-child(2n+1){
		padding-right: 0.5%;
	}
	.search .epa-item-thumb.full:nth-child(3n){
		padding-right:0px;
	}
}

@media (max-width: 1020px) {
	.search .epa-item-thumb.full {
		width: 50%;
		padding-right: 0.5%;
	}
	.search .epa-item-thumb.full:nth-child(3n),
	.search .epa-item-thumb.full:nth-child(2n+1){
		padding-right: 0.5%;
	}
	.search .epa-item-thumb.full:nth-child(2n){
		padding-right:0px;
	}
}


@media (max-width: 1150px) {
	.news .epa-item-thumb.full{
		width: 100%;
		height:auto;

		float: left;
		position: relative;
		min-height: 1px;

		padding-right: 0px;
		margin-bottom: 1px;
		margin-bottom: 10px;
	}

	.news .epa-item-thumb.full:nth-child(2n+1),
	.news .epa-item-thumb.full:nth-child(3n+1){
    	padding-right: 0px;
	}

	.news .epa-item-thumb.full a .thumb-holder imgX {
   		max-height: 180px;
	}

	.news .epa-item-thumb.full a {
    	height: auto;
	}
}

@media (max-width: 990px) {
	.epa-item-thumb{
		width: 50%;
		padding-right: 15px;
	}
	.epa-item-thumb.full{
		width: 50%;
		padding-right: 0.5%;
	}
	.epa-item-thumb.full:nth-child(3n+1) {
    	padding-right: 0.5%;
	}
	.epa-item-thumb.full:nth-child(2n+1){
		padding-right:0px;
	}

	.no-sub-headers .epa-item-thumb.full:nth-child(3n),
	.no-sub-headers .epa-item-thumb.full:nth-child(3n+1),
	.no-sub-headers .epa-item-thumb.full:nth-child(2n+1){
		padding-right: 0.5%;
	}

	.no-sub-headers  .epa-item-thumb.full:nth-child(2n){
		padding-right:0px;
	}

	.epa-item-thumb.full a .thumb-holder img {
   		max-height: 180px;
	}
	#epa-info-box {
		margin-right: 15px;
	}
}


@media (max-width: 767px) {
	.search .epa-item-thumb.full{
		width: 100%;
		height:auto;

		float: left;
		position: relative;
		min-height: 1px;

		padding-right: 0px;
		margin-bottom: 1px;
		margin-bottom: 10px;
	}
	.search .epa-item-thumb.full:nth-child(3n),
	.search .epa-item-thumb.full:nth-child(4n){
		padding-right: 0%;
	}
	.search .epa-item-thumb.full a .thumb-holder img {
   		max-height: 200px;
	}

	.search .epa-item-thumb.full a {
    	height: auto;
	}
}


@media (max-width: 767px) {
	.epa-item-thumb,
	.epa-item-thumb.full{
		width: 100%;
		height:auto;

		float: left;
		position: relative;
		min-height: 1px;

		padding-right: 0px;
		margin-bottom: 1px;
		margin-bottom: 10px;
	}

	.epa-item-thumb.full:nth-child(3n+1) {
    	padding-right: 0px;
	}

	.no-sub-headers .epa-item-thumb.full:nth-child(3n),
	.no-sub-headers .epa-item-thumb.full:nth-child(3n+1),
	.no-sub-headers .epa-item-thumb.full:nth-child(2n+1){
		padding-right: 0px;
	}

	.epa-item-thumb a{
		text-align:center;
		height: auto;
	}

	.epa-item-thumb.full a {
    	text-align: left;
    	height: auto;
	}

	.epa-item-thumb a .thumb-holder{
    	width: 100%;
    	height: auto;
	}

	.epa-item-thumb a .info-holder,
	.epa-item-thumb a.Document .info-holder{
    	width: 100%;
    	padding-left: 0px;
		margin-top:10px;
	}

	.epa-item-thumb a.active .info-holder{
		display:none;
	}

	.epa-item-thumb a .info-holder .copy {
    	height: auto;
	}
	.epa-item-thumb a .icons {
		height: auto;
	}


	/*** INFO BOX */

	#epa-info-box {
		margin-right: 0px;
		padding:10px 0px;
	}

	#epa-info-box a.info-box-prev, 
	#epa-info-box a.info-box-next {
    	width: 30px;
	}
	#epa-info-box a.info-box-prev{
		padding-right:20px;
		padding-left:10px;
	}
	#epa-info-box a.info-box-next {
		padding-left:20px;
		padding-right:10px;
	}

	#epa-info-box .info-box-content {
   		text-align: center;
	}

	#epa-info-box.Document .info-box-image-wrapper,
	#epa-info-box.Image .info-box-image-wrapper,
	#epa-info-box.Video .info-box-image-wrapper,
	#epa-info-box .info-box-image-wrapper{
		display:none;
	}

	#epa-info-box .info-box-info {
    	width: 100%;
    	text-align: center;
		padding:0px;
	}


	#epa-info-box .info-box-buttons .btn-group a {
    	width: 100%;
	}
	#epa-info-box .info-box-buttons .btn {
    	display: inline-block;
		width:100%;
		border:none;
		border-right:none !important;
		border-top:solid #fff thin;
	}
	#epa-info-box .info-box-buttons .btn:first-child{
		border:none;
	}

	#epa-info-box .info-box-buttons .btn:last-of-type {
    	border: none;
		border-top:solid #fff thin !important;
	}

	#epa-info-box .info-box-video-buttons .btn.btn-watch {
		display:inline-block;
	}

	#epa-info-box .info-box-other-info,
	#epa-info-box .info-box-other-info select{
		text-align:center;
	}

}

@media only screen and (max-device-width: 480px) {
	#epa-info-box .info-box-video-buttons .btn-watch {
    	display:inline-block;
	}

}



/**** ADDITIONAL FILES */

.select-hidden {
  display: none;
  visibility: hidden;
  padding-right: 10px;
}

.select {
  cursor: pointer;
  display: inline-block;
  position: relative;
  font-size: 14px;
  color: #fff;
  width: 220px;
  height: 40px;
  width:100%;
  height:30px;
}

.select-styled {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #c0392b;
  background-color:#999;
  padding: 8px 15px;
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}
.select-styled:after {
  content: "";
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
  position: absolute;
  top: 14px;
  right: 10px;
}
.select-styled:hover {
  background-color: #b83729;
  background-color:#aaa;
}
.select-styled:active, .select-styled.active {
  background-color: #ab3326;
  background-color:#aaa;
}
.select-styled:active:after, .select-styled.active:after {
  top: 4px;
  border-color: transparent transparent #fff transparent;
}

.select-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #ab3326;
  background-color:#aaa;
}
.select-options li {
  margin: 0;
  padding: 4px 15px;
  line-height:1.2em;
  border-top: 1px solid #fff;
  -moz-transition: all 0.15s ease-in;
  -o-transition: all 0.15s ease-in;
  -webkit-transition: all 0.15s ease-in;
  transition: all 0.15s ease-in;
}
.select-options li:hover {
  color: #c0392b;
  color:#fff;
  background: #fff;
  background-color:#999;
}
.select-options li[rel="hide"] {
  display: none;
}


.thumb-image-buttons,
.thumb-video-buttons,
.thumb-document-buttons{
	display:none;
}


/**** Gallery Section Download All ****/

.GallerySectionDownloadWrapper{
	position:relative;
	width:100%;
	display: inline-block;
	margin-bottom: 15px;
}

.GallerySectionAll{
	position:relative;
	cursor:pointer;
	display: inline-block;
	padding: 5px 12px;
	color:#fff;
	background:	#000;
	font-size: 12px;
	text-transform:uppercase;
	transition: all 0.3s ease-in-out;
}

.GallerySectionAll:hover {
  background-color:#999;
}

.GallerySectionAll.NoSubHeading{
}


.GallerySectionAll .icon{
	margin-left:6px;
}



/**** PREVIEW STYLING for HIDDEN or EMBARGOED ASSETS *****/

.hide-1 .epa-item-thumb-link,
.embargo-1 .epa-item-thumb-link{
	border:thin red dashed;
}

/***************************/