/*
Ukladat si sem barvy webu
(udrzime jednotne barvy v celem webu a pripadna nahrada je pak rychle Ctrl+H)
-------------------------

01 - #EE0031 - cervena ( defaultni formulář tlačítko/soubory/hlášky ,  )

02 - #040c24 - tm. modra (zakl. font)
03 - #edeef0 - seda (pozadi webu)
04 - #B4B9C1 - tm.seda (sedy text tabulky)
05 - #d71826 - cervena (aktivni barva)


*/

html{
  height: 100%; /* kdyz je i v body, tak dela fancyboxu problemi (po popupu nezustane tam kde se kliklo, ale odsune se na vrchol stranky) */
}
body, html{   /* osetreni abych mel jistotu ze body ci html neskonci drive nez obrazovka */
  /* pokud se doda height: 100% tak cist komentar v tagu "html" */
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body{
  font-size: 16px;
  line-height: 28px; /*z tohoto cisla plnye i margin pro tag "hr"*/
  /*font-family: Arial, Helvetica, sans-serif;*/
  font-family: gibbs, sans-serif;
  margin: 0px;
  text-align: left;
  background-color: #edeef0;
  color: #040c24;
}
hr{
  margin: 10px 0px 10px 0px; /*hr ma vysku 1px = pokud je radkovani 22px tak dam margin 10px*/
}
.blok_sirky_webu_full_hd{
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.blok_sirky_webu{
  width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.hlavicka{
  display: block;
  clear: both;
  padding: 30px 0px 30px 0px;
  text-align: center;
  vertical-align: top;
}

.obsah{
  display: block;
  clear: both;
  background-color: #FFFFFF;
  margin: 0px 0px 30px 0px;
  padding: 60px 20px 40px 20px;
}
.obsah_in{
}

a, a:active, a:focus {/*zrus tecky kolem odkazu*/
   outline: none;
}
a:link {
	color: #d71826;
	text-decoration: none;
}
a:visited {
	color: #d71826;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
.spacer {
	clear:both;
}
.center {
	text-align: center;
}
.fl {
	float:left;
}
.fr {
	float:right;
}
h1 {
	font-size: 20px;
    line-height: normal;
	padding: 0px 0px 0px 0px;
	margin: 10px 0px 0px 0px;
}
h2 {
	font-size: 18px;
    line-height: normal;
	padding: 0px 0px 0px 0px;
	margin: 10px 0px 0px 0px;
}
h3 {
	font-size: 16px;
    line-height: normal;
	padding: 0px 0px 0px 0px;
	margin: 20px 0px 10px 0px;
}
.obsah h1, .obsah h2, .obsah h3{ /* spolecne styly pro nadpisy z editoru od klienta */
  /*display: block;
  text-align: center;*/
}

p {
	padding: 0px 0px 0px 0px;
	margin: 10px 0px 10px 0px;
}
table p{
  margin: 0px;
}
img { /* potreba pro vlozene obrazky do textu - kontrola zda je vse po webu ok */
  height: auto;
  max-width: 100%;
}
#supersized img{ /* pokud je pouzity slider Supersized, tak je treba zrusit max-width obrazku bez toho se obrazek ve slideru deformuje */
  max-width: none;
}
td img{ /* tabulky se nekdy k obrazku s max-width: 100% chovaji tak ze ho zuzuji na svoji malou sirku */
  max-width: none;
}
iframe{
  max-width: 100%;
  /* dela to problemy FB pluginu u jeho popup okna kdy ho to omezi na sirku buttonu = spise cilit na iframe v nejakem divu nez globalne */
}
.jscroll-loading{
  text-align: center;
}

ol{
  padding-left: 18px;
}
.obsah ul{
  padding-left: 0px;
}
.obsah ul ul{
  margin-left: 20px;
}
.obsah ul ul ul{
  margin-left: 20px;
}
.obsah ul li{
  padding-left: 14px;
  background-position: left 8px;
  background-repeat: no-repeat;
  background-image: url("../../img/ic-odrazka.png");
}
.obsah ul li.has-list { /* pokud je seznam v seznamu, tak odstran 2 obrazky u sebe - styl skrze skript v skripty.js */
  background: none;
}
.obsah ul ul li{ /*druha uroven seznami / .obsah ul li ul li*/
  background-image: url("../../img/ic-odrazka-2-uroven.png");
}
.obsah ul ul ul li{ /*treti uroven seznami / .obsah ul li ul li ul li*/
  background-image: url("../../img/ic-odrazka-3-uroven.png");
}

/* Vylepseni pro tisk, ktere vynuti zobrazovani obrazku a barev v pozadi. V breznu 2016 funguje pouze pro prohlizece Chrome+Opera+Safari. Prefix pro FF predpripraven. */
:root{
  -webkit-print-color-adjust: exact;
  -moz-print-color-adjust: exact;
  printer-color-adjust: exact;
}

/*--- defaultni formular ---
Pokud neni vyuzit, tak smazat !
*/
.obal_odeslaneho_formulare{ /* bud nechat jak je ci misto tohoto divu dat div jakym je obaleny formular */
  display: block;
}
.obal_dotaznik_def{
  display: block;
  padding: 20px 20px 20px 20px;
}
.form_blok_cely{
  position: relative;
  float: left;
  width: 100%;
  margin: 0px 0px 10px 0px;
}
.form_blok{
  position: relative;
  float: left;
  width: 49%; 
  margin: 0px 2% 10px 0px;
}
.form_area_blok{
  position: relative;
  float: left;
  width: 100%; 
}
.form_popisek{
  position: relative;
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}
.form_input_def{
  float: left;
  width: 100%;
  *width: 96%;
  height: 38px;
  *height: 28px;
  line-height: 38px;
  *line-height: 28px;
  padding: 5px 10px 5px 10px;
  *padding-left: 2%;
  *padding-right: 2%;
  background-color: #FFFFFF;
  border: 1px solid #040c24;  /* jen proto aby byl border vzdy skrze cerveny border kdyz je chyba */
  
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.obal_login_form .form_input_def{
  height: 48px;
  *height: 38px;
  line-height: 48px;
  *line-height: 38px;
}
.datepicker{
  padding-left: 34px;
  
  background-repeat: no-repeat;
  background-position: 8px center;
  background-image: url("../../img/formulare/ic-calendar.png");
}
.form_select_def{
  float: left;
  width: 100%;
  height: 38px;
  line-height: 38px;
  padding: 0px 0px 0px 2%;  /*pravy padding nelze pouzit skrze IE, protoze odsadi to sipku dolu*/
  background-color: #FFFFFF;
  border: 1px solid #040c24;  /* jen proto aby byl border vzdy skrze cerveny border kdyz je chyba */

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.obal_check_form{
  float: left;
  width: 49%; 
  margin: 0px 2% 10px 0px;
}
.obal_souhlas_form{
  display: block;
  margin: 0px 0px 10px 0px;
}
.form_check_def{
  float: left;
  margin: 4px 0px 0px 0px;
  cursor: pointer;
}
.form_popisek_check_radio{ /*nazev je pouzit v ovladacim JS na validaci*/
  display: block;
  margin-left: 20px;
  cursor: pointer;
}
.form_area_def{
  float: left;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  *width: 98%;
  *max-width: 98%;
  *min-width: 98%;
  height: 128px;
  max-height: 128px;
  min-height: 128px;
  padding: 10px 10px 10px 10px;
  *padding-left: 1%;
  *padding-right: 1%;
  margin-bottom: 10px;
  background-color: #FFFFFF;
  border: 1px solid #040c24;  /* jen proto aby byl border vzdy skrze cerveny border kdyz je chyba */

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.formular_chybova_hlaska_popup{
  position: absolute;
  left: 0px;
  bottom: 28px;
  width: 100%;
  min-height: 32px;
  background-color: #ee0031;
  color: #FFFFFF;
  padding: 5px 40px 5px 10px;
  
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  
  box-shadow: #ee0031 0px 0px 10px;
  -webkit-box-shadow: #ee0031 0px 0px 10px;
  -moz-box-shadow: #ee0031 0px 0px 10px;
}
.form_area_blok .formular_chybova_hlaska_popup{
  bottom: 138px;
}

.obal_tlacitka_formulare{
  display: block;
  text-align: left;
  margin-top: 30px;
}
.obsah_login .obal_tlacitka_formulare{
  text-align: center;
}
.form_tl_def{
  display: inline-block;
  padding: 10px 30px 10px 30px;
  background-color: #d71826;
  border: 1px solid #d71826;
  color: #FFFFFF;
  cursor: pointer;
  font-weight: bold;
}
.form_tl_def:hover{
  background-color: #FFFFFF;
  color: #d71826;
}
.obsah_login .form_tl_def{
  display: none;
}

.tl_login_design{
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
}
.tl_odhlaseni{
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}
.tl_login_design_l{
  float: left;
  width: 40px;
  height: 50px;

  background-image: url("../images/2button-1.png");
  background-position: left top;
  background-repeat: no-repeat;
}
.tl_login_design:hover .tl_login_design_l{
  background-image: url("../images/2button-1_hover.png");
}
.tl_login_design_s{
  float: left;
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  font-weight: bold;
  color: #FFFFFF;

  background-image: url("../images/2button-2.png");
  background-position: left top;
  background-repeat: repeat-x;
}
.tl_login_design:hover .tl_login_design_s{
  color: #d71826;
  background-image: url("../images/2button-2_hover.png");
}
.tl_login_design_p{
  float: left;
  width: 28px;
  height: 50px;

  background-image: url("../images/2button-3.png");
  background-position: left top;
  background-repeat: no-repeat;  
}
.tl_login_design:hover .tl_login_design_p{
  background-image: url("../images/2button-3_hover.png");
}
.ikona_login_design{
  margin-right: 10px;
}

.skryj_chybu_formulare{
  position: absolute;
  right: 10px;
  top: 5px;
  width: 23px;
  height: 21px;
  cursor: pointer;
  
  background-repeat: no-repeat;
  background-position: right top;
  background-image: url("../../img/formulare/form_chyba_close.png");
}

      /* nastylovany file input (START) - pokud nevyuzivam tak smazat jak v CSS tak JS
      http://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/ */
.js .inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
.inputfile + label {
  /*width: 100%;*/
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  display: block; /*inline-block*/
  overflow: hidden;
  padding: 5px 2% 5px 2%;
  margin-right: 32px; /*pro krizek na odstraneni jiz vybrane polozky*/
  vertical-align: middle;
  margin-right: 34px;
  
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.no-js .inputfile + label {
  display: none;
}
.inputfile:focus + label,
.inputfile.has-focus + label {
  outline: 1px dotted #000;
  outline: -webkit-focus-ring-color auto 5px;
}
.inputfile + label * {
  /* pointer-events: none; */
  /* in case of FastClick lib use */
}
.inputfile + label .file_input_ikona{
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 5px;
  vertical-align: middle;
  
  background-repeat: no-repeat;
  background-position: left center;
  background-image: url("../../img/formulare/file_input_ico.png");
}
.inputfile + label {
  color: #f1e5e6;
  background-color: #d3394c;
}
.inputfile:focus + label,
.inputfile.has-focus + label,
.inputfile + label:hover {
  background-color: #722040;
}

.vyprazdni_input{
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 30px;
  height: 36px;
  background-color: #d3394c;
  cursor: pointer;
  
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url("../../img/formulare/file_input_vymaz.png");
}
.vyprazdni_input:hover{
  background-color: #722040;
}
      /* nastylovany file input (KONEC) */

.tl_form_zpet_def{
  clear: both;
  margin: 25px auto 25px auto;
  padding: 10px 10px 10px 10px;
  background-color: #EE0031;
  color: #FFFFFF;
  cursor: pointer;
  width: 160px;
  text-align: center;
}
.tl_form_zpet_def:hover{
  background-color: #B40031;
}
.text3{
  display: block;
  clear: both;
  margin-top: 25px;
  margin-bottom: 25px;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
}
.info_formular{
  display: block;
  text-align: center;
  margin-top: 10px;
}

.formular_chyba_polozky{
  border: 1px solid #EE0031;
}
.formular_chyba_check_radio{
  color: #EE0031;
}

.znacka_povinne_polozky{
  font-weight: bold;
  color: #EE0031;
}

.ochrana_formulare{ /* ochrana pred roboty co plni formulare - naplni i skryty hidden */
  position: fixed;
  left: 0;
  top: 0;
  z-index: -9999; /* skrze fixni pozici, abych tim nahodou neco neprekryl ; fix je k tomu, abych ten input mohl dat kamkoliv v kodu */
  
  visibility: hidden; /* lze naplnit ale neni videt */
}

input:focus + [role="tooltip"] { /*skrze zvyseni pristupnosti (lepsi web pro postizene, slabozrake, ctecky atd..) formulare skrze WAI-ARIA */
  /*display: block;
  position: absolute;
  top: 100%;*/
}

.cervene{
  color: #EE0031;
}