/* material-icons */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(/plugins/material-icons/font.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
/* /material-icons */


* {
    margin: 0px;
    padding: 0px;
    outline: none;
    border: none;
    text-decoration: none;
    color: inherit;
    font-size: inherit;
}

.logo a,
.sidebar a {
    color: inherit;
}

.logo a:hover,
.sidebar a:hover {
    color: inherit;
    text-decoration: none;
}

body {
    overflow-y: scroll;
    font-family: -apple-system,
                 BlinkMacSystemFont,
                 "Segoe UI",
                 Roboto,
                 "Helvetica Neue",
                 Arial,
                 "Noto Sans",
                 sans-serif,
                 "Apple Color Emoji",
                 "Segoe UI Emoji",
                 "Segoe UI Symbol",
                 "Noto Color Emoji";
    font-size: 10px /*!important*/ ;
    line-height: inherit !important;
    color: black;
    background: url(/vesna.jpg) repeat;
    background-size: 400px;
    /*background-attachment: fixed;*/
}

.display-1 {
    font-size: 4rem !important;
}
.display-2 {
    font-size: 3rem !important;
}
.display-3 {
    font-size: 2rem !important;
}
.display-4 {
    font-size: 1rem !important;
}

.wrapper {
    padding-bottom: 100px;
}

div {
    position: relative;
    box-sizing: border-box;
}

textarea {
    overflow: auto;
    padding-left: 5px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    height: 100px;
    width: 80%;
    margin: 5px 0 5px 0;
}

h1 {
    margin-top: 5px;
    font-size: 2em;
}

h2 {
    margin-top: 5px;
    font-size: 2em;
    font-weight: 100;
}

h3 {
    font-size: 25px;
}

h4 {
    font-size: 18px;
}
.clients-list .client-name {
    font-weight: bold;
    font-size: 1.5rem;
}
.allclients-avatar {
    width: 50px;
    height: 50px;
}

.tabs-content {
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 15px;
}

@media screen and (orientation: portrait)  {
    .clients-list .client-name {
        font-size: 1rem;
    }
    .allclients-avatar {
        width: 70px;
        height: 70px;
    }
}

.back {
    padding-top: 15px;
}

.container {
    height: 100%;    /*padding-left: 3px;*/
    padding-right: 15px;
    margin: 0px auto;
}

.container::before {
    content: '';
    display: table;
    background: white;
}

.header {

    /*background: #aaaaaa;*/

    /*border-bottom: solid #C9AA48;*/
}

.logo {
    font-size: 2.5em;
    min-width: 300px;
    width: 300px;
}

.logo > a:hover {
    font-weight: normal;
}

.logo-1 {
    color: #ff0000;
}

.logo-2 {
    color: #ffffff;
}

.logo-3 {
    color: #f1f100;
}

.logo-4 {
    color: #0aff0a;
}

.logo-5 {
    color: #3eb5f1;
}

.logo-6 {
    color: #ff00ff;
}

.citate {
    text-align: center;
}

.mt-30 {
    margin-top: 10px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-5 {
    margin-top: 5px;
}
img {
    max-width: 100%;
}

.scrollable-y {
    overflow-y: scroll;
    padding-right: 20px;
}

.messages {
    background-color: #aaaaaa;
    padding: 5px;
    margin: 0px -15px;
}

.filter2,
.parents {
    margin-top: 5px;
    display: table;
}

.filter2 > div,
.parents > div {
    display: table-cell;
    vertical-align: top;
}

.list > div {
    padding: 5px 15px;
}

.childbar {
    background-color: #21262b;
    color: white;
    padding: 15px;
    margin: 0px -15px;
    margin-bottom: 5px;
}

.childbarimage > img {
    width: 220px;
    height: 220px;
}

.childbarwarning {
    background-color: #8B0000;
    padding: 5px;
    margin: 0px -15px;
    color: white;
}

.button:not(.bs) {

    /*width: 173px;*/
    padding: 5px 10px 5px 10px;
    text-align: center;
    border-bottom: 1px solid #C9AA48;
    border-right: 1px solid #C9AA48;
    border-radius: 6px;  /*border: solid #C9AA48 thin;*/
    color: black;
    cursor: pointer;
    display: inline-block;
    margin: 12px 0px 0px 0px;
    background: #ebebeb;
}

.btn-big {
    width: 100%;
}

.button:not(.bs).disabled {
    border: none;
    color: #b0b0b0;
    cursor: default;
}

.button:not(.bs):not(.disabled):hover,
.button:not(.bs).active {
    background: #e0e0e0;  /*color: white;*/
    border-bottom: 0px solid #C9AA48;
    border-top: 1px solid #ffffff;
    border-right: 0px solid #C9AA48;
    border-left: 1px solid #ffffff;
    border-radius: 6px;
}

.button:not(.bs) a {
    display: block; /* Ссылка как блочный элемент */
    height: 100%; /* Высота на весь слой */
}

.search-results {
    border: 1px solid #d4d4d4;
    border-top: none;
    padding: 5px;
    height: 45px;
    overflow-y: auto;
    background: #eeeeee;
    margin: -1px 0px 5px;
    z-index: 1;
}

.search-results.full {
    height: auto;
    overflow-y: hidden;
}

.search-results > div {
    margin: 1px -5px;
    padding: 0px 5px;
}

.search-results > div:hover {
    background: #aaaaaa;
    cursor: pointer;
}

/*
input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 1px 1px 1px 1px;
}
*/
input[type="text"]:not(.form-control) {
    padding-left: 5px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    outline: none;
    font-size: 1em;
}

input[type="text"].fullwidth:not(.form-control) {
    display: block;
    width: -webkit-fill-available;
    margin-bottom: 5px;
}

input[type="password"]:not(.form-control) {
    padding-left: 5px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    outline: none;    /*height: 24px;*/

    /* color: #cccccc; */
    font-size: 1em;    /*font-family: Tahoma;*/
}

input[type="password"].fullwidth:not(.form-control) {
    display: block;
    width: -webkit-fill-available;
    margin-bottom: 5px;
}

.window {

    /*border-bottom: 2px solid #999999;
    border-top: 1px solid #f7f0da;
    border-right: 1px solid #f7f0da;*/
    border-top: 1px solid #999999;    /*border-radius: 6px;*/
    padding: 10px;
}

.block-title {
    text-align: center;
    margin: 0px 0px 5px 0x;
}

input.search-field {
    background: url(/img/search.png) no-repeat left center;
    padding-left: 30px;
}

.search-field {
    width: 120px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-1 {
    margin-bottom: 1px;
}

.mb-5 {
    margin-bottom: 5px;
}

.info-window {
    width: 150px;
    float: left;
    padding-left: 15px;
    padding-top: 15px;
}

.window-gray {
    border: 1px solid #eeeeee;
    padding: 10px;
    width: 100%;
}

.tab-buttons {
    display: table;
    table-layout: fixed;
    width: 100%;
    border-spacing: 4px 0px;
    margin: 0px -4px;
}

.tab-buttons > div {
    display: table-cell;
}

.hrstyle > hr {
    text-align: center;
    width: 50%;
    size: 2px;
}

table {
    border-spacing: 0px;
}

.table {
    display: table;
    width: 100%;
    margin: 1px 0px;
}

.table > div {
    display: table-row;
}

.table:not(.no-style, .bs) > div:nth-child(odd),
.table:not(.no-style, .bs) tr:nth-child(odd) {
    background-color: #f2f6f7;
}

.table.no-style > div,
.table.no-style tr {
    background: none !important;
}

.table:not(.bs) > div > div,
.table:not(.bs) td {
    display: table-cell;
    vertical-align: middle;
    padding: 1px;
    border: none;
    border-bottom: 1px solid #DADADA;
}

.table-row {
    display: table;
    width: 100%;
}

.table-row > * {
    display: table-cell;
    vertical-align: top;
}

/*.tablelist {
  display: table;
  width: 100%;
}*/
.tablelist2 > div {
    border: 1px solid #f7f0da;
    border-bottom-width: 2px;
    border-radius: 6px;
    background-color: rgb(160, 255, 115);
    margin-bottom: 1px;
    padding: 2px;
    display: table;
    width: 100%;
}

.tablelist2 > .disabled {
    background-color: rgb(254, 202, 199);
}

.tablelist2 > div > div {
    display: table-cell;
    vertical-align: middle;
    padding: 2px;
}

.tablelist > div {
    border-bottom: 2px solid #f7f0da;
    border-top: 1px solid #f7f0da;
    border-right: 1px solid #f7f0da;
    border-left: 1px solid #f7f0da;
    border-radius: 6px;
    background-color: rgb(250, 250, 250);
    cursor: pointer;
    margin-bottom: 1px;
    padding: 2px;
}

.tablelist > div:hover {
    background-color: rgb(251, 249, 239);
    color: black;
}

.tablelist > div > div {
    display: table-cell;
    vertical-align: middle;
    padding: 2px;
}

.tablelist-row {
    display: table;
    width: 100%;
}

.tablelist-row > div {
    display: table-cell;
    vertical-align: top;
}

.cell-name {
    margin-top: 4px;
    font-size: 1.3em;
}

.cell-undername {
    margin-bottom: 5px;
    font-size: 0.7em;
}

.clients-table > div > div:nth-child(1) {
    width: 45%;
}

.clients-table > div > div:nth-child(2) {
    width: 15%;
}

.clients-table > div > div:nth-child(3) {
    width: 10%;
}

.groups-table > div > div:nth-child(1) {
    width: 20%;
}

.groups-table > div > div:nth-child(2) {
    width: 10%;
}

.groups-table > div > div:nth-child(3) {
    width: 15%;
}

.groups-table > div > div:nth-child(4) {
    width: 12%;
}

.groups-table > div > div:nth-child(5) {
    width: 28%;
}

.button.btn-small {
    display: inline-block;
    width: auto;
    height: auto;
    margin-top: 0px;
    padding: 7px 5px 5px 5px;
}

/*Скрываем список без наведения*/
.droplink ul {
    list-style: none;
    display: none;
}

/*Отображаем список при наведении*/
.droplink:hover ul {
    display: block;
    margin-top: 5px
}

.droplink li {
    display: block
}

/*Сбросим отступы*/
.droplink ul,
.droplink h3,
.droplink h3 a {
    padding: 0;
    margin: 0
}

/*Стиль блока при наведении*/
.droplink:hover {
    height: auto; /*background-color:#3E403D;*/

    /*border:solid 1px #3A3C39*/
}

.droplink {
    padding: 5px 10px;
    text-align: center;
    background: #21262b;
    color: white;
    cursor: pointer;
    display: inline-block;
    margin: 12px 0px 0px 0px;
}

/*Стиль элемента списка*/
.droplink li a {
    padding: 5px 12px 4px 34px;
    margin: 1px;
    background-color: #484A47;
    display: block;
    color: #FFF;
    text-decoration: none;
    font-size: 0.9em;
    background-repeat: no-repeat;
    background-position: 10px 3px;
}

/*Стиль элемента при наведении*/
.droplink li a:hover {
    background-color: #999
}

/*Иконки*/
.facebook a {
    background-image: url("icons/facebook.png")
}

.twitter a {
    background-image: url("icons/twitter.png")
}

.vk a {
    background-image: url("icons/vk.png")
}

.rss a {
    background-image: url("icons/rss.png")
}

.gplus a {
    background-image: url("icons/gplus.png")
}

.fmenu {
    display: block;
    float: left;
    clear: both
}

.smalla {
    font-size: 1em;    /*background: #21262b;*/
    text-align: center;
    cursor: pointer;
    display: block;
}

.smalla:hover {

    /*background: #8B0000;*/
    background: #21262b;
    color: white;
}

.fr {
    float: right;
}

.fl {
    float: left;
}

.pb-5 {
    padding-bottom: 5px;
}

.pb-3 {
    padding-bottom: 3px;
}

.cl {
    clear: left;
}

.cb {
    clear: both;
}

.pl-15 {
    padding-left: 15px;
}

.pt-15 {
    padding-top: 15px;
}

.ml-5 {
    margin-left: 5px;
}

.ac {
    text-align: center;
    align-content: center;
}

.with-float::after {
    content: '';
    display: table;
    float: none;
    clear: both;
}

.fullschedule {
    max-width: 810px;
    width: 100%;
    table-layout: fixed;
}

.fullschedule .filled {
    border: 1px solid blue;
}

.schedulelist {
    clear: left;
}

.gschedule > div > div {
    border: 1px solid #f7f0da;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* скрываем чекбоксы и блоки с содержанием */
.hidecb,
.hidecb + label + div {
    display: none;
}

/* когда чекбокс активен показываем блоки с содержанием  */
.hidecb:checked + label + div {
    display: block;
}

.new-schedule:not(:first-child) {
    margin-top: 15px;
    border-top: 1px solid #8B0000;
}

.mw-250 {
    width: 300px;
    word-wrap: normal;
}

.datepicker-form .search-results > div:hover,
.timepicker-form .search-results > div:hover {
    background: transparent;
}

.datepicker-form .search-results,
.timepicker-form .search-results {
    text-align: center;
}

.datepicker-form .search-results > div:last-child > div > div:hover {
    background: #999999;
}

.datepicker-form .search-results > div:first-child > div:hover {
    background: #999999;
}

.timepicker-select::before {
    content: '';
    display: table;
}

.timepicker-select {
    -webkit-user-select: none;
    user-select: none;
}

.timepicker-select .table {
    width: 70px;
    margin: 0px auto;
}

.timepicker-select > div {
    vertical-align: middle;
    width: 50%;
}

.timepicker-h-more::before,
.timepicker-m-more::before {
    content: '>';
    display: block;
    transform: rotate(-90deg) scale(1, 1.5);
}

.timepicker-h-less::before,
.timepicker-m-less::before {
    content: '>';
    display: block;
    transform: rotate(90deg) scale(1, 1.5);
}

.sidebar > div {
    background: white;
    border-radius: 0px 0px 30px 0px;
    padding-bottom: 8px;
}

.sidebar > div > div > div:not(:last-child) {
    width: 100%;
    text-align: center;
    border-bottom: solid black thin;
    margin-left: auto;
    margin-right: auto;
    color: #363636;
    padding: 3px;
    margin-bottom: 5px;
}

.sidebar > div > div > div:hover {
    border-bottom: solid #C9AA48 thin;
    padding-left: 0px;
    font-weight: bold;
    color: #454545;
}

.sidebar > div > div > div:last-child:hover {
    border-bottom: none;
}

.bg-greylight {
    background: #f0f0f0;
}

.ilb {
    display: inline-block;
}

.lnk {
    border-bottom: solid gainsboro thin;
}

.lnk:hover {
    border-bottom: solid #C9AA48 thin;
    font-weight: bold;
}

.myPhoto {
    width: 220px;
}

.hr {
    border-bottom: solid #f7f0da thin;
    width: 100%
}

.w100 {
    width: 100%;
}

.w80 {
    width: 80%;
}

.w50 {
    width: 50%;
}

.w33 {
    width: 33%;
}

.w23 {
    width: 23%;
}

.w20 {
    width: 20%;
}

.w17 {
    width: 17%;
}

.w10 {
    width: 10%;
}

.w200p {
    width: 200px;
}

.w150p {
    width: 150px;
}

.w130p {
    width: 130px;
}

.w120p {
    width: 120px;
}

.w90p {
    width: 90px;
}

.w50p {
    width: 50px;
}

.w45p {
    width: 45px;
}

.w30p {
    width: 30px;
}

.mr-5 {
    margin-right: 5px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-20 {
    margin-right: 20px;
}

.vam {
    vertical-align: middle !important;
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50px;
}

.tbl-border {
    display: table;
    border-bottom: solid #f7f0da thin;
}

.tbl-button {
    vertical-align: middle;
    padding: 2px;
    border: solid #f7f0da thin;
}

.tbl-button:hover {
    background: #f2e6b8;
}

.passive_lnk {
    color: gainsboro;
}

.pl10 {
    padding-left: 10px;
}

.table-schedule {
    table-layout: fixed;
    width: 100%;
    border-spacing: 0px;
    text-align: center;
}

.table-schedule td {
    vertical-align: top;
    border-bottom: 1px solid #f7f0da;
    border-right: 1px solid #f7f0da;
}

.table-schedule td:first-child {
    width: 65px;
    border-left: 1px solid #f7f0da;
}

.table-schedule tr:first-child td {
    border-top: 1px solid #f7f0da;
}

.table-schedule td > div {
    height: 100%;
}

.table-schedule tr:last-child td > div > div::before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.table-schedule .schedule-item {
    position: absolute;
    left: 0px;
    right: 0px;
    background: #eeeeee;
    border: 1px solid #f7f0da;
    margin: 0px 2px;
}

.table-schedule tr:last-child td > div > div > span {
    display: inline-block;
    vertical-align: middle;
}

.table-schedule .schedule-markup {
    position: absolute;
    left: -5px;
    right: -5px;
    height: 0px;
    border-top: 1px solid #aaaaaa;
}

.table-schedule .schedule-markup:nth-child(2n) {
    border-top-style: dashed;
}

.sidebar {
    min-width: 200px;
    width: 200px;
    height: 100vh;
}

.sidebar h2 {
    margin: 5px 0px;
    font-size: 20px;
}

.sidebar > .menu {
    background: white;
    border: 1px solid #cccccc;
    border-radius: 15px;
}

.mobile-menu {
    display: none;
}

.body-content {
    overflow-x: auto;
    padding: 0px 15px 200px 15px;
    margin-top: -10px;
}

.body-content > div:first-child {
    padding-right: 15px;
}

.body-content a:not(.bs) {
    text-decoration: underline;
}

.rating {
    text-align: center;
    unicode-bidi: embed;
    direction: rtl;
    font-size: 2em;
    font-weight: bold;
    display: flex;
    color: #aaaaaa;
}

.rating input {
    display: none;
}

.rating span {
    position: relative;
}

.rating > span {
    display: inline-block;
}

.rating > span:nth-child(2n + 1) {
    margin-right: 15px;
}

.rating .checked {
    color: goldenrod;
}

.absent:not(.attend-mark):not(.attend-example) {
    position: absolute;
    z-index: 1;
    width: 4em;
    height: 4em;
    margin: auto;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 100px;
}

.lr-absent {
    z-index: 1;
    width: 3em;
    height: 3em;
    position: relative;
}

.absent:not(.attend-mark):not(.attend-example).absent-exam {
    right: 0px;
    left: auto;
}

.absent:not(.attend-mark):not(.attend-example) > div,
.lr-absent > div {
    width: 100%;
    height: 100%;
    background: url(/img/man.png) no-repeat top left;
    background-size: 500%;
}

.absent:not(.attend-mark):not(.attend-example):hover > div,
.absent:not(.attend-mark):not(.attend-example) input:checked + div,
.lr-absent input:checked + div {
    background-position: 50% 0px;
}
.absent:not(.attend-mark):not(.attend-example) input.lr-attend0:checked + div,
.lr-absent input.lr-attend0:checked + div {
    background-position: 100% 0px;
}

.absent:not(.attend-mark):not(.attend-example) input,
.lr-absent input {
    display: none;
}

.editable-button {
    margin-top: -0.35em;
    cursor: pointer;
    z-index: 1;
}

.editable-button img {
    width: 1.4em;
}

.editable-form:not(.active) .editable-item {
    display: none;
}

.vat {
    vertical-align: top;
}

.sector1 {
    width: 15%;
    margin: 4px;
}

.item-icon {
    height: 60px;
}

.sector2 {
    width: 500px;
    margin: 4px;
}

.sector5 {
    margin: 4px;
}

.sector3 {
    width: 15%;
    margin: 4px;
    text-align: center;
}

.nw {
    white-space: nowrap;
}

.tal {
    text-align: left;
}

.tar {
    text-align: right;
}

.zi2 {
    z-index: 2;
}

.vab {
    vertical-align: bottom;
}

.db {
    display: block;
}

/*
.vt {
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  width: 1.5em;
}
*/
.vt > div {
    text-align: center;
    white-space: nowrap;
    transform: rotate(180deg);
    writing-mode: vertical-rl;
    vertical-align: middle;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*
.vt > div::before {
content: '';
width: 0;
padding-top: 110%;
display: inline-block;
vertical-align: middle;
}
*/
table:not(.bs) td {
    border: 1px black solid;
    padding: 5px;
}

.table.tab-cnt-center > div > div:not(:first-child) {
    text-align: center;
}

.bstyle-green {
    border: 4px solid #ccfcca;    /*border-radius: 25px;
    /*background: #ccfcca;*/
}

.bstyle-yellow {
    border: 4px solid #fff8a8;    /*border-radius: 25px;*/
}

.bstyle-red {
    border: 4px solid #ffc9c9;    /*border-radius: 25px;*/
}

.bstyle-black {
    border: 4px solid #525252;    /*border-radius: 25px;*/
}

.bstyle-grey {
    background: #b0b0b0;    /*border: 4px solid #525252;*/
}

.tstyle-green {
    color: #03ab2a;
    font-weight: 600;
}

.tstyle-yellow {
    color: #c2aa04;
    font-weight: 600;
}

.tstyle-red {
    color: #ff0000;
}

.tstyle-grey {
    color: #b0b0b0;
}

.balancebox {

    /*border: 1px solid #C9AA48;
    border-radius: 3px;*/
    padding: 5px;
}

.balancebox > div:first-child > div:first-child:hover {
    background: #ece5ea;
}

.bradius3 {
    border-radius: 3px;
}

.redtxt {
    color: red;
}

.window-alert {
    box-shadow: 0 0 10px orangered;
}

.shadow2-green,
.shadow2-red,
.shadow2-yellow {
    margin: 2px;
    padding: 5px 5px 2px 5px;
}

.shadow2-green {
    background-color: #daffd6;
}

.shadow2-yellow {
    background-color: #fafad4;
}

.shadow2-red {
    background-color: #ffd6d6;
}

.shadow-silver {
    box-shadow: 0 0 10px silver;
}

.shadow-silver-link {
    box-shadow: 0 0 10px silver;
}

.shadow-silver-link:hover {
    box-shadow: none;
}

.shadow-green,
.shadow-red,
.shadow-yellow {
    text-align: center;
    margin: 2px;
    padding: 5px 5px 2px 5px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: 2px 2px;
}

.shadow-green {
    background-color: #daffd6;
    background-image: url(/img/alerts/Ok.png);
}

.shadow-green.new {
    background-image: url(/img/alerts/New.png);
    background-size: 45px auto;
    background-position: 2px -9px;
}

.shadow-yellow {
    background-color: #fafad4;
    background-image: url(/img/alerts/Attention.png);
}

.shadow-red {
    background-color: #ffd6d6;
    background-image: url(/img/alerts/Warning.png);
}

.shadow-red.out {
    background-image: url(/img/alerts/out.png);
}

.shadow-red.money {
    background-image: url(/img/alerts/Money.png);
}

.shadow-silver-link {
    box-shadow: 0 0 10px silver;
}

.shadow-silver-link:hover {
    box-shadow: none;
}
.alert-icon {
    width: 100%;
}

.alert .open-link {
    padding: 0px 30px;
}

.alert .open-link + * {
    padding: 3px;
}

.alerts img {
    width: 20px;
}

.alert-filter .img-filters img {
    width: 20px;
    vertical-align: bottom;
    margin: 0px 10px;
}

.alert-filter .img-filters img.double-width {
    width: 60px;
    margin: -24px 10px -16px;
}

.alert-filter .img-filters input[type="checkbox"] {
    display: none;
}

.alert-filter .img-filters input[type="checkbox"]:not(:checked) + img {
    display: none;
}

.alert-filter .img-filters input[type="checkbox"]:checked + img + img {
    display: none;
}

.offset-bg-0,
.offset-bg-1 {
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    display: inline-block;
    background-size: 50px 25px;
}

.offset-bg-0 {
    background-position: -25px 0px;
}

.icons > img {
    width: 25px;
    height: 25px;
}

.abs-right {
    position: absolute;
    top: 15px;
    right: 15px;
}

.ww {
    word-wrap: normal;
}

.w03 {
    width: 30%;
}

.section-title {
    font-size: 1.5em;
}

.flex {
    display: flex;
}

.fw {
    flex-wrap: wrap;
}

.sb {
    justify-content: space-between;
}

.fb > * {
    flex-basis: 0%;
}

.fg1 > * {
    flex-grow: 1;
}

video {
    max-width: 100%;
}

/*
.my-page > div {
margin-bottom: 10px;
margin-top: 10px;
}
*/
.mobile-open {
    display: none;
}

.upload-thumb {
    height: 100px;
    display: inline-block;
    margin-right: 30px;
}

div.upload-thumb {
    max-width: 100px;
    border: 1px #cccccc;
    border-radius: 15px;
    text-align: center;
    padding: 15px;
}

.file-field {
    display: block;
    padding: 15px 15px 15px 15px;
    font-size: 2em;
}

form.delete-button {
    position: absolute;
    width: 3rem;
    height: 3rem;
    top: 0px;
    right: 0px;
    background: #000;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

form.delete-button button {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: transparent;
    border-radius: inherit;
}

form.delete-button button i {
    font-size: 40px;
}

.deletable .delete-button {
    position: absolute;
    width: 3rem;
    height: 3rem;
    top: 0px;
    right: 0px;
    background: #000000;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.deletable .delete-button i {
    font-size: 40px;
}

.delete-comment-button {
    position: absolute;
    width: 15px;
    height: 15px;
    top: 0px;
    right: 0px;
    background: #000;
    border-radius: 1px;
    color: white;
    opacity: 0.7;
    cursor: pointer;
    z-index: 1;
}

.delete-comment-button i {
    font-size: 15px;
}

.descr {
    color: darkgray;
    text-decoration: none !important;
}

.descr:hover {
    color: grey;
    text-decoration: none;
}

.progress-bar {
    width: 100%;
    height: 30px;
    border: 1px solid darkgrey;
    background: #f1f1f1;
}

.progress-bar > div {
    height: 100%;
    background: #c2aa04;
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    background-size: 50px 50px;
    animation: move 2s linear infinite;
}

input[type="checkbox"]:not(:checked) ~ .ht-step {
    display: none;
}

input[type="checkbox"]:not(.hidden), input[type="radio"]:not(.hidden) {
    transform: scale(1.5);
    margin: 5px 10px;
}

.media-list {
    align-items: center;
    justify-content: space-between;
}

.media-list .media-answer {
    width: calc(50% - 5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    text-align: center;
}

.media-list .media-answer img,
.media-list .media-answer video {
    max-width: 100%;
    max-height: 250px;
}

.attach-list > div {
    display: inline-block;
    height: 160px;
    width: calc(30% - 5px);
    margin-right: 5px;
    text-align: center;
    vertical-align: middle;
}

.attach-list > div > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: static;
}

.attach-list img {
    max-width: 100%;
    max-height: 100%;
}

video.video-task {
    height: 300px;
    display: block;
    margin: 10px auto;
}

.d-none {
    display: none;
}

label {
    display: inline-block;
}

.tox-statusbar {
    display: none !important;
}

.tox.tox-tinymce {
    border-radius: 6px;
}

.p {
    padding: 5px;
}

.vab {
    vertical-align: bottom;
}

.table-div {
    display: table;
    width: 100%;
}

.table-div > * {
    display: table-row;
}

.table-div > * > * {
    display: table-cell;
}

.table-div > a {
    color: inherit;
    text-decoration: none;
}

.table-div > a:hover {
    background: #f0f0f0;
    color: inherit;
    text-decoration: none;
}

.right-bottom {
    position: absolute;
    bottom: 3px;
    right: 10px;
}

.chart.square-chart {
    width: 100%;
    padding-top: 100%;
}

.chart > svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.chart-legend {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid darkgrey;
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
}

.gallery-btn {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: calc(50% - 30px);
    padding: 10px;
    border-radius: 50%;
}
.gallery-btn.left {
    left: 0;
}
.gallery-btn.right {
    right: 0;
}
.gallery-btn i {
    font-size: 40px;
}

button:focus {
    outline:0!important;
}

.payment-history-item {
    border-bottom: 1px solid #cccccc;
    cursor: pointer;
}
.alert-success.payment-history-item:hover {
    background: #96f596;
}
.alert-danger.payment-history-item:hover {
    background: #ffb6b6;
}
.alert-warning.payment-history-item:hover {
    background: #ffe586;
}
.lh-reset {
    line-height: inherit !important;
}

.popup-bg, .popup-bg-v2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    overflow-y: scroll;
}

.popup-bg > div, .popup-bg-v2 > div {
    position: relative;
    background: url(/img/perfectoteam.png) no-repeat, white;
    background-position: 30px 23px;
    background-size: 100px auto;
    border: 2px solid #363636;
    border-radius: 15px;
    padding: 30px;
    margin: 150px auto;
}
.popup-bg > div {
    width: 800px;
}

.close {
    color: red !important;
    font-size: 2rem !important;
    opacity: 0.7 !important;
    margin-top: -20px;
}

.sheet-item.hoverable:hover {
    text-decoration: none;
    background: #eeeeee;
    cursor: pointer;
}

.attend-mark {
    vertical-align: middle !important;
    position: relative;
}
.attend-mark::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 auto;
    border-radius: 9999px;
}
.attend-mark.empty::before,
.attend-example.empty {
    background: #d8d8d8;
}
.attend-mark.wait::before,
.attend-example.wait {
    background: #f1de00;
}
.attend-mark.attend::before,
.attend-example.attend {
    background: #03ab2a;
}
.attend-mark.absent::before,
.attend-example.absent {
    background: red;
}
.attend-mark.free::before,
.attend-example.free {
    background: orange;
}
.attend-mark.editable.empty::before {
    background: #d8d8d8;
}
.attend-mark:not(.editable.empty)::before {
    border: 1px solid #0000007f;
}
.attend-mark.editable {
    cursor: pointer;
}
.attend-select {
    position: absolute;
    top: 100%;
    left: 100%;
    padding: 10px;
    background: white;
    border: 1px solid black;
    border-radius: 3px;
    z-index: 1;
}
.attend-example {
    padding: 10px;
    text-align: center;
}
.attend-next-col {
    background: #def7ff;
}
.attend-checked {
    background: #cccccc;
}

.bg-lightgreen {
    background: #c6ffc8;
}

.go-up {
    position: fixed;
    bottom: 5px;
    right: 5px;
    cursor: pointer;
}
.go-up > i {
    font-size: 3em;
}


/*это разрешение для iphone 6*/
@media screen and (orientation:portrait) and (min-width:866px) {
    html {
        font-size: 36px;
    }

    .logo {
        font-size: min(9vw, 4rem);
        min-width: 300px;
        width: 300px;
    }

    .display-1 {
        font-size: 3rem;
    }

    .display-2 {
        font-size: 2, 5rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 1, 5rem;
    }

    .text-size-5 {
        font-size: 20px;
    }

    .text-size-3 {
        font-size: 16px;
    }

    .pb-10 {
        padding-bottom: 50px;
    }

    .text-size-10 {
        font-size: 40px;
    }

    a {
        font-size: 32;
    }

    body {
        font-size: 50px;
    }

    .main-window {
        width: auto;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 5px;
    }

    .mobileradio {
        transform: scale(5);
        margin-left: 100px;
    }

    .mobiletac {
        text-align: center;
    }

    .mmb {
        margin-bottom: 20px;
    }

    .sector1 {
        width: 0px;
    }

    .item-icon {
        height: 0px;
    }

    .sector2 {
        width: 80%;
        margin: 4px;
    }

    .sector3 {
        width: 20%;
        margin: 4px;
        text-align: center;
    }

}

@media screen and (max-width:865px) and (min-width:701px) {
    body {
        font-size: 36px;
    }

    .mobileradio {
        transform: scale(5);
        margin-left: 100px;
    }

    .mobiletac {
        text-align: center;
    }

    .mmb {
        margin-bottom: 20px;
    }

    .main-window {
        width: auto;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 5px;
    }

    .item-icon {
        height: 0px;
    }

    .sector2 {
        width: 80%;
        margin: 4px;
    }

    .sector3 {
        width: 20%;
        margin: 4px;
        text-align: center;
    }

}

@media screen and (max-width:700px) and (min-width:601px) {
    body {
        font-size: 27px;
    }

    .main-window {
        width: auto;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 5px;
    }

    .mobileradio {
        transform: scale(5);
        margin-left: 100px;
    }

    .mobiletac {
        text-align: center;
    }

    .mmb {
        margin-bottom: 20px;
    }

    .sector1 {
        width: 0px;
    }

    .item-icon {
        height: 0px;
    }

    .sector2 {
        width: 80%;
        margin: 4px;
    }

    .sector3 {
        width: 20%;
        margin: 4px;
        text-align: center;
    }

}

@media screen and (max-width:600px) {
    body {
        font-size: 18px;
    }

    .main-window {
        width: auto;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 5px;
    }

    .mobileradio {
        transform: scale(5);
        margin-left: 100px;
    }

    .mobiletac {
        text-align: center;
    }

    .mmb {
        margin-bottom: 20px;
    }

    .sector1 {
        width: 0px;
    }

    .item-icon {
        height: 0px;
    }

    .sector2 {
        width: 80%;
        margin: 4px;
    }

    .sector3 {
        width: 20%;
        margin: 4px;
        text-align: center;
    }
}

/*mobiles & tabs*/
@media screen and (orientation:portrait), screen and (max-width:960px) {
    html {
        font-size: 36px;
    }

    label {
        display: flex !important;
        align-items: center;
    }
    label::before, label::after {
        content: '';
        display: table;
    }
    input[type="checkbox"]:not(.hidden), input[type="radio"]:not(.hidden) {
        transform: scale(3.2);
        margin: 10px 25px;
    }

    .logo {
        font-size: min(9vw, 4rem);
        min-width: 300px;
        width: 300px;
    }

    input.search-field {
        background-size: 70px 70px;
        border-color: black;
        border-radius: 15px;
        padding-left: 75px;
        font-size: 1.2em;
    }

    .display-1 {
        font-size: 3rem;
    }

    .display-2 {
        font-size: 2, 5rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 1, 5rem;
    }

    .text-size-5 {
        font-size: 20px;
    }

    .text-size-3 {
        font-size: 16px;
    }

    .pb-10 {
        padding-bottom: 50px;
    }

    .text-size-10 {
        font-size: 40px;
    }

    a {
        font-size: 32;
    }

    body {
        min-width: 470px;
    }

    .header {
        text-align: center;
    }

    .sidebar {

        /*width: 37.5%;*/
        display: none;
    }

    .body-content {
        width: 62.5%;
    }

    .site-content-wrapper {
        width: 100%;
        overflow-x: hidden;
    }

    .site-content {
        width: 160%;        /*margin-left: -60%;*/
    }

    .site-content > div {
        float: left;
    }

    .site-content::after {
        content: '';
        display: table;
        clear: both;
    }

    .mobile-hidden {
        display: none;
    }

    .main-window {
        width: auto;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 5px;
    }

    .mobileradio {
        transform: scale(5);
        margin-left: 100px;
    }

    .mobiletac {
        text-align: center;
    }

    .mmb {
        margin-bottom: 20px;
    }

    .sector1 {
        width: 0px;
    }

    .item-icon {
        height: 0px;
    }

    .sector2 {
        width: 80%;
        margin: 4px;
    }

    .sector3 {
        width: 20%;
        margin: 4px;
        text-align: center;
    }

    .wrapper {
        padding-top: 170px;
    }

    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 140px;
        background: white;
        border-bottom: 1px solid gray;
        z-index: 2;
        margin-bottom: -150px !important;
        background: rgba(20, 20, 20, 0.8);
        justify-content: space-between;
        align-items: center;
        padding: 30px;
    }

    .menu-logo img {
        width: 400px;
        opacity: 0.9;
    }

    .menu-button input {
        position: absolute;
        display: block;
        width: 140px;
        height: 140px;
        opacity: 0;
        z-index: 1;
        cursor: pointer;
    }

    .menu-button {
        position: static;
    }

    .menu-button i {
        font-size: 140px;
        color: whitesmoke;
    }

    .mobile-menu input:checked ~ .sandwich,
    .mobile-menu input:not(:checked) ~ .close,
    .mobile-menu input:not(:checked) ~ .hidden-menu {
        display: none;
    }

    .hidden-menu {
        background: rgba(20, 20, 20, 0.8);
        position: absolute;
        top: 100%;
        right: 0;
        font-size: 70px;
        text-align: center;
        width: 100%;
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        color: whitesmoke !important;
        padding-bottom: 700px;
    }

    .hidden-menu > .ac > div {
        padding: 15px;
    }

    .hidden-menu > .ac > div:hover,
    .hidden-menu > .ac > div:active {
        background: rgba(115, 115, 115, 0.7);
        color: whitesmoke;
    }

    .hidden-menu a {
        color: whitesmoke !important;
    }

    .mobile-tab {
        font-size: 36px;
    }

    .mb-15 {
        margin-bottom: 30px;
    }

    .mb-10 {
        margin-bottom: 20px;
    }

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

    .mb-5 {
        margin-bottom: 10px;
    }

    .mt-10 {
        margin-top: 20px;
    }

    .mt-5 {
        margin-top: 10px;
    }

    .shadow-silver {
        padding: 30px 30px 30px 30px;
        box-shadow: 0 0 10px silver;
    }

    .shadow-green,
    .shadow-red,
    .shadow-yellow {
        text-align: center;
        padding: 15px 0px;
        background-size: 60px 60px;
        background-repeat: no-repeat;
        background-position: 6px 6px;
    }

    .shadow-green {
        padding: 30px 30px 30px 30px;
        background-color: #daffd6;
        background-image: url(/img/alerts/Ok.png);
    }

    .shadow-green.new {
        padding: 30px 30px 30px 30px;
        background-image: url(/img/alerts/New.png);
        background-size: 135px auto;
        background-position: 2px -9px;
    }

    .shadow-yellow {
        padding: 30px 30px 30px 30px;
        background-color: #fafad4;
        background-image: url(/img/alerts/Attention.png);
    }

    .shadow-red {
        padding: 30px 30px 30px 30px;
        background-color: #ffd6d6;
        background-image: url(/img/alerts/Warning.png);
    }

    .shadow-red.out {
        padding: 30px 30px 30px 30px;
        background-image: url(/img/alerts/out.png);
    }

    .shadow-red.money {
        padding: 30px 30px 30px 30px;
        background-image: url(/img/alerts/Money.png);
    }

    .shadow-silver-link {
        padding: 30px 30px 30px 30px;
        box-shadow: 0 0 30px silver;
    }

    .shadow-silver-link:hover {
        padding: 30px 30px 30px 30px;
        box-shadow: none;
    }

    .alert .open-link {
        padding: 0px 90px;
    }

    .alert .open-link + * {
        padding: 9px;
    }

    .alerts img {
        width: 30px;
    }

    .alert-filter .img-filters img {
        width: 60px;
        vertical-align: bottom;
        margin: 0px 10px;
    }

    .alert-filter .img-filters img.double-width {
        padding: 30px 30px 30px 30px;
        width: 180px;
        margin: -72px 30px -48px;
    }

    .alert-filter .img-filters input[type="checkbox"] {
        padding: 30px 30px 30px 30px;
        display: none;
    }

    .alert-filter .img-filters input[type="checkbox"]:not(:checked) + img {
        padding: 30px 30px 30px 30px;
        display: none;
    }

    .alert-filter .img-filters input[type="checkbox"]:checked + img + img {
        padding: 30px 30px 30px 30px;
        display: none;
    }

    h1 {
        margin-top: 30px;
        font-size: 2em;
    }

    h2 {
        margin-top: 30px;        /*font-size: 2em;*/
        font-weight: 100;
    }

    h3 {
        font-size: 60px;
    }

    h4 {
        font-size: 50px;
    }

    .my-page > div {
        margin-bottom: 50px;
        margin-top: 50px;
        font-size: 50px;
    }

    .group-shcedule {
        display: none;
    }

    .mobile-open {
        display: block !important;
    }

    .table > div > div {
        padding: 20px 10px 20px 10px;
        text-align: center;
    }

    .hr {
        border-bottom: 5px solid #f7f0da;
        width: 100%
    }

    .fs-18 {
        font-size: 36px;
    }

    textarea {
        overflow: auto;
        padding: 15px 15px 15px 15px;
        border: 1px solid #cccccc;
        border-radius: 12px;
        height: 250px;
        width: 80%;
        margin-top: 15px
    }

    /*input[type="text"] {
        padding: 15px 15px 15px 15px;
        border-radius: 12px;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        -khtml-border-radius: 12px;
        outline: none;
        width: 100%;
    }*/

    input[type="password"] {
        padding: 15px 15px 15px 15px;
        border-radius: 12px;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        -khtml-border-radius: 12px;
        width: 100%;
    }

    .search-results {
        font-size: 55px;
    }

    .button.btn-small {
        padding: 14px 15px 15px 15px;
    }

    .button:not(.bs) {
        border-bottom: 2px solid #C9AA48;
        border-right: 2px solid #C9AA48;
        border-radius: 22px;
    }

    .button:not(.bs):not(.disabled):hover,
    .button:not(.bs).active {
        border-radius: 22px;
    }

    .fileform {
        background-color: #FFFFFF;
        border: 2px solid #CCCCCC;
        border-radius: 4px;
        cursor: pointer;
        height: 70px;
        overflow: hidden;
        padding: 4px;
        position: relative;
        text-align: left;
        vertical-align: middle;
        width: 330px;
    }

    .fileform .selectbutton {
        background-color: #A2A3A3;
        border: 2px solid #939494;
        border-radius: 4px;
        color: #FFFFFF;
        float: right;
        font-size: 42px;
        height: 58px;
        line-height: 40px;
        overflow: hidden;
        padding: 4px 12px;
        text-align: center;
        vertical-align: middle;
        width: 318px;
    }

    .fileform #file {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        -moz-opacity: 0;
        filter: alpha(opacity=0);
        opacity: 0;
        font-size: 300px;
        height: 60px;
        z-index: 40;
    }

    .fileform #fileformlabel {
        background-color: #FFFFFF;
        float: left;
        height: 44px;
        line-height: 44px;
        overflow: hidden;
        padding: 4px;
        text-align: left;
        vertical-align: middle;
        width: 160px;
    }

    .h20 {
        height: 80px;
        min-height: 80px;
    }

    .box {
        background: white;
        border: 2px solid #eeeeee;
        border-radius: 10px;
        padding: 10px 10px 10px 10px;
        margin-bottom: 10px;        /*box-shadow: 1px 1px 2px 1px lightgray;*/
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.20), 0 2px 2px rgba(0, 0, 0, 0.18);
    }

    .box:hover {
        background: white;
        border: 2px solid #dbdbdb;        /*margin-top: 3px;*/
        margin-bottom: 10px;
        box-shadow: 0 0 0 0;
        padding: 11px 10px 9px 10px;
    }

    .upload-preview {
        margin-top: 75px;
        max-width: 370px;
        min-width: auto;
        min-height: auto;
        height: 320px;
        margin-bottom: 15px;
    }

    .descr {
        font-size: 35px;
    }

    .sheet {
        background: white;
        border: 1px solid #cccccc;
        border-radius: 15px;
        padding: 10px;
        margin-bottom: 10px;
        box-shadow: 1px 1px 0px 0px lightgray;
    }

    .sheet-item {
        border: 3px solid #eeeeee;
        border-radius: 15px;
        padding: 10px;
        margin-bottom: 10px;
    }

    .popup-bg > div {
        padding: 30px 30px 300px 30px;
    }

    .close-button:not(.close),
    .close-button2:not(.close) {
        position: absolute;
        top: 10px;
        right: 20px;
        z-index: 1;
    }

    .close-button > i,
    .close-button2 > i {
        cursor: pointer;
        font-size: 2em;
    }

}

@media screen and (orientation:landscape) and (min-width:961px) {
    body {
        font-size: 14px;
    }

    .menu-name {
        padding: 10px 5px 5px 10px;
        padding-top: 5px;        /*
        background-color: #C9AA48;
        */
    }

    .wrapper {
        margin: 0px auto;
        width: 100%;
        max-width: 1920px;        /*
        background: url(/triangle.png) repeat right;
        background-position-x: calc(100% + 81px);
        background-position-y: top;
        background-color: #f1f1f1;
        */
    }

    .container {
        width: 900px;
        max-width: 900px !important;
        padding-left: 0px !important;
    }

    .sandwich {
        display: none;
    }

    .logo {
        margin-top: 5px;
        margin-bottom: 5px;
        z-index: 1;
    min-width: 400px;
    width: 400px;
    }

    .headtext {
        margin-top: 27px;
    }

    .site-content {
        display: table;
        width: 900px;
        margin: 0px auto;
    }

    .site-content > div {
        display: table-cell;
        vertical-align: top;
    }

    .main-window {
        width: 500px;
        background-color: rgba(255, 255, 255, 0.8);
        padding: 5px;
    }

    .rating > span:hover,
    .rating > span:hover ~ span {
        color: goldenrod;
    }

    .sector1 {
        width: 15%;
    }

    .item-icon {
        height: 60px;
    }

    .sector2 {
        width: 500px;
        margin: 4px;
    }

    .sector3 {
        width: 50px;
        margin: 4px;
        text-align: center;
    }

    .fileform {
        background-color: #FFFFFF;
        border: 1px solid #CCCCCC;
        border-radius: 2px;
        cursor: pointer;
        height: 26px;
        overflow: hidden;
        padding: 2px;
        position: relative;
        text-align: left;
        vertical-align: middle;
        width: 150px;
    }

    .fileform .selectbutton {
        background-color: #A2A3A3;
        border: 1px solid #939494;
        border-radius: 2px;
        color: #FFFFFF;
        float: right;
        font-size: 16px;
        height: 20px;
        line-height: 20px;
        overflow: hidden;
        padding: 2px 6px;
        text-align: center;
        vertical-align: middle;
        width: 144px;
    }

    .fileform #file {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        -moz-opacity: 0;
        filter: alpha(opacity=0);
        opacity: 0;
        font-size: 150px;
        height: 30px;
        z-index: 20;
    }

    .mt--10 {
        margin-top: -10px;
    }

    .h20 {
        height: 20px;
        min-height: 20px;
    }

    .box {
        background: white;
        border: 1px solid #eeeeee;
        border-radius: 6px;
        padding: 10px 10px 10px 10px;
        margin-bottom: 10px;        /*box-shadow: 1px 1px 2px 1px lightgray;*/
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.20), 0 2px 2px rgba(0, 0, 0, 0.18);
        position: relative;
    }

    .box:hover {
        background: white;
        border: 1px solid #dbdbdb;        /*margin-top: 3px;*/
        margin-bottom: 10px;
        box-shadow: 0 0 0 0;
        padding: 11px 10px 9px 10px;
    }

    .upload-preview {
        max-width: 270px;
        min-width: auto;
        min-height: auto;
        height: 250px;
    }

    .descr {
        font-size: 12px;
    }

    .sheet {
        background: white;
        border: 1px solid #cccccc;
        border-radius: 15px;
        padding: 10px;
        margin-bottom: 10px;
        box-shadow: 1px 1px 0px 0px lightgray;
    }

    .sheet-item {
        border: 1px solid #eeeeee;
        border-radius: 6px;
        padding: 10px;
        margin-bottom: 10px;
    }

    .fs-18 {
        font-size: 18px;
    }

    .close-button:not(.close),
    .close-button2:not(.close) {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1;
    }

    .close-button > i,
    .close-button2 > i {
        cursor: pointer;
    }

    .pr-10 {
        padding-right: 10px;
    }

    .display-5 {
        font-size: 2.5rem;
        font-weight: 300;
        line-height: 1.2;
    }

}

.file-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}
.file-list > div {
    width: max(180px, calc((100% / 3) - 2 * 0.5rem));
    cursor: pointer;
}
.file-list-icon-wrapper::before {
    content: '';
    display: block;
    padding-top: 100%;
}
.file-list-icon-wrapper > div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.file-list-icon-wrapper > div > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.text-clip {
    text-overflow: ellipsis;
    text-wrap: nowrap;
    overflow: hidden;
}
