body {margin: 0px 2px 10px 2px;}

.clear {display: block; clear: both; float: none;}

input {  width: 200%; }
.chec {  width: 0; }

.kartaadd input { width: 100%; }
.malyfiltr input { width: 100%; }

.kartaadd textarea { width: 100%; }

.buton {  width: auto;
          background: rgb(102,153,255);
          padding: 10px;
          font-weight: bolder;
          font-size: large;
          margin: 2px 8px 2px 2px}
.buton  input { width: 100%; }
          
.mbuton {  //width: 10%;
          background: rgb(102,153,255);
          padding: 3px;
          font-weight: bolder;
          font-size: large;}

.zbuton { width: auto;
          background: rgb(255,255,0);
          padding: 13px 10px 12px 10px;
          font-weight: bolder;
          font-size: large;
position: absolute;
left: 250px;
top: 3px;
}

.inbuton { width: auto;
          background: #6FE12A;
          padding: 13px 10px 12px 10px;
          font-weight: bolder;
          font-size: large;
position: absolute;
left: 480px;
top: 3px;
}

.pbuton { width: auto;
          background: #5AEBF0;
          padding: 13px 10px 12px 10px;
          font-weight: bolder;
          font-size: large;
position: absolute;
left: 585px;
top: 3px;
}

.excel {
          width: 10%;
          background: #6FE12A;
          padding: 3px;
          font-weight: bolder;
          font-size: large;}
          
textarea {  width: 200%; }

.normal {
width: auto;
}

.filtr input { width: 100%; }
.filtr {
    font-family: verdana;
    font-size: 12px;
}

.odsad { padding-right: 22px;}

