body {
    height: 100%;
    font-family: 'Lato', sans-serif !important;
}

a, a:hover {
    text-decoration: none;
    color: unset;
}

.ui.icon.button>.icon, .ui.icon.buttons .button>.icon {
    margin: 0 0 0 7px !important;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    float: right;
    margin: 7px 10px;
    background-color: gray;
    color: white;
    border-radius: 50%;
    width: 20px;
    text-align: center;
}

.date_picker input {
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.Select-input {
    width: 100% !important;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 600px;
    background-color: lightgray;
    color: black    ;
    text-align: center;
    padding: 5px;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;

    top: -24px;
    right: 105%;
    margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
    margin-right: 5px;
}

.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 100%; /* To the right of the tooltip */
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent gray;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

.hand-cursor:hover {
    cursor: pointer;
}

.bg-primary {
    background-color: rgb(230, 230, 230);
}

.bg-secondary {
    background-color: white;
}

tr {
    padding: 10px 0;
}

td {
    width: 100%;
    padding: 10px;
}

fieldset {
    border: none;
}

#react {
    min-height:100%;
}

.center_container {
    display: block;
    margin: 0 auto;
    width: 600px;
}

.container {
    max-width: 600px;
    height: 100%;
}

.main-container {
    margin: 50px 20px;
}

.h-flex-container {
    width: 100%;
    display: flex;
    align-items: center;
}

.v-flex-container-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.fiche_header {
    text-align: center;
    background-color: rgb(245, 245, 245);
    padding: 25px;
}

.header {
    background-color: rgb(245, 245, 245);
    display: flex;
    justify-content: space-between;
    padding: 25px;
}

.sub_header {
    height: 35px;
    background-color: rgb(26, 160, 224);
    transform: rotate(-1deg);
    position: relative;
    z-index: -1;
    margin-top: -15px;
}

.container-small {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.login {
    border: solid 1px lightgray;
    border-radius: 5px;
    padding: 40px;
    width: 100%;
}

.login-secondary {
    padding-top: 40px;
}

.form-input {
    padding: 10px;
    background-color: rgb(240, 240, 240);
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    font-weight: lighter;
    margin: auto 0;
    width: 100%;
}

.contact-form-input {
    padding: 10px;
    background-color: rgb(240, 240, 240);
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    font-weight: lighter;
    margin: auto 0;
}

.title {
    text-align: center;
    padding: 15px;
}

.label-secondary {
    color: rgb(26, 160, 224);
    font-weight: bold;
}

.fiche_form {
    background-color: rgb(240, 240, 240);
    width: 600px;
    padding: 10px;
    margin-bottom: 8px;
}

.fiche_data {
    font-weight: bold;
}

.signature_container {
    margin-top: 20px;
    text-align: left;
    width: 600px;
}

.signature {
    margin-top: 10px;
    margin-bottom: 50px;
    border: solid 1px rgb(240, 240, 240);
    border-radius: 10%;
    height: 150px;
    width: 250px;
}

.avoid-page-break {
    page-break-inside: avoid !important;
}

.footer {
    text-align: center;
    color: white;
    background-color: rgb(61,67,70);
    padding: 7px 0;
    width: 100%;

    display: block;
    margin: 10px auto;
    position: running(footer);
}

@page
{
    @bottom-center { content: element(footer) }
}

.fixed_footer {
    bottom: 0px;
    position: fixed;
}

.relative_footer {
    position: relative;
}

.agence_combo {
    width: 200px;
    margin: 10px;
}

.logout * {
    width: 200px;
    margin: 10px;
}

.date_picker input {
    border: 1px solid #aeaeae;
    line-height: 16px;
    padding: 8px 8px;
    border-radius: 5px;
    width: 100%;
    font-size: 12px;
    background-color: rgb(240, 240, 240);
}

.react-datepicker-wrapper {
    width: 100%;
}

.react-datepicker__input-container {
    width: 100%;
}

.filters {
    margin: 100px 20px 20px;
}

.filters_form, .filters_btn {
    background-color: white;
}

.filters_btn {
    border-top: solid 1px lightgray;
    float: right;
    width: 100%;
    text-align: end;
    padding: 30px 20px;
}

.radio_btn {
    margin-right: 5px;
    margin-left: 25px;
}

.radio_btn input {
    margin: 0 5px;
}

.Select-input {
    background-color: rgb(240, 240, 240);
    width: 100%;
}

.Select-arrow-zone, .Select-clear-zone {
    background-color: rgb(240, 240, 240);
}

.outline-btn {
    border: solid 1px black !important;
    border-radius: 5px !important;
}

.result_container {
    margin: 150px 20px 50px;
}

.title_blue, .result_title {
    background-color: rgb(26, 160, 224);
    color: white;
    padding: 10px;
    width: 50%;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0px;
}

.result_title {
    display: flex;
}

.ReactTable {
    border: none;
}

.ReactTable .rt-thead.-header {
    background-color: rgb(60, 66, 69);
    color: white;
    padding: 10px 0;
}

.ReactTable .rt-thead .rt-th.-sort-asc, .ReactTable .rt-thead .rt-td.-sort-asc {
    box-shadow: inset 0 3px 0 0 white;
}

.ReactTable .rt-thead .rt-th.-sort-desc, .ReactTable .rt-thead .rt-td.-sort-desc {
    box-shadow: inset 0 -3px 0 0 white;
}

.ReactTable .rt-th:focus {
    outline: unset;
}

.ReactTable .rt-tbody {
    background-color: white;
}

.table_action_btn {
    color: rgb(227, 20, 126) !important;
}

.contact-header {
    display: flex;
}

.contact-title {
    font-size: xx-large;
    margin: auto auto;
}

.contact-container {
    display: flex;
    padding-top: 40px;
}

.contact-info-container, .contact-history-container {
    display: flex;
    flex-direction: column;
}

.contact-info-container {
    flex: 1;
}

.contact-history-container {
    flex: 1;
}

li {
    list-style: none;
}


/****   MISCS  *****/

.primary-color {
    color: rgb(227, 20, 126);
}

.btn_primary {
    background-color: rgb(227, 20, 126);
    color: white;
    font-weight: lighter;
    border: none;
    border-radius: 5px;
    padding: 10px;
}

.btn_primary:hover {
    background-color: #bc1069;
    background-image: none;
    box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34,36,38,.15) inset;
    color: rgba(255,255,255,.8);
}

.secondary-color {
    color: rgb(26, 160, 224);
}

.clear_btn {
    padding: 10px;
}

.ui.button {
    background-color: transparent;
}

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

.margin-right-10 {
    margin-right: 10px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-left-20 {
    margin-left: 20px;
}

.padding-top-40 {
    padding-top: 40px;
}

.padding-10 {
    padding: 10px;
}

.padding-20 {
    padding: 20px;
}

.h-space {
    margin: 0 10px;
}

.font-small {
    font-size: xx-small;
}

.font-larger {
    font-size: larger;
}

.border_top {
    border-top: solid 1px lightgray;
}

.breakafter {
    page-break-after: always;
}
