html {height: 100%;}

body
  {
    position: relative;
    height: 100%;
    font-family: Arial, sans-serif;
    background: #fafafa;
  }
  
div#lista_hore
  {
    background: #efefef;
    border-bottom: 1px solid #ccc;
    padding: 4px 10px 3px;
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
  }
  
div#lista_hore div
  {
    display: inline-block;
  }
  
div#bottom
  {
    height: 70px;
  }
  
a
  {
    color: #009bc5;
    text-decoration: none;
  }
  
a:hover
  {
    color: #00ddff;
  }
  
a.del
  {
    color: #c00;
  }
  
a.del:hover
  {
    color: white;
    text-shadow: 0 0 0.1em #d00, 0 0 0.2em #d00, 0 0 0.3em #d00, 0 0 0.4em #d00, 0 0 0.5em #d00, 0 0 0.6em #d00, 0 0 0.7em #d00;
  }
  
a.add
  {
    color: #0a0;
  }
  
a.add:hover
  {
    color: #3e4;
  }
  
a.move
  {
    color: #c40;
  }
  
a.move:hover
  {
    color: #fa0;
  }
  
a.sort:not(:hover)
  {
    color: #d3d3d3;
  }
  
a.sorted
  {
    color: black;
  }

div#login_form
  {
    width: 100%;
    display: block;
    position: absolute;
    top: calc(50% - 130px);
  }

form[name="prihlasenie"]
  {
    width: 280px;
    min-height: 200px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
  }
  
input[type="text"],
input[type="password"],
input[type="email"],
textarea, 
select
  {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0px 0px 9px #f0f0f0 inset;
    padding: 7px;
    margin: 2px;
    border-radius: 4px;
    transition: border 0.5s;
    outline: none;
  }
  
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus
  {
    border: 1px solid #6af;
  }

input[type="radio"]
{
    margin-top: -2px;
    margin-left: 18px;
}
  
form[name="prihlasenie"] input
  {
    width: calc(100% - 24px);
  }
  
form[name="prihlasenie"] h1
  {
    color: #555;
    font-size: 20px;
    letter-spacing: 3px;
    text-shadow: 0px 1px white;
    margin-bottom: 20px;
    margin-top: 10px;
  }
  
button
  {
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    padding: 9px 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    box-shadow: 0px 1px 0px rgba(225, 225, 225, 0.5) inset;
    cursor: pointer;
  }

button:active
  {
    padding: 10px 16px 8px;
    box-shadow: 0px -1px 0px rgba(225, 225, 225, 0.5) inset;
  }

button.small
  {
    font-size: 12px;
    padding: 3px 6px;
  }
  