.kartdataedit input {  width: 100%; }
.kartdataedit textarea {  width: 100%; }
.kartdataedit td, th {border: 1px solid #dddddd;}
.kartdataedit {     font-family: verdana, arial, sans-serif; font-size: 15px;}
.kartdataedit tr:nth-child(even) { background-color: #dddddd; }



.userbox {
/*    position: absolute;   */
    position: fixed;
    right: 4px;
    top: 4px;
    background-color: rgb(183,183,183);
}
/* */
.tabusr { /* tabulka uzivatele */}

.tabkarta {}

.tabklient td, th {
    border: 1px solid #dddddd;
    /*text-align: left;*/
    /*padding: 0px 2px 0px 3px;*/
}
.tabklient input {
width: 100%;
}
    

.tabkartazahlavi { 
                   /*                                          nemělo by rolovat                                                                  */
                   position: -webkit-sticky; 
                   position: sticky; 
                   top: 0px;
                   background-color: #FFFFFF;
                   }


.tabkartazahlavi th { 

                   writing-mode: tb-rl; 
                   min-width: 15px;
                   width: 15px;
                   //padding: 0px 2px 0px 3px;
                   border: 1px solid rgb(0,0,0);
                   text-align: left; 

                      //writing-mode: tb-rl;
                   vertical-align: baseline;

                    min-width: 15px;
                    width: 15px;

                    max-height: 60px;
                    //height: 60px;
                    //line-height: 20px;
                    //padding: 0px 2px 0px 3px;
                      /*
                      -moz-transform: rotate(90deg);
                      writing-mode: vertical-lr;
                      writing-mode: vertical-lr;
                      border: 1px solid rgb(0,0,0);
                      */
                      

                      
                      }
.tabkartazahlavi2 { 
                   /*                                          nemělo by rolovat                                                                  */
                   position: -webkit-sticky; 
                   position: sticky; 
                   top: 0px;
                   background-color: #FFFFFF;
                   }
.tabkartazahlavi2 th {
/* druhý pokus */
Word-wrap: break-word;
}

.kartaadd {}

.kartadata {
border-width:1px;
border-color: #666;
border-style: solid;
margin: 10 auto;
overflow-x:auto;
}

.kartadata tbody tr:hover {
background: none;
}

.kartadata tbody tr:hover {
background-color: #ffed98;
}


.tabklient {
    font-family: verdana, arial, sans-serif;
    font-size: 15px;
    /*border-collapse: collapse;*/
    width: 100%;
}



.tabklient tr:nth-child(even) {
    background-color: #dddddd;
}

/* index boxy */
.blok {display: block; clear: both; float: none;}

.box {
          float: left;
          display: block;
          background: LimeGreen;
          padding: 60px 20px 30px 20px;
          /*padding: 10px;*/
          margin: 10px;
          min-width: 200px;
          min-height: 60px;
          text-align: center;
          text-decoration:none;
          border: 1px solid black;
          color: black;
          font-weight: bold;
}


.index a:hover {
        text-decoration: underline;
        font-weight: bold;          
        font-size: large;
        color: rgb(0,0,0); 
}





/*  */
.ikony {
        display: block;
        float: left;
        padding: 0px 8px 0px 0px;
        }

.ikona  {
        display: block;
        float: left;
        padding: 8px;
        margin: 2px;
        background: rgb(51,153,204);
        text-align: center;
        min-width: 25px;
        min-height: 20px;
        font-weight: bold;
        text-decoration:none;
}
.ikony a:hover  {
        text-decoration: underline;
        font-size: large;
        color: rgb(0,0,0);
}

/*
.odkaz {
        float: left;
        display: block;
        padding: 8px;
        margin: 2px;
        background: Gold;
        text-align: center;
        min-width: 100px;
        min-height: 20px;        
}
*/
a.odkaz {
  font-weight: 700;
  color: white;
  text-decoration: none;
  padding: .8em 1em calc(.8em + 3px);
  border-radius: 3px;
  background: rgb(64,199,129);
  box-shadow: 0 -3px rgb(53,167,110) inset;
  transition: 0.2s;
  display: block;
  margin: 5px;
  float: left;
} 
a.odkaz:hover { background: rgb(53, 167, 110); }
a.odkaz:active {
  background: rgb(33,147,90);
  box-shadow: 0 3px rgb(33,147,90) inset;
}

/************************odkaz jiná barva********************************/
a.dokumentyB {
  font-weight: 700;
  color: white;
  text-decoration: none;
  padding: .8em 1em calc(.8em + 3px);
  border-radius: 3px;
  background: #6699FF;
  box-shadow: 0 -3px #2552F7 inset;
  transition: 0.2s;
  display: block;
  margin: 5px;
  float: left;
} 
a.dokumentyB:hover { background: #2552F7; }
a.dokumentyB:active {
  background: #2552F7;
  box-shadow: 0 3px #2552F7 inset;
}



.b {
font-weight: bold;
}


#myDIV {
display: none;
}

.mbox {
display: block;
float: left;
background-color: #33CC33;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
padding: 5px;
margin: 5px;
min-width: 30px;
min-height: 30px;
line-height: 30px;
text-align: center;
}

.cervena { background-color: #6FE12A; }
.modra { background-color: #5AEBF0; }
.zelena { background-color: #73B932; }
.oranzova { background-color: #FC9510; }
.seda { background-color: #C9B0F3; }
.ruzova { background-color: #FF1493 }
.zelene {background: Lime;}
.zluta {background: #FFFF00;}
.bila {background: #FFFFFF;}


.leva { display: block; float: right;}
.prava { display: block; float: left;}

.amenu {position: fixed; 
background-color:white;
top: 0px; left: 0px; 
z-index: 999;
width: 100%;
height: 55px;
}



/* obarvit výběr */
::-moz-selection {background:#FF0000;color:#fff;}
::selection {background:#FF0000;color:#fff;}




/*login*/
.limiter {
  width: 90%;
  margin: 0 auto;
}

.container-login100 {
  width: 100%;  
  min-height: 85vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;;
}

.wrap-login100 {
  width: 390px;
  background: #fff;
  border-radius: 10px;
  position: relative;
}

.login100-form {
  width: 100%;
}

.login100-form-title {
  font-family: Ubuntu-Bold;
  font-size: 30px;
  color: #403866;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;

  width: 100%;
  display: block;
}

.wrap-input100 {
  width: 100%;
  position: relative;
  background-color: #e6e6e6;
  border: 1px solid transparent;
  border-radius: 3px;
}

.input100 {
  font-family: Ubuntu-Bold;
  color: #403866;
  line-height: 1.2;
  font-size: 18px;

  display: block;
  width: 100%;
  background: transparent;
  height: 62px;
  padding: 0 20px 0 38px;
}

.focus-input100 {
  position: absolute;
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  top: -1px;
  left: -1px;
  pointer-events: none;
  border: 1px solid #827ffe;
  border-radius: 3px;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  -webkit-transform: scaleX(1.1) scaleY(1.3);
  -moz-transform: scaleX(1.1) scaleY(1.3);
  -ms-transform: scaleX(1.1) scaleY(1.3);
  -o-transform: scaleX(1.1) scaleY(1.3);
  transform: scaleX(1.1) scaleY(1.3);
}

.container-login100-form-btn {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

.login100-form-btn {
  font-family: Ubuntu-Bold;
  font-size: 16px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 62px;
  background-color: #827ffe;
  border-radius: 3px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.login100-form-btn:hover {
  background-color: #403866;
}

.p-t-50 {padding-top: 50px;}
.p-b-51 {padding-bottom: 51px;}
.p-b-90 {padding-bottom: 90px;}
.m-b-16 {margin-bottom: 16px;}

.validate-input {
  position: relative;
}


.flex-w {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
}

.flex-sb {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: space-between;
}

.input100:focus + .focus-input100 {
  visibility: visible;
  opacity: 1;

  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.limiter input {
	outline: none;
	border: none;
}
/* login end*/

/* Karda data tabulka */

.KDcode { 
          background: yellow;
          font-weight: bold;
          font-size: larger;
}

.KDmajitel {
          background: #99CCFF; /* #CCFFCC;  oranzova z menu #FC9510;  modra z xls puvodni #99CCFF*/
}

td.KDmajitel:hover {
background-color: #ffed98;
}

.KDspravce {
          background: #CCFFCC; /* #CCFFCC;  oranzova z menu #FC9510;  modra z xls puvodni #99CCFF*/
}
td.KDspravce:hover {
background-color: #ffed98;
}

                                                               /*     doc ****/
.dok {
width: 100%;
}
.dok tr,th {
vertical-align: top;
width: 33%;
}
.dok td {
padding: 8px;
border: 1px solid #DDDDDD;
}    

.add2s {
    /*width:100%;*/
    font-family: verdana, arial, sans-serif;
    font-size: 15px;
}
.add2s input {  
    width: 100%; 
}
.add2s tr:nth-child(even) {
    background-color: #dddddd;
}

.sDPH {
    text-align: right;
    Font-weight: bold;
}

.tabsouhrn {font-family: verdana, arial, sans-serif; font-size: 15px;}
.tabsouhrn input {  width: 100%; }
.tabsouhrn textarea {  width: 100%; }
.tabsouhrn td, th {border: 1px solid #dddddd;}
.tabsouhrn tr:nth-child(even) { background-color: #dddddd; }


.obyctabulka {
    font-family: verdana, arial, sans-serif;
    font-size: 15px;
    /*border-collapse: collapse;*/
    width: -moz-available;
    table-layout: fixed;
}
.obyctabulka td {
    border: 1px solid #dddddd;
    /*text-align: center;*/
    /*padding: 0px 2px 0px 3px;*/
    width: auto;
}
.obyctabulka th {
    border: 1px solid #dddddd;
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    /*padding: 0px 2px 0px 3px;*/
    width: auto;
}
.obyctabulka tr:nth-child(even) {
    background-color: #dddddd;
}
.obyctabulka input {
    width: 100%;
}

a.disabled {
  pointer-events: none;
  cursor: default;
}

.tabklient input[type="number"] { width: 53px; }

/**** Přehled tabulka*****/
.prehled {
  font-family: verdana, arial, sans-serif;
  font-size: 15px;
  /*border-collapse: collapse;*/
  width: 100%;
}
.prehled input {
  width: 100%;
}
.prehled {
  font-family: verdana, arial, sans-serif;
  font-size: 15px;
  width: 100%;
}
.prehled td, th {
    border: 1px solid #dddddd;
}
.prehledXXX tr:nth-child(even) {
  background-color: #dddddd;
}
.prehled input[type="number"] { width: 53px; }