/*** Provided by Caterpillar ***/
#header .navbar-inner {
    background-color: #ffffff;
    background-image: none;
    box-shadow: none;
    border: none;
}

/*change width of bottom bar*/
#footer.navbar-static-bottom {
    height: 70px;
}

/*** Thumbnails customization ***/
/** Home page **/
body.module-home .container .thumbnails .overlay-wrapper {
    background: none;
}

body.module-home .container .thumbnails li:hover .overlay-wrapper {
    background: none;
}

body.module-home .container .thumbnails .thumb_labels_wrapper {
    position: relative;

    margin-top: 6px;
    height: 46px;
}

body.module-home .container .thumbnails .thumb_labels_wrapper .thumb_time,
body.module-home .container .thumbnails .thumb_labels_wrapper .thumb_name {
    padding: 0;
}

body.module-home .container .thumbnails .thumb_labels_wrapper .thumb_time {
    float: right;

    text-align: right;
}

body.module-home .container .thumbnails .thumb_labels_wrapper .thumb_name {
    float: left;
    width: 100%;
    box-sizing: border-box;

    padding-right: 5ex;
    margin-right: -5ex;
}

body.module-home .container .thumbnails .thumb_labels_wrapper .thumb_name .thumb_name_content {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
}


body.module-home .container .thumbnails .thumb_labels_wrapper .thumb_time .thumb_time_content,
body.module-home .container .thumbnails .thumb_labels_wrapper .thumb_name .thumb_name_content {
    color: #333;
    font-size: 14px;
    line-height: 20px;
    font-weight: normal;
    text-shadow: none;
    padding: 0;
}

body.module-home .container .thumbnails .thumb_labels_wrapper .views {
    /*display: block;*/
    /*visibility: visible;*/

    position: absolute;
    top: 26px;
    right: 0;

    font-size: 12px;
    text-align: right;

    padding-left: 24px;
    margin-right: -0.25em;
}

body.module-home .container .thumbnails .thumb_labels_wrapper .seperator {
    display: none;
}

body.module-home .container .thumbnails .thumb_labels_wrapper .views i {
    position: absolute;
    display: inline-block;
    visibility: visible;
    left: 0;
    top: 0;

    color: #333 !important;
    font-size: 14px;
    margin: 3px 6px 0 4px;
}

body.module-home .container .thumbnails .thumb_extra .history-progress {
    position: absolute;
    top: -9px;
}

/** Gallery/Channel/Playlist **/
#galleryGrid.grid li.galleryItem div.thumbnail {
    padding-bottom: 10px;
}

#galleryGrid.grid li.galleryItem div.thumbnail .overlay-wrapper {
    background: none;
}

#galleryGrid.grid li.galleryItem div.thumbnail:hover .overlay-wrapper {
    background: none;
}

#galleryGrid.grid li.galleryItem div.thumbnail .thumb_labels_wrapper {
    position: relative;

    margin-top: 6px;
    margin-bottom: 6px;
}

#galleryGrid.grid li.galleryItem div.thumbnail .thumb_labels_wrapper .thumb_time,
#galleryGrid.grid li.galleryItem div.thumbnail .thumb_labels_wrapper .thumb_name {
    padding: 0;
    margin-bottom: 6px;

    transition: none;
    transform: none;
}

#galleryGrid.grid li.galleryItem div.thumbnail:hover .thumb_labels_wrapper .thumb_name,
#galleryGrid.grid li.galleryItem div.thumbnail:hover .thumb_labels_wrapper .thumb_time {
    transition: none;
    transform: none;
}

#galleryGrid.grid li.galleryItem div.thumbnail .thumb_labels_wrapper .thumb_time {
    float: right;

    text-align: right;
}

#galleryGrid.grid li.galleryItem div.thumbnail .thumb_labels_wrapper .thumb_name {
    float: left;
    width: 100%;
    box-sizing: border-box;

    padding-right: 5ex;
    margin-right: -5ex;
}

#galleryGrid.grid li.galleryItem div.thumbnail .thumb_labels_wrapper .thumb_name .thumb_name_content {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
}

