*{
	margin: 0;
	padding: 0;
	outline: 0;
	appearance: none;
	border: 0;
	text-decoration: none;
	box-sizing: border-box;
}

html{
	font: 14px normal verdana, sans-serif; 
}

html, body{
	width: 100vw;
	height: 100vh;
	/* height: calc(100vh - 56px); */ 
	margin: 0px;
	padding: 0px;
} 

:root{
	/* background */
	--bg-color: #eef2f3;
	--bg-box-color: #fff;
	--bg-day: #c8c8c8;
	--bg-header-table-color: #e8ebec;
	--bg-header-footer-color: #fff;

	/* color */
	--primary: #444;
	--black: #000;
	--white: #fff;
	--purple: #F00892;/* #8623E4 */;
	--blue: #2777EB;
	--rgb130: rgb(130 130 130);
}

.dark{
	/* background */
	--bg-color: #282B4C;
	--bg-box-color: #353767;
	--bg-day: #828282;

	/* color */
	--primary	: #9b9dbd;
}

body{
	/* background-image:
        radial-gradient(
            circle at 86% 7%,
            rgba(40, 40, 40, 0.04) 0%,
            rgba(40, 40, 40, 0.04) 50%,
            rgba(200, 200, 200, 0.04) 50%,
            rgba(200, 200, 200, 0.04) 100%
        ),
        radial-gradient(
            circle at 15% 16%,
            rgba(99, 99, 99, 0.04) 0%,
            rgba(99, 99, 99, 0.04) 50%,
            rgba(45, 45, 45, 0.04) 50%,
            rgba(45, 45, 45, 0.04) 100%
        ),
        radial-gradient(
            circle at 75% 99%,
            rgba(243, 243, 243, 0.04) 0%,
            rgba(243, 243, 243, 0.04) 50%,
            rgba(37, 37, 37, 0.04) 50%,
            rgba(37, 37, 37, 0.04) 100%
        ),
        linear-gradient(rgb(34, 222, 237), rgb(135, 89, 215)); */
	background-color: var(--bg-color);
	color: var(--primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 10px 10px 7px 10px;
	text-align: center;
}

.pt-5{
  padding-top: 5px;
}

.pt-10{
  padding-top: 10px;
}

.pb-5{
  padding-bottom: 5px;
}

header, section, footer{
	margin: 0px;
	padding: 0px;
	float: left;
}
/* Header */
header{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 50px;
	background-color: var(--bg-box-color);
	box-shadow: 0px 4px 8px -4px rgb(68 68 68 / 40%);
}

/* Back */
	header .btn-back{
		position: relative;
		width: 50px;
		height: 100%;
		font-size: 20px;
		text-align: center;
		float: left;
	}
	/* Icon */
		header .btn-back i{
			position: absolute;
			width: 20px;
			height: 20px;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
		}
	/* Img */
		header .btn-back img{
			height: 32px;
			margin: 10px 3px;
		}
/* Title */
	header .title{
		width: calc(100% - 100px);
		height: 100%;
		font-size: 20px;
		line-height: 48px;
		text-align: center;
		float: left;
	}
/* User */
	header .day-night{
		position: relative;
		width: 50px;
		height: 100%;
		font-size: 20px;
		text-align: center;
		float: left;
	}
	/* Icon */
		header .day-night i{
			position: absolute;
			width: 20px;
			height: 20px;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
		}

		body header .day-night i.fa-sun{
			display: none;
		}

		body header .day-night i.fa-moon{
			display: block;
		}

		body.dark header .day-night i.fa-sun{
			display: block;
		}

		body.dark header .day-night i.fa-moon{
			display: none;
		}

/* Section */
section{
	position: fixed;
	top: 50px;
	left: 0px;
	width: 100%;
	height: calc(100vh - 100px);
	/* height: calc(100vh - 156px); */
	overflow-y: auto;
}

section .clear{
	width: 100%;
	height: 10px;
	float: left;
}

/* Footer */
footer{
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 50px;
	background-color: var(--bg-box-color);
	box-shadow: 0px -4px 8px -4px rgb(68 68 68 / 40%);
}
/* List */
	footer ul{
		list-style-type: none;
		width: 100%;
		height: 100%;
		margin: 0px;
		padding: 0px;
		font-size: 20px;
	}
	/* List items */
		footer ul li{
			position: relative;
			width: calc(100% / 3);
			height: 100%;
			text-align: center;
			float: left;
		}
		/* List items icon */
			footer ul li i{
				position: absolute;
				width: 20px;
				height: 20px;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
				color: var(--rgb130);
			}
			/* active */
			footer ul li.active i{
				color: var(--blue);
			}

			footer ul li.add i{
				position: absolute;
				width: 40px;
				height: 40px;
				border-radius: 50%;
				top: 50%;
				left: 50%;
				font-size: 30px;
				transform: translate(-50%, -50%);
				background-color: var(--purple);
				color: var(--white);
				line-height: 40px;
				box-shadow: 0px 0px 8px 0px rgb(68 68 68 / 40%);
			}

			footer ul li.add.active i{
				background-color: var(--blue);
			}


/* Inputs & Label & button */
label{
	margin-left: 4px;
	color: var(--silver);
	font-size: 12px;
	font-style: italic;
}

textarea{	
	width: 100%;
	min-height: 90px;
	border: 1px solid var(--bg-day);
	background-color: var(--bg-color);
	border-radius: 3px;
	margin: 6px 0px 10px 0px;
	padding: 5px 10px;
	color: var(--primary);
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="date"],
input[type="datetime-local"],
select{
	width: 100%;
	height: 30px;
	border: 1px solid var(--bg-day);
	background-color: var(--bg-color);
	border-radius: 3px;
	margin: 6px 0px 10px 0px;
	padding: 0px 10px;
	color: var(--primary);
}

input.reverse{
	background-color: var(--bg-color);
}

input.w50{
	width: 50%;
}

.search{
	width: calc(100% - 20px) !important;
	margin: 5px 10px 10px 10px !important;
	padding: 5px 10px !important;
}

input[type="time"]{
	width: 80px;
	background-color: var(--bg-box-color);
}

input[type="time"]:disabled{
	color: var(--disabled);
}

input[type=time]::-webkit-datetime-edit-fields-wrapper{
  display: flex;
}

input[type=time]::-webkit-datetime-edit-text{
  padding: 5px 0px;
}

input[type=time]::-webkit-datetime-edit-hour-field,
input[type=time]::-webkit-datetime-edit-minute-field{
  background-color: var(--silver-light);
	border: 1.5px solid var(--purple);
  border-radius: 15%;
  padding: 5px 2px;
}

input[type="time"]:disabled::-webkit-datetime-edit-hour-field,
input[type="time"]:disabled::-webkit-datetime-edit-minute-field{
	border: 1.5px solid var(--silver);
}

button.btn{
	width: 100%;
	height: 30px;
	margin-top: 10px;
	background-color: var(--blue);
	border: 1px solid rgba(var(--black-rgb), 0.3);
	border-radius: 4px;
	color: var(--white);
	text-align: center;
	cursor: pointer;
}

button.btn:active{
	filter: brightness(0.9);
}

button.btn:disabled{
	background-color: var(--silver-light);
	color: var(--disabled);
	border-color: var(--silver);
}

button#zobraz-down-list{
	width: calc(100% - 20px);
	margin: 5px 10px 0px 10px;
}

