@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f5f7f9;
}

header {
    background-color: #292929;
    width: 100%;
    height: 80px;
    position: relative;
}

header .logo {
    position: absolute;
    top: 50%; left: calc(15% / 2);
    transform: translateY(-50%);
    padding-left: 60px;
    color: #fff;
    font-size: 12px;
    z-index: 100000;
}

header .logo img {
    height: 45px;
}

header .logo::first-line {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.opened {
    height: 100vh;
    overflow: hidden;
}

.layout {
    margin: 0px auto;
    width: 85%;
}

.layout.user {
    margin-top: 40px;
}

.user .datum {
    text-transform: lowercase!important;
}

h3 {
    font-weight: 600;
    font-size: 22px;
    margin: 40px 0px;
    color: #222;
    text-align: left;
}

h4 {
    font-weight: 600;
    font-size: 17px;
    margin: 40px 0px;
    color: #222;
    text-align: left;
}

h5 {
    text-align: left;
    font-size: 14px;
    color: #222;
    font-weight: 600;
    margin-bottom: 10px;
}

.training-list {
    text-align: center;
}

.training-list .item {
    width: 100%;
    height: 65px;
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 5px;
    background-image: url('../img/arrow.svg');
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center right 15px;
    position: relative;
    color: #afb1b5;
    font-size: 13px;
    text-align: left;
}

.training-list .item p {
    position: absolute;
    left: 15px; top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.training-list .item p::first-line {
    color: #151727;
    font-weight: 600;
}

.training-list .item.waiting span.time {
    background-color: #ffb82f;
}

.training-list .item.done span.time {
    background-color: #d1d1d1;
}

.training-list .item span.time {
    position: absolute;
    top: 50%; right: 46px;
    transform: translateY(-50%);
    border-radius: 20px;
    color: #fff;
    padding: 3px 12px;
    font-size: 13px;
}

.training-list .item:last-of-type {
    margin-bottom: 0px;
}

.training-list .item span.datum {
    display: block;
    font-size: 12px;
}

.alert {
    background-color: #fff;
    padding: 20px;
    font-size: 14px;
    color: #222;
    font-weight: 400;
}

.alert.success {
    border-left: 3px solid #28B463;
    margin-bottom: 40px;
}

.alert.warning {
    border-left: 3px solid #E74C3C;
}

.alert.info {
    border-left: 3px solid #f1c40f;
}

span.warning {
    color: #E74C3C;
}

span.success {
    color: #28B463;
}

span.info {
    color: #22a6b3;
}

.time.info {
    background-color: #22a6b3!important;
}

a.btn, button {
    display: inline-block;
    width: auto;
    height: 50px;
    line-height: 50px;
    color: #fff;
    font-size: 13px;
    background-color: #292929;
    padding: 0px 25px;
    margin: 0px auto;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
    border: 0px;
    cursor: pointer;
}

a.btn.warning-btn, button.warning-btn {
    background-color: #E74C3C;
    box-shadow: rgba(231, 76, 60, 0.15) 0px 15px 25px, rgba(231, 76, 60, 0.05) 0px 5px 10px;
    color: #fff;
}

a.btn#pridatTrenink {
    margin-bottom: 40px;
}

.modal {
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10003;
    overflow: hidden;
}

.modal img.close {
    height: 25px;
    width: 25px;
    float: right;
    margin: calc(15vw / 2) calc(15vw / 2) 0 0;
    cursor: pointer;
    z-index: 10001;
}

.modal.menu {
    padding-top: 80px;
    box-sizing: border-box;
    background-color: rgba(41, 41, 41, 0.98);
    z-index: 10001!important;
}

.modal h4 {
    text-align: center!important;
}

.modal textarea {
    width: 100%;
    border: 0px;
    height: auto;
    outline: none;
}

.modal-footer {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

ul {
    list-style-type: none;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

ul li {
    width: auto;
    margin-bottom: 15px;
    text-align: center;
}

ul li:last-of-type {
    margin-bottom: 0px;
}

ul li a {
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
}

ul li.submenu a {
    background-image: url('../img/down-arrow-white.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 12px;
    padding-right: 20px;
}

ul li.opened-submenu ul {
    display: block!important;
}

ul li.opened-submenu a {
    display: block!important;
    background-image: url('../img/down-arrow-white-up.svg');
    padding-right: 0px;
}

ul li ul {
    display: none;
    width: 100%;
    position: relative;
    transform: unset;
    left: unset;
    top: unset;
    margin-top: 10px;
    overflow: hidden;
}

ul li ul li {
    padding-right: 0px;
    width: auto;
}

ul li ul li a {
    font-weight: 300;
    font-size: 18px;
    background-image: unset!important;
}

.center {
    position: absolute;
    top: 50%;
    width: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pridat input, .pridat select, .login input, select {
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    background-color: rgb(251, 251, 251);
    -webkit-appearance: none;
    border: 1px solid rgb(245, 245, 245);
    border-radius: 5px;
    padding: 0px 20px;
    outline: none;
    cursor: pointer;
}

select {
    background-image: url('../img/down-arrow.svg');
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: right 25px center;
}

.pridat input {
    margin-bottom: 20px;
}

.calendar {
    margin: 40px 0px;
    overflow: hidden;
}

.calendar table {
    width: 100%;
    border-collapse:collapse;
}

.calendar h4 {
    font-size: 16px;
    text-transform: uppercase;
    color: #292929;
    display: inline-block;
}

.calendar span.rok {
    font-size: 12px;
    color: #afb1b5;
    display: block;
    margin-bottom: 40px;
}

.calendar tr.th {
    font-size: 13px;
    color: #afb1b5;
    height: 40px;
}

a.day {
    display: block;
    text-decoration: none;
    width: calc((85vw / 7) - 4px);
    height: calc((85vw / 7) - 4px);
    border-radius: calc((85vw / 7) - 4px);
    line-height: calc((85vw / 7) - 4px);
    font-size: 13px;
    color: #292929;
    object-fit: cover;
    margin: 0px auto;
}

a.day.active {
    background-color: #292929;
    color: #fff;
}

.login {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    text-align: center;
}

.login input {
    margin-bottom: 10px;
    text-align: center;
    outline: none;
}

.login h2 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 20px;
}

.full {
    width: 100%;
    overflow: hidden;
}

.new-payment {
    text-align: center;
}

.new-payment input, select {
    margin-bottom: 20px;
    height: 50px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 5px;
    background-color: rgb(251, 251, 251);
    border: 1px solid rgb(245, 245, 245);
    outline: none;
    padding: 0px 20px;
    -webkit-appearance: none!important;

}

label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: left;
    width: 100%;
    display: block;
    margin-bottom: 5px;
}

#nav-icon3 {
    width: 40px;
    position: absolute;
    right: calc(15vw / 2);
    height: 21px;
    top: calc((80px - 21px) / 2);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 10002;
  }
  
  #nav-icon3 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
  }

#nav-icon3 span:nth-child(1) {
    top: 0px;
  }
  
  #nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
    top: 9px;
  }
  
  #nav-icon3 span:nth-child(4) {
    top: 18px;
  }

  #nav-icon3.open span {
      background: #fff!important;
  }

  #nav-icon3.open.dark span {
    background: #292929!important;
}
  
  #nav-icon3.open span:nth-child(1) {
    top: 9px;
    width: 0%;
    left: 50%;
  }
  
  #nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  #nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  
  #nav-icon3.open span:nth-child(4) {
    top: 9px;
    width: 0%;
    left: 50%;
  }

