﻿@include media-breakpoint-up(sm) {
    html {
        font-size: .4rem;
    }

    .btn_img {
        width: 250px;
        height: 250px;
    }
}

@include media-breakpoint-up(md) {
    html {
        font-size: .6rem;
    }

    .btn_img {
        width: 50px;
        height: 50px;
    }
}

@include media-breakpoint-up(lg) {
    html {
        font-size: .8rem;
    }

    .btn_img {
        width: 100px;
        height: 100px;
    }
}


@media (min-width: 576px) {
    .container {
        margin: 0;
        max-width: 540px;
        padding: 15px 15px 15px 15px;
    }

    .sidenav {
        top: 55px;
    }
}

@media (min-width: 768px) {
    .container-center, .container-center-w960 {
        margin: 0;
        width: 720px;
        max-width: 720px;
        padding: 15px 15px 15px 15px;
    }
}

@media (min-width: 992px) {
    .container-center, .container-center-w960 {
        margin: 0;
        width: 960px;
        max-width: 960px;
        padding: 15px 15px 15px 15px;
        display: block;
    }
}

@media (min-width: 1200px) {
    .container-center, .container-center-w960 {
        margin: 0;
        width: 960px;
        max-width: 960px;
        padding: 15px 15px 15px 15px;
    }
}


@media (min-width: 576px) and (max-width: 767.98px) {
    table {
        font-size: .4rem;
    }

    .btn_img {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 992px) {
    .modal-dialog {
        max-width: 90% !important;
    }

    .btn {
        margin: 0;
        padding-left: 3px;
        padding-right: 3px;
    }

    .table td {
        padding: 3px;
    }

    .btn_img {
        width: 50px;
        height: 50px;
    }
}

@media (min-width: 576px) and (max-width: 1459px) {
    .sidenav {
        width: 180px !important;
    }

        .sidenav a {
            font-size: 12px !important;
        }

    .sidenav {
        top: 55px;
    }
}

@media (min-width: 1460px) {
    .sidenav {
        width: 260px !important;
    }

        .sidenav a {
            font-size: 13px !important;
        }

    .sidenav {
        top: 55px;
    }
}


.right-btn {
    position: absolute !important;
    right: 0 !important;
    text-align: right !important;
    float: right;
}

table {
    font-size: .75rem;
}

.headcol {
    position: relative !important;
    font-size: 11px;
    padding: 3px;
}

header {
}

body {
    font-size: .8rem;
    padding: 0;
    padding-top: 10px;
}

.center-btn {
    text-align: center;
}

.container-center {
    margin: auto;
    width: 100%;
    min-width: 200px;
    /*max-width: 600px;*/
}

.container-center-w960 {
    margin: auto;
    width: 100%;
    /*min-width: 600px;
    max-width: 960px;*/
}

.container {
    margin: 0;
    max-width: 100%;
    padding: 15px 15px 15px 15px;
}

footer {
    font-size: small;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0;
    padding-bottom: 2px;
}

.container-foot {
    margin: 0;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    vertical-align: bottom;
    vertical-align: text-bottom;
    position: absolute;
    bottom: 0;
}

.siteseal {
    position: absolute;
    padding-right: 15px;
    bottom: 0;
    right: 0;
}

.Absolute-Center {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

    .Absolute-Center.is-Responsive {
        width: 80%;
        min-width: 200px;
        max-width: 400px;
        padding: 0px;
    }

.page-header,
.page-header h1 {
    margin-top: 0;
}

.splash {
    margin-top: 0;
    margin-bottom: 30px;
    position: absolute;
    width: 80%;
    height: 80%;
}

.parent {
    margin-top: 60px;
    /*margin-bottom: 16px;*/
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.parentVertical {
    margin-top: 60px;
    margin-bottom: 42px;
    position: absolute;
    top: 0px;
    left: 60px;
    right: 60px;
    bottom: 20px;
}

.iframe-resp {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    border: 0;
    padding: 0;
    margin: 0;
}

.iframe-resp-h300 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    border: 0;
    padding: 0;
    margin: 0;
}


.iframe-resp-logo {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 270px;
    border: 0;
    padding: 0;
    margin: 0;
}

.iframe-resp-h800 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 800px;
    border: 0;
    padding: 0;
    margin: 0;
}

.iframe-small-resp {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    min-height: 220px;
    border: 0;
    padding: 0;
    margin: 0;
}

.reciboiframe-resp {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    min-height: 220px;
    border: 0;
    padding: 0;
    margin: 0;
}

iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
}

p {
    padding: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
}

a:link {
    text-decoration: none;
}

