@import url('https://fonts.cdnfonts.com/css/avenir');
@import url('https://fonts.cdnfonts.com/css/avenir-lt-pro');

body{
    height: 100%;
    min-height: 100vh;
    color: #000C92;
    background-color: white;
    margin-left: 15%;
    margin-right: 15%;
    font-family: 'Avenir', sans-serif;
}

mark{
    background-color: #E90018;
    color: #fff;
    padding: 0 !important;
    font-size: 1.1em;
}

.modal-body{
    height: 100%;
    color: #000C92;
    background-color: white;
    font-family: 'Avenir', sans-serif;
}

#upcoming-event {
    background-color: #000C92;
    position: absolute;
}
.upcoming-event-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FFFFFF;
}
.btn-close-custom {
    filter: invert(0.5) sepia(1) saturate(5) hue-rotate(175deg);
}
.card-body {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
.upcoming-event-header .card-title {
    margin-bottom: 0 !important;
}

img {
    border-radius: 10px;
}

.red-line {
    border-top: 6px solid #E90018;
}

.red-text {
    color: #E90018;
}

.Médisap-color {
    color : #4A82B6;
}

.Pharmsap-color {
    color : #00A99A
}

.Urgsap-color {
    color : #00ABED
}

.Qualisap-color {
    color : #0192A7
}

.softwares {
    width:23%;
    height: 100px;
    font-size: 12px;
    font-weight: 500;
}

.flex_item2 > br{
    margin: 0;
}


.nav-link{
    font-weight: 900;
    color: #000C92;
    padding-top: 16px !important;
    padding-bottom: 0 !important;
}

.nav-item:nth-child(-n+5) {
    font-family: 'Avenir LT Pro', sans-serif;
    font-weight: 900;
    width: 11%;
    display: flex;
    justify-content: center;
}

.nav-item:nth-child(8){
    justify-content: center;
}

.nav-item{
    justify-content: center;
}

.nav-link:hover{
    color: #E90018;
}

.nav-link:active{
    color: #E90018;
}

.dropdown-menu.urgsap-menu {
    width: 180px;
    background: linear-gradient(0deg, #cfe9f5, 70%, #FFFFFF);
}
.urgsap-menu {
    font-size: 0.7em;
}

.Médisap-box{
    background-color: #4a82b618;
    color: #4A82B6;
    border-radius: 10px;
    font-size: 1.4em;
}

.Pharmsap-box{
    color: #00A99A;
    border-radius: 10px;
}

.Urgsap-box{
    background-color: #ffffff;
    border-radius: 10px;
}

.container, .references-container{
    background-color: #008ACC60;
    border-radius: 10px;
}

.Qualisap-box{
    color: #0192A7;
    border-radius: 10px;
}

.top{
    position: relative;
    z-index: 2;
}

.under{
    position: relative;
    margin-top: -25px;
}

.under2{
    position: relative;
    margin-top: -12vh;
}

.under3{
    position: relative;
    margin-top: -12vh;
}

.references-box{
    background-color: #008ACC60;
    color: #ffffff;
    border-radius: 10px;
    padding-top: 6px;
    padding-left: 1px;
    padding-right: 1px;
}

.references-container{
    position: relative;
    background-color: #008bcc40;
    border-radius: 10px;
    bottom: 17px;
}

.contact-container{
    position: relative;
    background-color: #008bcc40;
    border-radius: 10px;
    bottom: 17px;
}

.references-container2{
    position: relative;
    background-color: #008bcc40;
    border-radius: 10px;
    width: 65%;
    margin: auto;
    bottom: 24px;
}

.title-box{
    background-color: #0077C6;
    color: #ffffff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}

.title-box2{
    background-color: #0077C6;
    color: #ffffff;
    border-radius: 5px;
    width: 60%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}

.title3{
    font-size: 1vw;
}

.title4{
    font-size: 1vw;
}

.buttons{
    width:23%;
    background-color: #000C92;
    font-weight: 700;
    border-radius: 3px;
}

.flex_item1 {
    flex: 1;
}

.flex_item2 {
    flex: 16;
    padding-top: 1.4vw;
    padding-bottom: 1.4vw;
}

.flex_half{
    flex: 1;
    margin-left: 1vw;
    margin-right: 1vw;
}

a{
    text-decoration: none;
    color: #000C92;
    font-weight: 700;
    text-decoration: underline;
}

.retex_utilisateurs > div {
    height: 11em;
}

.retex_utilisateurs > div > a > img{
    border-radius: 0px;
}

.small_text{
    font-size: 13px;
}

.img-center {
    display: block;
    margin: auto;
}

.flex_left {
    z-index: 2;
    flex: 1;
}

.flex_right {
    flex: 9;
}

.flex_left_soft{
    flex: 0.6;
}

.flex_right_soft{
    flex: 1;
    margin-left: 30px;
}

.Médisap-page {
    color: #000C92;
}

.slogan {
    margin-top: 6px;
    font-weight: 600;
    margin-right: 12.2%;
    font-size: 1.1vw;
}

.adresse{
    font-weight: 600;
}

.title-left{
    margin-left: 30px;
    margin-right: 30px;
}

.mini-box{
    padding: 7%;
    padding-bottom: 3%;
}

.mini-box2{
    padding: 2%;
}

.mini-box3{
    padding: 0%;
}

.mini-box4{
    padding-top: 1.8vw;
    padding-bottom: 1.8vw;
}

.mini-box5{
    padding: 5%;
    padding-bottom: 1%;
    padding-top: 1%;
}

.flex_major{
    flex: 1.35;
}

.titre-section{
    font-size: 25px;
    text-align: center;
}

.flex_ste{
    flex: 1;
    margin-left: 8px;
    margin-right: 8px;
    border-radius: 10px;
    padding: 8px;
    font-size: 15px;
    background-color: #F7F9FB;
}

nav {
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    flex-direction: row; 
    align-items: center;
}

.group_softwares{
    display: flex;
    flex-direction: row;
}

.img-accueil{
    margin-bottom: 15px;
    border-style: solid;
    border-color: white;
    border-width: 2px;
    border-radius: 10px;
    flex: 1;
    margin-left: 10px;
    margin-right: 10px;
}

.group_society{
    display: flex;
    flex-direction: column;
}

.svg-container {
    position: absolute;
    left: 15%; 
    right: 15%;
    width: 70%;
}



#footer{
    border-radius: 10px;
    padding: 10px;
}

.mentions{
    font-size: 12px;
}

.interligne{
    margin-bottom: 10px;
}

.softwares-list{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.softwares-list > div{
    margin-left: 5px;
    margin-right: 5px;
}

.titre-page{
    font-size: 16px;
}

b {
    font-family: 'Avenir LT Pro', sans-serif;
    font-weight: 800;
}

.box-title{
    font-family: 'Avenir LT Pro', sans-serif;
    font-size: 2.3vw;
}

.box-title2 {
    font-family: 'Avenir LT Pro', sans-serif;
    font-size: 38px;
}

h3 {
    font-size: 24px;
}

.btn-primary, .btn-light{
    display: block;
    margin: auto;
}

.btn-primary, .btn-light{
    text-decoration: none;
}

.container{
    width: 100%;
    
}

.contact{
    margin: auto;
    width: 65%;
}


.form-control, .form-select, #contact_submit{
    border-width: 2px;
    border-color: #000C92;
}

label{
    display: flex;
    justify-content: center;
}

ul{
    padding-left: 10px;
}

.Urgsap-box li, .Pharmsap-box li, .Qualisap-box li, .references-div li{
    margin-left: 1.5em;
    font-family: 'Avenir LT Pro', sans-serif;
    font-weight: bold;
    margin-bottom: -2px;
}

.Urgsap-box li::marker, .Pharmsap-box li::marker, .Qualisap-box li::marker, .references-div li::marker {
    color: red;
    font-size: 1.86vw;
    margin-bottom: -2px;
}

.Urgsap-box ul ul li, .Pharmsap-box ul ul li, .Qualisap-box ul ul li, .references-div ul ul li{
    list-style-type: none; 
    line-height: 150%;
    font-size: 1vw;
}

.Pharmsap-box ul ul li::before, .Qualisap-box ul ul li::before{
    content: "\2713"; 
    color: #2490A4; 
    font-size: 1.46vw;
    margin-right: 8px; 
    display: inline-block; 
}

.Urgsap-box ul ul li::before{
    content: "\2713"; 
    color: #00ABED; 
    font-size: 1.46vw;
    margin-right: 8px; 
    display: inline-block; 
}


.points { 
    line-height:1ex; 
    display:inline-block; 
    width: 100%; 
    border-bottom: 1px dotted; 
}

.space_points{
    width:100%;
    vertical-align:30%
}

.date{
    text-align: right;
}

td{
    white-space:nowrap; 
    height: 1.2em; 
    vertical-align:baseline
}

table{
    width: 100%;
}

.nom_sdis{
    text-align: center;
    background-color: white;
    width: 80%;
}

.img_box{
    height: 17.4em;
    padding-top: 10px;
}

.dcu{
    padding-bottom: 8%;
}

.reduced-spacing span {
    line-height: 1; /* Réduit l'espace entre les lignes */
}

.rotation{
    transform: rotate(4deg);
}

.text-refs{
    font-family: 'Avenir LT Pro', sans-serif;
}

.Pharmsap-box{
    background-color: #00A99A20;
}

.Urgsap-box{
    background-color: #00aaed20;
}

.Qualisap-box{
    background-color: #0092A620;
}

.btn-refs{
    background-color: #00aaed; 
    color: white; 
    margin-top: -40px; 
    position: relative; 
    z-index: 10;
}

.btn-refs:hover{
    background-color: #00aaed; 
    color: white; 
}

#image1, #image2, #image3, #image4 {
    display: none;
    position: absolute;
    top: -150px; /* Ajustez la position selon vos besoins */
    left: 60px;
    width: 350px; /* Taille de l'image */
    z-index: 100;
    border-style: solid;
    border-color: #000C92;
    border-width: 2px;
}

#text, #text2, #text3, #text4 {
    /*font-size: 20px;*/
    cursor: pointer;
}

