@charset "UTF-8";
:root {
  --red: #FF5959;
  --red-light: #FF7A7A;

  --yellow: #FFC738;
  --yellow-light: #FFD260;

  --blue: #52ADC8;
  --blue-light: #75BDD3;

  --green: #B8CF69;
  --green-light: #C6D987;

  --dark: #151C15;
  --dark-light: #444944;

  --gray: #999999;
  --gray-light: #E7E7E7;
}
html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
    background-color: #fff;
    font-family: 'Raleway', sans-serif;
    padding: 20px 35px;
    overflow-x: hidden;
    position: relative;
}
body.unscroll {
    overflow-y: hidden;
}

*, *::after, *::before {
  box-sizing: border-box;
}
button {
    outline: none;
}
a:hover, button:hover {cursor: pointer;}

body main {
    max-width: 1010px;
    margin: auto;
}
footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 15px;
    color: var(--gray);
    padding:  25px 10px;
}
footer a {
    color: var(--gray);
    text-decoration: none;
    border-bottom: 1px solid var(--gray);
}

.popover-shown {
    overflow: hidden;
}
.hidden {display: none !important}
.relative {position: relative;}
.clickable {cursor: pointer;}
.red {color: var(--red)}
.orange {color: #FF9559}
.text-left{text-align: left;}
.text-center{text-align: center;}
.text-right{text-align: right;}
input[type="text"].timer__input,
input[type="time"].timer__input,
input[type="number"].timer__input,
input[type="password"].timer__input,
select.timer__input {
    background-color: white;
    border: 1px solid #E7E7E7;
    box-sizing: border-box;
    border-radius: 3px;
    height: 36px;
    display: block;
    padding: 8px 16px;
    font-family: 'Raleway';
    width: 100%;
}
input[type="text"].timer__input:focus,
input[type="time"].timer__input:focus,
input[type="number"].timer__input:focus,
input[type="password"].timer__input:focus,
select.timer__input:focus,
textarea.timer__input:focus {
    border-color: var(--blue);
    outline: none;
}
textarea.timer__input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    border-radius: 3px;
    padding: 20px;
}
input.timer__input[disabled],
select.timer__input[disabled],
textarea.timer__input[disabled] {
    background-color: whitesmoke;
}
select.timer__input {
    font-size: 12px;
    color: #666666;
}
input[type="range"].timer__input {
    display: block;
    height: 36px;
}
input[type="range"].timer__input.thin {
    display: block;
    height: 8px;
}
input[name="start_date"].timer__input {
    width: 80px;
    padding: 10px 4px;
    font-size: 12px;
    text-align: center;
}
input[name="start_time"].timer__input {
    width: 70px;
    margin-left: 4px;
    padding: 10px 4px;
    font-size: 12px;
    text-align: center;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
.checkbox {
    display: none;
}
.checkbox__label-text {
    position: relative;
    font-weight: normal;
    cursor: pointer;
    padding-left: 25px;
    margin-bottom: 20px;
    font-weight: 500;
}
.checkbox__label-text:before {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    border: 1px solid #E7E7E7;
    border-radius: 4px;
    left: 0;
    top: 0;
}
.checkbox__label-text.circle:before {
    width: 18px;
    height: 18px;
    border: 2px solid #E7E7E7;
    border-radius: 50px;
}
.checkbox__label-text::after {
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    background-image: url(../img/checkbox-check.png);
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 4px;
    left: 0;
    top: 0;
    display: none;
}
.checkbox__label-text.circle::after {
    background-image: unset;
    background-color: var(--red);
    width: 10px;
    height: 10px;
    left: 4px;
    top: 4px;
    border-radius: 50px;
}
.checkbox:checked + .checkbox__label-text:after {
    display: block;
}
label {
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    color: #666666;
    margin-bottom: 10px;
    display: inline-block;
}
.form-group {
    margin-bottom: 10px;
}
.help-block.error {
    color: var(--red);
    font-size: 13px;
    margin: 5px 0;
}
.btn {
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    text-align: center;
    border-radius: 21px;
    outline: none;
    display: inline-block;
    text-decoration: none;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}
.btn svg {
    vertical-align: middle;
}
.btn.btn-lg {
    padding: 10px 16px;
}
.btn > div {
    display: flex;
    align-items: center;
}
.btn[disabled] {
    opacity: 0.8;
}
.btn.btn-block {display: block;}
.btn.btn-bold {font-weight: 600;} 
.btn.btn-round {
    border-radius: 50px;
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 0;
}
.btn.btn-round-lg {
    width: 48px;
    height: 48px;
    padding: 13px 0;
}
.btn.btn-red-light {
    padding: 11px 18px;
    color: var(--dark);
    background: white;
}
.btn.btn-red-light svg path  {
    fill: var(--red);
}
.btn.btn-red-light:hover,
.btn.btn-red-light.active,
.btn.btn-red-light.cbtn:hover,
.btn.btn-red-light.cbtn.active {
    background: var(--red);
    color: white;
    box-shadow: 0px 4px 6px rgba(255, 89, 89, 0.3);
    border-color: var(--red);
}
.btn.btn-red-light:hover svg path,
.btn.btn-red-light:active svg path,
.btn.cbtn.btn-red-light:hover svg path,
.btn.cbtn.btn-red-light:active svg path,
.btn.btn-red-light.active svg path {
    fill: white;
}
.btn.btn-red-light:active{
    background: var(--red-light);
    border-color: var(--red-light);
    box-shadow: none;
    color: white;
}
.btn.btn-red-light.cbtn {
    border: 2px solid #FF5959;
}

.btn.btn-red {
    color: white;
    background: var(--red);
}
.btn.btn-red svg path  {
    fill: white;
}

.btn.cbtn {
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    box-shadow: 0px 1px 0px rgba(199, 199, 199, 0.25);
}

.btn.btn-red.cbtn {
    border: 1px solid #F2F2F2;
    box-shadow: 0px 1px 0px rgba(199, 199, 199, 0.25);
    color: var(--dark);
    background-color: white;
}
.btn.btn-red.cbtn svg path  {
    fill: var(--red);
}
.btn.btn-red.cbtn:hover svg path,
.btn.btn-red.cbtn:active svg path  {
    fill: white;
}

.btn.btn-red:hover,
.btn.btn-red.cbtn:hover {
    background: var(--red);
    color: white;
    box-shadow: 0px 4px 6px rgba(255, 89, 89, 0.3);
    border-color: var(--red);
}
.btn.btn-red:active,
.btn.btn-red.cbtn:active{
    background: var(--red-light);
    border-color: var(--red-light);
    box-shadow: none;
    color: white;
}


.btn-green {
    color: white;
    background: var(--green);
    box-shadow: 0px 1px 0px rgba(199, 199, 199, 0.25);
}
.btn-green svg path  {
    fill: white;
}
.btn-green:hover {
    color: white;
    box-shadow: 0px 4px 6px rgba(184, 207, 105, 0.4);
}
.btn-green:active{
    background: var(--green-light);
    box-shadow: none;
    color: white;
    box-shadow: 0px 1px 0px rgba(199, 199, 199, 0.25);
}

.btn-gray {
    color: white;
    background: var(--gray);
}
.btn-gray svg path  {
    fill: white;
}
.btn-gray:hover,
.btn.cbtn:hover{
    color: white;
    box-shadow: 0px 4px 6px rgba(82, 173, 200, 0.3);
    background-color: var(--blue);
}
.btn-gray:active{
    background: var(--blue-light);
    box-shadow: none;
    color: white;
}
.btn.cbtn:hover svg{
    fill: white !important;
}
.btn-blue {
    color: white;
    background: var(--blue);
    box-shadow: 0px 1px 0px rgba(199, 199, 199, 0.25);
}
.btn-blue svg path  {
    fill: white;
}
.btn-blue:hover {
    color: white;
    box-shadow: 0px 4px 6px rgba(82, 173, 200, 0.4), 0px 1px 0px rgba(199, 199, 199, 0.25);
}
.btn-blue:active{
    background: var(--blue-light);
    color: white;
    box-shadow: 0px 1px 0px rgba(199, 199, 199, 0.25);
}

.btn-dark {
    color: var(--dark);
    background: var(--gray-light);
    box-shadow: 0px 1px 0px rgba(199, 199, 199, 0.25);
}
.btn-dark svg path  {
    fill: #999999;
}
.btn-dark:hover {
    color: white;
    box-shadow: 0px 1px 0px rgba(21, 28, 21, 0.25);
    background: var(--dark);
}
.btn-dark:hover  svg path,
.btn-dark:active  svg path {
    fill: white;
}
.btn-dark:active{
    background: var(--dark-light);
    color: white;
    box-shadow: 0px 1px 0px rgba(21, 28, 21, 0.25);
}
.btn-yellow {
    color: var(--dark);
    background: var(--yellow);
    box-shadow: 0px 1px 0px rgba(199, 199, 199, 0.25);
}
.btn-yellow svg path  {
    fill: white;
}
.btn-yellow:hover {
    box-shadow: 0px 4px 6px rgba(255, 199, 56, 0.4), 0px 1px 0px rgba(199, 199, 199, 0.25);
}
.btn-yellow:active{
    background: var(--yellow-light);
    box-shadow: 0px 1px 0px rgba(199, 199, 199, 0.25);
}
.btn.disabled,
.btn[disabled] {
    opacity: 0.8;
}
.btn.disabled.btn-gray:hover,
.btn[disabled].btn-gray:hover, 
.btn.disabled.btn-gray:active,
.btn[disabled].btn-gray:active {
    background-color: var(--gray);
    box-shadow: 0px 4px 6px rgb(173 173 173 / 30%);
}
.myHabits .btn.btn-red-light {
    border: 1px solid #E7E7E7;
}
.myHabits .btn.btn-red-light:hover,
.myHabits .btn.btn-red-light:active,
.myHabits .btn.btn-red-light.active {
    border-color: var(--red);
}

.header__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.header__top-mobile {
    display: none;
}

.header__top-left {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 10px;
}

.header__top-title {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-size: 26px;
    line-height: 31px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #FF5959;
}

.header__top-separator {
    display: flex;
    font-size: 26px;
    line-height: 31px;
    align-items: center;
    color: #F1F1F1;
}

.header__top-title-description {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 14px;
    display: flex;
    align-items: center;
    opacity: 0.5;
    max-width: 170px;
}

.header__top-right {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    gap: 10px;
}

.header__top-link {
    display: flex;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    display: flex;
    align-items: center;
    text-align: center;
    text-decoration-line: underline;
    color: #151C15;
}

.header__top-info {
    display: flex;
    height: 16px;
    width: 16px;
}


.header__title {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    color: #FF5959;
}

.header__title-description {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    display: flex;
    align-items: center;
    color: #151C15;
    opacity: 0.5;
}

.mr5 {margin-right: 5px}
.mr10 {margin-right: 10px}
.mr15 {margin-right: 15px}
.mr20 {margin-right: 20px}
.mr25 {margin-right: 25px}
.mr30 {margin-right: 30px}

.ml5 {margin-left: 5px}
.ml10 {margin-left: 10px}
.ml15 {margin-left: 15px}
.ml20 {margin-left: 20px}
.ml25 {margin-left: 25px}
.ml30 {margin-left: 30px}

.mt5 {margin-top: 5px}
.mt10 {margin-top: 10px}
.mt15 {margin-top: 15px}
.mt20 {margin-top: 20px}
.mt25 {margin-top: 25px}
.mt30 {margin-top: 30px}

.mb5 {margin-bottom: 5px}
.mb10 {margin-bottom: 10px}
.mb15 {margin-bottom: 15px}
.mb20 {margin-bottom: 20px}
.mb25 {margin-bottom: 25px}
.mb30 {margin-bottom: 30px}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert-danger {
    background-color: #ffe3e3;
    border-color: #FF5959;
    color: #e85252;
    font-size: 14px;
}
.alert-success {
    border: 1px solid var(--green);
    background-color: rgb(251 252 246);
    border-color: var(--green);
    color: #739400;
    font-size: 14px;
    font-weight: 500;
}

.alert.alert-info {
    background-color: aliceblue;
    border-color: var(--blue);
    color: #3e879c;
    font-size: 14px;
}
.alert-warning {
    background-color: #fff4e4;
    border-color: #ff9800;
    color: #cc7a00;
    font-size: 14px;
}
.alert h4 {
    font-weight: bold;
    margin: 0 0 10px 0;
}
.alert .close {
    float: right;
}
.alert p {
    margin: 5px 0;
}
.alert ul {
    padding-left: 20px;
}
.errorSummary {
    color: #f27474;
    font-weight: 500;
}
.errorSummary ul {
    list-style: inside;
    text-align: left;
    padding-left: 15px;
}
.hidden-input {
    border: 1px solid  transparent;
    max-width: 100%;
    display: inline-block;
    padding: 0;
    margin: 0;
}
.hidden-input:focus,
.hidden-input:active{
    border-bottom: 1px solid var(--blue);
    outline: none;
}
.hidden-input::placeholder{
    color: var(--gray);
}
.description-input {
    padding-left: 30px;
    background-image: url(../img/icon-descr-gray.svg);
    background-position: left 3px;
    background-repeat: no-repeat;
    width: 350px;
    padding-bottom: 10px;
}
.description-input:focus,
.hidden-input:active {
    background-image: url(../img/icon-descr-blue.svg);
}

/*BOOKMARK PANEL*/
#bookmark-panel {
    background: var(--blue);
    border-radius: 6px;
    height: 40px;
    color: white;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    text-decoration: none;
}
#bookmark-panel .info {
    display: flex;
    align-items: center;
}
#bookmark-panel .add,
#bookmark-panel .add:hover,
#bookmark-panel .add:focus,
#bookmark-panel .add:active {
    color: #fff;
    text-decoration: none;
}
#bookmark-panel .add span,
#bookmark-panel .later span {
    text-decoration-line: underline;
    font-size: 13px;
}


