/* Imports */

@import url(http://fonts.googleapis.com/css?family=Roboto:100,300,400,400italic,500,700);

/***********************************************
**** SOMMAIRE **********************************
************************************************

         1. Css Reset
         2. Structure
         3. Logo
         4. Elements
         5. Connection
         6. Menu
         7. Profil Client
            7.1 Paneau admin
         8. Nouvelle Vente
         9. Accueil
        10. Sale

*/

/***********************************************
** 1. CSS 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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
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;
}

pre{
    background-color: #cecece;
    color: #000;
    padding: 10px;
    overflow : scroll;
    line-height: 20px;
    font-family: 'courier new';
}

/* 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;
    white-space:nowrap;
}

strong{
    font-weight: 500;
}

ul { 
    list-style-type: disc; 
    list-style-position: inside; 
}

ul { 
    line-height: 20px;
}

ol { 
    list-style-type: decimal; 
    list-style-position: inside; 
}

ul ul, ol ul { 
    list-style-type: circle; 
    list-style-position: inside; 
    margin-left: 5px; 
}
ol ol, ul ol { 
    list-style-type: lower-latin; 
    list-style-position: inside; 
    margin-left: 5px; 
}

*,
*:before,
*:after{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

.clear{
    clear: both;
}

.left{
    float: left;
}

.center{
    margin: 0 auto;
}

.right{
    float: right;
}

.separ-btn{
    margin-right: 10px;
}

small{
    font-size: 0.7em;
}



/***********************************************
** 2. STRUCTURE ********************************
************************************************/

body{
    margin: 50px 0px 20px 250px;
    padding: 20px;
    background-color: #fdfdfd;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    color: #293949;
    font-weight: 300;
}

#warp{
    display: block;

}

#navbar{
    height: 50px;
    width: 100%;
    display: block;
    top: 0; left: 0;
    position: fixed;
    background-color: #f1f2f7;
    border-bottom: 1px solid #e7e8ec;
    z-index: 999;
    padding: 0px 20px 0px 270px;
    line-height: 50px;
}

#logo{
    height: 50px;
    width: 250px;
    display: block;
    top: 0; left: 0;
    position: fixed;
    background-color: #055075;
    z-index: 1000;
    line-height: 50px;
    padding-left: 10px;
    color: #ffffff;
}

#logo a{
    color: #ffffff;
    text-decoration: none;
}

#menu{
    height: 100%;
    width: 250px;
    display: block;
    top: 0; left: 0;
    position: fixed;
    background-color: #293949;
    padding: 50px 0px 10px 0px;
    border-right: solid 1px rgba(90, 97, 112, 0.06);
    overflow: hidden;
}

#menu.menu_open{
    width: 250px;
}

#menu.menu_close{
    width: 40px;
}

#content{

}

.content_cols{

}

.cols{
    display: inline-block;
    vertical-align: top;
    padding: 20px;
}

.cols.border{
    border-left: 6px #5a6170 solid;
}

.cols.n2{
    width: 49%;
    margin-right: 2%;
}

.cols.n2.h420{
    height: 420px;
}

.cols.n2.h600{
    height: 600px;
}

.cols.n3{
    width: 32%;
    margin-right: 2%;
}

.cols.n4{
    width: 24%;
    margin-right: 1%;
}

.cols.n2:last-of-type, .cols.n3:last-of-type, .cols.n4:last-of-type{
    margin-right: 0;
}

.box{
    width: 100%;
    min-width: 300px;
    margin-bottom: 20px;
}

.box .box_title{
    font-size: 15px;
    line-height: 35px;
    height: 35px;
    padding: 0 10px;
    font-weight: 300;
    background-color: #055075;
    color: #ffffff;
}

.box .box_title a{
    font-size: 13px;
    color: #ffffff;
    float: right;
    cursor: pointer;
}

.box .box_body{
    padding: 10px;
}

.erreur{
    color: red;
    margin-left: 260px;
}

