/* 
--- 
code with love by David Čáp http://www.davidcap.cz/
*/

/* RESET */   
html, body, div, span, applet, object, iframe,  
h1, h2, h3, h4, h5, h6, p, blockquote, pre,  
a, abbr, acronym, address, big, cite, code,  
del, dfn, em, font, img, ins, kbd, q, s, samp,  
small, strike, strong, sub, sup, tt, var,  
b, u, i, center,  
dl, dt, dd, ol, ul, li,  
fieldset, form, label, legend,  
table, caption, tbody, tfoot, thead, tr, th, td {  
margin: 0;  
padding: 0;  
border: 0;  
outline: 0;  
font-size: 100%;  
vertical-align: baselinebaseline;  
background: transparent;  
font-weight: normal;
}  
body {  
line-height: 1;  
}  
ol, ul {  
list-style: none;  
}  
blockquote, q {  
quotes: none;  
}  
blockquote:before, blockquote:after,  
q:before, q:after {  
content: '';  
content: none;  
}  

  
/* remember to define focus styles! */  
:focus {  
outline: 0;  
}  
  
/* remember to highlight inserts somehow! */  
ins {  
text-decoration: none;  
}  
del {  
text-decoration: line-through;  
}  
  
/* tables still need 'cellspacing="0"' in the markup */  
table {  
border-collapse: collapse;  
border-spacing: 0;  
}  
/* RESET END*/ 


/* COLORS */


/* GENERAL */
* { margin:0; padding:0; }
body {  
    width:100%;
    min-width: 320px;
    background-color:#ffffff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    -webkit-text-size-adjust: 100%;
    color: #333333;
    font-size: 18px;
    line-height: 1.5;    
}

::selection {
    background: #59A5BE;
}
::-moz-selection {
    background: #59A5BE;
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* IE/Edge */
  user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
}
.content {
    max-width: 1280px;
    min-width: 990px;
    margin: 0 auto;
    padding-bottom: 60px;
}
#header .wrap{
    max-width: 1220px;
    margin: 0 auto;
}
.wrap{
    padding: 30px 30px;
}
a {  
    text-decoration: none;
    color: #333333;
}

/* FORM */
.btn,
a.btn,
input.btn {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 18px;
    font-weight: normal;
    background: #56a5bf;
    color: #333333;
    border: 0px solid transparent;
    border-radius: 0;
    box-shadow: 0;
    color: #fff;
    display: inline-block;
    padding: 19px 30px 22px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-shadow: 0;
    vertical-align: middle;
    white-space: nowrap;
    zoom: 1;
    cursor: pointer;
    height: 51px;
}
input,
select{
    width: 100%;
    border: 0 ;
    display: block;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 28px; 
    appearance: none;
    box-shadow: none;
    border-radius: none;
    background: transparent;
    color: #333333;
    resize: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none
}
select{
    background: url('/img/arr.png') right center no-repeat;
    cursor: pointer;
}
select::-ms-expand {
    display: none;
}

/* HEADER */
#header {  
    background-color: #ffffff;
    height: 90px;
    width: 100%; 
}
#header #logo{  
    float: left;
    width: 225px;
    height: 38px;
}
#header #logo img{  
    width: 100%;
    height: 100%;
}
#header #nav {  
    float: right;
}
#header #nav li{  
    float: left;
    padding-left: 30px;
}
#header #nav li a {
    display: inline-block;
    color: #59A5BE;
    text-decoration: none;
    line-height: 31px;
}
#header #nav li.active a{  
    border-bottom: 2px solid #59A5BE;
}
#header #nav li.logout img{  
    width: 28px;
    height: 24px;
    padding-top: 5px;
}