button.blue
  {
    color: white;
    background: -webkit-linear-gradient(top, #00A0CC, #0084A8); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom, #00A0CC, #0084A8); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom, #0084A8, #00A0CC); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, #00A0CC, #0084A8); /* Standard syntax (must be last) */
  }
  
button.blue:hover
  {
    background: -webkit-linear-gradient(top, #00B4E5, #009ac4); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom, #00B4E5, #009ac4); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom, #009ac4, #00B4E5); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, #00B4E5, #009ac4); /* Standard syntax (must be last) */
  }
  
button.blue:active
  {
    background: -webkit-linear-gradient(top, #009ac4, #00B4E5); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom, #009ac4, #00B4E5); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom, #00B4E5, #009ac4); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, #009ac4, #00B4E5); /* Standard syntax (must be last) */
  }
  
button.green
  {
    color: white;
    background: -webkit-linear-gradient(top, #00cc00, #00aa00); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom, #00cc00, #00aa00); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom, #00aa00, #00cc00); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, #00cc00, #00aa00); /* Standard syntax (must be last) */
  }
  
button.green:hover
  {
    background: -webkit-linear-gradient(top, #22dd22, #22bb22); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom, #22dd22, #22bb22); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom, #22bb22, #22dd22); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, #22dd22, #22bb22); /* Standard syntax (must be last) */
  }
  
button.green:active
  {
    background: -webkit-linear-gradient(top, #22bb22, #22dd22); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom, #22bb22, #22dd22); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom, #22dd22, #22bb22); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, #22bb22, #22dd22); /* Standard syntax (must be last) */
  }
  
button.red
  {
    color: white;
    background: -webkit-linear-gradient(top, #cc0000, #aa0000); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom, #cc0000, #aa0000); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom, #aa0000, #cc0000); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, #cc0000, #aa0000); /* Standard syntax (must be last) */
  }
  
button.red:hover
  {
    background: -webkit-linear-gradient(top, #ee2222, #cc2222); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom, #ee2222, #cc2222); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom, #cc2222, #ee2222); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, #ee2222, #cc2222); /* Standard syntax (must be last) */
  }
  
button.red:active
  {
    background: -webkit-linear-gradient(top, #cc2222, #ee2222); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom, #cc2222, #ee2222); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom, #ee2222, #cc2222); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, #cc2222, #ee2222); /* Standard syntax (must be last) */
  }
  
#oznamy
  {
    margin: auto;
    width: 1000px;
  }

.notif
  {
    padding: 6px;
    margin: 5px;
    border-width: 1px;
    border-left-width: 5px;
    border-style: solid;
    font-size: 14px;
    text-align: left;
    opacity: 0;
    
    animation:show 0.7s;
    animation-iteration-count:1;
    animation-fill-mode:forwards;
    animation-delay:0.1s;
    
    /* Safari and Chrome */
    -webkit-animation:show 0.7s;
    -webkit-animation-iteration-count:1;
    -webkit-animation-fill-mode:forwards;
    -webkit-animation-delay:0.1s;
  }
  
@keyframes show
  {
    from {opacity:0;}
    to {opacity:1;}
  }
  
@-webkit-keyframes show
  {
    from {opacity:0;}
    to {opacity:1;}
  }

.error
  {
    background-color: #ffeeee;
    border-color: #dd0000;
  }

.success
  {
    background-color: #eeffee;
    border-color: #00dd00;
  }

.info
  {
    background-color: #e5eEfF;
    border-color: #0088dd;
  }

div#obsah
{
    width: 1000px;
    margin: auto;
    background-color: #eee;
    position: relative;
}
  
  
div#nadpis
  {
    width: 1000px;
    margin: auto;
  }
  
  
div#nadpis h1
  {
    font-size: 30px;
    margin: 25px 0px 10px 196px;
  }

div#obsah nav
{
    width: 169px;
    background-color: #f0f0f0;
    display: inline-block;
    vertical-align: top;
    position: absolute;
    height: calc(100% - 20px);
    min-height: 250px;
    border-right: 1px solid #ccc;
    padding: 10px;
}

div#obsah nav > ul
{
    margin-bottom: 20px;
}

div#obsah nav ul li a
{
    padding: 3px 0px 3px 3px;
    display: block;
    border-top: 1px solid #ddd;
}

/**************** ??? ***/
div#obsah nav > ul > li:first-child > a
{
    border-top: 0px;
}
/**************** ??? ***/

div#obsah nav ul li ul li a
{
    padding: 3px 0px 3px 25px;
    display: block;
    border-top: 1px solid #ddd;
    font-size: smaller;
}

div#obsah nav li a
{
    transition: all 0.1s;
}

div.riadok_pomocky:hover:not(:nth-child(3))
{
    background: #ddd;
}

div#obsah nav li a:hover
{
    background: #fafafa;
}

div#obsah div#hl_tabulka
{
    display: inline-block;
    width: 810px;
    vertical-align: top;
    margin-left: 190px;
}

div#obsah div#hl_tabulka form[name="pacienti"] div.riadok, 
div#obsah div#hl_tabulka.pomocky div.riadok, 
div#obsah div#hl_tabulka.dovody div.riadok
{
    padding: 5px;
    transition: background 0.2s;
    overflow: hidden;
}

div#obsah div#hl_tabulka form[name="pacienti"] div.riadok:nth-child(2n), 
div#obsah div#hl_tabulka.pomocky div.riadok:nth-child(2n), 
div#obsah div#hl_tabulka.dovody div.riadok:nth-child(2n)
{
    background: rgba(0,0,0,0.1);
}

div#obsah div#hl_tabulka form[name="pacienti"] div.riadok:hover:not(:first-child),
div#obsah div#hl_tabulka.pomocky div.riadok:hover:not(:first-child),
div#obsah div#hl_tabulka.dovody div.riadok:hover:not(:first-child)
{
  background: #f8f8f8;
}

div#obsah div#hl_tabulka div.riadok .stlpec
{
    display: inline-block;
    /*border-right: 1px solid black;*/
}

div#obsah div#hl_tabulka div.riadok .s1
{
    width: 30px;
}

div.pac_upoz
{
    background: #d00;
    color: white;
    font-weight: bold;
    font-size: 10px;
    position: absolute;
    margin-left: 21px;
    margin-top: 4px;
    width: 11px;
    height: 11px;
    text-align: center;
    border-radius: 6px;
    cursor: help;
}

div.chybajuce
{
    background: #d00;
    color: white !important;
    font-size: 11px;
    position: absolute;
    margin-top: -11px;
    padding: 1px 4px 3px;
    border-radius: 3px;
    cursor: help;
}

div#obsah div#hl_tabulka div.riadok .s2
{
    width: 300px;
}

div#obsah div#hl_tabulka div.riadok .s3
{
    width: 130px;
}

div#obsah div#hl_tabulka div.riadok .s4
{
    width: 70px;
}

div#obsah div#hl_tabulka div.riadok .s5
{
    width: 100px;
}

div#obsah div#hl_tabulka form[name="pacienti"] div.riadok .s2,
div#obsah div#hl_tabulka form[name="pacienti"] div.riadok .s3,
div#obsah div#hl_tabulka form[name="pacienti"] div.riadok .s4,
div#obsah div#hl_tabulka form[name="pacienti"] div.riadok .s5
{
    cursor: pointer;
}

div#obsah div#hl_tabulka.pomocky div.riadok .stlpec
{
    display: inline-block;
    vertical-align: top;
}

div#obsah div#hl_tabulka.pomocky div.riadok .s2
{
    width: 140px;
}

div#obsah div#hl_tabulka.pomocky div.riadok .s3
{
    width: 470px;
}

div#obsah div#hl_tabulka.pomocky div.riadok .s3::first-line
{
    font-weight: bold;
}

div#obsah div#hl_tabulka.dovody div.riadok .s2
{
    width: 610px;
}

div#obsah div#hl_tabulka form > div.riadok > .s6,
div#obsah div#hl_tabulka.pomocky > div.riadok > .s4,
div#obsah div#hl_tabulka.dovody > div.riadok > .s4
{
    width: 128px;
    text-align: right;
    font-variant: small-caps;
}

div#obsah div#hl_tabulka div.riadok div.riadok_skryty
{
    font-size: 12px;
    color: #888;
}

div#obsah div#hl_tabulka div.riadok .ss1
{
    padding-left: 35px;
    width: 350px;
}

div#obsah div#hl_tabulka div.riadok div.riadok_skryty div.riadok_pomocky div
{
    color: #000;
}

div#obsah div#hl_tabulka div.riadok_pomocky
{
    margin-left: 30px;
}

div#obsah div#hl_tabulka div.riadok_pomocky:nth-child(3)
{
  
    margin-top: 15px;
}

div#obsah div#hl_tabulka div.riadok_pomocky.prvy
{
    font-weight: bold;
}

div#obsah div#hl_tabulka div.riadok_pomocky .s2
{
    width: 60px;
}

div#obsah div#hl_tabulka div.riadok_pomocky .s3
{
    width: 410px;
}

div#obsah div#hl_tabulka div.riadok_pomocky .s4
{
    width: 100px;
}

div#obsah div#hl_tabulka div.riadok_pomocky .s5
{
    width: 80px;
}

.riadok_skryty h2
  {
    margin-left: 32px;
    margin-top: 7px;
    font-size: 15px;
  }
  
.riadok_pomocky:not(:last-child)
  {
    border-bottom: 1px solid #aaa;
  }

form[name="pacienti"] div.riadok:first-child,
div#hl_tabulka.pomocky div.riadok:first-child,
div#hl_tabulka.dovody div.riadok:first-child
  {
    font-weight: bold;
    font-size: 14px;
  }

form[name="pacienti"] div.riadok,
div#hl_tabulka.pomocky div.riadok,
div#hl_tabulka.dovody div.riadok
  {
    border-bottom: 1px solid silver;
  }

.uprava
  {
    transition: opacity 0.3s;
    opacity: 0;
  }
  
div.riadok:hover .uprava
  {
    opacity: 1;
  }
  
form[name="pacient"] div.riadok
  {
    padding: 5px;
    transition: all 0.2s;
  }
  
form[name="pacient"] input[type="text"]
  {
    width: 400px;
  }
  
form[name="pacient"] textarea
  {
    width: 400px;
    height: 120px;
  }
  
form[name="pacient"] select
  {
    width: 200px;
  }
  
.placeholder
  {
    opacity: 0.3;
    transition: all 0.2s;
    color: #666;
  }
  
.riadok_skryty
  {
    display: none;
  }
  
.riadok_odkryty
  {
    display: block;
  }
  
form[name="pacient"] div.riadok:hover:not(#tlacidlo)
  {
    background: #f8f8f8;
  }
  
form[name="pacient"] div.riadok:hover .placeholder
  {
    opacity: 1;
  }
  
form[name="pacient"] .riadok#pomocky
  {
    padding: 8px;
  }
  
form[name="pacient"] .riadok#tlacidlo
  {
    padding: 8px;
  }
  
div.ziadny_zaznam
  {
    text-align: center;
    padding: 8px;
    font-style: italic;
  }