/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  color: #333333;
}

div.container-fluid { 
  z-index: 100;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active:hover > a {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}

div#newslettersStats table tr th:nth-child(2),
div#newslettersStats table tr td:nth-child(2),
div#newslettersStats table tr th:nth-child(3),
div#newslettersStats table tr td:nth-child(3) {
  text-align: center;
}

div#newslettersStats table tr th:nth-child(4),
div#newslettersStats table tr td:nth-child(4),
div#newslettersStats table tr th:nth-child(5),
div#newslettersStats table tr td:nth-child(5),
div#newslettersStats table tr th:nth-child(6),
div#newslettersStats table tr td:nth-child(6) {
  text-align: right;
}

div#conversionsStats table tr th {
  text-align: center;
}

div#conversionsStats table tr td {
  text-align: center;
}

div#conversionsStats table tr th:nth-child(1),
div#conversionsStats table tr td:nth-child(1) {
  text-align: left;
}


/*
 * Login form
 */

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.form-signin p {
  padding: 15px;
}

/*
 * Import form
 */

.form-import {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-import .form-import-heading,
.form-import .checkbox {
  margin-bottom: 10px;
}
.form-import .checkbox {
  font-weight: normal;
}
.form-import .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-import .form-control:focus {
  z-index: 2;
}

.form-import p {
  padding: 15px;
}

/*
 * Form
 */

select,
 select option {
  color: #333;
 }

 /* SQUARED FOUR */
 input[type=checkbox] {
  visibility: hidden;
}
.squaredFour {
  width: 20px;  
  /*margin: 20px auto;*/
  margin-right: 20px;
  position: relative;
}

.squaredFour label {
  cursor: pointer;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  border-radius: 4px;

  -webkit-box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
  -moz-box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
  box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
  background: #fcfff4;

  background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: -o-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: -ms-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 );
}

.squaredFour label:after {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  content: '';
  position: absolute;
  width: 14px;
  height: 8px;
  background: transparent;
  top: 4px;
  left: 4px;
  border: 3px solid #333;
  border-top: none;
  border-right: none;

  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.squaredFour label:hover::after {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  filter: alpha(opacity=30);
  opacity: 0.5;
}

.squaredFour input[type=checkbox]:checked + label:after {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
}

/*
 * Loader
 */

#circularG {
  height: 77px;
  left: 50%;
  margin-left: -31px;
  margin-top: -38px;
  position: fixed;
  top: 50%;
  width: 62px;
  z-index: 6000;
  width:128px;
height:128px;
display:none;
}

.circularG{
position:absolute;
background-color:#0088CC;
width:29px;
height:29px;
-moz-border-radius:19px;
-moz-animation-name:bounce_circularG;
-moz-animation-duration:1.04s;
-moz-animation-iteration-count:infinite;
-moz-animation-direction:linear;
-webkit-border-radius:19px;
-webkit-animation-name:bounce_circularG;
-webkit-animation-duration:1.04s;
-webkit-animation-iteration-count:infinite;
-webkit-animation-direction:linear;
-ms-border-radius:19px;
-ms-animation-name:bounce_circularG;
-ms-animation-duration:1.04s;
-ms-animation-iteration-count:infinite;
-ms-animation-direction:linear;
-o-border-radius:19px;
-o-animation-name:bounce_circularG;
-o-animation-duration:1.04s;
-o-animation-iteration-count:infinite;
-o-animation-direction:linear;
border-radius:19px;
animation-name:bounce_circularG;
animation-duration:1.04s;
animation-iteration-count:infinite;
animation-direction:linear;
}

#circularG_1{
left:0;
top:50px;
-moz-animation-delay:0.39s;
-webkit-animation-delay:0.39s;
-ms-animation-delay:0.39s;
-o-animation-delay:0.39s;
animation-delay:0.39s;
}

#circularG_2{
left:14px;
top:14px;
-moz-animation-delay:0.52s;
-webkit-animation-delay:0.52s;
-ms-animation-delay:0.52s;
-o-animation-delay:0.52s;
animation-delay:0.52s;
}

#circularG_3{
top:0;
left:50px;
-moz-animation-delay:0.65s;
-webkit-animation-delay:0.65s;
-ms-animation-delay:0.65s;
-o-animation-delay:0.65s;
animation-delay:0.65s;
}

#circularG_4{
right:14px;
top:14px;
-moz-animation-delay:0.78s;
-webkit-animation-delay:0.78s;
-ms-animation-delay:0.78s;
-o-animation-delay:0.78s;
animation-delay:0.78s;
}

#circularG_5{
right:0;
top:50px;
-moz-animation-delay:0.91s;
-webkit-animation-delay:0.91s;
-ms-animation-delay:0.91s;
-o-animation-delay:0.91s;
animation-delay:0.91s;
}

