div#appointments-list > div.card-content {
    font-size:16px;
    padding: 0px 0px;
    position:relative;
    right:5px;
}
div#appointments-list > div.card-content > table {
    border-collapse: collapse;
    line-height:15px;
    text-align: left;
    margin:auto;
    width:100%;
}
div.appointment-in-list img {
    width: 1.2em;
    margin-top: 30px;
}
div.appointment-in-list.appointment-alone {
    margin: 1vh 2vh;
    font-size: 0.8em;
}
div.appointment-in-list.appointment-alone.appointment-detail {
    padding: 2vh;
}
div.appointment-in-list {
    margin-right: auto;
    margin: 0;
    padding: 1.5vh 1vh 1.5vh 2vh;
}
div#appointments-list div.appointment-in-list:nth-child(even) {
   background-color: #f3f3f4;
}

div.appointment-previous span.appointment-time {
    background-color: #aaaaaa;
}

span.appointment-time {
    display: block;
    width:80%;
    text-align: center;
    color: #FFF;
    background-color: rgb(0, 174, 239); /* @primary */
    padding: 4px;
    margin: 4px 2px;
    font-weight: bold;
}

span.appointment-day {
    display: block;
    width:80%;
    text-align: center;
    margin: 4px 2px;
    font-weight: bold;
    font-size:1.4em;
}

span.appointment-month {
    display: block;
    width:80%;
    text-align: center;
    margin: 4px 2px;
    font-weight: bold;
    text-transform: lowercase;
    padding-bottom: 4px;
    font-size:0.8em;
    overflow-x: hidden;
    min-width: 80%;
}
span.appointment-duration {
    display: block;
    width:80%;
    text-align: center;
    margin: 4px 2px;
    text-transform: lowercase;
    padding-bottom: 4px;
    font-size:0.9em;
    border-bottom: 1px #CCCCCC solid;
    overflow-x: hidden;
}

div.appointment-previous div.appointment-title {
    color: #aaaaaa;
}

div.appointment-title {
    font-weight: bold;
    color: rgb(0, 174, 239); /* @primary */
    font-size:1.3em;
    padding: 4px 4px 10px 4px;
}
div.appointment-struct {
    padding: 2px 2px;
}

div.appointment-location,
div.appointment-doctor,
div.appointment-org{
    padding: 2px 4px;
    margin-top: 0px;
}

div.appointment-location i.fa,
div.appointment-struct i.fas,
div.appointment-doctor i.fa,
div.appointment-org i.fa {
    color: rgb(0, 174, 239); /* @primary */
    margin-right: 4px;
}


div.appointment-previous div.appointment-location i.fa,
div.appointment-previous div.appointment-struct i.fas,
div.appointment-previous div.appointment-doctor i.fa,
div.appointment-previous div.appointment-org i.fa {
    color: #aaaaaa;
}


div#appointments-list > div.card-content > table .detailapp
{
    padding: 10px;
    margin: 0;
    width: 30px;
    white-space: nowrap;
}
div#appointments-list {
    margin-bottom:3.4rem;
}

div.card-appointment > div.appointment-container {
    display: table;
    width:100%;
    min-height: 3em;
}
div.appointment-container > div {
    display: table-cell;
    padding: 0em 0.3em;
    font-weight:400;
    font-size: 16px;
}
div.appointment-date {
    width: 40.8%;
    text-align:right;
}
div.card-actions {
    font-size:16px;
}
div.appointment-detail {
    width: 60%;
    text-align:left;
}
div.card-appointment div.action-appointment-confirmok {
    color: rgb(139, 197, 65);
}
div.card-appointment div.action-appointment-confirmko {
    color: rgb(193, 38, 46);
}
div.card-appointment div.action-appointment-edit {
    color: blue;
}
div.card-actions div.action > div.action-label-container > div.action-text-confirmed {
    padding-left:3px;
    color:green;
    font-weight: bold;
}
div.card-actions div.action > div.action-label-container > div.action-text-canceled {
    padding-left:3px;
    color:red;
    font-weight: bold;
}
div.card-actions div.action > div.action-label-container > div.action-text-edited {
    padding-left:3px;
    color:blue;
    font-weight: bold;
}
.textgrey {
    color: grey;
}
.flipimg
{
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
}