table.xdebug-error{
    margin-left: 260px;
    margin-top: 50px; 
    width: 75%;
}

.reveal-modal{
    top:100px;
}

.debug{
    border: 1px solid white;
    background-color: grey;
    margin: 10px;
    position: relative;
    z-index: 2;
}

.debug .header{
    padding:  10px;
}
.debug ul, .debug ol {
    list-style-type:decimal;
    margin-left: 40px;
}

/***********************************************
** 3. CONNECTION *******************************
************************************************/

.logo{
    font-weight: 300;
    font-size: 12px;
    text-transform: uppercase;
    position: relative;
}

.logo span{
    font-weight: 700;
    font-size: 20px;
}

.logo .slash{
    font-size: 25px;
    font-weight: 300;
}

/***********************************************
** 3. ELEMENTS *********************************
************************************************/

/* Divers */

a{
    color: #3598db;
    text-decoration: none;
    cursor: pointer;
}

a:hover{
    text-decoration: underline;
}

h1{
    display: block;
    font-weight: 400;
    font-size: 30px;
    line-height: 40px;
    /*border-bottom: 2px solid #5a6170;*/
}

h2{
    display: block;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 10px;
}

h3{
    font-size: 15px;
    font-weight: 400;
    line-height: 19px;
    margin-bottom: 5px;
}

p{
    margin-bottom: 20px;
}

.tabulation{
    margin-left: 10px;
}

.highlighted{
    background-color: #5a6170; color: #FFF;
}

.cross{
    background: url(../img/cross.png);
    height: 10px;
    width: 10px;
    display: inline-block;
    float: right;
    margin-top: 25px;
    background-position: top;
}

.cross:hover{
    background: url(../img/cross.png);
    height: 10px;
    width: 10px;
    display: inline-block;
    float: right;
    margin-top: 25px;
    background-position: bottom;
}

.delete{
    color: #e84c3d;
    font-size: 0.85em;
}

/* Forms */

.form-group{
    margin-bottom: 10px;
}

.form-group .label{
    display: inline-block;
    text-align: right;
    padding-right: 10px;
    width: 33.3%;
    height: 30px;
    line-height: 30px;
}

.form-group .input{
    display: inline-block;
    height: 30px;
    width: 66.66%;
    line-height: 30px;
}

label {
    display:inline-block;
    white-space:nowrap;
}

input[type="text"], input[type="password"], input[type="date"], input[type="number"], input[type="search"]{
    font-family: 'Roboto', Arial, sans-serif;
    border: 1px solid #5a6170;
    height: 30px;
    width: 100%;
    line-height: 30px;
    padding: 0px 5px;
    color: #5a6170;
    font-size: 14px;
    background:none;
}

input[type="submit"]{
    float: right;
}

input[type="date"]{
    color: rgba(90, 97, 112, 0.6)
}

select{
    height: 30px;
    color: #5a6170;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    margin: 0;
    padding: 0px 5px;
}

select option {
    margin:40px;
    background: rgba(0,0,0,0.3);
    color:#fff;
    text-shadow:0 1px 0 rgba(0,0,0,0.4);
}

.ui-autocomplete.ui-front
{
    position: absolute;
    z-index: 1051;
}

/* Tableaux */

table{
    width: 100%;
}

tbody tr:nth-child(odd){
    background: #f0f0f0;
}

th, td{
    height: 40px;
    line-height: 40px;
    text-align: left;
    padding-right: 15px;
}

td:first-child{
    padding: 0px 10px 0 10px;
}

tr:last-child{
    padding: 0px 10px 0 10px;
}

th{
    font-weight: 500;
    vertical-align: middle;
}

th.number_point{
    min-width: 145px;
}

th.id{
    min-width: 50px;
}

tbody th:hover{
    background: #f0f0f0;
}

td{
    border-top: 1px black solid;
}

tr.focus{
    background: #293949 !important;
    color: #ffffff !important;
}

