html {
    -ms-overflow-style: scrollbar;
}

body 
{
    word-wrap: break-word;
}

/* centered columns styles */
.row-centered
{
    text-align: center;
}

.form-inline, .row.margin-bottom {
    margin-bottom:1em; 
}

.form-inline .control-label {
    padding-left: 0px;
}

.col-centered
{
    display: inline-block;
    float: none;
    /* inline-block space fix */

    margin-right: -4px;
    /* reset the text-align */

    text-align: left;
}

.table.noborder > tbody > tr > th,
.table.noborder > tbody > tr > td {
    border: none;
}

/* resize glyphicon */
.gi-lg {
    font-size: 1.33333333em;
    line-height: 0.75em;
    vertical-align: -15%;
}
.gi-2x {
    font-size: 2em;
}
.gi-3x {
    font-size: 3em;
}
.gi-4x {
    font-size: 4em;
}
.gi-5x {
    font-size: 5em;
}

/* Spin icon */
.glyphicon-spin {
    -webkit-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}

span.alert 
{
    display:block;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0px auto; 
    -webkit-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}

.popoverWrapper {
    max-width: 400px;
    margin: 0 auto;
    position: fixed;
    top: 10px;
}

#main {
    padding-bottom:50px;
}

/* Forms */
label.required:after { 
    color: #d00;
    font-weight: bold;
    font-size: 18px;
    content: "*";
    position: absolute;
    margin-left: 8px;
}

/* Breadcrumbs */
.breadcrumbs > table 
{
    margin-bottom:16px; 
}

/* Treeview */
#TREEVIEW {
    overflow:hidden;
}
#TREEVIEW > div> a,
.MediaTreeview > a {
    display:none;
}

/* Panel */
.panel.noborder {
    border: none;
    box-shadow: none;
}
.panel.noborder > .panel-heading {
    border: 1px solid #dddddd;
    border-radius: 0;
}

/* Alignement */
.vertical-middle { 
    display: table-cell;
    vertical-align: middle;
}

.panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: grey;         /* adjust as needed */
}
.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

/* Tabs */
.tab-content {
    background-color:#fff;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top-color: transparent;
}

/* Carousel */
#panelCarousel {
  padding-left: 30px;
  padding-right: 30px;
}

.jcarousel-wrapper {
    margin: 10px;
    position: relative;
}

/** Carousel **/
.jcarousel .thumbnail 
{
    margin-bottom: 0px;
    text-align:center;
}
.jcarousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.jcarousel ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jcarousel li {
    float: left;
    border: 1px solid #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.jcarousel img {
    display: block;
    max-width: 100%;
    height: auto !important;
}

/** Carousel Controls **/

.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    top: 50%;
}

a.jcarousel-control-prev,
a.jcarousel-control-next
{
  background: transparent;
  text-decoration: none;
  font: 82px/27px Arial, sans-serif;
}

a.jcarousel-control-prev:hover,
a.jcarousel-control-next:hover
{
  background: transparent;
  text-decoration: none;
}

.jcarousel-control-prev, .jcarousel-control-next {
  top: 50%;
}

.jcarousel-control-prev {
  left: -34px;
}

.jcarousel-control-next {
    right: -34px;
}

.jcarousel-control-prev, .jcarousel-control-next {
    width: 30px;
    height: 40px;
}
























/** Carousel Pagination **/

.jcarousel-pagination {
    position: absolute;
    bottom: -40px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    margin: 0;
}

.jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;

    font-size: 11px;
    height: 10px;
    width: 10px;
    line-height: 10px;

    background: #fff;
    color: #4E443C;
    border-radius: 10px;
    text-indent: -9999px;

    margin-right: 7px;


    -webkit-box-shadow: 0 0 2px #4E443C;
    -moz-box-shadow: 0 0 2px #4E443C;
    box-shadow: 0 0 2px #4E443C;
}

.jcarousel-pagination a.active {
    background: #4E443C;
    color: #fff;
    opacity: 1;

    -webkit-box-shadow: 0 0 2px #F0EFE7;
    -moz-box-shadow: 0 0 2px #F0EFE7;
    box-shadow: 0 0 2px #F0EFE7;
}