.main-wrapper {
    background: #F9F9F9;
    border: 1px solid #F9F9F9;
    box-sizing: border-box;
    border-radius: 20px;
    padding: 10px;
}

.timer-content {
    background: white;
    border-radius: 12px;
    padding: 25px 35px;
}
.timer-content .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timer-content .head .logo img {
    height: 43px;
}

.timer-content .head .auth a {
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
    text-decoration: none;
}
.timer-content .head .auth a span,
.login-btn span{
    text-decoration-line: underline;
}
.login-btn {
    padding: 11px 18px;
    color: var(--dark);
    background: white;
    border-radius: 21px;
    text-decoration: none;
}
.login-btn:hover,
.timer-content .head .auth .login-btn:hover{
    background: var(--red);
    color: white;
}
.login-btn svg path{
    fill: var(--red);
}
.login-btn:hover svg path{
    fill: white;
}
.timer-area {
    background: white;
    border: 1px solid #F1F1F1;
    border-radius: 29px;
    margin-top: 80px;
}
.timer-area .controls {
    position: relative;
    top: -22px;
    left: 15px;
    display: flex;
    align-items: flex-start;
}
.btn-forward {
    margin-right: 75px;
}
.timer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 50px;
    padding-right: 75px;
}
.time-btn {
    margin: 0px 2px 2px 2px;
}
#timer {
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-feature-settings: 'pnum' on, 'lnum' on;
    font-style: normal;
    font-weight: normal;
    font-size: 96px;
    list-style: none;
    margin: 40px 0;
}
.down #timer {
    color: #FF5959;
    text-shadow: 2px 2px 0px #FFCFCF;
}
.btn-play {
    margin-right: 10px;
}
.down .btn-play  {
    color: white;
    background: var(--red);
}
.btn-play svg path  {
    fill: white;
}
.down .btn-play:hover {
    background: var(--red);
    color: white;
    box-shadow: 0px 4px 6px rgba(255, 89, 89, 0.3);
}
.btn-play:active {
    box-shadow: none;
}
.down .btn-play:active{
    background: var(--red-light);
    border-color: var(--red-light);
}
.timer__start-controls {
    display: flex;
    align-items: center;
}
.forward #timer {
    color: #B8CF69;
    text-shadow: 2px 2px 0px #D8EE8B;
}
.forward .btn-play  {
    color: white;
    background: var(--green);
}

.forward .btn-play:hover {
    background: #b8cf69;
    color: white;
    box-shadow: 0px 4px 6px rgb(184 207 105 / 30%);
}

.forward .btn-play:active{
    background: var(--green-light);
    border-color: var(--green-light);
}
#timer .days_li {
    font-weight: 600;
    font-size: 32px;
    text-transform: lowercase;
    position: relative;
    bottom: -20px;
    padding-right: 5px;
}
.forward #timer .days_li {
    text-shadow: 1px 1px 0px #D8EE8B;
}
.down #timer .days_li {
    text-shadow: 1px 1px 0px #FFCFCF;
}
.description-wrap {
    text-align: center;
    margin-bottom: 30px;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    color: #A8A8A8;
}

.need-login {
    background: white;
    border: 1px dashed #F1F1F1;
    box-sizing: border-box;
    box-shadow: 0px 4px 12px rgb(0 0 0 / 5%);
    border-radius: 9px;
    padding: 18px 25px;
    position: absolute;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    max-width: 285px;
    top: 47px;
    right: -130px;
    z-index: 1;
    transform-style: preserve-3d;
    display: none;
}
.need-login:before {
    content: "";
    position: absolute;
    border: 10px solid transparent;
    border-bottom: 10px solid white;
    left: 20px;
    top: -20px;
}
.need-login:after {
    content: "";
    width: 14px;
    height: 14px;
    border: 1px dashed #F1F1F1;
    left: 23px;
    top: -8px;
    position: absolute;
    z-index: 1;
    transform: translateZ(-1px) rotate(45deg);
}
.need-login a{
    color: var(--red);
    text-decoration: underline;
}
.timer-progress {
    box-sizing: content-box;
    height: 3px;
    position: relative;
    margin: 10px 0 30px 0;
    background: #F5F5F5;
    border-radius: 12px;
}
.timer-progress > span {
  display: block;
  height: 100%;
  background-color: var(--red);
  position: relative;
  overflow: hidden;
  transition: width 0.5s;
}
.timer-progress[data-type=forward] > span {
    background-color: var(--green);
}
.timer-progressMarks {
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    display: flex;
    align-items: center;
    text-align: right;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #666666;
    justify-content: space-between;
    margin-top: 35px;
}