.button-take-appointment {
    margin-top: -5px;
}
div.card-appointment >  div.card-title > div.button {
    border-radius: 5px;
    text-align: center;
    padding:7px;
}
div.card.card-appointment > div.card-title-appqrcode {
    background-image: url("../../shared/assets/img/menu_administrative.svg");
}
div.card.card-appointment > div.card-title-appinfo {
    background-image: url("../../shared/assets/img/menu_about.svg");
}
div.card.card-appointment > div.card-title-apptmap a {
    color: rgb(0, 174, 239); /* @primary */
    text-decoration: none;
}

div.appointment-notice-container {
    margin-top: 15px;
    padding-bottom: 20px;
    padding-left: 4vw;
    padding-right: 4vw;
}

div.appointment-container.appointment-notice {
    font-size: 0.9em;
}

#appointments-create {
    text-align: center;
    vertical-align: middle;
    height: 80px;
    padding-top: 5px;
}

#appointments-create div.card-appointment-button {
    background-color: rgb(0, 174, 239); /* @primary */
    color: white;
    margin: 20px;
    font-size: 0.9em;
    padding: 5px;
}

#appointments-create span {
    margin-top: -20px;
    display: inline-block;
}


#appointments-create img {
    width: 30px;
    margin-right: 10px;
    margin-left: -25px;
}

div.appointment-container-cancelled div.appointment-title,
div.appointment-container-cancelled div.appointment-location i.fa,
div.appointment-container-cancelled div.appointment-struct i.fas,
div.appointment-container-cancelled div.appointment-doctor i.fa,
div.appointment-container-cancelled div.appointment-org i.fa {
    color: darkred;
}

div.appointment-container-cancelled span.appointment-time {
    background-color: darkred;
}

div.appointment-cancelled {
    background-color: darkred;
    color: white;
    text-align: center;
    padding: 8px !important;
}

div.appointment-status-created {
    color: rgb(251, 175, 59);
    padding: 0px 5px 3px 5px;
}

div.appointment-status-cancelled {
    color: darkred;
    padding: 0px 5px 3px 5px;
}

div.appointment-status-waitlist {
    color: rgb(237, 33, 124);
    padding: 0px 5px 3px 5px;
}

div.appointment-container-waitlist span.appointment-time {
    text-decoration: line-through;
}

div.appointment-container-waitlist span.appointment-day,
div.appointment-container-waitlist span.appointment-month,
div.appointment-container-waitlist span.appointment-duration { /* fixed a typio while merging */
    text-decoration: line-through;
}


div.appointment-container-waitlist span.appointment-time {
    background-color: rgb(237, 33, 124);
}

div.appointment-container-waitlist div.appointment-title,
div.appointment-container-waitlist div.appointment-location i.fa,
div.appointment-container-waitlist div.appointment-struct i.fas,
div.appointment-container-waitlist div.appointment-doctor i.fa,
div.appointment-containter-waitlist div.appointment-org i.fa {
    color: rgb(237, 33, 124);
}

div.appointment-callup {
    font-size:0.9em;
    text-align: center;
    padding: 8px !important;
}

div.appointment-callup i.fa {
    padding-right: 8px;
    color: rgb(0, 174, 239); /* @primary */
}

div.appointment-callup span.appointment-callup-time {
    font-weight: bold;
    color: rgb(0, 174, 239); /* @primary */
}

.appointment-button-qrcode {
    text-align: left;
    width: 70%;
    padding: 5px;
    color:rgb(0, 174, 239);
    background: none;
    border: none;
}

.appointement-detail-address-type{
    text-align: center;
    font-weight: 600;
}

.appointement-detail-address{
    text-align: center;
    font-style: italic;
}

md-dialog.modal-appointment-qrcode {
    top: 0px;
    position: absolute;
    min-width: 80%;
    border-radius: 0px;
    padding: 0px;
    height: 100%;
    min-height: 100%;
}
md-dialog-content.modal-content-appointment-qrcode {
    min-height: 85%;
}
md-toolbar.modal-title-appointment-qrcode {
    color: rgb(0, 174, 239);
    padding-top: 20px;
    background-color: white;
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid rgb(0, 174, 239);
}

div.patient-teleconsultation-room {
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: 80;
    background-color: black;
    background-image: url("../../shared/assets/img/telecs_background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    top: 0px;
    min-height: 100vh;
    left: 0px;
    text-align: center;
}

div.patient-teleconsultation-room div#video {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 81;
}
div.patient-teleconsultation-room div#video div#video-window {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 84;
}

