@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;400;700&display=swap');

html,body {
	font-family: 'Barlow', sans-serif;
	font-weight: normal;
    background-color: #E0E0E0;
    overflow: hidden;
}
form label {
    font-weight: bold;
    margin: 10px 0;
}
input, button,
input:focus, button:focus,
input:visited, button:visited,
input:active, button:active, button:active:focus {
    outline: 0 none !important;
}
strong {
    font-weight: bold;
}

button.btn-lgs {
    border: 0 none;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}
button.btn-lgs:hover,
button.btn-lgs:active:focus,
button.btn-lgs:active,
button.btn-lgs:focus {
    color: #fff !important;
    outline: 0 none !important;
}
button.btn-lgs-danger {
    background-color: #F44336 !important;
    color: #fff;
}
.goTo {
    cursor: pointer;
}

.inline {
    display: inline !important;
}
.mobile {
    display: none !important;
}
.text-success {
    color: #8BC34A;
}
.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>li:hover>a {
    background: #ed951a;
    border-color: #ed951a;
}
table.dataTable  {
    margin: 20px 0 !important;
}
.dataTables_info,
.dataTables_length,
.dataTables_filter {
    color: #ed951a;
}
#modal-box {
    margin-top: 130px !important;
    z-index: 999999 !important;
}

.back-button i.fa,
.goTo i.fa {
    margin-right: 10px;
    font-size: 18px;
    vertical-align: -1px;
}

/* Notifications */
#notify-zone {
    z-index: 5000;
    position: fixed;
    top: 0px;
    right: 0;
    padding: 0px; 
}
#notify-zone li {
    opacity: 1;
    color: #333;
    margin: 5px 0;
    padding: 0px 25px;
    line-height: 40px;
    font-size: 14px;
    display: none;
    background: #fff;
    border: 1px solid #DDD;
}
#notify-zone li i.fa {
    margin-right: 10px;
    font-size: 20px;
}

/* Loader */
#loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 50px;
    min-width: 50px;
}
#loader i {
    position: absolute;
    width: 50px;
    height: 50px;
    font-size: 50px;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
}
#loader2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #E0E0E0;
    z-index: 1000000;
    opacity: 0.5;
    text-align: center;
}
#loader2 i {
    position: absolute;   
    bottom: 2%;
    right: 2%;
    line-height: 1 !important;
    display: inline-block;
    text-align: center;
    font-size: 50px;
}

/* 404 */
#error404 {
    text-align: center;
}
#error404 h3 {
    font-size: 100px;
    line-height: 100px;
    font-weight: bold;
    color: #ed951a;
    margin: 40px 0;

}
#error404 h4 {
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    color: #616161;
    margin-bottom: 40px;
}

/* Modal */
.modal .modal-content {
    border-radius: 3px;
}
.modal .modal-header {
    border-bottom: 1px solid transparent;
    padding-bottom: 5px;
}
.modal .modal-header h4.modal-title {
    font-size: 28px;
    text-align: center;
}
.modal .modal-header .close {
    font-size: 28px;
}
.modal .modal-body {
    text-align: center;
    font-size: 20px;
    max-height: 400px;
    overflow: auto;    
}
.modal .modal-footer {
    border-top: 1px solid transparent;
    text-align: center;
}
.modal #modal-button-ko {
    background: #e1e1e1;
    border: 0 none;
}

/* Top menu */
#top-menu {
    z-index: 4000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
}
#top-menu-content {
    display: block;
    padding: 0;
    height: 60px;
    line-height: 60px;
}
#top-menu-content h1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    line-height: 60px; 
    font-size: 35px;   
    text-align: center;
    /*box-shadow: 0 2px 2px #666;*/
    z-index: 4100;
    overflow: hidden;
}
#top-menu-content h1 .h1-opt-links {
	position: absolute;
	top:0;
	right: 0;
	text-align: right;
}
#top-menu-content h1 .h1-opt-links a {
	display: inline-block;
	width: 60px;
	height:60px;
	line-height: 60px;
	font-size: 30px;
	cursor: pointer;
	padding: 0 15px;
	margin:0;
	text-decoration: none;
	transition: all 0.3s ease;
	vertical-align: top;
    text-align: center;
}
#top-menu-content h1 .h1-opt-links a i {
    padding: 0;
    margin: 0;
}
#top-menu-content h1 .h1-opt-links a:hover {
	color: #fff;
}

