/* Header */

.dron {
    width: 8vw;
    margin-bottom: 10%;
}

#fruits {
    outline: none;
    border: none;
    background: none;
}

.task-list>p {
    text-align: left;
    margin-bottom: 2.5%;
    border: solid white;
    border-radius: 15px 15px 0px 0px;
}

.side_menu {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-bottom: auto;
}

#prj_tag {
    font-weight: bold;
    padding-left: 2%;
    padding-top: 4%;
    padding-bottom: 2%;
    font-size: 2vh;
}

#sv_btn {
    margin: 10px;
    margin-left: 2.5%;
}

#sv_btn2 {
    margin: 10px;
    margin-left: 2.5%;
}

.ckeditor {
    visibility: hidden;
    display: none;
}

.additional>label {
    width: 50%;
    display: inline;
}

.additional>input {
    margin-top: 0.5%;
    margin-right: 0.5%;
}

.container_check {
    width: 50%;
    display: inline;
    margin-left: 1.5em;
}

#resp_name {
    font-weight: bold;
    padding-left: 2%;
    padding-top: 4%;
    padding-bottom: 2%;
}

.nav {
    margin-top: 2.5%;
}

.header {
    word-break: normal;
    /* Так длинные слова будут переноситься */
    display: grid;
    grid-template-columns: 10% 15% 70% 5%;
    width: 100vw;
    height: 4em;
    background-color: rgb(0, 0, 0, 0.44);
}

.container {
    display: grid;
    grid-template-rows: 10% 90%;
    width: 100vw;
}

.search_bar {
    margin-top: 1em;
    margin-left: 5%;
    width: 15vw;
    height: 3vh;
}

.sb_input {
    width: 60%;
    background: none;
    overflow: hidden;
    font-size: 1.5vh;
    border: solid white;
    border-radius: 1.5vh;
}

.list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30vh, 5vh));
    grid-auto-flow: column;
    overflow-x: auto;
    height: auto;
    width: 100vw;
    grid-column-gap: 20px;
}

.task-list {}

.search_button {
    anchor-name: search_bar;
    font-size: 2vh;
}

.workspaces {
    color: white;
    margin-right: 2%;
    margin-top: 0.5em
}

.head {
    margin-left: 30%;
    margin-right: 40%;
    font-size: 24px;
}

.avatar {
    float: right;
    padding: 5%;
}

@font-face {
    font-family: Roboto-Regular;
    font-weight: 300;
    src: url('../../fonts/Roboto-Regular.ttf') format("truetype");
}

.task-header {
    display: flex;
    flex-direction: column;
    width: 10vw;
    height: 100%;
    order: -1;
    margin-top: -1px;
    grid-column: 1;
}

#open_btn {
    padding-left: 2%;
    padding-top: 4%;
    padding-bottom: 2%;
    font-size: 2vh;
    hyphens: auto;
}

.percentage {
    color: gray;
    font-size: 2vh;
}

