/* Copyright © 2013 JiViŠ, spol. s r. o., všechna práva vyhrazena.  */

* {
    margin: 0;
    padding: 0;
}

.clear {
    clear: both;
}

.center{
    text-align: center;
}

body {
    background-color: #888;
}

img {
    border: none;
    padding: 0;
    margin: 0;
}

a {
    color: #0000ff;
}

html {
    height: 100%;
}

body, th, td, input, textarea {
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    font-size: 100%;
    color: #555;
}

#header {
    height: 20px;
    background: #dcf0ff;
    color: #696969;
    font-size: 0.76em;
}

#header span.left {
    float: left;
    display: block;
    padding: 2px 0 0 8px;
}

#header span.right {
    float: right;
    display: block;
    padding: 2px 8px 0 0;
}

#header2 {
    height: 66px;
    background: #fbfbfb;
    color: #3c3c3c;
    font: 1.26em bold;
}

#header2 span.left {
    float: left;
    display: block;
    padding: 2px 0 0 8px;
}

#header2 span.right {
    float: right;
    display: block;
    padding: 2px 8px 0 0;
}

#header2 img {
    display: block;
    padding: 5px 0 0 8px;
}

#menu {background:#fbfbfb;}

#menu ul{margin: 0; padding: 0;}
#menu ul li{display: block; float: left;}
#menu ul li a{display: block; padding: 4px 10px 4px 10px; text-decoration: none; color: #fff; 
              background: rgb(112,112,112); border: 1px solid #989898; border-bottom: none; font-size: 0.76em;}
#menu ul li a:hover, #menu ul li .current{
    background: #0b75b2;
    background-image: -webkit-linear-gradient(top, #0b75b2, #0a496b);
    background-image: -moz-linear-gradient(top, #0b75b2, #0a496b);
    background-image: -ms-linear-gradient(top, #0b75b2, #0a496b);
    background-image: -o-linear-gradient(top, #0b75b2, #0a496b);
    background-image: linear-gradient(to bottom, #0b75b2, #0a496b);
}
#menu ul li ul{visibility: hidden; margin-top: 0px; position: absolute; margin: 0; padding: 0; list-style-type: none;}
#menu li:hover ul{visibility: visible;}
#menu li li{float: none; border: none; padding: 0; margin: 0; }


#main {
    border-top: 1px solid black;
}

#main_wrap {
    margin: 10px;
}


.formtab {
    background: #C0C0C0;
    border-collapse: collapse;
    border-top: 1px solid #C0C0C0;
    border-left: 1px solid #C0C0C0;
    border-bottom: 2px solid #404040;
    border-right: 2px solid #404040;
    min-width: 1145px;
    margin: 0;
}

.formtab td, .formtab tr {
    border-collapse: collapse;
    border: 0;
    padding:5px;
    margin:0px;
}

input, select {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 8pt;
    color: black;
    padding:0;
    margin:0;  
}

select.edit-form{
    min-width: 250px;
}

.tlacitko {
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    background-image: -webkit-linear-gradient(top, #f5f5f5, #cfcdcf);
    background-image: -moz-linear-gradient(top, #f5f5f5, #cfcdcf);
    background-image: -ms-linear-gradient(top, #f5f5f5, #cfcdcf);
    background-image: -o-linear-gradient(top, #f5f5f5, #cfcdcf);
    background-image: linear-gradient(to bottom, #f5f5f5, #cfcdcf);
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 8pt;
    color: black;
    margin-left: 5px;
    margin-right: 5px;
    padding: 5px;
    -webkit-border-radius: 4;
    -moz-border-radius: 4;
    border-radius: 4px;
    cursor: pointer;
}
.tlacitko:hover {
    background: #ffffff;
    background-image: -webkit-linear-gradient(top, #ffffff, #d4d5db);
    background-image: -moz-linear-gradient(top, #ffffff, #d4d5db);
    background-image: -ms-linear-gradient(top, #ffffff, #d4d5db);
    background-image: -o-linear-gradient(top, #ffffff, #d4d5db);
    background-image: linear-gradient(to bottom, #ffffff, #d4d5db);
}

#hlavni_tabulka {
    width: 100%;
    border-collapse: collapse;
    border-color: #000066;
    margin-top: 10px;
}

#hlavni_tabulka th {
    background: #9296EA;
    color: #3c3c3c;
    font-weight: normal;
    text-align: left;
}

#hlavni_tabulka th a {
    color: #3c3c3c;
    text-decoration: none;
}

#hlavni_tabulka td {
    cursor: pointer;
    background: #DBDEE5;
    color: #000;
    height: 36px;
}

#hlavni_tabulka tr.platnost td {
    color: #808080;
}

#hlavni_tabulka tr.sprava td {
    color: #a65c38;
}

#hlavni_tabulka th, #hlavni_tabulka td {
    font-size: 0.76em;
    padding: 2px 5px;
    border-color: #000066;
}

#arrow {
    float: left;
    margin: 4px 0 0 9px;
}

#arrow_text {
    float: left;
    margin: 11px 0 0 9px;
    font-size: 0.8em;
    color: #000;
}

#arrow_buttons {
    float: left;
    margin: 8px 0 0 12px;
}

#dum_wrap {
    width: 1070px;
    margin: 0 auto;
    background: #fff;
}

#dum_error {
    width: 800px;
    margin: 0 auto;
    background: #ffcdcd;
    border: 2px solid #dd0000;
    color: #dd0000;
    text-align: center;
    font-weight: bold;
    font-size: 0.8em;
    margin-bottom: 10px;
    padding: 2px 0 2px 0;
}