#galleryGrid.grid li.galleryItem div.thumbnail .thumb_labels_wrapper .thumb_time .thumb_time_content,
#galleryGrid.grid li.galleryItem div.thumbnail .thumb_labels_wrapper .thumb_name .thumb_name_content {
    color: #333;
    font-size: 14px;
    line-height: 20px;
    font-weight: normal;
    text-shadow: none;
    padding: 0;
}

#galleryGrid.grid li.galleryItem div.thumbnail .accordion,
#galleryGrid.grid li.galleryItem div.thumbnail .accordion .accordion-body,
#galleryGrid.grid li.galleryItem div.thumbnail:hover .accordion,
#galleryGrid.grid li.galleryItem div.thumbnail:hover .accordion .accordion-body {
    visibility: visible;
    height: auto;
    transition: none;
    transform: none;
}

#galleryGrid.grid li.galleryItem div.thumbnail .accordion .accordion-heading {
    width: 100%;
    box-sizing: border-box;
    margin-right: -150px;
    padding-right: 150px;

    overflow: hidden;
}

#galleryGrid.grid li.galleryItem div.thumbnail .accordion .accordion-body {
    top: auto;
    width: 150px;

    text-align: right;
    margin-bottom: 20px;
}

#galleryGrid.grid li.galleryItem div.thumbnail .accordion .thumb_user,
#galleryGrid.grid li.galleryItem div.thumbnail:hover .accordion .thumb_user {
    width: auto;

    color: #333;
    padding: 0;
    white-space: nowrap;
}

#galleryGrid.grid li.galleryItem div.thumbnail .accordion .thumb_user a {
    max-width: 20ex;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;

    color: #00b4d1;
}

#galleryGrid.grid li.galleryItem div.thumbnail .accordion .thumb_user .thumb_user_content {
    width: 100%;
    color: #333;
}

@media (max-width: 1199px) {
    #galleryGrid.grid li.galleryItem div.thumbnail .accordion .thumb_user .thumb_user_content {
        visibility: collapse;
    }

    #galleryGrid.grid li.galleryItem div.thumbnail .accordion .thumb_user .thumb_user_content .thumbTimeAdded {
        visibility: visible;
        position: absolute;
        left: 0;
    }
}

#galleryGrid.grid li.galleryItem div.thumbnail .accordion .accordion-body .stat_data {
    float: right;
    font-size: 12px;
    font-weight: normal;
    margin-left: 0;
}

#galleryGrid.grid li.galleryItem div.thumbnail .accordion .accordion-body .stat_data,
#galleryGrid.grid li.galleryItem div.thumbnail .accordion .accordion-body .stat_data .stat,
#galleryGrid.grid li.galleryItem div.thumbnail .accordion .accordion-body .stat_data .stat i {
    color: #333;
}

#galleryGrid.grid li.galleryItem div.thumbnail .accordion .accordion-body .stat_data .stat i {
    font-size: 14px;
    margin: 3px 6px 0 4px;
}

#galleryGrid.grid li.galleryItem div.thumbnail .accordion .accordion-body .stat_data .stat a {
    color: #00b4d1;
}

#galleryGrid.grid li.galleryItem div.thumbnail .accordion .accordion-body .buttons-expand {
    display: none;
}

/** Related Media **/
#related-tab-pane .thumb-wrapper .thumbnail .overlay-wrapper,
#mySidebar .thumbnail .overlay-wrapper {
    background: none;
}

#mySidebar .thumbnail li:hover .overlay-wrapper {
    background: none;
}

#related-tab-pane .thumb-wrapper .thumbnail .thumb_labels_wrapper,
#mySidebar .thumbnail .thumb_labels_wrapper,
#orderedPlaylists .playlist-carousel-container .thumbnails .channelPlaylistGalleryItem .thumbnail .thumb_labels_wrapper {
    position: relative;

    margin-top: 6px;
}

