.big_name {
    opacity: 1;
    color: #000000;
    font-family: GothamRoundedMedium_21022;
    font-size: 32px;
    vertical-align: center;
}

.fs-date-mes {
    font-size: 10px;
}

.bloc {
    background-color: white;
    border-radius: 40px;
    padding: 30px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.green {
    color: #8FAE7B;
}

.red {
    color: red;
}

.gray {
    color: gray;
}

.btn-details {
    font-family: 'GothamRounded-Medium';
    height: 35px;
    min-width: 96px;
    background: #75C0C0;
    border-radius: 40px;
    font-weight: 350;
    font-size: 12px;
    color: #FFFFFF !important;
}

.custom-table thead {
    background: #EDEDED;
    height: 46px !important;
    padding-top: 15px;
    padding-bottom: 15px;
    vertical-align: middle;
}

.custom-table tbody {
    vertical-align: middle;
}

.custom-table td {
    font-family: 'GothamRounded-Book';
    font-weight: 325;
    font-size: 12px;
    line-height: 14px;
    height: 46px;
    letter-spacing: -0.3px;
}

.custom-table th {
    margin-bottom: 20px;
    font-family: 'GothamRounded-Medium';
    font-weight: 350;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: -0.3px;
}

.custom-table th:nth-child(1) {
    border-radius: 100px 0 0 0 !important;
    padding-left: 30px;
}

.custom-table td:nth-child(1) {
    padding-left: 30px;
}


.custom-table th:nth-last-child(1) {
    border-radius: 0 100px 0 0 !important;
    padding-right: 30px;
}

.custom-table td:nth-last-child(1) {
    padding-right: 30px;
}

.custom-table>thead>tr>th {
    border-bottom: 5px solid #05597D;
    padding-top: 15px;
    padding-bottom: 15px;
}

.custom-table>tbody>tr>td {
    border-bottom: none;
}

.custom-table>tbody>tr:nth-child(2n+1) {
    background-color: #F9F9F9;
}

.device_title_img {
    height: 50px;
    border-radius: 100px;
}

.pool_name {
    color: #000000;
    font-weight: 325;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.3px;
}

.pool_share_date {
    font-weight: 325;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    letter-spacing: -0.3px;
    color: #000000;
}

.pool_img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
}

#pict1_file {
    width: 75px;
    height: 75px;
    border-radius: 50%;
}