.timer__popup{
    background: white;
    border: 1px solid #F1F1F1;
    box-sizing: border-box;
    border-radius: 6px;
    padding-left: 56px;
    border-left: 4px solid transparent;
    position: absolute;
    width: 778px;
    z-index: 1;
    left: 70px;
    top: 50px;
    padding-right: 58px;
    padding-top: 25px;
    padding-bottom: 32px;
    background-repeat: no-repeat;
    background-size: 22px;
    background-position: 22px 26px;
    display: none;
}
.timer__popup.shown {
    display: block;
}
.timer__popup.new {
    box-shadow: -4px 0px 0px var(--blue), 0px 4px 12px rgba(0, 0, 0, 0.05);
    background-image: url(../img/icon-clock-yellow.svg);
}
.timer__popup.edit {
    /*border-left: 3px solid var(--yellow);*/
    box-shadow: -4px 0px 0px var(--yellow), 0px 4px 12px rgba(0, 0, 0, 0.05);
    background-image: url(../img/icon-settings-sm.svg);
}
.timer__popup .title {
    font-weight: 500;
    font-size: 18px;
    color: #151C15;
}
.timer__popup.new .title:before {
    content: "Новый таймер"
}
.timer__popup.edit .title:before {
    content: "Настройки таймера"
}
.timer__popup.current {
    width: 540px;
    width: 540px;
    right: 135px;
    left: auto;
}

.timer__popup .description input,
input[type="text"].timer__input-description{
    width: 100%;
    padding-left: 40px;
    background-repeat: no-repeat;
    background-position: 18px 13px;
    background-image: url(../img/icon-descr-gray.svg);
}

.timer__popup.confirm {
    box-shadow: -4px 0px 0px #FF5959, 0px 4px 12px rgba(0, 0, 0, 0.05);
    left: 50%;
    top: 50%;
    margin-top: -125px;
    margin-left: -330px;
    width: 660px;
    /*height: 250px;*/
    min-height: 250px;
    z-index: 8;
    position: fixed;
}

.timer__popup.confirm .title {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.timer__popup.confirm .title .day-info{
    font-size: 14px;
    display: flex;
    align-items: center;
}
.timer__popup.confirm .title .day-info *{
    vertical-align: middle;
}
.habit__popup {
    background: white;
    border: 1px solid #F1F1F1;
    box-sizing: border-box;
    border-radius: 6px;
    padding-left: 56px;
    border-left: 4px solid transparent;
    position: absolute;
    padding-right: 32px;
    padding-top: 25px;
    padding-bottom: 32px;
    background-repeat: no-repeat;
    background-size: 22px;
    background-position: 20px 24px;
    display: none;
    box-shadow: -4px 0px 0px #FF5959, 0px 4px 12px rgba(0, 0, 0, 0.05);
    left: 50%;
    top: 50%;
    margin-top: -205px;
    margin-left: -390px;
    width: 780px;
    min-height: 410px;
    z-index: 6;
    position: fixed;
    background-image: url(../img/habit/clock.svg);
}
.habit__popup .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.habit__popup .title {
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    color: var(--dark);
}
.habit__popup .info {
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    color: #666666;
}
.mOverlay__timer__popup,
.auth__popup-overlay,
.timer__popover-overlay {
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}
.mOverlay__timer__popup {
    opacity: 1;
}
.mOverlay__timer__popup {
    opacity: 1;
    z-index: 2;
    background-color: rgb(255 255 255 / 90%);
    display: none;
}
.auth__popup {
    background-color: #FFFFFF;
    background-image: url(../img/icon-auth.svg);
    background-repeat: no-repeat;
    background-position: 40px 40px;
    border: 10px solid #F5F5F5;
    position: fixed;
    width: 408px;
    right: -100%;
    top: 0;
    bottom: 0;
    padding: 34px 40px 40px 80px;
    z-index: -1;
    /*transition: all 0.4s;*/
    display: none;
}
.auth__popup.shown {
    display: block;
    /*right: 0;*/
    z-index: 6;
}
.auth__popup.shown + .auth__popup-overlay,
.popover-shown .timer__popover-overlay {
    display: block;
    opacity: 1;
    z-index: 5;
    transition: opacity 0.3s;
}
.auth__popup .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.auth__popup .title {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
}
.auth__popup .timer__input {
    width: 100%;
}
.auth__popup .policy-link {
    color: #666666;
    text-decoration: underline;
}
.auth__popup.login {
    padding-top: 45px;
    background-image: url(../img/icon-login.png);
}
.auth__popup.login .reg-btn {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    text-decoration-line: underline;
    color: var(--dark);
}
.auth__popup.login .recovery {
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    text-decoration-line: underline;
    color: #666666;
}
.auth__popup.login .header {
    margin-bottom: 35px;
}
.hello-wrap {
    display: flex;
    align-items: center;
}
.hello {
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    color: #999999;
}
.hello-wrap .username {
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    color: var(--dark);
}
.auth__popup.cabinet {
    background-image: unset;
    padding: 0;
}
.cabinet__header {
    border-bottom: 4px solid #F9F9F9;
    padding: 40px 40px 25px 40px;
    display: flex;
}
.cabinet__header .info{
    flex-grow: 1;
}
.cabinet__header .title{
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}
.cabinet__header .username{
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    color: var(--dark);
}
.cabinet__header .hideBtn {
    width: 46px;
    height: 46px;
    background-image: url(../img/icon-closeCabinet.svg);
    background-repeat: no-repeat;
}
.cabinet__menu .item {
    padding: 30px;
    border-bottom: 1px solid #F9F9F9;
    display: flex;
    align-items: center;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: var(--dark);
}
.cabinet__menu .item img.icon {
    margin-right: 20px;
}
.cabinet__menu .item.settings {
    justify-content: space-between;
}
.cabinet__menu .item.settings > div {
    display: flex;
    align-items: center;
}
.cabinet_logout-wrap {
    padding: 25px 30px;
}
.cabinet__menu .item.settings .toggler {
    width: 30px;
    height: 30px;
    background-image: url(../img/circle-contact.svg);
    background-repeat: no-repeat;
}

.cabinet__menu .item.settings.opened {
    margin: 5px 10px 0;
    height: 64px;
    padding: 14px 20px;
    background: #F5F5F5;
    box-shadow: 0px 4px 8px rgb(0 0 0 / 2%);
    border-radius: 8px 8px 0px 0px;
    border-bottom: none;
}
.cabinet__menu .item.settings.opened .toggler {
    background-image: url(../img/cabinet-iconClose.svg);
}
.cabinet .profileSettings {
    background: #FFFFFF;
    border: 1px solid #F1F1F1;
    box-sizing: border-box;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 0px 0px 9px 9px;
    margin: 0 10px;
    display: none;
}
.cabinet .profileSettings .row {
    border-bottom: 2px solid #F9F9F9;
    margin: 18px;
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}
.cabinet .profileSettings .field {
    flex-grow: 1;
}
.cabinet .profileSettings label {
    color: #999999;
}
.profileBtn {
    background: #FFFFFF;
    border: 1px solid #E7E7E7;
    box-sizing: border-box;
    box-shadow: 0px 1px 0px rgba(199, 199, 199, 0.25);
    border-radius: 20px;
    background-image: url(../img/cabinet-iconPencil.svg);
    background-repeat: no-repeat;
    background-position: 85% center;
    padding: 8px 18px;
    padding-right: 40px;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    color: #000000;
}
.cabinet .profileSettings .field .value {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: var(--dark);
}
.cabinet .profileSettings .passLink {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    color: #58BCDA;
    margin: 0px 0px 20px 20px;
    display: inline-block;
}

.btn-play[state="stopped"] .icon-stop {
    display: none;
}
.btn-play[state="started"] .icon-start {
    display: none;
}
.btn-play .icon-start {
    position: relative;
    left: 1px;
}
#timer li .hours,
#timer li .minutes,
#timer li .seconds {width: 136px; display: inline-block;}

.timer__deleteBtn {
    width: 24px;
    height: 24px;
    background-image: url(../img/delete.svg);
    background-repeat: no-repeat;
    position: absolute;
    right: 5px;
    top: 4px;
    outline: none;
    border: none;
    border-radius: 50%;
    display: none;
}
.timer__newBtn,
.timer__editCloseBtn {
    display: none;
}
.controls.edited .timer__deleteBtn {
    display: block;
}
.controls.edited .timer__newBtn,
.controls.edited .timer__editCloseBtn {
    display: inline-block;
}
.controls.edited .timer__editBtn {
    display: none;
}
.controls .timer__editBtn {
    vertical-align: top;
}

.flagIcon {
    width: 22px;
    height: 22px;
    background-image: url(../img/habit/flag.svg);
    background-repeat: no-repeat;
    background-position: left center;
    display: inline-block;
}
.flagIcon-finished {
    width: 22px;
    height: 22px;
    background-image: url(../img/habit/flag2.svg);
    background-repeat: no-repeat;
    display: inline-block;
}
.flagIcon-finished.big {
    width: 33px;
    height: 33px;
    background-image: url(../img/flag_33.png);
}
.warnIcon {
    width: 12px;
    height: 10px;
    background-image: url(../img/warn.png);
    background-repeat: no-repeat;
    display: inline-block;
}
.confirmedIcon {
    width: 12px;
    height: 12px;
    background-image: url(../img/confirmed.png);
    background-repeat: no-repeat;
    display: inline-block;
}
.calendarIcon {
    width: 14px;
    height: 14px;
    background-image: url(../img/calendar.png);
    background-repeat: no-repeat;
    display: inline-block;
}
.checkIcon.gray {
    width: 16px;
    height: 16px;
    background-image: url(../img/check-gray.svg);
    background-repeat: no-repeat;
    display: inline-block;

}
.diaryIcon {
    width: 16px;
    height: 18px;
    background-image: url(../img/habit/diary.svg);
    background-repeat: no-repeat;
    background-position: left center;
    display: inline-block;
}
.rocketIcon {
    width: 20px;
    height: 20px;
    background-image: url(../img/rocket.png);
    background-repeat: no-repeat;
    display: inline-block;
}
.subtractIcon {
    width: 8px;
    height: 5px;
    background-image: url(../img/subtract.png);
    background-repeat: no-repeat;
    background-position: left center;
    display: inline-block;
}
.settingIcon {
    width: 16px;
    height: 15px;
    background-image: url(../img/settings-bars.png);
    background-repeat: no-repeat;
    display: inline-block;
}
.bellIcon.blue {
    width: 24px;
    height: 15px;
    background-image: url(../img/bell_b.png);
    background-repeat: no-repeat;
    background-position: left center;
    display: inline-block;
}

#habitsShort {
    list-style: none;
    margin-top: 10px;
    padding-left: 0;
}
#habitsShort li.smHabit-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    background-image: url(../img/habit/listItem.svg);
    background-repeat: no-repeat;
    padding: 15px 20px 15px 70px;
    background-position: 24px center;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