#dum_error_ok {
    width: 800px;
    margin: 0 auto;
    background: #d4ffcd;
    border: 2px solid #168105;
    color: #168105;
    text-align: center;
    font-weight: bold;
    font-size: 0.8em;
    margin-bottom: 10px;
    padding: 2px 0 2px 0;
}

#dum_nadpis {
    width: 800px;
    text-align: center;
    font-size: 1.6em;
    border-bottom: 1px solid #888;
    padding: 4px 0 4px 0;
}

.dum_podnadpis {
    font-size: 0.8em;
    border-bottom: 1px solid #888;
    margin: 10px;
    font-weight: bold;
}

.dum_table {
    margin: 10px 0 10px 10px;
}

.dum_table tr td {
    font-size: 0.9em;
    padding-left: 10px;
}

textarea.notes {
    display: block;
    margin: 0 0 0 10px;
    width: 752px;
    height: 300px;
    background: url('../../images/notes.png') repeat-y;
    font: normal 14px verdana;
    line-height: 25px;
    padding: 2px 10px;
    border: solid 1px #ddd;
}

.table_yellow {
    width: 780px;
    border-collapse: collapse;
}

.table_yellow tr td {
    background: #fffcb2;
    padding: 4px;
}

.table_blue {
    width: 95%;
    border-collapse: collapse;
    margin: 0 10px 0 10px;
    background: #c2e2ff;
}
.table_blue td:first-child {
    border-left: 1px solid;
}
.table_blue td:last-child {
    border-right: 1px solid;
}
.table_blue tr td {
    padding: 4px;
    border-bottom: 1px solid;
    border-top: 1px solid;
    border-left: 0px solid;
    border-right: 0px solid;
    border-color: #000066;
}

.table_lightblue {
    border-collapse: collapse;
    margin: 0 10px 0 30px;
}

.table_lightblue tr td {
    padding: 4px;
    border-bottom: 1px solid;
    border-top: 0px solid;
    border-left: 0px solid;
    border-right: 0px solid;
    border-color: #000066;
}

.table_lightblue tr td:first-child {
    color: #c9c9c9;
}

a.action_add {
    font-size: 0.8em;
    font-weight: bold;
    text-decoration: none;
    color: #598808;
    background: url('../../images/add.png') no-repeat;
    padding-left: 20px;
    margin-left: 10px;
}

a.action_del {
    font-size: 0.8em;
    font-weight: bold;
    text-decoration: none;
    color: #e20c0c;
    background: url('../../images/remove.png') no-repeat;
    padding-left: 20px;
    margin-left: 10px;
}