.text_block {
    display: block;
    margin: auto;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.submit_btn {
    margin-top: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.intervention_button {
    color: #97C4B8;
    font-size: 35px;
}

.inputfile+label {
    cursor: pointer;
    /* "hand" cursor */
}

.inputfile:focus+label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.tild_no_prog {
    margin-left: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 18px;
}

.device_online {
    opacity: 1;
    color: #000000;
    font-family: GothamRoundedMedium_21022, sans-serif;
    font-size: 20px;
}

.r_modal-content_picture {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 25px;
    width: 50%;
}

@media (max-width: 991px) {
    .img_block {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

#snackbar {
    visibility: hidden;
    background-color: #CD533B;
    color: #fff;
    text-align: center;
    border-radius: 20px;
    padding: 16px;
    position: fixed;
    z-index: 99999999;
    left: 50%;
    top: 85px;
    font-size: 17px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.bi-snow2 {
    color: #2F598A;
    font-size: 15px;
}

.btn-pool-map {
    background: none !important;
    border: none;
    padding: 0 !important;
    text-decoration: underline;
    font-weight: 325;
    font-size: 15px;
    line-height: 18px;
    /* identical to box height */
    letter-spacing: -0.3px;
    color: #000000;
    cursor: pointer;
}

.btn-remove-share {
    background: #DA583F;
    border-radius: 40px;
    height: auto;
    min-height: 32px;
    font-weight: 325;
    font-size: 12px;
    color: #FFFFFF;
}

.btn-remove:hover {
    color: #FFFFFF;
}

.tbody-pool-detail {
    background: #F9F9F9;
    height: 46px;
}

.device-table {
    background: #EEEEEE;
    border-radius: 15px;
}

.device-table th {
    padding-left: 15px;
    font-family: GothamRounded-Medium;
    font-size: 13px;
    font-weight: 350;
    line-height: 16px;
    border-right: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
}

.device-table td {
    padding-right: 25px;
    font-family: GothamRounded-Book;
    font-size: 12px;
    border-bottom: 2px solid #FFFFFF;
}

.device-table-last td:nth-last-child(1) {
    border-bottom: none !important;
}

.device-table-last th:nth-child(1) {
    border-bottom: none !important;
}

.interventions_alertes_div {
    max-height: 520px !important;
    overflow-x: hidden;
    overflow-y: auto !important;
    direction: rtl;
}

.interventions_alertes_content {
    direction: ltr;
}

.interventions_alertes_title {
    height: 35px !important;
}

.alertes_div {
    background-color: #CD533B;
    color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.15);
    min-height: 64px !important;
    max-height: 100% !important;
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.warning_div {
    background-color: #FEA828;
    color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.15);
    min-height: 64px !important;
    max-height: 100% !important;
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.ok_div {
    background-color: #6AB853;
    color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.15);
    min-height: 64px !important;
    max-height: 100% !important;
    margin-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.interventions_div {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
    border-radius: 16.5px;
    font-weight: 350;
    font-size: 14px;
    line-height: 17px;
}

.interventions_comming {
    background-color: #FFFFFF;
}

.title_int {
    color: #7A7A7B;
    font-weight: 350;
    font-size: 14px;
    line-height: 14px;
}

.title_int_pool {
    color: #212123;
    font-weight: 350;
    font-size: 14px;
    line-height: 14px;
}

.interventions_done {
    background-color: #EEEEEE;
}

.block_title {
    font-size: 20px !important;
}

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

.middle_bloc {
    max-height: 620px;
    height: auto;
}

.dygraph-axis-label {
    font-family: 'GothamRounded-Medium' !important;
    font-size: 13px !important;
}

.event_info_center {
    opacity: 1;
    color: #000000;
    font-family: GothamRoundedMedium_21022;
    font-size: 18px;
    text-align: center;
    vertical-align: middle;
}

.device_img {
    height: 50px;
}

.device_vigipool_text_style_serial_number {
    opacity: 1;
    color: #000000;
    font-family: GothamRoundedMedium_21022;
    font-size: 13px;
}

.device_vigipool_text_style {
    opacity: 1;
    color: #000000;
    font-family: GothamRoundedMedium_21022;
    font-size: 13px;
}

.interventions_type_background {
    height: 30px;
    width: 30px;
}

.internvetion_type_text {
    font-family: GothamRoundedBold_21016;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #212123;
}

#button_PH_0:focus,
#button_PH_1:focus,
#button_PH_2:focus,
#button_ORP_0:focus,
#button_ORP_1:focus,
#button_ORP_2:focus,
#button_FLOW_0:focus,
#button_FLOW_1:focus,
#button_FLOW_2:focus,
#button_TEMP_0:focus,
#button_TEMP_1:focus,
#button_TEMP_2:focus {
    padding: 20px;
    border-radius: 27.5px;
    border-color: #97C4B8;
    background-color: #97C4B8;
    color: #FFFFFF;
    font-family: GothamRounded-Medium;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 17px;
    border-radius: 27.5px !important;
}

.periods {
    margin-bottom: 30px;
    background-color: #F9F9F9;
    border-radius: 28px !important;
}


.period_on {
    padding: 20px;
    border-radius: 28px !important;
    border-color: #75C0C0;
    background-color: #75C0C0;
    color: #FFFFFF;
    font-family: "GothamRoundedMedium_21022", sans-serif;
    font-size: 14px;
    font-weight: unset;
    letter-spacing: 0;
    line-height: 17px;
    margin-right: 10px;
}

.period_off {
    padding: 20px;
    border-color: #F9F9F9;
    background-color: #F9F9F9;
    color: #212123;
    font-family: "GothamRoundedMedium_21022", sans-serif;
    font-size: 14px;
    font-weight: unset;
    letter-spacing: 0;
    line-height: 17px;
    margin-right: 10px;
    border-radius: 28px !important;
}

.tiptool {
    background-color: #F1E9DA;
    border-radius: 24px;
    box-shadow: 0 0 15px 0 rgba(255, 255, 255, 0.15);
    color: black;
    padding: 20px;
    margin-left: 20px;
    margin-right: 0px;
    font-family: "GothamRoundedMedium_21022", sans-serif;
}

.dygraph_custom {
    position: absolute;
    left: -20px;
    right: 10px;
    top: 40px;
    bottom: 10px;
}

.graph_loading {
    height: 300px !important;
    margin-bottom: -100px;
}

.tild_hors_gel_btn {
    cursor: pointer;
}

#tild_hors_gel_text {
    font-family: GothamRounded-Book;
    font-size: 12px;
    background: #EEEEEE;
    border-radius: 1rem;
    padding: 1.125em 1.5em;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, .3), 0 0.0625rem 0.125rem rgba(0, 0, 0, .2);
}

#picture_tooltip {
    font-family: GothamRounded-Book;
    font-size: 12px;
    background: #EEEEEE;
    border-radius: 1rem;
    padding: 1.125em 1.5em;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, .3), 0 0.0625rem 0.125rem rgba(0, 0, 0, .2);
}

