@font-face {
    font-family: 'Blogger Sans';
    src: url('./fonts/Blogger_Sans.otf') format('truetype');
}

body.page-teleconsultation{
    font-family: "Open Sans";
    position: relative;
}

.page-teleconsultation h1{
    border-radius:15px;
    background-color: #EFF2F6;
}

.page-teleconsultation h4{
    font-size: 30px !important;
}

.page-teleconsultation .navbar > a{
    color: white !important;
    font-size:30px;
}

.page-teleconsultation .navbar{
    height: 80px;
    background-color:#366EFF;
}

/*.container{
   margin-top: 80px;
}

.row{
    padding: 20px;
}*/

.page-teleconsultation #start{
    padding: 10px;
    width: 100%;
    position: relative;
    font-size: 20px;
    left: 250px;
}

.page-teleconsultation .btn_container{
    display: inline-flex;
}

.page-teleconsultation .restart_conversation{
    margin-left: 14px;
}


.page-teleconsultation .restart_conversation.enabled{
    -webkit-animation-name: relance;
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count:infinite;
}

@-webkit-keyframes relance {
    0%{box-shadow:0px 0px 10px #23389f;}
    50%{box-shadow:0px 0px 0px #23389f;}
    100%{box-shadow:0px 0px 10px #23389f;}
}

.page-teleconsultation .loader,
.page-teleconsultation .loader:before,
.page-teleconsultation .loader:after {
    background: #FFF;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}
.page-teleconsultation .loader:before,
.page-teleconsultation .loader:after {
    position: absolute;
    top: 0;
    content: "";
}
.page-teleconsultation .loader:before {
    left: -1.5em;
}
.page-teleconsultation .loader {
    text-indent: -9999em;
    margin: 8em auto;
    position: relative;
    font-size: 12px;
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.page-teleconsultation .loader:after {
    left: 1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.page-teleconsultation .containerSpinner {
    position: relative;
}

.page-teleconsultation .square-spinner-container{
    height: auto;
    bottom: 100%;
}

.page-teleconsultation span.msg_span{
    color: #FF7104;
}

.page-teleconsultation .teleconsultation-send-mail{
    font-size: 13px!important;
}

/*drive**/
.page-teleconsultation .teleconsultation-docs-container{
    margin-top: 10px;
}
.page-teleconsultation .ongletscadreteleconsult .dropdown{
    border-radius: 4px;
    font-size: 14px;
    padding: 8px 0;
}
.page-teleconsultation .ongletscadreteleconsult .dropdown .btn,
.page-teleconsultation .ongletscadreteleconsult .dropdown .btn:hover{
    color: white;
    border-radius: 30px;
}
.page-teleconsultation .ongletscadreteleconsult .dropdown .label{
    color: white;
    font-size: 100%;
}
.page-teleconsultation .ongletscadreteleconsult .btn.new-folder{
    color: white;
}
.page-teleconsultation .ongletscadreteleconsult .btn_sel{
    display: none!important;
}
.page-teleconsultation .telcons-bg-info{
    background-color: #0086b121;
    padding: 10px;
    border-radius: 10px;
}
.page-teleconsultation .telcons-mt-2{
    margin-top: 2em;
}
.page-teleconsultation .telcons-text-small{
    font-size: small !important;
}

/*NEW*/
body.page-teleconsultation{
    height: 100vh;
}
.page-teleconsultation .block-logo{
    position: absolute;
    top: 0px;
    left:0px;
    padding:10px;
    z-index: 10 !important;

}
.page-teleconsultation .container-teleconsultation{
    height: 100%;
    position: relative;
    transition: width 0.3S ease;
    z-index: 10;
}
.page-teleconsultation .titre-rdv-teleconsultation{
    position: absolute;
    top:10px;
    left:0;
    right: 0;
    z-index: 3;
    text-align: center;
}
.page-teleconsultation .titre-rdv-teleconsultation-nom{
    position: absolute;
    background: #6B96FF;
    color:white;
    width:40%;
    border-radius:10px;
    margin:0 auto;
    top:50px;
    left:0;
    right: 0;
    z-index: 10 !important;
    text-align: center;
    padding-bottom: 5px;
    padding-top: 5px;
}

.page-teleconsultation #myVideo{
    width: 200px;
    height: 200px;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 3;
}
.page-teleconsultation #receiverVideo {
    position: fixed;
    top:0;
    left:0;
    right: 0;
    bottom: 0;
    min-width: 100%;
    height: 100%;
    z-index: 1;
    max-width: 100%;
}
.page-teleconsultation .block-footer-teleconsultation{
    background: rgba(255,255,255,0.4);
    padding: 10px 5px;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 11;
}
.page-teleconsultation .block-message-alert{
    display: none;
}
.page-teleconsultation .block-info-patient{
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    z-index: 10;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.7s ease-in-out;
    padding: 15px;
    background-color: #CCD9FF;
}

.page-teleconsultation .block-info-patient.active{
    margin-right: 0px;
    transition: margin-right 1s ease-in-out;
    width: 30%;
    transform: translateX(0);
}
.page-teleconsultation:has(.block-info-patient.active) .container-teleconsultation {
    width: 100%;
}
.page-teleconsultation .block-info-patient .nav-info-patient > li{
    margin-left: 0;
}
.page-teleconsultation .block-info-patient .nav-info-patient > li a{
    text-align: center;
    border: 1px solid #FF7104;
    color:#FF7104;
    border-radius: 10px;
    width: 50px;
    margin-left: 20px;
}
.page-teleconsultation .block-info-patient .nav-info-patient > li a:visited,
.page-teleconsultation .block-info-patient .nav-info-patient > li a:link{
    color: #FF7104;
}
.page-teleconsultation .block-info-patient .nav-info-patient > li a:hover{
    background: #FF7104;
    color: white;
}
.page-teleconsultation .block-info-patient .nav-info-patient > li.active a{
    color: white;
}

.page-teleconsultation .block-info-patient .nav-info-patient >li.active>a:hover,
.page-teleconsultation .block-info-patient .nav-info-patient >li.active>a:focus{
    border: 1px solid #FF7104;
    background-color: #FF7104;
}

.page-teleconsultation .block-info-patient .list-group-item{
    margin-left: 0;
    border-radius: 30px;
    border: 1px solid #ddd;
    width: 300px;
}
.page-teleconsultation .block-message-alert-teleconsultation{
    position: absolute;
    top:0;
    left:0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
    background-color: white;
}

.page-teleconsultation .content-block-message-alert-teleconsultation{
    background-color: white !important;
}

.page-teleconsultation .content-block-message-alert-teleconsultation > div.error_return,
.page-teleconsultation .content-block-message-alert-teleconsultation > div.end_consultation,
.page-teleconsultation .content-block-message-alert-teleconsultation > div.containerSpinner > div.textspinner,
.page-teleconsultation .content-block-message-alert-teleconsultation > div.containerSpinner > div.textspinnerconnexion,
.page-teleconsultation .content-block-message-alert-teleconsultation > div.content_msg_error{
    background: white;
    border-radius: 30px;
    padding: 10px 20px;
    border: 1px solid #FF7104;
}

.page-teleconsultation .content-block-message-alert-teleconsultation > div.end_consultation{
    color: #FF7104;
}
/*drive*/
.page-teleconsultation .drivectn.teleconsultation .header .hdrbas{
    flex-direction: column-reverse;
    align-items: flex-start;

}

.page-teleconsultation .drivectn.teleconsultation .body .drive_item,
.page-teleconsultation .drivectn.teleconsultation .body .ctn_hdr {
    grid-template-columns: 5% 5% auto 20% 5% 20%;
}

.page-teleconsultation .drivectn.teleconsultation .body .ctn_hdr .hdr_owner,
.page-teleconsultation .drivectn.teleconsultation .body .ctn_hdr .hdr_size,
.page-teleconsultation .drivectn.teleconsultation .body .drive_item .owner,
.page-teleconsultation .drivectn.teleconsultation .body .drive_item .size {
    display: none;
}
.page-teleconsultation .drivectn.teleconsultation .body .ctn_hdr .hdr_desc,
.page-teleconsultation .drivectn.teleconsultation .body .drive_item .desc{
    width: 100%;
}
.page-teleconsultation .drivectn.teleconsultation .upload_ctn.ext{
    display: none;
}

@media (max-width: 768px) {
    .page-teleconsultation #btn_show_info_patient{
        font-size: 30px;
    }
}
.page-teleconsultation #btn_show_info_patient{
    border-radius: 30px;
    color: white;
    background-color: #FF7104;
    border: 1px solid #FF7104;
    border-radius: 30px;
}
.page-teleconsultation #btn_show_info_patient:hover{
    color: #FF7104;
    background-color: white;
}
.page-teleconsultation #btn_show_info_patient:focus{
    outline: none;
}