.open-sans-300 {
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

body {
    transition: background-color 0.3s ease;
    margin: 0;
}

.workspaces {
    font-family: Roboto;
    font-weight: 400;
}

.modal-trigger {
    font-family: Roboto;
    font-weight: 400;
    font-size: 24px;
    color: white;
    text-align: center;
    background: none;
    cursor: pointer;
}

.task_body {
    font-family: Roboto;
    font-weight: 400;
    width: 95%;
    margin-left: 2.25%;
    margin-right: 2.25%;
    background-color: white;
    align-items: center;
    justify-content: center;
    border: solid white;
    border-radius: 15px;
    display: grid;
    grid-template-columns: auto 1fr;
}

.task_head {
    width: 30vh;
}

.task-list {
    background-color: #e9ecef;
    box-shadow: 0px 8px 8px 5px rgba(0, 0, 0, 0.2);
    border: solid #F1F2F4;
    border-radius: 15px;
    border-width: 2px;
    margin-top: 2%;
    margin-left: 2%;
}

.tities_list {
    max-height: 75vh;
    overflow-y: auto;
}

body.light {
    background-color: #ffffff;
    color: #000000;
}

body.dark {
    background-color: #121212;
    color: #ffffff;
}

a:link {
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

a:hover {
    color: white;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
}

.modal-container {
    width: 80%;
    max-width: 700px;
    margin: 50px auto;
    border-radius: 8px;
    position: relative;
    padding: 20px;
    color: white;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s;
}

.modal-close:hover {
    color: white;
}

.modal-body {
    margin-top: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.task-button {
    width: 100%;
    text-align: left;
    padding: 10px;
    border: none;
    background: none;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s;
}

.task-button:hover {
    opacity: 0.8;
}

/* Затемнение всей страницы при открытии окна */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 80%;
    overflow: auto;
    /* разрешаем прокрутку */
    background-color: rgba(0, 0, 0, 0.4);
}

/* Добавляется при открытии окна */
.modal-open {
    display: block;
}

/* Содержимое модального окна */
.modal-content {
    margin: 15% auto;
    /* отступ сверху и центрирование по горизонтали */
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    height: 50%;
}

/* Кнопка закрытия модального окна */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.truncate2 {
    max-width: 20em;
    max-height: 2em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* hides the notifications area in CKEditor, a WYSIWYG text editor. */
.cke_notifications_area {
    display: none;
}

/* .dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
} */

/* Контейнер <div> - необходим для размещения выпадающего содержимого */


/* Выпадающее содержимое (скрыто по умолчанию) */



/* Авторизация */
#wrapper {
    position: absolute;
    width: 320px;
    left: 50%;
    margin-left: -160px;
    top: 50%;
    margin-top: -75px;
}

/* === Sign in Form === */
#signin {
    height: 90px;
    width: 300px;
    border-radius: 8px;
    position: relative;
}

#signin::before {
    display: block;
    position: relative;
    height: 2px;
    background: rgb(52, 56, 61);
    content: '';
    top: 44px;
    margin-left: 20px;
    z-index: 1;
}

#signin input:first-of-type {
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

#signin input:last-of-type {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

#signin input[type="text"],
#signin input[type="password"],
#signin input[type="email"],
#signin button[type="submit"] {
    background: rgb(28, 30, 33);
    box-shadow: inset -100px -100px 0 rgb(28, 30, 33);
    /*Prevent yellow autofill color*/
    color: rgb(52, 56, 61);
}

#signin input[type="text"],
#signin input[type="email"],
#signin input[type="password"] {
    position: relative;
    display: block;
    width: 280px;
    height: 45px;
    border: 0;
    outline: 0;
    top: -2px;
    padding: 0 0 0 20px;
    font-weight: 700;
}

#signin input[type="text"]:focus,
#signin input[type="password"]:focus {
    color: rgb(255, 255, 255);
}

#signin button[type="submit"] {
    display: block;
    position: absolute;
    width: 52px;
    height: 52px;
    color: rgb(52, 56, 61);
    border-radius: 50px;
    outline: 0;
    z-index: 2;
    top: 19px;
    right: -24px;
    border: 6px solid rgb(52, 56, 61);
    font-size: 25px;
    text-indent: 0px;
    padding-left: 9px;
    padding-bottom: 3px;
    text-align: center;
}

#signin button[type="submit"]:hover {
    color: rgb(0, 126, 165);
    text-shadow: 0 0 10px rgb(0, 126, 165);
    cursor: pointer;
}

#signin p {
    color: rgb(79, 85, 97);
    padding: 0 20px;
    font-weight: 700;
    font-size: 12px;
    margin: 5px 0 0 0;
}

#signin p>a {
    color: rgb(111, 119, 135);
    text-decoration: none;
}

#signin p>a:hover {
    border-bottom: 1px solid;
}

.search-bar {
    display: flex;
}

.search-bar input,
.search-btn,
.search-btn:before,
.search-btn:after {
    transition: all 0.25s ease-out;
}

.search-bar input,
.search-btn {
    width: 3em;
    height: 3em;
}

.search-bar input:invalid:not(:focus),
.search-btn {
    cursor: pointer;
}

.search-bar,
.search-bar input:focus,
.search-bar input:valid {
    width: 100%;
}

.search-bar input:focus,
.search-bar input:not(:focus)+.search-btn:focus {
    outline: transparent;
}

.search-bar {
    padding: 1em;
    justify-content: center;
    max-width: 20em;
}

