/**
 * Dialog - univerzalne dialogove okno
 */

summary {
    font-weight: bold !important;
}

tr.dialog-order {
    display: none;
}

tr.dialog-order-disabled {
    display: none !important;
}

p.dialog-summary {
    margin: 0;
    font-weight: bold;
}

div.DlgLeftCol {
    float: left;
    width: 48%;
    
}

div.DlgRightCol {
    float: right;
    width: 48%;
    
}

div.DlgLarge {
    height: 70%;
    width: 70%;
}

div.DlgSmall {
    height: 35%;
    width: 35%;
}

div.dlg-full {
    /* height: 90% !important; */
    /* width: 90% !important; */
    
    top: 25px !important;
    bottom: 25px !important;
    right: 25px !important;
    left: 25px !important;
}

div.dlg-inner {
    height: 100% !important;
    width: 100% !important;
}


@media screen and (max-width: 1024px)
{
    div.dlg-full {
        width: 974px !important;
    }
    
}

@media screen and (max-height: 384px)
{
    div.dlg-full {
        height: 334px !important;
    }
    
}

#dlgMoveUnit > div > table > tbody > tr:nth-child(1) > td > span > strong:after
{
    content: ':';
}

#dlgMoveUnit > div > table > tbody > tr > td:nth-child(1)
{
    padding-right: 20px;
}




/* hlavny dialog s ciernym pozadim */
div.ui-dialog-titlebar.ui-widget-header.ui-corner-all.ui-helper-clearfix.ui-dialog-titlebar-main > 
    button
{
    /*background: #000 url("images/ui-bg_flat_0_000000_40x100.png") 50% 50% repeat-x !important;*/
    border: none;
}

/* vedlajsi dialog s bielym pozadim */
div.ui-dialog-titlebar.ui-widget-header.ui-corner-all.ui-helper-clearfix > 
    button
{
    /*background: #fff url("images/ui-bg_flat_0_ffffff_40x100.png") 50% 50% repeat-x !important;*/
    border: none;
}

/* oba dialogy - farba ikony */
div.ui-dialog-titlebar.ui-widget-header.ui-corner-all.ui-helper-clearfix > 
    button > span.ui-icon
{
    /*background-image: url("images/ui-icons_e31e25_256x240.png") !important;*/
}

/* upravy select s ikonami */
div.dd-select
{
    background: rgba(255, 255, 255, 0.75) !important;
    width: 122% !important;
    border: 1px solid #d6d6d6;
    border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
    height: 32px !important;
}
div.dd-select > a
{
    padding: 5px;
    height: 23px !important;
}
div.dd-select > a > img
{
    height: 22px;
}
div.dd-select > a > label
{
    line-height: 22px !important;
    padding-left: 2px;
    font-weight: normal;
    text-transform: none;
}
ul.dd-options 
{
    width: 122% !important;
    border: 1px solid #d6d6d6;
    border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
    height: auto !important;
    max-height: 320px !important;
}
ul.dd-options > li > a.dd-option
{
    padding: 5px;
    height: 22px !important;
}
ul.dd-options > li > a.dd-option.dd-option-selected > label
{
    font-weight: bold;
}
ul.dd-options > li > a > input.dd-option-value
{
    
}
ul.dd-options > li > a > img.dd-option-image
{
    height: 22px !important;
    
}
ul.dd-options > li > a > label.dd-option-text
{
    line-height: 22px !important;
    
    padding-left: 2px;
    font-weight: normal;
    text-transform: none;
}

/* pozadie tabulky */
table.has-dialog-header {
    border: none;
    border-collapse: collapse;
}
table.has-dialog-header > tbody > tr.dialog-header {
    background-color: #F1F1F1;
}

table > tbody > tr > td {
    /*padding-bottom: 8px;*/
    position: relative;
}

table.ui-datepicker-calendar > tbody > tr > td
{
    padding-bottom: 2px;
}

table.has-dialog-header > tbody > tr.dialog-header > td:nth-child(2n+0) {
    width: 200px;
}