#footer {
    padding-top:5px;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 30px;
    background-color: #F5F5F5;
    z-index: 999;
}


/* Thumbnails */
p.thumbLabel {
  margin:0;
}

.thumbLabel, .thumbPrint, .thumbVersion {
    text-align: center;
}

.thumbLabellib {
    font-weight: bold;
}

.thumbTools 
{
    margin-top:5px;
    text-align: right;
    height: 20px;
    position: relative;
}

.thumbTools .thumbOrdre {
    height: auto;
    width: auto;
    left: 8px;
    padding: 1px;
    position: absolute;
    text-align: left;
}
.thumbTools div {
    float: right;
}

.thumbTools div a {
    display: inline;
    float: left;
    margin-right: 2px;
}

/* Custom field */
.CustomFieldClient td.odd {
	background-color:#FFFFFF;
	padding:4px;
}

.CustomFieldClient td.even {
	background-color:#ededed;
	padding:4px;
}


/* zoneaddpanier */
#zoneaddpanier
{
    position: absolute !important;

    display: none;

    height: auto;
    padding: 0;

    border: 1px solid #bbb;
    /*border-radius: 8px;*/
    background-color: #fff;
    box-shadow: 0 1px 3px #bbb;
}

#zoneaddpanier .header
{
    font-weight: bold;
    line-height: 1.4em;

    position: relative;

    margin: 4px;
    padding: .4em 1em;

    color: #fff;
    /*border-radius: 5px;*/
    background-color: #337AB7;
}

#zoneaddpanier .content
{
    width: 300px;
    padding: 10px;
}

#zoneaddpanier .content table td
{
    overflow: visible;

    padding: 2px;
}

#zoneaddpanier .footer
{
    padding: 3px;
}

/* zoneaddvariantes */
#zoneaddvariantes
{
    position: absolute !important;

    display: none;
    overflow-x: hidden;
    overflow-y: auto;

    width: 340px;
    height: auto;
    max-height: 400px;
    padding: 0;

    border: 1px solid #ccc;
    /*border-radius: 8px;*/
    background-color: #fff;
    box-shadow: 0 1px 3px #bbb;
}

#zoneaddvariantes .header
{
    font-weight: bold;
    line-height: 1.4em;

    position: relative;

    margin: 4px;
    padding: .4em 1em;

    color: #fff;
    /*border-radius: 5px;*/
    background-color: #559bc4;
}

#zoneaddvariantes .content
{
    width: 95%;
    padding: 10px;
}

#zoneaddvariantes .footer
{
    padding: 3px;
}
/*
a.btnTextCANCEL
{
font-weight: normal;

display: inline-block;

margin: 0 2px;
margin: .5em .4em .5em 0;
padding: 2px 10px;

cursor: hand;
cursor: pointer;
text-decoration: none;

color: #333;
border: 1px solid #bbb;
border-radius: 3px 3px 3px 3px;
background-color: #f5f5f5;
}

a.btnTextCANCEL:hover
{
color: #000;
background-color: #bbb;
}

a.btnTextOK
{
font-weight: bold;

display: inline-block;

margin: 0 2px;
margin: .5em .4em .5em 0;
padding: 2px 10px;

cursor: hand;
cursor: pointer;
text-decoration: none;

color: #000;
border: 1px solid #559bc4;
border-radius: 3px 3px 3px 3px;
background-color: #fdf5ce;
}

a.btnTextOK:hover
{
color: #fff;
background-color: #559bc4;
}
*/

.addvariantes
{
    cursor: pointer;
    cursor: hand;
    cursor: pointer;
}

.header .close
{
    display: block;
    float: right;

    width: 16px;
    height: 16px;

    background: url('../img/buttons/close.png') 0 0 no-repeat;
}


/* -----------------------------------------
Schema
----------------------------------------- */
.schematools {
    padding:5px 0px 6px 0px;
    height:20px;
}

.schematools  .pagination {
    float: left;
    width: 80%;
    margin:0px auto;
    position:relative;
    text-align:center;
}

.schematools  .actions {
    float: right;
    width: 20%;
    text-align:right;
}