/*table span.tab_order{
    position: absolute;
    background: url(../img/tab_order.png);
    height: 20px;
    width: 20px;
    left: -5px;
    top: 10px;
    background-position: left;
}

table th.sorting_asc span{
    background-position: center;
}

table th.sorting_desc span{
    background-position: right;
}

*/

#tab_listeclients_info, #tab_historic_points_info, #tab_select_customer_info, #tab_requests_info{
    margin-top: 20px;
}

tbody tr:hover{
    cursor:pointer;
    background: #293949;
    color: #ffffff;
}

table.unselected tbody tr:hover{
    cursor:auto;
    background: #e1e4e8;
    color: inherit;

}

table #tab_total{
    cursor:pointer;
    background: #293949;
    color: #ffffff;
}

table .row_selected{
    background: #293949;
}

table form.table_input input{
    font-family: 'Roboto', Arial, sans-serif;
    border: 1px solid #5a6170;
    height: 30px;
    width: 100%;
    line-height: 30px;
    padding: 0px 5px;
    color: #5a6170;
    font-size: 14px;
    background: #FFFFFF;
}

table .succes_modif{
    color : #5cb85c;
}

table .error_modif{
    color : #d9534f;
}

table .tab_cross{
    background: url(../img/tab_cross.png) no-repeat;
    display: inline-block;
    height: 15px;
    width: 15px;
    vertical-align: middle;
    margin-top: -5px;
}

/* Alert Messages */

.alert{
    height: 60px;
    width: 100%;
    margin-bottom: 30px;
    line-height: 60px;
    padding: 0px 20px 20px;
    color: #fff;
}

.alert span{
    font-weight: 500;
}

.alert .cross{
    display: right;
}

.txt_error{
    color: #d9534f;
}

.error{
    background-color: #d9534f;
}

.sucess{
    background-color: #5cb85c;
}

/* Buttons */

.button{
    border: none;
    height: 30px;
    cursor: pointer;
    font-size: 14px;
    color: #ffffff;
    padding: 0px 10px 0px 10px;
}

.button:hover{
    height: 30px;
    cursor: pointer;
    color: #293949;
    background: #f7f7f8;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

/*.button:focus{
    height: 30px;
    cursor: pointer;
    color: #293949;
    background: #f7f7f8;
}*/

.btn-alert{
    background-color: #e84c3d;
}

.btn-success{
    background-color: #055075;
}

.btn-warning{
    background-color: #3598db;
}

.btn-info{
    background-color: #9a59b5;
}

.btn-normal{
    background-color: #293949;
}

/***********************************************
** 5. CONNECTION *******************************
************************************************/

#connection{
    height: 200px;
    width: 400px;
    display: block;
    position: absolute;
    margin: 0 auto;
    padding: 10px;
}

#connection .logo{
    text-align: center;
    margin: 10px 0px 20px 0px;
}

#connection input[type="submit"]{
    width: 100%;
}

/***********************************************
** 6. NAV BAR **********************************
************************************************/

#navbar_date{
    display: inline-block;
}

#navbar_logout{
    display: inline-block;
    float: right;
}

#navbar_logout a{
    color: #293949;
}

a:hover{
    text-decoration: underline;
}

/***********************************************
** 6. MENU *************************************
************************************************/

#menu li{
    height: 40px;
    width: 250px;
    display: block;
    border-top: 1px solid rgba(90, 97, 112, 0.06);
}

#menu li a{
    position: relative;
    line-height: 40px;
    height: 100%;
    width: 100%;
    display: block;
    color: #aeb2b7;
    font-size: 13px;
    padding-left: 10px;
}

#menu li a span{
    background: url(../img/menu_icons.png);
    height: 20px;
    width: 20px;
    display: inline-block;
    margin: 0px 10px -4px 0px;
}

#menu ul > ul{
    position: relative;
}

