.tippy-box[data-theme~='calendar'] {
    background-color: white;
    color: black;
    width: 442px !important;
    max-width: 98vw !important;
    border: 1px solid rgb(204, 204, 204);
    box-shadow: 0 0.125em 1em rgba(0,0,0,0.2);
    padding: 15px 15px 15px 15px;
    font-size: .857143em;
    font-family: -apple-system, Helvetica Neue, Helvetica, Arial, sans-serif;
    cursor:pointer;
    pointer-events: all;
}
.tippy-box[data-theme~='legend'] {
    background-color: white;
    color: black;
    max-width: 98vw !important;
    border: 1px solid rgb(204, 204, 204);
    box-shadow: 0 0.125em 1em rgba(0,0,0,0.2);
    padding: 15px 15px 15px 15px;
    font-size: .857143em;
    font-family: -apple-system, Helvetica Neue, Helvetica, Arial, sans-serif;
    cursor:pointer;
    pointer-events: all;
}
*[id^='tippy-']{
    pointer-events: initial;
}
.tippy-box[data-theme~='calendar']:hover {
    background-color: #f2f2f2;
}


.tippy-box[data-theme~='calendar'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: white;
}
.tippy-box[data-theme~='calendar'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color: white;
}
.tippy-box[data-theme~='calendar'][data-placement^='left'] > .tippy-arrow::before {
    border-left-color: white;
}
.tippy-box[data-theme~='calendar'][data-placement^='right'] > .tippy-arrow::before {
    border-right-color: white;
}
.tippy-box[data-theme~='calendar'] > .tippy-arrow::before {
    transform: scale(1.5);
}
.tippy-box[data-theme~='legend'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: white;
}
.tippy-box[data-theme~='legend'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color: white;
}
.tippy-box[data-theme~='legend'][data-placement^='left'] > .tippy-arrow::before {
    border-left-color: white;
}
.tippy-box[data-theme~='legend'][data-placement^='right'] > .tippy-arrow::before {
    border-right-color: white;
}
.tippy-box[data-theme~='legend'] > .tippy-arrow::before {
    transform: scale(1.5);
}


.title-tippy {
    font-weight: bold;
    margin-bottom: 5px;
}
.text-tippy {
    margin-bottom: 5px;
}

.topright-tippy {
    position: absolute;
    right:10px;
}
/*.btn-edit-event {*/
/*    position: absolute;*/
/*    top: 0; left: 0; bottom: 0; right: 0;*/
/*    font-size: 18px;*/
/*}*/

.btn-edit-event:hover {
    background: #3f97f6 !important;
    color: #fff !important;
}
.btn-edit-event-sonis:hover {
    background: #3f97f6 !important;
    color: #fff !important;
}
.btn-delete-event-sonis:hover {
    background: #f5504e !important;
    color: #fff !important;
}
.md-view-update-popup {
    max-width: 98vw;
    /* width: 500px; */
}
.md-view-add-popup {
    max-width: 98vw;
    /* width: 500px; */
}
#add-event {
    position: absolute;
    right:    0;
    bottom:   0;
}
#calendar {
    width: 100%;
    position: relative;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    border-radius: 35px;
    text-align: center;
    position: absolute;
    bottom: 20px;
    right: 30px;
    padding: 0px;
}

@media (max-width: 375px){
    #add-popup-form span, #add-popup-form button,
    #update-popup-form span, #update-popup-form button{
        font-size: 14px !important;
    }
    .mbsc-grid .mbsc-ios.mbsc-switch {
        padding: .875em 2.5em !important;
    }
    /* .mbsc-ios.mbsc-ltr.mbsc-textfield {
        padding: 0em !important;
    } */
}

.dateTimePickerPopup {
    text-align: right;
}
.fichier-hd-attente, [data-color-status='fichier-hd-attente'] {
    color : #ffbb33 !important;
}
.fichier-hd-recu, [data-color-status='fichier-hd-recu'] {
    color: #FF8800 !important;
}
.fichier-hd-valide, [data-color-status='fichier-hd-valide'] {
    color: green !important;
}
.bat-machine-valide, [data-color-status='bat-machine-valide'] {
    color: #CC0000 !important;
}
.impression-valide, [data-color-status='impression-valide'] {
    color: #49228f !important;
}
.livraison-client-valide, [data-color-status='livraison-client-valide'] {
   color: #3E4551 !important;
}
.livraison-sonis-valide, [data-color-status='livraison-sonis-valide'] {
    color: #3F729B !important;
}
/*.mbsc-cal-txt{*/
/*    height: 3em !important;*/
/*}*/
/*.mbsc-cal-txt-ph{*/
/*    height: 3em !important;*/
/*}*/
/*#select-div {*/
/*    position: absolute;*/
/*    top: -22px;*/
/*    right: 30px;*/
/*}*/
#demo-desktop {
    margin: 10px;
}
/*#select-printers-container {*/
/*    margin: 3px 3px 1px 3px;*/
/*    !*border: 1px solid;*!*/
/*    !*border-color: #ccc !important;*!*/
/*    !*border-radius: .25em !important;*!*/
/*}*/
/*#select-prints-container {*/
/*    margin: 3px 3px 1px 3px;*/
/*    !*border: 1px solid;*!*/
/*    !*border-color: #ccc !important;*!*/
/*    !*border-radius: .25em !important;*!*/
/*}*/

