/* 
    Document   : default
    Author     : Jan Vlcek
    Description:
        Default Stylesheet for MorchesDoprava project.
*/

/* BODY */

body {
    position: relative;
    font-family: Tahoma, Verdana;
    font-size: 12px;
    color: #000000;
    padding: 0px;
    margin:	0px;
}

* html body {
    text-align: center;
}

/* LINK STYLE */

a {
    color: #0085CF;
    text-decoration: underline;
    font-weight: bold;
}

a:hover {
    text-decoration: none;
}


/* HEADLINES */

h1 {
    margin:       0px;
    padding:      5px 0px 5px 20px;
    font-size:    26px;
    font-weight:  normal;
    font-family:  Verdana;
    color:        #000000;
}



/* PARAGRAPH */

p {
    text-indent:  15px;
    line-height:  150%;
    text-align:   left;
}


/* LISTS */

ul, ol {
    padding:  5px 0px 5px 40px;
    margin:   0px;
}

ul li ul, ul li ol, ol li ol, ol li ul {
    padding: 0px 0px 0px 20px;
}

ul li, ol li {
    padding: 0px;
    margin: 0px;
    line-height: 150%;
}


/* LINES */

hr {
    clear: both;
    padding: 0px;
    margin: 0px;
}


/* CLASSES */

.center {
    text-align: center;
}


/* LAYOUT */

div#main {
    width: 100%;
    margin: 40px auto 0px auto;
    text-align: left;
}

ul#menu {
    display: block;
    margin: 0 auto;
    clear: both;
    height: 28px;
    border-bottom: 5px solid #E0E0E0;
    list-style-type: none;
    padding: 0 20px;
}

ul#menu li {
    float: left;
    text-align: center;
}

ul#menu li a {
    display: block;
    width: 100px;
    padding: 5px;
    margin: 0 2px;
    background-color: #F5F5F5;
    text-decoration: none;
}

ul#menu li a:hover, ul#menu li a.active {
    background-color: #E0E0E0;
}

ul#menu li.loginInfo {
    padding: 5px 5px 5px 20px;
    margin: 0 2px;
}


/* DATAGRID TABLE */

table#datagrid a {
    color: red;
}

div#pager input, div#pager select {
    margin: 4px 0 0 0;
}

div#pager {
    padding: 5px 0 0 0;
}

input#addbutton {
    margin: 5px 10px;
}

form {
    margin: 0;
    padding: 0;
}

/* FLASH MESSAGES */

div.flash {
    clear: both;
    padding: 10px 15px;
    margin: 10px;
    font-size: 15px;
    font-weight: bold;
}

div.success {
    border: 1px solid #2FFF87;
    background-color: #D9FFE9;
}

div.error {
    border: 1px solid #FF6A6A;
    background-color: #FFD9D9;
}

/* OTHER */

table.borders {
    border: 1px solid #E0E0E0;
    border-collapse: collapse;
    margin: 10px;
    font-size: 12px;
}

table.borders input, table.borders select {
    font-size: 11px;
}

table.borders thead tr th, table.borders thead tr td {
    text-align: center;
}

table.borders tr {
    border: 1px solid #E0E0E0;
}

table.borders td, table.borders th {
    border: 1px solid #E0E0E0;
    padding: 5px 3px;
}

table.borders th.delimiter {
    font-size: 15px;
    background-color: #F5F5F5;
}

table.borders input.hidden {
    display: none;
}

table.borders input.text {
    width: 50px;
}

/* LOGIN FORM */

  form.loginForm {

    padding:      0px;
    margin:       0px;

  }

  form.loginForm fieldset {

    width:          230px;

    padding:        10px 10px 13px 12px;
    margin:         0px;

    border:         1px solid #CCCCCC;

  }

  form.loginForm fieldset div {

    padding:        2px 5px;
    margin:         0px;

    clear:          both;

  }

  form.loginForm fieldset div label {

    padding:        3px 0px;
    margin:         0px;

    display:        block;
    float:          left;

    width:          100px;

    color:          #000000;

  }

  form.loginForm fieldset div.itemButton {

    padding:        10px 0px 0px 0px;
    margin:         0px;

    text-align:     left;

  }

  form.loginForm fieldset div.itemButton input {

    width:              100px;
    padding:            4px 6px;

    border:             1px dotted #CCCCCC;

    text-transform:     uppercase;

    font-size:          12px;

    background:         #F2F2F2;

  }

  form.loginForm fieldset div input.long {

    width:        500px;

  }

  form.loginForm fieldset div input.medium {

    width:        250px;

  }

  form.loginForm fieldset div input.short {

    width:        100px;

  }
  
  .ui-autocomplete {
      z-index: 1000;
  }
  
  #sg_zavada_priorita {
      width: 41px !important;
  }
  
  #sg_zavada_usek {
      width: 43px !important;
  }
  
  #frm-photoForm-delete {
      margin-left: 60px;
  }
  
  #photoSubmit {
      text-align: center;
  }
.useky tr:nth-child(even) {background-color: #f2f2f2;}
.useky tr:hover {background-color: #a9c5e1;}
.useky th, .useky td{
    margin: 0;
    padding: 5px 10px;
}
.useky th {
    background: #ddd;
}