.choice_list h1{
margin-top:30px;
font-size:18px;
font-weight:normal;
font-style:italic;
padding:5px 0 6px 5px;
}

#home .choice_list h1{
background-position: 0 -16px;
}
#home .choice_list  h3{
padding-top:10px;
}
.choice_list  img{
padding:3px;
}
.ui-icon-tel{
background: rgb(63, 41, 39) url(../images/phone.png) no-repeat;
}

.ui-icon-mail-closed {
background: rgb(63, 41, 39) url(../images/email.webp) no-repeat;
background-size: 12px;
background-position: 3px;
}

.ordo_green{
color: rgb(95, 158, 160) !important;
}

.ordo_red{
color: #990000 !important;
}

.ordo_orange{
color: #FF6600 !important;
}
.historique{
float:right;
}
.link
{
color: blue !important;
text-decoration: underline; 
white-space: pre-wrap;
}
.green{
color: #00FF00 !important;
}
.orange{
color: #FF6600 !important;
}
.black{
color: #000000 !important;
}

.info-group {
    border: 1px solid lightgrey;
    border-radius: 15px;
    padding: 0px 5px;
    margin: 5px 5px 5px 0px;
}

.ui-content.fiche_patient {
    padding: 4px;
}

.telgroup span.ui-btn-inner {
    padding: 0.6em 0;
}

.mailgroup span.ui-btn-inner {
    padding: 0.6em 0;
}

.tel-group-icon {
    display: inline-block;
    height: 18px;
    width: 18px;
    line-height: 18px;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
}

.mail-closed-group-icon {
    display: inline-block;
    height: 18px;
    width: 18px;
    line-height: 18px;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
}

.photo-intervention {
    display: inline-block;
    position: relative;
    width: 100%;
    text-align: center;
}

.photo-intervention div {
    display: inline-block;
    position: relative;
    text-align: center;
    width: 315px;
    height: 445.5px;
    line-height: 445.5px;
    vertical-align: middle;
    background-color: lightgrey;
    border-radius: 5px;
    margin: 10px;
    overflow: hidden;
}

.photo-intervention img {
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    vertical-align: middle;
}

.photo-intervention img.no-image {
    width: 75px;
}

.delete-photo-btn {
    position: absolute !important;
    bottom: 8px !important;
    right: 8px !important;
    background-color: rgba(220, 53, 69, 0.95) !important;
    color: white !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 20px !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    text-decoration: none !important;
    outline: none !important;
}

.delete-photo-btn:hover {
    background-color: rgba(200, 35, 51, 0.98) !important;
    transform: scale(1.08) !important;
}

.delete-photo-btn:active {
    transform: scale(0.96) !important;
}

.ui-btn-up-d, .ui-body-d {
    color: black;
}

.ui-disabled, .ui-select .ui-disabled {
    opacity: 0.5;
}

@media screen and (max-width: 700px) {
    .photo-intervention div {
        display: inline-block;
        position: relative;
        text-align: center;
        width: 210px;
        height: 297px;
        line-height: 297px;
        vertical-align: middle;
        background-color: lightgrey;
        border-radius: 5px;
        margin: 3px;
    }
}

@media screen and (max-width: 500px) {
    .photo-intervention div {
        display: inline-block;
        position: relative;
        text-align: center;
        width: 138.6px;
        height: 196.02px;
        line-height: 196.02px;
        vertical-align: middle;
        background-color: lightgrey;
        border-radius: 5px;
        margin: 3px;
    }
}

@media screen and (max-width: 400px) {
    .photo-intervention div {
        display: inline-block;
        position: relative;
        text-align: center;
        width: 100px;
        height: 142.5px;
        line-height: 142.5px;
        vertical-align: middle;
        background-color: lightgrey;
        border-radius: 5px;
        margin: 1px;
    }
}

.interactions-list {
    list-style: none;
    padding: 0
}

.interactions-list h3 {
    margin-bottom: 0px;
}

.interactions-list p {
    margin-top: 5px;
}

.interactions-list li {
    display: inline-block;
    background-color: white;
    margin: 5px 0;
    padding: 0 10px;
    width: calc(100% - 20px);
    border-radius: 5px;
}

#prescripteur {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #f0f0f0; /* Fond clair */
    color: #333; /* Texte sombre */
    border: 1px solid #ccc; /* Bordure claire */
    padding: 10px;
    border-radius: 0 0 5px 5px; /* Coins inférieurs arrondis */
    width: 100%;
    font-size: 16px;
    border-top: none;
    margin-top: -1px;
}

.combobox {
    position: relative;
}

#prescripteur-search {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #f0f0f0; /* Fond clair */
    color: #333; /* Texte sombre */
    border: 1px solid #ccc; /* Bordure claire */
    padding: 10px;
    border-radius: 5px 5px 0 0; /* Coins supérieurs arrondis */
    width: 100%;
    font-size: 16px;
    margin-bottom: 0;
}

.dropdown-list {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    z-index: 1000;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.dropdown-item:hover {
    background: #e0e0e0;
}

.dropdown-item:last-child {
    border-bottom: none;
}