* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	font-size: 16px;
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}
body {
  	background-color: #435165;
}
#global-loader {
    background: #fff;
    position: fixed;
    z-index: 999999;
    width: 100%;
    height: 100vh;
    display:flex;
    align-items: center;
    justify-content: center;
}
#global-loader .whirly-loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  border-top: 3px solid #000;
  border-right: 3px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
.login {
  	width: 400px;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.login h1 {
  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.login form > label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}
.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}
.navtop {
	background-color: #2f3947;
	height: 60px;
	width: 100%;
	border: 0;
    margin-bottom: 10px;
}
.navtop div {
	display: flex;
	height: 100%;
}
.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}
.navtop div h1 {
	flex: 1;
	font-size: 24px;
	padding: 0;
	margin: 0;
	color: #eaebed;
	font-weight: normal;
}
.navtop div a {
	padding: 0 20px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}
.navtop div a i {
	padding: 2px 8px 0 0;
}
.navtop div a:hover {
	color: #eaebed;
}
body.loggedin {
	background-color: #f3f4f7;
}
.content {
	width: 1000px;
	margin: 0 auto;
}
.content h2 {
	margin: 0;
	padding: 25px 0;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}
.content > p, .content > div {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	margin: 25px 0;
	padding: 25px;
	background-color: #fff;
}
.content > p table td, .content > div table td {
	padding: 5px;
}
.content > p table td:first-child, .content > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}
.content > div p {
	padding: 5px;
	margin: 0 0 10px 0;
}
.element {
    padding: 5px 10px;
    text-align: center;
    color: white;
    border-radius: 5px;
}
.element.povoleny {
    background: green;
}
.element.blokovany {
    background: red;
}
.lds-ripple {
  display: none;
  width: 80px;
  height: 80px;
  position: absolute;
  left: 50%;
  top: 90px;
  margin: 0 auto;
  transform: translate(-50%);
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #2f3947;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}
#klienti.loadingtable .lds-ripple {
    display:inline-block;
}
#klienti {
    position: relative;
}
#klienti.loadingtable tbody {
    opacity: 0.3;
}
.searchfield {
    text-align: center;
    margin: 10px 0px;
    padding-bottom: 10px;
}
.sorting:after {
    content: "\f0d8";
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    padding-left: 5px;
}
.sorting-desc:after {
    content: "\f0d7";
}
.klient-content td {
    padding-top: 0px !important;
    padding-bottom: 0px !important;   
}
.klient-content {
    height: 0px;
    transition: all 0.5s ease;
    overflow: hidden;
}
.klient-content.show-klient-content {
    height: 150px;
}
.klient-content:not(.show-klient-content) td {
    display: none;
}
button.loadingbutton {
    opacity: 0.5;
}
button.stateok {
    background-color: green !important;
    color: white !important;
    border-color: green !important;
}
button.statebad {
    background-color: red !important;
    color: white !important;
    border-color: red !important;
}
.table thead th, .table tbody td {
    vertical-align: middle !important;
}
.skolenieloader {
    text-align: center;
    position: relative;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    min-width: 100px;
    overflow: hidden;
    background: linear-gradient(90deg, rgb(255 122 122) 0%, rgb(151 255 108) 100%);
}
.skolenieloader span {
    position: relative;
    z-index: 1;
}
.skoleniecontent {
    width: 100%;
    position: absolute;
    background: white;
    top: 0;
    right: 0;
    height: 34px;
}
.calendar table {
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 4px;
    width: 100%;
    border: 1px solid #e0e0e0;
    color: black;
}
.calendar table th {
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    font-weight: 500;
}
.calendar table td {
    position: relative;
    vertical-align: top;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}
.calendar table td:hover, .calendar table td:active, .calendar table td.active {
    background-color: #eeeeee;
}
.calendar table.month td {
    padding-top: 30px;
    height: 100px;
}
.calendar table td .day-field-wrapper .day-field {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: .7rem;
}
.calendar table td .day-field-wrapper {
    position: absolute;
    display: flex;
    justify-content: center;
    left: 0;
    top: 5px;
    width: 100%;
    pointer-events: none;
}
.calendar table td.disabled .day-field-wrapper .day-field {
    color: #4f4f4f80;
}        
.calendar table .events-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 3px);
    margin-left: -1px;
}         
.calendar .calendar-tools .calendar-heading {
    font-size: 1.4rem;
    font-weight: bold;
}
.calendar .calendar-tools .btn-link {
    color: #4f4f4f;
    padding: 6px 16px;
}
.calendar .calendar-tools .btn-link:hover {
    background-color: #eeeeee;
    text-decoration: none;
}
.calendar table td.today .day-field-wrapper .day-field {
    color: #ffffff;
    background-color: #4e73df;
}
.calendar table.list th {
    text-align: left;
    padding: 5px 10px;
    background-color: #eeeeee;
}
.calendar table.list td {
    padding: 5px 10px;
    cursor: pointer;
}
.btn.btn-custom {
    color: white;
    position: relative;
    overflow: hidden;
    border: none;
}
.btn.btn-custom:before {
    content: "";
    display: block;
    opacity: 0; 
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}
.btn.btn-custom:hover:before {
    background-color: black;
    opacity: 0.1;    
}