.schematools strong {
    display: inline-block;
    height: 20px;
    width: 50px;
    vertical-align:top;
    text-align:center;
    padding-top:3px;
}

/* last button */
.schematools a.btnPREV {
    display:inline-block;
    height:20px;
    width:26px;
    cursor: hand;
    cursor: pointer;
    background: url("../img/ico_navigation.png") 0 -20px no-repeat;
    border:1px solid transparent;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.schematools a.btnPREV:hover {
    border:1px solid #999999;
}

/* next button */
.schematools a.btnNEXT {
    display:inline-block;
    height:20px;
    width:26px;
    cursor: hand;
    cursor: pointer;
    background: url("../img/ico_navigation.png") 0 0 no-repeat;
    border:1px solid transparent;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.schematools a.btnNEXT:hover {
    border:1px solid #999999;
}

#zoom_toolbar {
    height:21px;
}

/* Repères cliquables */
.spotSingle {
    /* ATTENTION : changer seulement les valeurs ! */
    background-color: #559bc4;
    border: 1px solid #559bc4;
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.spotAll {
    /* ATTENTION : changer seulement les valeurs ! */
    background-color: #559bc4;
    border: 0px solid #ffffff;
    opacity: 0.1;
    filter: alpha(opacity=10);
}

#zoom_container {
    position:relative;
    width:100%;
    height:100%;
}

#zoom_container img {
    max-width: none;
    width: none;
    height: none;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: none;
}

#zoom_container .hotspots {
    position:absolute;
    z-index:999;
    top:0;
    left:0;
}

#zoom_container .hotspots .item {
    position:absolute;
    text-align:center;
    display:none;
}

#zoom_container .hotspots .spot {
    cursor: hand;
    cursor: pointer;
    height:30px;
    width:30px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

#zoom_container .hotspots .spotP {
    background:rgba(255,0,0,0.1);
    -pie-background:rgba(255,0,0,0.1);
}

#zoom_container .hotspots .spotP:hover,
#zoom_container .hotspots .spotP.select {
    height:27px;
    width:27px;
    border:3px solid #ff0000;
}

#zoom_container .hotspots .spotM {
    background:rgba(0,255,0,0.1);
    -pie-background:rgba(0,255,0,0.1);
}

#zoom_container .hotspots .spotM:hover,
#zoom_container .hotspots .spotM.select {
    height:27px;
    width:27px;
    border:3px solid #00ff00;
}

#zoom_container .hotspots .spotK {
    background:rgba(0,255,0,0.1);
    -pie-background:rgba(0,255,0,0.1);
}

#zoom_container .hotspots .spotK:hover,
#zoom_container .hotspots .spotK.select {
    height:27px;
    width:27px;
    border:3px solid #00ff00;
}

#zoom_container .hotspots .spotL {
    background:rgba(0,0,255,0.1);
    -pie-background:rgba(0,0,255,0.1);
}

#zoom_container .hotspots .spotL:hover,
#zoom_container .hotspots .spotL.select {
    height:27px;
    width:27px;
    border:3px solid #0000ff;
}

/**
* Nomenclatures
*/
.fixedTable {
    table-layout : fixed;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.Nomenclature {
    height: auto;
    margin: 5px 0;
    background-color : #ededed;
}

.NomenclatureHeader {
    cursor: hand;
    cursor: pointer;
    background: #425784;
    height: 21px;
}

.NomenclatureHeader .ico {
    padding-top:2px;
    float:left;
}

.NomenclatureHeader .title {
    font-weight: bold;
    padding-top: 2px;
    padding-left: 20px;
    line-height: 1.4em;
    color: #FFF;
}

.NomenclatureHeader .title a {
    color: #FFF;
}

.NomenclatureHeader .title a:hover {
    color: #F60;
}

.NomenclatureContent {
    clear: both;
    padding: 0px;
}

.NomenclatureContent #data_grid {
    table-layout:auto;
}

.NomenclatureScroll {
    clear: both;
    height: 235px;
    background-color : #FFF;
    overflow:auto;
    border-bottom:1px solid #cccccc;
}

