*{
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    -ms-box-sizing:border-box; 
}
body { margin:0px; padding:0px; background: #e2ddd7 repeat-x left top;}
img { border:none;}
form { margin:0px; padding:0px;}
.content{
    width: 970px;
    margin: auto;
}
header{
    background: url('../img/menu-bg.jpg') repeat-x left 17px;
}
.logo{
    width: 140px;
    float: left;
}
.menu{
    width: 85%;
    float: left;
}
.clear{
    height: 0px;
    width: 0px;
    clear: both;
    line-height: 0px;
}
.menu nav{
    float: left;
    padding-right: 8px;
}
.menu{
    margin-top: 10px;
    margin-bottom: 0px;
}
.menu .drapo{
    float:right;
    margin-top: 10px;
    margin-bottom: 0px;
    height: 20px;
}
.menu li,footer li{
    float: left;
    list-style: none;
    height: 40px;
    padding: 5px 30px 0 37px;
    margin-right: 10px;
    line-height: 30px;
    -moz-border-radius-topleft:   10px;
    -moz-border-radius-topleft:   10px;
    -webkit-border-top-left-radius: 10px;
    border-top-left-radius: 10px;
    -moz-border-radius-topright:   10px;
    -moz-border-radius-topright:   10px;
    -webkit-border-top-right-radius: 10px;
    border-top-right-radius: 10px;
}
.drapo li{
    margin-left: 8px;
}
.menu nav li img{
    margin: 0px 15px;
}
.menu nav li a {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    color: #d2c4bc;
    text-decoration: none;
    line-height: 20px;
}
.menu nav li a:hover {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    color: #bb6836;
    text-decoration: none;
    line-height: 20px;
}
.main{
    background: #FFF;
    padding: 9px 9px 4px 9px;
}
#ban{
    background: url('../img/main-banner.jpg')#FFFFFF no-repeat;
    width: 952px;
    height: 325px;
    position: relative;
}
.carosel{
    position: absolute;
    width: 239px;
    height: 199px;
    top: 62px;
    left: 36px;
    overflow: hidden;
}
.center_content{
    max-width: 1200px;
    margin: auto;
}
#main_content{
    background: #e2ddd7;
    padding: 19px 12px 17px 16px;
}
#big_left{
    width: 716px;
    float: left;
}
.content_aboutas {
    padding: 12px 11px 38px 2px;
    color: #5e5955;
    text-decoration: none;
    line-height: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}
.content_aboutas p {
    padding: 0px 0px 16px 0px;
    margin: 0px;
    color: #5e5955;
    text-decoration: none;
    line-height: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}
#left{
    width: 260px;
    background: #382317 no-repeat left top;
    border: #382317 solid 1px;
    padding-top: 38px;
    float: left;
}
.produit{
    width: 234px;
    margin: auto;
    padding: 18px 0px;
    border-bottom: 1px solid gray;
}
.produit .img{
    padding: 5px;
    width: 115px;
    background: #d5d5d5;
    float: left;
}
.produit .img a{
    display: block;
    padding: 0px;
    margin: 0px;
    height: 105px;
    width: 105px;
}
.produit .detail{
    padding: 10px 0px 0px 10px;
    width: 115px;
    float: left;
}
.produit .detail .name{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #c4bdba;
    line-height: 14px;
}
.produit .detail .plus a{
    background: #b96632;
    font-size: 10px;
    color: #FFF;
    border: 1px solid #b96632;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0px 2px;
}