.mbsc-ios.mbsc-calendar-label-text{
    color: white !important;
}

.mbsc-calendar-text-more .mbsc-ios.mbsc-calendar-label-text{
    color: black !important;
}

.mbsc-calendar-title-wrapper{
    justify-content: center !important;
}

.zoom-image:hover{
    transform: scale(1.5);
}

.zoom-image{
    transition: transform .2s;
    overflow: visible;
}

.mbsc-popup-button{
    font-weight: bold !important;
}

/*.mbsc-disabled{*/
/*    opacity: 1 !important;*/
/*}*/

#select-printers_dummy {
    height: 30px !important;
}
.mbsc-ios .mbsc-select-ic {
    top: 0.4em !important;
}
#select-prints_dummy {
    height: 30px !important;
}
.fichier-hd-attente-bg {
    background-color : #ffbb33 !important;
}
.fichier-hd-recu-bg {
    background-color: #FF8800 !important;
}
.fichier-hd-valide-bg {
    background-color: #00C851 !important;
}
.bat-machine-bg {
    background-color: #CC0000 !important;
}
.livraison-client-bg {
    background-color: #3E4551 !important;
}
.livraison-encours-bg {
    background-color: #bdbdbd !important;
}
.impression-bg {
    background-color: #49228f !important;
}
.livraison-sonis-bg {
    background-color: #3F729B !important;
}
.reception-materiel-bg {
    background-color: #ffffff !important;
}
.sonis-event-bg {
    background-color: #00695c !important;
}
/* copie de plus haut mais color à la place */
.fichier-hd-attente-color {
    color : #ffbb33 !important;
}
.fichier-hd-recu-color {
    color: #FF8800 !important;
}
.fichier-hd-valide-color {
    color: #00C851 !important;
}
.bat-machine-color {
    color: #CC0000 !important;
}
.livraison-client-color {
    color: #3E4551 !important;
}
.livraison-encours-color {
    color: #bdbdbd !important;
}
.impression-color {
    color: #49228f !important;
}
.livraison-sonis-color {
    color: #3F729B !important;
}
.reception-materiel-color {
    color: #ffffff !important;
}
.sonis-event-color {
    color: #00695c !important;
}

.background-point {
    width:.7em;
    height:.7em;
    border-radius:25px;
    transform: translate(0%,33%);
}
.background-point-big {
    width:1.5em;
    height:1.5em;
    border-radius:25px;
    transform: translate(0%,33%);
    color: white;
}
.background-point-big-rappel {
    width: 1.5em;
    height: 1.5em;
    border-radius: 25px;
    transform: translate(0%, 5%);
    color: white;
}
.center-text-legend {
    margin-left: 10px;
}
.container-legend {
    margin-bottom: 15px;
    display:flex;
    position:relative;

}
.loader.is-active {
    background-color: rgba(0, 0, 0, 0.2) !important;
}
.mbsc-form-group {
    margin: 0.5em 0 !important;
}
.mbsc-cal-tabs {
    display: none !important;
}
#change-type>.mbsc-segmented {
    background: transparent !important;
    padding: 0;
}
#change-type {
    background: transparent !important;
    padding: 3px 0 0 0;
}
/*#change-week>.mbsc-segmented {*/
/*    background: transparent !important;*/
/*    padding: 0;*/
/*}*/
/*#change-week {*/
/*    background: transparent !important;*/
/*    padding: 3px 0 0 0;*/
/*}*/
@media (min-width: 1200px)
{
    .container {
        max-width: 100%;

    }
}
.navbar-light .navbar-nav .nav-link {
    color: black !important;
}
/*.mbsc-active+span {*/
/*    background-color: red!important;*/
/*}*/
/*.mbsc-ios.mbsc-segmented .mbsc-segmented-item input:checked+.livraison-hors-sonis-prev-bg-input  {*/
/*    background-color: #bdbdbd !important;*/
/*}*/
/*.mbsc-ios.mbsc-segmented .mbsc-segmented-item input:checked+.livraison-hors-sonis-ok-bg-input  {*/
/*    background-color: #3E4551 !important;*/
/*}*/
/*.mbsc-ios.mbsc-segmented .mbsc-segmented-item input:checked+.livraison-sonis-prev-bg-input  {*/
/*    background-color: #3F729B !important;*/
/*}*/
/*.mbsc-ios.mbsc-segmented .mbsc-segmented-item input:checked+.livraison-sonis-ok-bg-input {*/
/*    background-color: #0d47a1 !important;*/
/*}*/
.mbsc-ios .mbsc-segmented-content {
    border-color: #ccc !important;
}
.legend {
    width: 20px;
    display: block;
    /*position: absolute;*/
    /*left: 170px;*/
    /*right: 0;*/
    /*top: 17px;*/
    /*margin: auto;*/
    cursor: pointer;
}
input:disabled {
    opacity: 1 !important;
}
.mbsc-ios.mbsc-checkbox input:disabled+.mbsc-checkbox-box, .mbsc-ios.mbsc-checkbox input:disabled ~ .mbsc-label, .mbsc-ios.mbsc-checkbox input:disabled ~ .mbsc-desc, .mbsc-ios.mbsc-radio input:disabled+.mbsc-radio-box, .mbsc-ios.mbsc-radio input:disabled ~ .mbsc-label, .mbsc-ios.mbsc-radio input:disabled ~ .mbsc-desc, .mbsc-ios.mbsc-switch input:disabled+.mbsc-switch-track, .mbsc-ios.mbsc-switch input:disabled ~ .mbsc-label, .mbsc-ios.mbsc-switch input:disabled ~ .mbsc-desc {
    opacity: 1 !important;
}
.disable-click {
    pointer-events: none;
}