button#pridat-polozku{
	position: sticky;
	bottom: -10px;
}

.btn50{
	width: calc(50% - 5px) !important;
}
/* Inputs & Label end */

/* Box */
.box{
	min-height: 100px;
	background-color: var(--bg-box-color);
	margin: 10px 0px 0px 10px;
	padding: 5px;
	border-radius: 8px;
	box-shadow: 0px 0px 8px 0px rgb(68 68 68 / 40%);
	float: left;
}

.box .header{
  width: 100%;
  height: 36px;
  padding: 5px;
  border-bottom: 1px solid var(--bg-day);
  font-size: 18px;
  /* font-weight: bold; */
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
}

.box.full{
	width: calc(100% - 20px);
}

.box.two{
	width: calc(calc(100% - 30px) / 2);
}

.box.tree{
	width: calc(calc(100% - 40px) / 3);
}

/* 1/2 */
.box.w1-2{
	width: calc(calc(100% - 30px) / 2);
}

/* 1/3 */
.box.w1-3{
	width: calc(calc(100% - 40px) / 3);
}

/* 2/3 */
.box.w2-3{
	width: calc(calc(calc(100% - 25px) / 3) * 2);
}

/* kalendář */
section .calendar{
	width: calc(100% - 20px);
}

section .calendar.week{
	margin: 10px 10px;
}