.dum_jednotlive {
    margin: 0 0 10px 0;
}

.table_download {
    font-size: 0.8em;
}

.table_download tr th {
    font-size: 0.9em;
    text-align: left;
}

.table_download tr td a {
    text-align: left;
    color: #0000ff;
}

.table_download tr td a:hover {
    text-decoration: none;
}

#new_files {
    margin: 10px;
}

div.calendar_widget { position: absolute; float: left; top: 0px; left: 0px; width:140px; height: 200px; display: none; border: 1px solid #000; }

.small_textarea {
    height: 80px;
    width: 150px;
}

#admin_menu {
    padding: 4px;
    text-align: center;
}

#admin_menu a {
    text-decoration: none;
    color: #000;
}

#admin_menu a:hover {
    text-decoration: underline;
}

#admin_menu a.active {
    font-weight: bold;
}

table.admin_table {
    width: 1050px;
    margin: 10px;
    border-collapse: collapse;
}

table.admin_table td, table.admin_table th {
    text-align: left;
    font-size: 0.8em;
    padding: 3px;
}

table.admin_table th {
    border-bottom: 1px solid #5b5b5b;
}

table.admin_table .last {
    text-align: right !important;
}

table.admin_table tr.odd td {
    background: #e6ffb1;
}

table.admin_logs tr td {
    font-family: Arial, sans-serif;
}

.log_error {
    font-weight: bold;
    color: #ff0007;
}

input[type='password'],
input[type='text'] {
    width: 250px;
}
input[type='text'].long-text {
    width: 380px;
}

.aut_vyplnit {
    float: right;
    text-transform: uppercase;
    color: #23a400;
    font-size: 0.76em;
    font-weight: bold;
    background: #dfffd6;
    padding: 10px;
    margin-right: 150px;
    min-width: 260px;
}

.aut_vyplnit .simple-text{
    float: none;
    text-transform: none;
    color: #000;
    font-size: 1em;
    font-weight: normal;
    background: transparent;
    padding: 0px;
    margin-right: 0px;
    min-width: 0px;
}

.aut_vyplnit .a-left{
    text-align: left;
}


.aut_vyplnit select {
    width: 150px;
    text-transform: none;
}

/* Chybové zprávy */

.message
{
    margin-top: 10px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-left: 0px;
    padding-top: 20px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 60px;
    font-weight: bold;
    background-color: transparent;
    background-image: none;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: 8px 6px;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: #d0d5c8;
    border-right-color: #d0d5c8;
    border-bottom-color: #d0d5c8;
    border-left-color: #d0d5c8;
    border-image-source: none;
    border-image-slice: 100% 100% 100% 100%;
    border-image-width: 1 1 1 1;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    clear: left;
    min-width: 500px;
    min-height: 35px;
    display: block;
}

.error-messages
{
    background-image: url("../images/fault_50.png");
    color: #c06c0d;
    border-top-color: #f5c565;
    border-right-color-value: #f5c565;
    border-bottom-color: #f5c565;
    border-left-color-value: #f5c565;
    background-color: #f9efdb;
}
.info-messages
{
    background-image: url("../images/info_50.png");
    color: #c06c0d;
    border-top-color: #b7ffb7;
    border-right-color: #b7ffb7;
    border-bottom-color: #b7ffb7;
    border-left-color: #b7ffb7;
    background-color: #e6ffe6;
}
.warning-messages
{
    background-image: url("../images/warning_50.png");
    color: #4e4e4e;
    border-top-color: #f5c565;
    border-right-color: #f5c565;
    border-bottom-color: #f5c565;
    border-left-color: #f5c565;
    background-color: #f9efdb;
}

/* END Chybové zprávy */

/* Formuláře - objekty */

#copy_object {
    float: right;
    border: #ff9999 solid 1px;
    padding: 10px;
    background-color: #dcf0ff;
}

.cols-zarazeni{
    padding-left: 15px;
    padding-right: 25px;  
}

fieldset.collapsible .fieldset-legend
{
    background-color: #cccccc;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: 5px 65%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    padding-left: 15px;
    padding-right: 25px;
}