table.members {
    width: 100%;
    border-collapse:collapse;
}

table.members thead tr th {
    text-align: left;
    text-transform: uppercase;
    font-size: 12px;
    color: #292929;
    padding-bottom: 15px;
}

table.members tbody tr {
    width: 100%;
    background-color: #fff;
    height: 60px;
    text-align: left;
    border-bottom: 3px solid #f5f7f9;
    font-size: 12px;
}

table.members tbody tr td.jmeno {
    color: #888;
    padding-left: 20px;
}

table.members tbody tr td.telefon a {
    background-color: rgb(245, 245, 245);
    padding: 5px 15px;
    color: #888;
    text-decoration: none;
}

table.members tbody tr td.status {
    font-weight: 600;
}

.button-cover, .knobs, .layer
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.button
{
    position: relative;
    top: 50%;
    width: 35px;
    height: 18px;
    overflow: hidden;
}

.button.r, .button.r .layer
{
    border-radius: 100px;
}

.button.b2
{
    border-radius: 2px;
}

.checkbox
{
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.knobs
{
    z-index: 2;
}

.layer
{
    width: 100%;
    background-color: #f1f2f3;
    transition: 0.3s ease all;
    z-index: 1;
}

/* Button 1 */
#button-1 .knobs:before
{
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    background-color: rgb(177, 177, 177);
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

#button-1 .checkbox:checked + .knobs:before
{
    content: '';
    left: 21px;
    background-color: #28B463;
}

#button-1 .knobs, #button-1 .knobs:before, #button-1 .layer
{
    transition: 0.3s ease all;
}

.logout {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    font-size: 13px;
    color: #fff;
    background-image: url('../img/turn-off.svg');
    background-size: 16px;
    background-repeat: no-repeat;
    padding-left: 24px;
    background-position: left center;
}

.links {
    text-align: left;
    margin-bottom: 45px;
}

.links a {
    margin-top: 0px;
    text-decoration: none;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
}

a.prev, a.next {
    display: inline-block;
    background-color: #292929;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

a.prev {
    float: left;
    background-image: url('../img/prev.svg');
}

a.next {
    float: right;
    background-image: url('../img/next.svg');
}

.chart {
    width: 100%;
}

.stat.noformat {
    width: 100%;
    height: 65px;
    background-color: #fff;
    box-sizing: border-box;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 13px;
    position: relative;
}

.stat.noformat span {
    position: absolute;
    top: 50%; left: 15px;
    text-align: left;
    transform: translateY(-50%);
    color: #afb1b5;
}

.stat.noformat span::first-line {
    color: #222;
    font-weight: 600;
}

.page {
    text-align: left;
}

.page h4 {
    margin: 10px!important;
}

.page p {
    font-size: 14px;
    padding-left: 50px;
}

@media only screen and (min-width: 769px) {
    .login .center {
        max-width: 350px;
        
    }

    .calendar {
        width: 350px;
        margin: 40px auto;
    }

    a.day {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
}

* {
    padding: 0px;
    margin: 0px;
    font-family: 'Open Sans', sans-serif;
}