.NomenclatureRef {
    font-size:10px;
    letter-spacing:1px;
    color:#000000;
    margin:0;
    padding:0;
    display:block;
}

.NomenclatureDesc {
    font-size:10px;
    color:#000000;
    margin-top:-2px;
}

.NomenclatureResult {
    display:none;
}

.NomenclatureResultContent .libelle {
    font-weight:bold;
    margin-bottom:10px;
}

.NomenclatureResultContent .ref {
    float:left;
}


.NomenclatureResultContent .TDLibRemArt {
    width: 140px;
}


.NomenclatureResultContent .pictosInfos {
    height: 26px;
    margin-left: 20px;
    clear: left;
}

.NomenclatureResultContent th,
.NomenclatureResultContent td strong,
.NomenclatureResultContent label {
	font-size:0.9em;
}

.NomenclatureResultContent .input-group > label,
.NomenclatureResultContent .form-inline > label
 {
	font-weight:bold;
	width:140px;
	display:inline-block;
}


.NomenclatureScroll table {
    width:100%;
}

.NomenclatureScroll .fixedTable table {
    width:100%;
}

.NomenclatureScroll ul.dropdown .col2 
{
    width:auto !important;
}

.NomenclatureScroll .rowvariante {
    padding: 8px 5px 8px 12px;
    cursor: pointer;
}

.NomenclatureScroll ul {
    list-style-type: none;
}

*+html .NomenclatureScroll .fixedTable table,
*+html .NomenclatureScroll table {
    width:98%;
}

.NomenclatureScroll .fixedTable .kitline td {
    border:0px;
}

.NomencMedia .titreNomencMediacat {
	font-weight:bold;
}

.NomencMedia .MediaTreeview {
	margin:0;
}

.NomencMedia .TreeViewMedia {
	position:relative;
	left:-40px;
	top:-8px;
}

.NomencMedia .TreeViewMedia table {
	display:none;
}

.NomencMedia .TreeViewMedia div table {
	display:block;
}


/*
tr.header {
    cursor: hand;
    cursor: pointer;
    background: #285586;
    color:#FFFFFF;
    height: 21px;
}*/

/*td.cell {
    padding: 13px 0 0 2px;
    margin : 0px;
    overflow : hidden;
    line-height: 12px;
    height: 25px;
}*/

table.row {
    padding: 0;
    margin: 0;
}

table.row 
{
    height:30px;
}

table.row:hover {
    cursor:hand;
    cursor:pointer;
}


#datagridHeader .col1,
#datagridContainer .col1
{
    width: 100px;
}

#datagridHeader .col2,
#datagridContainer .col2
{
    width: 140px;
}

#datagridHeader .col3,
#datagridContainer .col3
{
    width: 50px;

    text-align: center;

    _width: 25px;
}

/* Bloc rubrique */
.panel .nodeLevel1,
.MediaTreeview .nodeLevel1 {
	font-weight:bold;
	display:block;
}

.panel .nodeLevel1 a div,
.MediaTreeview .nodeLevel1 a div {
	white-space:normal !important;
}

.panel .nodeLevel2 {
	font-size:0.9em;
	font-weight:normal;
}

.panel .nodeLevel3 {
	font-size:0.9em;
	font-weight:normal;
	font-style:italic;
}

.panel .TreeviewRubriqueSousTitre {
	font-style:italic;
	font-size:0.9em;
	font-weight:normal;
}

/* Customs buttons */
/* Lien panier */
a.shopping-cart
{
    padding-left:35px !important;
}


a.shopping-cart:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f07a";
    font-size: 1.33333333em;
    line-height: 0.75em;
    position: absolute;
    margin-top: 2px;
    margin-left: -25px;
}

a.btnBOOK:before
{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f005";
    font-size: 1.33333333em;
    line-height: 0.75em;
    margin-right: 10px;
    cursor:pointer;
}

a.btnVIEW:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f030";
    font-size: 1.33333333em;
    cursor: pointer;
}

a.btnVIEW.gamme:before 
{
    content: "\f030";
}

a.btnVIEW.picture:before {
  content: "\f1c5";
}