.collapsed{
    display: none;
}

.hidden{
    display: none;
}

.settings-form{
    background-color: #cccccc;
    margin-bottom: 10px;
    margin-top: 10px;
}
.fieldset-title{
    padding-left: 15px;
}
/* END Formuláře - objekty */

/* Samořadící tabulky */ 

.headerSortDown{
    background-image: url("../images/arrow_order_asc.gif") !important;
    background-repeat: no-repeat !important;
}

.headerSortUp{
    background-image: url("../images/arrow_order_desc.gif") !important;
    background-repeat: no-repeat !important;
}

.table-sortable-data, .globally-edit {
    border-collapse: collapse;
}

.table-sortable-data th{
    cursor: pointer;
    border-color: #000066;
    border-style: solid;
    border-width: 1px;
    background-color: #9296ea;
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    color: #3c3c3c;
    font-weight: normal;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}

.table-sortable-data tr{
    background-color: #dbdee5;
}

.table-sortable-data tr.ending{
    background-color: #ffffcc;
}
.table-sortable-data tr.ended{
    background-color: #ffcc99;
}
.table-sortable-data tr.ending-early{
    background-color: #FFFF80;
}
.table-sortable-data tr.starting-early{
    background-color: #adfffc;
}
.table-sortable-data tr.starting{
    background-color: #bdffad;
}

.table-sortable-data tr:hover{
    background-color: #ADAFF1 !important;
}

.table-sortable-data td{
    color: #3c3c3c;
    text-align: left;
    font-size: 0.76em;
    padding-top: 2px;
    padding-right: 5px;
    padding-bottom: 2px;
    padding-left: 5px;
    border-color: #000066;
    border-style: solid;
    border-width: 1px;
}

/* END Samořadící tabulky */ 

/* Ikony pro zobrazení */

.img-back {
    width: 20px;
    height: 20px;
    background-image: url('../../images/back.png');
}

/* END Ikony pro zobrazení */

/* Jednotlivé prvky tlačítek, formulářů atd... */ 

.selection-error {
    border: #ff0007 solid 2px;
}
#fill_address{
    margin-top: 7px;
    margin-bottom: 7px;
}

input.val-string {
    width: 565px;
}

textarea.val-string{
    width: 565px;
    height: 75px;
}

input.val-integer-multi{
    width: 90px;
}

input.val-integer{
    width: 125px;
}

input.val-float{
    width: 175px;
}

input.val-float-multi{
    width: 175px;
}

input.val-timestamp{
    width: 175px;
}

input.val-timestamp-multi{
    width: 125px;
}

input.val-datetime{
    width: 175px;
}

input.val-datetime-multi{
    width: 125px;
}

input.val-date{
    width: 125px;
}

input.val-date-multi{
    width: 125px;
}

/* END Jednotlivé prvky tlačítek, formulářů atd... */ 

/* ------------- Autocomplete input - našeptávač  --------------------------- */
/* loading - the AJAX indicator */
.ui-autocomplete-loading {
    background: white url('../images/loading_h18.gif') right center no-repeat;
}

/* scroll results */
.ui-autocomplete {
    max-height: 400px;
    max-width: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding for vertical scrollbar */
    padding-right: 0px;
    background-color: #eeeeee;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    padding-left: 7px;
    padding-right: 7px;
}

.ui-autocomplete li {
    border-bottom: 1px;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-style: solid;
    border-bottom-color: #8f8f8f;
}
.ui-autocomplete li.ui-state-focus {
    border-bottom-color: #0000ff;
    color: #0b75b2;
}

.autocomplete-contact{
    font-weight: 900;
    font-size: 1.0em;
    line-height: 1.2;
}

.autocomplete-names{
    font-weight: 300;
    font-size: 0.9em;
    line-height: 0.9;
}

.autocomplete-desc{
    font-weight: 200;
    font-size: 0.7em;
    line-height: 1.0;
}

.autocomplete-box{
    line-height: 1;
}

.ui-helper-hidden-accessible{
    display: none;
}

/* END---------- Autocomplete input - našeptávač  --------------------------- */