@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 85px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 85px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 85px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 85px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

.pool_note_div {
    cursor: pointer;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 51px;
    height: 51px;
    color: #212123;
    border-top-left-radius: 30%;
    border-bottom-right-radius: 30%;
    background: #F9F9F9;
}

.pool_note_writer {
    font-size: 11px;
    font-style: italic;
    color: #979797;
}

.datepicker_graph {
    background: #FFFFFF;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 36px;
    background-color: transparent !important;
    border: none !important;
    font-family: 'GothamRounded-Book';
    font-weight: 325;
    font-size: 14px;
    line-height: 14px;
    color: #979797;
}

.datepicker_pl {
    padding-left: 15px;
}

.granularity_picker {
    padding-left: 15px;
    padding-right: 5px;
}

.centerer {
    text-align: center;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.centerer_button {
    margin: 0 auto;
    display: block;
    text-align: center;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.centerer_table {
    vertical-align: middle;
}

.r_pool_btn {
    margin: 2px;
}

/* Modal Content/Box */
.r_modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    border-radius: 25px;
    width: 35%;
    /* Could be more or less, depending on screen size */
}

.search_bar {
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.15);
    background: #F9F9F9 !important;
    border-radius: 100px;
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 80%;
}

.search_bar span {
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    padding: 0 !important;
    padding-left: 12px !important;
    align-items: center;
    background: #F9F9F9 !important;
    border: 0 !important;
}

.search_bar input {
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    width: 70% !important;
    height: 34px;
    align-items: center;
    background: #F9F9F9 !important;
    border: 0 !important;
}

.search_bar input::placeholder {
    font-family: GothamRounded-Book;
    color: #000000
}

.search_bar input:focus {
    outline: none;
}

.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25%,
    75% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }
}

@media only screen and (max-width: 991px) {
    .custom-table th:nth-child(1) {
        border-radius: 50px 0 0 0 !important;
        padding-left: 20px;
    }

    .custom-table td:nth-child(1) {
        padding-left: 20px;
    }


    .custom-table th:nth-last-child(1) {
        border-radius: 0 50px 0 0 !important;
        padding-right: 20px;
    }

    .custom-table td:nth-last-child(1) {
        padding-right: 20px;
    }

    .table-responsive {
        overflow-x: visible !important;
    }

    .big_name {
        font-size: 20px;
    }

    .intervention_button {
        font-size: 20px;
    }

    .r_modal-content {
        width: 50%;
    }

    .search_bar {
        width: 50%;
    }
}