/*************************************/

/************** Header ***************/

/*************************************/

#head {
  display: block;
  background: white;
  width: 100%;
  margin: auto;
}
#head-logo {
  float: left;
}
#head-logo a {
  color: transparent;
}
#head-logo h1 {
  color: transparent;
  padding-top: 6px;
  padding-bottom: 0;
}
/*TODO LAY*/

/*#header                     { width: 1190px; margin: auto; position: relative; }*/

#header {
  margin-left: 10px;
  margin-right: 10px;
  position: relative;
}
#header h1 {
  padding: 20px;
  position: relative;
  width: 160px;
  height: 100px;
  overflow: hidden;
}
#header h1 span {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 180px;
  height: 100px;
}
#header h1 span:hover {
  cursor: pointer;
}
#header > h2 {
  position: relative;
  top: 7px;
  color: white;
  overflow: hidden;
  white-space: nowrap;
}
#header #head #zboziKosikContainer {
  position: relative;
  top: 45px;
  left: 644px;
  width: 200px;
  display: inline-block;
}
#version-info,
#environment-info {
  font-size: 10px;
  color: white;
  padding-top: 10px;
}
#head .personal {
  float: left;
  margin-left: 20px;
  margin-top: 2px;
  margin-right: 10px;
  cursor: pointer;
}
#head .personal-left {
  float: left;
  width: 60px;
  text-align: right;
}
#head .personal-right {
  float: right;
  margin-left: 10px;
  font-size: 12px;
  line-height: 16px;
}
#head .personal-right strong,
#head .personal-right span {
  display: block;
}
#head .title {
  float: left;
  margin-left: 20px;
  margin-top: 2px;
  max-width: 1500px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 34px;
}
#head .title a {
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 22px;
  font-weight: bold;
}
#head .titleIzrSvetla {
  color: #96bf0d;
}
#head .titleIzrTmava {
  color: #006126;
}
#head .header-right {
  float: right;
}
#head .header-right .header-userarea {
  float: left;
  text-align: right;
  padding-top: 20px;
  margin-left: 35px;
}
#head .header-right .header-userarea .username {
  display: inline-block;
  color: #02b98e;
  font-size: 17px;
  font-weight: bold;
  position: relative;
}
#head .header-right .header-userarea .username:hover {
  color: #018767;
}
#head .header-right .header-userarea .username:before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background: url(../img/cog.svg) no-repeat;
  background-size: 100% auto;
  display: block;
  left: -23px;
  top: 4px;
}
#head .header-right .header-userarea .user-info {
  font-size: 15px;
  color: black;
  display: block;
  cursor: pointer;
}
#head .header-right .header-userarea .user-info strong {
  margin-right: 5px;
  display: inline-block;
}
#head .header-right .nav {
  float: left;
}
#head .header-right .nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#head .header-right .nav ul:before,
#head .header-right .nav ul:after {
  content: "";
  display: table;
}
#head .header-right .nav ul:after {
  clear: both;
}
#head .header-right .nav ul:before,
#head .header-right .nav ul:after {
  content: "";
  display: table;
}
#head .header-right .nav ul:after {
  clear: both;
}
#head .header-right .nav ul li {
  float: left;
  margin-right: 40px;
  line-height: 79px;
}
#head .header-right .nav ul li a {
  color: #030303;
  font-size: 20px;
  text-decoration: none;
}
#head .header-right .nav ul li a:hover {
  color: #ffa200;
}
#head .header-right .header-buttons {
  padding-top: 16px;
  float: left;
}
/*************************************/

/************** Login ***************/

/*************************************/

/* Před přihlášením */

.login-form {
  font-size: 10px;
  padding-left: 0px;
}
.login-right {
  padding: 0px 20px 0px 5px;
  height: 21px;
}
/* Po přihlášení */

.login-form2 {
  font-size: 15px;
  padding-left: 11px;
  padding-bottom: 7px;
}
.login-left2 {
  color: black;
  margin: 0px 0px;
  float: right;
  padding: 0px 10px 0px 10px;
}
.login-right2 {
  color: black;
  float: right;
  margin-right: 10px;
  padding: 0px 10px 0px 10px;
}
.login-form a,
.login-form2 a {
  color: black !important;
  text-decoration: none;
}
.login-form a:hover,
.login-form2 a:hover {
  text-decoration: underline;
}
.login-form .login-form-role {
  background: #f3f3f3;
  text-align: center;
  padding-left: 22px;
  clear: both;
}
.login-form #efrole-img {
  cursor: pointer;
}
.login-form #efrole-vyber {
  display: none;
  z-index: 100;
}
.login-form #efrole-vyber li {
  padding: 2px 5px;
}
.login-btn-container {
  float: right;
}
.login-other-btns-container {
  float: left;
}
@media (max-width: 1500px) {
  .form-buttons-container div {
    display: inline-block;
    float: none;
  }
}
/*************************************/

