@import "./fonts/Lato_Regular/Lato-Regular.css";
@import "./fonts/Lato_Light/Lato-Light.css";

* {
    margin: 0;
    padding: 0;
    border: 0;
    --main-color: #002348;
    --main-color-op1: rgba(6, 7, 7, 0.1);
    --main-color-op05: rgba(0, 44, 119, 0.05);
    --menu-mobile-color: #F0F2F7;
    --third-color: #00968F;
    --fourth-color: #DCDCDC;
    --light-gray: #999999;
    --middle-gray: #555555;
    --dynamic-blue:#2a9bff;
    --dynamic-dark-blue: #0998d8;
    --normal-font: #002348;

    --color-link : #000000;

    --state-green: '🟢';
    --state-orange: '🟠';
    --state-red: '🔴';
}

body {
    font-family: 'Lato-Regular', sans-serif;
    color: var(--normal-font);
    background: #f0f0f0;
    padding-top: 30px;
}
main {
    min-height: calc(100vh - 95px);
}
header {
    background: white;
}
a {
    text-decoration: underline;
    color: var(--color-link);
}
a:hover {
    text-decoration: none;
    color: var(--main-color)
}

footer {
    padding-top: 24px;
    text-align: center;
    background: white;
    margin-top: -64px;
    height: 64px;
    margin: 0;
}
footer a {
    padding: 0 2em;
}


.bloc_title {
    background-color: white;
    padding: 20px;
    
}
.title {
    clear: both;
    display: flex;
    font-size: 26px;
    font-family: "Lato-light";
}
.w-block {
    background-color: #ffffff;
}

.btn-primary {
    background-color: var(--main-color);
    border: none;
    border-radius: 0%;
    font-weight: bold;
    font-size: 14px;
    padding: 7px 25px;
}
    .btn-primary:hover {
        background-color: var(--dynamic-blue) ;
    }

.form-control {
    border-radius: 0px;
    border: 1px solid #cccccc;
}

input::placeholder {
    font-size: 0.8em;
    color: var(--light-gray);
}


/*** start : page error ***/

.error {
    font-size: 0.7rem;
    text-align: left;
    padding-top: 1em;
}

.text-nowrap {
    white-space: nowrap ;
}

.error td {
    padding : 5px;
}
/*** end : page error ***/

.state-red:after {
    content: var(--state-green);
}
/*** Tableau ***/
.Filter {
    padding: 0.5em 1em;
}

.Filter input {
    border-radius: 0px;
    border: 1px solid #cccccc;
    height: 2em;
    padding: 0.2em;
}
.Filter select {
    border-radius: 0px;
    border: 1px solid #cccccc;
    height: 2em;
}

.asc:after{
    content: "\F57B";
    font-family: "Bootstrap-icons";
    padding-left: 10px;
    font-weight: 900;
}
.desc:after{
    content: "\F575";
    font-family: "Bootstrap-icons";
    padding-left: 10px;
    font-weight: 900;
}
#idSelectBlesse {
    border: 1px solid var(--light-gray);
}
.actions {
    cursor: pointer;
    font-size: 1.2em;
    padding: 0 0.1em;
}

.ATTENTE span{
    display: none;
}
    .ATTENTE:after {
        display: block;
        content: "\F41F";
        visibility: visible;
        font-family: "Bootstrap-icons";
        color: rgb(207, 136, 4);
    }
.VALIDE span{
    display: none;
}
    .VALIDE:after {
        display: block;
        content: "\F633";
        visibility: visible;
        font-family: "Bootstrap-icons";
        color: green;
    }
.REFUS span{
    display: none;
}
    .REFUS:after {
        display: block;
        content: "\F623";
        visibility: visible;
        font-family: "Bootstrap-icons";
        color: red;
    }   
#GridSinistres {
    position: relative;
}
#GridSinistres td {
    vertical-align: middle;
}

/*** start : pagination ***/         
.table-pager > td {
    padding-top: 10px;
    vertical-align: middle;
  }
    .table-pager .active {
        background-color: #ffffff;
        border: none;
        border-radius: 5px;
        padding: 3px 7px;  
    }
    .table-pager > td > a {
      text-decoration: none;
      color : var(--color-link);
      background-color: #f4f0f0;
      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 3px 7px;
      margin-right: 5px;
    }

    .table-pager > td > a:hover {
      background-color: #e5e1e1;
    }
    .table-pager > td > .active:hover {
        background-color: #ffffff;
      }
/*** end : pagination ***/

.modal {
    font-size: 0.9em;
}

