.asset-display .GalleryWrapperHeader{
    font-size:1.3em;
    margin-bottom:20px;
}

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

.asset-display .epa-section-search{
	display:inline-block;
	width:100%;
}

.asset-display .tile-item{
    /*** TO MAKE BUTTONS SITE AT BOTTOM  ***/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #f0f0f0;
}

.asset-display .epa-item-thumb-link{
	width: 100%;
	height: 100%;
	position: relative;
	display: inline-block;
	padding: 10px;
	text-align:left;
}

.asset-display .tile-item .epa-item-thumb-buttons{
    margin-top: auto;  /*** TO MAKE BUTTONS SITE AT BOTTOM  ***/
	display:inline-block;
	width:100%;
	padding-bottom:10px;
}
.basket-content .asset-display .tile-item .epa-item-thumb-buttons{
    padding-bottom:0;
    padding-top:10px;
}

.asset-display .tile-item .epa-item-thumb-buttons .thumb-image-buttons,
.asset-display .tile-item .epa-item-thumb-buttons .thumb-video-buttons,
.asset-display .tile-item .epa-item-thumb-buttons .thumb-document-buttons{
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    gap:2%;
    
    display: none; /** set to show in js **/
}
.basket-content .asset-display .tile-item .epa-item-thumb-buttons .thumb-image-buttons,
.basket-content .asset-display .tile-item .epa-item-thumb-buttons .thumb-video-buttons,
.basket-content .asset-display .tile-item .epa-item-thumb-buttons .thumb-document-buttons{
    display: flex;
}

.asset-display .tile-item .epa-item-thumb-buttons a{
    display:inline-block;
	height:auto;
	margin:0px;
	font-size:0.7em;
	padding:5px 1px;
	text-align:center;
	border:none;
	border-radius:0px;
	background:none;
	color: #000;
}

.asset-display .tile-item .epa-item-thumb-buttons a:hover,
.asset-display .tile-item .epa-item-thumb-buttons a:focus{
	color: #666;
	background:none;
}

.asset-display .gridTiles .tile-item .tile-image-wrapper {
  margin-bottom: 0px;
}

.asset-display .gridTiles .tile-item .tile-image-wrapper img{
    max-height:400px;
}

.asset-display .tile-item .tile-content .copy{
    margin-top: 10px;
    color: #666;
}

.asset-display .tile-item .description-holder{
	height: auto;
	width:auto;
	display:inline-block;
}
.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%;
	opacity:0.8;
	background: #bbb;
	color: #000;
}
.asset-display .tile-item .description-holder:hover .epa-item-thumb-description{
	height:100%;
}
.epa-item-thumb-description-copy{
	padding:40px 10px;
	font-size:0.8em;
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	line-height:1.2em;
	color: #000;
}
.asset-display .tile-item .info{
    width: 20px;
    height: 20px;
    border-radius: 0%;
    background: #bbb;
    color: #fff;
    font-size: 10px;
    text-align: center;
    line-height: 0;
    float: none;
    margin-left: 0px;
	z-index: 11;

	position: absolute;
	top: 0px;
	left: 0px;
}
.asset-display .tile-item .info i {
    padding-top:3px;
}

/** disabled is class that was added so the tile itself isnt cliackable **/


.asset-display .tile-item .tile-image-wrapper{
	width: 100%;
	height:auto;
	display:inline-block;
	vertical-align:top;
}
.asset-display .tile-item .Document .tile-image-wrapper{
	width: 50%;
}

.asset-display .tile-item .tile-image-wrapper img{
	max-width: 100%;
}

.asset-display .tile-item .tile-image-wrapper .video-play-icon{
	font-size:40px; 
	color:#000; 
	opacity:0.9;
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}

.asset-display .tile-item .basket{
	display:none;
	position:absolute;
	top:0px;
	right:0px;
	
	width: 20px;
    height: 20px;
    border-radius: 0%;
    background:#f60;
    color: #fff;
    font-size: 10px;
    text-align: center;
    line-height: 0;
    float: none;
	z-index: 10;
}
.asset-display .tile-item.basket .basket{
	display:inline-block;
}
.asset-display .tile-item .basket i{
   padding-top:3px; 
}

.asset-display .tile-item .copy{
	font-size:0.8em;
}

.asset-display .tile-item .copy p.filename{
   	word-break: break-all;
	word-wrap: break-word;
}

.asset-display .tile-item .icons{
	display: inline-block;
	width:100%;
	position: relative;
}

.asset-display .tile-item .security{
    width: 20px;
  	height: 20px;
  	font-size: 10px;
  	text-align: center;
	background: red;
}

.asset-display .tile-item .security i{
	color:#fff;
	padding-top: 3px;
}


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