section .calendar .day{
	width: calc(calc(100% / 7) - 14px);
	height: 100%;
	margin: 10px 8px;
	text-align: center;
	float: left;
}

section .calendar .day:first-child{
	margin-left: 0px;
}

section .calendar .day:last-child{
	margin-right: 0px;
}

section .calendar .day .name{
	width: 100%;
	padding: 10px 0px;
	color: var(--primary);
}

section .calendar .day .date{
	width: 100%;
	padding: 10px 0px;
}

section .calendar .day.current,
section .calendar .day.active{
	background-color: var(--blue);
	border-radius: 20px;
	box-shadow: 0px 0px 8px 0px rgb(68 68 68 / 40%);
}

section .calendar .day.current.select{
	background-color: var(--bg-box-color);
	border-radius: 20px;
}

section .calendar .day.current.select .date span{
	background-color: var(--bg-day);
}

/* section .calendar .day.current .name, */
section .calendar .day.active .name{
	width: 100%;
	padding: 10px 0px;
	color: var(--white);
}

section .calendar .day.current .date span,
section .calendar .day.active .date span{
	background-color: var(--white);
	color: var(--black);
	padding: 5px;
	border-radius: 50%;
}
/* kalendář end */

/*  */
.hide{
	display: none;
}

ul.seznam-ukolu{
  list-style-type: none;
}

ul.seznam-ukolu li{
  display: flex;
  /* padding: 10px 0px; */
}

ul.seznam-ukolu li[data-hotovy="1"]{
  background-color: #8ee39d;
}

ul.seznam-ukolu li:not(:last-child){
  border-bottom: 1px solid var(--bg-day);
}

ul.seznam-ukolu li .predmet{
  width: 80px;
  font-size: 28px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul.seznam-ukolu li .popis{
  width: -webkit-fill-available;
  padding: 5px;
}

ul.seznam-ukolu li .datum-btn{
  width: 80px;
  padding: 5px;
  font-size: 12px;
  font-weight: bold;
}

ul.seznam-ukolu li .datum-btn .datum-vlozeni{
  display: block;
  padding: 0px 0px 5px 0px;
  font-weight: normal;
  font-style: italic;
}

ul.seznam-ukolu li .datum-btn .datum-odevzdani{
  display: block;
  padding: 0px 0px 5px 0px;
  font-weight: normal;
  font-style: italic;
}

ul.seznam-ukolu li .datum-btn .datum-vykonani{
  display: none;
  padding: 0px 0px 5px 0px;
  font-weight: normal;
  font-style: italic;
}

ul.seznam-ukolu li[data-hotovy="1"] .datum-btn form{
  display: none;
}

ul.seznam-ukolu li[data-hotovy="1"] .datum-btn .datum-vykonani{
  display: block;
}

.bez-zaznamu{
  display: flex;
  width: 100%;
  height: 45px;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  font-size: 16px;
  font-style: italic;
}



/* ================================ Change style dark =================================== */

body.dark header,
body.dark footer{
	background-color: var(--bg-box-color);
	box-shadow: none;
}

/* Cviky */
.cviky{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
	grid-template-rows: repeat(auto, 1fr);
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	justify-items: stretch;
	align-items: stretch;
	margin: 5px;
}

.cviky .cvik{
	/* width: 50px;*/
	height: 50px;
	/* border: 1px solid var(--primary); */
	box-shadow: 0px 0px 4px 0px rgb(68 68 68 / 40%);
}

.cvik[data-typ="klik"]{
	background: url(../img/other/cviky/klik.png) center center no-repeat;
}

.cvik[data-typ="drep"]{
	background: url(../img/other/cviky/drep.png) center center no-repeat;
}

.cvik[data-typ="vypady"]{
	background: url(../img/other/cviky/vypady.png) center center no-repeat;
}

.cvik[data-typ="panevni-most"]{
	background: url(../img/other/cviky/panevni-most.png) center center no-repeat;
}

.cvik[data-typ="plank"]{
	background: url(../img/other/cviky/plank.png) center center no-repeat;
}
/*Cviky end*/