html, body{
    height: calc(100vh - 58px);
    max-height: 100vh;
    width: 100vw;
    max-width: 100vw;
}


main {
    height: calc(100vh - 58px);
    max-height: calc(100vh - 58px);
    width: 100vw;
    max-width: 100vw;
}
iframe {
    height:calc(100vh - 58px);
    width: calc(100vw - 5px);
}
.container-fluid {
    margin: 0;
    padding: 0;
}

#app {
    height: inherit;
}
.bg-image {
    margin:0;
    background:url(../img/banniere_accueil.jpg) no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    width: 100vw;
}



form {
    margin-bottom: 0 !important;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    float:right;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input.default:checked + .slider {
    background-color: #444;
}
input.primary:checked + .slider {
    background-color: #2196F3;
}
input.success:checked + .slider {
    background-color: #8bc34a;
}
input.info:checked + .slider {
    background-color: #3de0f5;
}
input.warning:checked + .slider {
    background-color: #FFC107;
}
input.danger:checked + .slider {
    background-color: #f44336;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.modal-dialog {
    max-width: 600px !important;
}

.microsoft-hidder {
    position: fixed;
    bottom: 0;
    width: 100vw;
    background: white;
    z-index: 9999;
    height: 54px;

}

table{
    width:100%;
}.bg-title {
     background: lightgray;
     border-radius: 5px;
     padding: 5px;
     margin-top: 0.8em;
 }
#example_filter{
    float:right;
}
#example_paginate{
    float:right;
}

label {
    display: inline-flex;
    margin-bottom: .5rem;
    margin-top: .5rem;

}

@media print {
    html, body, main {
        height: 100%;
        width: 100%;
    }

    #printId {
        height: 1000px;
        width: 1000px;
    }

    .logoBarWrapper {
        display: none !important;
    }

    #test1 {
        width: 100%;
        height: 100%;
    }

    @page {
        size: landscape;
    }


    .microsoft-hidder {
        bottom: 0;
        z-index: 99999;
        width: 100%;
        height: 100%;
        background: white;
    }
}

/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen
and (min-width: 1024px)
and (max-height: 1366px)
and (-webkit-min-device-pixel-ratio: 1.5) {
    html, body {
        overflow: hidden;
    }

}

/* Portrait */
@media only screen
and (min-width: 1024px)
and (max-height: 1366px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 1.5) {
    html, body {
        overflow: hidden;
    }
    .microsoft-hidder {
        bottom: 0;
        z-index: 99999;
        width: 100%;
        height: 200px;
        background: white;
    }
}

/* Landscape */
@media only screen
and (min-width: 1025px)
and (max-height: 1366px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 1.5) {
    html, body {
        overflow: hidden;
    }

    .microsoft-hidder {
        bottom: 0;
        z-index: 99999;
        width: 100%;
        visibility: hidden;
        background: white;
    }

}

@media only screen
and (min-width: 768px)
and (max-height: 1025px)
and (-webkit-min-device-pixel-ratio: 1.5) {
    html, body {
        overflow: hidden;
    }

}

@media only screen
and (min-width: 768px)
and (max-height: 1024px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 1.5) {
    html, body {
        overflow: hidden;
    }

    .microsoft-hidder {
        bottom: 0;
        z-index: 99999;
        width: 100%;
        height: 200px;
        background: white;
    }
}


@media only screen
and (min-width: 768px)
and (max-height: 1024px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 1.5) {
    html, body {
        overflow: hidden;
    }

    .microsoft-hidder {
        bottom: 0;
        z-index: 99999;
        width: 100%;
        height: 200px;
        background: white;
    }
}