body.layout-landscape div.patient-teleconsultation-room div#video div#video-window {
    z-index:84;
}

div.patient-teleconsultation-room div#video div#video-window video{
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    object-position: center;
    object-fit: cover;
}
div.patient-teleconsultation-room div#video div#video-window canvas{
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    object-position: center;
    object-fit: cover;
}

body.layout-landscape div.patient-teleconsultation-room div#video div#video-window video{
    z-index:84;
}

div.patient-teleconsultation-room div#video div#video-preview {
    z-index: 85;
    max-width: 40vw;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

body.layout-landscape div.patient-teleconsultation-room div#video div#video-preview{
    z-index:84;
}

div.patient-teleconsultation-room div#video div#video-preview video{
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    object-position: center;
    object-fit: cover;
}

body.layout-landscape div.patient-teleconsultation-room div#video div#video-preview video{
    max-width: 350px;
}
div.patient-teleconsultation-room div#video div#video-preview canvas{
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    object-position: center;
    object-fit: cover;
}



div.teleconsultation-stream-action



div.patient-teleconsultation-room .big-wait {
    margin-top: 40px;
    font-size: 40px;
    color: rgb(0, 174, 239); /* @primary */
}
div.patient-teleconsultation-room.loading .big-wait {
    margin-top: 45vh;
}

div.patient-teleconsultation-room #teleconsultation-welcome {
    font-size: 18px;
    position: absolute;
    z-index: 81;
    width:100%;
    text-align: center;
    line-height: 24px;
    top: 30px;
    color: white;
    padding: 10px 10%;
}


div.patient-teleconsultation-room #teleconsultation-welcome img {
    margin-top:10px;
    width: 72px;
    height:72px;
}

div.patient-teleconsultation-room #teleconsultation-progress,
div.patient-teleconsultation-room #teleconsultation-manual-ending {
    font-size: 18px;
    position: absolute;
    z-index: 81;
    width:100%;
    line-height: 24px;
    text-align: center;
    top: 270px;
    color: white;
    padding: 10px 10%;
}

div.patient-teleconsultation-room #teleconsultation-manual-ending span {
    color: white;
    text-decoration: underline;
}

div.patient-teleconsultation-room #teleconsultation-manual-ending > div {
    margin-bottom:20px;
}

div.patient-teleconsultation-room .teleconsultation-stream-actions {
    position: fixed;
    bottom: 20px;
    display: block;
    z-index: 81;
}

div.patient-teleconsultation-room.connected .teleconsultation-stream-actions {
    width: 100%;
    left: 50%;
    bottom: -30px;
    transform: translate(-50%, -50%);
}

div.patient-teleconsultation-room .md-button.teleconsultation-quit {
    text-align: center;
    font-size: 20px;
    padding-top: 3px;
    background-color: red;
}

div.patient-teleconsultation-room .retry {
    text-decoration: underline;
    margin-top: 10px;
    display: block;
}

div.patient-teleconsultation-room.loading .md-button.teleconsultation-quit {
    bottom: 60px;
}

div.patient-teleconsultation-room #teleconsultation-actions {
    position: absolute;
    z-index: 81;
}

div#teleconsultation-modal-background {
    opacity: 0.5;
    background-color: grey;
    height:100%;
    width:100%;
    position: fixed;
    top:0;
    left: 0;
    z-index: 95;
}

div.teleconsultation-index {
    z-index: 101;
    width: 0%!important;
}

md-input-container.telecs-container-input {
    width: 80%;
}

.telecs-setting-label {
    text-align: start;
}

div#teleconsultation-modal {
    background-color: white;
    position: fixed;
    top:20vh;
    z-index: 100;
    padding: 5%;
    font-size: 0.9em;
    width:70vw;
    height:45vh;
    margin-left:15vw;
}

body.layout-landscape div#teleconsultation-modal {
    max-width: 600px;
    margin-left: 0px;
    padding: 5px;
    max-height: 300px;
}

body.layout-landscape div#teleconsultation-modal div#form-modal-title{
    padding: 15px;
}


body.layout-landscape div#teleconsultation-modal div#form-modal-content {
    min-height: 100px;
}