#related-tab-pane .thumb-wrapper .thumbnail .thumb_labels_wrapper .thumb_time,
#related-tab-pane .thumb-wrapper .thumbnail .thumb_labels_wrapper .thumb_name,
#mySidebar .thumbnail .thumb_labels_wrapper .thumb_time,
#mySidebar .thumbnail .thumb_labels_wrapper .thumb_name,
#orderedPlaylists .playlist-carousel-container .thumbnails .channelPlaylistGalleryItem .thumbnail .thumb_labels_wrapper .thumb_time,
#orderedPlaylists .playlist-carousel-container .thumbnails .channelPlaylistGalleryItem .thumbnail .thumb_labels_wrapper .thumb_name {
    padding: 0;
}

#related-tab-pane .thumb-wrapper .thumbnail .thumb_labels_wrapper .thumb_time,
#mySidebar .thumbnail .thumb_labels_wrapper .thumb_time,
#orderedPlaylists .playlist-carousel-container .thumbnails .channelPlaylistGalleryItem .thumbnail .thumb_labels_wrapper .thumb_time {
    float: right;

    text-align: right;
}

#related-tab-pane .thumb-wrapper .thumbnail .thumb_labels_wrapper .thumb_name,
#mySidebar .thumbnail .thumb_labels_wrapper .thumb_name,
#orderedPlaylists .playlist-carousel-container .thumbnails .channelPlaylistGalleryItem .thumbnail .thumb_labels_wrapper .thumb_name {
    float: left;
    width: 100%;
    box-sizing: border-box;

    padding-right: 5ex;
    margin-right: -5ex;
}

#related-tab-pane .thumb-wrapper .thumbnail .thumb_labels_wrapper .thumb_name .thumb_name_content,
#mySidebar .thumbnail .thumb_labels_wrapper .thumb_name .thumb_name_content,
#orderedPlaylists .playlist-carousel-container .thumbnails .channelPlaylistGalleryItem .thumbnail .thumb_labels_wrapper .thumb_name .thumb_name_content {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
}

#related-tab-pane .thumb-wrapper .thumbnail .thumb_labels_wrapper .thumb_time .thumb_time_content,
#related-tab-pane .thumb-wrapper .thumbnail .thumb_labels_wrapper .thumb_name .thumb_name_content,
#mySidebar .thumbnail .thumb_labels_wrapper .thumb_time .thumb_time_content,
#mySidebar .thumbnail .thumb_labels_wrapper .thumb_name .thumb_name_content,
#orderedPlaylists .playlist-carousel-container .thumbnails .channelPlaylistGalleryItem .thumbnail .thumb_labels_wrapper .thumb_time .thumb_time_content,
#orderedPlaylists .playlist-carousel-container .thumbnails .channelPlaylistGalleryItem .thumbnail .thumb_labels_wrapper .thumb_name .thumb_name_content {
    color: #333;
    font-size: 14px;
    line-height: 20px;
    font-weight: normal;
    text-shadow: none;
    padding: 0;
}

#related-tab-pane .thumb-wrapper .thumbnail .thumb_labels_wrapper .thumb_time .thumb_time_content .duration,
#mySidebar .thumbnail .thumb_labels_wrapper .thumb_time .thumb_time_content .duration,
#orderedPlaylists .playlist-carousel-container .thumbnails .channelPlaylistGalleryItem .thumbnail .thumb_labels_wrapper .thumb_time .thumb_time_content .duration {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
}

#orderedPlaylists .playlist-carousel-container .thumbnails {
    height: 234px;
}

@media (max-width: 767px) {
    #orderedPlaylists .playlist-carousel-container .thumbnails .channelPlaylistGalleryItem .thumbnail {
        padding: 0 5px;
    }
}

#orderedPlaylists .playlist-carousel-container .thumbnails .channelPlaylistGalleryItem .thumbnail .thumb_labels_wrapper {
    transition: transform 0.5s, width 0.5s;
}

#orderedPlaylists .playlist-carousel-container .thumbnails.active .channelPlaylistGalleryItem:hover .thumbnail .thumb_labels_wrapper {
    margin-left: -2px;
}

.terms-of-service-container div.content{
	overflow-y: scroll;
	height: 100vh;
}
