﻿/*------------------------------------------------------------------------------------------------ 
Gallimea - Web application
--------------------------------------------------------------------------------------------------
Style
------------------------------------------------------------------------------------------------*/

/* Footer 
------------------------------------------------------------------------------------------------*/
/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 30px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 40px;
    font-size: small;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
    padding: 60px 15px 0;
}

.container .text-muted {
    margin: 20px 0;
}

.container-fluid {
    padding: 10px 30px 30px;
}

.navbar .container-fluid {
    padding-top: 5px;
    padding-bottom: 5px;
}

.g_main {
    margin-top: 70px;
    margin-bottom: 30px;
}

.footer .container-fluid {
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 10px;
}

code {
    font-size: 80%;
}

.tooltip-inner {
    background-color: #477eff !important;
    color: #fff;
}

.tooltip-arrow {
    border-bottom-color: #477eff !important;
}

.tooltip.in {
    opacity: 1 !important;
}

.modal-open .modal {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.g_selecttoolbar {
    background-color: #f9f9f9 !important;
    border: 1px solid rgb(0, 0, 68, 0.3) !important;
    padding: 10px !important;
}

.g_marge_droite {
    padding-right: 5px !important;
}

.g_marge_droite20 {
    margin-right: 20px !important;
}

.g_marge_bas20 {
    margin-bottom: 20px;
}

.g_texte_gras {
    font-weight: bold !important;
}

/* Ajouter une couleur aux entêtes des tableaux
-------------------------------------------------- */
.g_thead_blue {
    background-color: #000044 !important;
    color: white !important;
}

/*------------------------------------------------ */

.g_vr {
    border-right: 1px solid #ccc !important;
}

/* Ajouter une ligne horizontale après un texte
-------------------------------------------------- */
.g_line {
    border-top: 2px solid #477eff;
    flex-grow: 1;
    margin: 0px 0px 15px 0px;
}

/*------------------------------------------------ */

/* Ajouter une ligne horizontale après un texte sans marge en haut
-------------------------------------------------- */
.g_line_2 {
    border-top: 2px solid #477eff;
    flex-grow: 1;
    margin: 5px 20px 5px 20px;
}

/*------------------------------------------------ */

/* Texte en orange
-------------------------------------------------- */
.g_orange_texte {
    color: #ff6200;
}

/*------------------------------------------------ */

/* Etoile champs requis */
.required::after {
    font-weight: normal;
    content: ' *';
    color: #ff6200;
}

/*------------------------------------------------ */
.centered-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*------------------------------------------------ */
/* Style du bootstrap-select */
.btn.dropdown-toggle.disabled {
    background-color: #e2e2e2;
}

/* Page d'accueil
/*------------------------------------------------ */
.call-to-action {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100px;
}

.call-to-action-icon {
    font-size: 30px;
}

.call-to-action-text {
    font-size: 18px;
}

/*------------------------------------------------ */
/* Squelette de chargement */
.skeleton {
    display: inline-block;
    position: relative;
    width: 100%;
    animation: shimmer 2s infinite;
    color: transparent;
    background: transparent linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
}

.skeleton > * {
    background-color: transparent;
}

.skeleton > .g_line {
    border-top: 2px solid transparent !important;
}

@keyframes shimmer {
    0% {
        background-position: -200px;
    }
    100% {
        background-position: 200px;
    }
}

/*----*/
.pin-input {
    width: 35px !important;
    display: inline-block;
}