#habitsShort li .name {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
    width: 30%;
}
#habitsShort li .time {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    min-width: 272px;
}
#habitsShort li .warn {
    color: var(--red);
    font-style: normal;
    font-weight: 500;
    font-size: 11px;
}
#habitsShort li .status {
    font-size: 13px;
    color: #C4C4C4;
    display: flex;
    align-items: center;
    min-width: 135px;
}
#habitsShort li.done .status {
    color: #fff;
}
#habitsShort li.done .time {
    font-size: 19px;
}
#habitsShort li .progress .days {
    font-weight: 600;
    font-size: 12px;
    color: #666666;
    margin-bottom: 5px;
}
#habitsShort li .timer-progress {
    margin-bottom: 0;
}

.timer__popover {
    position: fixed;
    width: 520px;
    height: 200px;
    
    left: 50%;
    top: 50%;
    margin-top: -100px;
    margin-left: -255px;
    display: flex;
    align-items: flex-start;

    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.05);
    border-radius: 12px;

    border-left: 5px solid transparent;
    background-color: white;
    padding: 32px 70px 32px 32px;
    z-index: 6;
}
.timer__popover img {
    max-height: 100%;
}
.timer__popover.danger {
    border-color: var(--red);
}
.timer__popover.warning {
    border-color: var(--yellow);
    padding-right: 32px;
}
.timer__popover.warning .btn-wrap {
    text-align: right;
}
.timer__popover.warning .close {
    display: none;
}
.timer__popover .title {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    color: var(--dark);
}
.timer__popover .warn {
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
}
.timer__popover .close,
#policy .close {
    width: 16px;
    height: 16px;
    background-image: url(../img/popover-close.svg);
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    outline: none;
    box-shadow: none;
    position: absolute;
    right: 30px;
    top: 30px;
    background-color: transparent;
}
.timer__popover .quote {
    font-style: italic;
    font-weight: 500;
    font-size: 18px;
    color: #151C15;
}
.timer__popover .author {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.timer__settings-main {
    display: flex;
    align-items: center;
    margin-top: 12px;
    margin-bottom: 20px;
}
.timer__settings-other {
    display: flex;
    align-items: center;
}
.timer__settings-main .time, .timer__settings-main .description {flex-grow: 1}

.timer__settings-other .action,
.timer__settings-main .time {
    display: flex;
    max-width: 324px;
    margin-right: 16px;
}

.timer__settings-other .action {
    flex-direction: column;
    flex-grow: 1;
    width: 324px;
}
.timer__settings-other .sound {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.timer__settings-other .sound select {
    width: 100%;
    margin-right: 10px;
}
.timer__settings-other .sound > .grow1 {
    flex-grow: 1;
}
.timer__input-wrap input.timer__input-time {
    padding-right: 4px;
    padding-left: 10px;
    padding-bottom: 8px;
    width: 96px;
    background: transparent;
    /*padding-right: 56px;*/
}
.timer__input-wrap:after {
    position: absolute;
    right: 22px;
    bottom: 9px;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #666666;
    z-index: -1;
}
.timer__input-wrap.hours:after {
    content: "часов";
}
.timer__input-wrap.minutes:after {
    content: "минут";
}
.timer__input-wrap.seconds:after {
    content: "секунд";
}
.timer__settings-main .time .divider {
    display: flex;
    align-items: center;
    margin: 0 8px;
}
.timer__input-wrap input {
    font-size: 18px;
    color: var(--dark);
    padding-left: 15px;
}
.timer__popup .btn.control {height: 32px;padding: 6px 18px;}
.timer__popup .btn-round {height: 32px; width: 32px;}

input[type=range] {
    -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
    width: 100%; /* Specific width is required for Firefox. */
    background: transparent; /* Otherwise white in Chrome */
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-ms-track {
    width: 100%;
    cursor: pointer;
    background: transparent; 
    border-color: transparent;
    color: transparent;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 36px;
    background: #FFFFFF;
    border: 2px solid var(--blue);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 11px;
    cursor: pointer;
    left: 0;
}
input[type=range]::-moz-range-thumb {
    width: 18px;
    height: 36px;
    background: #FFFFFF;
    border: 2px solid var(--blue);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 11px;
    cursor: pointer;
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
    width: 18px;
    height: 36px;
    background: #FFFFFF;
    border: 2px solid var(--blue);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 11px;
    cursor: pointer;
}

input[type=range].thin::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
}
input[type=range].thin::-moz-range-thumb {
    width: 18px;
    height: 18px;
}
input[type=range].thin::-ms-thumb {
    width: 18px;
    height: 18px;
}

.triangle-range-background-slider {
    position: relative;
    display: block;
    margin-top: -38px;
    height: 36px;
    background: url(../img/range-bg2.png);
    background-size: cover;
    z-index: 2;
    background-repeat: no-repeat;
}
.triangle-range-background-slider.thin {
    background: url(../img/range-bg3.png);
    height: 8px;
    margin-top: -10px;
}
.triangle-range-background-fill,
.triangle-range-background-gray {
    position: relative;
    display: block;
    max-width: 128px;
    margin-top: -36px;
    height: 36px;
    border-radius: 3px;
    background: #80D3EC;
    background-size: contain;
    z-index: 1;
    background-repeat: no-repeat;
    width: 100%;
}
.triangle-range-background-fill.thin,
.triangle-range-background-gray.thin {
    margin-top: -8px;
    height: 8px;
    max-width: 217px;
}
input[type=range] {
  position: relative;
  z-index: 3;
}

#myHabits-list {
    border-bottom: 8px solid #f9f9f9;
    padding-bottom: 25px;
    margin: 0px -35px;
    padding: 0 35px 25px 35px;
    display: none;
}
.myHabit-item {
    background: #FFFFFF;
    border: 1px solid #F1F1F1;
    padding: 30px 35px;
    border-radius: 29px;
    margin: 15px 0;
}
.myHabit-item .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.myHabit-item .title {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    color: var(--dark);
    max-width: 480px;
}
.myHabit-item .rule {
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    color: #666666;
}
.myHabit-item .time {
    font-style: normal;
    font-weight: 500;
    font-size: 30px;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
}
.myHabit-item .congratulation {
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
}
.habitChecklist .week {
    background: #FFFFFF;
    border: 1px solid #F1F1F1;
    border-radius: 4px;
    padding: 5px 6px 5px 3px;
    display: flex;
    width: max-content;
    margin-right: 4px;
}
.habitChecklist {
    margin-top: 20px;
    display: flex;
}
.habitChecklist .week .check {
    width: 14px;
    height: 14px;
    background: #F5F5F5;
    margin-left: 3px;
    border-radius: 4px;
    border: 1px solid #F5F5F5;
    background-repeat: no-repeat;
    background-position: center;
}
.habitChecklist .week .check.current {
    background-image: url(../img/habit/ckeck-current.png);
    border-color: var(--red);
}
.habitChecklist .week:nth-of-type(2)  .check.current {
    background-image: url(../img/habit/ckeck-current-2.png);
    border-color: #74BAFB;
}
.habitChecklist .week:nth-of-type(3)  .check.current {
    background-image: url(../img/habit/ckeck-current-3.png);
    border-color: #FFC738;
}
.habitChecklist .week:nth-of-type(4)  .check.current {
    background-image: url(../img/habit/ckeck-current-4.png);
    border-color: #58BCDA;
}
.habitChecklist .week:nth-of-type(5)  .check.current {
    background-image: url(../img/habit/ckeck-current-5.png);
    border-color: #C480F9;
}
.habitChecklist .week:nth-of-type(6)  .check.current {
    background-image: url(../img/habit/ckeck-current-6.png);
    border-color: #06CE9E;
}
.habitChecklist .week:nth-of-type(7)  .check.current {
    background-image: url(../img/habit/ckeck-current-7.png);
    border-color: #FF9559;
}
.habitChecklist .week:nth-of-type(2) .check.done {
    background-color:  #74BAFB;
    border-color:  #74BAFB;
}
.habitChecklist .week:nth-of-type(3) .check.done {
    background-color:  #FFC738;
    border-color:  #FFC738;
}
.habitChecklist .week:nth-of-type(4) .check.done {
    background-color:  #58BCDA;
    border-color:  #58BCDA;
}
.habitChecklist .week:nth-of-type(5) .check.done {
    background-color:  #C480F9;
    border-color:  #C480F9;
}
.habitChecklist .week:nth-of-type(6) .check.done {
    background-color:  #06CE9E;
    border-color:  #06CE9E;
}
.habitChecklist .week:nth-of-type(7) .check.done {
    background-color:  #FF9559;
    border-color:  #FF9559;
}
.habitChecklist .week .check.done {
    background-color: var(--red);
    background-image: url(../img/check-w.png);
    border-color: var(--red);
}
.habitChecklist .week .check.failed {
    background-color: var(--red);
    background-image: url(../img/icon-timesW.svg);
    background-size: 8px;
    border-color: var(--red);
}
.habitChecklist .week:nth-of-type(2)  .check.failed {
    background-color: #74BAFB;
    border-color: #74BAFB;
}
.habitChecklist .week:nth-of-type(3)  .check.failed {
    background-color: #FFC738;
    border-color: #FFC738;
}
.habitChecklist .week:nth-of-type(4)  .check.failed {
    background-color: #58BCDA;
    border-color: #58BCDA;
}
.habitChecklist .week:nth-of-type(5)  .check.failed {
    background-color: #C480F9;
    border-color: #C480F9;
}
.habitChecklist .week:nth-of-type(6)  .check.failed {
    background-color: #06CE9E;
    border-color: #06CE9E;
}
.habitChecklist .week:nth-of-type(7)  .check.failed {
    background-color: #FF9559;
    border-color: #FF9559;
}

.myHabit-item .info {
    margin: 15px 0 20px 0;
    display: flex;
    justify-content: space-between;

    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    color: #666666;
}
.myHabit-item .info > div,
.myHabit-item .control > div{
    width: 33%;
}
.myHabit-item .control {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.myHabit-item .control .day {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: var(--dark);
}
.myHabit-item .control .day span {
    vertical-align: text-top;
}
.habitChecklist .week.done{position: relative; min-width: 112px;height: 26px;}
.habitChecklist .week.done:before {
    border-radius: 4px;
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 0;
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.habitChecklist .week.done:nth-of-type(1):before {
    background-color: var(--red);
    content: "1-я неделя ✓";
}
.habitChecklist .week.done:nth-of-type(2):before {
    background-color: #74BAFB;
    content: "2-я неделя ✓";
}
.habitChecklist .week.done:nth-of-type(3):before {
    background-color: #FFC738;
    content: "3-я неделя ✓";
}
.habitChecklist .week.done:nth-of-type(4):before {
    background-color: #58BCDA;
    content: "4-я неделя ✓";
}
.habitChecklist .week.done:nth-of-type(5):before {
    background-color: #C480F9;
    content: "5-я неделя ✓";
}
.habitChecklist .week.done:nth-of-type(6):before {
    background-color: #06CE9E;
    content: "6-я неделя ✓";
}
.habitChecklist .week.done:nth-of-type(7):before {
    background-color: #FF9559;
    content: "";
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/flag-w.png);
}

.myHabit-item .status > div{
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    color: #C4C4C4;
    line-height: 28px;
}
.diary,
.fullScreen__popup {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    min-height: 100vh;
    bottom: 0;
    background-color: white;
}
.diary {
    z-index: 7;
}
.diary__content,
.fullScreen__popup .content{
    max-width: 1010px;
    margin: 0 auto;
    border: 1px solid #F1F1F1;
    height: 100%;
}
.diary__content .popup_head,
.fullScreen__popup .popup_head{
    box-sizing: border-box;
    box-shadow: 0px 2px 0px rgba(199, 199, 199, 0.25);
    padding: 15px 25px;

    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    color: var(--dark);

    display: flex;
    align-items: center;
    justify-content: space-between;
}
.diary__content .popup_head  .name,
.fullScreen__popup .popup_head  .name {
    display: flex;
    align-items: center;
}
.diary__content .habitName {
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 38px;
    color: var(--dark);
    border-bottom: 1px solid #F9F9F9;
    margin: 0 25px;
    padding: 25px 0;
    display: flex;
    align-items: center;
}
.diary__content .history,
.fullScreen__popup .history {
    margin: 0 25px;
}
.diary__content .history .item{
    padding: 10px 3px;
    border-bottom: 1px solid #F9F9F9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.diary__content .history .day{
    width: 54px;
    height: 57px;
    background-repeat: no-repeat;

    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 1;
    color: var(--dark);
    text-align: center;
    padding-top: 12px;

    position: relative;
}
.diary__content .history .confirmed .day{
    background-image: url('../img/habit/histDay-bgGreen.png');
    
}
.diary__content .history .failed .day{
    background-image: url('../img/habit/histDay-bgRed.png');
    
}
.diary__content .history .wait .day{
    background-image: url('../img/habit/histDay-bgBlue.png');
    
}
.diary__content .history .day:after{
    content: "день";
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    position: absolute;
    left: 14px;
    bottom: 8px;
}
.diary__content .history .date {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    color: var(--red);
    margin-bottom: 5px;
}
.diary__content .history .status {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
}
.diary__content .history .confirmed .status {
    color: #9AB14B;
}
.diary__content .history .failed .status {
    color: var(--red);
}
.diary__content .history .wait .status {
    color: var(--blue);
}
.diary__content .history .info {
    width: 100px;
    margin: 0 15px;
}
.diary__content .history .description {
    width: calc(100% - 200px);
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: var(--dark);
}
.diary__content .history .big {
    font-weight: bold;
    font-size: 20px;
    line-height: 18px;
}
.btn.download svg {
    fill: var(--blue);
}

.archive .history .habits {
    background: #F9F9F9;
    border: 1px solid #F9F9F9;
    border-radius: 20px;
    padding: 10px;
    margin-top: 25px;
}
.archive .habits .item {
    background-color: #FFFFFF;
    border-radius: 12px;
    background-image: url(../img/habit/listItem.svg);
    background-repeat: no-repeat;
    padding: 15px 20px 15px 70px;
    background-position: 24px center;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.archive .habits .item .name {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: var(--dark);
    width: 300px;
    max-width: 300px;
}
.archive .habits .item .time {
    display: flex;
    align-items: center;

    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    color: var(--dark);
}
.archive  .myHabit-item .time{
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    color: var(--dark);
}
.archive .myHabit-item {
    border-radius: 12px;
    border-color: white;
    margin-top: 8px;
}
.archive .myHabit-item {
    padding-right: 137px;
}
.archive  .habitDetails-close{
    width: 46px;
    height: 46px;
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
    background-image: url(../img/habit/habitClose-archive.png);

}
.archive .myHabit-item .control  div.status {
    padding-left: 110px;
}
.archive .habitDetails {
    display: none;
}
.planner__list {
    margin: 25px;
}
.planner__habits{
    background: #F9F9F9;
    border: 1px solid #F9F9F9;
    border-radius: 20px;
    padding: 10px;
    margin-top: 25px;
}
.planner__habits .item {
    background-color: #FFFFFF;
    border-radius: 12px;
    background-image: url(../img/habit/plannerItem.png);
    background-repeat: no-repeat;
    padding: 9px 0px 9px 0px;
    background-position: 24px center;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.planner__habits .item:last-child {
    margin-bottom: 0
}
.planner__habits .item .left-side {
    width: 520px;
    border-right: 2px solid #F9F9F9;
    padding: 6px;
    padding-left: 70px;
}
.planner__habits .item .center-side,
.planner__habits .item .right-side {
    width: 232px;
    border-right: 2px solid #F9F9F9;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    color: var(--dark);
}
.planner__habits .item .center-side {
    width: 242px;
}
.planner__habits .item .name {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: var(--dark);
}
.planner__habits .item .sm {
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    color: #999999;
}
.planner__habits .item .control {
    display: flex;
    align-items: center;
    width: 68px;
    justify-content: center;
}

.habit__popup .row2,
.habit__popup .row3 {
    display: flex;
}
.habit__popup .row2 .field {
    flex-grow: 1; width: 50%;
}
.habit__popup .row3 .field {
    flex-grow: 1; width: 33%;
}
.habit__popup .row3 .field.sound {
    display: flex;
    align-items: center;
}
.habit__popup .row3 .field.sound button {
    width: 22px;
    height: 22px;
}
.habit__popup .row3 .field.sound button svg {
    width: 7px;
}
.habit__popup .row3 .field.sound .select {
    flex-grow: 1;
}
.habit__popup .checkbox__label-text {
    margin-bottom: 8px;
}

/*TOOLTIPS*/
.tooltip,
[role="tooltip"] {
    position: absolute;
    z-index: 1030;
    display: block;
    visibility: visible;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0;
    filter: alpha(opacity=0);
}
[role="tooltip"]  {
    filter: none;
    opacity: 1;
    position: relative;
}
.tooltip.in {
    opacity: 1;
}
[role="tooltip"]:before {
    content: "";
}
.tooltip-arrow,
[role="tooltip"]:before  {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}
.tooltip.top .tooltip-arrow {
    bottom: -4px;
    left: 50%;
    margin-left: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #fff;
    transform: rotate(180deg);
}
.tooltip-inner,
body .ui-widget.ui-widget-content {
    background: #FFFFFF;
    border: 1px dashed #e7e7e7;
    box-sizing: border-box;
    box-shadow: 0px 4px 12px rgb(0 0 0 / 5%);
    border-radius: 9px;
    max-width: max-content;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    padding: 14px;
}
.ui-widget-shadow {
    box-shadow: 0px 4px 12px rgb(0 0 0 / 5%);
    -webkit-box-shadow: 0px 4px 12px rgb(0 0 0 / 5%);
}
#policy {
    position: fixed;
    top: 10vh;
    bottom: 10vh;
    right: 10vw;
    left: 10vw;
    background-color: #fff;
    border-radius: 6px;
    padding: 40px 20px 40px 40px;
    box-shadow: 0px 4px 12px rgb(0 0 0 / 5%), -4px 0px 0px #52adc8, 0px 4px 12px rgb(0 0 0 / 5%);
    z-index: 6;

}
#policy .policy__content {
    height: 90%;
    overflow-y: auto;
    padding-right: 10px;
}
#policy .policy__content::-webkit-scrollbar,
#policy .policy__content::-webkit-scrollbar-track,
#policy .policy__content::-webkit-resizer,
#policy .policy__content::-webkit-scrollbar{
    background-color: transparent;
    width: 6px;
}

#policy .policy__content::-webkit-scrollbar-thumb,
#policy .policy__content::-webkit-scrollbar-thumb,
#policy .policy__content::-webkit-scrollbar-thumb{
    background-color: var(--blue);
    border-radius: 20px;
}
#policy .policy__header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.countdown {
    list-style: none;
    display: flex;
    padding-left: 0;
    margin-block: 0;
}
.mailto {
    display: flex;
    align-items: center;
}
.loading:before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #ffffffb8;
    background-image: url(../img/loader.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px;
}
.help-block {
    color: #a7a7a7;
    font-size: 12px;
    font-style: italic;
}