#center{
    width: 456px;
    float: left;
    padding: 5px 11px 0px 18px;
    color: #5e5955;
    text-decoration: none;
    line-height: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    border-right: #f1eeeb solid 1px;
}
#center h3 {
    font-family: "Century Gothic", Arial, Helvetica, sans-serif;
    color: #716e6b;
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    line-height: 14px;
    margin: 0px;
    padding: 0px;
}
#center h1 {
    font-family: "Century Gothic", Arial, Helvetica, sans-serif;
    color: #382317;
    font-size: 26px;
    font-weight: bold;
    text-transform: none;
    line-height: 22px;
    margin: 0px;
    padding: 0px 0px 21px 0px;
}
#right{
    width: 208px;
    float: right;
    padding-left: 18px;
}
.search {
    background: #382317 repeat-x left top;
    border: #382317 solid 1px;
    padding: 9px 9px 4px 9px;
}
.search a{
    font-family: Arial, Helvetica, sans-serif;
    display: block;
    text-align: center;
    color: #FFF;
    text-decoration: none;
    line-height: 13px;
    font-size: 12px;
    padding: 6px;
}
#submitSearch{
    background: #b96632;
    font-size: 12px;
    color: #FFF;
    float: right;
    border: 1px solid #b96632;
}
#qSearch{
    border: #242424 solid 1px;
    background: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #7f7f7f;
    text-decoration: none;
    line-height: 16px;
    height: auto;
    padding: 2px 0px 0px 4px;
    width: 100%;
}
.realisation {
    background: #FFF;
    padding: 3px 0px 0px 9px;
    font-family: "Century Gothic", Arial, Helvetica, sans-serif;
    font-size: 22px;
    color: #382317;
    text-decoration: none;
    font-weight: bold;
    height: 37px;
    margin-top: 18px;
}
.listerealisation{
    padding: 3px 0px 0px 9px;
    font-family: "Century Gothic", Arial, Helvetica, sans-serif;
    font-size: 22px;
    color: #382317;
    text-decoration: none;
    font-weight: bold;
    height: 210px;
    margin-top: 18px;
    overflow: hidden;
    margin-bottom: 18px;
}
.listerealisation .realisations{
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #FFF;
}
.listerealisation .realisations span{
    display: block;
    float: left;
    width: 50%;
    font-size: 12px;
}
.listerealisation .realisations .img{
    padding: 4px;
    background: #FFF;
    width: 75px;
    height: 65px;
}
.title_aboutas{
    background: url('../img/product-heading-bg.jpg') no-repeat left top;
    font-family: "Century Gothic", Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #FFFFFF;
    text-decoration: none;
    line-height: 20px;
    padding: 20px 15px ;
}
.listerealisation .realisations .plus{
    padding: 18px 0px 0px 6px;
}
.listerealisation .realisations a{
    font-family: Arial, Helvetica, sans-serif;
    color: #dc793e;
}
.produitB{
    width: 200px;
    float: left;
    margin-right:34px 
}

.produitB .detail{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    border-bottom: #d9d9d9 solid 3px;
    padding: 0px 0px 7px 0px;
    color: #382317;
    text-decoration: none;
    line-height: 17px;
    margin-bottom: 10px;
}
.produitS{
    width: 164px;
    float: left;
    margin-right:8px; 
}
.Realisation{
    border: 1px solid;
    border-color: #CCCCCC;
    margin-bottom: 20px;
}
.Realisation .detail{
    background:  #CCCCCC;
    padding: 8px;
    font-family: "Century Gothic", Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #382317;
    font-weight: bold;
    line-height: 30px;
}
.Realisation .img{
    padding: 18px;
}
.Realisation .img a{
    margin-left: 18px;
    text-decoration: none;
    color: #dc793e;
}
footer{
    padding: 4px 9px 4px 9px;
    background: #FFFFFF no-repeat right 4px;
    height: 85px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #7f7f7f;
}
footer .hr{
    border-top: 1px  #bebebe outset;
    margin-bottom: 4px
}
footer .copyright {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #bebebe;
    text-decoration: none;
    padding: 2px 0px 0px 0px;
}
footer ul{
    margin: 0px;
    padding: 0px;
}
footer li span{
    margin: 0px 6px;
}
footer li a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #7f7f7f;
    text-decoration: none;
}
footer li a:hover {
    font-family:Arial, Helvetica, sans-serif; 
    font-size:11px; color:#000; 
    text-decoration:underline;
}
.main_content{
    width: 100%;
    padding: 20px;
    color: #5e5955;
    text-decoration: none;
    line-height: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}
