@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-BlackItalic.woff2') format('woff2'),
    url('fonts/Roboto-BlackItalic.woff') format('woff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-ThinItalic.woff2') format('woff2'),
    url('fonts/Roboto-ThinItalic.woff') format('woff');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Bold.woff2') format('woff2'),
    url('fonts/Roboto-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Light.woff2') format('woff2'),
    url('fonts/Roboto-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-BoldItalic.woff2') format('woff2'),
    url('fonts/Roboto-BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Medium.woff2') format('woff2'),
    url('fonts/Roboto-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Italic.woff2') format('woff2'),
    url('fonts/Roboto-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-MediumItalic.woff2') format('woff2'),
    url('fonts/Roboto-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Black.woff2') format('woff2'),
    url('fonts/Roboto-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.woff2') format('woff2'),
    url('fonts/Roboto-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-LightItalic.woff2') format('woff2'),
    url('fonts/Roboto-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Thin.woff2') format('woff2'),
    url('fonts/Roboto-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #08a651;
  --blue: #93eeff;
  --black: #1d1d1d;
  --gray:#c4c9cc;
  --text-gray:#8e8e92;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  padding: 0px;
  margin: 0;

  color: #1d1d1d;
  overflow: hidden;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 14px;
}
a{
  color: inherit;
  text-decoration:inherit;
}
textarea{
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 14px;
}

input:focus,
input:active,
textarea:focus,
textarea:active,
select:active,
select:focus,
div[contenteditable]:active,
div[contenteditable]:focus
{
  outline: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.btn {
  padding: 8px 16px;
  width: max-content;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--gray);
  text-align: center;
  box-sizing: border-box;
  width: 100%;

}

.input {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--gray);
  box-sizing: border-box;
  width: 100%;
}

.btn:hover {
  background-color: #eee;
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 16px;
}

.mt-4 {
  margin-top: 24px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 16px;
}

.mb-4 {
  margin-bottom: 24px;
}

.curUserLogOut svg {
  width: 16px;
  height: auto;
}

.currUser {
  display: grid;
  grid-template-columns: 1fr 16px;
  width: max-content;
  grid-gap: 8px;
  position: fixed;
  top: -1px;
  right: -1px;
  padding: 4px 8px;
  
  border-bottom-left-radius: 8px;
  color: var(--text-gray);
  background: #eee;
}
.curUserLogOut:hover{
  background: #ccc;
  color: #FFF;
}
.loginWr form {
  width: min(100%, 800px)
}

.loginWr form input,
.loginWr form select,
.loginWr form .btn {
  box-sizing: border-box;
  width: 100%;
}

.header {
  font-weight: bold;
  font-size: 1.2rem;
}