.card-body {
    padding: 0;
}



/* Hide the checkbox */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}

    /* Prepare the label */
    [type="checkbox"]:not(:checked) + label,
    [type="checkbox"]:checked + label {
        position: relative; /* permet de positionner les pseudo-éléments */
        padding-left: 25px; /* fait un peu d'espace pour notre case à venir */
        cursor: pointer; /* affiche un curseur adapté */
    }
        /* Checkboxes aspect */
        /* :before is for the box */
        [type="checkbox"]:not(:checked) + label:before,
        [type="checkbox"]:checked + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 2px;
            width: 17px;
            height: 17px; /* dim. of the box */
            border: 1px solid #aaa;
            background: #f8f8f8;
            border-radius: 3px;
            box-shadow: inset 0 1px 3px rgba(0,0,0,.3); /* slight inner shadow */
        }

        /* Check symbol aspect */
        [type="checkbox"]:not(:checked) + label:after,
        [type="checkbox"]:checked + label:after {
            content: '✔';
            position: absolute;
            top: -15px;
            left: -3px;
            font-size: 30px;
            color: red;
            transition: all .2s; /* animation incoming :p */
        }
        /* if "not checked" */
        [type="checkbox"]:not(:checked) + label:after {
            opacity: 0; /* invisible */
            transform: scale(0); /* scaled down to 0 */
        }

label:hover:before {
    border: 1px solid #4778d9 !important;
}

/* If "checked" */
[type="checkbox"]:checked + label:after {
    opacity: 1; /* visible */
    transform: scale(1); /* scaled up to normal */
}

input[type=checkbox] {
    /* Double-sized Checkboxes */
    -ms-transform: scale(2.5); /* IE */
    -moz-transform: scale(2.5); /* FF */
    -webkit-transform: scale(2.5); /* Safari and Chrome */
    -o-transform: scale(2.5); /* Opera */
    padding: 30px;
}

/* Disabled aspect */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
    box-shadow: none;
    border-color: #bbb;
    background-color: #ddd;
}
/* Disabled checked aspect */
[type="checkbox"]:disabled:checked + label:after {
    color: #999;
}
/* Styling label when disabled? :p */
[type="checkbox"]:disabled + label {
    color: #aaa;
}




hr {
    margin: 0;
}

a.inline {
    display: inline;
}

.checkbox input[type="checkbox"] {
    margin-right: 10px;
}

.modal {
    text-align: center;
    padding: 0 !important;
}

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    width: 700px;
    max-width: 100%;
}

.modal-header {
    padding-bottom: 0;
}

.modal-footer {
    padding-bottom: 0;
}

.modal-footer-logo {
    font-size: smaller;
    text-align: left;
    padding-left: 15px;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e5e5e5;
    -webkit-box-shadow: 0 8px 6px -6px #999;
    -moz-box-shadow: 0 8px 6px -6px #999;
    box-shadow: 0 8px 6px -6px #999;
}

.navbar-header {
    float: left;
    padding: 0;
    text-align: center;
    width: 100%;
}

.navbar-brand {
    float: none;
    font-size: 1rem;
}

    .navbar-brand > img {
        padding: 0;
    }

.navbar .form-control {
    border-width: 0;
    border-radius: 0;
}

.form-inline {
    margin-bottom: 1rem;
}

.menu-toggle {
    font-size: 1.5rem;
    padding: 5px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.img-brand {
    max-width: 150px;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.w-8 {
    width: 8% !important;
}

.w-10 {
    width: 10% !important;
}

.w-12 {
    width: 12% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-22 {
    width: 22% !important;
}

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}

.w-40 {
    width: 40% !important;
}

.w-45 {
    width: 45% !important;
}

.w-60 {
    width: 60% !important;
}

.w-65 {
    width: 65% !important;
}

.w-70 {
    width: 70% !important;
}

.w-80 {
    width: 80% !important;
}
.breadcrumb {
    padding: 0 !important;
    background-color: transparent;
}

.sidenav {
    width: 260px;
    position: fixed;
    z-index: 1;
    top: 40px;
    left: 5px;
    overflow-x: hidden;
    padding: 3px 0;
}

    .sidenav a {
        padding: 3px 6px 3px 6px;
        text-decoration: none;
        font-size: 13px;
        color: #2196F3;
        display: block;
    }

        .sidenav a:hover {
            color: #064579;
        }

.tooltip-inner {
    white-space: pre-wrap;
    text-align: left;
}

td.highlight {
    background-color: whitesmoke !important;
}

.bg-yellow {
    background-color: yellow;
}
