@font-face {
    font-family: "Kanit";
    src: url("../fonts/Kanit-Light.ttf");
}

body {
    font-family: "Kanit", sans-serif;
    background-image: url("../images/background_image.png");
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 18px!important;
    min-height: 100vh;
}

.navbar-brand .logo {
    max-width: 250px;
}

.preloader {
    display: -ms-flexbox;
    display: flex;
    background-color: #f4f6f9;
    height: 100vh;
    width: 100%;
    transition: height 200ms linear;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
}

.animation__shake {
    -webkit-animation: shake 1500ms;
    animation: shake 1500ms;
}

:root {
    --sky-blue-color: #E6F0F4;
    --blue-color: #6699B9;
    --red-color: #C18181;
    --green-color: #58A058;
    --black-color: #707070;
    --grey-color: #BFBFBF;
}

.black-color {
    color: var(--black-color);
}
.black-background {
    background-color: var(--black-color);
}

.red-color {
    color: var(--red-color) !important;
}
.red-background {
    background-color: var(--red-color);
}

.blue-color {
    color: var(--blue-color);
}
.blue-background {
    background-color: var(--blue-color);
}

.green-color {
    color: var(--green-color);
}
.green-background {
    background-color: var(--green-color);
}

.nav-link {
    font-size: large;
    font-weight: 600;
}

.action-btn {
    color: var(--red-color);
    padding: 10px 0;
    background: #fff;
    border: 1px solid var(--red-color);
    font-weight: bold;
    font-size: 25px;
    border-radius: 20px;
    width: 50%;
}

.btn:hover {
    color: var(--black-color);
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #c18282!important;
}

.mr-100 {
    margin-right: 100px;
}

.mlr-50 {
    margin-right: 50px;
    margin-left: 50px;
}

.mh-80 {
    min-height: 80vh;
}

.icon-check {
    margin-left: 0.25em;
    height: 40px;
    width: 40px;
}

.compte-btn {
    width: auto;
    text-align: center;
    color: var(--blue-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 22px;
    padding: 5px 20px;
}

.recherche {
    display: flex;
    align-items: center;
}

h2.inline-or {
    overflow: hidden;
    text-align: center;
    color: var(--red-color);
}
h2.inline-or:before, h2.inline-or:after {
    background-color: var(--red-color);
    content: "";
    display: inline-block;
    height: 2px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}
h2.inline-or:before {
    right: 0.5em;
    margin-left: -50%;
}
h2.inline-or:after {
    left: 0.5em;
    margin-right: -50%;
}

.title-expo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black-color);
}

.btn-styled {
    color: var(--black-color);
    padding: 1px 0;
    background: #fff;
    border: 1px solid var(--red-color);
    font-weight: bold;
    font-size: 18px;
    border-radius: 20px;
    width: 25%;
}

.form-group button {
    color: var(--black-color);
    padding: 6px 0;
    background: #fff;
    border: 1px solid var(--red-color);
    font-weight: bold;
    font-size: 18px;
    border-radius: 20px;
    margin-top: 25px;
    width: 25%;
}

.retour-recherche {
    color: var(--black-color);
    padding: 1px 0;
    background: #fff;
    border: 1px solid var(--red-color);
    font-weight: bold;
    font-size: 18px;
    border-radius: 20px;
    width: 15%;
}

.add-compte-rendu {
    color: var(--black-color);
    padding: 1px 0;
    background: #fff;
    border: 1px solid var(--red-color);
    font-weight: bold;
    font-size: 18px;
    border-radius: 20px;
    width: 25%;
}

.recommencer-compte-rendu{
    color: var(--black-color);
    padding: 1px 0;
    border: 1px solid var(--red-color);
    font-weight: bold;
    font-size: 18px;
    border-radius: 20px;
    width: 50%;
    background-color: #ffb2b2
}

#generer-compte-rendu,
#modifier-informations
{
    color: var(--black-color);
    padding: 1px 0;
    background: #fff;
    border: 1px solid var(--red-color);
    font-weight: bold;
    font-size: 18px;
    border-radius: 20px;
    width: 50%;
}

.recommencer-compte-rendu.disabled,
.recommencer-compte-rendu:disabled,
.add-compte-rendu.disabled,
.add-compte-rendu:disabled
{
    pointer-events: none;
    opacity: .65;
}

.article-description {
    margin-bottom: 4rem;
}
.liens {
    background-color: #d0e8f1;
}
.fs-initial {
    font-size: initial;
}

.input {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.input {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card {
    padding: 15px 15px;
    background:  linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4));
    border: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 25px;
}

.card > * {
    background: unset;
}

.card-primary {
    margin-top: 1em;
}

.btn-primary:hover {
    color: var(--black-color);
    background-color: #fff;
    border-color: var(--red-color);
}

.form-control {
    border: none;
    border-bottom: 3px solid var(--black-color);
    background-color: transparent;
    padding-inline: 0;
    color: var(--blue-color);
    font-weight: bold;
    font-size: smaller;
}

.form-control:focus {
    background-color: transparent;
    border-color: var(--black-color);
}

.form-control:focus, input {
    box-shadow: none;
}

.btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle {
    color: var(--red-color);
    background-color:  #fff;
    border-color: var(--red-color);
}

.btn-check:focus+.btn-primary, .btn-primary:focus {
    color: var(--red-color);
    background-color:  #fff;
    border-color: var(--red-color);
}

.fs-25 {
    font-size: 25px;
}

.xmark-style {
    color: #dc3545;
    cursor: pointer;
}

.xmark-style-surv {
    color: #ff8c97;
    cursor: pointer;
}

#exposition-actions svg {
    margin-left: 15px;
    margin-right: 5px;
}

@media (max-width: 1200px) {
    .retour-recherche {
        width: 25%;
    }
}

@media (max-width: 992px) {
    .dropdown-menu {
        margin-top: 15px!important;
    }
}
@media (max-width: 768px) {
    .add-compte-rendu, .btn-styled, .form-group button {
        width: 50%;
    }

    .btn-styled {
        width: 100%;
        margin-top: 8px;
        padding: 10px 0;
    }

    .retour-recherche {
        width: 50%;
    }
}