/*drive*/
.page-teleconsultation .drivectn .header .controls a i.fa,
.page-teleconsultation .drivectn .header .controls button i.fa{
    font-size: 30px;
    color: #797979;
}

.page-teleconsultation .tab-content {
    display: block;
}
.spinner-dots .elem1{
    background-color: #6B96FF;
    background: #6B96FF;
}
.spinner-dots .elem2{
    background-color: #366EFF;
    background: #366EFF;
}
.spinner-dots .elem3{
    background-color: #FF922F;
    background: #FF922F;
}
.spinner-dots .elem4{
    background-color: #FF7104;
    background: #FF7104;
}
.drivectn .header .controls .btn_remove i.fa,
.drivectn .header .controls .btn_share i.fa,
.drivectn .header .controls .btn_download i.fa,
.drivectn .header .controls .btn_type i.fa {
    font-size: 20px;
    color: #FF7104 ;
}

#popupendconsult .nav-pills>li.active>a,
#popupendconsult .nav-pills>li.active>a:hover,
#popupendconsult .nav-pills>li.active>a:focus {
    background-color: #FF7104;
}

#popupendconsult .nav-pills>li.active>a:hover,
#popupendconsult .nav-pills>li.active>a:focus {
    color: white !important;
    border-color: #FF7104 !important;
}

