/**
 * @author: Yoann Le Crom <yoann.lecrom@abstractive.fr>
 */

.text-center {
    text-align: center;
    justify-content: center;
}

.text-left {
    text-align: left;
    justify-content: flex-start;
}

.text-right {
    text-align: right;
    justify-content: flex-end;
}

.text-justify {
    text-align: justify;
    justify-content: stretch;
}

.text-small {
    font-size: 80%;
    line-height: 1.2;
}

.text-success {
    color: var(--success-color);
}
.text-warning {
    color: var(--warning-color);
}
.text-important {
    color: var(--important-color);
}
.text-error {
    color: var(--error-color);
}

.text-error {
    color:  #dd0000;
}

.bg-color-important {
    background-color: var(--important-color);
}
.bg-color-error {
    background-color: var(--error-color);
}
.bg-color-warning {
    background-color: var(--warning-color);
}
.bg-color-success {
    background-color: var(--success-color);
}

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

.bg-color-secondary {
    background-color: var(--secondary-color);
}
.bg-color-secondary-dark {
    background-color: var(--secondary-color-dark);
}
.bg-color-secondary-m-light {
    background-color: var(--secondary-color-m-light);
}
.bg-color-secondary-light {
    background-color: var(--secondary-color-light);
}
.bg-color-secondary-x-light {
    background-color: var(--secondary-color-x-light);
}

.bg-color-secondary-alt {
    background-color: var(--secondary-color-alt);
}
.bg-color-secondary-alt-light {
    background-color: var(--secondary-color-alt-light);
}
.bg-color-secondary-alt-x-light {
    background-color: var(--secondary-color-alt-x-light);
}

.icon {
    vertical-align: middle;
    margin-right: .8em;
}

.flex-center {
    display: flex;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tooltip-inner {
    max-width: 500px;
    font-size: 1.2rem;
    background-color: black;
    text-align: left !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    border: 0;
}