#circularG_6{
right:14px;
bottom:14px;
-moz-animation-delay:1.04s;
-webkit-animation-delay:1.04s;
-ms-animation-delay:1.04s;
-o-animation-delay:1.04s;
animation-delay:1.04s;
}

#circularG_7{
left:50px;
bottom:0;
-moz-animation-delay:1.17s;
-webkit-animation-delay:1.17s;
-ms-animation-delay:1.17s;
-o-animation-delay:1.17s;
animation-delay:1.17s;
}

#circularG_8{
left:14px;
bottom:14px;
-moz-animation-delay:1.3s;
-webkit-animation-delay:1.3s;
-ms-animation-delay:1.3s;
-o-animation-delay:1.3s;
animation-delay:1.3s;
}

@-moz-keyframes bounce_circularG{
0%{
-moz-transform:scale(1)}

100%{
-moz-transform:scale(.3)}

}

@-webkit-keyframes bounce_circularG{
0%{
-webkit-transform:scale(1)}

100%{
-webkit-transform:scale(.3)}

}

@-ms-keyframes bounce_circularG{
0%{
-ms-transform:scale(1)}

100%{
-ms-transform:scale(.3)}

}

@-o-keyframes bounce_circularG{
0%{
-o-transform:scale(1)}

100%{
-o-transform:scale(.3)}

}

@keyframes bounce_circularG{
0%{
transform:scale(1)}

100%{
transform:scale(.3)}

}
#costDistanceLoad, #costPriceLoad{
  width: auto;
}
#costPriceLoad{
  font-size: 14px;
}
#costDistanceLoad #smallCircularG,
#costPriceLoad #smallCircularG {
  margin-right: 5px;
  float: left;
}

#smallCircularG{
position:relative;
width:28px;
height:28px}

.smallCircularG{
position:absolute;
background-color:#0088CC;
width:6px;
height:6px;
-moz-border-radius:4px;
-moz-animation-name:bounce_smallCircularG;
-moz-animation-duration:1.04s;
-moz-animation-iteration-count:infinite;
-moz-animation-direction:linear;
-webkit-border-radius:4px;
-webkit-animation-name:bounce_smallCircularG;
-webkit-animation-duration:1.04s;
-webkit-animation-iteration-count:infinite;
-webkit-animation-direction:linear;
-ms-border-radius:4px;
-ms-animation-name:bounce_smallCircularG;
-ms-animation-duration:1.04s;
-ms-animation-iteration-count:infinite;
-ms-animation-direction:linear;
-o-border-radius:4px;
-o-animation-name:bounce_smallCircularG;
-o-animation-duration:1.04s;
-o-animation-iteration-count:infinite;
-o-animation-direction:linear;
border-radius:4px;
animation-name:bounce_smallCircularG;
animation-duration:1.04s;
animation-iteration-count:infinite;
animation-direction:linear;
}

#smallCircularG_1{
left:0;
top:11px;
-moz-animation-delay:0.39s;
-webkit-animation-delay:0.39s;
-ms-animation-delay:0.39s;
-o-animation-delay:0.39s;
animation-delay:0.39s;
}

#smallCircularG_2{
left:3px;
top:3px;
-moz-animation-delay:0.52s;
-webkit-animation-delay:0.52s;
-ms-animation-delay:0.52s;
-o-animation-delay:0.52s;
animation-delay:0.52s;
}

#smallCircularG_3{
top:0;
left:11px;
-moz-animation-delay:0.65s;
-webkit-animation-delay:0.65s;
-ms-animation-delay:0.65s;
-o-animation-delay:0.65s;
animation-delay:0.65s;
}

#smallCircularG_4{
right:3px;
top:3px;
-moz-animation-delay:0.78s;
-webkit-animation-delay:0.78s;
-ms-animation-delay:0.78s;
-o-animation-delay:0.78s;
animation-delay:0.78s;
}

#smallCircularG_5{
right:0;
top:11px;
-moz-animation-delay:0.91s;
-webkit-animation-delay:0.91s;
-ms-animation-delay:0.91s;
-o-animation-delay:0.91s;
animation-delay:0.91s;
}

#smallCircularG_6{
right:3px;
bottom:3px;
-moz-animation-delay:1.04s;
-webkit-animation-delay:1.04s;
-ms-animation-delay:1.04s;
-o-animation-delay:1.04s;
animation-delay:1.04s;
}

#smallCircularG_7{
left:11px;
bottom:0;
-moz-animation-delay:1.17s;
-webkit-animation-delay:1.17s;
-ms-animation-delay:1.17s;
-o-animation-delay:1.17s;
animation-delay:1.17s;
}

