/*!
* \cond
* Copyright (c) 2016 Imagen Ltd.
*
* This software is protected by copyright and the information contained herein
* is confidential. The software may not be copied and information contained
* herein may not be used or disclosed except with the written permission of
* Imagen Ltd.
* \endcond
*
* \file
* \brief ImagenWeb CIS - Frames Grid
*/

.frames_grid {
    padding: 1.5rem 1.5rem 0 1.5rem;
    width:100%;
}

.frames_grid_body .frames-imageGridItemTxt {
    padding: 0;
    font-size: .79rem;
    background: none;
    top: -24px;
    margin-bottom: -25px;
	color: #fff;
	border: 0;
	position: relative;
	display: block;
	min-height: inherit;
	overflow: hidden;
	font-family: sans-serif;
}

.frames_grid_slide_container{
    width:100%;
}

.frames_grid_body .imageGridDurationText,
.imageGridTimecodeText {
    background-color: rgba(0, 0, 0, 0.54);
    float: left;
    padding: .1875rem .375rem;
    position: relative;
    top: 2px;
}

.frames_grid_body {
    overflow: hidden;
    width:100%;
}

.frames_grid_body ul {
    overflow: hidden;
    margin: 0 0 1.5rem -5px;
    padding: 0;
    display: inline-block;

    vertical-align: top;
    font-size: 0;
}

.frames_grid_body li {
    display:inline-block;
    margin: 2px 0 3px 5px;
    cursor: pointer;
    overflow: hidden;
    font-size: 1rem;
}

.frames_grid_body li img {
    display: block;
}

.frames_grid_body li:hover .recordImageGridItem,
.frames_grid_body li:active .recordImageGridItem,
.frames_grid_body li:focus .recordImageGridItem {
    visibility: visible;
    color: #fff;
}

.time_code_mode .imageGridDurationText,
.imageGridTimecodeText {
    display: none;
}

.time_code_mode .imageGridTimecodeText {
    display: block;
}

.frames-title {
    margin: 0 0 1.5rem 0;
}

.recordImageGridItem {
    position: absolute;
    top: 4px;
    right: 0;
    visibility: hidden;
    color: #fff;
}

.frames-intervalList {
    line-height: 1;
    margin: 0 0 .75rem 0;
    padding: 0;
}

.frames-intervalItem {
    margin-bottom: .375rem;
    border-radius: 2px;
    cursor: pointer;
}

.frames-intervalItem,
.frames-intervalLabel {
    display: inline-block;
    margin-right: .75rem;
}

.frames-intervalItemLink {
    text-decoration: none;
    color: #404040;
    padding: .75rem;
    display: inline-block;
}

.frames-intervalItem.selected,
.frames-intervalItem.selected:hover {
    background-color: #d1d1d1;
}

.frames-intervalItem:hover {
    background-color: #f3f3f3;
}

.framesGrid-listItem {
    position: relative;
}

.frames-imageGridItemTxt {
    background: rgba(0, 0, 0, 0.54);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: .375rem;
    min-height: 25px;
    position: relative;
    margin-bottom: -33px;
    color: #fff;
    text-align: center;
}