﻿.media { }

.photo-album-page .media, .student-photo-album-page .media 
{ 
    border-top: 1px solid #CCC;
    padding-top: 10px;
    margin-top: 5px;
}                         

.media .block { margin: 5px 0; width: 100%; clear: both; font-size: 8.5pt; }

.media .block h3 {  }

.media .block .items { margin: 0; }

.media .block .items.videos 
{
    width: 624px;
}

.media .block .items.slider,
.media .block .items.videos 
{
    margin-bottom: 1em;
}

.media .block .items .item { width: 121px; margin: 0 5px 10px 0; }

.media .block .items .item.last { margin-right: 0; }

.media .block .items .item .parent { line-height: 1.3em; }

.media .block .items .item .thumbnail { margin: 0 auto; margin-bottom: 5px; height: 68px; text-align: center; overflow: hidden; clear: both; }

.media .block .items .item .thumbnail a .videoOverlay 
{ 
    position: absolute;
    z-index: 100;
    top: -36px;
    right: 25px;
    width: 32px;
    height: 32px; 
}

.media .block .items .item .thumbnail a .videoOverlay  img
{
    width: 100%;
    height: auto;
    display: inline-block !important;
    padding: 0 !important;
}

.media .block .items .item .thumbnail img { width: 100%; height: auto; text-align: center; padding: 0 !important; }

.media .block .items .item .title { line-height: 1.3em; font-weight: bold; }

.media .block .items .item .title a { color: #221F20; text-decoration: none; }
.media .block .items .item .title a:hover { color: #221F20; text-decoration: underline; }

.media .block .items .item .caption { display: none; line-height: 1.3em; }

.media .block .mediaLink 
{
    text-align: right;
    font-size: 12pt;
}

.media .block .mediaLink a 
{
    text-decoration: none;
}

.studentWork 
{
    padding: 5px 5px;
    font-size: 12pt;
    font-weight: bold;
    text-transform: uppercase;
    color: #FFF;
    background-color: #ba0c2f;
    margin-bottom: 10px;
}

/*  Clean Site and Two Column Media Page
----------------------------------------------------------------------*/

#microContent.cleanSite .media,
.two-column-media-page .media
{ 
    
}

#microContent.cleanSite .media .block,
.two-column-media-page .media .block
{ 
}

#microContent.cleanSite .media .block .items .item,
.two-column-media-page .media .block .items .item
{
    width: 31%;
    margin: 0 10px 20px 0;
}

#microContent.cleanSite .media .block .items .item .thumbnail,
.two-column-media-page .media .block .items .item .thumbnail
{
    height: 120px;
}

/*  LightSlider
----------------------------------------------------------------------*/
.media .block .items ul,
.media .block .items ol 
{
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.media .block .items.videos.full ul#mainSlider
{
    height: 351px !important;
    padding-bottom: 0 !important;
}

.media .block .items ul li,
.media .block .items ol li 
{
    margin-bottom: 0;
    overflow: hidden;
}

.media .block .items.videos li.videoThumb 
{
    background-color: #000;
}

.media .block .items ul li:last-of-type,
.media .block .items ol li:last-of-type 
{
    margin-bottom: 0;
}

.media .block .items img.photo {
    padding: 0 !important;
    width: 100%;
    height: auto;
    z-index: auto !important;
}

.media .block .items img.thumbPhoto {
    padding: 0 !important;
    width: 100%;
    height: auto;
    z-index: auto !important;
}

.media .block .items span.caption 
{
    position: absolute;
    bottom: 0;
    z-index: 200;
    display: block;
    
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 10px;
    
    font-family: 'NewsGothicBT-Roman';
    font-weight: normal;
    font-size: 14pt;
    color: #FFF;
    line-height: 1.2em;
}

.media .block .items.videos li.videoThumb a 
{
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 115px;
}

.media .block .items.videos li.videoThumb a > div.videoOverlay {
	display: block;
	width: 100%;
	height: 36px;
	top: 50%;
	background-image: url('/Components/Design/Images/Icons/playbutton.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	cursor: pointer;
	position: absolute;
	z-index: 99;
	margin-top: -18px;
	opacity: 0.75;
	-webkit-transition: opacity 0.35s linear 0s;
	transition: opacity 0.35s linear 0s;
}

.media .block .items.videos li.videoThumb a:hover > div.videoOverlay {
	opacity: 1;
}

/**************************************************
**  MEDIA QUERIES    ******************************
**************************************************/

/*940px __________________________________________________________________________________________________________ */
@media only screen and (max-width: 940px) 
{
    #microContent.cleanSite .media 
    { 
        padding: 10px 5px;
    }
}

/*480px __________________________________________________________________________________________________________ */
@media only screen and (max-width: 480px)
{
    #microContent.cleanSite .media .block .items .item 
    {
        width: 100%;
        margin: 0 0 20px 0;
    } 
    
    #microContent.cleanSite .media .block .items .item .thumbnail
    {
        height: auto;
    }
    
    #microContent.cleanSite .media .block .items .item a.cboxElement 
    {
        pointer-events: none;
    }
}