#smallCircularG_8{
left:3px;
bottom:3px;
-moz-animation-delay:1.3s;
-webkit-animation-delay:1.3s;
-ms-animation-delay:1.3s;
-o-animation-delay:1.3s;
animation-delay:1.3s;
}

@-moz-keyframes bounce_smallCircularG{
0%{
-moz-transform:scale(1)}

100%{
-moz-transform:scale(.3)}

}

@-webkit-keyframes bounce_smallCircularG{
0%{
-webkit-transform:scale(1)}

100%{
-webkit-transform:scale(.3)}

}

@-ms-keyframes bounce_smallCircularG{
0%{
-ms-transform:scale(1)}

100%{
-ms-transform:scale(.3)}

}

@-o-keyframes bounce_smallCircularG{
0%{
-o-transform:scale(1)}

100%{
-o-transform:scale(.3)}

}

@keyframes bounce_smallCircularG{
0%{
transform:scale(1)}

100%{
transform:scale(.3)}

}

/*
 * Sales app
 */

.panel-collapse {
    padding: 10px 15px;
}

.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
    /*border-top: 1px solid #ddd;*/
    border-top: none;
}

.table-striped-2>tbody>tr.accordion-toggle:nth-child(2n)>td,
.table-striped-2>tbody>tr.accordion-toggle:nth-child(2n)>th {
    background-color: #f9f9f9;
}

#filtersCommandesWrapper {
    padding-top: 20px;
    padding-bottom: 20px;
    display: block;
}

#mainCommandesWrapper input[type=checkbox] {
    visibility: visible;
    float: right;
    margin-right: 0px;
    margin-left: 10px;
    margin-top: 10px;
}

#mainCommandesWrapper td {
    line-height: 34px;
}

#mainCommandesWrapper table {
    width: 100%;
}

.panel-heading table {
    table-layout: fixed;
}

#mainCommandesWrapper .panel-heading table td,
#mainCommandesWrapper .panel-heading table th{
    width: 19%;
    text-align: center;
}

#mainCommandesWrapper .panel-heading table td:last-child {
    width: 19%;
    text-align: right;
}

#mainCommandesWrapper .panel-heading table td:first-child,
#mainCommandesWrapper .panel-heading table th:first-child{
    text-align: left;
}

#mainCommandesWrapper .loading {
    width: 50px;
    margin: 0 auto;
    display: block;
}

#mainCommandesWrapper .panel-collapse table td,
#mainCommandesWrapper .panel-collapse table th{
    width: 10%;
    text-align: right;
}

#mainCommandesWrapper .panel-collapse table td:last-child {
    width: 35%;
    text-align: right;
}

#mainCommandesWrapper .panel-collapse table td:first-child,
#mainCommandesWrapper .panel-collapse table th:first-child{
    width: 35%;
    text-align: left;
}

#mainCommandesWrapper .panel-collapse table.table-addresses td,
#mainCommandesWrapper .panel-collapse table.table-addresses th{
    width: 50%;
    text-align: left;
}

#mainCommandesWrapper .loading {
    width: 50px;
    margin: 0 auto;
    display: block;
}

#exportSalesWrapper {
    width: 100%;
}

#exportSales {
    width: 100%;
    max-width: 200px;
    text-align: center;
    float: right;
    display: block;
}

.panel-group .panel {
    margin-bottom: 25px;
}

.errorBlock,
.successBlock {
    display: none;
}

.successBlock a {
    color: #3c763d !important;
}

#success,
#error {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0px;
}

.belowTextEnable {
    box-sizing: border-box;
    position: relative;
    box-sizing: content-box ;
    width: 30px;
    height: 30px;
    visibility: visible;
    float: none !important;
    margin-right: 10px !important;
    margin-left: 0px !important;
    margin-top: 0px !important;
    cursor: pointer;
}

.belowText {
    width: 90%;
    height: 80px;
    line-height: 1.5em;
    padding: 10px;
}

.belowTextWrapper td {
    vertical-align: middle !important;
}

.belowTextWrapper td > * {
    float: right;
}

.giftWrapper td {
    padding-top: 15px !important;
}

.giftWrapper td,
.votreRefWrapper td {
    text-align: right !important;
}

.votreRefWrapper input {
    width: 100%;
    line-height: 1.5em;
    padding: 10px;
}

.panel-default>.panel-heading {
    color: #333;
    background-color: #d9edf7;
    border-color: #ddd;
}

.winbizCustomerInput {
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

.table-sales-periods td,
.table-sales-periods thead th {
    text-align: right;
}

.table-sales-periods thead th:first-child {
    text-align: left;
}

.table-sales-periods tr td.bold {
    font-weight: bold;
}