#top-menu-content div.top-menu-links {
    position: fixed;
    height: 100px;
    top: 0px;
    left: 0;
    width: 100%;
    background: #ed951a;
    border-radius: 0 0 15px 15px;
    border-bottom: 3px solid #fff;
    /*box-shadow: 0 4px 4px #ccc;*/
    z-index: 4000;
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
}

#top-menu:hover  #top-menu-content div.top-menu-links {
	top: 60px;
	/*box-shadow: 0 4px 4px #333;*/
}
#top-menu-content div.top-menu-links a {
	padding: 10px 0;
	display: inline-block;
	width: 140px;
	height: 100px;
	margin: 0;
	text-decoration: none;
	color: #fff;
	font-size: 20px;
	line-height: 35px;
	transition: all 0.3s ease;
	cursor: pointer;
}
#top-menu-content div.top-menu-links a i.fa {
	display: block;
	font-size: 49px;
	padding: 0;
	margin: 0;
}

#top-menu-content div.top-menu-links a:hover {
	background: #ffaa33;
}

/* Page Body */
#page-body {
    z-index: 1;
    position: fixed;
    width: 100%;
    height: calc( 100% - 90px );
    top: 90px;
    left: 0;
    overflow: auto;
}
#page-body-content {
    position: relative;
    padding: 10px;
}

/* blocs */
.bloc {
    background: #fff;
    border: 1px solid #e1e1e1;
    box-shadow: 2px 2px 3px #aaa;
}
.bloc>.bloc-title {
    padding: 0;
    border-bottom: 1px solid #ccc;
    overflow: auto;
    padding: 5px;
}
.bloc>.bloc-title h3 {
    line-height: 50px;
    font-size: 25px;
    padding-left: 20px;
    float: left;
}
.bloc>.bloc-title h3 strong {
    font-weight: bold;
}
.bloc>.bloc-title ul.opt {
    float: right;
    padding-right: 20px;
    padding-top: 7px;
}
.bloc>.bloc-title ul.opt li {
    float: left;
    margin: 0 8px;    
}
.bloc>.bloc-title ul.opt li span {
	line-height: 35px;
	color: #fff;
	font-size: 20px;
}
.bloc>.bloc-title ul.opt li.link {
    display: inline-block;
    border-left: 1px solid #fff;
    margin-left: 10px;
    padding-left: 10px;
}
.bloc>.bloc-title ul.opt li.link span {
    position: relative;
}
.bloc>.bloc-title ul.opt li.link em {
    display: inline-block;
    border-radius: 50%;;
    color: #fff;
    background-color: red;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 11px;
    position: absolute;
    top: -10px;
    right: -18px;
}
.bloc>.bloc-title ul.opt li.link:hover {
    cursor: pointer;
    color: #ddd;
}
.blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
  }
  @keyframes blink-animation {
    to {
      visibility: hidden;
    }
  }
  @-webkit-keyframes blink-animation {
    to {
      visibility: hidden;
    }
  }

.bloc>.bloc-body {
    padding:  20px;
    overflow: auto;
}

.bloc .inner-block {
    box-shadow: 2px 2px 2px #e1e1e1;
    padding: 20px;
    margin: 10px;
    float: left;
    min-width: auto;
    width: 100%;
}

.bloc .inner-block .title {
    display: block;
    text-align: center;
    width: 80%;
    margin: 0 auto 10px auto;
    border-bottom: 1px solid #bbb;
    font-weight: bold;
    font-size: 20px;
    line-height: 35px;
    color: #424242;
}
.bloc .inner-block .search-group {
    width: 80% !important;
    margin: 10px auto;
}

/* Listes de liens */
ul.list-item-linkables {
    width: 80%;
    margin: 15px auto;
    position: relative;
    max-height: 500px;
    padding-right: 5px;
    overflow: auto;
}
ul.list-item-linkables li {
    margin: 0;
    cursor: pointer;
    line-height: 26px;
    font-size: 15px;
    transition: all 0.3s ease;
    border-left: 0px solid transparent;
    position: relative;
}
ul.list-item-linkables li:hover {
    padding-left: 15px;
}
ul.list-item-linkables li i.fa {
    vertical-align: 1px !important;
}
ul.list-item-linkables li span.label {
    position: absolute;
    top: 9px;
    right: 5px;
}

/* Supression d'un item parent */
.remove-parent {
    color : #F44336;
    cursor: pointer;
}

/* Cards */
.card {
    display: inline-block;
    margin: 5px;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: left;
    background: #f1f1f1;
    vertical-align: middle;
    border-radius: 8px;
}
.card .card-block h4.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}
.card .card-block p.card-text {
    padding: 5px 0 15px 0;
    padding-left: 6px;
    color: #888;
    line-height: 25px;
}
.card .card-block p.card-text i {
    margin-right: 10px;
}

