@-ms-viewport {width: device-width;}
@-o-viewport {width: device-width;}
@viewport {width: device-width;}

/***********************
* Global settings
************************/
*
{
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

input, textarea
{
-webkit-user-select: auto !important;
-moz-user-select: auto !important;
-ms-user-select: auto !important;
user-select: auto !important;
}

html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 30px;
    color: #000;
}
/* Buttons */
.btn {
    font-weight: bold;
}
.btn:focus,.btn:active {
   outline: none !important;
}
.btn-bootbox {
    min-width:30%;
}
/* Input */
.form-control {
    border: 0px;
    box-shadow: none;
    background: #eee;
    color:#000;
}
/* Radio button */
.blocks {
    border-spacing: 1px;
}
.btn-radio{
  display: block;
  justify-content: center;
  border: 2px solid white;
  text-align: center;
  font-weight:normal;
  font-size:13px;
  width: 100%;
  cursor: pointer;
}

.btn-radio label {
  width: 100%;
  height: 100%;
  padding: 5px 10px 10px 10px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-radio.active{
  box-shadow: none;
  font-weight:bold;
}
.btn-radio input[type="radio"] {
  display: none; /* Masquer le bouton radio par défaut */
}
/* Textarea */
textarea {
    resize: none;
}
/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    text-align: center;
}
/* Page content */
.pageContent {
    padding-top: 60px;
    position:absolute;
    top:0px;
    bottom:0;
    width:100%;
}
/* Image centered */
.logo_center_img {
    display: block;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}
.center_img {
    display: block;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}
select::-ms-value {
    background: none;
    color: #000;
}
/* Jumbotron */
.jumbotron {
    padding: 20px 20px 20px 20px;
}
/* Link */
a:hover,
a:focus {
  text-decoration: none;
}
/* Modal background */
.modal-backdrop.in {
    background-color: rgba(0, 0, 0, 0.6);
}

.btn-big{
    width: 80%;
    height: 50px;
    vertical-align: middle;
	font-size: large;
}

/*********************
* Navigation bar
**********************/
.navbar {
    z-index: 2;
}
.navbar .brand {
    padding-top: 5px;
    max-height: 50px;
    overflow: visible;
    padding-top: 0;
    padding-bottom: 0;
}
/* Navigation bar - brand  */
.navbar a.navbar-brand {
    padding: 9px 15px 8px;
    display: block;
    height: 50px;
    max-height: 50px;
}
/* Navigation bar - label */
nav > label {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 6px;
    font-size: 17px;
    white-space:nowrap;
}
/* Navigation bar - glyphicon */
.glyphiconmenu {
    font-size: 27px;
    padding-top: 3px;
}
/* Navigation bar - Delivery Screen */
.navbar-del {
    height: 70px;
    max-height: 70px;
}
/* Navigation bar - Delivery Screen Image */
.navbar-del > img {
    height: 34px;
    width: auto;
    margin: 6px;
}

/*******************
* Loading page
********************/
.loading {
    cursor: not-allowed;
}
.loading_text {
    padding : 30px;
    margin-bottom: 30px;
    text-align: center;
}
.scaninfo {
    margin-bottom: 10px;
    min-height: 80px;
    padding-left: 0px !important;
}
.label-text{
    font-size: 15px;
    font-weight: bold;
    padding-top: 10px;
    padding-left: 15px;
}
/*******************
* Settings page
********************/
.ng-pageslide {
    padding-top: 50px;
    border-top: 2px solid #ccc;
    background:#fff;
    border-right:2px solid #ccc;
    z-index:1!important;
}
.ng-pageslide div {
    padding: 20px;
}
.pageslide-back {
    position:absolute;
    top:0px;
    bottom:0;
    width:100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 990;
}
/* Server selection - radio bouton */
.btn-group-server {
    padding: 0px !important;
}
/* Bouton historique */
.btn-historic {
    margin-top: 10px;
}