div#teleconsultation-modal-title {
    color: rgb(0, 174, 239);
    padding-bottom:5%;
    text-align: center;
    border-bottom: solid 1px #e0e0e0;
    margin-bottom: 10%;
    width:100%;
}

div#teleconsultation-modal div#form-modal-content {
    max-height:70vh;
    overflow-y: auto;
    width:100%;
    text-align: center;
}

div#teleconsultation-modal div.popup-buttons {
    margin:0px;
}

div#teleconsultation-modal div.popup-buttons div.popup-red {
    background-color: red;
}

div.telecs-icon-container {
    text-align: center;
}

div.telecs-icon-container i {
    margin-top: 23px;
    padding-right: 12px;
}

div.card-teleconsultation-consent {
    margin: 20px;
    max-height: calc(100vh - 40px);
}


body.layout-landscape div.card-teleconsultation-consent {
    margin: 20px auto;
    max-width: 600px;
}

div.card-teleconsultation-consent div.card-content {
    max-height: calc(100vh - 86px);
}

div.card-teleconsultation-consent div.consent-text {
    margin-top: 10px;
    margin-left:auto;
    margin-right:auto;
    padding: 0px 10px;
    text-align: justify;
}

div.card-teleconsultation-consent div.consent-text h2 {
    text-align: left;
    font-size: 18pt;
}

/* BOOKINGS */
div#bookings-list > div.card-content {
    font-size:16px;
    padding: 0px 0px;
    position:relative;
    right:5px;
}
div#bookings-list > div.card-content > table {
	border-collapse: collapse;
	line-height:15px;
	text-align: left;
	margin:auto;
	width:100%;
}
div#bookings-list div.appointment-in-list:nth-child(even) {
   background-color: #f3f3f4;
}

span.appointment-bookings-time {
    display: block;
    width:80%;
    text-align: center;
    color: #FFF;
    background-color: rgb(251, 175, 59); /* @secondary */
    padding: 4px;
    margin: 4px 2px;
    font-weight: bold;
}

span.appointment-bookings-day {
    display: block;
    width:80%;
    text-align: center;
    margin: 4px 2px;
    font-weight: bold;
    font-size:1.4em;
}
div.appointment-bookings-title {
    font-weight: bold;
    color: rgb(251, 175, 59); /* @secondary */
    font-size:1.3em;
    padding: 4px 4px 10px 4px;
}
div#bookings-list > div.card-content > table .detailapp {
    padding: 10px;
    margin: 0;
    width: 30px;
    white-space: nowrap;
}
div#bookings-list {
    margin-bottom:3.4rem;
}
div.appointment-bookings-status-created {
    color: rgb(251, 175, 59); /* @secondary */
    padding: 0px 5px 3px 5px;
}
div.appointment-bookings-reason,
div.appointment-bookings-doctor{
    padding: 2px 4px;
    margin-top: 0px;
}
div.appointment-bookings-reason i.fas,
div.appointment-bookings-doctor i.fa {
    color: rgb(251, 175, 59); /* @secondary */
    margin-right: 4px;
}
.image-map {
    max-width: 80%;
}

.image-container {
    width: 100%;
    text-align: center;
}

md-dialog.modal-rate-teleconsultation {
    position: absolute;
    min-width: 80%;
    border-radius: 0px;
    padding: 0px;
    height: 50%;
    min-height: 50%;
}
md-dialog-content.modal-content-rate-teleconsultation {
    height: 65%;
}
md-toolbar.modal-title-rate-teleconsultation {
    color: rgb(0, 174, 239);
    padding-top: 20px;
    background-color: white;
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid rgb(0, 174, 239);
}
div.explain-rate-teleconsultation {
    text-align: center;
    padding-top: 15px;
}
div.modal-content-stars-teleconsultation {
    margin-top: 70px;
    text-align: center;
    font-size: 40px;
    color:yellow;
}

.appointment-rate-teleconsultation {
    text-align: left;
    width: 70%;
    padding: 5px;
    color:rgb(0, 174, 239);
    background: none;
    border: none;
}

.joinTeleconsultation {
    width: 100%;
    display: flex;
    justify-content: center;
}

#appointments-detail-reports p {
    padding-bottom: 16px;
}

/* REPORTS UPLOADED BY PATIENT */
/* #appointments-detail-reports-fromPatient p {
    padding-bottom: 16px;
} */