/* ---------------------- Přidané CSS pro novou funkcionalitu --------------- */
.main-content{
    min-width: 800px;
    background-color: #e4e4e4;
    padding-top: 20px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 30px;
    font-size: 80%;
}
.header-title{
    min-width: 870px;
    background-color: #e4e4e4;
    padding-top: 10px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 0px;
}

.main-content a {text-decoration: none;}
.main-content a:link {color: blue}
.main-content a:visited {color: blue}
.main-content a:active {color: blue}
.main-content a:hover {color: rgb(51,102,255); text-decoration: underline}

.main-content table {
    border-collapse: collapse;
}
.main-content tr:nth-child(2n+1){
    background:#eee;
}

.main-content tr:nth-child(2n){
    background:#ddd;
}

.not-striped tr {
    background:#eee !important;
}

.main-content th{
    border-color: #000066;
    border-style: solid;
    border-width: 1px;
    background-color: #9296ea;
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    color: #3c3c3c;
    font-weight: normal;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}

.main-content td{
    color: #3c3c3c;
    text-align: left;
    font-size: 1em;
    padding-top: 2px;
    padding-right: 5px;
    padding-bottom: 2px;
    padding-left: 5px;
    border-color: #000066;
    border-style: solid;
    border-width: 1px;
}

.show-hints{
    float: right;
    cursor: pointer;
}

.content-hints{

}

.block-saved{
    background-color: #ddffd8 !important;
}
.error-input{
    background-color: #ffe9ec !important;
}

.objekt_select{
    margin: 5px;
    padding: 3px;
}

.text-autocomplete{
    padding: 4px;
}

.on-click-event:hover{
    cursor: pointer;
    background-color: #eeffff !important;
}

.save-on-enter{
    padding: 3px;
    margin: 5px;
}

.collapse-objects{
    cursor: pointer;
    font-weight: 900;
    font-size: 0.75em;
}
.collapse-objects-objekt{
    margin-right: 45px;
    float: right;
}
.house-detail{
    margin-bottom: 20px;
}

.new-hidden-option{
    line-height: 0.9em;
    font-size: 0.8em;
}
.new-hidden-option-desc{
    font-size: 0.9em;
}

select.filter, input.filter{
    margin-left: 0px;
    margin-right: 10px;
}


.no-bordering {
    display: inline-block;
    border: none;
    padding: 0px;
    margin: 0px;
}

a.prev-link, div.prev-link-disabled {
    height:35px;
    line-height:30px;
    padding:0px 35px 0px 0px;
    display:block;
    float:left;
    margin:0px;
}

a.next-link, div.next-link-disabled {
    height:35px;
    line-height:30px;
    padding:0px 35px 0px 0px;
    display:block;
    float:right;
    margin:0px;
}

div.next-link-disabled {
    background: url(../../images/next_disabled.png) top right no-repeat;
}

div.prev-link-disabled {
    background: url(../../images/prev_disabled.png) top right no-repeat;
}

a.next-link {
    background: url(../../images/next_inact.png) top right no-repeat;
}

a.next-link:hover {
    background: url(../../images/next_act.png) top right no-repeat;
}

a.prev-link {
    background: url(../../images/prev_inact.png) top right no-repeat;
}

a.prev-link:hover {
    background: url(../../images/prev_act.png) top right no-repeat;
}


/* END ------------------ Přidané CSS pro novou funkcionalitu --------------- */

/* ---------------------- Administrační funkce ------------------------------ */
.menu-left{
    float: left;
    width: 200px;
    background-color: #e4e4e4;
    padding-top: 20px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 30px;
}
.menu-left a {
    text-decoration: none;
    margin-bottom: 5px;
}
.menu-left a:hover {
    font-weight: bold;
}
.main-content-menu{
    margin-left:200px;
    min-width: 800px;
    background-color: #e4e4e4;
    padding-top: 20px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 30px;
}

.main-content-menu table {
    border-collapse: collapse;
}
.main-content-menu tr:nth-child(2n+1){
    background:#eee;
}

.main-content-menu tr:nth-child(2n){
    background:#ddd;
}        