/********** boxy hlavicka ************/

/*************************************/

#preheader {
  width: 100%;
  font-size: 13px;
}
#preheader #jazyk-aktualni {
  cursor: pointer;
  display: inline-block;
}
#preheader #jazyk-aktualni img {
  width: 34px;
  height: 20px;
  border: 1px solid #706f6f;
  margin: 2px;
  display: inline-block;
  vertical-align: middle;
}
#preheader #jazyk-aktualni span {
  display: inline-block;
  vertical-align: middle;
}
#preheader #jazyk-vyber {
  display: none;
  z-index: 100;
}
#preheader #jazyk-vyber img {
  width: 34px;
  height: 20px;
  border: 1px solid #706f6f;
  margin: 2px;
  display: inline-block;
  vertical-align: middle;
}
#preheader #jazyk-vyber li {
  text-align: left;
}
#preheader .container {
  /*TODO LAY*/
  margin-left: 10px;
  margin-right: 10px;
  /*margin: 0 auto;*/
  /*max-width: 980px;*/
  background: #dfe1e2;
  padding-top: 5px;
  padding-bottom: 8px;
}
#preheader .container2 {
  /*TODO LAY*/
  margin-left: 10px;
  margin-right: 10px;
  /*margin: 0 auto;*/

  /*max-width: 980px;*/

}
#preheader .boxes {
  height: 80px;
}
#preheader .boxes .box {
  width: 180px;
  height: 76px;
  background: white;
  border-radius: 3px;
  text-align: center;
  margin-left: 3px;
  margin-right: 3px;
  margin-bottom: 4px;
  margin-top: 4px;
  float: left;
}
#preheader .boxes .box.box-empty {
  display: none;
}
#preheader .boxes .box.box-green .box-header {
  background-color: #02b98e;
}
#preheader .boxes .box.box-green .box-content {
  position: relative;
}
#preheader .boxes .box .box-header {
  display: block;
  height: 22px;
  line-height: 24px;
  font-size: 13px;
  background: #9eabb0;
  color: white;
  border-radius: 3px 3px 0 0;
}
#preheader .boxes .box .box-content {
  display: block;
  font-size: 13px;
  font-weight: bold;
  height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#preheader .boxes .toparrow {
  margin: 3px;
  float: right;
  cursor: pointer;
}
#preheader .downarrow {
  margin: 3px;
  float: right;
  cursor: pointer;
  display: none;
}
#preheader .downminiarrow {
  cursor: pointer;
}
#preheader .semaforLicence {
  border-radius: 50%;
  display: inline-block;
  margin-left: 14px;
  width: 32px;
  height: 32px;
  margin-top: 4px;
}
.userminimenu {
  right: 0;
  top: 68px;
}
.userminimenu,
.dialog,
.popup {
  display: none;
  background: white;
  position: absolute;
  padding: 10px;
  border: 1px solid #8f94a5;
  box-shadow: 2px 2px 2px 0px #8f94a5;
  z-index: 100;
}
.userminimenu a {
  display: block;
  white-space: nowrap;
  text-decoration: none;
  line-height: 30px;
  color: black;
  font-size: 14px;
}
.dialog {
  padding: 0px;
  margin: 20px;
}
.dialog .dialog-title {
  border-bottom: 1px solid #c4c8c9;
  padding: 10px;
}
.dialog .dialog-title h3 {
  padding: 0px;
  font-size: 14px;
}
.dialog .dialog-body {
  padding: 10px;
}
.dialog .dialog-buttons {
  padding: 10px;
  text-align: right;
}
.popup .popup-header {
  padding-bottom: 10px;
}
.popup .popup-footer {
  padding-top: 10px;
}
/************************************/

/*************** Layout *************/

/************************************/

/*TODO LAY*/

/*#main                       { margin: auto; width: 1190px; clear: both; min-height: calc(100vh - 370px); padding-top: 15px; }*/