table.has-dialog-header > tbody > tr.dialog-header > td:first-child {
    padding-left: 13px;
}
table.has-dialog-header > tbody > tr.dialog-header > td:last-child {
    padding-right: 13px;
}
table.has-dialog-header > tbody > tr.dialog-header:first-child > td {
    padding-top: 8px;
    min-width: 140px;
}
table.has-dialog-header > tbody > tr > td:not(:first-child){
    padding-left: 16px;
}
table.has-dialog-header > tbody > tr > td:nth-child(3){
    padding-left: 62px;
}
table.has-dialog-header > tbody > tr:last-child > td:first-child {
    vertical-align: super;
    padding-top: 8px;
}
table.has-dialog-header > tbody > tr:nth-last-child(3) > td:last-child {
    vertical-align: super;
}

td + td + td > label
{
    text-transform: uppercase;
    font-weight: bold;
}

td:first-child > label
{
    text-transform: uppercase;
    font-weight: bold;
}

div.UAMdiv > table > tbody > tr:not(:first-child) > td > label
{
    text-transform: none !important;
}
div.PMdiv > table > tbody > tr:not(:first-child) > td > label
{
    text-transform: none !important;

}
div.UAMdiv > table > tbody > tr:not(:first-child) > td:not(:first-child) > label
{
    font-weight: normal !important;
}
div.PMdiv > table > tbody > tr:not(:first-child) > td:not(:first-child) > label
{
    font-weight: normal !important;
}

tbody > tr.dialog-header > * input
{
    background: rgba(255, 255, 255, 0.75);
}


table > tbody > tr > td[colspan="4"] > strong
{
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 2px;
  color: #aaa;

  text-align: center;
}

table > tbody > tr > td[colspan="4"] 
{
  text-align: center;
  padding: 2em 0 1.6em 0;
}

table.nmgrRoot > tbody > tr:first-child > td
{
    text-transform: uppercase;
}
table.nmgrRoot > tbody > tr:not(:first-child) > td > label
{
    text-transform: none;
}
table.nmgrRoot > tbody > tr:not(:first-child) > td:first-child > label
{
    font-weight: 100;
}
table.nmgrRoot > tbody > tr:not(:first-child) > td:nth-child(2) > label
{
    font-weight: normal;
}
table.nmgrRoot > tbody > tr > td > button
{
    background: #000 url("images/ui-bg_flat_0_ffffff_40x100.png") 50% 50% repeat-x !important;
    border: none !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 5px;
    top: -2px;
}
table.nmgrRoot > tbody > tr > td > button > span.ui-icon
{
    background-image: url("images/ui-icons_454545_256x240.png") !important;
}
table.nmgrRoot > tbody > tr > td > button > span.ui-icon.ui-icon-plus
{
    background-image: url("images/ui-icons_e31e25_256x240.png") !important;
}
table.nmgrRoot > tbody > tr > td > button > span.ui-icon.ui-icon-disk
{
    /* background-image: url("images/ui-icons_e31e25_256x240.png") !important; */
}

table.nmgrRoot > tbody > tr > td:nth-child(2) > input
{
    padding-right: 20px;
}

table.nmgrRoot > tbody > tr:not(:first-child) > td:nth-child(2) > input + label
{
    left: 92px;
    top: 8px;
    position: absolute;
}
table.nmgrRoot > tbody > tr:not(:last-child) > td:nth-child(2) > input + label
{
    left: 92px;
    top:10.5px;
    position: absolute;
}
table.nmgrRoot
{
    border-collapse: collapse;
    min-width: 350px;
}
table.nmgrRoot > tbody > tr:not(:last-child)
{
    border-bottom-color: rgb(241, 241, 241);
    border-bottom-style: solid;
    border-bottom-width: 1px;
}
table.nmgrRoot > tbody > tr:not(:last-child) > td
{
    padding-top: 4px;
    padding-bottom: 5px;
}
table.nmgrRoot > tbody > tr:not(:last-child) > td:nth-child(1)
{
    width: 200px !important;
}
table.nmgrRoot > tbody > tr:not(:last-child) > td:nth-child(3)
{
    width: 50px !important;
}
table.nmgrRoot > tbody > tr > td:nth-child(2)
{
    min-width: 115px !important;
    max-width: 115px !important;
    overflow: hidden;
}