/* Infos */
.bg-info {
    padding: 10px;
    border-radius: 0;
    border: 1px solid #6FB8DC;
    line-height: 25px;
    margin: 10px 0;
}
.bg-info span.glyphicon:first-child {
    margin-right : 10px;
    font-size: 25px;
    vertical-align: middle;
}

/* Danger */
.bg-danger {
    padding: 10px;
    border-radius: 0;
    border: 1px solid red;
    line-height: 25px;
    margin: 15px 0;
}
.bg-danger span.title-error {
    font-size: 110%;
    font-weight: bold;
    display: block;
    margin: 5px 0;
}
.bg-danger span.glyphicon:first-child {
    margin-right : 10px;
    font-size: 25px;
    vertical-align: middle;
}

/* Datepicker */
.datepicker {
    cursor: pointer;
    background: url(calendar.png) no-repeat;
    background-position: 98% 50%;
    background-size: 20px 20px;
}

/* Autocomplete div */
#ac-loader {
    display: none;
    font-size: 25px;
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    overflow: hidden;
    padding: 0;
    text-align: center;
    color: #ccc;
}
#autocomplete-div {
    position: absolute;
    background: #fff;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    min-height: 23px;
    min-width : 50px;
    max-height: 350px;
    overflow: auto;
    max-width: 500px;
    border: 1px solid #666;
    box-shadow: 2px 2px 4px #666;
    display: none;
    z-index: 9999999;
}
#autocomplete-div>p:first-child {
    display: none;
}
#autocomplete-div ul {
    margin : 0;
    width: 100%;
}
#autocomplete-div ul li {
    padding: 0 8px;
    line-height: 25px;
    font-size: 14px;
}
#autocomplete-div i {
    height: 50px;
    font-size: 40px;
    display: block;
    text-align: center;
    padding: 8px;
    color: #ccc;
}

strong.day {
    display : block;
    text-align: left;
    font-size: 16px;
    line-height: 50px;
    color: #444;
    cursor: pointer;
    padding-left: 20px;
}

.inputFamilles {
    margin-bottom: 10px;
    line-height: 28px;
    padding: 0 5px;
    font-weight: bold;
    border: 1px solid transparent;
    min-width: 350px;
    background: transparent;
}
.inputFamilles.f2 {
    font-weight: normal;
    margin-left: 30px;
}
.inputFamilles.f3 {
    font-weight: normal;
    margin-left: 100px;
}

.inputFamilles:hover,
.inputFamilles:focus {
    border: 1px solid #000;
    cursor: pointer;
}
.pfamille .line {
    padding-top: 8px;
}
.pfamille .line a {
    float: right;
    text-decoration: none;
    color: red;
    font-size: 15px;
    margin-right: 10px;
}
.pfamille .lined {
    background: #eee;
}
.pfamille .line .hoverShow {
    opacity: 0.3;
}
.pfamille .line:hover .hoverShow {
    opacity: 1;
}
.pfamille .line .hoverShow select,
.pfamille .line .hoverShow input {
    display: inline;
    max-width: 100px;
    border: 1px solid #000;
    box-shadow: 0 none;
    border-radius: 0;
    padding: 0 5px;
    line-height: 28px;
    height: 30px;
    vertical-align: top;
}
.pfamille .line .hoverShow {
    display: inline;
    vertical-align: top;
}
.pfamille .line .hoverShow span {
    display: inline-block;
    color: #666;
    font-size: 11px;
    padding-top: 10px;
    margin: 0 5px;
}
h2.list-sep {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    color: #000;
    text-shadow: 0 3px 3px #999;
    margin: 15px auto;
}
.listHisto span.label {
    margin: 2px;
    font-weight: normal;
}
.listHisto .fa-arrow-right {
    margin: 0 3px;
}

table.statsProduits {
	width: 95%;
	margin: 0 auto;
	font-size: 14px;
}
.wrapperProduitsNonRendus {
    max-height: 400px;
    overflow: auto;
}
table.statsProduits th,
table.statsProduits td {
	padding: 5px;
	text-align: center;
    vertical-align: middle !important;
}
.bg-red {
    background : #F9D1D1;
}

