@font-face {
    font-family: 'opensans';
    src: url('/fonts/opensans-regular-webfont.eot');
    src: url('/fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/opensans-regular-webfont.woff') format('woff'), url('/fonts/opensans-regular-webfont.ttf') format('truetype'), url('/fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

html {
    background-color: #ECF0F1;

    font-size: 14px;
    cursor: default;
    color: #3D3D3D;
}

body {
    margin: 0;
    font-family: opensans;
}

h1 {
    margin: 0 0 20px 0;
}

h2 {
    margin-top: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #999;
}

header {
    background-color: #333;
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

input, select {
    height: 21px;
}

input, select, textarea {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.titresite {
    /* float: left; */

    display: inline-block;
    height: 100%;
    vertical-align: middle;
    line-height: 50px;
    margin: 0 20px;
    color: #FFF;
    font-size: 20px;
}

.username {
    float: right;

    height: 100%;
    line-height: 50px;
    margin: 0 20px;
    color: #FFF;
    font-size: 15px;
    cursor: pointer;
}

.username img {
    float: right;
    margin: 20px 0;
}

.username:hover {
    background-color: #383838;
}

nav {
    width: 250px;
    height: 100%;
    background-color: #3D3D3D;
    position: fixed;
    top: 50px;
    left: -250px;
    display: none;
}

.logout {
    background-color: #fff;
    display: none;
    color: #000;
    text-align: center;
    border: 1px solid #999;
    border-top: none;
    overflow: hidden;
    padding: 10px 15px;
    height: 20px;
}

.logout .txtitem {
    color: #000;

    width: 151px;
    margin: 0;
}

.logout img {
    margin: 0;

}

.logout:hover {
    background-color: #EEE;
}

.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menuitem {
    width: 100%;
    border-bottom: 1px solid #5C5C5C;
    cursor: pointer;
    display: block;
}

.menuitem:hover {
    background-color: #303030;
}

.menuitem a {
    display: block;
    box-sizing: content-box;
    overflow: hidden;
    padding: 10px 15px;
    height: 20px;
}

.menuitem.back {
    position: fixed;

    bottom: 0;
    border-bottom: none;
    border-top: 1px solid #5C5C5C;
    display: block;
    width: 220px;
    padding: 10px 15px;
}

.submenu {
    list-style: none;

    background-color: #3D3D3D !important;
    padding: 0;
    display: none;
}

.submenu.visible {
    display: block;

}

.submenuitem {
    padding: 5px 0 5px 35px;

    margin-bottom: 1px;
}

.submenuitem:hover {
    background-color: #575757;

}

.submenuitem:last-child {
    margin-bottom: 0;
}

.submenuitem a {
    padding: 0;

}

.submenuitem a .logoitem {
    /* display: none; */

    height: 15px;
    margin: 2.5px 0;
}

.submenuitem a .logoitem img {
    height: 15px;

    width: 15px;
}

.subactual {
    background-color: #575757;

}

.actual {
    background-color: #FF9029 !important;
    cursor: default !important;

}

.actual .logoitem img {
    -webkit-filter: none;
}

.actual .subarrow {
    -webkit-filter: none;
}

.logoitem {
    float: left;

    height: 20px;
}

.logoitem img {
    width: 20px;
}

.txtitem {
    float: left;
    line-height: 20px;
    color: #FFF;
    font-size: 14px;
    text-align: center;
    margin-left: 20px;
}

.subarrow {
    -webkit-filter: invert(0.4);
    height: 10px;
    margin: 5px 0 5px 10px;

    float: right;
}

.main {
    margin: 50px 0 0 0;
    padding: 20px;
    /* overflow: hidden; */
    position: relative;
}

.user {
    padding: 0 20px;
    overflow: hidden;
    width: 165px;
    height: 50px;
}

.usertxt {
    float: left;
}

.error404 {
    text-align: center;
}

.code404 {
    font-size: 200px;
    color: #E02222;
}

.msg404 {
    font-size: 50px;
    color: #555;
}

.click {
    cursor: pointer;
}

.boxstyle {
    background-color: #FFF;
    border: 1px solid #CCC;
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.noselect {
    color: #999;
}

/* ========== Style bouton ========== */

.btnstyle {
    float: right;

    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: none;
    color: #FFF;
    background-color: #D14334;
    border: 1px solid #AE3629;
    border-bottom: 2px solid #AE3629;
    font-weight: bold;
    cursor: pointer;
}

/* ========== Tablesorter ========== */

thead tr .tablesorter-header {
    background-image: url(../img/bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
    padding-right: 20px;
}

thead tr .tablesorter-headerDesc {
    background-image: url(../img/asc.gif);
}

thead tr .tablesorter-headerAsc {
    background-image: url(../img/desc.gif);
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.empty {
    text-align: center;
    font-size: 20px;
    padding: 20px !important;
}

.bgoverlay {
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    opacity: 1.08;
    display: block;
}

.link {
    color: darkblue;

    font-weight: bold;
}

.link:hover {
    text-decoration: underline;

    color: orange;
    cursor: pointer;
}

.actionbar {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    width: calc(100% - 261px);
    background-color: #333;
    padding: 5px;
    border-top: 1px solid #2C2C2C;
    border-left: 1px solid #2C2C2C;
}

a {
    text-decoration: none;
    color: #FF9029;
}

a:hover {
    text-decoration: underline;
}

label[for="selectdep"] .txtlabel {
    font-size: 14px;
    font-style: italic;
    font-variant: small-caps;
    display: none;
}

label[for="selectdep"] #selectdep {
    background-color: #333;
    color: #fff;
    outline: none;
    border: 1px solid #777;
    padding: 0 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 20px;
    height: auto;
}

.menuham {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    cursor: pointer;
    height: 20px;
}

img#menuham {
    height: 20px;
}

.menuitem.itemadmin {
    background-color: #643939;
}

a.btnaction {
    background-color: #e67e22;
    height: 25px;
    width: 25px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    -webkit-border-radius: 5px;/*Safari, Chrome*/  -moz-border-radius: 5px;/*Firefox*/  border-radius: 5px;
    border: 1px solid #d35400;
    margin-right: 5px;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    line-height: 20px;
}

.btnaction img {
    margin: 0 auto;
    max-height: 15px;
    max-width: 15px;
    vertical-align: middle;
}

.buttons {
    text-align: center;
}

/**
* Table style
*/

.tabledata {
    width: 100%;
    text-align: left;
    background-color: #fff;
    border-collapse: collapse;
}

.tabledata tr th {
    padding: 10px 20px 10px 10px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    outline: none;
    height: 30px;
}

.tabledata tr th:first-of-type {
    border-left: 1px solid #e0e0e0;
}

.tabledata tr th:last-of-type {
    border-right: 1px solid #e0e0e0;
}

.tabledata tr td:first-of-type {
    border-left: 1px solid #e0e0e0;
}

.tabledata tr td:last-of-type {
    border-right: 1px solid #e0e0e0;
}

.tabledata tr:last-of-type td {
    border-bottom: 1px solid #e0e0e0;
}

.tabledata tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.tabledata tr td {
    padding: 5px 10px;
    font-size: 12px;
}

.tabledata tbody tr:hover {
    background-color: #f0f0f0;

}