.main_content a{
    color: #dc793e;
}
.main_content table{
    margin: 20px;
}
.main_content table tr td{
    margin: 10px;
}
#button_sbm{
    background-color:#bb6836;
    color:#FFFFFF;
    border:1px solid #bb6836;
    font-weight:bold;
    font-size:12px;
    height:20px;
    text-align:center;
    padding-bottom:20px;
    float: left
}
.retail_bloc{
    width: 330px;
    height: 140px;
    float: left;
    padding: 10px;
}
#my_account{
    background: #e2ddd7;
    padding: 5px;
    margin-bottom: 10px;
    font-family: "Century Gothic", Arial, Helvetica, sans-serif;
    font-size: 22px;
    margin-left: 2px;
    color: #382317;
    text-decoration: none;
    font-weight: bold;
    height: 40px;
    width:200px;
    line-height: 30px;
}
.my_account_menu ul
{
    font-weight: bold;
    padding:0;
    margin:0;
    list-style-type:none;
    font-size:13px;
    color:#717171;
    width:200px;
}
.my_account_menu li
{
    border-bottom:1px solid #eeeeee;
    padding:7px 10px 7px 10px;
}
.my_account_menu li:hover
{
    color:White;
    background-color:#C03000;
}
.my_account_menu a:link
{
    color:#C03000;
    text-decoration:none;
}
.my_account_menu a:hover
{
    color:White;
}
#my_account_menu_bloc{
    float:left;
}
#center_content{
    width: 450px;
    float:left;
    padding: 0 10px 10px 10px;
}
#center_content_big{
    width: 750px;
    float:left;
    padding: 0 10px 10px 10px;
}
#cmxform fieldset {
    margin: 10px auto;
    width:480px;
}
#cmxform legend {
    padding: 0 2px;
    font-weight: bold;
}
#cmxform label {
    display: inline-block;
    line-height: 1.8;
    vertical-align: top;
}
#cmxform fieldset ol {
    margin: 0;
    padding: 0;
}
#cmxform fieldset li {
    list-style: none;
    padding: 5px;
    margin: 0;
}
#cmxform fieldset fieldset {
    border: none;
    margin: 3px 0 0;
}
#cmxform fieldset fieldset legend {
    padding: 0 0 5px;
    font-weight: normal;
}
#cmxform fieldset fieldset label {
    display: block;
    width: auto;
}
#cmxform em {
    font-weight: bold;
    font-style: normal;
    color: #f00;
}
#cmxform label {
    width: 120px; /* Width of labels */
}
#cmxform fieldset fieldset label {
    margin-left: 123px; /* Width plus 3 (html space) */
}
#btn_submit, #btn_cancel
{
    padding: 5px 10px;
    margin-left: 190px;
    width: 150px;
    font-size: 16px !important;
    background-color: #C03000;
    font-weight: bold;
    text-shadow: 1px 1px #D04000;
    color: #ffffff;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #D04000;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}
.info, .success, .warning, .error, .validation {
    border: 1px solid;
    padding:15px 10px 15px 20px;
    margin: 10px 0;
    background-repeat: no-repeat;
    background-position: 10px center;
}
.info {
    color: #00529B;
    background-color: #BDE5F8;
}
.success {
    color: #4F8A10;
    background-color: #DFF2BF;
}
.warning {
    color: #9F6000;
    background-color: #FEEFB3;
}
.error {
    color: #D8000C;
    background-color: #FFBABA;
}
.datagrid table { border-collapse: collapse; text-align: left; margin:10px auto;width:100%} 
.datagrid {font: normal 12px/150% Arial, Helvetica, sans-serif; background: #fff; overflow: hidden; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
/*.datagrid table td, .datagrid table th { padding: 3px 10px; }
.datagrid table thead th {background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #991821), color-stop(1, #80141C) );background:-moz-linear-gradient( center top, #991821 5%, #80141C 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#991821', endColorstr='#80141C');background-color:#991821; color:#FFFFFF; font-size: 12px; font-weight: bold; border-left: 1px solid #B01C26; } 
.datagrid table thead th:first-child { border: none; }
.datagrid table thead th a { text-decoration: none; display: inline-block;  padding: 2px; color: #FFFFFF;}
.datagrid table tbody td { color: #80141C; border-left: 1px solid #F7CDCD;font-size: 12px;font-weight: normal; }
.datagrid table tbody .alt td { background: #F7CDCD; color: #80141C; }
.datagrid table tbody td:first-child { border-left: none; }
.datagrid table tbody tr:last-child td { border-bottom: none; }
.datagrid table tfoot td div { border-top: 1px solid #991821;background: #F7CDCD;} 
.datagrid table tfoot td { padding: 0; font-size: 12px } 
.datagrid table tfoot td div{ padding: 2px; }
.datagrid table tfoot td ul { margin: 0; padding:0; list-style: none; text-align: right; }
.datagrid table tfoot  li { display: inline; }
.datagrid table tfoot li a { text-decoration: none; display: inline-block;  padding: 2px 8px; margin: 1px;color: #FFFFFF;border: 1px solid #991821;-webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #991821), color-stop(1, #80141C) );background:-moz-linear-gradient( center top, #991821 5%, #80141C 100% );filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#991821', endColorstr='#80141C');background-color:#991821; }
.datagrid table tfoot ul.active, .datagrid table tfoot ul a:hover { text-decoration: none;border-color: #80141C; color: #FFFFFF; background: none; background-color:#991821;}
div.dhtmlx_window_active, div.dhx_modal_cover_dv { position: fixed !important; }*/
.full{
    width: 100%;
}
.full a{
    text-decoration: none;
    color: #80141C;
    font-weight: bold;
}
.contact_div{
    margin-top: 30px;
}
.contact_div_sml{
    float: left;
    width: 276px;
}
#admin_content{
    padding: 10px;
    width: 100%;
}
#admin_content fieldset{
    margin: 40px auto;
}
.mattblackmenu ul{
    margin: 0;
    padding: 0;
    font: bold 12px Verdana;
    list-style-type: none;
    border-bottom: 1px solid gray;
    background: #250F02;
    overflow: hidden;
    width: 100%;
}
.mattblackmenu li{
    display: inline;
    margin: 0;
}
.mattblackmenu li a{
    float: left;
    display: block;
    text-decoration: none;
    margin: 0;
    padding: 6px 8px; /*padding inside each tab*/
    border-right: 1px solid white; /*right divider between tabs*/
    color: #E2DDD7;
    background: #250F02;
    cursor:pointer;
}
.mattblackmenu li a:hover{
    color: #250F02;
    background: #E2DDD7; /*background of tabs for hover state */
    cursor:pointer;
}
#admin_content ul.tree, ul.tree ul {
    background: url('../vline.png') repeat-y;
    margin: 0;
    padding: 0;
}
#admin_content ul.tree ul {
    margin-left: 10px;
}
#admin_content fieldset{
    padding: 20px 10px 20px 50px;
}
#admin_content ul.tree li {
    margin: 0;
    padding: 0 12px;
    line-height: 20px;
    background: url('..node.png') no-repeat;
    color: #369;
    font-weight: bold;
}
#admin_content ul.tree li.last {
    background: #fff url('..lastnode.png') no-repeat;
}
#admin_content ul.tree a{
    text-decoration: none;
    color: maroon;
}
#add_company_fs{
    width:600px !important;
}
#add_company_fs label{
    width:200px !important;
}
/* Main */
#menu{
    width: 100%;
    margin: 0;
    padding: 10px 0 0 0;
    list-style: none;  
    background: #111;
    background: -moz-linear-gradient(#444, #111); 
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));	
    background: -webkit-linear-gradient(#444, #111);	
    background: -o-linear-gradient(#444, #111);
    background: -ms-linear-gradient(#444, #111);
    background: linear-gradient(#444, #111);
    -moz-border-radius: 50px;
    border-radius: 50px;
    -moz-box-shadow: 0 2px 1px #9c9c9c;
    -webkit-box-shadow: 0 2px 1px #9c9c9c;
    box-shadow: 0 2px 1px #9c9c9c;
}
#menu li{
    float: left;
    padding: 0 0 10px 0;
    position: relative;
}
#menu a{
    float: left;
    height: 25px;
    padding: 0 25px;
    color: #999;
    text-transform: uppercase;
    font: bold 12px/25px Arial, Helvetica;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
}
#menu li:hover > a{
    color: #fafafa;
}
*html #menu li a:hover{ /* IE6 */
    color: #fafafa;
}
#menu li:hover > ul{
    display: block;
}
/* Sub-menu */
#menu ul{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 99999;    
    background: #444;
    background: -moz-linear-gradient(#444, #111);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
    background: -webkit-linear-gradient(#444, #111);    
    background: -o-linear-gradient(#444, #111);	
    background: -ms-linear-gradient(#444, #111);	
    background: linear-gradient(#444, #111);	
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#menu ul li{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}
#menu ul li:last-child{   
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;    
}
#menu ul a{    
    padding: 10px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}
*html #menu ul a{ /* IE6 */   
    height: 10px;
    width: 150px;
}
*:first-child+html #menu ul a{ /* IE7 */    
    height: 10px;
    width: 150px;
}
#menu ul a:hover{
    background: #0186ba;
    background: -moz-linear-gradient(#04acec,  #0186ba);	
    background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
    background: -webkit-linear-gradient(#04acec,  #0186ba);
    background: -o-linear-gradient(#04acec,  #0186ba);
    background: -ms-linear-gradient(#04acec,  #0186ba);
    background: linear-gradient(#04acec,  #0186ba);
}
#menu ul li:first-child a{
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}
#menu ul li:first-child a:after{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}
#menu ul li:first-child a:hover:after{
    border-bottom-color: #04acec; 
}
#menu ul li:last-child a{
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}
/* Clear floated elements */
#menu:after{
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */
.list_buttons img{
    cursor: pointer;
}
.nav_home{
    background: url('../img/house-icon.png') no-repeat 2px 5px;
}
.nav_products{
    background: url('../img/cabinet-icon.png') no-repeat 2px 5px;
}
.nav_suppliers{
    background: url('../img/suppliers-icon.png') no-repeat 2px 5px;
}
.nav_users{
    background: url('../img/User-Group-icon.png') no-repeat 4px 5px;
}
.nav_reports{
    background: url('../img/reports-icon.png') no-repeat 2px 5px;
}
.nav_actif{
    background-color: #e2ddd7;
}
.nav_actif a{
    color: #000000 !important;
}





table {
    *border-collapse: collapse; /* IE7 and lower */
    border-spacing: 0;
    width: 100%;    
}

.bordered {
    border: solid #ccc 1px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 1px 1px #ccc; 
    -moz-box-shadow: 0 1px 1px #ccc; 
    box-shadow: 0 1px 1px #ccc;    
    table-layout: fixed;
}

.bordered tr:hover {
    background: #fbf8e9;
    -o-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;     
}    

.bordered td, .bordered th {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 10px;
    text-align: left;    
    overflow: hidden;
}

.bordered th {
    background-color: #dce9f9;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9));
    background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:    -moz-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:     -ms-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:      -o-linear-gradient(top, #ebf3fc, #dce9f9);
    background-image:         linear-gradient(top, #ebf3fc, #dce9f9);
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; 
    -moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;  
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;        
    border-top: none;
    text-shadow: 0 1px 0 rgba(255,255,255,.5); 
    text-align: center;
}

.bordered td:first-child, .bordered th:first-child {
    border-left: none;
}

.bordered th:first-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;
}

.bordered th:last-child {
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
}

.bordered th:only-child{
    -moz-border-radius: 6px 6px 0 0;
    -webkit-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
}

.bordered tr:last-child td:first-child {
    -moz-border-radius: 0 0 0 6px;
    -webkit-border-radius: 0 0 0 6px;
    border-radius: 0 0 0 6px;
}

.bordered tr:last-child td:last-child {
    -moz-border-radius: 0 0 6px 0;
    -webkit-border-radius: 0 0 6px 0;
    border-radius: 0 0 6px 0;
}
.bordered .alt td { background: #eeffff;}
.bordered .txt_center { text-align: center }
.act_img { margin: 0 5px; }





#paging span {
    display: block;
    float: left;
    color: #585858;
    text-decoration: none;
    padding: 3px 6px;
    margin-right: 6px;
    border-radius: 3px;
    border: 1px solid #ddd;
    background-color: #eee;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#eee));
    background-image: -webkit-linear-gradient(top, #f7f7f7, #eee);
    background-image: -moz-linear-gradient(top, #f7f7f7, #eee);
    background-image: -ms-linear-gradient(top, #f7f7f7, #eee);
    background-image: -o-linear-gradient(top, #f7f7f7, #eee);
    background-image: linear-gradient(top, #f7f7f7, #eee);
    -webkit-box-shadow: 2px 2px 4px -1px rgba(0,0,0, .55);
    -moz-box-shadow: 2px 2px 4px -1px rgba(0,0,0, .55);
    box-shadow: 2px 2px 4px -1px rgba(0,0,0, .55);
}
#paging span a{
    text-decoration: none;
    font-weight: bold;
    color: #C03000;
}
#paging span:hover {
    color: #3280dc;
}
#paging span:active {
    position: relative;
    top: 1px;
    -webkit-box-shadow: 1px 1px 3px -1px rgba(0,0,0, .55);
    -moz-box-shadow: 1px 1px 3px -1px rgba(0,0,0, .55);
    box-shadow: 1px 1px 3px -1px rgba(0,0,0, .55);
}

#paging .single, #paging .current {
    display: block;
    float: left;
    padding: 3px 6px;
    margin-right: 6px;
    border-radius: 3px;
    color: #fff;
    background-color: #C03000;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#C03000), to(#C03000));
    -webkit-box-shadow: 2px 2px 4px -1px #C03000;
    -moz-box-shadow: 2px 2px 4px -1px #C03000;
}




/*     Fromulaire Design          */
.af-wrapper {
    width: 94%;
    max-width: 700px;
    min-width: 280px;
    margin: 0 auto 30px auto;
    position: relative;
    padding: 20px;
    box-shadow: 1px 2px 4px rgba(0,0,0,0.2);
}
.af-wrapper h3 {
    margin: 0px;
    color: #444;
    padding: 10px;
}
.af-show {
    position: absolute;
    top: 30px;
    right: 155px;
    cursor: pointer;
    padding: 3px 0px;
    width: 190px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #A8BC65;
    color: #6d7649;
    border-radius: 4px;
    background: #e4efc0;
    text-shadow: 0px 1px 1px rgba(255,255,255,0.4);
    background: #cae082;
    background: -moz-linear-gradient(top, #cae082 0%, #abbd73 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cae082), color-stop(100%,#abbd73));
    background: -webkit-linear-gradient(top, #cae082 0%,#abbd73 100%);
    background: -o-linear-gradient(top, #cae082 0%,#abbd73 100%);
    background: -ms-linear-gradient(top, #cae082 0%,#abbd73 100%);
    background: linear-gradient(top, #cae082 0%,#abbd73 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cae082', endColorstr='#abbd73',GradientType=0 );
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.af-show:hover {
    color: #535B31;
}
.af-show-input {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    width: 190px;
    height: 24px;
    opacity: 0;
}
.af-show-input:checked ~ .af-show {
    background: #cae082;
    color: #535B31;
    box-shadow: 0 1px 2px rgba(255,255,255,0.6);
}

.af-form {
    padding: 10px 0px;
}
.af-form:before,
.af-form:after {
    content:"";
    display:table;
}
.af-form:after {
    clear:both;
}
.af-outer {
    box-shadow: 0 1px 0 #f5f5f5 inset;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
}
.af-inner {
    padding: 10px 20px;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
}
#af-showreq:checked ~ .af-form .af-outer.af-required {
    background: #fffde3;
}
#af-showreq:checked ~ .af-form .af-outer:not(.af-required) .af-inner {
    opacity: 0.4;
}
.af-form label {
    display: block;
    display: -webkit-box;
    display: -moz-box;
    display: box;	
    -moz-box-orient: horizontal;
    -moz-box-pack: end;
    -moz-box-align: center;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: end;
    -webkit-box-align: center;
    box-orient: horizontal;
    box-pack: end;
    box-align: center;
    height: 40px;
    float: left;
    padding-right: 3%;
    width: 30%;
    min-width: 80px;
    font-size: 12px;
    color: #888;
    letter-spacing: 3px;
    text-align: right;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.6);
}
.af-form .af-required label {
    color: #555;
}
.af-form input[type=text],
.af-form input[type=email],
.af-form select,
.af-form input[type=password],
.af-form textarea,
.af-form input[type=date] {

    border: 1px solid #ddd;
    padding: 10px;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
    color: #666;
    width: 64%;
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #f7f7f7 7%, #f7f7f7 22%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(7%,#f7f7f7), color-stop(22%,#f7f7f7), color-stop(100%,#ffffff));
    background: -webkit-linear-gradient(top, #ffffff 0%,#f7f7f7 7%,#f7f7f7 22%,#ffffff 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#f7f7f7 7%,#f7f7f7 22%,#ffffff 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#f7f7f7 7%,#f7f7f7 22%,#ffffff 100%);
    background: linear-gradient(top, #ffffff 0%,#f7f7f7 7%,#f7f7f7 22%,#ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );
    box-shadow: 0px 1px 1px rgba(255,255,255,0.7), 1px 1px 2px rgba(0,0,0,0.1) inset;
}
.af-form input:focus {
    background: #f9fcef;
    outline: none;
}
.af-form input[type="submit"] {
    border: 1px solid #EF9309;
    text-shadow: 0px 1px 1px rgba(255,255,255,0.4);
    color: #724C04;
    display: inline-block;
    border-radius: 4px;
    margin-top: 10px;
    margin-left: 33%;
    padding: 6px 15px;
    font-weight: bold;
    background: #ffaf4b;
    background: -moz-linear-gradient(top, #ffaf4b 0%, #ff920a 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffaf4b), color-stop(100%,#ff920a));
    background: -webkit-linear-gradient(top, #ffaf4b 0%,#ff920a 100%);
    background: -o-linear-gradient(top, #ffaf4b 0%,#ff920a 100%);
    background: -ms-linear-gradient(top, #ffaf4b 0%,#ff920a 100%);
    background: linear-gradient(top, #ffaf4b 0%,#ff920a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffaf4b', endColorstr='#ff920a',GradientType=0 );
    box-shadow: 0px 1px 2px rgba(0,0,0,0.2);
}
.af-form input[type="submit"]:active {
    box-shadow: 0px 1px 2px rgba(255,255,255,0.5);
    background: #ffaf4b;
}
::-webkit-validation-bubble{
    z-index: 100000;

}
@media screen and (max-width: 780px) {
    .af-wrapper {
        background-position: 220px 60px;
    }
    .af-wrapper h3 {
        padding-bottom: 50px;
    }
    .af-show {
        top: 66px;
        right: auto;
        left: 30px;
    }
}
@media screen and (max-width: 385px) {
    .af-wrapper {
        background: #fff;
    }
}
@media screen and (max-width: 330px) {
    .af-form label,
    .af-form input[type=text],
    .af-form input[type=email],
    .af-form input[type=date]{
        width: 100%;
    }
    .af-form label{
        -moz-box-pack: center;
        -webkit-box-pack: center;
        box-pack: center;
        text-align: center;
    }
}
.back_link{
    padding-left: 30px;
}
.green_button{
    border:1px solid #34740e; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:12px;font-family:arial, helvetica, sans-serif; padding: 10px 10px 10px 10px; text-decoration:none; display:inline-block;text-shadow: -1px -1px 0 rgba(0,0,0,0.3);font-weight:bold; color: #FFFFFF !important;
    background-color: #4ba614;
    background: url('../img/Add-icon.png') #4ba614 no-repeat 5px 5px;
    padding-left: 35px;
}

.green_button:hover{
    border:1px solid #224b09;
    background: url('../img/Add-icon.png') #36780f no-repeat 5px 5px;
}
.new_item{
    float: right;
}
.total_price{
    height: 30px;
    text-align: center;
    font-size: 16px;
    color: #00529B;
    text-shadow: 1px 1px 0px #bad3ed;
    font-weight: bold;
}
.search_div{
    margin-bottom: 15px;
}
.details_info {
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
    color: #666;
    width: 64%;
    height: 10px !important;
}
.product_count{
    border-radius: 20%;
    /*width: 40px;
    height: 40px;*/
    padding: 8px;
    background: #fff;
    border: 2px solid #0a0;
    color: #0a0;
    text-align: center;
    font: 20px Arial, sans-serif;
    float:left;
}
.negativ_inventory{
    border: 2px solid #D8000C;
    color: #D8000C;
}
.inventory_box{
    width:70px !important;
}
.small_datagrid table{
    width: 100% !important;
}
.actual_count{
    padding-top: 18px;
}
.txt_count{
    font-size: 24px;
    color: #0a0;
}
.txt_count_red{
    color: #D8000C;
}
.txt_total_price{
    font-size: 24px;
    color: #00529B;
}


.form-2 {
    /* Size and position */
    width: 340px;
    margin: 40px auto 30px;
    padding: 15px;
    position: relative;

    /* Styles */
    background: #fffaf6;
    border-radius: 4px;
    color: #7e7975;
    box-shadow:
        0 2px 2px rgba(0,0,0,0.2),        
        0 1px 5px rgba(0,0,0,0.2),        
        0 0 0 12px rgba(255,255,255,0.4); 
}

.form-2 h1 {
    font-size: 15px;
    font-weight: bold;
    color: #bdb5aa;
    padding-bottom: 8px;
    border-bottom: 1px solid #EBE6E2;
    text-shadow: 0 2px 0 rgba(255,255,255,0.8);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.form-2 h1 .log-in,
.form-2 h1 .sign-up {
    display: inline-block;
    text-transform: uppercase;
}

.form-2 h1 .log-in {
    color: #6c6763;
    padding-right: 2px;
}

.form-2 h1 .sign-up {
    color: #ffb347;
    padding-left: 2px;
}

.form-2 .float {
    width: 50%;
    float: left;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,1);
    margin-bottom: 20px;
}

.float_input {
    width: 50% !important;
    float: left;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,1);
}

.form-2 .float:first-of-type {
    padding-right: 5px;
}

.form-2 .float:last-of-type {
    padding-left: 5px;
}

.form-2 label {
    display: block;
    padding: 0 0 5px 2px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 400;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    font-size: 11px;
}

.form-2 label i {
    margin-right: 5px; /* Gap between icon and text */
    display: inline-block;
    width: 10px;
}

.form-2 input[type=text],
.form-2 input[type=password] {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    display: block;
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border: 3px solid #ebe6e2;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.form-2 input[type=text]:hover,
.form-2 input[type=password]:hover {
    border-color: #CCC;
}

.form-2 label:hover ~ input {
    border-color: #CCC;
}

.form-2 input[type=text]:focus,
.form-2 input[type=password]:focus {
    border-color: #BBB;
    outline: none; /* Remove Chrome's outline */
}

.form-2 input[type=submit],
.form-2 .log-twitter {
    /* Size and position */
    width: 98%;
    height: 38px;
    float: left;
    position: relative;

    /* Styles */
    box-shadow: inset 0 1px rgba(255,255,255,0.3);
    border-radius: 3px;
    cursor: pointer;

    /* Font styles */
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 14px;
    line-height: 38px; /* Same as height */
    text-align: center;
    font-weight: bold;
}

.form-2 input[type=submit] {
    margin-left: 1%;
    background: #fbd568; /* Fallback */
    background: -moz-linear-gradient(#fbd568, #ffb347);
    background: -ms-linear-gradient(#fbd568, #ffb347);
    background: -o-linear-gradient(#fbd568, #ffb347);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#fbd568), to(#ffb347));
    background: -webkit-linear-gradient(#fbd568, #ffb347);
    background: linear-gradient(#fbd568, #ffb347);
    border: 1px solid #f4ab4c;
    color: #996319;
    text-shadow: 0 1px rgba(255,255,255,0.3);
}

.form-2 .log-twitter {
    margin-right: 1%;
    background: #34a5cf; /* Fallback */
    background: -moz-linear-gradient(#34a5cf, #2a8ac4);
    background: -ms-linear-gradient(#34a5cf, #2a8ac4);
    background: -o-linear-gradient(#34a5cf, #2a8ac4);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#34a5cf), to(#2a8ac4));
    background: -webkit-linear-gradient(#34a5cf, #2a8ac4);
    background: linear-gradient(#34a5cf, #2a8ac4);
    border: 1px solid #2b8bc7;
    color: #ffffff;
    text-shadow: 0 -1px rgba(0,0,0,0.3);
    text-decoration: none;
}

.form-2 input[type=submit]:hover,
.form-2 .log-twitter:hover {
    box-shadow: 
        inset 0 1px rgba(255,255,255,0.3), 
        inset 0 20px 40px rgba(255,255,255,0.15);
}

.form-2 input[type=submit]:active,
.form-2 .log-twitter:active{
    top: 1px;
}

/* Fallback fro broswers that don't support box shadows */
.no-boxshadow .form-2 input[type=submit]:hover {
    background: #ffb347;
}

.no-boxshadow .form-2 .log-twitter:hover {
    background: #2a8ac4;
}

.form-2 p:last-of-type {
    clear: both;    
}

.form-2 .opt {
    text-align: right;
    margin-right: 3px;
}

.form-2 label[for=showPassword] {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 400;
    text-transform: capitalize;
}

.form-2 input[type=checkbox] {
    vertical-align: middle;
    margin: -1px 5px 0 1px;
}
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.logout_section{
    float:right;
    margin-top: 14px;
    margin-bottom: 0px;
    height: 16px;
    color:#fff;
    font-size: 14px;
    font-weight: bold;
}
.logout_lnk a{
    text-decoration: none;
    color:#fff;
    background: url('../img/logout-icon.png') no-repeat 0px 2px;
    padding-left: 20px;
    margin-left: 15px;
    line-height: 20px;
}
.search_label{
    font-size: 16px;
    color: #344251;
    text-shadow: 1px 1px 0px #bad3ed;
    font-weight: bold;
}

.search_input {
    background: none repeat scroll 0 0 #FCFCFC;
    border: 1px solid #A6A6A6;
    border-radius: 2px 2px 2px 2px;
    color: #6C6C6C;
    height: 25px;
    margin-top: 10px;
    outline: medium none;
    padding-left: 10px;
    width: 150px;
}
.search_input:focus {
    background: none repeat scroll 0 0 white;
    border-color: #7DC9E2;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3) inset;
    color: #A6A6A6;
    content:"";
}
.photo-upload-blc{
    margin: 10px;
}
.add_new_producer_dialog{
    float:left; 
    margin:0 7px 20px 0;
}
.error-message{
    color: red;
    padding: 3px 5px 0px 5px;
}
.disabledlink{
    pointer-events: none;
    opacity: 0.8;
    color: #ccc;
}
.images_preview{
    max-width: 190px;
    max-height: 150px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.images_preview_container{
    margin: 5px;
    width: 205px;
    height: 165px;
    float:left;
    border:1px solid #021a40;
    background-color:#eee;
    text-align: center;
    position: relative;
}
.image_preview_title{
    width: 100%;
    float:left;
    text-align: center;
    font-weight: bold;
    padding: 3px 0;
}
.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.datedropdown{
    color:#fff;
}

.datedropdown select{
    float:left;
    width:30%;
    margin: 0 3px;
}

a.anchor{display: block; position: relative; top: -75px; visibility: hidden;}

.button-link {
    padding: 7px 15px;
    background: #4479BA;
    color: #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    cursor:pointer;
}

.reduce-header .site-logo {
    padding-top: 9px;
    padding-bottom: 11px;
    height: 40px;
}

.reduce-header .site-logo img{
    height: 40px;
}

.testimonials-v1 span.testimonials-company {
    color: #4B77BE;
    font-size: 14px;
    font-weight: 300;
    margin: 0;
}

.testimonials-v1 span.testimonials-name {
    margin: 5px 0 7px !important;
}

.lastusers_thumb{
    width: 45px;
    height: 45px;
    padding: 2px;
    border: solid 1px #f5f5f5;
}

.service-box .service-box-heading span{
    display:inline !important;
}

.service-box .service-box-heading {
    min-height: 82px;
}