table[name='table-emails']
{
    border: none;
    border-collapse: collapse;
    width: 182px;
}
table[name='table-emails'] > tbody > tr > td > button
{
    background: #000 url("images/ui-bg_flat_0_ffffff_40x100.png") 50% 50% repeat-x !important;
    border: none !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 5px;
    position: absolute;
    top: 7px;
    right: -1px;
}
table[name='table-emails'] > tbody > tr > td > button > span.ui-icon
{
    background-image: url("images/ui-icons_454545_256x240.png") !important;
}
table[name='table-emails'] > tbody > tr > td > button > span.ui-icon.ui-icon-plus
{
    background-image: url("images/ui-icons_e31e25_256x240.png") !important;
}
table[name='table-emails'] > tbody > tr > td > input
{
    padding-right: 22px;
    width: 85% !important;
}

.table-emails-frame-static
{
    max-height: 211px;
    height: 211px;
    min-height: 211px;
}

.table-emails-frame
{
    overflow: scroll;
    max-height: 180px;
    /* height: 180px; */
    /* min-height: 180px; */
    /* border: 1px #d6d6d6 solid; */
}

#frmEditUnit > table > tbody > tr > td > div > button
{
    padding: 0;
    margin-top: 8px;
    border: 1px solid #E31E25;    
    background: #FFFFFF url("images/ui-bg_flat_0_ffffff_40x100.png") 50% 50% repeat-x;
    color: rgb(227, 30, 37);
    text-transform: uppercase;
    font-weight: 100;
}
#frmEditUnit > table > tbody > tr > td > div > button:hover
{    
    background: #f0f0f0 url("images/ui-bg_flat_0_f0f0f0_40x100.png") 50% 50% repeat-x !important;
}

#frmEditUnit > table > tbody > tr > td > div > button > span:nth-child(1)
{
    background-image: url("images/ui-icons_e31e25_256x240.png") !important;
}

#frmEditUnit > table > tbody > tr > td > div > button > span:nth-child(2)
{
    letter-spacing: 1px;
}


span.required-field:before
{
    content: '*';
    font-weight: bold;
    color: rgb(227, 30, 37);
    font-size:  105%;
    line-height: 12px;
}

div.ui-datepicker > div.ui-datepicker-header > a
{
    background: #000 url("images/ui-bg_flat_0_000000_40x100.png") 50% 50% repeat-x !important;
    border: none !important;
    top: 2px !important;
}

div.ui-datepicker > div.ui-datepicker-header > a
{
    background: #1A1B1F url("images/ui-bg_flat_0_1a1b1f_40x100.png") 50% 50% repeat-x !important;
    border: none !important;
    top: 2px !important;
    cursor: pointer;
}
div.ui-datepicker > div.ui-datepicker-header > a.ui-datepicker-prev 
{
    left: 2px !important;
}
div.ui-datepicker > div.ui-datepicker-header > a.ui-datepicker-next 
{
    right: 2px !important;
}
div.ui-datepicker > div.ui-datepicker-header > a > span
{
    background-image: url("images/ui-icons_e31e25_256x240.png") !important;
}


.ui-dialog-titlebar-close {
    display:none !important;
}

.ui-my-close-button{
    width: 15px;
    height: 15px;
    float: right;
    display: inline-block;
    background: url(../img/_icons.png) no-repeat;
    background-position: -52px -23px;
    background-clip: content-box;
    cursor:pointer;
    position: absolute;
    right:10px;
    top:10px;
}

#dlgAddGroup,
#dlgEditGroup,
#dlgAddUser,
#dlgEditUser {
    padding-left: 40px;
    padding-right: 40px;
}

#dlgLogout {
    padding-top:50px !important;    
}
#dlgConfirm {
    padding-top:15px !important;    
}
#dlgEditGroup,
#dlgAddGroup, 
#dlgRemoveGroup,
#dlgAddUser, 
#dlgEditUser,
#dlgRemoveUser, 
#dlgRemoveIssue, 
#dlgToggleUser {
    padding-top:70px !important;
}
#dlgResetPasswordUser {
    padding-top:30px !important;
    padding-left: 30px;
    padding-right: 30px;
}
.logout-icon {
    line-height:20px;
    border: 0px solid red;
    font: 300 20px/1.5 'Roboto', sans-serif;
    color:transparent;
    background: url(../img/_icons.png) no-repeat;
    background-position: -193px -23px;
    background-clip: content-box;
    
}
#dlgConfirm > p {
    text-align: center;
    font: 300 25px/1.5 'Roboto', sans-serif;
    color:white;
}
#dlgLogout > p,
#dlgRemoveGroup > p,
#dlgRemoveUser > p,
#dlgRemoveIssue > p,
#dlgToggleUser > p,
#dlgResetPasswordUser > p {
    text-align: center;
    font: 300 30px/1.5 'Roboto', sans-serif;
    color:white;
}