.main-content-menu th{
    border-color: #000066;
    border-style: solid;
    border-width: 1px;
    background-color: #9296ea;
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0% 0%;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
    color: #3c3c3c;
    font-weight: normal;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}

.main-content-menu td{
    color: #3c3c3c;
    text-align: left;
    font-size: 1em;
    padding-top: 2px;
    padding-right: 5px;
    padding-bottom: 2px;
    padding-left: 5px;
    border-color: #000066;
    border-style: solid;
    border-width: 1px;
}

/* END------------------- Administrační funkce ------------------------------ */
/* ---------------------- Kontakty - nové funkce ---------------------------- */
.highlighted{
    background-color: #ccffcc !important;
}
/* END------------------- Kontakty - nové funkce ---------------------------- */

/** --------------------- Buble info ---------------------------------------- */

.buble-info {
    position: relative; 
    display: inline-block; 
    white-space: pre-line;
}

.buble-info:before, 
.buble-info:after {
    position: absolute;
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    font-size:12px;
    text-align: left;
}	
.buble-info:hover:before, 
.buble-info:hover:after {
    opacity: 1;
}
.buble-info:before {
    content: '';
    position: absolute;
    background: transparent;
    border: 6px solid transparent;
    top: 100%;
    left: 10%;
    margin: -15px 0 0 0;
    border-bottom-color: rgba(0, 41, 56, 0.9);
}		
.buble-info:after {
    content: attr(data-info);
    background: rgba(0, 41, 56, 0.9);
    color: white;
    padding: 1.5em;
    line-height:1.5em;
    box-shadow:0 2px 4px rgba(0,0,0,0.8);
    top: 100%;
    left: 10%;
    margin: -2px 0 0 -10px;
    border-radius:7px;
    width:250px;
}
.buble-info:hover:before {
    margin-top: -6px;
}
.buble-info:hover:after {
    margin-top: 6px;
}

/** END------------------ Buble info ---------------------------------------- */
/** --------------------- Interní kontakty ---------------------------------- */
.table-in-table{
    border: none;
}
.table-in-table tr{
    border: none;
}
.table-in-table td{
    border: none;
}
/** END------------------ Interní kontakty ---------------------------------- */


/** ----------------------- Administrační sekce ----------------------------- */
section.admin{
    padding: 10px;
    margin-left: 20px;
    margin-bottom: 20px;
    margin-top: 10px;
    margin-right: 20px;  
}

section.admin table{
    width: 100%;  
}

section.admin table tr:nth-child(2n+1){
    background:#fff;
}

section.admin table tr:nth-child(2n){
    background:#e6ffb1;
}

/** END-------------------- Administrační sekce ----------------------------- */
/** ----------------------- Tlačítka v hlavičce ----------------------------- */
#header-check-in {
    float: right;
    padding-right: 10px;
    align-content: center;
    text-align: center;
}
.header-in-office-text {
    color: #333333;
    font-family: "Trebuchet MS", "Verdana,Arial,sans-serif";
    background-color: #ccffcc;
    padding-left: 7px;
    padding-right: 7px;
    padding-bottom: 7px;
}
.header-not-in-office-text {
    color: #333333;
    font-family: "Trebuchet MS", "Verdana,Arial,sans-serif";
    background-color: #ffcccc;
    padding-left: 7px;
    padding-right: 7px;
    padding-bottom: 7px;
}
/** END-------------------- Tlačítka v hlavičce ----------------------------- */
.js-check-input-before-td{
    cursor: pointer;
}
.none{
    display:none;
}

.no-wrap{
    overflow: visible;
    position: absolute;
    white-space: nowrap;
}

.no-visible{
    display: none;
}

.crossed {
    text-decoration: line-through;
}

.cursor-link {
    cursor: pointer;
}
.link {
    cursor: pointer;
    color: #0000ff;    
}
.link:hover {
    text-decoration: underline;
}

.filling-helper {
    font-size: 0.85em;
}
strong.important, span.important {
    color: red;
}

strong.ordered, span.ordered {
    color: #86910f;
}

strong.warning, span.warning {
    color: #c06c0d;
}