#appointments-detail-reports-fromPatient #importButton {
    display: flex;
    justify-content: center;
    padding-bottom: 12px;
}

#appointments-detail-reports-fromPatient #importButton button {
    padding: 0px 8px;
}

#appointments-detail-reports-fromPatient #patientImport {
    visibility: hidden;
    width: 0px;
}

#appointments-detail-reports-fromPatient .reports_fromPatient {
    margin: 16px 0px;
}

#appointments-detail-reports-fromPatient .reportContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0px 20px;
    padding: 8px 0px;
    border-top : 1px solid #e0e0e0;
    border-bottom : 1px solid #e0e0e0;
    color: #999999;
}

#appointments-detail-reports-fromPatient .reportContainer p {
    margin: 0px;
    font-size: 14px;
}

#appointments-detail-reports-fromPatient .reports_fromPatient .reportContainer:first-child {
    border-top: none;
    border-bottom: 1px solid #e0e0e0!important;
}

#appointments-detail-reports-fromPatient .reports_fromPatient .reportContainer:last-child {
    border-top: 1px solid #e0e0e0!important;
    border-bottom: none;
    margin-bottom: 24px;
}

#appointments-detail-reports-fromPatient .reportTitle {
    width: 50%;
    word-break: break-all;
}

#appointments-detail-reports-fromPatient .reportType {
    width: 40%;
    text-align: center;
}

#appointments-detail-reports-fromPatient .trashIcon {
    width: 10%;
    color: #f6921e;
    text-align: center;
}

#appointments-detail-reports-fromPatient .trashIcon:hover {
    cursor: pointer;
}

#appointments-detail-reports-fromPatient .fileUploadSpinner, #appointments-detail-reports-fromPatient .fileUploadError {
    padding-bottom: 16px;
    display: flex;
    justify-content: center;
}

#appointments-detail-reports-fromPatient .fileUploadSpinner i {
    margin-right: 8px;
}

#appointments-detail-reports-fromPatient .fileUploadError span {
    color : red;
}
.appointment-teleconsult-text {
    text-align: center;
}

.appointment-teleconsult-material-error {
    text-align: center;
    color : red;
}

.appointment-teleconsult-material-success {
    color : green;
}

#label-for-patientImport {
    display: inline-block;
    position: relative;
    cursor: pointer;
    height: 36px;
    min-width: 88px;
    line-height: 36px;
    vertical-align: middle;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    text-align: center;
    border-radius: 2px;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    border: 0;
    padding: 0 6px;
    margin: 6px 8px;
    background: rgb(0,174,239);
    color: rgb(255,255,255);
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    font-style: inherit;
    font-variant: inherit;
    font-family: inherit;
    text-decoration: none;
    overflow: hidden;
    -webkit-transition: box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1);
    transition: box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1);
}

#label-for-patientImport i {
    color: white !important;
}

.appointment-title-icon{
    display: inline-block;
}
div#teleconsultation-latency {
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 100;
}

div#teleconsultation-latency.good {
    color: rgb(139, 197, 65);
}

div#teleconsultation-latency.medium {
    color: darkgoldenrod;
}

div#teleconsultation-latency.poor {
    color: firebrick;
}

div#teleconsultation-latency.awful {
    color:  darkred;
}

.appointment-orderBy{
    display: flex;
    justify-content: center;
    margin: 0.6em auto;
    text-shadow: 1px 2px 1px lightslategrey;
    border: none;
    box-shadow: 1px 1px 5px 1px lightslategrey;
    padding: 0.2em;
    font-size: 1em;
}

.appointment-reservation-button-container{
    display: flex;
    justify-content: center;
}

.appointment-reservation-button{
    margin: 2em 3em;
}

.appointment-reservation-label{
    margin: 0.5em 1em 0 1em;
}

.appointment-reservation-informations {
    margin: 1em;
    font-style: italic;
    font-weight: 300;
    color: grey;
}

.appointment-reservation-button-notPicked{
    color: rgb(255,255,255)!important;
    background-color: rgb(143 143 143)!important;
}

#appointment-reservation-iframe{
    width: 100%;
    height: 100vh;
}

div.card-appointment.card-appointment-teleguidance {
    text-align: center;
}

.appointment-teleguidance-button {
    margin-top: 10px;
    margin-bottom: 10px;
}
