:root {
    font-size: 15px;
    --font-size: 15px;
    --text: #fff !important;
    --text-variant: #000 !important;
    --primary-lighter: #005683 !important;
    --primary: #003049 !important;
    --primary-darker: #002436 !important;
    --secondary-lighter: #c0eecd !important;
    --secondary: #93D1A5 !important;
    --secondary-darker: #52d979 !important;

    --error-lighter: #ce392e !important;
    --error: #bd5d57 !important;
    --error-darker: #9a2a22 !important;
    --success-lighter: #3cb95c !important;
    --success: #62bd7a !important;
    --success-darker: #29803f !important;

    --background: white !important;
    --background-darker: #f5f5f5 !important;

    --margin-sm: 0.5rem;
    --margin-med: 1rem;
    --margin-big: 1rem;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: #dedede;
}

.fc-timeline-slot-frame {
    justify-content: center !important ;
  }

/********************************************/
/**************** ALIGNEMENT ****************/
/********************************************/
.title {
    width: 100%;
    text-align: left;
    font-size: 2.5rem;
    font-family: 'Roboto', 'sans-serif';
    font-weight: 400;
    color: #353535;
    padding: 0 1rem;
}

.subtitle {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    font-size: 1.5rem;
    font-family: 'Roboto', 'sans-serif';
    font-weight: 400;
    color: #6b6b6b;
    padding: 0 1rem;
}

.ckt-header-userinfo {
    display: flex;
    align-items: center;
    justify-content: center;
}


.btn-delete {
    color: var(--error-lighter);
}


.fullscreen {
    width: 100%;
    height: 100%;
}

.fullwidth {
    width: 100%;
}

.error {
    width: 100%;
    padding: 0.5rem;
    color: var(--text);
    text-align: center;
    cursor: pointer;
}

.form-errors ul {
    list-style-type: none;
}

.form-errors li {
    color: var(--error);
}

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

.center-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.errorMessage {
    text-align: center;
    border: 0 solid black;
    border-radius: 8px;
    background-color: var(--error);
    color: white;
    max-width: 28rem;
    padding: 0 0.5rem;
}

.self-center {
    display: flex;
    align-self: center;
    justify-self: center;
}

.no-margin {
    margin: 0 !important;
}

.margin-vertical {
    margin: 0.5rem 0 !important;
}

.margin-horizontal {
    margin: 0 0.5rem !important;
}

@media screen and (min-width:1200px) {
    .title {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1rem;
    }
}

/********************************************/
/**************** BASE FORM *****************/
/********************************************/
.base-form-card {
    display: flex;
    width: 90%;
    max-height: 90%;
}

.base-form-card > .header {
    flex: 0 1 2rem;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.base-form-card > .content {
    flex: 1 1 auto;
    overflow-y: auto;
    width: 100%;
    padding: 0 1rem;
    justify-content: center;
}

.base-form-card > .content form {
    width: 100%;
    flex: 1;
}

.base-form-card > .footer {
    flex: 0 1 auto;

    display: flex;
    width: 100%;
    margin: 0.5rem 0;
    padding: 0 1rem;
    justify-content: flex-end;
    align-items: center;
}

.base-form-row {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.2rem;
    flex-direction: column;
    flex-wrap: wrap;
}

.base-form-row > label {
    display: block;
    width: 100%;
    margin-right: 0.5rem;
    padding: 0.5rem 0.5rem 0.5rem 0;
    border-radius: 5px;
    color: #606060;
    font-size: 2rem;
}

.base-form-row > input,select,textarea, .base-form-row .base-form-input {
    display: block;
    width: 100%;
    height: 4rem;
}

.base-form-row .error {
    color: darkred;
    border-radius: 10px;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0.5rem 0.5rem 0;
}

@media screen and (min-width:1200px) {
    .base-form-card {
        width: 70%;
    }
    .base-form-row {
        flex-direction: row;
    }
    .base-form-row > label, .base-form-row .base-form-label {
        width: 49%;
        font-size: 1rem;
    }
    .base-form-row > input,select,textarea, .base-form-row .base-form-input {
        width: 49% !important;
        height: unset !important;
    }
}

/********************************************/
/************** SMALL ELEMENTS **************/
/********************************************/
.icon {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    cursor: pointer;

    transition: all .2s;
    color: var(--text);
    background: var(--background);
    text-decoration: none;
    border: none;
    /* box-shadow: rgba(150,150,150,.55) 0 0 5px; */
    font-size: 2rem;
}

.icon.primary {
    background: var(--primary);
    color: var(--text);
}

.icon.secondary {
    background: var(--secondary);
    color: var(--text);
}

.icon.error {
    background: var(--error);
    color: var(--text);
}

.icon.success {
    background: var(--success);
    color: var(--text);
}

.icon:not(.disabled):hover {
    background: var(--background-darker);
    color: var(--text);
    text-decoration: none;
}

.icon.primary:not(.disabled):hover {
    background: var(--primary-darker);
    color: var(--text);
    text-decoration: none;
}

.icon.secondary:not(.disabled):hover {
    background: var(--secondary-darker);
    color: var(--text);
    text-decoration: none;
}

.icon.error:not(.disabled):hover {
    background: var(--error-darker);
    color: var(--text);
    text-decoration: none;
}

.icon.success:not(.disabled):hover {
    background: var(--success-darker);
    color: var(--text);
    text-decoration: none;
}

.icon.disabled {
    cursor: not-allowed;
}

.icon-placeholder {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
}

.ellipsis {
    cursor: pointer;
    display: block;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media screen and (min-width:1200px) {
    .icon {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        border-radius: 0.4rem;
    }
}

/**** AMELIORATIONS DES ELEMENTS CKT ****/
.ckt-button {
    height: 4rem !important;
    font-size: 1.5rem !important;
}

.ckt-button.disabled {
    cursor: not-allowed !important;
}

@media screen and (min-width:1200px) {
    .ckt-button {
        height: unset !important;
        font-size: 1rem !important;
    }
}

.ckt-textinput {
    width: 100%;
    height: 4rem;
    font-size: 1.5rem !important;
}

@media screen and (min-width:1200px) {
    .ckt-textinput {
        width: unset;
        height: unset;
        font-size: 1rem !important;
    }
}

/* TOM SELECT */
.select-button-delete-item {
    border-left: 1px solid #dee2e6;
    margin-left: 5px;
    border-radius: 0 2px 2px 0;
    box-sizing: border-box;
    color: inherit;
    display: inline-block;
    padding: 0 5px;
    text-decoration: none;
    vertical-align: middle;
    transition: background-color 100ms ease-out;
}

.select-button-delete-item:hover {
    background: #bdbdbd;
}

.select-item-container {
    display: flex; align-items: center; padding-right: 0
}

.select-item-container span {
    width: 100%; flex: 1
}
