
html,
button,
input,
select,
textarea {
  color: #222;
}

.archiv{
    color:#CFD8DC;
}

.g-recaptcha div{
    margin:auto;
}

html, body {
  font-size: 1em;
	font-family: 'Roboto', sans-serif;
  line-height: 1.4;
  padding:0;
  margin:0;
  height: 100%;
  background-color: #CFD8DC;
}
table{
    width:100%;
    overflow:none;
}


.bold{
    font-weight: bold;
}

.vysledky{
    margin:auto;
    margin-top:50px;
    width:50%;
    white-space:nowrap;
    font-size:30px;
}

.zaplaceno{
    margin:auto;
    margin-top:50px;
    width:50%;
    white-space:nowrap;
    font-size:15px;
     border-collapse:collapse; 
}

.zaplaceno td{

    border-bottom-style:solid;
    border-bottom-width:2px;
    border-bottom-color:#CFD8DC;
}

.poradi_1{

    color:#d4ac0d;
    
}
.poradi_2{

    color: #a6acaf;
}
.poradi_3{

    color: #935116;
}
.poradi{

    color: black;
}


label{
cursor:pointer;
}

#zobrazit_div{
    transition:height 1s;
}

.clicked{
    height:0px;
}

.table-header{
    background-color:#CFD8DC;
}
.vybrano .show_pic{
   opacity: 0.2;
    filter: alpha(opacity=20); /* For IE8 and earlier */
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}

.hlaska_true{
    width:100%;
    color:#009688;  
}

.hlaska_false{
  width:100%;
  color:#E91E63;

}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
img,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.my-gallery{
  padding-left:5px;
}

.topnav {
  overflow: hidden;
  background-color: #263238;
  position:fixed;
  top:0;
  width:100%;
  z-index: 1000;
}

li img {
  height: 64px;
  order: 1;
}

li p{
  line-height: 64px;
}

.fileinput{
    width:100%;
    height:300px;
    border-style:solid;
    border-width:5px;
    background-image: url(../img/add.png);
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: center; 
    text-indent: -9999px;
    cursor:pointer;
    transition: background-color 0.5s;
}
.fileinput:hover{
 background-color: #CFD8DC; 
}

figure {
  display: inline-block;
  text-decoration: none;
  color: black;
  width: 80%;
  margin: auto;
  margin-top:5%;
  
  width: calc(25% - 6px);
  position:relative;
}

figure .vybrano_pic{
  position:absolute;
  width: 30%;
  top: 0%;
  left: 0%;
  border: none; 
}


.show_pic {
  border: none;
  max-width: 100%;
  height: auto;
  display: block;
  transition: background-color .5s ease-in-out,transform .2s ease-in-out;
   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
} 

figure:hover .show_pic  {
  transform: scale(1.15);
  background-color:#CFD8DC;
}
figcaption{
  margin-top:15%; 
}


.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  height:50px;
}

.topnav a:hover {
  background-color: #80CBC4;
  color: black;
}

.active {
  background-color: #00838F;
  color: white;
}

.topnav .logout {
  float:right;
}

.topnav .icon {
  display: none;
}

.wrapper{
  margin-top:50px;
  margin-left:15%;
  margin-right:15%;
  margin-bottom:5%;
  background-color: rgba(255,255,255,1);
  color:black;
  padding:5%;
  overflow:auto;
  -webkit-box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.125);
  box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.125);
  min-height:100%;
  height: auto !important; /*min-height hack*/
  height: 100%;
}

.topbar{
  display:inline-block;
  width:100%;
  position:relative;
}


.edit{
 height:30px;
 margin-right:10px;
 float:right;
 transition: opacity 0.5s;
 opacity: 0;
 transition: all .2s ease-in-out;
}
.edit:hover{
 transform: scale(1.2);
}

h1, p{
  white-space: initial;
  word-wrap: break-word;
}

.onhover{
  transition: background-color 0.5s;
  cursor:pointer;
}

.onhover:hover{
  background-color:#CFD8DC;
}

.zpravy{
  margin-bottom:25px;
  border-color:black;
  border-style:solid;
  border-width:1px 0px 0px;
  overflow:auto;
}

.topbar img{
  height:50px;
  display:block;
  float:right;
  margin:5px;
  transition: all .2s ease-in-out;
}

.topbar img:hover{
  transform: scale(1.2);
}

.zpravy:hover .edit{
  display:block;
  float:right;
  opacity:1;
}

.edit > img{
  display:block;
  height:30px;
  margin: 5px;
}

@media screen and (max-width: 700px) {
  .topnav a {display: none;}
  .topnav a.icon {
     text-align:right;
    height:50px;
    width:100%;
    display: inline-block;
    // position: fixed;
  }  
  

  
  .topnav .logout {
   float: left;
  }

  .topnav.responsive {
  
  position: fixed;
  
  }

  
  .topnav.responsive .icon {
    position: fixed;
    right: 0;
    top: 0;
    text-align:right;
  } 
  
  .topnav.responsive a{
    float: none;
    display: block;
    text-align: left;
  }
  
  .topnav.responsive a:first-child {
    margin-top:50px;
    top:50px;
  }    
  
  .wrapper{
    margin-left:0%;
    margin-right:0%;
    padding:5%;
  }
  
    .edit{

 opacity: 1 !important;

}
  
  .zpravy-telo, .zpravy-hlavicka, .zpravy-udaje{
  float:none;
}

.vysledky{
    width:100%;
    margin-top:20px;
    white-space:nowrap;
    font-size:20px;
}

.zaplaceno{

    margin-top:20px;
    width:100%;
    white-space:nowrap;
    font-size:13px;
}
}







* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.uprostred{
    margin: 0;
    padding:5%;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.125);
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.125);
}

.loading{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  width:100%;
  height:100%;
  z-index: 10000;
  background-color:rgba(220,220,220,0.6);
}
input[type=submit], input[type=button]{
  float:right;
}
.loading div{
    margin: 0;
    padding:5%;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    text-align:center;
    -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.125);
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.125);
}

body {
  background-color:#CFD8DC;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}
.formular {
  margin: auto;
  background: white;
  padding: 0;
  position: relative;
  overflow:auto;
  //-webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.125);
  //box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.125);
  //height: 400px;
}


.formular #form-message {
  text-align: center;
  color: #555555;
}
.formular .h1 {
  font-size: 30px;
  color: #00838F;
  padding: 15px 15px 35px 15px;
  text-transform: uppercase;
  text-align: center;
}
.formular .group {
  *zoom: 1;
  -webkit-transition: all ease .2s;
  transition: all ease .2s;
  border-left: 4px solid #fff;
  padding: 10px 0;
  width:100%;
  margin:auto;
}
.formular .group:before,
.formular .group:after {
  content: " ";
  display: table;
}
.formular .group:after {
  clear: both;
}
.formular .group > label {
  padding-left: 15px;
  padding-top: 5px;
  color: #555555;
  font-size: 16px;
  //display: block;
}
.formular .group > label.empty {
  display: block;
  height: 1px;
  padding: 0;
  margin: 0;
}

.formular .group p{
  color:red;
  display:block;
  text-align:center;
  display:none;
}

.formular .group > div {
  padding: 0 15px;
}
.formular .group > div.addon-right {
  position: relative;
  padding-right: 50px;
}
.formular .group > div.addon-right > i {
  position: absolute;
  right: 25px;
  top: 9px;
  z-index: 999;
  color: #555555;
}
.formular .group > div .error-message {
  font-size: 12px;
  color: red;
  margin-top: 5px;
}
.formular .group.active {
  background: rgb(255,102,0);
  border-left-color: rgb(102,51,102);
  -webkit-box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.03);
  box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.03);
}
.formular input[type=submit], input[type=button] {
  border: none;
  background: #4DB6AC;
  color: white;
  font-family: 'Roboto', sans-serif;
  padding: 5px 20px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 1px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: background ease-in-out .15s;
  transition: background ease-in-out .15s;
  cursor:pointer;
  margin-top:10px;
}
.formular input[type=submit]:hover:not([disabled]) {
  background: #00897B;
}
.formular {
  width: 100%;
}
@media (min-width: 550px) {
  .formular {
    width: 100%;
  }
  .formular .group > label {
    float: left;
  }
  .formular .group > div {
    margin-left: 180px;
    padding-left: 0;
  }

}

.zpravy-telo img{
  width: 100%;
  display:block;
}

.ucast{
width:100%;
border:none;
-webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
 cursor:pointer;
 margin-bottom: 20px;
 height:30px;   
}

.ucast:disabled {
  cursor:default;
}

.ucast1{
 background:#B0BEC5;
}
.ucast2{
 background:#009688;
}
.ucast3{
 background:#E91E63;
}

.ucast1:hover:enabled{
 background:#78909C;
}
.ucast2:hover:enabled{
 background:#00695C
}
.ucast3:hover:enabled{
 background:#AD1457;
}


.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.428571429;
  color: #555555;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 1px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  font-family: 'Roboto', sans-serif;
}
.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
.form-control::-moz-placeholder {
  color: #999999;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #999999;
}
.form-control::-webkit-input-placeholder {
  color: #999999;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  cursor: not-allowed;
  background-color: #CFD8DC;
  opacity: 1;
}
textarea.form-control {
  height: auto;
}

label.err {
    color: red;
    display: block;
    margin: 0;
    width: auto;
}
em {
    display: block;
    margin: 5px 0 0px 180px;
    font-style: inherit;
}
.welcome{
	line-height: 50px;
	padding-left:30px;
	color: #555555;
}

.date-picker{
 width: 100px;

  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.428571429;
  color: #555555;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 1px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  font-family: 'Roboto', sans-serif;
  margin-right:10px;
}

.submit-filter{
    border: none;
  background: #4DB6AC;
  color: white;
  font-family: 'Roboto', sans-serif;
  padding: 5px 20px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 1px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: background ease-in-out .15s;
  transition: background ease-in-out .15s;
  cursor:pointer;
  margin-top:10px;
    float:none !important;
}

    .ui-datepicker-calendar {
        display: none;
    }