.page-teleconsultation .btn-default,
.page-teleconsultation .btn-default.btn-upload-file{
    background-color: #FF7104;
    border-color: #FF7104;
    color: white;
    border-radius: 30px;
}
.page-teleconsultation .btn-default.btn-upload-file:hover{
    background-color: #FF7104;
}

.page-teleconsultation .btn-default:hover,
.page-teleconsultation .btn-default:focus{
    background-color: white;
    color: #FF7104;
    outline: none;
}

.page-teleconsultation .block-logo img{
    width: 100px;
    height: 100px;
}

.page-teleconsultation legend{
    border-bottom: 0;
}
.page-teleconsultation .list-group{
    margin-left: 45px;
}

ul.nav.nav-pills.nav-stacked.nav-info-patient{
    margin-top: 50px;
}
.page-teleconsultation .infobulle{
    background-color: white;
    border-radius: 30px;
    color: #FF922F;
    border: 1px solid #FF922F;
}

.page-teleconsultation #drive_glb .body{
    font-size: 12px;
}
.page-teleconsultation #drive_glb .drivectn .body .ctn .drive_item{
    padding: 10px 0 10px 10px;
    font-size: 12px;
}

.page-teleconsultation #drive_glb .drivectn .ctn_hdr {
    padding: 10px 0 10px 10px;
    font-size: 12px;
    font-weight: bold;
}

.page-teleconsultation #drive_glb .drivectn .header{
    font-size: 12px;
}
.page-teleconsultation button{
    border-radius: 30px;
}
.page-teleconsultation #drive_glb .drivectn .header .controls *,
.page-teleconsultation #block_info_patient .drivectn .header .controls *,
.page-teleconsultation #drive_glb .drivectn .header .controls *::before,
.page-teleconsultation #drive_glb .drivectn .header .controls *::after,
.page-teleconsultation #block_info_patient .drivectn .header .controls *::before,
.page-teleconsultation #block_info_patient .drivectn .header .controls *::after
{
    font-size: 12px;
    font-weight: bold;
}

#drive_glb .hdrfilter .cat-change button, #block_info_patient .hdrfilter .cat-change button{
    font-size: 12px;
}

#block_info_patient .fa, #drive_glb .fa, #block_info_patient .fas, #drive_glb .fas{
    font-weight: 300;
    font-size: 15px;
}

.page-teleconsultation .form-control{
    border-radius: 30px;
}

#block_info_patient #info button, #block_info_patient #info input,
#block_info_patient #ajustPrix button, #block_info_patient #ajustPrix input,
#block_info_patient #comptrendu button, #block_info_patient #comptrendu input{
    border: none;
    border-radius: 30px;
    outline: none;
}