strong.info, span.info {
    color: #000;
}

strong.success, span.success {
    color: #007000;
}

.marked {
    background-color: #ccffcc !important;
}

.form-scoring, .form-item-scoring {
    padding-bottom: 10px;
    padding-top: 10px;
}
td.align-center {
    text-align: center;
}
.form-priority-td {
    width: 50%;
    padding-left: 20px;
    padding-right: 20px;
}
.form-priority-table {
    width: 100%;
    padding: 10px;
    margin: 10px;
}
.full_size_block {
    width: 100%;
    background: #fff none repeat scroll 0 0;
    margin: 0 auto;
    min-width: 640px;
}
.page_block {
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
}

.left-panel {
    width: 250px;
    float: left;
}
.right-panel {
    min-width: 250px;
    padding-left: 250px;
}

div.attendance-row{
    padding-bottom: 5px;
    padding-top: 5px;
    display: block;
    alignment-adjust: middle;
}

div.attendance-block{
    background-color: #ccccff;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 3px;
    padding-bottom: 3px;
    width: 250px;
    display: inline-block;
    text-align: center;
}

span.attendance-description {
    clear: both;
}

span.attendance-time-icon {
    padding-left: 10px;
    padding-right: 10px;
    line-height: 15px;
    background-size: 20px;
}

span.attendance-time-icon-large {
    background-size: 18px auto;
    float: left;
    height: 18px;
    line-height: 18px;
    width: 18px;
}

.icon-office {
    background: url(/spravce/telefonni_seznam/images/add.png) no-repeat;
}

.icon-in-office {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/kancelar.png") no-repeat scroll 0 0 / auto;
}

.icon-overtime-accepted {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/time.png") no-repeat scroll 0 0 / auto;
}

.icon-overtime-free {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/over_time.png") no-repeat scroll 0 0 / auto;
}

.icon-appointment {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/appointment.png") no-repeat scroll 0 0 / auto;
}

.icon-meeting {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/meeting.png") no-repeat scroll 0 0 / auto;
}

.icon-doctor {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/first_aid.png") no-repeat scroll 0 0 / auto;
}

.icon-other {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/questionmark.png") no-repeat scroll 0 0 / auto;
}

.icon-holiday {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/airplane.png") no-repeat scroll 0 0 / auto;
}

.icon-lunch {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/lunch.png") no-repeat scroll 0 0 / auto;
}

.icon-pause {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/pause.png") no-repeat scroll 0 0 / auto;
}

.icon-compensation {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/compensation.png") no-repeat scroll 0 0 / auto;
}

.icon-compensation-bw {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/compensation_bw.png") no-repeat scroll 0 0 / auto;
}

.icon-home {
    background: rgba(0, 0, 0, 0) url("/spravce/images/icons/home.png") no-repeat scroll 0 0 / auto;
}

.attendance-time-from{
    padding-right: 20px;
}

.attendance-time-to {
    padding-left: 20px;
}

.wrong {
    background-color: red;
}

.attendance-block-overview {
    padding-top: 3px;
    padding-bottom: 3px;
    width: 120px;
    text-align: center;
    background-color: #ccccff;
    height: 20px;
}

.attendance-block-overview.red {
    background-color: #ffcccc;
}

.attendance-block-overview.green {
    background-color: #ccffcc;
}

.attendance-block-overview.grey {
    background-color: #e4e4e4;
}

.attendance-block-firts-column{
    background-color: #ccffcc;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 3px;
    padding-bottom: 3px;
    width: 70px;        
    display: inline-block;
    text-align: center;
}

.filter-section{
    padding-top: 70px;
    padding-left: 20px;
    padding-right: 10px;

}

select.filter{
    font-size: 10pt;
    width: 200px;
}

select.filter option{
    padding: 3px;
}

input.filter{
    font-size: 10pt;
    width: 200px;
    padding: 3px;
}

.date-large {
    font-size: 35px;
}  
.date-medium {
    font-size: 15px;
}  
.date-small {
    font-size: 10px;
}

.red {
    color: red;
}

