html{
    padding:0;
    margin:0;
    font-family:arial;
    padding:0 0.5em;
    background:#1b3651;
}


div.ui-datepicker, .ui-widget{
    font-size:0.8em;
}

.hidden{
    display:none;
}

body{
    margin:0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-weight:300;
}

b{
    font-weight:400;
}

h1, h2, h3, h4,h5{
    margin:0;
    padding:0;
}

h1{
    font-size:1em;
    font-weight:300;
}

h2{
    font-size:1em;
    font-weight:300;
}

h3{
    color:#1b3651;
    border-left:5px solid #2e5b88;
    padding:0 0 0 1%;
    margin:0 0 0.8em 0;
    width:99%;
    font-weight:400;
    font-size:1.2em;
}

h4{
    color:#1b3651;
    padding:0 0 0.8em 0;
    font-weight:400;
    font-size:1.1em;
}

h5{
    font-weight:400;
    font-size:1em;
}

img{
    border:none;
    outline:none;
}

a{
    text-decoration:none;
    color:inherit;
    cursor:pointer;
}

ul{
    margin:0;
    padding:0;
}

.center{
    text-align:center !important;
}

.right{
    text-align:right !important;
}

.hidden{
    display:none;
}

input,select,textarea{
    outline:1px solid #dce2e9;
    padding:0.5em 0;
    font-family:inherit;
    font-size:0.9em;
    font-weight:300;
    border:0px solid;
    width:100%;
    display: inline-block;
    line-height:inherit;
}

input:hover, textarea:hover, select:hover, input:focus, textarea:focus, select:focus{
    outline:1px solid #abbdcf;
}

input, textarea{
    text-indent: 0.4em;
}

select{
    padding:0.42em 0.5em 0.42em 0;
    text-indent: 0.1em;
}

.clear{
    visibility:hidden !important;
    float:none !important;
    width:0 !important;
    clear:both !important;
}

.verticalspacer{
    padding-right:0.5em;
    float:right !important;
}

.lastfloatitem{
    margin-right:0 !important;
}

.headerbar{
    background:#1b3651;
    padding:0.4em 0;
    width:100%;
    color:white;
}

.pagewrapper{

    width:70em;
    margin:0 auto;
}

.logout{
    display:block;
    float:right;
    padding:0.6
    em 0 0 0;
}

.logo{
    float:left;
    margin:0;
    display:block;
    width:9%;
}

.searchbar{
    float:right;
    width:40%;
    display:none;
}

.searchbar input{
    float:right;
    padding:0.3em 0;
    margin:0.1em 0 0 0;
    width:40%;
}

.searchbutton{
    float:left;
    width:1.4em !important;
    padding:0.35em 0 0 0 !important;
    margin: 0 0 0 2%  !important;
    outline:0;
}

.mainmenubar{
    background:#2e5b88;
    width:100%;
    color:white;
}

.shadowclass{
    box-shadow:0 0 0.5em rgba(0, 0, 0, 0.3);
    -moz-box-shadow:0 0 0.5em rgba(0, 0, 0, 0.3);
    -webkit-box-shadow:0 0 0.5em rgba(0, 0, 0, 0.3);
}

nav ul:after {
    clear: both;
    content: " ";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}

nav ul,nav ul li{
    background-color: inherit;
    color:white;
}

nav ul li {
    list-style: none;
    float:left;
}
nav ul li a {
    text-decoration: none;
    text-decoration: none;
    display: block;
    padding: 0.5em 1.2em;
    text-align:center;
}

nav ul li a img{
    width: 3em;
}


nav ul li:hover a, nav ul li:hover > ul li a, .menucativeclass  {
    background-color: #24486c;
}

nav ul li:hover > ul {
    visibility: visible;
}

nav ul li ul{
    display: inline;
    visibility: hidden;
    position: absolute;
    padding:0px;
    z-index:100;
}


nav ul li ul li{
    float: none;
}

nav ul li ul li a{
    padding: 0.5em 1em;
    text-align:left;
}

nav ul li ul li a:hover{
    background-color: #577B9F !important;
}

.decowrapper{
    padding:0 0.5em;
    background:#2E5B88;
}