#menu ul > ul li a{
    padding-left: 40px;
    font-size: 12px;
    font-weight: 300;
}

#menu .arrow{
    background-image: url(../img/menu_arrow.png);
    height: 10px;
    width: 10px;
    position: absolute;
    top: 15px;
    right: 20px;
}

#menu li a:hover{
    text-decoration: none;
    color: #293949;
    background: #f7f7f8;
}

#menu li a .arrow{
    -moz-transform:rotate(0deg);
    -webkit-transform:rotate(0deg);
    -o-transform:rotate(0deg);
    -ms-transform:rotate(0deg);
    filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1.5);
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}

#menu li a:hover .arrow{
    -moz-transform:rotate(90deg);
    -webkit-transform:rotate(90deg);
    -o-transform:rotate(90deg);
    -ms-transform:rotate(90deg);
    filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1.5);
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}

#menu li.open a .arrow{
    -moz-transform:rotate(90deg);
    -webkit-transform:rotate(90deg);
    -o-transform:rotate(90deg);
    -ms-transform:rotate(90deg);
}

#menu li.active a{
    color: #5a6170;
    background-color: #efeff1;
}

#menu ul ul li a{
    color: #aeb2b7;
    background-color: #293949;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

#menu ul ul li.active a{
    padding-left: 50px;
    background-color: #efeff1;
}

#menu ul ul li a:hover{
    padding-left: 50px;
    color: #aeb2b7;
    background-color: #23313f;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

#menu ul ul li.active a:hover{
    padding-left: 50px;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

#menu li#m_- a:hover{
    color: #293949;
    background-color: #f7f7f8;
}

#menu li#m_- ul li.active a:hover{
    color: #5a6170;
    background-color: #efeff1;
}

/* Icons */
#menu li a span.sale{
    background-position: -20px 0px;
}

#menu li a:hover span.sale{
    background-position: -20px -20px;
}

#menu li a span.buy{
    background-position: 0px 0px;
}

#menu li a:hover span.buy{
    background-position: 0px -20px;
}

#menu li a span.customers{
    background-position: -40px 0px;
}

#menu li a:hover span.customers{
    background-position: -40px -20px;
}

#menu li a span.add_customer{
    background-position: -60px 0px;
}

#menu li a:hover span.add_customer{
    background-position: -60px -20px;
}

#menu li a span.settings{
    background-position: -80px 0px;
}

#menu li a:hover span.settings{
    background-position: -80px -20px;
}

#logo #retract{
    height: 20px;
    width: 20px;
    float: right;
    margin: 15px 15px 0px 0px;
    display: block;
    background: url(../img/menu_retract.png);
    background-position: top;
    border: none;
    font-size: 0px;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

#logo #retract:hover{
    background-position: bottom;
}

/***********************************************
** 7. POFIL CLIENTS ****************************
************************************************/

.client_actions{
    margin-bottom: 20px;
    width: 570px;
    margin: 0 auto;
}

.client_actions .button{
    width: 180px;
    margin-right: 10px;
}

.client_actions .button:last-child{
    margin-right: 0px;
}

.box .box_title .points{
    float: right;
}

.info-group .label{
    display: inline-block;
    text-align: right;
    padding-right: 10px;
    width: 33.3%;
    height: 30px;
    line-height: 30px;
}

.info-group .info{
    display: inline-block;
    height: 30px;
    width: 66.66%;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
}

#ModifierLeClient .box{
    margin-bottom: 0;
}

#ModifierPoint #number_points{
    width: 50px;
    margin-right: 10px;
}


/*7.1 Paneau Admin*/
.panel_setting{
    position: fixed;
    right: -200px;
    top:100px;
    background-color: #293949;
    width: 200px;
    height: 400px;

    -webkit-transition: all .4s ease-in;
    transition: all .4s ease-in;
}
.title_setting{
    width: 240px;
    margin-left: -40px;
    background-color: #293949;
}

.title_setting:hover{
    cursor: pointer;
}