td.red.data {
    background-color: rgba(255, 0, 0, 0.07);
}

ul.menu li{
    list-style-type: none;
    line-height: 25px;
    padding-left: 25px;
}

ul.menu li a:hover{
    color: #a71c20;

}

ul.menu li a{
    text-decoration: none;            
}

.actions-menu{
    padding-bottom: 10px;
    text-decoration: none;
    padding-left: 10px;
}
.actions-menu a:hover{
    color: #a71c20;

}

td.right{
    text-align: right;
}

td.red{
    background-color: #ffcccc;
}

td.blue{
    background-color: #ccccff;
}

td.green{
    background-color: #ccffcc;
}

.action-section {
    margin-bottom: -50px;
    margin-top: 70px;
}

.table-content {
    min-width: 700px;
    margin-left: 30px;
}

.table-hover tr:hover {
    background-color: #adaff1;
}

.table-content td:first-child {
    width: 35%;
}

h3.object-block-view {
    padding-top: 40px;
    padding-bottom: 10px;
    padding-left: 15px;
}

.main-content h1 {
    margin-bottom: 10px;
}

.level-2 {
    margin-left: 10px;
}
.level-3 {
    margin-left: 10px;
}

label.filter{
    display: block;
    margin-top: 8px;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip-info{
    width: 15px;
    height: 15px;
    background-image: url(../images/warning_50.png);
    background-size:     cover;                 
    background-repeat:   no-repeat;
    background-position: center center; 
}

.tooltip .tooltip-text {
    visibility: hidden;
    background-color: #333333;
    color: #fff;
    text-align: center;
    padding: 0.5em;
    border-radius: 7px;
    position: absolute;
    margin-left: 18px;
    margin-top: 15px;
    min-width: 180px;
    z-index: 1;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
}

.pointer {
    cursor: pointer;   
}

.pointer:hover {
    text-decoration: underline;
}

tr.not-valid td{
    color: #999999;
    text-decoration: line-through;
}

tr.semi-valid td{
    color: #999999;
}

tr.important td{
    font-weight: bolder;
}


.js-check-by-data {
    cursor: pointer;
}

.admin-listing-section {
    line-height: 3em;
    align-content: space-between;
}

.admin-listing-overview{
    white-space: nowrap;
    display: inline-block;
}

.admin-listing-content{
    text-align: right;
    display: inline-block;
    float: right;
}
.listing_item {

}
.listing_item.active a {
    color: #A71C20;
    text-decoration: underline;
}

#menu ul li a.new-tasks {
    background-color: red;
    font-weight: bold;
}

.flex {
    display: flex;
}

.left-panel-flex {
    flex: 0 0 20em;
}

.right-panel-flex {
    flex-grow: 3;
}

.left-panel-filter-input {
    min-width: initial !important;
    margin-left: 0 !important;
}

.left-panel-filter-select-wrapper {
    margin-left: -10px !important;
}

.left-panel-filter-row {
    margin-bottom: 16px;
}

.form-col-flex-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.form-col-flex-item {
    flex: 0 0 auto;
    margin-right: 16px;
}

.form-col-item {
    margin-top: 8px;
    margin-bottom: 8px;
}

.form-col-remove-button-container {
    padding-top: 24px;
}

.form-col-item-remove {
    margin: 0;
    padding: 10px;
}

.form-col-selectize {
    min-width: 300px;
}

.form-col-item-input {
    margin: 0 !important;
    padding: 10px !important;
    min-width: initial !important;
}

.form-col-item-checkbox-input {
    margin-top: 10px;
    margin-bottom: 10px;
}

.form-col-label-container {
    margin-bottom: 8px;
}

input.new-line {
    display: block;
}


div.inline {
    display: inline-block;
}

.gallery-img {
    height: auto; /* zachování poměru stran */
    display: block; /* zabrání přidaní mezery pod obrázek */
    max-height: 120px;
    max-width: 160px;
    margin: 0 auto 0 auto;
}

.gallery-item {
    padding-left: 2em;
    padding-top: 1em;
    margin: 0 auto; 
    width: 160px;
    display: inline-block;
    max-height: 120px;
}