.contentwrapper{
    padding:3em 0 5em 0;
    background:#f9f9f7;
    min-height:50em;
}

.container{
    background:white;
    width:97%;
    padding:1.5em 1.5%;
}

.defaulttable{
    width:100%;
    border:none;
    border-collapse: collapse;
    margin:0 0 2em 0;
}

.defaulttable thead{
    background:#2e5b88;
    color:white;
    cursor:default;
}

.defaulttable tbody{
    font-size:0.9em;
    background:#e9ebf2;
    cursor:pointer;
}

.defaulttable tfoot{
    font-size:0.9em;
}

.defaulttable tbody tr{
    border-bottom:1px solid #dce2e9;
}

.defaulttable tbody tr:hover{
    background:white;
}

.defaulttable td, .defaulttable th{
    padding:0.4em;
    text-align:left;
    box-sizing: border-box;
}

.defaulttable thead th{
    color:white !important;
    font-weight:400;
}

.defaulttable .closecolum
{
    width:50px;
}

.largerows td{
    padding-top:1em;
    padding-bottom:1em;
}

.defaultarrow tbody td{
    cursor:default !important;
}

.notify{
    padding:1em 2%;
    width:96%;
    color:white;
    text-align:center;
    margin:0 0 2em 0;
}

.notifysuccess{
    background:#329999;
}

.notifyfail{
    background:#cf5454;
}

.defaulttable tbody tr, nav ul li a, .projects_workerlist li {
    transition: background 0.3s ease-out; /* explorer 10 */
    -webkit-transition: background 0.3s ease-out; /* chrome & safari */
    -moz-transition: background 0.3 ease-out; /* firefox */
    -o-transition: background 0.3 ease-out; /* opera */
}

.contentcontainer{
    background:#e9ebf2;
    padding:1em 2%;
    width:45.25%;
    float:left;
    margin:0 1.5% 1em 0;
    min-height:6em;
}

.contentcontainer h5{
    margin-top:1em;
}

.contentcontainer h5:nth-of-type(1){
    margin-top:0;
}

.drow{
    width:100%;
    padding:0.5em 0;
}

.drow div{
    float:left;
}

.drow .dleft{
    width:35%;
    padding:0.5em 0 0 0;
}

.drow .dright{
    width:65%;
}

.drow .dright label{
    display:block;
    margin:0.5em 0 0 0;
    float:left;
}

.morethanoneinput{
    margin-left:2% !important;
}

.drow .dright textarea{
    height:5em;
    resize:none;
}


.invalid{
    outline:1px solid #BA4B4B !important;
    background:#f8eded;
}


.defaultbutton{
    display:inline;
    background:#2e5b88;
    color:white !important;
    padding:0.6em 1em !important;
    margin:0.5em 1em 0.5em 0;
    font-weight:400;
    font-size:0.95em !important;
    cursor:pointer;
    font-family:'Roboto', sans-serif;
    border: 0 solid !important;
    width: auto !important;
    outline:1px solid #2e5b88 !important;
    appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    text-align:center;
}

.worker_search_wrapper
{
    position: relative;
}

.result_wrapper
{
    outline:1px solid #ABBDCF;
    width:100%;
    /*max-height:200px;*/
    overflow:auto;
    background-color: #fff;
    position:absolute;
    z-index: 10;
    display:none;
}

.result_wrapper div
{
    padding:0.2em;
    border-bottom:1px solid #dce2e9;
}

.result_wrapper div:last-child {
    border-bottom:none;
}

.result_row
{
    overflow: hidden;
}

.result_row:hover, .active_key_row
{
    background-color: #d6eaea;
    cursor: pointer;
}

.defaultbutton:hover{
    background:#1B3651;
    outline:1px solid #1B3651 !important;
}

.deletebutton{
    background:#ba4b4b;
    outline:1px solid #ba4b4b !important;
}

.deletebutton:hover{
    background:#a74343;
    outline:1px solid #a74343 !important;
}

.buttonholder{
    margin:0 0 1.5em 0;
    text-align:center;
    float:none !important;
}

.buttonholder .defaultbutton{
    margin-left:1em;
    margin-right:1em;
}

.leftalignbutton{
    text-align:left;
}