.epa-preload-box {
    position: relative;
    background: #f0f0f0;
    min-height: 160px;
    padding: 10px;
	margin-bottom:30px;
}

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


.epa-preload-box .preload-box-buttons{
	display:inline-block;
	width:100%;
    margin-top: 20px;
}

.epa-preload-box .preload-box-buttons .btn{
    display: inline-block;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
	width: 49%;
	background: #fff;
    color: #000;
    border: thin solid #000;
    padding: 12px 24px;
    border-radius:0;
}

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

.epa-preload-box .preload-box-buttons .btn:hover {
   	background:#000;
	color: #fff;
}

.news-articles .epa-preload-box .preload-box-info .preload-box-filename,
.news-articles .epa-preload-box .preload-box-info .preload-box-description{
    display:none;
}

@media (max-width: 450px){
    .epa-preload-box .preload-box-buttons .btn{
	    width: 100%;
	    margin-bottom:5px;
    }
    .epa-preload-box .preload-box-buttons .btn:last-child {
        float: none;
        margin-bottom:0;
    }
}

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

.asset-display .tile-item.embargo-1 .epa-item-thumb-link{
	border:1px red dashed;
}

.asset-display .tile-item.epa-preload-box.embargo-1 {
    border: 1px dashed red;
    z-index:10;
}

.asset-display .tile-item .embargoed-holder{
	height: auto;
	width:auto;
	/**display:inline-block;**/
}

.asset-display .tile-item .embargoed{
    display: none;
    width: 25px;
    height: 25px;
    background: red;
    color: #fff;
    font-size: 11px;
    text-align: center;
    line-height: 0;
    float: none;
    margin-left: 0px;
	z-index: 12;
	position: absolute;
	top: 0px;
	left: calc(50% - 5px);
}
.asset-display .tile-item.embargo-1 .embargoed{
    display: inline-block;
}
.asset-display .tile-item .embargoed i {
    padding-top:5px;
}

.asset-display .tile-item .epa-item-thumb-embargoed{
	position:absolute;
	top:0px;
	left:0px;
	overflow-y: hidden;
	height: 0; /** this is set to 100% on hover **/
	width:100%;
	transition-property: all;
	transition-duration: .5s;
	transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

.asset-display .tile-item.embargo-1 .embargoed-holder:hover .epa-item-thumb-embargoed{
	height:100%;
}

.asset-display .tile-item .epa-item-thumb-embargoed-panel{
	position:relative;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background: red;
	color: #fff;
	opacity:0.8;
}

.asset-display .tile-item .epa-item-thumb-embargoed-copy{
	padding:40px 10px;
	font-size:0.8em;
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	line-height:1.2em;
	color: #fff;
	text-align: center;
}

.asset-display .tile-item.embargo-1 .epa-item-thumb-buttons a,
.epa-preload-box.embargo-1 .preload-box-buttons .btn{
    cursor:default;
    opacity:0.3;
    pointer-events: none;
}

.asset-display .tile-item.embargo-1 .epa-item-thumb-buttons a:hover,
.asset-display .tile-item.embargo-1 .epa-item-thumb-buttons a:focus,
.asset-display .tile-item.embargo-1 .epa-item-thumb-buttons.active a:hover,
.asset-display .tile-item.embargo-1 .epa-item-thumb-buttons.active a:focus{
	background:none;
	color:unset;
}


.listing-image.embargo-1 .embargoed{
    display:inline-block;
}



/**** ADDITIONAL FILES */

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

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

.asset-display .select-styled {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  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;
}
.asset-display .select-styled:after {
  content: "";
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
  position: absolute;
  top: 14px;
  right: 10px;
}
.asset-display .select-styled:hover {
  background-color:#aaa;
}
.asset-display .select-styled:active, .select-styled.active {
  background-color:#aaa;
}
.asset-display .select-styled:active:after, .select-styled.active:after {
  top: 4px;
  border-color: transparent transparent #fff transparent;
}

.asset-display .select-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color:#aaa;
}
.asset-display .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;
}
.asset-display .select-options li:hover {
  color:#fff;
  background:#999;
}
.asset-display .select-options li[rel="hide"] {
  display: none;
}



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

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

.GallerySectionAll,
.SideGalleryAll{
	position:relative;
	cursor:pointer;
	display: inline-block;
	padding: 12px 24px;
	background: #fff;
	border: solid thin #000;
	color:#000;
	transition: all 0.3s ease-in-out;
}

.SideGalleryAll{
    width:100%;
}

.GallerySectionAll:hover,
.SideGalleryAll:hover{
  background-color:#000;
  color:#fff;
}

