﻿/*#region Bouton*/
.conselio-btn:focus {
    outline: 0 !important;
}

.conselio-btn:hover {
    text-decoration: none;
}

.conselio-btn-secondary {
    border: 2px solid var(--main-bg-color);
    background-color: white;
    color: var(--main-bg-color) !important;
}

.conselio-btn-primary {
    border: 2px solid var(--main-bg-color);
    background-color: var(--main-bg-color);
    color: white;
}

.conselio-btn {
    border-radius: 25px;
    padding: 5px 15px;
    font-size: 18px;
    text-decoration: none;
    margin-left: 7px;
    margin-right: 7px;
    height: 40px;
    text-transform: uppercase;
    transition-duration: 0.3s; /* La transition dure 1s */
}

button.conselio-btn[disabled] {
    background-color: #f3f3f3;
    color: #d5d5d5;
    cursor: not-allowed;
}

.conselio-btn.large {
    width: 300px;
}

.conselio-btn-primary:hover:enabled {
    color: var(--main-bg-color);
    background-color: white;
}

.conselio-btn:disabled {
    opacity: 0.6;
}

.conselio-btn:active {
    box-shadow: inset 0 2px 17px var(--border-color);
}

.conselio-btn-secondary:hover:enabled {
    color: white !important;
    background-color: var(--main-bg-color);
}

.conselio-btn.active.togglable {
    color: var(--main-bg-color);
    background-color: white;
}
/*#endregion*/

label {
    line-height: 40px;
    font-weight: bold;
    font-size: 15px;
    text-align: right;
    color: var(--text-color);
}

/* #region Select */
.form-select {
    border: 1px solid transparent;
    padding: 5px 5px 5px 5px;
    border-radius: 4px;
    color: var(--text-color);
    cursor: pointer;
    font-family: Arial;
    background-color: #f1f1f1;
    border: 1px solid var(--bs-gray-400);
}

    .form-select:hover,
    .form-select:focus,
    button,
    button:focus,
    .btn-close:focus,
    .btn-info:focus {
        box-shadow: inherit;
        border-color: gray;
    }

.form-select:focus {
    border-color: #b2b2b2;
}

.form-select option {
    padding : 20px;
}
/* #endregion Select */

button, input[type="button"], .btn {
    color: white;
    font-weight: bold;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button, input {
    overflow: visible;
}

input {
    font-size: 11pt;
}

    input[type="text"], input[type="password"] {
        border: 1px solid var(--text-color);
        border-radius: 20px;
        padding-left: 12px;
        height: 37px;
        padding-right: 2px !important;
    }


.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.center {
    text-align: center;
}
.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

    .input-group > .custom-file, .input-group > .custom-select, .input-group > .form-control, .input-group > .form-control-plaintext {
        position: relative;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        width: 1%;
        min-width: 0;
        margin-bottom: 0;
    }

    .input-group:not(.has-validation) > .custom-file:not(:last-child) .custom-file-label::after, .input-group:not(.has-validation) > .custom-select:not(:last-child), .input-group:not(.has-validation) > .form-control:not(:last-child) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

.input-unit {
    background: var(--main-bg-table-color);
    border-radius: 0px 20px 20px 0px;
    border: 1px solid var(--border-color) !important;
    padding: 5px 10px 5px 5px;
    font-size: 15px;
    line-height: revert;
}

.with-unit {
    border-right: 0 !important;
    border-right-color: currentcolor;
    border-color: var(--border-color) !important;
}