/* CONTENT */
.content  {  
    width: 100%;
}
.content h1 {  
    font-weight: bold;
}
.content .row {  
    width: 100%;
    height: 50px;
    clear: both;
    position: relative;
    border-bottom: 1px solid #EBEBEB;    
}
.pointer {
    cursor: pointer;
}
.select {
    display: inline-block;
    padding: 10px 15px;
    position: relative;
}
.select > span {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 7.5px 0 7.5px;
    border-color: #000000 transparent transparent transparent;   
    position: absolute;
    top: 50%;
    margin-top: -2px;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;      
}
.select.active span {
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
    border-color: #59a5be transparent transparent transparent; 
}
.content .row:hover, 
.content .row.active {  
    border-color: #59A5BE;
}
.content #row_count {  
    border-bottom: 0;
    color: #999999;
}
.content .subrow{  
    overflow: hidden;
    color: #999999; 
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;  
    height: 35px;
}
.content .row.subrow .left .inner{  
    padding: 5px 150px 10px 30px;
}
.content .subrow.hidden{  
    height: 0;
    overflow: hidden;
    border: 0;
}
.content .subrow .inner{ 
    color: #999999; 
    margin-left: 30px;
}
.content .row.add, 
.content .row.edit {  
    width: 100%;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);  
}
.content .row.add.error, 
.content .row.edit.error {  
    border: 1px solid #f34242;
}
.content .row.heading {  
    background-color: #ebebeb;   
}
.content .row.heading select {  
    font-weight: bold;  
}
.content .row select {  
    width: auto;
    padding-right: 30px;
}
.content .row .left {  
    display: block;
    float: left;
    width: 100%;
    color: #333333;
}
.content .row .left .inner {  
    padding: 13px 150px 18px 30px;    
}
#prehled .row .left .inner {  
    padding-right: 280px;    
}
.content .row .left .inner .td {  
    width: 90%;
    float: left;
}
#uzivatele .row .left .inner .td {  
    width: 33.33%;
}
#prehled .zamestnanec .row .left .inner .td.date{  
    width: 20%;
}
#prehled .zamestnanec .row .left .inner .td.hours {  
    width: 10%;
}
#prehled .zamestnanec .row .left .inner .td.project {  
    width: 70%;
}

#prehled .zamestnanec .row .left .inner .td.date select,  
#prehled .zamestnanec .row .left .inner .td.date .dot{  
    float: left;
    background-image: none;
    padding-right: 0;
}
#prehled .zamestnanec .row .left .inner .td.date .dot{  
    width: 9px!important;
}
.content .row .left .inner .td.input {  
    display: none;
}
.content .row .right { 
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
}
.content .row .right .td  {  
    text-align: center;
}
.content .row .right.date {  
    width: 250px;  
}
.content .row .right.date .td select {  
    float: left;
    width: auto;
    padding: 13px 30px 13px 0;
    margin-left: 30px;
    text-align: right;
}
.content .row .right .td .hours {  
    padding: 13px 30px 18px 0;   
    text-align: right;
    font-weight: 600;    
}
.content .row.subrow .right .td .hours {  
    padding: 5px 30px 18px 0;   
    text-align: right;
    font-weight: 400;
}
.content .row .right .td img  {  
    width: 28px;
    height: 24px;
    padding: 15px 0;
}
.content .row .right .td .save,
.content .row .right .td .remove  {  
    display: none;
}
.vse a { color: #999999;}
.half  {  
    float: left;
    width: 30%;
    padding-right: 10%;
}


#profil .form, #prihlaseni .form { margin-top: 15px;}
#profil .row, #prihlaseni .row { margin-bottom: 15px;}
#profil .row .left .inner, #prihlaseni .row .left .inner { padding-right: 30px;}

.chyba {
    color: #f34242;
}
.alert {
    position: fixed;
    z-index: 10000;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    color: #fff;
    text-align: center;
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;    
}
.alert.chyba {
    background: #f34242;
}
.alert.ulozeno {
    background: #59A5BE;
}

.clear {
    clear: both;
    height: 0;
    line-height: 0;
    padding: 0;
}