.SideGalleryAll p {
    max-width: 80%;
    margin: 0px;
    padding: 0px;
    display: inline-block;
}
.SideGalleryAll span {
    display: inline-block;
    float: right;
}

.GallerySectionAll.NoSubHeading{
}

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


/*** MINI GALLERY ***/
.sidemenu{
    
}
.sidemenu-panel{
	position:relative;
	display:inline-block;
	width:100%;
	padding-left: 50px;
}

.sidemenu-panel .epa-minigallery-header{
	display:inline-block;
	width:100%;
	color:#000;
	padding:12px 0px;
}

.sidemenu-panel .gridTiles{
    gap:2%;
    background: #f0f0f0;
    padding: 10px;
}

.sidemenu-panel .gridTiles .tile-item {
  position: relative;
  width: 23.5%;
  width: 32%;
  min-width: 80px;
  background: #f0f0f0;
}

.sidemenu-panel .gridTiles .tile-item .tile-image-wrapper {
  margin-bottom: 0px;
}

.sidemenu-panel .epa-minigallery-bundlelink{
	display:inline-block;
	width:100%;
	margin-bottom:1px;
	margin-top:1px;
    padding: 12px 24px;
    background:#fff;
	color:#000;
	border:solid 1px #000;
}
.sidemenu-panel .epa-minigallery-bundlelink:hover,
.sidemenu-panel .epa-minigallery-bundlelink:focus{
    background:#000;
	color:#fff;
}

.sidemenu-panel .epa-minigallery-message {
    font-size: 0.8em;
    margin-top: -1px;
    margin-bottom: 10px;
    width: 100%;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    display: none;
}

.sidemenu-panel .epa-minigallery-download-again{
    display: inline-block;
    width: auto;
    margin: 0;
    margin-bottom: 15px;
    padding: 12px 24px;
    background:#fff;
	color:#000;
	border:solid 1px #000;
}

.sidemenu-panel .epa-minigallery-download-again:hover,
.sidemenu-panel .epa-minigallery-download-again:focus{
    background:#000;
    color:#fff;
}


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




/***** FABCY BOX ****/

.fancybox__content.document{
    background:#fff;
    padding:5px;
}

.fancybox__caption{
    width:100%;
    text-align:center;
}

.epa-item-fancy-buttons.epa-item-thumb-buttons a{
    display:inline-block;
    background:#000;
    padding:5px 10px;
    border-radius:5px;
    margin-left:3px;
    margin-right:3px;
    
    color:#fff;
}

.epa-item-fancy-buttons.epa-item-thumb-buttons a:hover,
.epa-item-fancy-buttons.epa-item-thumb-buttons a:focus{
    background:#000;
    color:#fff;
}



/***** LIGHTBOX ******/

/* The Modal (background) */
#epa-light-box{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
  
    -webkit-transition: all 0.6s ease-in-out;                  
    -moz-transition: all 0.6s ease-in-out;                 
    -o-transition: all 0.6 ease-in-out;   
    -ms-transition: all 0.6s ease-in-out;          
    transition: all 0.6s ease-in-out;
}

#epa-light-box .light-box-wrapper {
    margin: auto;
	max-height: 90%;
	height:100%;
	max-width:90%;
	width:100%;
	
	background: none;
	background-color: rgba(0,0,0,0.7);
	color: #fff;
	text-align:center;
	
	position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    
    display: flex;
    flex-direction:column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: space-between;
}

/* #epa-light-box .light-box-close,
#epa-light-box .light-box-assets,
#epa-light-box .light-box-nav,
#epa-light-box .light-box-details,
#epa-light-box .light-box-buttons{
    border:white thin dashed;
}*/

#epa-light-box .light-box-close{
    position: relative;
    width:100%;
    padding:5px;
    text-align: right;
    cursor:pointer;
}

#epa-light-box .light-box-assets{
    position: relative;
    width:100%;
    height: auto;
    max-height:40%;
    max-height:60%;
    padding:0px 5px;
}

#epa-light-box .light-box-assets .light-box-image,
#epa-light-box .light-box-assets .light-box-video{
    max-width:100%;
    max-height:100%;
}

#epa-light-box .light-box-nav{
    position: relative;
    width:100%;
    padding:0px 5px;
}
#epa-light-box a.light-box-prev, 
#epa-light-box a.light-box-next{
    font-size: 50px;
	float:left;
	line-height: 0;
	margin-left: 30px;
}
#epa-light-box a.light-box-next{
    font-size: 50px;
	float:right;
	margin-right: 30px;
}
#epa-light-box a.light-box-prev i, 
#epa-light-box a.light-box-next i{
    color:#fff;
}
#epa-light-box a.light-box-prev:hover,
#epa-light-box a.light-box-prev:focus, 
#epa-light-box a.light-box-next:hover,
#epa-light-box a.light-box-next:focus {
	color:#f60;
}
#epa-light-box a.light-box-prev i:hover, 
#epa-light-box a.light-box-next i:hover,
#epa-light-box a.light-box-prev i:focus, 
#epa-light-box a.light-box-next i:focus{
    color:#f60;
}