.leftalignbutton .defaultbutton{
    margin-left:0;
}

.errorhandler{
    background:#2E5B88;
    padding:0.5em 0.7%;
    width:98.6%;
    margin-bottom: 2em;
}

.errorhandlerbox{
    background:#c0cddb;
    padding:0.8em 1%;
}

.exceptionhandler{
    background:#ba4b4b;
}

.exceptionhandlerbox{
    background:#e29898;
}

.checkboxholder{
    margin:0.6em 5% 0.6em 0;
    font-size:0.9em;
    line-height:1.2em;
}

.checkbox{
    width:auto !important;
    margin:0.3em 0.5em 0 0;
    display:block;
    float:left;
    outline:none !important;
    border:none;
}

.ajaxfixed{
    position:fixed;
    bottom:-100px;
    left:50%;
    text-align:center;
    width:30%;
    margin-left:-15%;
    color:white;
    padding:0.5em 0;
    font-size:0.9em;
    z-index:1000;
    background: rgba(27,54,81,0.92) no-repeat center center;
}
.ajaxstatus span{
    margin-right:0.5em;
}

.ajaxstatus .sucess_message{
    color:#84c1c1;
}

.ajaxstatus .error_message
{
    color:#CF5454;
}

.ajaxfixed img{
    width:1.111111111111111em;
}

.logincontainer{
    width:50%;
    padding:4em 0 3em 0;
    margin:6em auto 0 auto;
}

.logincontainer h4{
    text-align:center;
}

.logincontainer .contentcontainer{
    width:70%;
    margin:0 auto;
    float:none;
    background:inherit;
}

.ajax_error_container
{
    position:fixed;
    top:0px;
    left:0px;
    padding:20px;
    width:100%;
    background-color: #000;
    background: rgba(0,0,0,0.92);
    min-height:50px;
    display:none;
}

.ajax_error_container .errormsg
{
    color:#fff;
}

.relative{
    position:relative;
}

.newprojectwrapper
{
    width:50%;
}

.bugopener, .printviewbtn
{
    color:#fff;
    position: fixed;
    left:2em;
    bottom: 0px;
    background-color: #2E5B88 ;
    width:3em;
    height:3em;
    text-align: center;
    line-height: 3.5em;
    cursor: pointer;
    z-index:10;
}





.bugopener span,.printviewbtn span{
    font-size: 2em;
}


.bugopener_window
{
    height:20em;
    display:none;
    position: fixed;
    width:25em;
    bottom:0;
    left:2em;
    background-color: #E9EBF2 ;
    z-index: 201;
}

.bugarea
{
    resize: none;
    font-size: 0.8em;
    height:14em;
}

.bugcontent
{
    padding:0.2em;
}

.bugopener_window .headline
{
    background-color: #2E5B88;
    position: relative;
    color:#fff;
    padding: 0.2em;
}

.bugopener_window .headline .fa
{
    float:right;
    padding:0.2em;
    clear:right;
    cursor: pointer;
}

@media only screen and (max-width:1210px){
    body{
        font-size:90%;
    }

    .pagewrapper{
        width:95%;
    }
}

@media print {
    .defaulttable{
        font-size:1em;
    }
    .container{
        width: 100%;
        padding-left:0;
        padding-right:0;
    }

    .headerbar, .mainmenubar{
        display:none;
    }

    .contentwrapper{
        padding:0;
    }

    .shadowclass{
        box-shadow:none;
    }

    .container{
        padding:0;
    }

    h3{
        display:none;
    }

    .statistic_description,.statistic_workercontainer,.dataTables_length,.dataTables_filter,.statisticcontainer_timetype,.statisticcontainer_paytype,.statisticcontainer_times,.backbutton,.statisticcontainer_times2,.bugopener,.bugopener_window,.dataTables_paginate{
        display:none !important;
    }

    .dataTable thead th:after{
        content:none !important;
    }

    .dataTables_info{
        visibility:hidden;
    }

    .defaulttable thead tr{
        border-bottom:2px solid #888;
    }

    .defaulttable tbody tr{
        border-bottom:1px solid #aaa;
    }

    .export_differindicator{
        background:#888;
    }

    .printviewbtn
    {
        display:none;
    }
}