.profile-row input[type="text"].timer__input,
.profile-row .accept{
    display: none;
}
.profile-row.editable input[type="text"].timer__input,
.profile-row.editable .accept{
    display: block;
}
.profile-row.editable .value,
.profile-row.editable .profileBtn.edit {
    display: none;
}
.cabinet .profileSettings .row.editable {
    align-items: flex-end;
}
.profile-row.editable .field {
    padding-right: 8px;
}
.habit__popup.pass {
    min-height: 260px;
    margin-top: -130px;
    box-shadow: -4px 0px 0px var(--blue), 0px 4px 12px rgb(0 0 0 / 5%);
    background-image: unset;
}
.passRecoveryForm {
    width: 60%;
    margin: 0 auto;
}

/*---------------------------------------------------------------------------------------------------------------*/

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.col-sm-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}
.col-sm-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}
.col-sm-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}
.col-sm-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}
.col-sm-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}
.col-sm-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
.col-sm-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}
.col-sm-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}
.col-sm-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
}
.col-sm-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}
.col-sm-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}
.col-sm-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
/*---------------------------------------------------------------------------------------------------------------*/

.selectOther__timer {
    display: none;
}
.myHabit-item .info .percent {
    text-align: center;
}
.habit__popup .checkbox__label-text {
    display: flex;
    align-items: center;
    height: 18px;
    margin-bottom: 0;
}
.habit__popup .soundWrapper {
    width: 217px; float: right;
}

