@import './reset.css';
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
 
  --hydration: url("https://assets.codepen.io/13471/icons8-water-bottle-60.png");
  --training: url("https://assets.codepen.io/13471/icons8-sneaker-60.png");
  --slide-width: 311px;
  --slide-shadow: 0 4px 20px 2px rgba(0, 0, 0, 0.4);
  --slide-thumb-height: 2px;
  --slide-thumb-default-color: rgb(110 108 108);
  --slide-thumb-active-color: rgba(255, 255, 255, 0.9);
}
* {-webkit-tap-highlight-color: transparent;}

main {
 
  /*overflow: hidden;*/
  /*height: 100%;
  padding-bottom: 55px;
  min-height: calc(100% - 55px);*/
  /*height: 100%;*/
  flex: 1;
  background: #F1FBFF;
}

@font-face {
    font-family: 'TT Interphases Pro Trl';
    /* src: url('../fonts/TTWellingtons-Regular.eot');
    src: local('../fonts/TT Wellingtons Regular'), local('TTWellingtons-Regular'),
        url('../fonts/TTWellingtons-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/TTWellingtons-Regular.woff2') format('woff2'),
        url('../fonts/TTWellingtons-Regular.woff') format('woff'),
        url('../fonts/TTWellingtons-Regular.ttf') format('truetype'); */
		src: url('../fonts/TT-Interphases-Pro-Trl-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TT Interphases Pro Trl';
    /* src: url('../fonts/TTWellingtons-Medium.eot');
    src: local('../fonts/TT Wellingtons Medium'), local('TTWellingtons-Medium'),
        url('../fonts/TTWellingtons-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/TTWellingtons-Medium.woff2') format('woff2'),
        url('../fonts/TTWellingtons-Medium.woff') format('woff'),
        url('../fonts/TTWellingtons-Medium.ttf') format('truetype'); */
		src: url('../fonts/TT-Interphases-Pro-Trl-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'TT Interphases Pro Trl';
    /* src: url('../fonts/TTWellingtons-DemiBold.eot');
    src: local('../fonts/TT Wellingtons DemiBold'), local('TTWellingtons-DemiBold'),
        url('../fonts/TTWellingtons-DemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/TTWellingtons-DemiBold.woff2') format('woff2'),
        url('../fonts/TTWellingtons-DemiBold.woff') format('woff'),
        url('../fonts/TTWellingtons-DemiBold.ttf') format('truetype'); */
		src: url('../fonts/TT-Interphases-Pro-Trial-DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}


@font-face {
    font-family: 'TT Interphases Pro Trl';
    /* src: url('../fonts/TTWellingtons-Bold.eot');
    src: local('../fonts/TT Wellingtons Bold'), local('TTWellingtons-Bold'),
        url('../fonts/TTWellingtons-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/TTWellingtons-Bold.woff2') format('woff2'),
        url('../fonts/TTWellingtons-Bold.woff') format('woff'),
        url('../fonts/TTWellingtons-Bold.ttf') format('truetype'); */
		src: url('../fonts/TT-Interphases-Pro-Trl-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}


html {
  height: 100%;
}

body {
    min-height: 100%;
	font-family: 'TT Interphases Pro Trl', sans-serif;
	-webkit-font-smoothing: antialiased;
	background-color: #FFFFFF;
	color: #2D2A26;
	line-height: 1.4;
}

.overflow-hidden{
	overflow: hidden;
}

html, body{
	height: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}


header {
	/*
	padding: 20px 26px 20px 24px;
	display: flex;
    justify-content: space-between;
    align-items: center;
	*/
    font-size: 22px;
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
	z-index: 2;
    position: relative;
	background: white;
	
}

.container-fluid{
	
}


h2 {
	font-size: 24px;
	font-weight: 700;
}

section h2 {margin-bottom: 16px;}

.nav__logo a {
	display: flex;
	align-items: center;
	font-size: 24px;
	gap: 13.5px;
	color: #000;
}
.nav__logo span {position: relative; top: 2px;}


.middle-section {padding: 24px 24px 55px 24px}

.middle-section.main-profile {padding: 24px 0 55px 0}

/* Menu Icon */

.menu-icon-wrapper {
	--time: 0.1s;
	--width: 18px;
	--height: 16px;
	--line-height: 3px;
	--color: #fff;

	height: var(--height);
	width: var(--width);
	display: flex;
	justify-content: center;
	align-items: center;
}

.menu-icon {
	position: relative;
	width: var(--width);
	height: var(--line-height);
	background-color: #161616;
	height: 2px;
}

.menu-icon::before,
.menu-icon::after {
	content: '';
	display: block;

	position: absolute;
	left: 0;

	width: var(--width);
	height: 2px;

	background-color: #161616;
	transition: transform var(--time) ease-in, top var(--time) linear var(--time);
}

.menu-icon::before {
	top: calc(var(--line-height) * -2);
	
}

.menu-icon::after {
	top: calc(var(--line-height) * 2);
}

.menu-icon.menu-icon--active {
	background-color: transparent;
}

.menu-icon.menu-icon--active::before,
.menu-icon.menu-icon--active::after {
	top: 0;
	transition: top var(--time) linear, transform var(--time) ease-in var(--time);
}

.menu-icon.menu-icon--active::before {
	transform: rotate(45deg);
}

.menu-icon.menu-icon--active::after {
	transform: rotate(-45deg);
}

/* progress */

.profile-progress {
	display: flex;
	margin-bottom: 24px;
	justify-content: space-between;
	padding: 0 clamp(4vw, 6vw, 24px);
    gap: clamp(4.8vw, 4.8vw, 18px);
}

.profile-progress_item {
    text-align: center;
	/*border-right: 2px solid #EBEBEB;*/
	flex: 1 1;
}

.profile-progress_num {
	font-size: 20px;
	font-weight: 700;
}

.profile-progress_text {
	font-size: 14px;
	font-weight: 400;  
}

.profile-progress_item:last-child {
	border-right: none;
}

/* States */

 .item-inst {
    top: 0;
    flex-grow: 1;
    max-width: 33.333%;
    flex-basis: 33.333%;
    padding-top: calc(33.333% - 0px);
	position: relative;
	border-radius: 8px;
}

.item-inst > a {
	height: 100%;
    /* display: block; */
    position: absolute;
    top: 0;
    width: 100%;
}

.container--grid {
    display: flex;
    flex-wrap: wrap;
}

.item-inst > a > img {
	
    object-fit: cover;
    position: absolute;
    top: 0;
    max-width: 100%;
    border-radius: 8px;
	width: 100%;
    max-height: 100%;
	height: 100%;
}

.item-inst > a:after {
	width: 100%;
	height: 100%;
	position: absolute;
	content: "";
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0.2%, rgba(255, 245, 245, 0.85) 99.8%);
	top:0;
	border-radius: 8px;
	/*box-shadow: inset 0 0 1px #ebebeb, inset 0 0 1px #ebebeb, inset 0 0 1px #ebebeb;*/
	border: 1px solid #EBEBEB;
}

.state-name {
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	color: #000;
	position: absolute;
    bottom: 8px;
	left: 10px;
	right: 10px;
	z-index: 9;
	line-height: 1.2;	
}

.profile-card_img_circle {
	background: linear-gradient(260deg, #00F499 45.44%, #11B7EF 103.88%);
	font-size: 24px;
	display: flex;
    justify-content: center;
    align-items: center;
	width: 64px;
	height: 64px;
	border-radius: 100%;
	color: #FFF;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

.profile-card {
	display: flex;
    justify-content: center;
    gap: 12px;
	padding: 0 12px;
	margin-bottom: 24px
}

.profile-card_img {
	display: flex;
    align-items: center;
    /*justify-content: center;*/

}

.profile-card_name {
	font-size: clamp(1.25rem, 0.833rem + 0.56vw, 1.5rem);
	font-weight: 500;
	line-height: 1;
	margin-bottom: 0;
	display: flex;
	gap: 16px;
}


.profile-card_img > svg {
	position: absolute;
}

.profile-card_greeting {
	max-width: 270px;
    margin: 0 auto;
	font-size: 14px;	
    /*text-align: center;*/
}


.nav__list a {
	color: white;
	font-size: 20px;
	font-weight: 500;
}
	
.nav__list--header {
	display: none;
}

.coin-title {
    text-align: right;
    font-size: clamp(1.5rem, 0.667rem + 1.11vw, 2rem);
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 44.8px */
  
}

.coin-value {
    color: #000;
    font-size: clamp(5rem, 0.833rem + 5.56vw, 7.5rem);
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 168px */
}

.volunteerform .section-name {

    font-size: clamp(1.5rem, 0.667rem + 1.11vw, 2rem);
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 44.8px */
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    cursor: pointer;
	align-items: center;
}


@media (min-width: 1200px) {
	
	.middle-section.main-profile {    
		max-width: 600px;
		margin: 0 auto;
	}
}
.middle-section {    
	max-width: 600px;
	margin: 0 auto;
}

@media (min-width: 1024px) {
	body .bottom-nav {
		max-width: 600px;
		left: 50%;
		transform: translateX(-50%);
	}
}

	.nav--mobile .nav__toggle {
		position: fixed;
		top: 28px;
		right: 26px;
	}
	
	.nav--mobile {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 99;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		background: #fff;
		padding: 20px 24px;
	
	}
	
	.nav--mobile:after {
		height: 73px; 
		content: ''; 
		width: 100%; 
		top: 0; 
		left: 0;
		position: absolute; 
		box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
		z-index: -1;
	}
	.nav__list--header {
		display: none;
	}
	.nav--mobile .nav__list {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		row-gap: 16px;
		font-size: 22px;
		padding: 24px 0px 48px;
		font-weight: 600;
		font-size: 24px;
		line-height: 32px;
		width: 100%;
		margin-top: 24px;
		left: 0;
	}
	.no-scroll {
		overflow-y: hidden;
	}



/* Bottom Nav */

.bottom-nav {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    background: #fff;
    z-index: 99; 
}

.bottom-nav_content {    
	display: flex;
    width: 100%;
    align-items: center;
    justify-items: center;
    justify-content: space-between;
    /* padding: 48px 39px; */
    /*height: 55px; */
}
	
/* Profile Edit */	




textarea.form-control {
	border-radius: 16px;
	padding: 16px 24px;
}

.fancybox-content {
	padding: 34px 32px 32px;
}

.fancybox-content textarea.form-control {
	border: 1px solid #dadada;
}

.form-group {
    margin-bottom: 12px;
	position: relative;
}

.form-group--img {margin-bottom: 16px;}

.hidden {display: none !important;}

.btn {
    border-radius: 8px;
    padding: 13px 30px;
    color: #000;
    font-weight: 500;
    font-size: clamp(1rem, 0.792rem + 0.28vw, 1.125rem);
    line-height: 21px;
    display: flex;
    border: none;
    -webkit-align-items: center;
    align-items: center;
	justify-content: center;
	text-align: center;
}

.btn-default {  
    padding: 20px 30px; 
	line-height: 1.22;
}

.export-excel{
    background: white;
    border: 1px solid rgba(45, 42, 38, 1);
    border-radius: 30px;
}

.btn--small {  
    padding: 8px 16px; 
}

.w-100 {width: 100%} 

.form-group + .form-group--submit {margin-top:16px;}


.personal-photo__upload-button {
	position: absolute;
	bottom: 0;
    right: -8px;} 

.personal-photo-container {
	position: relative;
	display: flex;
    justify-content: center;
	max-width: 78px;
	margin: 0 auto;
}

.cover-image__image {
	width: 78px;
	height: 78px;
	border-radius: 100%;
	overflow: hidden;
}

.form-group--add-img {  
	border-radius: 8px; 
	border: 1px solid #EBEBEB; 
	height: 52px;
	display: flex;
    align-items: center;
    justify-content: space-between;
	padding: 0 16px;
}

.personal-photo--notloaded {
	color: #8F8F8F;
	font-family: 'Montserrat', sans-serif;
	font-size: 32px;
	font-weight: 700;
	width: 100%;
    height: 100%;
	background: #E3E3E3;
	display: flex;
    justify-content: center;
    align-items: center
}

/* Tags */
input::placeholder {
	color: #9A9A9A;
} 
input[type="date"] {
	-webkit-appearance: none;
}


input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

input[type="checkbox"] {
    opacity: 0;
    visibility: hidden;
    position: absolute;
} 
 
input[type="checkbox"] + label {
	font-weight: 500;
	color: darkgray;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 62px;
}
 
 
input[type="checkbox"]:checked + label:before {
    background: url(../img/checked_updated.svg) center center no-repeat;
	border: none;
}

input[type="checkbox"]:checked + label{
    color:black;
}

input[type="checkbox"] + label:before {
    content: '';
    display: inline-block;
    width: 24px;
    min-width: 24px;
    height: 24px;
    border: 1px solid #EBEBEB;
    border-radius: 4px;

	background-color: white;
}
.field--flex label {
    display: flex;
	align-items: center;
    gap: 12px;
}

.field--flex input[type="checkbox"] + label:before {
	transform: translateY(-2px);
}

.btn-addtag {
	position: absolute;
    top: 0px;
    right: 0;
	padding: 14px 15px 13px;
}

.form-group--add {margin-top: 24px;}

.container--p0 {margin: 0 -24px;}

.mt-24 {margin-top: 24px;}
.mb-12 {margin-bottom: 12px;}
.mb-42 {margin-bottom: 42px;} 


/* State Card */

.state-card-wrap {
	/*min-height: calc(100% - 55px);*/
    /* height: 100%; */
    position: relative;
	
}

.wrap--bg {
	background: url(../img/bg-joy.jpg) center / cover no-repeat;
	background-size: cover;
	/*transition: background-image 0.5s; for what?*/
}

.state-card {
	border-radius: 8px;
	/*border: 1px solid #EBEBEB;*/
	background: #FFF;
	box-shadow: 0px -4px 20px 0px rgba(0, 0, 0, 0.05);
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 311px;
    margin: 0 auto 76px;
	/*padding: 24px;*/
	padding: 0;
	position: relative;
}

.state-card:not(.state-card-preview):after {
	content: "";
    position: absolute;
    border-radius: 8px 8px 0 0;
    border: 1px solid #EBEBEB;
    background: #FFF;
    display: block;
    width: calc(100% - 20px);
    top: -10px;
    height: 10px;
    left: 10px;
    right: 10px;
}

.state-card:not(.state-card-preview):before {
	content: "";
    position: absolute;
    border-radius: 8px 8px 0 0;
    border: 1px solid #EBEBEB;
    background: #FFF;
    display: block;
    width: calc(100% - 40px);
    top: -20px;
    height: 20px;
    left: 20px;
    right: 20px;
}
.state-card_name {
	font-size: 20px;
	font-weight: 500;
	margin-bottom:8px;
	padding: 0 16px;
	text-align: center;
}

.state-card_img {
	margin-bottom: 12px;
}
.state-card_desc {
	border-radius: 4px;
	padding: 0;
	border: none;
    word-break: break-word;
    margin: 0 16px 16px;
	
}

.state-card_img img {
	/*width: 263px;*/
	width: 311px;
	max-height: 311px;
    object-fit: cover;
    aspect-ratio: 1 /1;
}


.btn--grey {
	background: #EBEBEB;
}

.btn--show {
	background: #FFE59F;
}

.state-card-preview {
	margin-bottom: 24px;
	max-width: 273px;
}

.state-card-preview .state-card_desc {
	padding: 0px;
}

.state-card-preview_buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 24px;
    margin-right: 24px;
    padding-bottom: 24px;
}

.state-card-preview_buttons > button {    
	display: flex;
    align-items: center;
	flex: 1 1;}

.card-preview_wrap {
	padding-top: 24px;
}

/* Search */
.search-page .searchinput .btn-search {
    position: absolute;
    top: 0;
    right: 0;
    background: 0 0;
    border: 0;
    color: #fff;
    width: 52px;
    height: 52px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
	padding: 0;
}

.search-page .searchinput {
    position: relative;
	margin-bottom: 16px;
}

.svg-inline-search {height: 24px;}

.middle-section.search-page {
    padding-top: 16px;
}

.fw-700 {
	font-weight: 700;
}

.control-label:not(.hidden) {
	display: block;
}

fieldset {
    border: none;
    margin: 0;
    padding:0;
}

textarea {
	padding: 16px 24px;
	border-radius: 16px;
	background: #FFF;
	resize: none;
	width: 100%;
	min-height: 142px;
	outline: none;
}
	
textarea::placeholder {color: #9A9A9A;}

body .select2-container {
    width: auto !important;
    display: block;
} 

.select2-container .select2-selection--single {
	height: 55px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 55px;
	padding-left: 24px;
	color: #2D2A26;
	outline: none;
}

.select2-container--default .select2-selection--single {
	border-radius: 27px;
	border: none;	
	box-shadow: none;
}

.finish_container .select2-container--default .select2-selection--single {
	background: #F5F5F5;
}

.select2-container--default .select2-selection--single {
	background: #fff;
}

#volunteer_form .select2-container--default .select2-selection--single {
    background: #FFF;
}

body .select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 24px;
    height: 24px;
    top: 50%;
    right: 24px;
    width: 24px;
    transform: translateY(-50%);
    background: url(../img/arrow-select.svg) center center / contain no-repeat;
}

body .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #E2DCFC;
    color: #000;
} 

.select2-results__option {
    padding: 12px 24px;
    user-select: none;
    -webkit-user-select: none;
} 

.select2-dropdown {
	 border-color: #EBEBEB;
	 border-radius: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #000;
} 

body .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
        transform: translateY(-50%) rotate(180deg);
}

.form-group--add-img {    
	margin-top: 16px;
    background-color: #fff;
}

/* Daily Task */

.slide-items .state-card {margin-bottom: 38px;}

.slide {
    box-shadow: var(--slide-width);
    display: grid;
    margin: 48px auto 0;
    max-width: var(--slide-width);
}

.slide-items {
    border-radius: 5px;
    grid-area: 1/1;
    /*overflow: hidden;*/
    position: relative;
}

.slide-items>* {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
}


.slide-items .active {
    opacity: 1;
    pointer-events: initial;
    position: relative;
}

.slide-nav {
    display: grid;
    grid-area: 1/1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    z-index: 1;
	margin-top: -50px;
	
}

.slide-thumbs {
    display: flex;
    grid-column: 1 / 3;
	margin-left: 19px;
    margin-right: 19px;
}

.slide-thumb-item {
    background-color: var(--slide-thumb-default-color);
    border-radius: 1px;
    display: block;
    flex: 1;
    height: var(--slide-thumb-height);
    margin: 5px 1.5px;
    overflow: hidden;
}

.slide-thumb-item.active:not(.prev-active)::after {
    animation: thumb .6s forwards linear;
    background-color: var(--slide-thumb-active-color);
    border-radius: 3px;
    content: '';
    display: block;
    height: inherit;
    transform: translateX(-100%);
}

.slide img {
	/*border-radius: 4px;*/
	border-radius: 8px 8px 0 0;
}

.slide .btn > img {border-radius: 0;}

.slide-next,
.slide-prev {
    opacity: 0;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@keyframes thumb {
    to {
        transform: initial;
    }
}
.delete-button {width: 18px; height: 18px; cursor: pointer;}
.delete-button.tags {position: absolute;right: 5px;bottom: 5px;}

.confirm.window input[type="button"], 
.alert.window input[type="button"] {
    padding: 5px 10px;
    margin: 10px 5px;
    border-radius: 5px;
    cursor: pointer;
    background: #EBEBEB;
    border: 1px solid #EBEBEB;
}

.confirm.window input[type="button"]:hover, 
.alert.window input[type="button"]:hover {
      background: #ccc;
   }
.confirm.window input[type="button"].confirmYes {
	  background: #99F577;
	  border-color: #99F577;
}


.confirm.window, .alert.window {
  display: none;
}
 .confirm.window > div:first-of-type,
 .alert.window > .overlay
    {
      position: fixed;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      top: 0px;
      left: 0px;
	  z-index: 9; 
   }
.alert.window > div:last-of-type,
.confirm.window > div:last-of-type {
      padding: 20px 20px 15px;
      background: white;
      position: fixed;
      width: 70%;
      height: auto;
      left: 50%;
      top: calc(50% - 55px);
      z-index: 1000;
      transform: translate(-50%, -50%);
	 border-radius: 5px;}

      /*div {
        &:first-of-type {
          min-width: 150px;
          width: 100%;
          padding: 10px;
        }

        &:last-of-type {
          text-align: right;
        }
      }
    }
  }
}*/

.add-read-more .second-section,
.add-read-more .read-less {
   display: none;
}

.add-read-more.show-more-content .read-more {
   display: none;
}
.add-read-more.show-more-content .second-section,
.add-read-more.show-more-content .read-less {
   display: unset;
}

.add-read-more .read-more,
.add-read-more .read-less {
   font-weight: 500;
   margin-left: 2px;
   cursor: pointer;
   z-index: 9;
   position: relative;
   opacity: 0.45;
   white-space: nowrap;
}

.favorite {
	
	width: 24px; 
	height: 24px; 
	z-index: 9; 
	position: absolute; 
	left: calc((100% - 311px) / 2 + 0px + 8px); 
	top: 10px;
	padding: 0; 
}

.favorite img {
	filter: grayscale(1);
}

.favorite > svg > rect {
	stroke: black;
	
}

.favorite > svg > path {
	fill: black;	
}

.favorite.remove-favorite > svg > rect {
	stroke: rgb(255, 214, 0);
}

.favorite.remove-favorite > svg > path {
	
	fill: rgb(255, 214, 0);

}

.confirm-btns {display: flex; margin: 0 -5px;}

.confirm-btns .confirmYes, .confirm-btns .confirmNo {flex: 1 1;}

.main-profile .cover-image__image > img {    
	width: 100%;
    height: 100%;
    object-fit: cover;
	
}
.overlayLoading {height: 100%;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 2999;
    background: #fff;
    display: none;
    opacity:1;
}
.overlayLoading img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 35%;
  height: 100%;
  animation: rotationcustom 2s infinite linear;
}

@keyframes rotationcustom {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.edit-wrap {
	z-index: 8;
	border-radius: 4px;
	border: 1px solid #EBEBEB;
	background: #FFF;
	display: none; 
	position: absolute; 
	width: 100%; 
	top: 0;
	padding: 24px;
	text-align: center;
}
	
.edit-toggler {
	z-index: 9;
	position: absolute;
    right: calc((100% - 311px) / 2 + 0px + 8px);
    top: 10px;
	width: 24px; 
	height: 24px; 
	cursor: pointer;
}


.edit-toggler .close {display: none;}
.edit-toggler.active-toggle .open-edit {display: none;}
.edit-toggler.active-toggle .close {display: block;}
.edit-wrap > .btn > img {max-width: 43px;  }
.edit-toggler img {border-radius: 0;}
.edit-wrap > .btn {display: inline-block;}
.edit-wrap > .btn.btn-editcard {margin-left: 25px;}
.form-group--add-img .labelinput {
	text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
	max-width: 100vw;
}

.form-group--add-img {max-width: calc(100vw - 48px);}

form[name="form_auth"] input[type="checkbox"] + label {display: flex; align-items: center;}

form[name="form_auth"] .form-group--submit {margin-top: 12px;}
    
label.error { color: #ff0000;}

::-webkit-input-placeholder { opacity: 1; -webkit-transition: opacity .2s; transition: opacity .2s; }  
:-moz-placeholder { opacity: 1; -moz-transition: opacity .2s; transition: opacity .2s; } 
::-moz-placeholder { opacity: 1; -moz-transition: opacity .2s; transition: opacity .2s; }
:-ms-input-placeholder { opacity: 1; -ms-transition: opacity .2s; transition: opacity .2s; }
::placeholder { opacity: 1; transition: opacity .2s; }
    
*:focus::-webkit-input-placeholder { opacity: 0; } 
*:focus:-moz-placeholder { opacity: 0; }
*:focus::-moz-placeholder { opacity: 0; } 
*:focus:-ms-input-placeholder { opacity: 0; } 
*:focus::placeholder { opacity: 0;} 



	
.slide-wrap-Flip .read-more  {
  -webkit-transform-style: flat;
	-moz-transform-style:flat;
	-ms-transform-style: flat;
	transform-style: flat;
	 -webkit-transform:translateZ(9999px);
  
}
.slide-wrap-Flip .slide-nav  {
  -webkit-transform-style: flat;
	-moz-transform-style:flat;
	-ms-transform-style: flat;
	transform-style: flat;
	 -webkit-transform:translateZ(0);
  
}


.slide.slide-wrap-Flip {
	width: 311px;
	-webkit-perspective: 622px;
	-moz-perspective: 622px;
	-ms-perspective: 622px;
	perspective: 622px;
	-webkit-transform-style: preserve-3d;
	
}

.middle-section {overflow-x: hidden;}

.Flip.slide-items .state-card {opacity: 1}

.Flip {
	position: relative;	
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
}

.Flip.animate {
	-webkit-transition: .6s ease;
	-moz-transition: .6s ease;
	-ms-transition: .6s ease;
	transition: .6s ease;
	-webkit-transform: rotateY(180deg);
     	-moz-transform: rotateY(180deg);     
      	-ms-transform: rotateY(180deg);      
        transform: rotateY(180deg);
}

.Flip.animateL {
	
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);     
      	-ms-transform: rotateY(-180deg);      
        transform: rotateY(-180deg);
}

.Flip .state-card {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	top: -99em;
	width: 100%;

}

.Flip .state-card.active, .Flip .state-card.active.front {
	top: 0;
}

.Flip .state-card.front {
	top: 0;
	-webkit-backface-visibility:hidden;
	-moz-backface-visibility:hidden;
	-ms-backface-visibility:hidden;
	backface-visibility:hidden;
	
}
.Flip .state-card.back {
	top: 0;
	-webkit-backface-visibility:hidden;
	-moz-backface-visibility:hidden;
	-ms-backface-visibility:hidden;
	backface-visibility:hidden;
	
}


.Flip .state-card.front {
	z-index: 2;
}


.Flip .state-card.back {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);     
      	-ms-transform: rotateY(180deg);      
        transform: rotateY(180deg);
	z-index: 1;
}

.middle-section.wrap--bg {
	min-height: calc(100vh - 123px);
}

.Swipe.left-animation .state-card.active {
  
  /*left: -311px;*/
	-webkit-animation: slideIn .8s forwards;
	-moz-animation: slideIn .8s forwards;
	animation: slideIn .8s forwards;
}

.Swipe .state-card.active {
	left: 0;
}

@-webkit-keyframes slideIn {
  0% {
    transform: translateX(311px);
  }
  100% {
    transform: translateX(0);
  }
}
@-moz-keyframes slideIn {
  0% {
    transform: translateX(311px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes slideIn {
  0% {
    transform: translateX(311px);
  }
  100% {
    transform: translateX(0);
  }
}

.Swipe.right-animation .state-card.active {
  
 
  -webkit-animation: slideInRight .8s forwards;
  -moz-animation: slideInRight .8s forwards;
  animation: slideInRight .8s forwards;
}

.Swipe .state-card.active {
  left: 0;
  
}

@-webkit-keyframes slideInRight {
	  0% {
		transform: translateX(-311px);
	  }
	  100% {
		transform: translateX(0);
	  }
}
@-moz-keyframes slideInRight {
	  0% {
		transform: translateX(-311px);
	  }
	  100% {
		transform: translateX(0);
	  }
}
@keyframes slideInRight {
	  0% {
		transform: translateX(-311px);
	  }
	  100% {
		transform: translateX(0);
	  }
}


/* Deck */



.Deck .state-card.active  {
     z-index: 1;
}

.Deck .state-card.left-card {
	 transition: transform .35s ease-out;
}

.Deck .state-card.right-card {
	transition: transform .35s ease-out;
    transform: translate(10%, -7%) scale(0.85) rotate(7deg);
}

.Deck.static-animation .state-card {
	transition: transform 0s ease-out;
}

.Deck.erase-left-animation .state-card.active,
.Deck.erase-right-animation .state-card.active,
.Deck .state-card.active {
    transform: scale(1) rotate(0deg);
    z-index: 1;
}

.Decke.erase-left-animation .state-card.back:not(.active) {
    transform: translate(-5%, 2%) scale(1) rotate(-7deg);
    z-index: 1;
	opacity: 1;
}

.Deck .state-card.back:not(.active) {
    transform: translate(-5%, 2%) scale(1) rotate(-7deg);
    z-index: 1;
	opacity: 1;
}

.Deck .state-card.active + .right-card {opacity: 1}


/* Scaling */ 


.Scale.erase-left-animation .state-card, 
.Scale.erase-right-animation .state-card {transition: transform .85s ease-in;}

.Scale .state-card.active {
     z-index: 1;
	 transform: scale(1);
}

.Scale:not(.erase-left-animation) .state-card,
.Scale:not(.erase-right-animation) .state-card {/*transition: transform 0s ease-in !important;*/}

.Scale .state-card.back  {
     z-index: 1;
	 transform: scale(0);
	 opacity: 1; 
}

.Scale .state-card.active + .state-card {
	opacity: 1; 
	transform: scale(0);  
	}

.Scale .state-card.back.active {
	transform: scale(1);
}

/* Finish */

.finish--dailytask {
	background: linear-gradient(180deg, #FFF3D6 0%, #C5FFA1 100%);
	min-height: calc(100vh - 123px);
	padding-left: 32px; 
	padding-right: 32px;
}
	
.finish__buttons .btn {font-size: 16px; flex: 1 1;}

.finish__buttons .btn:first-child {
	white-space: nowrap;
	padding: 13px 21px;
}
	
.finish-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 8px;
	border: 1px solid #EBEBEB;
	background: #FFF;
	padding: 24px;
	box-shadow: 0px -4px 20px 0px rgba(0, 0, 0, 0.05);
}

.finish-message	{
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
}
	
.finish__buttons {
	display: flex;
    gap: 8px;
    align-items: center;
	width: 100%;
} 
	
svg.finish {
  display: block;
  height: 90px;
  width:  90px;
  color: #99F577; 
}

svg.finish .circle {
  stroke-dasharray: 76;
  stroke-dashoffset: 76;
  animation: draw 1s forwards;
}

/*svg.finish .tick {
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  animation: draw 1s forwards 1s;
  animation-delay: 0.85s;
  transform: translate(10%, 10%) scale(0.85);
}*/

svg.finish .tick {
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  animation: draw 1s forwards 1s;
  animation-delay: 1.35s;
  transform: translate(17%, 17%) scale(0.70);
}

@keyframes draw { 
  to { stroke-dashoffset: 0 } 
}

.thumb-comleted {
    background-color: #99F577;
    border-radius: 1px;
    display: block;
    flex: 1;
    height: var(--slide-thumb-height);
    margin: 5px 1.5px;
    overflow: hidden;
}

.slide-thumbs--finished {margin-bottom: 20px;}

/*Fixing Slide-nav for favorite links*/

.navMore .daylitask-nav.slide-nav {height: calc(100% - 45px);}
.nav-favorite .slide-nav {    	
	margin-top: 60px; 
	height: calc(100% - 105px);}
	
.navMore .slide-nav {height: calc(100% - 60px);}
	
.nav-favorite .slide-nav .slide-thumbs	{
	margin-top: -110px;
    height: fit-content;
}

.middle-section {
  touch-action: manipulation;
}

/* 2024 */

.save-message .notetext { color: #63af46;}
#messages2 .save-message > br {display: none}

.edit-wrap .favorite {
	
	width: 32px; 
	height: 32px; 
	z-index: 9; 
	position: unset; 
	
	padding: 0; 
}
.edit-wrap > .btn.btn-editcard {margin-left; 0;}
.edit-wrap-row {display: flex; gap: 12px; justify-content: center;}
.edit-wrap .btn  {padding: 0;}
.edit-wrap .btn > img {	
	width: 32px; 
	height: 32px; 	
}
.remove-pin {position: relative;}

.remove-pin:after {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	background: url(../img/stroke-pin.svg) center center / cover no-repeat;
}

/* Random */

.middle-section.random--bg {
    min-height: calc(100vh - 123px);
}

.random--bg {
	background: linear-gradient(180deg, #FFE5E0 0%, #FFFEFE 17.88%, #FFE3DE 100%);
}

.random-card {
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px -4px 20px 0px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	width: 311px;
    max-width: 311px;
    margin: 30px auto 76px;
    padding: 0;
    position: relative;
}

.random-card:before {
    content: "";
    position: absolute;
    border-radius: 8px 8px 0 0;
    border: 1px solid #EBEBEB;
    background: #FFF;
    display: block;
    width: calc(100% - 40px);
    top: -20px;
    height: 20px;
    left: 20px;
    right: 20px;
}

.random-card:after {
    content: "";
    position: absolute;
    border-radius: 8px 8px 0 0;
    border: 1px solid #EBEBEB;
    background: #FFF;
    display: block;
    width: calc(100% - 20px);
    top: -10px;
    height: 10px;
    left: 10px;
    right: 10px;
}
.random-card__text p {max-width: 263px; margin: 0 auto;}
.random-card__text p + p {
	margin-top: 20px;
}

.random-card__text {
	margin-top: -24px;
	padding: 0 24px 24px 24px;
	text-align: center;
}

.random-card__img > img {max-width: 210px;}

.timer {padding-bottom: 43px;}

.timer input {
	color: #F3CBC4;
	text-align: center;
	font-family: TT Wellingtons;
	font-size: 80px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;}
	

.edit-wrap.edit-wrap--search {
	padding: 0px 10px 0px;
    bottom: 0;
    z-index: 10;
	position: absolute;
    width: 100%;
    top: 0;
    padding: 0 10px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0.2%, rgba(255, 245, 245, 0.85) 99.8%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.edit-wrap--search .btn > img {
    width: 24px;
    height: 24px;
}

.edit-wrap--search .favorite {
    width: 24px;
    height: 24px;
    z-index: 9;
    position: unset;
    padding: 0;
}

.edit-toggler--search {z-index: 12; right: 10px;  }

.edit-wrap--search .edit-wrap-row {
	height: 100%;
    align-items: center;
    justify-content: center;
    align-content: center;
	gap: 8px; 
	flex-wrap: wrap; 
	max-width: 80px; 
	margin: auto;}
   
@media (max-width: 540px) {
	.edit-wrap--search .edit-wrap-row {
		max-width: 80px;
		margin: auto;
	}
}

.profile-menu {
	display: flex;
    justify-content: space-between;
	border-top: 1px solid #F5F5F5;
} 

.profile-menu_item {
    flex: 1 1;
	text-align: center;
	position: relative;
	padding: 10px 0 12px;
}

.profile-menu_item:after {
    background: #000;
	border-radius: 2px;
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    transition: 0.3s;
    position: absolute;
    bottom: 0;
    transition: 0.3s;
    left: 0;
}

.profile-menu_item:after {
    background: #000;
	border-radius: 2px;
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    transition: 0.3s;
    position: absolute;
    bottom: 0;
    transition: 0.3s;
    left: 0;
}
.profile-menu_item.active:after, 
.profile-menu_item:hover:after {
   width: 100%
}

.pinned-card {
	position: absolute; 
	top: 10px; 
	right: 40px;
	z-index: 2;
}
.pinned-card > img {
    width: 25px;
    height: 25px;
}


svg.finish {height: 70px;width: 70px;}
.svg-wrap {position: relative; width: 70px; height: 70px}
.svg-wrap .snake {position: absolute; top: 0; animation: rotationcustom 2s;}

svg.finish .tick {
    stroke-dasharray: 18;
    stroke-dashoffset: 18;
    animation: draw 1s forwards 1s;
    animation-delay: 1.35s;
    transform: translate(18%, 16%) scale(0.70);
}


/*Photo redactor*/


@media (max-width: 767px) {
	.bx-panel-tooltip {display: none !important;}
	#popup-window-content-popupFM .adm-photoeditor-container {min-width: 100%; max-width: 100%; min-height: 60vh;}
	#popup-window-overlay-popupFM {width: 100%;}
	#popupFM {width: 90%;}

	#popup-window-content-popupFM .adm-photoeditor-sidebar-options {display: none;}
	#popup-window-content-popupFM .adm-photoeditor-buttons-panel .adm-photoeditor-btn-turn-l,
	#popup-window-content-popupFM .adm-photoeditor-buttons-panel .adm-photoeditor-btn-turn-r,
	#popup-window-content-popupFM .adm-photoeditor-buttons-panel .adm-photoeditor-btn-flip-v,
	#popup-window-content-popupFM .adm-photoeditor-buttons-panel .adm-photoeditor-btn-flip-h,
	#popup-window-content-popupFM .adm-photoeditor-buttons-panel .adm-photoeditor-btn-grayscale,
	#popup-window-content-popupFM .adm-photoeditor-btn-sign,
	#popup-window-content-popupFM .adm-photoeditor-buttons-panel-save,
	#popup-window-content-popupFM .adm-photoeditor-buttons-panel .adm-photoeditor-btn-edit	{display: none;}
	#popup-window-content-popupFM .adm-photoeditor-sidebar {width: 100px;}
	#popup-window-overlay-popupFM {display: none !important;}


	.adm-fileinput-area .adm-fileinput-drag-area-hint {margin-top: 35px;}
	.bxu-popup { -webkit-touch-callout: unset !important;}

    input[type="checkbox"] + label{
        height: 50px;
    }
}


.adm-photoeditor-scale-indicator, 
.adm-photoeditor-crop-area-root,
.adm-photoeditor-crop-area-root *,
.adm-photoeditor-crop-pointer, 
.adm-photoeditor-crop-pointer * {
  touch-action: none;
}

.loadings {
    background: url(../img/preloader.gif) no-repeat scroll center center rgba(0, 0, 0, 0) !important;
    border-color: rgba(0, 0, 0, 0) !important;
    color: rgba(0, 0, 0, 0) !important;
    cursor: default !important;
}

.alert.warning-date {color: red;}


@media (max-width: 556px){

	.profile-card_img{
		min-width: 40px;
		min-height: 40px;
	}

	.profile-card_img_circle{
        width: 40px;
        height: 40px;
		font-size: 16px;
    }
}