.mbsc-calendar-text,
.mbsc-calendar-text-ph,
.mbsc-calendar-text-more {
    height: 3.2em !important;
}

.mbsc-ios.mbsc-calendar-width-md .mbsc-calendar-text{
    line-height: initial !important;
}


@media (max-height: 960px) {
    .container-buttons-typefiles .btn-collapse {
        padding: 5px !important;
    }

    .mbsc-fr-hdr {
        padding: 5px !important;
    }
    .mbsc-ios.mbsc-ltr.mbsc-switch {
        /* padding: .5em 5em .5em 1em !important; */
        /* padding: .875em 2.5em !important; */
    }
    .mbsc-ios.mbsc-ltr.mbsc-textfield {
        /* padding: .5em 5em .5em 1em !important; */
        /* padding: 0em !important; */
    }

    label.mbsc-control-w.mbsc-input.mbsc-ios.mbsc-ltr:not[data-type='comment'] {
        height: 35px !important;
    }

    .mbsc-ios.mbsc-segmented {
        padding: 3px !important;
    }
    .mbsc-form-group {
        margin: 0.3em 0 !important;
    }
    .mbsc-ios.mbsc-input .mbsc-label, .mbsc-ios.mbsc-progress .mbsc-label {

        /* line-height: 35px !important; */

    }
    .dateTimePickerPopup {
        /* line-height: 35px !important; */
        /* height: 35px !important; */
    }
}

.switch-pr {
    padding: .875em 2.5em .875em 1em !important;
}

.background-point-mini {
    width: 10px;
    height: 10px;
    border-radius: 25px;
    display: inline;
    position: absolute;
    top: 18px;
    margin-left: 5px;
}
.mbsc-fr-btn-cont-top {
    display: table;
    top: auto;
    border: 0;
    table-layout: fixed;
}
.popup-top-button {
    border-bottom: 1px solid #cccccc;
    border-top: none !important;
}
.popup-top-button > div {
border-radius: 0.4em 0.4em 0 0 !important;
background-color: white;
}
.mbsc-fr-hdr {
border-bottom: 0 !important;
padding: 55px 0px 0px 0px !important;
}
.mbsc-cal-slide:not(.mbsc-cal-slide-a) .mbsc-cal-txt {
display: none !important;
}
.mbsc-textfield-wrapper > .mbsc-label {
    width: auto !important;
}
.mbsc-range-btn-start {
    padding-top: 45px;
}
.mbsc-fr-bubble-bottom .popup-top-button {
    display: none !important;
}
/*.btn-collapse {*/
/*    padding: 9px !important;*/
/*}*/
.collapse {
    text-align: center !important;
}
.dz-preview {
    display: none !important;
}
.mbsc-ios.mbsc-btn-outline.mbsc-btn.active-button {
    background: #007bff;
    color: white;
}
.btn-orange {
    background-color: #E98631 !important;
    color: white !important;
    border-color: #E98631;
    /*border-radius: 20px;*/
    box-shadow: none;
}
.btn-orange-clair {
    background-color: #e98631ab !important;
    color: white !important;
    border-color: #e98631ab;
    /*border-radius: 20px;*/
    box-shadow: none;
}
.container-button-editfile {
    background: white;
    text-align: center;
    border-bottom: 1px solid;
    border-color: #cccccc;
    padding: 10px;
}
.container-buttons-typefiles {
    text-align: center;
    border-bottom: 1px solid;
    border-color: #cccccc;
    padding: 10px;
}
footer {
    bottom: 0px;
    width: 100%;
    height: 50px;
    overflow: hidden;
}
.mbsc-fr-btn-s {
    font-weight: bold !important;
}
@-webkit-keyframes eventblink { 50% { outline-color: #ff0000; }  }
.selected-col{
    /*color:red !important;*/
    outline: 2px solid  ;
    -webkit-animation: eventblink .5s step-end infinite alternate;
    margin-top: 2px !important;
}

.mbsc-popup-padding{
    padding: 0 !important;
}

.mbsc-ios.mbsc-calendar-label-background{
    opacity: 1 !important;
}

#change-week .mbsc-segmented{
    margin: 0px;
}

.popover {
    z-index: 99999; /* A value higher than 1010 that solves the problem */
    max-width: 100%;
    min-width: 200px;
}
.popover .popover-header{
    font-weight: bold;
}