#timer__deleteСonfirm {
    width: 302px;
    height: 146px;
    background: #FFFFFF;
    border: 1px solid #F1F1F1;
    box-sizing: border-box;
    border-radius: 6px;
    padding: 30px;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    color: #151C15;
    text-align: center;
    position: absolute;
    left: 50%;
    margin-left: -152px;
    z-index: 3;
    display: none;
}
#timer__deleteСonfirm button {
    width: 106px;
    height: 48px;
    border-radius: 50px;
}
#timer__deleteСonfirm p {
    margin-top: 0;
}
#timer__deleteСonfirm span {
    color: var(--red);
    font-weight: 600;
}
.date_name_row {
    display:  flex;
}
.date_name_row .field:nth-child(1){
    flex-grow: 1
}
.start__inputsWrap form {
    display: flex;
    align-items: center;
}
.planner__habits .remindSelect {
    background: #FFFFFF;
    border: 1px solid #F1F1F1;
    box-sizing: border-box;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 9px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 160px;
    position: absolute;
    top: 0;
    left: -12px;
    display: none;
}
.planner__habits .remindSelect li{
    padding: 8px 15px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 500;
    cursor: pointer;
}
.planner__habits .remindSelect li.selected {
    background-image: url(../img/check-blue.png);
    background-repeat: no-repeat;
    background-position: 90% center;
}
.timersWrapper {
    display: inline-block;
    max-width: 460px;
}
[data-notify] button.close {
    background: transparent;
    border: none;
}
#confirm__alert-wrap .alert {
    margin-top: 10px;
}

/*||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||| MOBILE |||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*/
@media screen and (max-width:1024px) {
    #timer li .hours, #timer li .minutes, #timer li .seconds {
        width: 94px;
        display: inline-block;
    }
    #timer {
        font-size: 66px;
    }
    #habitsShort li .time {
        min-width: 215px;
    }
    .habitChecklist .week {
        margin-right: 2px;
    }
    .habitChecklist .week .check {
        width: 9px;
        height: 9px;
        margin-left: 1px;
    }
    .myHabit-item {
        padding: 30px 20px;
    }
    .btn-forward {
        margin-right: 50px;
        padding: 8px 12px;
        width: 175px;
    }
    .timer__popup.current {
        right: 32px;
    }
    .timer__popup.new {z-index: 4;}
    .timer__popup {
        width: 700px;
        left: -60px;
        top: -100px;
    }
    .triangle-range-background-slider {
        background-size: cover;
    }
    .habit__popup {
        width: 700px;
        width: 700px;
        margin-left: -350px;
    }
    .btn > div {
        display: inline-flex;
    }
}