/* Version mobile */

@media only screen and (max-width: 1300px) {
    body{
        font-weight: 300;
        margin-left: 10%;
        margin-right: 10%;
    }

    h3{
        font-size: 4vw;
    }

    .nav {
        flex-direction: column; 
        width: 100%; 
    }

    .box-title2{
        font-style: normal !important;
    }

    .svg-container{
        display: none;
    }

    .nav-item {
        margin-right: 10px; 
        font-size: 15px;
    }

    .slogan {
        display: none; 
    }

    .group_softwares {
        flex-direction: column; 
        margin: auto;
        align-items: center;
        justify-content: center;
    }

    .references-container .group_softwares {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes de largeur égale */
        gap: 20px; /* Espace entre les éléments (facultatif) */
        margin: auto;
        align-items: center;
        justify-content: center;
    }

    .softwares{
        width: 100%;
    }

    .big_image {
        width: 100%;
        height: auto; 
    }

    .small_image{
        width: 40%;
    }

    .group_softwares > div{
        margin-top: 15px;
    }

    .softwares-list{
        flex-direction: column;
    }

    #image1, #image2, #image3, #image4 {
    	display: none;
    	position: absolute;
    	top: -350px; /* Ajustez la position selon vos besoins */
    	left: 50px;
    	width: 250px; /* Taille de l'image */
    	z-index: 100;
    	border-style: solid;
    	border-color: #000C92;
    	border-width: 2px;
    }


    #logo{
        width: 40%;
        display: block;
        margin: auto;
        text-align: center;
    }

    .softwares-list{
        font-size: 14px;
    }

    video{
        width: 100%;
    }

    .separate{
        display: none;
    }

    .title-box {
        width: 60%;
    }

    .title-box2{
        width: 60%;
        background-color: #0077C6;
    }

    .title3{
        font-size: 20px;
    }

    .title4{
        font-size: 20px;
    }

    .box-title2{
        font-family: 'Avenir LT Pro', sans-serif;
        font-weight: bold;
    }


    .container{
        width: 100%;   
    }

    .img_box{
        height: 11.6em;
        padding-top: 10px;
    }

    .space_points{
        display: none;
    }

    .date{
        white-space: normal;
    }

    .typo{
        font-size: 18px;
    }

    .under2, .under3{
        display: none;
    }

    .flex_item2{
        padding-top: 3.4vw;
        padding-bottom: 3.4vw;
        transform: scale(1.2);
    }

    .Urgsap-box li::marker, .Pharmsap-box li::marker, .Qualisap-box li::marker {
        font-size: 4vw;
    }

    .mobile{
        display: none;
    }

    .rotation{
        width: 50%;
    }

    .zebra{
        width: 30%;
    }
    
    .titre-page{
        font-size: 20px;
    }

    .Pharmsap-box{
        width: 100%;
    }

    .Urgsap-box{
        width: 100%;
    }

    .Qualisap-box{
        width: 100%;
    }

    .Home-box{
        border-radius: 10px; 
    }

    #upcoming-event {
        top: 50%; left: 50%; /* à 50%/50% du parent référent */
        transform: translate(-50%, -50%); /* décalage de 50% de sa propre taille */
        width: 90%;
    }

    .contact{
        margin: auto;
        width: 100%;
    }

    .mini-box5{
        padding-left: 15%;
    }

    h4{
        font-weight: bold;
    }

    .Urgsap-box ul ul li, .Pharmsap-box ul ul li, .Qualisap-box ul ul li{
        font-size: 2.9vw;
        margin-bottom: 1px;
    }

    .Pharmsap-box ul ul li::before, .Qualisap-box ul ul li::before{
        font-size: 2.9vw;
        margin-bottom: 1px;
    }
    
    .Urgsap-box ul ul li::before{
        font-size: 2.9vw;
        margin-bottom: 1px;
    }

    .desktop{
        display: none;
    }

    .menu_mobile{
        background-color: #008ACC30;
        border-radius: 10px;
        transition: opacity 1s ease;
        display: none;
    }

    .menu_mobile.show{
        display: block;
        opacity: 1;
    }

    #menu {
        display: none;
        transition: opacity 0.3s ease;
    }
    #menu.show {
        display: block;
        opacity: 1;
    }    

    .mobile-refs{
        height: 50px;
    }

    .top{
        margin-top: 10%;
    }

    .home-title{
        margin-top: 6%;
        margin-bottom: 6%;
    }
    
    .nav-item:nth-child(-n+5){
        font-size: 17px;
    }

    #dekstop_only{
        display: none;
    }

    .btn-refs{
        background-color: #00aaed; 
        color: white; 
        bottom: 65%; 
        position: relative;
        z-index: 10;
    }

    .contact-container{
        background-color: white;
    }

}

