/* --------------- CSS RESET BEGIN --------------- */
.web-presentation-grid html,
.web-presentation-grid body, 
.web-presentation-grid div, 
.web-presentation-grid span, 
.web-presentation-grid applet, 
.web-presentation-grid object, 
.web-presentation-grid iframe,
.web-presentation-grid h1, 
.web-presentation-grid h2, 
.web-presentation-grid h3, 
.web-presentation-grid h4, 
.web-presentation-grid h5, 
.web-presentation-grid h6, 
.web-presentation-grid p, 
.web-presentation-grid blockquote, 
.web-presentation-grid pre,
.web-presentation-grid a, 
.web-presentation-grid abbr, 
.web-presentation-grid acronym, 
.web-presentation-grid address, 
.web-presentation-grid big, 
.web-presentation-grid cite, 
.web-presentation-grid code,
.web-presentation-grid del, 
.web-presentation-grid dfn, 
.web-presentation-grid em, 
.web-presentation-grid img, 
.web-presentation-grid ins, 
.web-presentation-grid kbd, 
.web-presentation-grid q, 
.web-presentation-grid s, 
.web-presentation-grid samp,
.web-presentation-grid small, 
.web-presentation-grid strike, 
.web-presentation-grid strong, 
.web-presentation-grid sub, 
.web-presentation-grid sup, 
.web-presentation-grid tt, 
.web-presentation-grid var,
.web-presentation-grid b, 
.web-presentation-grid u, 
.web-presentation-grid i, 
.web-presentation-grid center,
.web-presentation-grid dl, 
.web-presentation-grid dt, 
.web-presentation-grid dd, 
.web-presentation-grid ol, 
.web-presentation-grid ul, 
.web-presentation-grid li,
.web-presentation-grid fieldset, 
.web-presentation-grid form, 
.web-presentation-grid label, 
.web-presentation-grid legend,
.web-presentation-grid table, 
.web-presentation-grid caption, 
.web-presentation-grid tbody, 
.web-presentation-grid tfoot, 
.web-presentation-grid thead, 
.web-presentation-grid tr, 
.web-presentation-grid th, 
.web-presentation-grid td,
.web-presentation-grid article, 
.web-presentation-grid aside, 
.web-presentation-grid canvas, 
.web-presentation-grid details, 
.web-presentation-grid embed,
.web-presentation-grid figure, 
.web-presentation-grid figcaption, 
.web-presentation-grid footer, 
.web-presentation-grid header, 
.web-presentation-grid hgroup,
.web-presentation-grid menu, 
.web-presentation-grid nav, 
.web-presentation-grid output, 
.web-presentation-grid ruby, 
.web-presentation-grid section, 
.web-presentation-grid summary,
.web-presentation-grid time, 
.web-presentation-grid mark, 
.web-presentation-grid audio, 
.web-presentation-grid video
{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

.web-presentation-grid article, 
.web-presentation-grid aside, 
.web-presentation-grid details, 
.web-presentation-grid figcaption, 
.web-presentation-grid figure,
.web-presentation-grid footer, 
.web-presentation-grid header, 
.web-presentation-grid hgroup, 
.web-presentation-grid menu, 
.web-presentation-grid nav, 
.web-presentation-grid section
{
    display: block;
}

.web-presentation-grid body
{
    line-height: 1;
}

.web-presentation-grid ol, .web-presentation-grid ul
{
    list-style: none;
}

.web-presentation-grid blockquote, q
{
    quotes: none;
}

.web-presentation-grid blockquote:before, 
.web-presentation-grid blockquote:after,
.web-presentation-grid q:before, 
.web-presentation-grid q:after
{
    content: '';
    content: none;
}

.web-presentation-grid table
{
    border-collapse: collapse;
    border-spacing: 0;
}
/* --------------- CSS RESET END --------------- */


.web-presentation-grid
{
    display:none;
    font-family: Arial, Tahoma, Verdana, sans-serif;
}

.web-presentation-grid h1
{
    font-size: 19px;
    font-weight: bolder;
    color: #334c70;
    letter-spacing: 0px;
    margin: 7px 0px 7px 0px;
}

.web-presentation-grid .grid-section h2
{
    font-size: 16px;
    font-weight: Bolder;
    color: rgb(111, 111, 111);
    margin: 7px 0 6px 0;
    display: block;
    padding: 0px 0px 5px 0px;
}

.web-presentation-grid .grid-section h3
{
    font-size: 16px;
    font-weight: Bolder;
    text-align: center;
    color: rgb(141, 141, 141);
    border-bottom: 2px solid rgb(216, 216, 216);
    display: block;
    margin: 25px 0 6px 0;
    padding: 0px 0px 5px 0px;
}

.web-presentation-grid .grid-section
{
    background-color: #F7F7F7;
    margin: 5px;
    padding: 10px;
    margin-bottom: 20px;
}

.web-presentation-grid .grid
{
    text-align: center;
}

.web-presentation-grid .grid li
{
    display: inline-block;

    
    /*width:220px; Fixed-Size */
    width: 30%; /* Auto-Size */

    text-align: center;
    margin: .75% .65%;
    background-color: black;
    background-color: #303237;
    color: gray;
    position: relative;
}

.web-presentation-grid .grid li.selected
{
    /*border: solid 3px rgba(252,218,82,1);*/
    outline:3px solid rgba(252,218,82,1);
}


.web-presentation-grid.screenshots .grid li
{
    line-height:150px;
}

.web-presentation-grid.screenshots .grid .thumbnail
{
    vertical-align:middle;
}

.web-presentation-grid .grid li:hover
{
    cursor: pointer;
}

.web-presentation-grid .grid .title
{
    position: absolute;
    bottom: 0px;
    color: #f7f3f3;
    background-color: rgba(58,82,117,0.87);
    font-size: 12px;
    text-align: center;
    height: 30px;
    line-height: 30px;
    
    /*Complementing percentages allowing for fluid layout*/
    width: 100%;
    padding: 0px 5%;
    
    border-top: 1px solid gray;
}

.web-presentation-grid .grid .title-container
{
    /* The purpose of the title container is to 
    properly supported centered, fluid, auto-ellipsed
    titles properly.*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.web-presentation-grid .grid .thumbnail
{
    width: 80%;
}
.web-presentation-grid.screenshots .grid .thumbnail
{
    width: 80%;
    max-height:150px;
}


.web-presentation-grid .grid .description
{
    display: none;
    position: absolute;
    z-index: 100;
    color: White;
    font-size: 12px;
    text-align: left;
    background-color: rgba(0,0,0,0.85);
    
    /*---------*/
    /* Allows for spacing between description */
    /* and rest of items */
    border-top: 4px solid rgba(0,0,0,0);
    background-clip: padding-box;
    /*---------*/
    
    text-align: justify;
    line-height: 14px;
    
    /*Complementing percentages allowing for fluid layout*/
    width: 100%;
    padding: 5%;


}

.web-presentation-grid .grid .hover-image
{
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    /*background-size:20%;*/
    display: none;
}

.web-presentation-grid.videos .grid .hover-image
{
    background-image: url('../images/play-button.png');
}

.web-presentation-grid.screenshots .grid .hover-image
{
    background-image: url('../images/zoom-button.png');
}


.web-presentation-grid .grid .hover-image img
{
    /*height:25%;
    width:25%;
    height:20px;
    width:20px;
    */
}




.web-presentation-grid.screenshots #screenshot
{
    max-width:100%;
    max-height:100%;
    vertical-align:middle;
}

.web-presentation-grid.screenshots .modal-window
{
    left: 5%;
    right: 5%;
    top: 5%;
    bottom: 5%;
    /*border:1px solid red;*/
}




/*-------------------------------------------------*/
/*Modal Video Preview*/
/*-------------------------------------------------*/

#modal-preview .media-container
{
    position: absolute;
    top: 10px;
    bottom: 120px;
    left: 10px;
    right: 10px;

    /*Comment this out when implementing thumbnails*/
    /*------*/
    bottom:10px;
    /*------*/
}

#modal-preview .thumbnail-container
{
    position: absolute;
    bottom: 10px;
    height: 100px;
    left: 30px;
    right: 30px;
    background-color: black;
    overflow: hidden;
    text-align: left;

    /*Disabled until future implementation*/
    display:none;
}

#modal-preview .thumbnails
{
    width: 3000px;
}

#modal-preview .thumbnails li
{
    display: inline-block;
}

#modal-preview .thumbnail-container .thumbnail
{
    height: 100px;
    padding-right: 10px;
    cursor: pointer;
}






/*-------------------------------------------------*/

#right-click-menu
{
    display: none;
    position: absolute;
    
    
    color: White;
    font-family: Arial, Tahoma, Verdana, sans-serif;
    font-size: 12px;
    text-align: left;
    background-color: rgba(0,0,0,0.75);

    padding:0px;
    margin:0px;

}
#right-click-menu li
{
    padding: 10px;
    marging:0px;
}



/*-------------------------------------------------*/
.modal-background
{
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    /*background-image:url("./images/50bg.png");*/
    background-color: rgba(0,0,0,0.5);
    background-repeat: repeat;
    top: 0;
    left: 0;
    z-index: 10000000;
    text-align: center;
    /* Needs to be hidden on page load */
    display: none;
}

.modal-background .modal-window
{
    overflow: visible;
    display: block;
    position: fixed;
    /*height:80%;
    width:80%;*/
    left: 10%;
    right: 10%;
    top: 10%;
    bottom: 10%;
    background-color: black;
    padding: 20px;
    text-align: left;
    /*background-color:red;*/
    text-align: center;
}

/*-------------------------------------------------*/
.modal-background.lightbox .modal-window
{
    text-align: center;
    padding: 30px;
    border: none;
    min-height: 0%;
    min-width: 0%;
    max-height: 80%;
    max-width: 80%;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.80);
    -moz-box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.80);
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.80);
    overflow: hidden;
}

.modal-background.lightbox .lightbox-image
{
    max-height: 80%;
    max-width: 80%;
}

.modal-background .modal-window .close-button
{
    position: absolute;
    top: 6px;
    right: 6px;
    height: 22px;
    width: 22px;
    background-image: url("../images/close-button.png");
    background-repeat: no-repeat;
    background-position: right center;
    cursor: pointer;
}


@media (max-width: 600px)
{
  .web-presentation-grid.videos li {
      display: block;
      width: 100%;
      margin-bottom: 20px;
  }
}