/* Agenda */
#calendar .fc-event {
    border-radius: 0;
    padding: 5px;
    border: 0 solid transparent !important;
    box-shadow: 0 0 0 transparent !important;
}
#calendar .fc-event-title {
    font-size: 11px;
    line-height: 20px;
}
#calendar .fc-event-title:hover,
#calendar .fc-timeline-event:hover,
#calendar .fc-timeline-event-harness:hover {
    border: 0 solid transparent !important;
}
#calendar .fc-event-title-container {
    text-align: center;
}
#calendar .fc-event-resizer {
    display: none !important;
    cursor: default !important;
}
#calendar .fc-timeline-slot {
    min-width: 75px !important;
}
#calendar .dispo,
#calendar .dispo:hover {
    border: 1px solid #689F38 !important;
    background-color: #AED581 !important;
    box-shadow: none !important;
    transition: none;
}
#calendar .notdispo,
#calendar .notdispo:hover {
    border: 1px solid #B71C1C !important;
    background-color: #D32F2F !important;
    box-shadow: none !important;
    transition: none;

}
#calendar .dispo .fc-event-title  {
    color: #444 !important;
    font-size: 13px;
    font-weight: bold;
}

#calendar .eventStyle {
    position: relative;
}
#calendar .fc-event-title {
    padding-left: 10px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 15px);
}
#calendar .eventStyle .arrow {
    position: absolute;
    height: 23px;
    width: 22px;
    overflow: hidden;
    background: #f9f9f9;
    top: 3px ;
}
#calendar .eventStyle .arrow.arrowStart {
    z-index: 50;
    left: -12px;
    border: 1px solid #689F38 !important;
    border-left: 0 none !important;
    border-bottom: 0 none !important;
    transform: rotate(45deg);
}
#calendar .eventStyle.notdispo .arrow.arrowStart {
    border-color: #B71C1C !important;
}
#calendar .eventStyle.devis .arrow.arrowStart {
    border-color: #424242 !important;
}
#calendar .eventStyle.option .arrow.arrowStart {
    border-color: #E65100 !important;
}

#calendar .eventStyle .arrow.arrowEnd {
    z-index: 100;
    right: -11px;
    border: 1px solid #689F38 !important;
    background: #AED581 !important;
    border-left: 0 none !important;
    border-bottom: 0 none !important;
    transform: rotate(45deg);
}
#calendar .eventStyle.notdispo .arrow.arrowEnd {
    border-color: #B71C1C !important;
    background: #D32F2F !important;
}
#calendar .eventStyle.devis,
#calendar .eventStyle.devis .arrow.arrowEnd {
    border-color: #424242 !important;
    background: #757575 !important;
}

#calendar .eventStyle.option,
#calendar .eventStyle.option .arrow.arrowEnd {
    border-color: #E65100 !important;
    background: #FB8C00 !important;
}


#calendar .fc-datagrid-expander {
    display: none !important;
    opacity: 0;
    width : 0;
    height: 0;
}
#calendar .fc-timeline-event {
    position: relative;
    height: 32px;
}
#calendar .fc-event-main {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 101;
}
#calendar .fc-event-main .fc-event-title {
    line-height: 30px;
}

/* Aperçu du transit */
#EtatTransitLayer {
    display: none;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.8;
    z-index: 98;
    cursor: pointer;
}
#EtatTransit {
    display: none;
    padding: 0;
    position: fixed;
    top: 12%;
    left: 20%;
    width: 60%;
    height: 75%;
    background: #fff;
    border: 1px solid #f4f4f4;
    z-index: 99;
}
#EtatTransit .row {
    margin-right: 0px;
    margin-left: 0px;
}
#EtatTransit h4 {
    font-size: 32px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 25px;
    padding-right: 0px;
}
#EtatTransit .flex-container{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: normal;
    align-content: normal;
    height: 55px;
}
#EtatTransit .flex-items {
    display: block;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}
#EtatTransit .panel-heading{
    color: #fff;
}
#EtatTransit .fa-spin{
    top: 30%;
}

#p_stocks, #p_sortis {
    height: 90%;
    overflow: auto;
}

.btn-bl{
    margin-top: 5%;
}
.btn-imp{
    background: #000;
    color: #fff;
}

#close_layer .glyphicon{
    margin-top: 10px;
    margin-right: 18px;
    font-size: 18px;
    cursor: pointer;
}

.content-p, .panel-danger, .panel-success, .panel-body {
    height: 100%;
}

.bgd1 {
    background: #D32F2F !important;
}
.bgd2 {
    background: #1B5E20 !important;
}
.ce{
    text-align: center;
}
.ri{
    text-align: right;
}

#p_sortis .btn {
    padding: 2px 4px !important;
}