#block_info_patient #info button, #block_info_patient #info input[type="submit"],
#block_info_patient #ajustPrix button, #block_info_patient #ajustPrix input[type="submit"],
#block_info_patient #comptrendu button, #block_info_patient #comptrendu input[type="submit"]{
    background-color: var(--second-color-orange);
    color: white;
    border-color: var(--second-color-orange);
    padding: 5px 15px;
}
.pop_confirm_ubi h1{
    font-size:20px;
}
.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus
{
    outline: none;
}

/******** RESPONSIVE *******/
/***************************/
@media (max-width: 768px) {

    body:has(#block_info_patient.active) .container-teleconsultation {
        height: 40vh; /* 👈 reduced */
    }

    body.page-teleconsultation {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    .container-teleconsultation {
        position: relative !important;
        width: 100%;
        height: 80vh; /* default height */
        padding: 0;

    }

    #receiverVideo {
        position: relative !important;
        width: 100%;
        height: 100%;
        object-fit: cover; /* 👈 important */
    }

    #myVideo {
        position: absolute;
        width: 90px;
        height: 90px;
        bottom: 10px;
        right: 10px;
        z-index: 5;
    }


    .page-teleconsultation .container-teleconsultation {
        position: absolute;

    }

    .page-teleconsultation .block-logo {
        position: sticky;
        top: 0px;
        left: 0px;
        padding: 0px;
        z-index: 18 !important;
        margin: 0px;
    }
    h1, .h1, h2, .h2, h3, .h3 {
        margin-top: unset;
        margin-bottom: unset;
        font-size: 15px !important;
        font-weight: bold !important;
    }

    .page-teleconsultation .titre-rdv-teleconsultation-nom {
        position: relative;
        width: 90%;
        margin: 0 auto;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1 !important;
        text-align: center;
        padding-bottom: 5px;
        font-size: 15px !important;
        padding-top: 5px;
    }

    .page-teleconsultation #receiverVideo {
        display: block;
        position: absolute;
        top: 20%;
        left: 0;
        right: 0;
        bottom: 0;
        min-width: 80%;
        height: 30%;
        z-index: 1;
        max-width: 100%;
    }

    .page-teleconsultation #myVideo {
        width: 100px;
        height: 100px;
        right: 10px;
        z-index: 3;
        position: absolute;
        top: 7vh;
    }

    #block_info_patient {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top:unset;
        height: 0;
        max-height: 70vh;

        overflow: hidden;
        transition: height 0.3s ease;

        background: #CCD9FF;
        z-index: 9000;
        border-radius: 15px 15px 0 0;
    }
    .page-teleconsultation #block_info_patient.active {
        transform: translateY(0) !important;
        height: 60vh;
        overflow-y: auto !important;
        width: 100%;
    }

    .nav-pills>li.active>a:focus {
        outline: none;
    }

    .nav-info-patient {
        display: flex !important;
        flex-direction: row !important;
        width: 100%;
        justify-content: center;
    }

    .nav-info-patient li {
        flex: unset;
        text-align: center;
    }

    .nav-info-patient li a {
        padding: 10px 5px;
    }
    ul.nav.nav-pills.nav-stacked.nav-info-patient {
        margin-top: 0;
    }

    .page-teleconsultation #btn_show_info_patient {
        font-size: 12px !important;
    }

    .page-teleconsultation #end_receiver{
        font-size: 12px !important;
    }

    .page-teleconsultation .block-footer-teleconsultation {
        bottom: 0 !important;
        z-index: 9999 !important;
    }

    .page-teleconsultation .content-block-message-alert-teleconsultation > div.error_return,
    .page-teleconsultation .content-block-message-alert-teleconsultation > div.end_consultation,
    .page-teleconsultation .content-block-message-alert-teleconsultation > div.containerSpinner > div.textspinner,
    .page-teleconsultation .content-block-message-alert-teleconsultation > div.containerSpinner > div.textspinnerconnexion,
    .page-teleconsultation .content-block-message-alert-teleconsultation > div.content_msg_error {
        font-size: 12px !important;

    }

    .ubinotif{
        width: 100% !important;
    }

    .content-fieldset {
        padding-bottom: calc(100px + env(safe-area-inset-bottom));
    }

}