/*
    gestion de submenus
*/
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #000;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}



/*     breadcrum separator : fa chevron */
.breadcrumb > li + li:before {
  padding: 0 5px;
  color: #ccc;
  font-family: FontAwesome;
  content: "\f054";
}

/*  correctifs panels   */
ul.pagination {
    margin-top:0px;
    margin-bottom:-5px;
}

.panel-title > div > ul.list-inline {
    margin-bottom: -5px;
}

.panel-title {
    font-size: large;
}
.panel.with-nav-tabs .panel-heading .pull-left .panel-title{
    /*padding: 10px 10px 10px 10px;*/
    padding: 6px 10px 10px 10px;
}

.panel>div>table,                               .panel>div>table>thead>tr>th:first-child,                   .panel>div>table>tbody>tr>td:first-child
.panel>div>.panel>table ,   .panel>div>.panel,  .panel>div>.panel>table>thead>tr>th:first-child,.panel>div> .panel>table>tbody>tr>td:first-child
{
    border-left-width   : 0px;
    border-right-width  : 0px;
}
/*  counter on tab panel    */
a[role="tab"]>.badge {
    display:inline;
}

/*     correctifs buttons */
.btn-group {
    display:    inline-flex;
}

/*     correctifs progress in panel */
.progress {
    margin-bottom:  0;
    color:          white;
    font-weight:    bold;
    text-align:     center;
}

/*     correctif well for the same height than input */
.well-sm {
    padding-left: 15px;
    border-radius: 3px;
    height: 34px;
    margin-bottom: 0px;
}

/*     correctif label error aligned with input */
@media (min-width:768px){
    .form-horizontal .control-label {
        padding-left:15px;
    }
}

/*  ajout odd/even sur list*/
.dl-horizontal dd:nth-of-type() , .dl-horizontal dd:nth-of-type(), .dl-horizontal dt:nth-of-type(), .dl-horizontal dt:nth-of-type(){
    border-top:solid 1px rgba(0,0,0,0.2);
}

/*  saut de lignes plutot qu'ellipsis sur liste */
.dl-horizontal dt {
    white-space:normal;
}

dl {
    margin-bottom:0px;
}

.list-group-item > .panel {
    margin-bottom:0px;
}

/*@media (min-width: 768px)*/
.form-horizontal .control-label {
    padding-left: 0px;
    padding-right: 0px;
}
/*     allow clear more visible */

.select2-container .select2-selection__clear {
    font-size: 2em;
    top: -5px;
    line-height:initial;
}
.select2-container--bootstrap .select2-selection--multiple .select2-selection__clear {
    margin-top: 0px;
}

span.selection > span.select2-selection--multiple > ul > li > input {
    width:auto !important;
}
/*

.select2-container .select2-selection--multiple .select2-selection__clear {
    line-height:0px;
    position;relative;
}
*/
.select2-container--bootstrap .select2-selection--single .select2-selection__arrow
{
    right:20px;
    top:6px;
    color:#999;
}

.pull-middle {
    vertical-align:middle !important;
}

/*mise ne avant des elements selectionnné */
[data-toggle="buttons"] > label.active {
    font-weight:bold;
}

/*pas de pointer sens interdit quand disabled*/
.select2-container--bootstrap.select2-container--disabled .select2-search__field,
.select2-container--bootstrap.select2-container--disabled .select2-selection {
    cursor: auto !important;
}

/*  badge with color    */
.label-as-badge {
    border-radius   : 1em;
    font-size       : 12px;
}

.text-muted {
  color: #999;
}

.table-xcondensed > thead > tr > th,
.table-xcondensed > tbody > tr > th,
.table-xcondensed > tfoot > tr > th,
.table-xcondensed > thead > tr > td,
.table-xcondensed > tbody > tr > td,
.table-xcondensed > tfoot > tr > td {
  padding: 1px;
}

.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}
.no-padding {
    padding:0;
}

.label-purple {
  background-color: #9933CC;
}
.label-purple[href]:hover,
.label-purple[href]:focus {
  background-color: #990099;
}

.btn-purple {
  color: #fff;
  background-color: #9933CC;
  border-color: #990099;
}

.btn-purple:focus,
.btn-purple.focus,
.btn-purple:hover,
.btn-purple:active,
.btn-purple.active, {
  color: #fff;
  background-color: #990099;
  border-color: #9933CC;
}

/* $this->Html->json */
.jsonString     { color: green;         }
.jsonNumber     { color: darkorange;    }
.jsonBoolean    { color: blue;          }
.jsonNull       { color: magenta;       }
.jsonKey        { color: crimson;       }

.dl-inline > dt {
    display         : inline;
    padding-right   : 5px;
}
.dl-inline > dd {
    display         : inline;
    padding-right   : 15px;
}

.nav-tabs > li .close {
    margin: -3px 0 0 10px;
    font-size: 18px;
    padding: 5px 0;
    float: right;
}

.tab-link-title,.modal-link-title,.content-title {
    display:none;
}

/*.tooltip-inner{    font-size:1.5em;}*/
/*
    gestion de l'espace post-navbar
*/
/*
body {
    padding-top: 70px;
    padding-bottom: 30px;
}
*/

.fa-wagon-24 {
    display     : inline-block;
    width       : 24px;
    height      : 15px;
    background  : url("../img/fa-sprite-24.png") 0px -10px no-repeat;
}

/*  patch fa-panel-title-stack  */
/*.panel-title > */.fa-stack {
    height      : 1em;
    line-height : 1em;
}
/*.panel-title > */.fa-stack > .fa-stack-2x {
    margin-top  : -0.25em;
}

/* patch left-tabs  */
.bg-default {
    background-color: #f5f5f5;
}

.padding-right-0{
    padding-right:0px;
}

@media screen and (max-width: 600px) {
    .table-phone table {
        width:100%;
    }
    .table-phone thead {
        display: none;
    }
    .table-phone > table > tr:nth-of-type(2n) {background-color: inherit;}
    .table-phone tr td:first-child {background: #f0f0f0; font-weight:bold;font-size:1.3em;}
    .table-phone tbody td {
        display     : block;
        text-align  : center;
    }
    .table-phone tbody td:before {
        content: attr(data-th);
        display: block;
    }
}

.form-group.required label{
    color: #a94442;
}

.form-group.required label:first-child:after{
    content:' *';
    font-weight: bold;
}

.editable > .editableZone {
    display:none
}

.modal-xl {
    width: 100%;    
}

.modal.fade.in {
    padding-left:16px;
    padding-right:16px;
}

.xmlTag     {   color:#C0B1BE;   }
.xmlTagName {   color:#881280;   }
.xmlAttr    {   color:#994500;   }
.xmlValue   {   color:#1A1AA6;   }
.xmlCaret   {   color:#6E6E6E;  cursor:pointer;   }

pre[lang="xml"] {
    background-color:white;
}
[data-xml-value]{
    display : inline;
    width   : 100%;
}
[data-xml-collapsed] {
    display: none;
}

