@font-face
{
    font-family: 'Cambria';
    src: url('./fonts/Cambria.ttf') format('truetype');
}

@font-face
{
    font-family: 'NotoSans';
    src: url('./fonts/NotoSans-Regular.ttf') format('truetype');
}

@font-face
{
    font-family: 'Inter';
    src: url('./fonts/Inter-Regular.woff2') format('woff2');
}

body, .navbar, .navbar-collapse, .dropdown-menu, .dropdown-item, .choices__list, .woption > option, .card, .modal-content, .bg-blue
{
    background-color: #214868;
}

*
{
    font-family: 'Inter';
}

.control-label:after
{
    content: "*";
    color: red;
}

#logo
{
    width: 100px;
    height: auto;
}

#logosm
{
    width: auto;
    height: 45px;
}

.cblock
{
    margin-left: auto !important;
    margin-right: auto !important;
}

.ctext
{
    text-align: center !important;
}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .w-sm-100 {
        width: 100% !important;
    }

    .w-sm-75 {
        width: 75% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-25 {
        width: 25% !important;
    }

    .h-sm-100 {
        height: 100% !important;
    }

    .h-sm-75 {
        height: 75% !important;
    }

    .h-sm-50 {
        height: 50% !important;
    }

    .h-sm-25 {
        height: 25% !important;
    }
}


/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .w-md-100 {
        width: 100% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-25 {
        width: 25% !important;
    }

    .h-md-100 {
        height: 100% !important;
    }

    .h-md-75 {
        height: 75% !important;
    }

    .h-md-50 {
        height: 50% !important;
    }

    .h-md-25 {
        height: 25% !important;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-25 {
        width: 25% !important;
    }

    .h-lg-100 {
        height: 100% !important;
    }

    .h-lg-75 {
        height: 75% !important;
    }

    .h-lg-50 {
        height: 50% !important;
    }

    .h-lg-25 {
        height: 25% !important;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .w-xl-100 {
        width: 100% !important;
    }

    .w-xl-75 {
        width: 75% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-25 {
        width: 25% !important;
    }

    .h-xl-100 {
        height: 100% !important;
    }

    .h-xl-75 {
        height: 75% !important;
    }

    .h-xl-50 {
        height: 50% !important;
    }

    .h-xl-25 {
        height: 25% !important;
    }
}

.woption > option
{
    color: white;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.dropdown-submenu
{
    position: relative;
}

.dropdown-submenu > .dropdown-menu
{
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    display: none;
}

/* Desktop : hover */
@media (hover: hover) and (pointer: fine)
{
    .dropdown-submenu:hover > .dropdown-menu
    {
        display: block;
    }
}

/* Mobile : clic = toggle via JS */
.dropdown-submenu.show > .dropdown-menu
{
    display: block;
}

.chevron
{
    background-color: inherit;
    font-size: inherit;
    line-height: inherit
}

.choices__inner
{
    min-height: 2.375rem !important;
    height: auto !important;
    border-radius: 0.375rem !important;
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
}

.choices__item--choice
{
    color: white;
    height: 30px;
}

.choices__item--choice.is-highlighted
{
    background-color: black !important;
}

.form-select option:hover
{
    background-color: black !important;
}

@media (max-width: 992px)
{
    .xsf
    {
        width: 200px !important;
    }
}

@media (min-width: 992px)
{
    .xsf
    {
        width: 300px !important;
    }
}

.profile-img
{
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.custom-shadow
{
    border: 1px solid #1b3a57;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Animation slide from top */
.toast-slide {
  transform: translateY(-30px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.toast-slide.showing,
.toast-slide.show {
  transform: translateY(0);
  opacity: 1;
}

/* Couleurs customisées */
.text-bg-success {
  background-color: #28a745 !important;
  color: #fff !important;
}

.text-bg-error, .text-bg-danger {
  background-color: #dc3545 !important;
  color: #fff !important;
}

.text-bg-warning {
  background-color: #ffc107 !important;
  color: #212529 !important;
}

.text-bg-info {
  background-color: #17a2b8 !important;
  color: #fff !important;
}

.toast {
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.25);
  border-radius: 0.5rem;
  border: 2px solid rgba(0,0,0,0.1);
}

.bg-green
{
    background-color: #5aa461;
}

.bg-violet
{
    background-color: #7e82bb;
}

.bg-dark-blue
{
    background-color: #151138;
}

.bg-dark-pink
{
    background-color: #8a0c83;
}

.bg-dark-orange
{
    background-color: #ba400b;
}

.bg-dark-cyan
{
    background-color: #06585e;
}

.bg-pink
{
    background-color: pink;
}

.bg-yellow
{
    background-color: yellow;
}

.special-border:hover
{
    border: 2px solid !important;
    border-radius: 8px !important;
    box-shadow: 0 0 8px !important;
    cursor: pointer !important;
}