.search-bar input {
    background: transparent;
    border-radius: 1.5em;
    box-shadow: 0 0 0 0.4em #171717 inset;
    padding: 0.75em;
    transform: translate(0.5em, 0.5em) scale(0.5);
    transform-origin: 100% 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.search-bar input::-webkit-search-decoration {
    -webkit-appearance: none;
}

.search-bar input:focus,
.search-bar input:valid {
    background: #fff;
    border-radius: 0.375em 0 0 0.375em;
    box-shadow: 0 0 0 0.1em #d9d9d9 inset;
    transform: scale(1);
}

.search-btn {
    background: #171717;
    border-radius: 0 0.75em 0.75em 0 / 0 1.5em 1.5em 0;
    padding: 0.75em;
    position: relative;
    transform: translate(0.25em, 0.25em) rotate(45deg) scale(0.25, 0.125);
    transform-origin: 0 50%;
}

.search-btn:before,
.search-btn:after {
    content: "";
    display: block;
    opacity: 0;
    position: absolute;
}

.search-btn:before {
    border-radius: 50%;
    box-shadow: 0 0 0 0.2em #f1f1f1 inset;
    top: 0.75em;
    left: 0.75em;
    width: 1.2em;
    height: 1.2em;
}

.search-btn:after {
    background: #f1f1f1;
    border-radius: 0 0.25em 0.25em 0;
    top: 51%;
    left: 51%;
    width: 0.75em;
    height: 0.25em;
    transform: translate(0.2em, 0) rotate(45deg);
    transform-origin: 0 50%;
}

.search-btn span {
    display: inline-block;
    overflow: hidden;
    width: 1px;
    height: 1px;
}

/* Active state */
.search-bar input:focus+.search-btn,
.search-bar input:valid+.search-btn {
    background: #2762f3;
    border-radius: 0 0.375em 0.375em 0;
    transform: scale(1);
}

.search-bar input:focus+.search-btn:before,
.search-bar input:focus+.search-btn:after,
.search-bar input:valid+.search-btn:before,
.search-bar input:valid+.search-btn:after {
    opacity: 1;
}

.search-bar input:focus+.search-btn:hover,
.search-bar input:valid+.search-btn:hover,
.search-bar input:valid:not(:focus)+.search-btn:focus {
    background: #0c48db;
}

.search-bar input:focus+.search-btn:active,
.search-bar input:valid+.search-btn:active {
    transform: translateY(1px);
}

@media screen and (prefers-color-scheme: dark) {

    body,
    input {
        color: #f1f1f1;
    }

    body {
        background: #171717;
    }

    .search-bar input {
        box-shadow: 0 0 0 0.4em #f1f1f1 inset;
    }

    .search-bar input:focus,
    .search-bar input:valid {
        background: #3d3d3d;
        box-shadow: 0 0 0 0.1em #3d3d3d inset;
    }

    .search-btn {
        background: #f1f1f1;
    }
}

.search_button {
    border: none;
    background: none;
    color: white;
    cursor: pointer;
    transition: 0.5s;
}

.hider {
    border: none;
    background: none;
    color: white;
    cursor: pointer;
    transition: 0.5s;
}

.hider:hover {
    transform: scale(1.1);
    /* Увеличиваем масштаб */

}

.search_button:hover {
    opacity: 0.8;
}

p {
    transition: 0.5s;
}



.modal-trigger {
    transition: 0.5s;
    border: none;
    background: none;
    cursor: pointer;
}



.modal-trigger2 {
    font-family: Roboto;
    font-weight: 400;
    transition: 0.5s;
    border: none;
    background: none;
    cursor: pointer;
}


.task_body {
    padding: 10px;
    box-shadow: 0px 8px 8px -3px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    transition: 0.5s;
}

.dropbtn2 {

    color: white;
    font-size: 16px;
    border: none;
}

/* Контейнер <div> - необходим для размещения выпадающего содержимого */


/* Выпадающее содержимое (скрыто по умолчанию) */
.dropdown-content2 {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Ссылки внутри выпадающего списка */
.dropdown-content2 a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Изменение цвета выпадающих ссылок при наведении курсора */
.dropdown-content2 a:hover {
    background-color: #ddd;
}

/* Показать выпадающее меню при наведении курсора */
.dropdown2:hover .dropdown-content2 {
    display: block;
}

/* Изменение цвета фона кнопки раскрывающегося списка при отображении содержимого раскрывающегося списка */
.dropdown2:hover .dropbtn2 {
    background-color: #3e8e41;
}

.dropdown2 {
    transition: 0.5s;
}

.dropdown2:hover {
    transform: scale(1.1);
    /* Увеличиваем масштаб */
}

.resp_head {
    background-color: #e9ecef;
    box-shadow: 0px 8px 8px 5px rgba(0, 0, 0, 0.2);
    border: solid #F1F2F4;
    border-radius: 15px;
    border-width: 2px;
    margin-top: 2%;
    margin-left: 2%;
    height: 82vh;


}

.resp_list {
    max-height: 75vh;
    overflow-y: auto;
}





.nav {
    /*  ширна произвольная, не стесняйтесь экспериментировать */
    width: 320px;
    min-width: 320px;
    /* фиксируем и выставляем высоту панели на максимум */
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    margin: 0;
    /* сдвигаем (прячем) панель относительно левого края страницы */
    left: -320px;
    /* внутренние отступы */
    padding: 15px 20px;
    /* плавный переход смещения панели */
    -webkit-transition: left 0.3s;
    -moz-transition: left 0.3s;
    transition: left 0.3s;
    /* определяем цвет фона панели */
    /* поверх других элементов */
    z-index: 2000;
}

/**
 * Кнопка переключения панели
 * тег <label>
 */

.nav-toggle {
    /* абсолютно позиционируем */
    position: absolute;
    /* относительно левого края панели */
    left: 320px;
    /* отступ от верхнего края панели */
    top: 1em;
    /* внутренние отступы */
    padding: 0.5em;
    /* определяем цвет фона переключателя
     * чаще вчего в соответствии с цветом фона панели
    */
    background: inherit;
    /* цвет текста */
    color: #dadada;
    /* вид курсора */
    cursor: pointer;
    /* размер шрифта */
    font-size: 1.2em;
    line-height: 1;
    /* всегда поверх других элементов страницы */
    z-index: 2001;
    /* анимируем цвет текста при наведении */
    -webkit-transition: color .25s ease-in-out;
    -moz-transition: color .25s ease-in-out;
    transition: color .25s ease-in-out;
}

/* определяем текст кнопки 
 * символ Unicode (TRIGRAM FOR HEAVEN)
*/

.nav-toggle:after {
    text-decoration: none;
}

/* цвет текста при наведении */

.nav-toggle:hover {
    color: #f4f4f4;
}

/**
 * Скрытый чекбокс (флажок)
 * невидим и недоступен :)
 * имя селектора атрибут флажка
 */

[id='nav-toggle'] {
    position: absolute;
    display: none;
}

/**
 * изменение положения переключателя 
 * при просмотре на мобильных устройствах
 * когда навигация раскрыта, распологаем внутри панели
*/

[id='nav-toggle']:checked~.nav>.nav-toggle {
    left: auto;
    right: 2px;
    top: 1em;
}

/**
 * Когда флажок установлен, открывается панель
 * используем псевдокласс:checked
 */

[id='nav-toggle']:checked~.nav {
    left: 0;
    box-shadow: 4px 0px 20px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 4px 0px 20px 0px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 4px 0px 20px 0px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

/* 
 * смещение контента страницы
 * на размер ширины панели,
 * фишка необязательная, на любителя
*/

[id='nav-toggle']:checked~main>article {
    -webkit-transform: translateX(320px);
    -moz-transform: translateX(320px);
    transform: translateX(320px);
}

/*
 * изменение символа переключателя,
 * привычный крестик (MULTIPLICATION X), 
 * вы можете испльзовать любой другой значок
*/

[id='nav-toggle']:checked~.nav>.nav-toggle:after {}

/**
 * профиксим баг в Android <= 4.1.2
 * см: http://timpietrusky.com/advanced-checkbox-hack
 */

body {}

/* @-webkit-keyframes bugfix {
    to {
      padding: 0;
    }
} */

/**
 * позаботьтимся о средних и маленьких экранах
 * мобильных устройств
 */

@media screen and (min-width: 320px) {

    html,
    body {
        margin: 0;
        overflow-x: hidden;
    }
}

@media screen and (max-width: 320px) {

    html,
    body {
        margin: 0;
        overflow-x: hidden;
    }

    .nav {
        width: 100%;
        box-shadow: none
    }
}

/**
 * Формируем стиль заголовка (логотип) панели 
*/

.nav h2 {
    width: 90%;
    padding: 0;
    margin: 10px 0;
    text-align: center;
    text-shadow: rgba(255, 255, 255, .1) -1px -1px 1px, rgba(0, 0, 0, .5) 1px 1px 1px;
    font-size: 1.3em;
    line-height: 1.3em;
    opacity: 0;
    transform: scale(0.1, 0.1);
    -ms-transform: scale(0.1, 0.1);
    -moz-transform: scale(0.1, 0.1);
    -webkit-transform: scale(0.1, 0.1);
    transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -webkit-transform-origin: 0% 0%;
    transition: opacity 0.8s, transform 0.8s;
    -ms-transition: opacity 0.8s, -ms-transform 0.8s;
    -moz-transition: opacity 0.8s, -moz-transform 0.8s;
    -webkit-transition: opacity 0.8s, -webkit-transform 0.8s;
}

.nav h2 a {
    color: #dadada;
    text-decoration: none;
    text-transform: uppercase;
}


/*плавное появление заголовка (логотипа) при раскрытии панели */

[id='nav-toggle']:checked~.nav h2 {
    opacity: 1;
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
}

/**
 * формируем непосредственно само меню
 * используем неупорядоченный список для пунктов меню
 * прикрутим трансфомации и плавные переходы
 */

.nav>ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav>ul>li {
    line-height: 2.5;
    opacity: 0;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: opacity .5s .1s, -webkit-transform .5s .1s;
    -moz-transition: opacity .5s .1s, -moz-transform .5s .1s;
    -ms-transition: opacity .5s .1s, -ms-transform .5s .1s;
    transition: opacity .5s .1s, transform .5s .1s;
}

[id='nav-toggle']:checked~.nav>ul>li {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

/* определяем интервалы появления пунктов меню */

.nav>ul>li:nth-child(2) {
    -webkit-transition: opacity .5s .2s, -webkit-transform .5s .2s;
    transition: opacity .5s .2s, transform .5s .2s;
}

.nav>ul>li:nth-child(3) {
    -webkit-transition: opacity .5s .3s, -webkit-transform .5s .3s;
    transition: opacity .5s .3s, transform .5s .3s;
}

.nav>ul>li:nth-child(4) {
    -webkit-transition: opacity .5s .4s, -webkit-transform .5s .4s;
    transition: opacity .5s .4s, transform .5s .4s;
}

.nav>ul>li:nth-child(5) {
    -webkit-transition: opacity .5s .5s, -webkit-transform .5s .5s;
    transition: opacity .5s .5s, transform .5s .5s;
}

.nav>ul>li:nth-child(6) {
    -webkit-transition: opacity .5s .6s, -webkit-transform .5s .6s;
    transition: opacity .5s .6s, transform .5s .6s;
}

.nav>ul>li:nth-child(7) {
    -webkit-transition: opacity .5s .7s, -webkit-transform .5s .7s;
    transition: opacity .5s .7s, transform .5s .7s;
}


/**
 * оформление ссылок пунктов меню
 */

.nav>ul>li>a {
    display: inline-block;
    position: relative;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1.2em;
    color: #dadada;
    width: 100%;
    text-decoration: none;
    /* плавный переход */
    -webkit-transition: color .5s ease, padding .5s ease;
    -moz-transition: color .5s ease, padding .5s ease;
    transition: color .5s ease, padding .5s ease;
}

/**
 * состояние ссылок меню при наведении
 */

.nav>ul>li>a:hover,
.nav>ul>li>a:focus {
    color: white;
    padding-left: 15px;
}

/**
 * линия подчеркивания ссылок меню
 */

.nav>ul>li>a:before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    -webkit-transition: width 0s ease;
    transition: width 0s ease;
}

.nav>ul>li>a:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: #3bc1a0;
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
}

/**
 * анимируем линию подчеркивания 
 * ссылок при наведении
 */

.nav>ul>li>a:hover:before {
    width: 0%;
    background: #3bc1a0;
    -webkit-transition: width .5s ease;
    transition: width .5s ease;
}

.nav>ul>li>a:hover:after {
    width: 0%;
    background: transparent;
    -webkit-transition: width 0s ease;
    transition: width 0s ease;
}