#main {
  margin-left: 10px;
  margin-right: 10px;
  clear: both;
  min-height: calc(-270vh);
  padding-top: 3px;
}
.grid {
  padding: 0px 0px 10px 0px;
  padding: 0px;
  display: inline-block;
}
/*************************************/

/*************** Historie ************/

/*************************************/

/*TODO LAY*/

/*#history                { height: 35px; display: block; width: 1190px; margin: 10px auto !important; padding: 0px auto !important;}*/

#history {
  height: 35px;
  display: block;
  margin: 10px auto !important;
  padding: 0px auto !important;
}
#history ul {
  float: left;
  height: 35px;
  margin: 0px;
  padding: 0px !important;
  margin: 0px !important;
}
#history ul li {
  float: left;
  list-style-type: none;
  display: inline;
  padding: 8px 15px 8px 5px !important;
  margin: 0px !important;
}
#history ul li a {
  font-size: 10px;
  text-decoration: none;
}
#history ul li.first {
  height: 35px;
  width: 45px;
  padding: 0px !important;
  background: url('../img/history-first.png') no-repeat right top;
  color: #333333;
}
#history ul li.last {
  height: 35px;
  width: 80px;
  background: url('../img/history-last.png') no-repeat right top;
  color: #333333;
}
#history ul li a:hover {
  color: #0078a3 !important;
}
#history ul li.history1,
#history ul li.history2,
#history ul li.history3,
#history ul li.history4,
#history ul li.history5 {
  background: url('../img/li-1.png') no-repeat right top;
}
#history ul li.history1 a {
  color: black;
}
#history ul li.history2 a {
  color: #333333;
}
#history ul li.history3 a {
  color: #666666;
}
#history ul li.history4 a {
  color: #999999;
}
#history ul li.history5 a {
  color: #cccccc;
}
/*************************************/

/*************** Footer **************/

/*************************************/

/*TODO LAY*/

/*#footer                             { padding-top: 20px; margin: 10px auto; position: relative;clear: both;width: 1190px; }*/

#footer {
  /*border-top: 1px solid #eee;*/
  padding-top: 20px;
  margin: 10px auto;
  clear: both;
}
#footer #sponzors {
  background: white;
  height: 63px;
  text-align: center;
  padding: 0 auto;
  margin: 30px 0 auto;
}
#footer #sponzors ul {
  width: 570px;
  height: 100px;
  list-style-type: none;
  text-align: center;
  padding: 0 auto;
  margin: 0 auto;
}
#footer #sponzors ul li {
  float: left;
  padding: 0px;
}
#footer .languageSelector {
  text-align: center;
  width: 100%;
}
#footer .languageSelector img {
  width: 34px;
  height: 20px;
}
#footer .languageSelector a {
  width: 34px;
  height: 20px;
  border: 1px solid #706f6f;
  margin: 2px;
  display: inline-block;
}
#footer .languageSelector a.noimg {
  top: -6px;
  position: relative;
}
#footer .languageSelector a.current {
  border: 2px solid orange;
}
.footer {
  clear: both;
  width: 100%;
  margin-top: 20px;
  border-radius: 3px;
  background-color: #1c401a;
  /*box-shadow: 0 5px 24px rgba(0, 0, 0, 0.26);*/
  padding-bottom: 5px;
  flex-shrink: 0 !important;
}
.footer .footer-cols {
  /*TODO LAY*/
  /*width: 1190px;*/
  margin: auto;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  text-align: left;
  padding-top: 35px;
}
.footer .footer-cols .col {
  color: #eaeaea;
}
.footer .footer-cols .col strong {
  display: block;
  font-size: 18px;
}
.footer .footer-cols .col span {
  display: block;
  font-size: 16px;
  color: white;
  margin-top: 16px;
}
.footer .footer-info {
  /*TODO LAY*/
  /*width: 1190px;*/
  margin: auto;
  min-height: 30px;
  /*padding-top: 20px;*/
  padding-left: 90px;
  padding-right: 90px;
}
.footer .footer-info:before,
.footer .footer-info:after {
  content: "";
  display: table;
}
.footer .footer-info:after {
  clear: both;
}
.footer .footer-info:before,
.footer .footer-info:after {
  content: "";
  display: table;
}
.footer .footer-info:after {
  clear: both;
}
.footer .footer-info .logo {
  float: left;
  display: inline-block;
  text-decoration: none;
  height: 30px;
  margin-right: 20px;
}
.footer .footer-info .logo img {
  height: 100%;
}
.footer .footer-info span {
  color: white;
  font-size: 14px;
  padding-top: 7px;
  float: left;
}
.footer .footer-info a {
  color: white;
}
.footer hr {
  color: white;
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.75), #8f94a5, rgba(0, 0, 0, 0.75));
  /*TODO LAY*/
  /*width: 1190px;*/
  margin: auto;
}
/************************************/