/*******************
* Delivery Page
********************/
.delinfo {
    margin-bottom: 0px;
    min-height: 120px;
    padding-left: 0px !important;
    padding-right: 0px !important;
}
/* Delivery address */
#deliveryAddress {
    margin-bottom: 0px;
    font-weight: normal;
}
.deliveryAddress {
    max-width:80%;
    height:auto;
}
/* Delivery content */
.deliveryContent {
    padding: 5px;
    padding-top: 70px;
}
/* Tabs */
#deliveryTab {
    margin-bottom: 15px;
}
.nav-tabs {
    margin: 0px -5px -2px -5px;
}
/* Tab header */
.nav-tabs > li > a {
    padding: 15px;
}
.nav-tabs > .active > a, .nav-tabs > .active > a:hover {
    outline: 0;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    border: 0;
}
/* Tab content */
.nav-tabs > li {
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    width: 50%;
}
/* Address div */
.deliveryAddress {
    padding: 10px 5px;
}
/* Buttons div*/
.deliveryBtn {
    /*padding: 0px !important;*/
    width: 20%;
    max-width: 20%;
    text-align: center;
}
.btn-del {
    font-size: 26px;
    margin: 5px 0px 0px 5px;
    height: auto;
}
.glyphicon-del {
    vertical-align: sub;
    top:0px;
}
.btn-del-val {
    padding-bottom:10px;
    margin : 0px;
}
/* Radio-Buttons overflow */
.btn-overflow{
  overflow : hidden;
  text-overflow : ellipsis;
}
/* Div pictures */
.pictures{
  padding:5px;
  margin-bottom:0px;
}
.pictures label{
  margin:0px;
  font-weight:normal;
  width:100%;
}
.pictures div{
  padding:0px;
}
.pictures button{
  margin:4px;
  width:52px;
  height:52px;
}
.pictures .thumbnail{    
  padding: 0px !important;
  overflow: hidden; 
  display: inline-block;
}
/* Picture preview */
#lightbox .modal-content {
    display: inline-block;
    text-align: center;   
}
/********************************
* Info buttons -- Phone / Maps
*********************************/
.btn-info,
.btn-info:hover,
.btn-info:focus,
.btn-info.focus {
    vertical-align: middle;
    color: #505050;
    background-color: #eee;
    border-color: #eee;
}
.btn-info:active,
.btn-info.active,
.btn-info:active:focus,
.btn-info:active.focus,
.btn-info.active:focus,
.btn-info.active.focus,
.btn-info:active:hover,
.btn-info.active:hover,
.open > .dropdown-toggle.btn-info {
    color: #505050;
    background-color: #969696;
    border-color: #969696;
}
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
    background-color: #eee;
    border-color: #eee;
}
.btn-info {
    color: #505050;
    background-color: #eee;
}

/************************************
* Secondary buttons -- Photo / CAB
************************************/
.btn-secondary {
  -webkit-box-shadow: none !important;
  box-shadow: none!important;
}

/************************************
* Hamburger menu icon
************************************/
.menu-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
}
.menu-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 24px;
    height: 3px;
    -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
}
.menu-icon span::before, .menu-icon span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 24px;
    height: 3px;
    -webkit-transform: translateY(-8px);
        -ms-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}
.menu-icon span::after {
    -webkit-transform: translateY(8px);
        -ms-transform: translateY(8px);
            transform: translateY(8px);
}
.menu-icon-arrow {
    -webkit-transition: -webkit-transform 0.3s;
            transition: transform 0.3s;
}
.menu-icon-arrow span::before, .menu-icon-arrow span::after {
    right: 0;
    left: auto;
    -webkit-transform-origin: 100% 60%;
        -ms-transform-origin: 100% 60%;
            transform-origin: 100% 60%;
}
.menu-icon-arrow.is-opened {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg);
}
.menu-icon-arrow.is-opened span::before {
    width: 60%;
    -webkit-transform: translateY(0.9px) rotate(45deg);
        -ms-transform: translateY(0.9px) rotate(45deg);
            transform: translateY(0.9px) rotate(45deg);
}
.menu-icon-arrow.is-opened span::after {
    width: 60%;
    -webkit-transform:translateY(-0.9px) rotate(-45deg);
        -ms-transform: translateY(-0.9px) rotate(-45deg);
            transform: translateY(-0.9px) rotate(-45deg);
}