div[aria-describedby=dlgAddGroup] .ui-dialog-buttonset {
    padding-bottom: 50px;
    padding-left: 40px;
}
div[aria-describedby=dlgEditGroup] .ui-dialog-buttonset {
    padding-bottom: 50px;
    padding-left: 40px;
}
div[aria-describedby=dlgAddUser] .ui-dialog-buttonset {
    padding-bottom: 50px;
    padding-left: 40px;
}
div[aria-describedby=dlgEditUser] .ui-dialog-buttonset {
    padding-bottom: 50px;
    padding-left: 40px;
}
div[aria-describedby=dlgRemoveGroup] .ui-dialog-buttonset {
    padding-bottom: 50px;    
}
div[aria-describedby=dlgResetPasswordUser] .ui-dialog-buttonset {
    padding-bottom: 50px;
}
div[aria-describedby=dlgRemoveUser] .ui-dialog-buttonset {
    padding-bottom: 50px;
}
div[aria-describedby=dlgRemoveIssue] .ui-dialog-buttonset {
    padding-bottom: 50px;
}
div[aria-describedby=dlgToggleUser] .ui-dialog-buttonset {
    padding-bottom: 50px;
}
div[aria-describedby=dlgLogout] .ui-dialog-buttonset {
    padding-bottom: 50px;    
}

#frmAddGroup label,
#frmEditGroup label,
#frmAddUser label,
#frmEditUser label {
    padding: 2px 12px 12px 12px;
}
#frmAddGroup td,
#frmEditGroup td,
#frmAddUser td,
#frmEditUser td {
    padding-bottom: 0px;
}

#zoomer, #zoomer-big {
    top:30px;
    /*margin-left: 25px;*/
}

#chart-div {
    width: 980px;
    height: 300px;
    position: absolute;
    top:340px;
    border:0px solid red;
    padding: 20px;
}
#speed-div {
    width: 450px;
    height: 200px;
    position: absolute;
    top:80px;
    border:0px solid red;
    padding: 20px;
}
#map-div {
    width: 450px;
    height: 300px;
    position: absolute;
    left:555px;
    top:20px;
    border:0px solid red;
}

#chart {
    width: 980px;
    height: 250px;
    /*top:350px;*/
}
#chart-big-div {
    width: 95%;
    height: 90%;
    position: absolute;
    border:0px solid red;
    padding: 20px;
}

#chart-big {
    width: 100%;
    height: 100%;
    /*top:350px;*/
}

#zoomer.ui-widget-content {
    border: 1px solid white;
}
#zoomer .ui-widget-header {
    padding-top: 0px;
    padding-left: 0px;
    border:1px solid white;
    background-color: white;
}
#zoomer .ui-slider-handle {
    border: 1px solid white;
    background-color: #3c5065 !important;
}
#zoomer .ui-state-hover {
    border: 1px solid white;
    background-color: #3c5065 !important;
}
#zoomer-speed.ui-widget-content {
    border: 1px solid white;
}
#zoomer-speed .ui-widget-header {
    padding-top: 0px;
    padding-left: 0px;
    border:1px solid white;
    background-color: white;
}
#zoomer-speed .ui-slider-handle {
    border: 1px solid white;
    background-color: #3c5065 !important;
}
#zoomer-speed .ui-state-hover {
    border: 1px solid white;
    background-color: #3c5065 !important;
}

#zoomer-big.ui-widget-content {
    border: 1px solid white;
}
#zoomer-big .ui-widget-header {
    padding-top: 0px;
    padding-left: 0px;
    border:1px solid white;
    background-color: white;
}
#zoomer-big .ui-slider-handle {
    border: 1px solid white;
    background-color: #3c5065 !important;
}
#zoomer-big .ui-state-hover {
    border: 1px solid white;
    background-color: #3c5065 !important;
}

.rickshaw_graph .detail .x_label { display: none }
.rickshaw_graph .detail .item { line-height: 1.4; padding: 0.5em }
.detail_swatch { float: right; display: inline-block; width: 10px; height: 10px; margin: 0 4px 0 0 }
.rickshaw_graph .detail .date { color: #a0a0a0 }