/* CSS Document */

 html, body {
 /*height: 100%;*/
 margin: 0;
 padding: 0;
 font-family: Roboto, Helvetica, sans-serif;
 font-size: 1em;
 font-weight: 400;
 color: #38386e;
 background-color: #eaeaea;
} 
* {box-sizing: border-box;}
   
form {
 margin: 0;
 padding: 0;
 display: inline;
}

.ico {
 width: 20px;
 height: 20px;
 vertical-align: -6px;
 opacity: 1;
}
.ico:hover {
 /*cursor: pointer;*/
 opacity: 1;
 animation: rotation 1s infinite linear;
 animation-iteration-count: 1;
}
@keyframes rotation {

  50% {
    transform: rotate(-15deg)
  }
  
}

 
.pointer {
 cursor: pointer;
}
.not-allowed {
 cursor: not-allowed!important;
}
.return {
 padding: 5px;
 font-size: .9em;
 color: red;
 background-color: #d1d1e5;
 }

.no-border {
 border: 0!important;
}

.beh{background-color: #48d684; font-size: .9em; border-radius: 3px; display: inline-block; padding: 2px 5px; margin: -2px 2px;}/*zelená probíhají*/
.cek{background-color: #ece982; font-size: .9em; border-radius: 3px; display: inline-block; padding: 2px 5px; margin: -2px 2px;}/*lutá*/
.pro{background-color: #ff5b5b; font-size: .9em; border-radius: 3px; display: inline-block; padding: 2px 5px; margin: -2px 2px;}/*červená proběhly*/

.green {color: #0fcb9a;}
.bg-green {background-color: #98fb98;}

.novy_import {
 display: none; 
 position: absolute; 
 left: 0px;  
 top: 79px;  
 width: 100%; 
 z-index: 200;
}

.email-send {
 width: 20%!important; 
 font-size: .9em;  
 background-color: #d1d1e5;
 color: #fff;
}

.email-stav, .email-odvl {
 font-size: .9em;  
 background-color: #d1d1e5;
 color: #fff;
}
.email-stav > span:nth-child(1) {background-color: #ad0c6b; border-radius: 3px; padding: 2px 5px; margin: 1px; display: inline-block;}
.email-stav > span:nth-child(2) {background-color: #35bb6e; border-radius: 3px; padding: 2px 5px; margin: 1px; display: inline-block;}
.email-stav > span:nth-child(3) {background-color: #ff3939; border-radius: 3px; padding: 2px 5px; margin: 1px; display: inline-block;}
.email-stav > span:nth-child(4) {background-color: #307fe3; border-radius: 3px; padding: 2px 5px; margin: 1px; display: inline-block;}
.email-odvl > span:nth-child(1) {background-color: #81819d; border-radius: 3px; padding: 2px 5px; margin: 1px; display: inline-block;}

.napoveda { font-size: .9em; }
.napoveda img { 
 margin: 2px;
 }

/********************************************************************************/

.tr {
 display: flex;
 flex-direction: row;
 align-items: stretch;
 border-top: 1px solid #d1d1e5;
 border-left: 1px solid #d1d1e5;
 border-bottom: 1px solid #d1d1e5;
 margin: 1px 0;  
 background-color: #f7f7fe;
}
.trtop {
 display: flex;
 flex-direction: row;
 align-items: stretch;
 border-top: 1px solid #d1d1e5;
 border-left: 1px solid #d1d1e5;
 border-bottom: 1px solid #d1d1e5;
 border-right: 1px solid #d1d1e5;
 font-size: .9em;
 padding: 0;
 margin-top: 1px;
 background-color: #d1d1e5;
}
.td {
 width: 33%;
 padding: .5% 1%;
 border-right: 1px solid #d1d1e5;
}
.tdtop {
 width: 33%;
 padding: .5% 1%;
 border-right: 0px solid #fff;
}
 
/*******************************************************************************/

#flip-volby {
 color: white;
 font-weight: 500;
 padding: 8px;
 margin-bottom: 5px;
 border-radius: 0;
 width: 130px;
 text-align: center;
 cursor: pointer;
 border-bottom: 0px solid #fff;
 background-color: #acacc0;
 transition: background .3s;
}
#flip-volby:hover {
 background-color: #6c6c9d;
} 
#panel-volby {
 margin-top: -5px;
 margin-bottom: 10px;
}  
.volby-trtop {
 display: flex;
 flex-direction: row;
 align-items: stretch;
 color: #333364;
 border-top: 1px solid #acacc0;
 border-left: 1px solid #acacc0;
 margin-top: 40px;
 border-radius: 0;  
 background-color: #acacc0;
}
.volby-tdtop {
 width: 33%;
 padding: 1%;
 border-right: 1px solid #fff;
}
.volby-td {
 width: 33%;
 padding: 1%;
 border-right: 0px solid #acacc0;
}
.volby-tdtop input[type="text"], .volby-td input[type="text"], .td input[type="text"], .td input[type="fil"] {
  border: 1px solid #414181; 
  /*background-color: #fff;*/
  height: 30px;
  width: 100%;
  margin-top: 0;
  border-radius: 2px;
  font-size: 14px;
  padding: 0 2%;
}
.volby-tdtop input[type="date"] {
  border: 1px solid #414181; 
  /*background-color: #fff;*/
  height: 30px;
  width: 49%;
  margin-top: 0;
  border-radius: 2px;
  font-size: 14px;
  padding: 0 2%;
}
.td input[type="file"] {
  height: 30px;
  width: 100%;
  margin-top: 0;
  font-size: 14px;
  padding: 3px 2%;
}

@media only screen and (max-width: 670px) {
 .volby-tdtop input[type="date"] {
 width: 100%;
 }
}

.volby-td input[type="submit"], .td input[type="submit"] {
 font-size: 16px;
 margin: 0; 
 min-width: 100%!important;
 width: 100%!important;
 height: 30px;
 color: #fff;
 cursor: pointer;
 font-weight: 500;
 position: relative;
 overflow: hidden;
 border-radius: 2px; 
 background-color: #6c6c9d;
 border: none;
 transition: background .3s ease;
 }
.volby-td input[type="submit"]:hover, .td input[type="submit"]:hover {
 background-color: #555596;
}
.volby-td input[type="submit"]:disabled, .td input[type="submit"]:disabled {
 background-color: #000111;
}
.volby-return {
 padding: 5px;
 font-size: .9em;
 color: red;
 border-bottom: 1px solid #fff;
 background-color: #acacc0;
 }
 
input:valid,
textarea:valid,
date:valid {
 background-color: #d0ebc2;
}

textarea {
 width: 100%;
 height: 400px;
 }



input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
input[type="checkbox"]:focus {
  outline: 0;
}
.toggle {
  height: 20px;
  width: 38px;
  border-radius: 12px;
  border: 0px solid rgba(255,255,255,1);
  display: inline-block;
  margin: 0;
  padding: 0;
  background-color: rgba(158,0,93,1)!important;
  transition: all .2s ease;
  z-index: 2;
  position: relative;
  vertical-align: middle;
}
.toggle:after {
  content: "";
  text-align: center;
  font: 11px "Arial";
  line-height: 12px;
  color: #ff5f40;
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255,255,255,1);
  /*box-shadow: 0 1px 2px rgba(44,44,44,.2);*/
  transition: all 0.3s cubic-bezier(0.5,0.1,0.75,1.35);
}
.toggle:checked {
  background-color: rgba(40,190,100,1)!important;
}
.toggle:checked:after {
  content: "1";
  color: #28be64;
  text-align: center;
  transform: translatex(18px);
}

.toggle:disabled {
  height: 20px;
  width: 38px;
  border-radius: 12px;
  border: 0px solid rgba(255,255,255,1);
  display: inline-block;
  margin: 0;
  padding: 0;
  background-color: rgba(155,155,155,1)!important;
  transition: all .2s ease;
  z-index: 2;
  position: relative;
  vertical-align: middle;
  cursor: not-allowed!important; 
}
