/***** РЎС‚РёР»СЊ. Р’РєР»Р°РґРєРё РІ РїРѕСЃС‚Р°С… РІРІ-РєРѕРґР°РјРё. (done by Kolobdur) *****/

/* РћС„РѕСЂРјР»РµРЅРёРµ РІ РїРѕСЃС‚Сѓ */
.wrapper{
  display: grid;
  grid-template:
                 ". buttop ." auto
                 "butleft windows butright" auto
                 ". butbottom ." auto 
                 / auto 1fr auto;				 
  overflow: hidden;
      box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
    border: 1px solid var(--border-dark) !important;
        font-family: "Lol1";
    font-size: 14px;
}

.buttop {grid-area: buttop;}
.butleft {grid-area: butleft;}
.butright {grid-area: butright;}
.butbottom {grid-area: butbottom;}

.buttons {z-index: 2;}

.buttons div {
  padding: 12px 20px;
  transition: background-color .3s;
  color: #4a453f;
  text-align: center;
  cursor:pointer;
  box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
    border: 1px solid var(--border-dark) !important;
}

.buttop, .butbottom {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
}

.windows{
  display: grid;
  grid-area: windows;
  max-height: 400px;
  border: 2px solid #4EC6DE;
  background: transparent;
  color: #433f36;
  box-shadow: 0 0 0 1px var(--border-light) inset, 0 0 10px var(--f-drop) inset;
    border: 1px solid var(--border-dark) !important;
}

.window {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  overflow: auto;
  line-height: 1.4em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.2s, transform 0.2s;
  transition-delay: 0.4s;
  padding: 10px;
  z-index: 0;
}

.wrapper > br, .wrapper > p, .buttons > br, .buttons > p, .windows > br, .windows > p {
  display: none;
}

.windows > div {
  transition: transform 0.2s;
  transform: translateX(86%);
}
 
.windows > .activevkladka {
  transform: translateY(0px);
  transform: translateX(0%);
  opacity: 1;
  z-index: 1;
}

.buttons div:hover,
.buttons > .activevkladka {
  background: #9c9285 !important;
  color: #e6dccf !important;
}

/* РћС„РѕСЂРјР»РµРЅРёРµ РІРІ-РєРѕРґР° */
.icons-vkladka:before {
  content: '\412\043A\043B\0430\0434\043A\0438';
  font-size: 12px;
} 
.icons-vkladka:hover:before{margin-top: 0px;}
.icons-vkladka:hover, .tab-list:hover {
  color: #6d6355;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transition: transform 0s ease-in-out;
  -moz-transition: transform 0s ease-in-out;
  -ms-transition: transform 0s ease-in-out;
}
#vkladka-area div {
  cursor: pointer;
  font-weight: normal;
  width: 220px;
  margin-bottom: 10px;
}
#vkladka-area div:hover {overflow: hidden;}
.tab-list:hover {transform-origin: center left;}
#vkladka-area span {display: none;}