/*********Informační část ***********/

/************************************/

.stin .left {
  float: left;
  height: 27px;
  width: 480px;
  background: white url('../img/info-stin-left.png') no-repeat left top;
}
.stin .right {
  float: right;
  height: 27px;
  width: 480px;
  background: white url('../img/info-stin-right.png') no-repeat right top;
}
/*TODO LAY*/

/*.stin               { min-width: 1190px; clear: both; margin-bottom: 10px; height: 27px;  background: white url('../img/info-stin-center.png') repeat-x left top;}*/

.stin {
  clear: both;
  margin-bottom: 10px;
  height: 27px;
  background: white url('../img/info-stin-center.png') repeat-x left top;
}
/* Text popisující událost | Uveden nahoře na stránce */

.info {
  margin: 10px 0px 0px 0px;
  background: #fdf89a url('../img/info-bg.png') repeat-x left top;
  border-top: 20px solid #f8f7b6;
  padding: 10px 15px;
  font-style: italic;
  min-height: 30px;
}
.info .left {
  height: 19px;
  width: 24px;
  padding: 0px 10px 10px 0px;
  float: left;
  background: url('../img/leva-uvozovka.png') no-repeat;
}
.info .right {
  height: 19px;
  width: 100%;
  padding: 0px;
  background: url('../img/prava-uvozovka.png') no-repeat right top;
}
/************************************/

/********* responsivnost  ***********/

/************************************/

/*@media only screen and (max-width: 1500px) {
    #head-logo { 
        display: none; 
    }
    .footer .footer-cols {
        width: auto;
    }
    #preheader .container {
        background-color: white;
    }
    #preheader .boxes .box {
        border: 1px solid #dfe1e2;
    }
}*/

/* prihlaseni facebook a google */

.social {
  width: 280px;
  text-align: center;
}
.loginbutton {
  background-position: 10px 10px;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  color: white;
  cursor: pointer;
  display: block;
  font-size: 13px;
  line-height: 40px;
  text-align: left;
  margin-bottom: 8px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 56px;
  text-decoration: none;
  width: 180px;
  -webkit-font-smoothing: antialiased;
  border-radius: 3px;
}
@media (max-width: 1500px) {
  .loginbutton {
    margin-left: 0;
  }
}
.GooglePlus {
  background-color: #df4a32;
  background-image: url('../images/login-google.png');
}
.GooglePlus:hover {
  background-color: #bc3e2b;
  color: white;
}
.facebook {
  background-color: #4963a4;
  background-image: url('../images/login-facebook.png');
}
.facebook:hover {
  background-color: #3a4f82;
  color: white;
}
/* responzivnost */

@media only screen and (max-width: 1500px) {
  html {
    overflow-x: hidden;
  }
  #main {
    max-width: 1500px;
  }
  #footer {
    max-width: 1500px;
    width: auto;
  }
  table.responsive {
    display: block;
  }
  table.responsive > tbody {
    display: block;
  }
  table.responsive tr {
    display: block;
  }
  table.responsive tr > td {
    display: inline-block;
  }
  table.responsive tr > td > div {
    display: inline-block;
  }
  table.responsive.wideInputs td[colspan='3'].member-value-editor {
    width: 270px;
  }
  .responsive-applet fieldset {
    min-inline-size: unset;
  }
  .responsive-applet .entity-editor-group fieldset {
    padding: 2px !important;
  }
  .responsive-applet table.responsive tr > td {
    display: block;
  }
  .responsive-applet td.member-editor-caption {
    width: 100%;
    text-align: left;
  }
  .responsive-applet table.collection > thead > tr > th,
  .responsive-applet table.collection > tbody > tr > td {
    padding: 2px;
    white-space: initial;
  }
  .responsive-applet td[colspan='3'].member-value-editor {
    width: auto;
  }
}