#popupValide:before {
    content: "";
    background: #0000007f;
    position: fixed;
    width: 100%;
    height: 100%;
}
.input-validation-error{
    border-color: var(--bs-form-invalid-border-color);
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.SinistreDetail .sep {
    border-right: 1px solid var(--light-gray);
}

.SinistreDetail h2 {
    font-weight: bold;
    font-size: 18px;
    color: #555;
    margin-top: 0.5em;
    margin-bottom: 0em;
}
.SinistreDetail h3 {
    color: var(--main-color);
    font-weight: bold;
    font-size: 1em;
    margin-top: 0.2em;
    margin-bottom: 0.1em;
}

.dec_rencontre {
    padding-left: 0.5em;
}
.decla .infos {
    font-size: 1em;
    margin-top: 10px;
    color: var(--main-color);
    line-height: 1.2em;
}

.confirm {
    text-align: center;
    font-weight: bold;
    font-size: 1.3em;
}
/*** Déclarer un sinistre ***/
.infoClub h1 {
    font-size: 1em;
    font-weight:500;
    color: var(--dynamic-blue);
}
.infoClub .printInfoClub span{
    display: block;
}
.infoClub .printInfoClub span:nth-child(1){
    font-size: 0.9em;
    color: var(--main-color);
}
.infoClub .printInfoClub span:nth-child(2){
    font-size: 0.7em;
    color: var(--light-gray);
    margin-bottom: 0.5em;
}

.infoClub .libelle {
    font-family: "Lato-Regular";
    color: var(--middle-gray);
}

.obligatoire:after {
    content : " *";
    color: red;
}
.oblig {
    color: red;
    display: inline;
    width: auto;
}

.choice {
    display: grid;
    grid-template-columns: 90% 10%;
    align-items: center;
    vertical-align: center;
}
.choice_switch {
    transition: all 1s linear;
}
.hidden {
    opacity: 0;
}

.size50px {
    height: 50px;
}

.divListeLicencies {
    margin: 1em auto;
    border: 1px solid var(--light-gray);
    padding: 1em;
}
.divListeLicencies .MessageInfo {
    text-align: center;
    border-bottom: 1px solid var(--main-color);
}

#declarant {
    display: flex;
    grid-gap: 1rem;
}
#ChercheDeclarant {
    height: 100%;
}

.div-loading {
    position:absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 1rem;
    background-color: #00000025;
    text-align: center;
    display:none;
}
/*** Liste des licenciés lors d'une recherche ***/
#listeLicencies {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}
    #listeLicencies li {
        border: 2px solid #002348;
    border-radius: 5px;
    margin: 8px 0;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    }
    #listeLicencies li > div {
        display: flex;
        flex-direction: column;
    }
    #listeLicencies li .nom {
        font-weight: bold;
        font-size: 16px;
        margin-bottom: 2px;
    }
    #listeLicencies li .dot {
        position: relative;
        height: 35px;
        width: 35px;
        background-color: #fff;
        border: 3px solid grey;
        border-radius: 50%;
    }
    #listeLicencies li.select {
        background-color: #002348;
        color: white;
        box-shadow: 0px 0px 14px 2px rgba(0, 0, 0, 0.25);
    }
    #listeLicencies li.select .check {
        position: absolute;
        transform: rotate(45deg) translate(-50%, -50%);
        left: 23%;
        top: 43%;
        width: 10px;
        height: 19px;
        border-right: 3px solid #002348;
        border-bottom: 3px solid #002348;
    }

#scrollToTop {
    display: none;
    font-size: 30px;
    bottom: 0.5em;
    padding-right: 0.5em;
    text-align: right;
    color: var(--main-color);
    }
    
    #scrollToTop.show {
    display: block;
    }
    #scrollToTo a {
        display: inline;
    }

@media only screen and (max-width: 992px) {
    .modal-dialog {
        max-width: 80%;
    }
    .Filter a,
    .Filter input ,
    .Filter select {
        min-width: 45%;
        margin: 2px;
    }
    .divListeLicencies {
        max-width: 80%;
    }
} 

@media only screen and (max-width: 768px) {
    .modal-dialog {
        max-width: 95%;
    }
    #grid1 th {
        overflow: visible;
    }
    #grid1 thead tr th:nth-child(2) {
        display: none;
    } 
    #grid1 tr td:nth-child(2) {
        display: none;
    }
    .Filter a,
    .Filter input ,
    .Filter select {
        min-width: 30%;
    }
    #scrollToTop {
        padding-right: 0.5em;
        bottom: 0.5em;
    }
}
@media only screen and (max-width: 576px) {
    .Filter a,
    .Filter input ,
    .Filter select {
        min-width: 100%;
    }
}  
@media only screen and (max-width: 450px) {
    main {
        min-width: 450px;
        max-width: 450px;
    }
}      
/*######################################################*/
/*                      FIL ARIANNE                     */
/*######################################################*/
.filAriane {
    list-style-type: none;
    font-size: 0.8em;
    margin: 0;
    padding: 0;
}
    .filAriane li {
        display: inline-flex;
    }
    .filAriane li a{
        color: var(--light-gray);
        text-decoration: none;
        font-weight: normal;
    }
    .filAriane li a:hover {
        text-decoration: underline;
    }
    .filAriane li:not(:last-child):after
    {
        content : "/";
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
    .filAriane li.actif a
    {
        color: var(--main-color);
        font-weight: bold;
    }

.filArianeMobile {
    list-style-type: none;
    font-size: 1.5em;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
}
    .filArianeMobile li {
        display: inline-flex;
        text-align: center;
        border: 1px solid var(--light-gray);
        padding: 5px 1.1em 5px 0.5em;
        position: relative;
        margin: 0;
        width: 50%;
    }
    .filArianeMobile li a{
        z-index: 10;
        color: var(--light-gray);
        text-decoration: none;
        font-weight: normal;
    }
    .filArianeMobile li:hover {
        background-color: var(--dynamic-blue);
        color: white;
    }
    .filArianeMobile li:hover a{
        color: white;
    }
    .filArianeMobile li.actif {
        border: 1px solid var(--main-color);
        background: var(--main-color);
    }
    .filArianeMobile li.actif a
    {
        color: white;
        font-weight: bold;
    }
    
