/*!
 * Copyright 2017 - OlaSoft
 * https://www.olasoft.net
 * @OlaSoftBenin
 * contact@olasoft.net
 * Version 2018-08-06
 */

*{
    color: #4B4B4B;
}

body{
    position: relative;
    background-color: #FFF;
}

nav{
    position: fixed;
    left: 0px;
    height: 100vh;
    width: 260px;
    background-color: #000000;
    color: #fff;
    padding: 20px;
}

nav + div{
    position: relative;
    width: calc(100% - 260px);
    left: 260px;
    padding: 20px;
}

nav h2{
    color: #fff;
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 10px;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-left: -20px;
    margin-top: -20px;
    width: calc(100% + 40px);
}

nav menu{
    list-style-type: none;
}

nav li{
    color: rgba(216,216,216,1);
    text-transform: uppercase;
    font-size: 16px;
    border-bottom: 1px solid rgba(216,216,216,1);
}

nav li:hover{
    background: RGB(255,190,0);
    color: #000;
}

nav li a{
    padding: 7px 5px;
}

table{
}

table caption{
    height: 35px;
    line-height: 35px;
    font-size: 24px;
    font-weight: bold;
    color: rgb(20,20,20);
    text-transform: uppercase;
    white-space: nowrap;
    text-align: left;
    margin-bottom: 20px;
}

table caption a.btn{
    height: 32px;
    line-height: 32px;
    position: absolute;
    right: 0px;
    top: 0px;
    font-weight: 300;
}

table{
    border-collapse: collapse;
    border: 1px solid #000;
    margin-top: 10px;
    width: 100%;
    position: relative;
}

table tr th{
    background-color: #bd1010;
    font-size: 1.2em;
    padding-left: 7px;
    padding-right: 7px;
    line-height: 20px;
    color: #fff;
    font-weight: 700;
    padding-left: 15px;
    padding-right: 15px;
    border: 1px solid rgba(216,216,216,1);
    text-transform: uppercase;
}

table tr{
    height: 30px;
    overflow: hidden;
}

table tr td{
    margin: 0px;
    padding-left: 15px;
    padding-right: 15px;
    background: white;
    border: 0px;
    vertical-align: middle;
    padding-top: 7px;
    padding-bottom: 7px;
    font-weight: 100;
    color: black;
    border: 1px solid rgba(216,216,216,1);
}

table tr:nth-child(odd) td{
    background-color: rgba(216,216,216,.35);
}

table tr:hover{
}

table tr:hover td{
    background: rgba(216,216,216,.83);
}

table tr.peer:hover td{
    background: #ccc;
}

table.fiche tr{
    border: 1px solid #ebecf2;
}

table.fiche tr td{
    width: 50%;
    text-align: left;
}

.right{
    text-align: right;
}

table#content tr th:first-child, table#content tr td:first-child{
    width: 48px;
    max-width: 48px;
    white-space: nowrap;
    text-align: right;
    font-weight: 700;
}

table#content tr th:last-child{
    text-align: center;
}

table#content tr td:last-child{
    padding: 0px;
    text-align: center;
    white-space: nowrap;
}

.text-success, .text-error{
    font-size: 18px;
    font-weight: 200;
}

.btn-sm{
    margin: 5px 1px;
    background: #ccc;
    color: #000;
    transition: all .5s;
}

.btn-sm:hover{
    color: #fff;
    background: RGBA(0,104,40,1);
    line-height: 24px;
    border: 0;
}

.os-form fieldset{
}

*[data-image]{
    cursor: pointer;
}

.login-frame{
    height: 100vh;
    background-image: url("./images/bn.jpeg");
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

.login-frame::after{
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.55);
}

.login-frame img{
    width: 200px;
    z-index: 23;
    margin-bottom: 10vh;
}

.login-container{
    width: 450px;
    max-width: calc(100% - 40px);
    padding-bottom: 20px;
    position: relatif;
    z-index: 2;
    background: transparent!important;
}

.login-container > h1{
    color: #fff;
    margin-bottom: 30px;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
}

.login-box{
    background-color: #fff;
    padding: 10px 20px!important;
}

.login-box > div{
    margin: 20px 0px;
}

.os-form .login-container input[type='email'],
.os-form .login-container input[type='password']{
    height: 60px;
}

@media(max-width:768px){

.login-frame{
    height: auto;
    min-height: 100vh;
}

.os-form .login-container input[type='email'],
.os-form .login-container input[type='password']{
    height: 40px;
}
}