/**********************
* Generic buttons
***********************/
.btn-generic,
.btn-generic:hover,
.btn-generic:focus,
.btn-generic.focus,
.open > .dropdown-toggle.btn-generic {
  color: rgba(255,255,255,0.4) !important;
  background-color: #4c4c4b;
  border-color: #4c4c4b !important;
  background: linear-gradient(#4c4c4b, #4c4c4b);
  background: -webkit-linear-gradient(#4c4c4b, #4c4c4b);
}
.btn-generic:active,
.btn-generic.active,
.btn-generic:active:focus,
.btn-generic:active.focus,
.btn-generic.active:focus,
.btn-generic.active.focus,
.btn-generic:active:hover,
.btn-generic.active:hover {
  color: #000 !important;
  background-color: #969696;
  border-color: #969696;
  background: linear-gradient(#969696, #969696);
  background: -webkit-linear-gradient(#969696, #969696);
}
.btn-generic.disabled,
.btn-generic[disabled],
fieldset[disabled] .btn-generic,
.btn-generic.disabled:hover,
.btn-generic[disabled]:hover,
fieldset[disabled] .btn-generic:hover,
.btn-generic.disabled:focus,
.btn-generic[disabled]:focus,
fieldset[disabled] .btn-generic:focus,
.btn-generic.disabled.focus,
.btn-generic[disabled].focus,
fieldset[disabled] .btn-generic.focus,
.btn-generic.disabled:active,
.btn-generic[disabled]:active,
fieldset[disabled] .btn-generic:active,
.btn-generic.disabled.active,
.btn-generic[disabled].active,
fieldset[disabled] .btn-generic.active {
  background-color: #4c4c4b;
  border-color: #4c4c4b;
  background: linear-gradient(#4c4c4b, #4c4c4b);
  background: -webkit-linear-gradient(#4c4c4b, #4c4c4b);
}
.btn-generic {
  color: rgba(255,255,255,0.4);
  background-color: #4c4c4b;
  background: linear-gradient(#4c4c4b, #4c4c4b);
  background: -webkit-linear-gradient(#4c4c4b, #4c4c4b);
}

/**********************
* Historic Screen
***********************/

/* Nav bar & Title */
.navbar-generic {
  background-color: #4c4c4b;
  border-color: #4c4c4b;
}
.navbar-generic label
.navbar-generic div {
  color: #fff !important;
}
.historic-title {
  color: #fff;
  margin: 0px;
  top: 0px;
  /*width: 100%;*/
  text-align: center;
  padding-top: 12px;
  font-size: 21px;
  font-weight: bold;
  position: absolute;
}
/* Back button */
.menu-icon-generic {
  z-index:100;
}
.menu-icon-generic span,
.menu-icon-generic span::before,
.menu-icon-generic span::after {
  background-color: #fff !important;
}

/* Sort radio button */
.btn-group-sort {
  margin-bottom: 15px;
  margin-top: 10px;
}

/* Accordion general */
.panel-body {
  padding: 0px;
}
.panel-heading{
  padding: 5px;
  height: 50px;
}
.panel-title {
  height:100%;
}
.panel-body{
  border-style:none !important;
}
uib-accordion .panel-group .panel{
  margin-bottom:10px;
}

/* Shipment details general */
.historic .sort {
  padding-bottom:10px;
}
.historic .jumbotron {
  border-radius:0px;
}
.historic .jumbotron-header {
  border-radius:4px !important;
}
.historic-detail{
  background-color: rgba(255,255,255,0.8);
  padding:5px;
  margin-bottom:5px;
  color:#000;
  line-height:1.25;
}
.historic-header-date {
  font-weight:bold;
}
.historic-status {
  font-weight:bold;
  text-align:right;
}
.glyphicon-transfer {
  font-size: 20px;
  vertical-align: text-bottom;
}
.transfer-disabled{
  opacity:0.3;
}

/* Historic by date specific */
.historic-panel-bydate {
  padding: 0px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.historic-header-bydate {
  font-weight:bold;
  height:37px;
  padding:5px 5px 0px 5px;
}
.historic-header-bydate label {
  padding-top: 4px;
}
.historic-header-bydate img {
  height:75%;
  max-width:50%;
}

/* Historic by carrier specific */
.historic-header-bycarrier {
  height: 100%;
  text-align: center;
}
.historic-header-bycarrier .pos {
  width: 11%;
  line-height: 0.6;
}
.historic-header-bycarrier img {
  height: 85%;
  padding-top:2px;
}
.historic-header-bycarrier .position-nb {
  font-size: 25px;
  padding-top: 4px;
}
.historic-header-bycarrier .position-label {
  font-size: 12px;
}
.historic-header-bycarrier .chevron {
  width: 10%;
  height: 100%;
  padding-top: 8px;
}
.historic-header-bycarrier .glyphicon {
  height: 100%;
  font-size: 22px;
}

/* Customer css specific */
.historic-DhlFreight,
.historic-DhlFreight .panel-heading{
  background-color: #FFCC00;
  color:#000;
}
.historic-Fashion,
.historic-Fashion .panel-heading{
  background-color: #009DDF;
  color:#fff;
}
.historic-Heppner,
.historic-Heppner .panel-heading{
  background-color: #83b817;
  color:#fff;
}
.historic-HeppnerFreight,
.historic-HeppnerFreight .panel-heading{
  background-color: #83b817;
  color:#fff;
}
.historic-HeppnerWoehl,
.historic-HeppnerWoehl .panel-heading{
  background-color: #ef191b;
  color:#fff;
}
.historic-Bmv,
.historic-Bmv .panel-heading{
  background-color: #AA162E;
  color:#fff;
}
.historic-OfficeDepot,
.historic-OfficeDepot .panel-heading{
  background-color: #D0022E;
  color:#fff;
}
.historic-Geodis,
.historic-Geodis .panel-heading{
  background-color: #3200e6;
  color:#fff;
}
.historic-Kiabi,
.historic-Kiabi .panel-heading{
  background-color: #002458;
  color:#fff;
}
.historic-KuehneNagel,
.historic-KuehneNagel .panel-heading{
  background-color: #00346A;
  color:#fff;
}
.historic-KuehneNagelFret,
.historic-KuehneNagelFret .panel-heading{
  background-color: #00346A;
  color:#fff;
}      
.historic-Weldom,
.historic-Weldom .panel-heading{
  background-color: #F37022;
  color:#fff;
}   
.historic-Temis,
.historic-Temis .panel-heading{
  background-color: #003883;
  color:#fff;
}
.historic-Sobotram,
.historic-Sobotram .panel-heading{
  background-color: #a11919;
  color:#fff;
}
.historic-Soboroute,
.historic-Soboroute .panel-heading{
  background-color: #a11919;
  color:#fff;
}
.historic-DupontBedu,
.historic-DupontBedu .panel-heading{
  background-color: #7b303e;
  color:#fff;
}
.historic-Berthelard,
.historic-Berthelard .panel-heading{
  background-color: #255aa8;
  color:#fff;
}
/**********************
* Confirmation Screen
***********************/

.btn_chooseShipment{
    margin-top: 5%;
    margin-bottom: 5%;
    width: 100%;
    height: 70px;
    vertical-align: middle;
	font-size: large;
}

.picto{
    width: 150px;
    margin-right: 5px;
}
.logo-menu{
  width: 100%;
}
.pageslide .glyphicon.glyphicon-menu-left{
  line-height: 54px;
  font-size: 40px;
  padding-right: 10px;
  text-align: right;
  color:#fff;
}
.navbar-header .glyphicon.glyphicon-menu-hamburger{
  line-height: 54px;
  font-size: 35px;
  padding-left: 10px;
  color:#fff;
}
.pageslide .glyphicon.glyphicon-menu-left:hover, .navbar-header .glyphicon.glyphicon-menu-hamburger:hover{
  color:#5e5e5e;
}
.menu-padding{
  padding-top: 2%;
  padding-left: 2%;
  padding-right: 2%;
}

/**********************
* Popup Screen
***********************/

.popup-container {
  padding-top: 50px;
  padding-bottom: 20px;
}

.img-adjust {
  width: 100%;
  height: auto;
    max-width: 100%; /* pour éviter le débordement */
}

/* LoadingComponent.css */
.overlay {
  position: fixed; /* Position fixe pour couvrir tout l'écran */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
  display: flex; /* Utilise flexbox pour centrer le contenu */
  justify-content: center; /* Centre horizontalement */
  align-items: center; /* Centre verticalement */
  z-index: 1000; /* Assure que l'overlay est au-dessus des autres éléments */
}

.loader img {
  width: 100px; /* Ajustez la taille de l'image de chargement */
  height: auto; /* Conserve le ratio de l'image */
}

.badge {
  display: inline-block;
  padding: '5px 10px';
  border-radius: 12px;
  background-color: #4c4c4b;
  color: #fff;
  font-weight: bold;
  position: relative;
}

.historic-toggle {
  color: #666666;
  background-color: #4c4c4b;
  border-color: #4c4c4b;
  background: #4c4c4b;
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Espace entre les éléments */
}

.item {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.bold {
  font-weight: bold;
}