.loginWr {
  width: 100vw;
  height: 100vh;
  display: grid;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.mainWr {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 25% 1fr 25%;
}

.mainBlocks {

  padding: 8px 0;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  
}

.mainNews {
  padding: 16px;
  box-sizing: border-box;
  position: relative;
}

.select {
  position: relative;
}

.select::before {
  position: absolute;
  right: 4px;
  top: 8px;
  content: ">";
  transform: rotate(90deg);
}

.selectOptions {
  display: none;
}

.select.expanded .selectOptions {
  display: block;
  position: absolute;
  z-index: 1;
  background-color: #fff;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid var(--gray);
  top: 0;
  left: 0;
  right: 0;
}

.selectOption {
  padding: 4px;
  cursor: pointer;
  max-height: 300px;
  overflow-y: auto;
}

.selectOption:hover {
  background: #eee;
}

.newsHead {
  display: grid;
  justify-content: space-evenly;
  grid-template-columns: 1fr;
  grid-gap: 8px;
  align-items: stretch;
}

.newsHead .btn {
  padding: 7px 0;
  align-items: center;
}

.loader {
  display: none;
  text-align: center;
}

.loader svg {
  width: 40px;
  height: auto;
}

.newsBox {
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  padding-left: 8px;
  direction: rtl;

}

.newsWr {
  direction: ltr;
}
.scrool{
  overflow-y: scroll;
}
.scrool::-webkit-scrollbar {
  width: 4px;
  /* width of the entire scrollbar */

}

.scrool::-webkit-scrollbar-track {
  background: #00e1ff1f;
  /* color of the tracking area */
}

.scrool::-webkit-scrollbar-thumb {
  background-color: var(--blue);
  /* color of the scroll thumb */
  border-radius: 20px;
  /* roundness of the scroll thumb */

}

.newsTitle,
.newsOwner {
  padding: 4px 8px;
  font-weight: 800;

  width: 100%;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid var(--gray);
}

.newsTitle::placeholder {
  font-weight: 300;
}

.newsOwner {
  font-weight: 300;
  position: relative;
  user-select: none;
  font-size: .75rem;
}

.newsTitle[readonly],
.newsOwner {
  background: transparent;
  border: 1px solid transparent;
}

.newsDateWr {
  display: grid;
  justify-content: start;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  align-items: center;
  grid-gap: 8px;
}

.newsDate,
.newsTime {
  padding: 4px 8px;

  font-size: 16px;
  border-radius: 8px;
  border: 1px solid var(--gray);
  width: 100%;
}

.newsDate[readonly],
.newsTime[readonly] {
  padding: 4px 8px;

  font-size: 16px;
  border-radius: 8px;

  background: transparent;
  border: 1px solid transparent;
}

.newsOwnersWr {
  background: #fff;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 8px;
  user-select: none;
  z-index: 100;
}



.newsOwnerIten, a.newsOwnerIten {
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
  margin-bottom: 4px;
  font-size: .75rem;
  display: block;
}

.red.newsOwnerIten {
  background: rgba(255, 0, 0, 0.375);
  color: #FFF;
}

.newsOwnerIten:hover {
  background: #eee;
  color: inherit;
}

.newsItem {
  cursor: pointer;
  background: #00e1ff1f;
  padding: 8px;
  border-radius: 8px;
}

.newsItem[isdeleted] {
  display: none;
}

.newsItem.today {

  background: #80ff001f;
  ;

}

.newsItem.past {

  background: #ffa0001f;

}

.newsItem.latepast {

  background: #eee;

}

.newsItem.zakrep {
  background: #ebff0059
}

.newsItem .zakrep {
  display: block;
}

.newsItem .DenyZakrep {
  display: none;
}

.newsItem.zakrep .zakrep {
  display: none;
}

.newsItem.zakrep .DenyZakrep {
  display: block;
}

.newsItem {
  cursor: pointer;
  background: #00e1ff1f;
  padding: 8px;
  border-radius: 8px;
  position: relative;
}

.newsHeader {
  width: calc(100% - 22px);
}

.newsMenu {
  background: #fff;
  position: fixed;
  left: 0;
  top: 0;
  width: 200px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 8px;
  user-select: none;
  text-align: left;
  z-index: 300;
}

.newsItem input[readonly] {
  cursor: pointer;
}

.newsItem.active::after {
  content: "\27A6";
  position: absolute;
  bottom: 0;
  padding: 1px 4px;
  font-size: 1rem;
  right: 1px;

  width: 70px;

  background: var(--green);
  color: white;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 8px;
}

.blockBody {
  position: relative;
}

.newsBoxToStart,
.storyBoxToStart {
  z-index: 200;
  position: absolute;
  right: -12px;
  bottom: 24px;
  background: #eee;
  
  border-radius: 50%;
  width: 24px;
  height: 24px;
  text-align: center;
  justify-content: center;
  align-content: center;
  padding-top: 4px;
  cursor: pointer;
  color: var(--text-gray);

}

.storyBoxToStart {
  right: 0;
}

.mainNewsBox {
  position: relative;
}

.newsBoxToStart:hover,
.storyBoxToStart:hover {
  background: #ccc;
  color: #fff;

}

.newsBoxStart {
  height: 4px;
}

.blockHeadNewsTitle {
  text-align: center;
  font-weight: bold;
  width: 100%;
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 auto;
  font-size: 1.2rem;
}

.storyItem:last-child .addBlock .popupMenu {
  top: inherit;
  bottom: 0;
  ;
}

.storyBox .storyItem:last-of-type .popupMenu {
  top: inherit;
  bottom: 0;
  /**/
}
.blockItem{
  position: relative
}
.blockItem.active:after{
  right: -33px;
  top: 4px;
  font-size: 1.2rem;
  position: absolute;
  content: "\27A6";
  color: var(--green);
}
.blockHead {
  width: 100%;
  height: 97px;
  padding: 4px 16px;
  
  border-left: 1px solid rgb(114, 114, 114, 0.169);
    border-right: 1px solid rgb(114, 114, 114, 0.169);
    border-bottom: 1px solid rgb(114, 114, 114, 0.169);
}
.blockItemHead{
  width: 100%;
  padding: 4px 16px;
}

.BlockHeadNewsTime {
  display: grid;
  justify-content: end;
  grid-template-columns: 50px 50px;
}

.BlockHeadNewsDate {
  display: grid;
  justify-content: end;
  grid-template-columns: 50px 150px;
}

.BlockHeadNewsTimeLabel {
  color: var(--text-gray)
}

.BlockHeadNewsTimeValue,
.BlockHeadNewsDateValue, 
.beTimeValue,
.beCalcTimeValue,
.beSymbolsValue {
  font-weight: bold;
}

.blocksHeadSecondRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.blocksMenuWr {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blocksMenuLeft {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.blocksMenuRight {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.blocksMenuItem {
  position: relative;
  padding: 4px 8px;
  color: var(--text-gray);
  border: 0px solid var(--gray);
  border-left: 0;
  cursor: pointer;
  font-size: 0.75rem;
  user-select: none;
  -webkit-touch-callout: none;
  position: relative;
  cursor: pointer;
  background: #eee;;
}

.storyBox .newsMenu {
  position: absolute;
}

.blocksMenuItem:first-child {
 /* border: 1px solid var(--gray);*/
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;

}

.blocksMenuItem:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;

}

.newsHeadMenu {
  display: flex;
  align-items: center;
  justify-content: flex-start;

}
.newsHeadMenu.blockFileMenu{
  justify-content: flex-end;
}

.blocksMenuItem:hover {
  background-color:#bbb;
  color:#FFF
  
}

.storyBox {
  position: relative;
  height: calc(100vh - 130px);
  overflow-y: scroll;
  padding-right: 8px;
  background: radial-gradient(#91eefe, #fcffe6);
}



.storyItem {

 
  border-radius: 8px;
  padding: 8px 16px;
  position: relative;
  margin: 6px 12px;
  margin-bottom: 12px;
  background: #FFF;

}

.storyItem[isDeleted] {
  display: none;
}

.storyTitle,
.storySort,
.blockSort, 
.blockTypeChrono {
  padding: 4px 8px;
  font-weight: 400;
  font-size: 1rem;
  border: none;
  background-color: #eee;
  border-radius: 4px;
}

.storyTitle {
  font-size: 1.2rem;
  font-weight: 800;
}

.storyTitle::placeholder {
  font-weight: 400;
  font-size: 1rem;
}

.storySort,
.blockSort {
  font-size: 1rem;
}

.storyTitle[readonly],
.storySort[readonly],
.blockSort[readonly],
.blockTypeChrono[readonly] {

  background-color: transparent;
}

.storySort[readonly],
.blockSort[readonly] {
  color: var(--text-gray);
}

.storyTitleBox {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
}

.newsMenuBtn {
 
  color: var(--text-gray);
  background-color: #eee;
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 8px;
  ;
  cursor: pointer;
  font-size: 0.75rem;
  user-select: none;
  -webkit-touch-callout: none;
  width: 24px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.newsMenuBtn:hover{
  background-color: #ccc;
  color: #FFF;
}



.blockTypeTitle {
  cursor: pointer;
  font-weight: bold;
  user-select: none;
}

.blockTitleBox {
  display: grid;
  grid-template-columns: 48px 50px 120px 1fr 76px 24px;
  align-items: center
}



.blockTypeChrono {
  text-align: right;
  padding-right: 16px;
  border: none;
}

.blockMenuBtn {
  font-size: 0.7rem;
  
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  position: relative;
  background: #eee;
  display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;;
    color:var(--text-gray)
}

.blockMenuBtn:hover {
  background: #ccc;
  color:#FFF;
}

.blockMenu {

  background: #fff;
  position: absolute;
  z-index: 200;
  top: 0;
  right: 0;
  width: 200px;
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 8px;
  user-select: none;
  text-align: left;
  z-index: 300;


}

.blockItem[isdeleted] {
  display: none;
}

.blockChangeAutorMenu {
  left: inherit;
  right: 0;
}

.blockAuthor {
  cursor: pointer;
  position: relative;
  color: var(--text-gray);
}

.blockAuthor .popupMenu {
  right: inherit;
  left: 0;
  
}
.popupMenu{color:var(--text-gray) 
}

.blockItem.my .blockAuthor {
  text-decoration: underline;

}

.blockItemBody {
  margin-left: 56px;
  display: none;

}

.blockItem.expand .blockItemBody {
  display: block;
}

.blockText {
  cursor: pointer;
  font-size: .75rem;
  word-break: break-word;
}

.storySelect {
  border-radius: 8px ;
  width: 20px;
  height: 20px;
  /*border-bottom: 1px solid var(--gray);
  border-right: 1px solid var(--gray);*/
  background: #eee;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  cursor: pointer;
}

:storySelect:hover {
  background: var(--blue);
}

.storyItem.selected .storySelect {
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.storyItem.selected .storySelect::before {
  content: "\2691";
  color: #FFF;
}

.blockTextWr {
  position: relative;
}

.inplBlockEditorWr {
  border-radius: 8px;
  padding: 16px;
  padding-top: 24px;
  z-index: 200;
  position: absolute;
  height: 300px;
  width: 100%;
  background-color: #FFF;
  border: 1px solid #00000085;
  top: 0;
  left: 0;
  ;
  box-shadow: 0 0 9px 0px #00000085;
}

.inplBlockEditorBox {
  position: relative;
  height: 100%;
}

.initInpBlockEditor {
  height: 100%;
  white-space: break-spaces;
  overflow-y: scroll;

}

.initInpBlockEditor:active,
.initInpBlockEditor:focus {
  outline: none !important;
}

.inplColor {
  color: blue;
}

.formatBtn {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 8px;
  font-size: .5rem;
  cursor: pointer;
  border: 1px solid var(--gray);
  border-left: navajowhite;
  border-top: navajowhite;
  border-radius: 0 0 8px 0;
}

.formatBtn:hover {
  background-color: var(--blue);
}

div[contenteditable]{
  overflow-y: scroll;
}
div[contenteditable]::-webkit-scrollbar {
  width: 4px;
  /* width of the entire scrollbar */

}

div[contenteditable].initInpBlockEditor::-webkit-scrollbar-track {
  background: #00e1ff1f;
  /* color of the tracking area */
}

div[contenteditable].initInpBlockEditor::-webkit-scrollbar-thumb {
  background-color: var(--blue);
  /* color of the scroll thumb */
  border-radius: 20px;
  /* roundness of the scroll thumb */

}

.blockStateWr{

}

.blockState{
  cursor: pointer;
    width: 18px;
    height: 18px;
    background: var(--text-gray);
    border-radius: 50%;
    position: relative;
    
}
.blockState .popupMenu{
  left: 0;
  right: inherit;
}
.blockStateMenuItem{
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  
}
.blockEditorWr{
  position: fixed;
    width: 75vw;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 500;
    background: #000000ba;
    backdrop-filter: var(--text-gray)scale(2);
}
.blockEditor{
  background: white;
    border-radius: 16px;
    padding: 24px 32px;
    width: 80%;
    margin: 0 auto;
    height: 90vh;
    margin-top: 5vh;
    overflow: hidden;
    position: relative;
}
.blockEditorClose{
  position: absolute;
  cursor: pointer;
  right: 12px;
  top:12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border:1px solid var(--gray)
}


.blockEditorBody{
  height: 75%;
  padding-bottom: 12px;
  
}
.beText{
   height: calc(100% - 22px);
    border:1px solid var(--blue);
    padding: 16px;
    border-radius: 16px;
    width: 100%;
    
}
 .blockEditorFooter{
  height: 25%;
  
  padding-top: 8px;
 }
  textarea.beNotes{
    height: 100%;
    border:1px solid var(--blue);
    padding: 16px;
    border-radius: 16px;
    width: 100%;
    resize: none;
  }
  .editorMenuWr{
    display: grid;
    grid-template-columns: 1fr 326px 50px;
    align-items: center;
  }
  .blocksMenuChronro{
    display: flex;
    gap:16px;
  }
  .editorBlockTime{
    display: flex;
    gap: 8px;}

    .colorText {
      color: blue;
    }
    .colorText.SOT {
      color: rgb(116, 0, 0);
    }
    .sotEditor{
      background: white;
    position: absolute;
    top: 24px;
    left: 24px;
    width: 600px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 0 15px 2px #252525;
    background: radial-gradient(#91eefe, #fcffe6);
    display: none;
    }
    .sotEditor.active{
      display: block;
    }
    .seWr{
      position: relative;
    }
    .seClose{
      position: absolute;
  cursor: pointer;
  right: -8px;
  top: -26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border:1px solid var(--gray)
    }
    .seRow{
      display: grid;
    grid-template-columns: 68px 1fr;
    align-items: center;
    justify-content: flex-start;
    margin-top: 16px 

    }
    .seTetle{
      font-size: 0.75rem;
      color: var(--text-gray);
    }
    .seRow input, .seRow textarea{
      background: #fff;
      border:none;
      padding: 4px 8px;
      border-radius: 8px;
    }
    .seRow textarea{
      resize: none;
      height: 6em;
    }
    .seOK{
      padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    background: #eee;
    width: max-content;
    cursor: pointer;
    }
    .seOK:hover{
      background: #ccc;
      color: #fff;
    }
    .seOkWr{
      text-align: right;
    }
    .beTags{
      display: none;
    }
    .beTags.active{
      display: block;
      position: absolute;
    }
    .beTAG{
      position: relative;
    }
    .beTagWr {
     
      color: var(--black) !important;
  }
  .topPlaceholder{
    height: 102px;
  }
  .bdPlayer{
    background: url(/images/noimage.png);
    background-size: cover;

  }
  .bdPlayerWr{
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
  }
  .videoWrapper .mediaElem {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .bdWr{
    height: 100vh;
    overflow-y: scroll;
    display: none
  }
  .bdWr.active{
    display: block;
  }
  .bdFiles{
    padding: 16px;
  }
  .filesBox{
    background-color: white;
    position: absolute;
    left:0;
    bottom: 0;
    z-index: 1000;
    background: white;
    max-height: 200px;
    overflow-y: scroll;

  }
  .fileItem{
    position: relative;
    font-size: 8px;
    width: 300px;
    height: 10px;
    position: relative;
    background-color: var(--gray);
  }
  .fileProcess{
    position:absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: green;
    z-index: 1002;
  }
  .fileProcess.red{
    background-color: rgb(133, 0, 0);
  }
  .fileName{
    padding: 0 12px;
    position:absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1010;
    color: white;
  }
  .blockFile{
    display: grid;
    grid-template-columns: 1fr 24px;
    align-items: center;
    margin-top:12px;
  }
  .bdImage, .bdVideo{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--gray);
  }

  .bdMedia{
    height: calc(75vh - 100px);
 
    overflow-y: hidden;
    border-bottom: 1px solid #eee;
  }
  .bdFilesBox{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: calc(100vh - 100px - 56.25% - 211px);
  }
  .bdFiles{

    position: absolute;
    height: 100%;
    overflow-y:scroll;
    width: 100%;
   
  }
  .bdFiles::-webkit-scrollbar {
    width: 4px;
    /* width of the entire scrollbar */
  
  }
  
  .bdFiles::-webkit-scrollbar-track {
    background: #00e1ff1f;
    /* color of the tracking area */
  }
  
  .bdFiles::-webkit-scrollbar-thumb {
    background-color: var(--blue);
    /* color of the scroll thumb */
    border-radius: 20px;
    /* roundness of the scroll thumb */
  
  }
  .blockFileTile{
    padding-right: 4px 
  }
  .bdPersonal{
    padding: 0 16px;

    height: calc(25vh - 22px);
 
    overflow-y: scroll;
  }
  .blocksMenuItem{
    position: relative;
  }
  .bdPersonalRoles{
    background: #fff;
    position: fixed;
  
    max-height: 300px;
    overflow-y: scroll;
    width: 200px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    padding: 8px;
    user-select: none;
    text-align: left;
    z-index: 300;
     display: none; 
    z-index: 100;
  }
  .bdPersonalRoles.active {
    display: block; 
  }
  .roleItem{
    color: var(--text-gray) !important;
  }
  .bdRoleItem{
    margin-top: 12px;
    position: relative;
    padding-right: 28px;
  }
  .bdRoleTitle{
    color: var(--text-gray);
    padding-left: 8px;
  }
  .bdRoleValue{
    color: var(--text-gray);
    border: 0;
    padding: 4px 8px;
    background-color: #ccc;
    width: 100%;
    border-radius: 8px;
    margin-top:4px;
    color: var(--black);
  }
  .bdRoleValue[readonly]{
    background-color: #fff;
    
  }
  .bdRoleBtn{
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    position: relative;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-gray);
    position: absolute;
    bottom: 0;
    right: 4px;
    width: 20px;
    height: 20px;
    
  }
  .bdRoleBtn:hover{
    background: #ccc;
    color: #FFF;
  }
  .bdPersonalWr{

    
  }
  .blockRoleMenu{
    background: #fff;
    position: fixed;
    right: 0;
    
    height: 300px;
    overflow-y: scroll;
    width: 200px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    padding: 8px;
    user-select: none;
    text-align: left;
    z-index: 300;

  }
  .print{
    display: none
  }
  .success, .success:hover{
    background: var(--green) ;
    color: #fff
  }