
.gallery .title,
.videosDetails .title {
    font-size: 1.1em;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 1em; /* fallback */
    max-height: 32px; /* fallback */
    min-height: 32px; /* fallback */
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
}
.gallery .watch-view-count {
    font-size: 0.8em;
    font-weight: normal;
    border: 0;
    margin: 0;
    padding: 0;
}
.galleryVideo  {
    padding-bottom: 10px;
}

.galleryVideo .group {
    overflow: hidden;
    text-overflow: ellipsis;
}

.mainArea{
    padding: 15px;
}

h3.galleryTitle{
    padding: 15px 5px;
}

.aspectRatio16_9 {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.aspectRatio16_9 img{
    text-indent:-9999px;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.aspectRatio16_9 .thumbsImage img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
.thumbsGIF{
    text-indent:-9999px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.firstRow{
    margin-bottom: 10px;
    padding-bottom: 25px;
    border-bottom: solid 1px #EEE;
}

.galeryDetails{
    font-size: smaller;
}

.galeryDetails div{
    float: left;
    padding-right: 5px;
    margin: 2px 0;
}

.firstRow .galeryDetails div{
    font-size: 1em;
}

.galeryDetails div.userName{
    width: 100%;
}

#videoButtonOptions{
    padding: 10px;
    white-space: nowrap;
}

#videoButtonOptions .btn-link{
    padding: 1px 0;
}

#videoButtonOptions div{
    float: none;
}

#videoButtonOptions .btn {
    font-size: unset;
}

.galleryVideo > .galeryDetails{
    width: calc(100% - 20px);
    float: left;
}

.fixPadding{
    padding: 0 5px;
}

.popover-content, .popover-content>div{
    white-space: normal !important;
    width: auto;
    color: inherit !important;
}
.popover-content>div{
    overflow-y: auto;
    height: 140px;
}

.mainAreaDescription{
    position:relative;
    height:100%;
    width: 110%;
    padding-right: 10%;
    overflow-x:hidden;
    overflow-y:scroll; 
    max-height: 17vw;
}
.mainAreaDescriptionContainer{
    position: relative;
    overflow: hidden;
}
a.h6{
    text-decoration: none !important;
}

a.h6.galleryLink > strong{
    margin-top: 8px;
}

.popover-title { 
    color: black;
    font-size: 1em;
} 

.popover-content{
    color: black !important; 
    font-size: 0.8em;
}

.gallery .label{
    border-radius: 0;
}
.gallery .label:first-child{
    border-top-left-radius: 0.25em;
    border-bottom-left-radius: 0.25em;
}
.gallery .label:last-child{
    border-top-right-radius: 0.25em;
    border-bottom-right-radius: 0.25em;
}

.galleryTitle a.btn-default:hover{
    background-color: transparent;
}

.galeryRowElement .galleryVideo {
    margin-bottom: 10px; 
}

.galleryVideoButtons{
    position: absolute; 
    right: 5px; 
    top: 5px; 
    z-index: 1025;
    display: none;
    
}
.galleryVideoButtons button{
    opacity: 0.7;
    display: inline-grid;
    padding: 5px 1px;
    justify-content: center;
    margin: 1px 0;
    width: 25px;
    height: 25px;
} 
.galleryVideo:hover  .galleryVideoButtons,
.thumbsImageContainer:hover  .galleryVideoButtons,
.galleryVideo:active  .galleryVideoButtons,
.thumbsImageContainer:active  .galleryVideoButtons,
.galleryVideo:focus  .galleryVideoButtons,
.thumbsImageContainer:focus  .galleryVideoButtons {
    display: block !important;
} 
.galleryVideoButtons button:hover,
.galleryVideoButtons button:active,
.galleryVideoButtons button:focus{
    opacity: 1;
}
.galleryVideoButtons  div.dropdown .dropdown-menu{
    margin: -20px auto auto -160px;
}
.galleryVideo div.galleryVideoButtons > div > ul > li > button{
    opacity: 1;
    display: inline-block;
    width: 100%;
}

.gallerySerieOverlay{
    position: absolute; 
    left: 0; 
    top: 0; 
    z-index: 1020;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0);
    color: rgba(0,0,0,0);
    -webkit-box-align:center;
    -webkit-box-pack:center;
    display:-webkit-box;
    font-weight: bold;
}
.gallerySerieOverlay:hover{
    background-color: rgba(0,0,0,0.5);
    color: #FFF;
}
.gallerySerieOverlayTotal{
    position: absolute; 
    right: 0; 
    top: 0; 
    width: 25%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    color: #FFF;
    -webkit-box-align:center;
    -webkit-box-pack:center;
    display:-webkit-box;
    font-weight: bold;
}


.galleryTags .label{
   display: table-cell;
   font-size: 0.9em;
}

.isChannelToGallery .addChannelToGallery, .removeChannelFromGallery{
    display: none;
}

.isChannelToGallery .removeChannelFromGallery {
    display: inline-block;
}
.galleryTags{
    margin: 0 4px 0 0;
    display: inline-flex;
 }
.videoChannel {
    display: flex;
    align-items: center;
}
.videoChannel a {
    display: flex;
    align-items: center;
}

.videoChannel a img{
    width: 20px; 
    margin: 2px 5px 2px 0;
}
.videoChannel a i{
    margin-left: 2px;
}
.channelPhoto{
    width: 35px;
    margin-right:10px;
}
.channelPhotoDescription{
    width: calc(100% - 65px);
}

.notShowChannel .channelPhotoDescription{
    width: calc(100% - 25px);
}

.channelPhoto {
    filter: grayscale(50%);
    opacity: 0.7; 
    transition: filter 0.3s, opacity 0.3s; 
}

.galleryVideo:hover .channelPhoto {
    filter: grayscale(0%);
    opacity: 1; 
}

.videoHumanTime{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    display: inline-block;
}
.galeryDetailsContent{
    margin: 5px 0 15px 0;
}