/* Add here all your css styles (customizations) */
body {

    padding-top: 0px !important;
    padding-bottom: 0px;

}

/* background Home du text ds image */
.g-bg-lightgrey {
    background-color: lightgray !important;
}

/* background button du text ds select module */
.g-bg-grey-v2 {
    background-color: rgb(119, 119, 119) !important;
}

.u-select-v2-custom-ft-sm
{
    font-size: small !important;
}

/* background Home du text ds image */
.g-bg-primary-dark-v3 {
    background-color: #000 !important;
}

/* background button hover  */
    .g-bg-primary--hover:hover {
        background-color: #800005 !important;
        opacity: 1 !important;
    }


/* background color table month listing  */
.table.dataTable tr.dtrg-group td {
    background-color: rgb(119, 119, 119) !important;
}

/* background color tooltip  */
.tooltip.bs-tooltip-bottom .tooltip-inner {
    background: #800005 !important;
}

/* background color tooltip arrow */
.tooltip .arrow:before {
    border-bottom-color: #800005 !important;
    border-top-color: #800005 !important;
}


/* Couleur du text de la page active ds menu */
.u-header__section--light .navbar-nav:not([class*="u-main-nav-v"]) .open > .nav-link,
.u-header__section--light .navbar-nav:not([class*="u-main-nav-v"]) .active > .nav-link,
.u-header__section--light .navbar-nav:not([class*="u-main-nav-v"]) .nav-link.open,
.u-header__section--light .navbar-nav:not([class*="u-main-nav-v"]) .nav-link.active,
.u-header__section--light--shift.js-header-change-moment .navbar-nav:not([class*="u-main-nav-v"]) .open > .nav-link,
.u-header__section--light--shift.js-header-change-moment .navbar-nav:not([class*="u-main-nav-v"]) .active > .nav-link,
.u-header__section--light--shift.js-header-change-moment .navbar-nav:not([class*="u-main-nav-v"]) .nav-link.open,
.u-header__section--light--shift.js-header-change-moment .navbar-nav:not([class*="u-main-nav-v"]) .nav-link.active {
    color: #800005;
}


.g-brd-primary {
    border-color: #800005 !important;
}


a {
    color: #800005;
    outline: none;
}


    a:focus,
    a:hover {
        color: #800005;
    }


.btn-primary {
    background-color: #800005;
    border-color: #808080;
}

/* The sidebar menu */
.sidebar {
    height: 90%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    /*top: 0;*/
    right: 0;
    background-color: whitesmoke; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}

    /* The sidebar links */
    .sidebar a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        transition: 0.3s;
    }

        /* When you mouse over the navigation links, change their color */
        .sidebar a:hover {
            color: #f1f1f1;
        }

    /* Position and style the close button (top right corner) */
    .sidebar .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

/* The button used to open the sidebar */
.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
}

    .openbtn:hover {
        background-color: #444;
    }

    /* Toggle Switch */
.custom-control-input:focus ~
.custom-control-label::before {
    /* when the button is toggled off 
  it is still in focus and a violet border will appear */
    border-color: #800005 !important;
    /* box shadow is blue by default
  but we do not want any shadow hence we have set 
  all the values as 0 */
    box-shadow: 0 0 0 0rem rgba(0, 0, 0, 0) !important;
}

/*sets the background color of
          switch to violet when it is checked*/
.custom-control-input:checked ~
.custom-control-label::before {
    border-color: #800005 !important;
    background-color: #800005 !important;
}

/*sets the background color of
          switch to violet when it is active*/
.custom-control-input:active ~
.custom-control-label::before {
    background-color: #800005 !important;
    border-color: #800005 !important;
}

/*sets the border color of switch
          to violet when it is not checked*/
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #800005 !important;
}


/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s; /* If you want a transition effect */
    padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }

        .sidebar a {
            font-size: 18px;
        }
}