/* Version dekstop */


@media only screen and (min-width: 1300px) {
    body{
        font-size: 0.9vw;
        font-weight: 300;
    }

    .titre-page{
        font-size: 1.5vw;
        margin-bottom: 0px;
        line-height: 0%;
    }

    .box-title2 {
        font-size: 3.4vw;
    }

    .softwares {
        height: 6vw;
        font-size: 0.7vw;
        font-weight: 900;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    h3{
        font-size: 1.4vw;
    }

    h4{
        font-size: 1.6vw;
        font-weight: bold;
    }

    h5{
        font-size: 1.3vw;
    }

    .nav-item:nth-child(-n+5){
        font-size: 1.2vw;
    }

    .nav-item:nth-child(7){
        font-size: 1vw;
        width: 17%;
    }

    .nav-item{
        width: 13%;
        font-size: 1.1vw;
    }

    .mini-box2, .mini-box{
        font-family: 'Avenir LT Pro', sans-serif;
    }

    .Urgsap-box, .Pharmsap-box, .Qualisap-box{
        font-size: 1.4em;
    }

    .img-accueil{
        height: 29vh;
        border-style: solid;
        border-width: 2px;
        border-radius: 15px;
    }

    .tablettes{
        position: absolute; 
        margin-top: 22%;
        margin-left: 19%;
    }

    .Home-box{
        padding-top: 75px;
        margin-top: -50px;
        padding-bottom: 25px;
        padding-left: 20px;
        padding-right: 20px;
        border-radius: 10px;
    }

    .mobile-only{
        display: none;
    }

    .cu_titre{
        font-size: 1.4em;
    }

    .mini-box5 li{
        font-size: 1.4em;
    }

    .modal-title{
        margin-left: 40%;
        display: block;
    }

    #upcoming-event {
        top: 50%; left: 50%; /* à 50%/50% du parent référent */
        transform: translate(-50%, -50%); /* décalage de 50% de sa propre taille */
        width: 50%;
    }

    .mobile-refs{
        height: 80px;
    }


}
