/*
gris : #4e6774
rouge : #bf1a2c
*/

body {
    color: #4e6774;
}
h1 {
    font-weight: bold;
    font-size: 1.5rem;
    color: #4e6774;
    margin-bottom: 0.8em;
}
h2 {
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.6em;
    color: #4e6774;
}
p {
    color: #1a171b;
    line-height: 1em;
}
@media (min-width: 768px) {
    .sidebar .nav-item .nav-link.nav-first {
        text-align: center;
        font-weight: bold;
        font-size: 3em;
        line-height: 0.3em;
        margin-bottom: 0.2em;
    }
    .sidebar .nav-item .nav-link.nav-first span {
        font-size: 1.5rem;
    }
    .sidebar.toggled .nav-item .nav-link.nav-first span {
        font-size: 1rem;
    }
}

.btn-link {
    color: #4e6774;
}
.btn-link:hover {
    color: #4e6774;
}
img.apropos {
    width: 100%;
}

.form-check-label {
    /*margin-top: -1.4em;*/
}
.form-check-input {
    /*margin-top: -0.7em;*/
}
.bg-gradient-primary {
    background-color: #4e6774;
    background-image: none;
    background-size: cover;
}
.bg-login-image {
    background: url('');
    padding: 60px 60px 0px 60px;
    color: #4e6774;
    font-weight: bold;
    text-align: center;
}
@media (max-width: 768px) {
    .bg-login-image {
        font-size: 1em;
    }
}
.bg-login-image img {
    width: 400px;
    padding-top: 20px;
    margin-bottom: -10px;
}
.btn-primary {
    background-color: #bf1a2c;
    border-color: #bf1a2c;
}
.btn-primary:hover {
    background-color: #bf1a2c;
    border-color: #bf1a2c;
    opacity: 0.8;
}
.btn-primary:focus, .btn-primary.focus {
    background-color: #bf1a2c;
    border-color: #bf1a2c;
    box-shadow: 0 0 0 0.2rem rgba(191, 26, 44, 0.5);
}
.btn-primary.disabled, .btn-primary:disabled {
    background-color: #bf1a2c;
    border-color: #bf1a2c;
    opacity: 0.8;
}
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    background-color: #bf1a2c;
    border-color: #bf1a2c;
}
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(191, 26, 44, 0.5);
}

.btn-group-lg>.btn, .btn-lg {
    font-size: 1rem;
    margin-top: 1rem;
}
.btn-radio {
    color: #888;
    background-color: #eee;
    border-color: #888;
    font-weight: bold;
}

.btn-radio:hover {
    color: #bf1a2c;
    background-color: #fff;
    border-color: #bf1a2c;
}
.btn-radio.active {
    color: #bf1a2c;
    background-color: #fff;
    border-color: #bf1a2c;
}

.sidebar #sidebarToggle::after {
    font-family: 'Font Awesome 5 Pro';
}
.sidebar.toggled #sidebarToggle::after {
    font-family: 'Font Awesome 5 Pro';
}

@media (min-width: 768px) {
    .sidebar .nav-item .nav-link[data-toggle=collapse]::after {
        font-family: 'Font Awesome 5 Pro';
    }
}

.text-primary {
    color: #bf1a2c!important;
}
.error {
    font-size: inherit;
    width: auto;
}
footer.sticky-footer {
    padding: 1rem 0;
}
/*@media (min-width: 1200px) {*/
/*    .container, .container-lg, .container-md, .container-sm, .container-xl {*/
/*        max-width: 100%;*/
/*    }*/
/*}*/

.card {
    border-radius: calc(.7rem - 1px) calc(.7rem - 1px) 0 0;
}
.card-header:first-child {
    border-radius: calc(.7rem - 1px) calc(.7rem - 1px) 0 0;
    /*min-height: 63px;*/
}
.card-header.positive:first-child {
    background-color: #4e6774;
    color: #fff;
    min-height: 63px;
}
.card-header .text-primary {
    font-size: 1.1em;
    font-weight: 600 !important;
}
.card-header.positive .text-primary {
    color: #fff !important;
}

.card-header.negative:first-child {
    background-color: #fff;
    color: #4e6774;
    min-height: 63px;
}
.card-header.negative .text-primary {
    color: #4e6774 !important;
}
.card {
    border-radius: calc(.7rem - 1px) calc(.7rem - 1px);
}
.card-body {
    border-radius: 0 0 calc(.7rem - 1px) calc(.7rem - 1px);
}
.card-body.positive {
    background-color: #e4ebed;
}
.card .card-header[data-toggle=collapse]::after {
    font-family: 'Font Awesome 5 Pro';
}

.sticky-footer a {
    color: #4e6774;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8em;
}
.sticky-footer a:hover {
    color: #4e6774;
}



/*
i wish this required CSS was better documented :(
https://github.com/FezVrasta/popper.js/issues/674
derived from this CSS on this page: https://popper.js.org/tooltip-examples.html
*/

.tooltip {
    position: absolute;
    z-index: 9999;
    background: #fff;
    color: black;
    width: 300px;
    border-radius: 3px;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    padding: 10px;
    text-align: center;
    opacity: inherit;
}
.style5 .tooltip {
    background: #1E252B;
    color: #FFFFFF;
    max-width: 300px;
    width: auto;
    font-size: .8rem;
    padding: .5em 1em;
}
.tooltip .tooltip-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    margin: 5px;
}

.tooltip .tooltip-arrow {
    border-color: #000;
}
.style5 .tooltip .tooltip-arrow {
    border-color: #000;
}
.tooltip[x-placement^="top"] {
    margin-bottom: 5px;
}
.tooltip[x-placement^="top"] .tooltip-arrow {
    border-width: 5px 5px 0 5px;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    bottom: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
}
.tooltip[x-placement^="bottom"] {
    margin-top: 5px;
}
.tooltip[x-placement^="bottom"] .tooltip-arrow {
    border-width: 0 5px 5px 5px;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    top: -5px;
    left: calc(50% - 5px);
    margin-top: 0;
    margin-bottom: 0;
}
.tooltip[x-placement^="right"]{
    margin-left: 5px;
}
.tooltip[x-placement^="right"] .tooltip-arrow {
    border-width: 5px 5px 5px 0;
    border-left-color: transparent;
    border-top-color: transparent;
    border-bottom-color: transparent;
    left: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
}
.tooltip[x-placement^="left"] {
    margin-right: 5px;
}
.tooltip[x-placement^="left"] .tooltip-arrow {
    border-width: 5px 0 5px 5px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    right: -5px;
    top: calc(50% - 5px);
    margin-left: 0;
    margin-right: 0;
}

.tooltip-inner {
    background-color: #fff;
    color: #000;
    max-width: 400px;
}


/*
.tooltip {
    opacity: inherit;
    border: solid #000 1px;
    border-radius: 4px 4px 4px 4px;
}
.tooltip .tooltip-arrow {

}
.tooltip .tooltip-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    margin: 5px;
    border-color: #000;
}
*/