#epa-light-box .light-box-details{
    position: relative;
    width:100%;
    padding:0px 5px;
}

#epa-light-box .light-box-buttons{
	position: relative;
	display:inline-block;
	vertical-align:top;
	width:100%;
	background-color: rgba(0,0,0,0.6);
	padding:15px 5px;
}

#epa-light-box .light-box-buttons .btn {
    display: inline-block;
    padding: 10px 15px;
    margin: 0;
    font-size: 0.8em;
    font-weight: normal;
    line-height: 1.2;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: none;
    border-radius: 0px;
    white-space: nowrap;
	color:#fff;
	background:#000;
	border: thin solid #fff;
}

#epa-light-box .light-box-buttons .btn:hover,
#epa-light-box .light-box-buttons .btn:focus{
    color:#000;
	background:#fff;
}

@media (max-width: 550px){
    #epa-light-box .light-box-buttons .btn {
        width:100%;
        margin-bottom:5px;
    }
    #epa-light-box .light-box-buttons .btn:last-child{
        margin-bottom:0px;
    }
}

/***** NEWS LISTING ASSET COUNT *****/

.news-listing-asset-count{
    font-size: 0.7em;
	margin-bottom:10px;
}

.news-listing-asset-count .asset_count_return{
    padding-right:10px;
    padding-left:10px;
}
.news-listing-asset-count .asset_count_return:first-child{
    padding-right:10px;
    padding-left:0px;
}
.news-listing-asset-count .asset_type_d{
     padding-left:0px;
}
.news-listing-asset-count .asset_type_d::before{
    font-family:fontawesome;
    content:'\f016';
    content:'\f15b';
    font-size: 1.35em;
}
.news-listing-asset-count .asset_type_i::before{
    font-family:fontawesome;
    content:'\f030';
    font-size: 1.35em;
}
.news-listing-asset-count .asset_type_v::before{
    font-family:fontawesome;
    content:'\f03d';
    font-size: 1.35em;
}



/**** FOLDER BASKET ASSETS ****/
.folder-intro-text ul {
    padding-left: 1em;
    margin-bottom: 2em;
}

.basket-content .asset-display{
    margin-bottom:30px;
}

.basket-content .gridTiles .tile-item img{
	max-height: 120px;
}

.basket-content .gridTiles .tile-item.doc img {
    max-width: 15%;
    max-height: 20%;
}

.basket-content .gridTiles .tile-item .icons{
	display:none;
}

.basket-content .zip-toggle-wrapper,
.basket-content .zip-share-toggle-wrapper{
	line-height:0;
	cursor:pointer;
	width:100%;
	position:relative;
	display:inline-block;
	padding-top:10px;
	padding-bottom:10px;
	background:#f0f0f0;
}

.basket-content .zip-toggle-wrapper.zipped,
.basket-content .zip-share-toggle-wrapper.zipped{
}

.basket-content .zip-toggle-wrapper,
.basket-content .zip-share-toggle-wrapper{
	opacity:0.3;
}
.basket-content .zip-toggle-wrapper.active,
.basket-content .zip-share-toggle-wrapper.active{
	opacity:1;
}

.basket-content .zip-toggle,
.basket-content .zip-share-toggle{
	position: relative;
	display: inline-block;
	width: 40px;
	height: 20px;
	border-radius: 20px;
	background:#ccc;
	margin-right:10px;
	margin-left:10px;
	vertical-align: middle;
}

.basket-content .zip-toggle::before,
.basket-content .zip-share-toggle::before{
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
	border-radius: 50%;
}

.basket-content .zip-toggle-wrapper.zipped .zip-toggle,
.basket-content .zip-share-toggle-wrapper.zipped .zip-share-toggle{
	background:#f60;
}

.basket-content .zip-toggle-wrapper.zipped .zip-toggle:before,
.basket-content .zip-share-toggle-wrapper.zipped .zip-share-toggle:before{
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

.basket-content .zip-label,
.basket-content .zip-share-label{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	font-size:12px;
}



/*** Direct Access Folder ***/
.direct-access-folder .epa-section{
    margin-top:30px;
}

.direct-access-folder .dfa-intro{
    margin-bottom:30px;
}

.direct-access-folder .gallery-warning{
    background:#000;
    color:#fff;
    padding: 10px 15px;
}
