:root{
    --dicon-body-bg-color: #edf2f9;
    --dicon-image: url('background.png');
    --dicon-image--background--card: url('background_small_card.png');
    --dicon-box-shadow: 0 7px 14px 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
    --dicon-box-background-color: rgba(253, 234, 182, 0.35)
}

body{
    font-family: 'Open Sans',Arial,Helvetica,sans-serif;
    /*font-family: 'Hind Guntur', sans-serif;*/
    font-size: 16px;
    background-color: var(--dicon-body-bg-color);
    background-size: cover;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

div{
    margin: 0;
    padding: 0;
}

a{
    color: inherit;
    text-decoration: none;

}
ul{
    list-style: none;
}

.dicon-main-container{
  position: relative;
  display: flex;
  flex-flow: column;
  width: 98%;
  height: 100vh;
  /*background-color: #555555;*/
  margin-left: 1%;
  margin-right: 1%;
  /*background-image: var(--dicon-image);*/
  /*background-size: cover;*/
  /*opacity: 0.3;*/
  /*background-blend-mode: lighten;*/
}

.dicon-content-container{
  height: 90%;
  width: 100%;
  /*background-color: #000efe;*/
  position: relative;
  display: flex;
  justify-content: space-between;

  justify-items: auto;
}

/*Управление пользователем*/
a.login{
    text-decoration: none;
    color: black;
}

.container_login{
    /*margin-left: 250px;*/
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-flow: column;
    position: relative;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.login_helper{
    font-size: 12px;
    font-style: italic;
    color: grey;
}


.user-card{
    box-shadow: var(--dicon-box-shadow);
    background-color: var(--dicon-box-background-color);
    padding: 10px;
    display: flex;
    flex-flow: column;
    width: 30%;
    justify-items: center;
    align-items: center;
}

.account_img{
   width: 128px;
}

/*.account_img:hover:after{*/
/*    display: block;*/
/*    content: "";*/
/*    position: absolute;*/
/*    background-color: black;*/
/*    width: 5px;*/
/*    height: 5px;*/
/*}*/

.account_img:hover .profile_editor_button {
    visibility: visible;
}

.login_helper_with_edit{
    height: 32px;
    align-items: center;
}

.login_helper_with_edit:hover .profile_editor_button {
    visibility: visible;
    margin-left: 0;
    margin-top: 0;
}

.profile_editor_button{
    position: absolute;
    margin-left: -3%;
    margin-top: 1%;
    visibility: hidden;
    height: 32px;
    width: 32px;
    padding: 0 !important;
}

/*Стили карточек*/

.dicon-body-container{
    min-height: 95%;
    height: fit-content;
    width: 100%;
  /*background-color: #b3d4fc;*/
    margin-left: 210px;
    margin-top: 90px;
    padding-bottom: 5px;
    flex-flow: row;

}

.dicon-body-no-side-bar{
    margin-left: 0;
}


.card_container{
    /*margin-left: 10px;*/
    /*margin-top: 10px;*/
    /*margin-right: 10px;*/
    /*background-color: #b3d4fc;*/
    background-clip: border-box;
    height: 100vh;
}

.card_thumb_point{
    /*height: fit-content;*/
    overflow: hidden;
    border-radius: 5px;
}

.card_thumb_point:hover
{
    opacity: 0.9;

}

.video_play_pict:hover{
    scale: 120%;
    z-index: 1;
}

.video_play_pict{
    position: absolute;
    width: 32px;
    height: 32px;
    margin-top: 100px;
}
.card_body{
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    /*border-color: var(--bs-border-color);*/
    box-shadow: var(--bs-box-shadow);
    background-clip: border-box;
}

.card_body:hover{
    scale: 101%;
}

.card_image_container{
    position: relative;
    display: flex;
    justify-content: center;
    height: 70%;

    width: 100%;
    /*background-image: var(--dicon-image--background--card);*/
    background-size: cover;
    padding: 0;
}

h5{
    margin: 0;
    padding: 0;
}

.card_h5{
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    margin: 0;
    padding: 0;
    padding-top: 25px;
    display: block;
}

.card_h5:hover{
    text-decoration-line: underline;
    text-decoration-style: solid ;
    text-decoration-thickness: 1px;
    /*text-decoration: black;*/
    text-decoration-color: black;
    /*font-size: 10px;*/
}

.card_category{
    text-decoration: none;
    color: grey;
    text-transform: lowercase;
    font-size: 0.8rem;
}

.card_image {
    display: block;
    max-height: 206px;
    /*height: 250px;*/
    min-height: 206px;
    height: auto;
    /*max-width: 100%;*/
    max-width: 300px;
    width: auto;
    object-fit: fill;
    margin: 0;
    padding-top: 5px;
}

.card_image.resize{
    height: auto;
    width: auto;
}

.card__li_favorite{
    color: orange;
}

.card__actions{
    padding: 0;
}

.card__author{
    /*color: grey;*/
    font-size: small;
    line-height: 15px;
}

/*Видео плеер*/
.video_main_container{
    display: flex;
    /*display: inline-block;*/
    justify-items: center;
    /*margin-right: 10px;*/
    width: 75%;
    position: relative;
    height: fit-content;
    min-height: 75%;

}
.video_thumb{
    width: 128px;
}

.video_container{
    max-height: 500px;
    height: 80vh;
    background-color: #0a3b79;
    background-image: var(--dicon-image);
    background-size: cover;
    width: 100%;
    position: relative;
    display: flex;
    /*margin-left: 250px;*/
    /*margin-top: 80px;*/
}

.card_list_container{
    width: 24%;
    position: relative;
    display: flex;
    height: 100vh;

}

/*Настройки контента персонального кабинета*/
.img_content_page{
    max-width: 128px;
    max-height: 128px;
    position: relative;
}

.video_play_pict_content_page{
    position: absolute;
    width: 32px;
    height: 32px;
    display: block;
}

.content_description{
    overflow: hidden;
    line-height: 1.2em;
    max-height: 3.6em;
    /*text-align: justify;*/
}

.video_table{
    max-width: 100px;
    min-width: 100px;
}
.video_descr_table{
    max-width: 200px;
}

.contentTableFixHead          { overflow: auto; height: 100px; }
.contentTableFixHead thead {
    /*background-repeat: no-repeat;*/
}
.contentTableFixHead thead {
    position: sticky;
    top: 0;
    z-index: 1;
    background-image: var(--dicon-image);
    background-size: cover;

}

.video_visibility{
    color: grey;
}

.video_visibility__all{
    color: green;
    font-weight: bold;
}

.video_visibility__no{
    color: grey;
}

/*Каталог*/
.catalog{
    border-color: lightgray;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    width: 75%;
    height: 50vh;
    position: absolute;
    margin-top: 100px;
    margin-left: 220px;
    z-index: 3;
    background-color: white;
    box-shadow: var(--bs-box-shadow);
    background-clip: border-box;
    display: flex;
    flex-flow: column;
    row-gap: 10px;
}

.catalog.hide,
.catalog__block.hide
{
    display: none;
    visibility: hidden;
}

.catalog.show,
.catalog__block.show
{
    display: flex;
    visibility: visible;
    opacity: 100;
    animation: fadeIn 500ms;
}

.catalog.transform{
    transform: scale(101%);
    background-color: grey;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.catalog__block{
    display: block;
    flex-flow: column;
}

.catalog__block ul{
    margin-top: 10px;
    line-height: 5px;
}