a.btnVIEW.movie:before,
a.btnVIEW.film:before,
a.btnVIEW.flash:before {
	content: "\f1c8";
}

a.btnVIEW.link:before {
  content: "\f0c1";
}

a.btnVIEW.zip:before {
  content: "\f1c6";
}

a.btnVIEW.pdf:before {
  content: "\f1c1";
}

a.btnVIEW.word:before {
  content: "\f1c2";
}

a.btnVIEW.ppt:before {
  content: "\f1c4";
}

a.btnVIEW.excel:before {
  content: "\f1c3";
}

a.btnVIEW.txt:before {
  content: "\f0f6";
}

a.btnVIEW.xml:before {
  content: "\f1c9";
}

a.btnVIEW.unknown:before {
  content: "\f016";
}

a.btnVIEW2::before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f152";
    font-size: 1.33333333em;
    line-height: 0.75em;
    /*margin-right: 10px;*/
    cursor:pointer;
}

.view > a:before  
{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f00b";
    font-size: 1.33333333em;
    line-height: 0.75em;
    margin-right: 10px;
}

.print > a:before 
{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f02f";
    font-size: 1.33333333em;
    line-height: 0.75em;
    margin-right: 10px;
}

/*
  TODO : revoir tous les boutons avec les classes .btnADD, .btnDEL...
*/
.btnDEL 
{
    text-decoration:none !important;
    cursor:pointer;
}

.btnPopup {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f08e";
    font-size: 1.33333333em;
}

.btnOK:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f00c";
    font-size: 1.33333333em;
}

.btnCANCEL:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f05e";
    font-size: 1.33333333em;
}

.btnNEXT:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f138";
    font-size: 1.33333333em;
}

.btnPREV:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f137";
    font-size: 1.33333333em;
}

.btnSAVE:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f0c7";
    font-size: 1.33333333em;
}

.btnPRINT:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f02f";
    font-size: 1.33333333em;
}

.btnBOOK:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f005";
    font-size: 1.33333333em;
}

.btnDEL:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f00d";
    font-size: 1.33333333em;
}

.btnADD:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f055";
    font-size: 1.33333333em;
}

.btnUPD:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f021";
    font-size: 1.33333333em;
}

.btnMORE:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f067";
    font-size: 1.33333333em;
}

.btnLESS:before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f068";
    font-size: 1.33333333em;
}

/* Custom field */
.pictoCustomField:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f05a";
    font-size: 1.33333333em;
    cursor: pointer;
}

.StockRed,
.StockRed:hover {
    color:Red;
    text-decoration:none;
}
.StockGreen,
.StockGreen:hover {
    color:Green;
    text-decoration:none;
}
.StockAlert,
.StockAlert:hover {
    color:Orange;
    text-decoration:none;
}


.divInfos 
{
    width:25px;
    display:inline-block;
}
.infoInfo
{
    display:inline;
    }


/**/
#DivInfoFav
{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -150px;
    width: 300px;
    height: 50px;
    padding-top: 15px;
    text-align: center;
    border: 1px solid #bbb;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 1px 3px #bbb;
    z-index: 999;
}

.mandatoryfield 
{
    border: 1px solid red;
    background-color: #FFCECE;
}

/* Media */
.PhotoMedia {
	display: inline-block;
	vertical-align:top;
}

.PhotoMedia a {
	text-decoration:none;
}

table.MediaTreeviewNode 
{
    width:100%;
    }
table.MediaTreeviewNode .col1,
table.MediaTreeviewNode .col3
{
    width:32px
}
table.MediaTreeviewNode .col2
{
    text-align:left;
}

/* Favoris */
.favorisType table {
    margin: 0;
}

.favorisType .col1 {
    width:32px;
}

.favorisType .col2 {
    text-align: left;
}

.favorisType .col3 {
    text-align: right;
}

.login span.user,
.login span.lock {
    padding-top:10px;
}

/* Responsive */
@media (max-width: 992px) {
  #left 
  {
      display:none;
  }
}

@media (min-width: 768px) {
  /* Thumbnail */
  .thumbnail img {
    width:200px;
    height:200px !important;
  }
}