/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, 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,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

body{
    font-family:  Verdana, sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: #8A9094;
    font-stretch: condensed;
    margin:0;
    padding: 0;
}

input, textarea, select
{
    font-family: Verdana, sans-serif;
    color: #8B8E9A;
}

table{
    width:75%;
    margin-top:10px;
    margin-bottom:10px;
}

a,a:link,a:visited,a:active{
    text-decoration: none;
    color:inherit;
}

select{
    font-family: inherit;
    font-size:inherit;
    color: inherit;
    font-weight: 300;
}

a:hover{
    color:black;
}

table tr th{
    text-align: left;
    font-weight: 300;
    padding: 5px;
}


.menu{
    margin-bottom: 10px;
}

label{
    display:inline-block;
    width:180px;
    vertical-align: top;
    padding: 6px 4px ;
}

label.days{
    display:inline;
}


.button{
    border:0;
    font-family:  Verdana, sans-serif;
    color: white;
}

input, select, textarea{
    border-radius: 5px;
    border:1px solid #8A9094;
    font-size:16px;
    color:#8B8E9A;
    padding: 6px;
}

.button-login{
    background-color: #1D85F6;    
}

.button-ok{
    background-color: #1D85F6;
    width:200px;
    height: 40px;
}

.button-cancel{
    background-color: #F32929;
    width:200px;
    height: 40px
}

a.button-add{
    background-image: url("/app/css/images/plus.png");
    background-repeat: no-repeat;
    background-size: contain;
    display:inline-block;
    height: 24px;
    padding-left: 40px;
    padding-top:5px;
    margin:6px;
}

#logo, .logo-small{
    background-image: url("/app/css/images/logo.png");
    background-size: contain;
}

#logo{
    width: 100px;
    height: 100px;
    margin:auto;
}

.logo-small{
    width: 40px;
    height: 40px;

}

/* LOGIN Form */
body.login-page{
    background-color: #8A9094
}

body.login-page .container{
    margin-top: 100px;
}

div.header{
    font-size: 26px;
    padding: 10px;
    vertical-align: middle;
}

div.header div{
    display: inline-block;
    padding: 10px;
    vertical-align: middle;
}


div.container{
    width: 450px;
    background: white;
    margin: auto;
    border-radius: 5px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

div.header-login p{
    text-transform: uppercase;
    font-size: 26px;
}

div.login-form{
    background: #EDEDED;
    padding: 20px 50px;
    border:1px solid #8A9094;
}

.login-form input{
    width:334px;
    display:block;
    padding: 6px;
}

.login-form input.button{
    width: 100%;
}

div.footer, footer{
    margin-top: 20px;
    text-align: center;
}


ul.menu{
    border-top: 1px solid #898E93;
    border-bottom: 1px solid #898E93;
    margin:0;
    background-color: #EDEDED;
}


ul.menu li div {
    width:120px;
}

ul.menu li select{
    width: 100%;
    background-color: transparent;
    border:none;
    font-family: inherit;
    font-size:inherit;
    color: inherit;
    font-weight: 300;
    padding: 0;
    border-radius: 0;
}

ul.menu form{
    display:inline;
}

ul.menu li.logout{
    float:right;
    color:#410118;
}

table{
    border-collapse: collapse; 
    border-spacing:0;
    border:1px solid transparent;
    width: 100%;
}
table tr td{
    border:1px solid #898E93;
    padding: 10px;
}

table tr th.wide{
    width:220px;
}

table tr th.checkbox, table tr td.checkbox{
    width: 30px;
}
table tr th.order, table tr td.order {
    width: 70px;
}
table tr th.action, table tr td.action {
    width: 150px;
}
table tr th.order > select, table tr td.order > select {
    width: 100%;
}

table tr input[type=checkbox] {
    width: auto;
}

table tr th select{
    width:100%;
    border: none;
    padding: 0;
    border-radius: 0;

}

div.form-timetable{
    width:1000px !important;
}

div.form-content{
    width:800px;
    margin: auto;
    border: 1px solid #898E93;
    margin-top:10px;
    padding: 10px;
    background-color: #EDEDED;
    text-align: left;
}

form p{
    margin-top:6px;
    margin-bottom:6px;
}
div.form-content input, div.form-content textarea, div.form-content select{
    width:580px;
    margin-left:7px;
}

div.form-content select{
    width: 594px;
    display: inline-block;
}
div.form-content textarea{
    height: 70px;
}

div.form-content input[type='submit']{
    width: 150px;
    margin:5px 20px;
}


div.form-content input.half{
    width:385px;
}
div.form-content select.half{
    width:396px;
}

div.form-content .buttons{
    text-align: center;
}

div.form-content div.time{
    width:385px;
    float:left;
}
div.form-content div.days{
    width:385px;
    float:right;
}

div.form-content div.days input{
    width:40px;
    border: none;
    padding: 0;
    margin: 8px 0 0 0;
}

div.form-content div.days span{
    width:40px;
    display:inline-block;
    text-align: center;
    vertical-align: middle;
    height: 30px;
}


.clear{
    float:none;
    clear: both;
    height: 0;
}

.control-panel{
    cursor: pointer;
    width: auto!important;
}

.control-panel-active{
    background-color: #525252;
    color: white;
}
.control-panel-active:hover{
    color:#ffe45c;
}
.control-panel:hover{
    color:black;
}


ul.menu li.control-panel-item a:hover{
    color:white;
}
ul.menu li.control-panel-item:hover{
    color:white;
    background-color: #777C81;
}

ul.menu li.control-panel-item{
    display:none;
    background-color: #A3A3A3;
    color:white;
}

ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 30px;
    clear: both;
}

ul.menu li{
    display:block;
    margin:0;
    float:left;
    height: 20px;
    border-right: 1px solid #898E93;
    padding: 5px 15px;
}

ul.menu li a, ul.menu li span {
    vertical-align: middle;
}

.control-panel-item-visible{
    display:block!important;
}



/* Message Window */

.ui-dialog{
    
}

.validation-message{
    padding: 0 4px;
    color:red;
}

.form-row{
    margin-top:5px;
}

.application-name{
    padding: 10px;
    font-size: 24px;
}