html { 
    height: 100%!important 
}
body { 
    height: 100%!important; 
    display: flex!important; 
    flex-direction: column!important; 
    background-color: #f8f9fa!important;
    font-family: "Roboto", "Arial", sans-serif;
}

footer { 
    font-size: 0.8rem; 
}
        
nav[aria-label='breadcrumb'] {
   font-size: 0.8rem;
}

.content-block {
   width: 1000px;
}
.card-video {
    width: 17rem;
}
.first-tab {
    margin-left: calc((100vw - 1000px) / 2);
}

a.episode-link:hover {
    border: 1px solid #dee2e6;
    /* border-radius: 0; */
    background-color: white;
}

.clip-preview p {
    margin-top: 150px; 
    margin-left: 314px;
    opacity: 0.8;
}

.clip-preview:hover p {
    opacity: 1;
}

.clip-preview p > img {
    width: 113px;
    border-radius: 50%;
    border: 7px solid transparent;
}
.clip-preview:hover p > img {
    border: 7px solid white;
    background-color: white;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.clip-description {
  /*font-size: 14px;*/
  line-height: 1.5;
}

.clip-description p.collapse:not(.show) {
    height: 6ex !important;
    overflow: hidden;
  
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
}

.clip-description p.collapsing {
    min-height: 6ex !important;
}

.clip-description a.collapsed:after  {
    content: 'Показать';
}

.clip-description a:not(.collapsed):after {
    content: 'Скрыть';
}


a.item-tag-type-tag {
    border-color: darkred;
    color: darkred;
    background: mistyrose;
}

a.item-tag-type-division {
    background-color: lightcyan;
}

a.item-tag-type-dir {
    border-color: darkviolet;
    background-color: pink;
    color: black;
}

a.item-tag-type-function {
    border-color: darkgoldenrod;
    background-color: khaki;
    color: black;
}

a.item-tag-type-project {
    border-color: darkgreen;
    background-color: darkseagreen;
    color: darkgreen;
}


.vp-clip-info > span:not(.placeholder):not(:first-child)::before {
    content: "•";
    margin: 0 0.25rem 0 0.175rem;
}

.vp-clip-img {
    margin-bottom: -1.25rem;
}

.vp-clip-duration {
    padding: 0.25rem 0.5rem;
    bottom: 2rem;
    right: 0.6rem;
    margin-bottom: -1.05rem;
}