@media screen and (max-width:767px) {
    #bookmark-panel {display: none;}
    body {
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }
    .main-wrapper {
        border: none;
        border-radius: 0;
        padding: 0;
    }
    .timer-content {
        background: #F9F9F9;
        padding: 0;
    }
    .timer-content .head {
        display: grid;
        grid-template-areas: "logo btn";
        background-color: #fff;
    }
    .timer-content .head.authenticated {
        grid-template-areas:
            "logo auth"
            "btn btn";
    }
    .timer-content .head .logo{
        grid-area: logo;
        padding: 8px;
    }
    .timer-content .head .myHabits {
        grid-area: btn;
        background-color: #fff;
        padding: 0px 10px;
    }
    .timer-content .head.authenticated .myHabits {
        background-color: #f9f9f9;
    }
    .timer-content .head .auth{
        grid-area: auth;
        text-align: right;
        padding-right: 8px;
    }
    .hello {display: none;}
    .hello-wrap > span {
        margin-right: 7px;
    }
    .myHabits  button{
        border: 1px solid #E7E7E7;
        border-radius: 6px;
    }

    .header__top {
        flex-direction: row;
        margin: 0px 10px;
    }

    .header__top-mobile {
        display: flex;
    }

    .header__title-center {
        display: none;
    }

    .header__top-separator {
        display: none;
    }

    .header__top-link {
        display: none;
    }

    .header__top-info {
        height: 24px;
        width: 24px;
    }

    .header__top-left {
        flex-direction: column;
        width: 80%;
        gap: 0px;
    }

    .header__top-title {
        width: 100%;
    }

    .header__top-title-description {
        width: 100%;
        max-width: 100%;
    }

    .timer-content .head.authenticated .myHabits  button{
        width: 100%;
        margin-top: 7px;
    }
    .timer-content .head:not(.authenticated) .auth {
        display: none;
    }
    .myHabits.relative {position: unset;}
    .need-login {
        left: 0;
        right: 0;
        max-width: 100%;
        font-size: 18px;
        line-height: 21px;
        text-align: center;
        padding: 20px 45px;
        top: 64px;
    }
    .need-login:before {
        right: 20px;
        left: auto;
    }
    footer {
        display: block;
        text-align: center;
    }
    footer > div,
    footer > a {
        height: 30px;
    }
    footer .mailto {
        display: inline-flex;
    }
    #timer {
        font-size: 62px;
        grid-area: timer;
        padding-left: 0;
        margin: 15px 0;
    }
    .timer-wrap {
        display: grid;
        grid-template-areas:
            "timer timer"
            "controls controls_set"
            "timer_description timer_description";
        padding-left: 0;
        padding-right: 0;
        align-items: center;
        justify-content: center;
    }
    .timer-settings {
        grid-area: controls_set;
    }
    .description-wrap {
        grid-area: timer_description;
        margin-top: 15px;
        max-width: 80%;
        margin: 15px auto;
    }

    #timer li .hours, #timer li .minutes, #timer li .seconds {
        width: auto;
        display: inline-block;
    }
    .timer__start-controls {
        grid-area: controls;
        text-align: right;
        display: block;
        padding-right: 15px;
    }
    .auth__popup {
        position: absolute;
        width: 100%;
        padding: 34px 25px 40px 25px;
        bottom: unset;
        min-height: 400px;
        background-position: 25px 40px;
    }
    .auth__popup.login {
        min-height: 400px;
    }
    .auth__popup .header {
        margin-bottom: 15px;
        padding-left: 36px;
    }
    .auth__popup .btnWrap {
        text-align: center;
    }
    .auth__popup #login-form-submit{
        width: 223px;
        height: 48px;
        border-radius: 50px;
        font-size: 14px;
    }
    .auth__popup #registration-form-submit {
        width: 226px;
        height: 48px;
    }
    .auth__popup .js-authHide{
        margin-top: 20px;
        width: 102px;
    }
    .auth__popup .recoveryWrap,
    .auth__popup .reg_policyWrap {
        text-align: center;
    }
    .reg_policyWrap label {
        width: 192px;
        text-align: left;
    }
    .timer__popover.motivation {
        width: 300px;
        margin-left: -150px;
        position: absolute;
        min-height: 176px;
        top: 30%;
    }
    .timer__popover.motivation img {
        position: absolute;
        max-width: 70px;
        right: -12px;
        bottom: 10px;
    }
    .timer__popover.motivation .quote {
        font-family: Raleway;
        font-style: italic;
        font-weight: 300;
        font-size: 13px;
        line-height: 19px;
    }
    .timer__popover.motivation .author {
        margin-top: 5px;
    }
    .timer__popover.motivation .btn-wrap {
        text-align: left;
        padding-top: 10px;
    }
    .auth__popup.cabinet .js-authHide {
        margin-top: 0;
        width: 46px;
        height: 47px;
    }
    .cabinet__header {padding: 26px 25px 16px 25px;}
    .habit__popup.pass {
        display: block;
        position: absolute;
        top: 25%;
        width: 90%;
        left: 5%;
        margin: 0;
        padding: 20px;
    }
    #profile-password-form br{display: none;}
    .habit__popup.pass .title {margin-bottom: 10px;}
    .habit__popup.pass .form-row:last-child {padding-top: 15px !important;}
    .js_profile-accept span {
        display: none;
        margin-bottom: 3px;
    }
    .selectOther__timer {
        margin: 20px 0;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        position: relative;
    }
    .timer-area .controls > .btn,
    .timer-area .controls > button { 
        display: none;
    }

    #selectOther__timerPopup {
        background: #FFFFFF;
        border: 1px solid #F1F1F1;
        box-sizing: border-box;
        border-radius: 6px;
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: -20px;
        z-index: 2;
    }
    #selectOther__timerPopup .header{
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        position: relative;
        margin: 15px 0;
    }
    #selectOther__timerPopup .variants {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #selectOther__timerPopup .variants .btn,
    #selectOther__timerPopup .variants button{margin: 0 6px;}
    #selectOther__timerPopup .btn-forward {margin-right: 0;}
    #selectOther__timerPopup .btns {margin: 28px 10px;}
    #selectOther__timerPopup.edited .timer__deleteBtn {display: block;}
    #selectOther__timerPopup.edited .timer__newBtn,
    #selectOther__timerPopup.edited .timer__editCloseBtn {display: inline-block;}
    #selectOther__timerPopup.edited .timer__editBtn {display: none;}
    #habitsShort li.smHabit-item {
        display: block;
        text-align: center;
        background-image: unset;
        padding: 20px;
        border: 1px solid #F1F1F1;
        border-radius: 6px;
    }
    #habitsShort li .name {
        width: 100%;
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
        line-height: 16px;
    }
    #habitsShort li .time {
        margin: 15px auto;
        min-width: auto;
        display: inline-flex;
    }
    #habitsShort li .status {
        display: block;
    }
    #habitsShort li .status button{
        display: block;
        max-width: 260px;
        width: 100%;
        margin: 0 auto;
    }
    #habitsShort li .progress {
        margin-top: 10px;
        text-align: center;
    }
    #habitsShort li .warn {
        font-size: 10px;
    }
    #habitsShort li .warnIcon {vertical-align: text-bottom;}
    .timer-area {
        margin: 40px 10px 15px 10px;
        border-radius: 6px;
    }
    .timer-progress,
    .timer-progressMarks {
        margin: 15px 10px;
    }
    #habitsShort {
        margin: 10px;
    }
    .myHabit-item {
        margin: 10px;
        padding: 15px;
        position: relative;
        border-radius: 6px;
    }
    .myHabit-item .head {
        display: block;
    }
    .myHabit-item .title {
        padding-right: 15%;
        font-size: 18px;
        line-height: 21px;
    }
    .myHabit-item .settings {
        position: absolute;
        right: 18px;
        top: 10px;
    }
    .myHabit-item .time {
        font-size: 28px;
        line-height: 20px;
    }
    .habitChecklist {margin-top: 0;}
    .habitChecklist .week {
        border-radius: 50px;
        padding: 2px 3px 2px 3px;
        margin-right: 0px;
    }
    .habitChecklist .week .check {
        width: 5px;
        border-radius: 50px;
        height: 5px;
        margin-left: 1px;
    }
    .habitChecklist .week .check.done {background-image: unset;}
    .myHabit-item .info .start {width: 20%;}
    .myHabit-item .info .percent,
    .myHabit-item .info .end {width: 40%;}
    .myHabit-item .info .start > span {display: block;}
    .myHabit-item .info .start > span:nth-of-type(2) {color: var(--red);}
    .myHabit-item .info {font-size: 10px;}
    .myHabit-item .info .percent {text-align: right;}
    .myHabit-item .info .percent .na{display: block;}
    .myHabit-item .info .end span:nth-of-type(1)  {display: none;}
    .myHabit-item .info .end span:nth-of-type(2) {display: inline-block;}
    .myHabit-item .info .end span:nth-of-type(2):first-letter {text-transform: uppercase;}
    .myHabit-item .control {
        display: grid;
        grid-template-areas:
            "btn btn"
            "current diary";
        padding-left: 0;
        padding-right: 0;
        align-items: center;
        justify-content: center;
    }
    .myHabit-item .control .c_diary{
        grid-area: diary;
        width: auto;
    }
    .myHabit-item .control .day{
        grid-area: current;
        width: auto;
        font-size: 13px;
        line-height: 15px;
        text-align: center;
        padding: 0 15px;
    }
    .myHabit-item .control .day .calendarIcon {display: none;}
    .myHabit-item .control .status{
        grid-area: btn;
        width: 100%;
        text-align: center;
        padding-bottom: 15px;
    }
    #myHabits-list .js_habit-new  {
        margin: 0 auto;
        display: block;
    }
    #myHabits-list {
        border-bottom: 11px solid #fff;
    }
    .timer__popup.confirm{
        width: 300px;
        margin-left: -168px;
        box-shadow: 0px 0px 12px rgb(0 0 0 / 5%);
        border-left: 1px solid #f1f1f1;
        top: 15%;
        margin-top: 0;
        padding: 25px;
        background-image: unset;
    }
    .timer__popup.confirm .title {
        display: block;
        text-align: center;
    }
    .timer__popup.confirm .title .title_value {display: block;}
    .timer__popup.confirm .title .day-info {
        display: inline-flex;
        margin-top: 15px;
    }
    .timer__popup.confirm .what {display: none;}
    .timer__popup.confirm .btn-dark,
    .timer__popup.confirm .btn-green {
        display: block;
        margin: 10px auto;
    }
    .diary__content .habitName {
        font-size: 18px;
        line-height: 21px;
    }
    .diary__content .history .item {display: block;}
    .diary__content .history .day {display: inline-block;}
    .diary__content .history .info {
        width: auto;
        display: inline-block;   
    }
    .diary__content .history .description {
        width: auto;
        margin-left: 72px;
    }
    .diary__content .history button {display: none;}
    .diary__content .popup_head, .fullScreen__popup .popup_head {
        font-size: 17px;
        padding: 12px;
    }
    .habit__popup.new {
        width: auto;
        position: absolute;
        margin: 0;
        top: 60px;
        left: 10px;
        right: 10px;
        box-shadow: 0px 0px 12px rgb(0 0 0 / 5%);
        border-left: 1px solid #F1F1F1;
        background-image: unset;
        padding: 16px;
        bottom: 10px;
    }
    .habit__popup.new .title {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 8px 14px;
        position: absolute;
        width: 192px;
        height: 42px;
        left: 0px;
        top: -42px;
        background: var(--red);
        box-shadow: 0px 1px 0px rgb(199 199 199 / 25%);
        border-radius: 6px 20px 0px 0px;
        color: #fff;
        font-weight: 500;
        font-size: 13px;
    }
    .habit__popup.new .info {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }
    .habit__popup.new .info img{margin-right: 5px;margin-left: 0px;}
    .habit__popup.new .row2, .habit__popup .row3 {display: block;}
    .habit__popup.new .row2 .field {width: 100%;}
    .habit__popup.new .row3 .field {width: 100%;}
    .habit__popup.new .checkbox__label-text {margin: 20px 0;}
    .habit__popup.new .soundWrapper {
        float: none;
        margin: 0px auto 28px auto;
    }
    .habit__popup.new .btn.btn-red {
        height: 48px;
        width: 100%;
        border-radius: 50px;
    }
    .habit__popup.new .btn-dark {
        position: absolute;
        top: -40px;
        right: 4px;
        min-width: 102px;
    }
    .timer__popover-overlay {background-color: rgba(255, 255, 255, 0.9);}
    .auth__popup-overlay, .timer__popover-overlay {position: absolute;}
    .popover-shown {
        overflow-x: hidden;
        overflow-y: auto;
    }
    body main {max-width: 100%;}
    .habit__popup #Habit_remind_time .checkbox__label-text {margin: 0;}
    #Habit_remind_time {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    #timer__popup-settings {
        z-index: 5;
        background-image: unset;
        right: 20px;
        left: -8px;
        width: auto;
        padding: 20px;
        box-shadow: 0px 0px 12px rgb(0 0 0 / 5%);
        border-left: 1px solid #F1F1F1;
    }
    #timer__popup-settings .title {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 8px 14px;
        position: absolute;
        width: 192px;
        height: 42px;
        left: 0px;
        top: -42px;
        background: var(--blue);
        box-shadow: 0px 1px 0px rgb(199 199 199 / 25%);
        border-radius: 6px 20px 0px 0px;
        color: #fff;
        font-weight: 500;
        font-size: 13px;
    }
    #timer__popup-settings .timer__settings-main,
    #timer__popup-settings .timer__settings-other {display: block;}
    #timer__popup-settings .timer__settings-main .time,
    #timer__popup-settings .timer__settings-other .action {width: 100%}
    #timer__popup-settings .timer__settings-main .description {margin-top: 10px;}
    #timer__popup-settings .timer__settings-other .sound {margin-top: 15px;}
    #timer__popup-settings .btn-yellow{
        height: 48px;
        display: block;
        width: 100%;
        border-radius: 50px;
    }
    #timer__popup-settings .btn-gray {
        min-width: 102px;
        position: absolute;
        top: -40px;
        right: 6px;
    }
    .timer__input-wrap:after {
        right: 26px;
        bottom: -18px;
    }
    #timer__popup-settings .timer__settings-main .time {
        padding-bottom: 20px;
    }
    #selectOther__timerPopup .variants button.timer__deleteBtn  {
        margin: 0;
    }
    .planner__list {
        margin: 10px 10px 20px 10px;
    }
    .planner__habits {
        padding: 0;
    }
    .planner__habits .item {
        background-color: #FFFFFF;
        border: 1px solid #F1F1F1;
        border-radius: 6px;
        flex-direction: column;
        padding: 13px 18px;
        background-position: 17px 14px;
        position: relative;
    }
    .planner__habits .item .left-side{
        width: 100%;
        padding-left: 30px;
        border-right: none;
        border-bottom: 2px solid #F9F9F9;
        padding-top: 0;
        padding-bottom: 16px;
    }
    .planner__habits .item .center-side,
    .planner__habits .item .right-side {
        width: 100%;
        border-right: none;
        padding: 8px 0;
    }
    .planner__habits .item .control{
        position: absolute;
        right: 15px;
        width: auto;
    }
    .planner__habits .item .start__Wrap,
    .planner__habits .item .js_habit-changeRemind {
        flex-grow: 1;
        display: flex;
    }
    .planner__habits .item .start__Wrap .sm,
    .planner__habits .item .js_habit-changeRemind .sm{
        margin-right: 5px;
    }
    .planner__habits .item .confirmedIcon{
        width: 26px;
        height: 26px;
        background-image: url(../img/confirmed_26.png);
    }
    .planner__list + button {
        margin: auto;
        display: block;
    }
    .planner.fullScreen__popup .popup_head .btn.btn-dark {
        width: 97px;
        padding: 8px;
    }
    .fullScreen__popup.archive .history {
        margin: 0 10px;
    }
    .archive .habits .item {
        border: 1px solid #F1F1F1;
        border-radius: 6px;
        background-image: none;
        padding: 15px;
        flex-direction: column;
        position: relative;
    }
    .archive .habits .item .name {
        width: 100%;
        max-width: 100%;
        padding-right: 26px;
        margin-bottom: 10px;
    }
    .archive .habits .item .time {
        width: 100%;
    }
    .archive  .js-openArchive__habit{
        position: absolute;
        right: 8px;
        top: 8px;
    }
    .archive .history .habits {
        padding: 0;
        background-color: #fff;
        border: none;
    }
    .archive .habitChecklist .week.done {
        min-width: auto;
        height: 10px;
        border: none;
        padding: 2px 0;
    }
    .archive .myHabit-item {
        padding-right: 12px;
        border: 1px solid #F1F1F1;
        margin: 0;
    }
    .archive .habitDetails-close {
        width: 42px;
        height: 42px;
        background-size: contain;
        top: 6px;
        right: 6px;
    }
    .archive .myHabit-item .time {
        margin-bottom: 20px;
        margin-top: 10px;
    }
    .archive .myHabit-item  .habitChecklist .week.done:before {
        display: none;
    }
    .archive .myHabit-item .control div.status {
        padding-left: 0;
    }
    .archive .myHabit-item .info {
        margin: 15px 0 15px 0;
    }
    .archive .myHabit-item .control > div {
        width: 100%;
    }
    .archive .myHabit-item .control .day {
        padding-left: 0;
    }
    .archive .habitChecklist .week .check.done {
        background-image: unset;
        width: 5px;
        height: 5px;
        border-radius: 50%;
    }
    .archive .habitChecklist {
        background: #FFFFFF;
        border: 1px solid #F1F1F1;
        border-radius: 6px;
        padding: 0 4px;
        width: max-content;
        max-width: 100%;
        margin: auto;
    }
    .timer__popup.current {
        width: 540px;
        width: 346px;
        right: 18px;
        left: auto;
        padding: 18px;
        background-position: 18px 18px;
    }
    .timer__popup .title {
        padding-left: 40px;
    }
}