.title_setting img{
    height: 40px;
    padding: 5px;
}

#logo_close{
    margin-left: -10px;
    width: 0;
}

/***********************************************
** 8. NOUVELLE VENTE ***************************
************************************************/

.amazon{
    height: 200px;
}
.imageBox{
    float:left;
}

span.med{
    display: inline-block;
    font-size: 15px;
    width: 1000px;
}

h3.newaps, h3.productName{
    font-size: 20px;
    font-weight: bold;
}

li span.red, h4.productContrib1, h4.productContrib2, h4.productContrib3, li.sect, li.newp{
    visibility: hidden;
}

/***********************************************
** 9. ACCUEIL **********************************
************************************************/

.stat-box{
    height: 110px;
    width: 100%;
    display: block;
    color: #ffffff;
    padding: 20px;
    position: relative;
}

.stat-box .number{
    font-weight: 100;
    font-size: 40px;
    margin-bottom: 10px;
}

.stat-box .stat{
    font-weight: 100;
    font-size: 13px;
    margin-left: 10px;
}

.logo_stat{
    display: block;
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: url(../img/stats.png);
    height: 60px;
    width: 60px;
    opacity: 0.4;
}

.stat-box.clients{
    background-color: #e84c3d;
}

.stat-box.clients .logo_stat{
    background-position: center;
}

.stat-box.salesDay{
    background-color: #055075;
}

.stat-box.salesDay .logo_stat{
    background-position: right;
}

.stat-box.buysDay{
    background-color: #3598db;
}

.stat-box.buysDay .logo_stat{
    background-position: left;
}

.stat-box a{
    text-decoration: none;
}

a.stat-box:hover{
    color: #FFFFFF;
    text-decoration: none;
}


/***********************************************
** 10. SALE ************************************
************************************************/

/* Progress Bar */

.progress-step-bar{
    height: 40px;
    width: 100%;
    display: block;
    position: relative;
    line-height: 40px;
    margin: 10px 0px 20px 0px;
}

.progress-step-bar .completed{
    position: absolute;
    background: #f1f2f7;
    left: 0;
    height: 100%;
    padding: 0px 10px;
    color: #aeb2b7;
}

.progress-step-bar .completed.active{
    background: #055075;
    color: #FFFFFF;
}

.progress-step-bar .completed.pre.active{
    background: #055075;
    color: #293949;
}

.progress-step-bar .completed .progress-arrow{
    position: absolute;
    top: 0;
    height: 40px;
    width: 25px;
    padding: 0;
    background: url(../img/progress_arrow_inactive.svg) no-repeat;
    z-index: 2;
    margin-left: -20px;
}

.progress-step-bar .completed.active .progress-arrow{
    background: url(../img/progress_arrow.svg) no-repeat;
}

.progress-step-bar .completed.pre.active .progress-arrow{
    background: url(../img/progress_arrow_pre.svg) no-repeat;
}

.progress-step-bar .completed:first-child span{
    margin-left: 0;
}

.progress-step-bar .completed span{
    margin-left: 30px;
    z-index: 0;
}

.progress-step-bar .completed.step-1{
    left: 0;
    width: 33.33%;
}

.progress-step-bar .completed .progress-arrow{
    left: 100%;
}

.progress-step-bar .completed.step-2{
    left: 33.33%;
    width: 33.33%;
}

.progress-step-bar .completed.step-3{
    left: 66.66%;
    width: 33.33%;
}

/* Add Product */

#tab_basket_info{
    margin-top: 20px;
}

table#tab_basket tbody tr:hover{
    cursor:inherit;
    background: #f0f0f0;
    color: inherit;
}

a.delete{
    color: #e84c3d;
}

a.info{
    color: #3598db;
}

#btn_select_customer, #btn_add_customer, #btn_anonymous_customer{
    width: 80%;
    margin-left: 10%;
}

#action_select_customer{
    margin-bottom: 20px;
}