@media screen and (max-width:420px) {
    .timer__popup.confirm .title {
        padding-left: 0;
    }
    .timer__popup.confirm {
        width: 300px;
        margin-left: -150px;
    }
    #myHabits-list {
        margin: 0;
        padding: 0 0px 25px 0px;
    }
    .timer__popover.motivation {
        top: 15%;
    }
    #timer {position: relative;}
    #timer .days_li {
        position: absolute;
        top: -30px;
        left: 5px;
    }
    #timer__popup-settings {
        right: 20px;
        left: -5px;
        position: absolute;
        top: -15px;
    }

}
@media screen and (max-width:375px) {
    .myHabit-item .time {
        font-size: 22px;
    }
    #timer__popup-settings {
        right: 20px;
        left: -12px;
        position: absolute;
        top: -90px;
    }
    .timer__input-wrap input.timer__input-time {width: 88px;}
}
@media screen and (max-width:320px) {
    .btn.btn-red-light.js-need-login {
        padding: 11px 6px;
    }
    .js-need-login  span {
        margin-left: 5px !important;
    }
    .timersWrapper {max-width: 300px;}
    .timer-area .controls {left: 0;}
    .time-btn {padding: 8px 12px;}
    .timer__popup.current {
        width: 300px;
        right: auto;
        left: 0px;
    }
    .habitChecklist {display: block;}
    .habitChecklist .week {
        display: inline-flex;
    }
    .habitChecklist .week.done {
        min-width: 80px;
        height: 18px;
    }
    .cabinet__menu .item {
        padding: 30px 20px;
    }
    .cabinet__menu {
        max-height: 70vh;
        overflow-y: auto;
    }
    .cabinet_logout-wrap {
        padding: 15px 20px;
    }
    .cabinet .profileSettings .row {
        display: block;
    }
    .row.profile-row .profileBtn {
        margin-top: 10px;
    }
    .timer__settings-other .action, .timer__settings-main .time {
        max-width: 245px;
    }
    .timer__input-wrap input.timer__input-time {
        width: 72px;
    }
    #timer__popup-settings .btn-gray {
        right: -10px;
    }
    #timer__popup-settings {
        padding: 15px;
        right: 4px;
        left: 4px;
    }
    .timer__settings-buttons.mt30 {
        margin-top: 20px;
    }
    .triangle-range-background-slider {
        background-size: cover;
    }
    .myHabit-item .time {
        font-size: 18px;
    }
    .myHabit-item .info .percent {
        padding-right: 6px;
    }
    .c_diary .cbtn {
        padding: 8px;
        width: 152px;
        font-size: 13px;
    }
    .time > img {height: 24px;}
}