@import url('https://fonts.googleapis.com/css2?family=Karla:wght@700&display=swap');
@import url('colors.css');

body {
	font-family: "Montserrat", -apple-system, "Segoe UI", Roboto, "Hevetica Neue", sans-serif;
	overflow-x: hidden;
	font-weight: bold;
	color: var(--text-color);
	background: var(--bg-color) !important;

}

html, body {
	margin: 0;
	min-height: 100vh;
}


.navbar-light {
	background-color: white;
	margin-bottom: 0;
}

.navbar-left {
	padding: 7px 0;
}

.align-center {
	height: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
}

.row-eq-height {
	display: flex;
	flex-flow: row wrap;
	margin-bottom: 20px;
}

.panel-fullheight {
	height: 100%
}

.panel-black {
	border-width: 2px;
	border-color: #dbdbdb;
	border-radius: 25px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.panel-blue {
	border-width: 2px;
	border-radius: 25px;
	background-color: #E7F5FF;
	height: 100%; 
	position: relative; 
	left: -18px; 
	margin-top: 10px;
}

.panel-black > .panel-heading {
	background: #ffffff;
	color: #626262;
	border-color: #ffffff;
	border-radius: 25px 25px 0px 0px;
}

.panel-bordered > .panel-heading {
	position: relative;
	z-index: 1;
}

.history-panel {
	position: relative;
	left: 15px;
}

.top-history-panel {
	margin-top: 9px;
}



/* add a line underneath panel heading */
.panel-bordered > .panel-heading::before {
	content: "";
	position: absolute;
	left: 5%;
	bottom: 0;
	height: 1px;
	width: 90%;
	border-bottom: 2px solid #dbdbdb;
}

.vitals-dot{
	height: 20px;
	width: 20px;
	background-color: #8bd9a0;
	border-radius: 50%;
	/* display: inline-block; */
	position: relative;
	top: -8px;
	left: 5px;
  }

  .vitals-dot-error{
	height: 20px;
	width: 20px;
	background-color: #FF0000;
	border-radius: 50%;
	/* display: inline-block; */
	position: relative;
	top: -8px;
	left: 5px;
  }

  .vitals-dot-warn{
	height: 20px;
	width: 20px;
	background-color: #FFD850;
	border-radius: 50%;
	/* display: inline-block; */
	position: relative;
	top: -8px;
	left: 5px;
  }



.vitals-value {
	color: #8bd9a0;
	font-size: 4em;
	font-weight: bold;
	/* padding-left: 12%; */
}


.vitals-value-blood-pressure{
	color: #8bd9a0;
	font-size: 47px;
	font-weight: bold;
}


.vitals-value-error {
	color: #FF0000;
	font-size: 4em;
	font-weight: bold;
}

.vitals-value-warn {
	color: #FFD850;
	font-size: 4em;
	font-weight: bold;
}

.vitals-value-history {
	color: #8bd9a0;
	font-size: 2em;
	font-weight: bold;
}

.vitals-value-history-warn {
	color: #FFD850;
	font-size: 2em;
	font-weight: bold;
}

.vitals-value-history-error {
	color: #FF0000;
	font-size: 2em;
	font-weight: bold;
}

.login-header {
	padding: 20px;
	display: block;
	margin: auto;
}

.btn-solid {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
    background-color: var(--text-hl-color);
    color: white;
    border-radius: 40px;
    font-size: 20px;
	font-weight: 600;
    padding: 5px 20px;
	text-decoration: none;
}


.btn-inverted {
	display: flex;
	align-items: center;
	justify-content: center;
    background-color: var(--container-color);
	border: solid 2px var(--text-hl-color);
    color: var(--text-color);
    border-radius: 40px;
    font-size: 20px;
	font-weight: 600;
    padding: 5px 20px;
	text-decoration: none;
}
.btn-inverted-dark {
	display: flex;
	align-items: center;
	justify-content: center;
    background-color: var(--white-dark-color);
	border: solid 2px var(--text-hl-color);
    color: var(--text-color);
    border-radius: 40px;
    font-size: 20px;
	font-weight: 600;
    padding: 5px 20px;
}

.btn-green {
	background: #8BD9A0;
	color: #ffffff;
	border-radius: 24px;
	font-size: medium;
}

.round {
	border-radius: 24px;
	font-size: large;
	font-weight: bold;
}

.btn-green:hover {
	background: #04AA6D;
	color: #ffffff;
	
}
.textarea {
	border-radius: 20px;
	width: 75%;
	margin-left: 55px;
}

.modal-header {
    border-bottom: 0 none;
	padding: 0rem;
}

.parallax {
	background-image: url("https://res.cloudinary.com/dbbix7rjg/image/upload/v1624515648/landing-page/background_fdqvzx.svg");
	min-height: 100vh;
	background-attachment: fixed;
	background-position: center;
	background-repeat: repeat-y;
	background-size: cover;
}

.darkBackground {
	background-color: grey !important;
}

.vertical {
	border-left: 3px solid #CECECE;
	height: 70%;
	position:absolute;
	left: 55%;
	top: 8%;
}

.lastReading {
	text-align: center; 
	font-family: Montserrat;
	font-style: normal;
	font-weight: 600;
	font-size: 30px;
	line-height: 50px;
	color: #A5A5A5;
	
}

.historyReadingTime {
	text-align: center; 
	font-family: Montserrat;
	font-style: normal;
	font-weight: 600;
	font-size: 30px;
	line-height: 50px;
	color: #626262;
}

.readingDateBlue {
	text-align: center; 
	font-family: Montserrat;
	font-style: normal;
	font-weight: 600;
	font-size: 20px;
	line-height: 50px;
	color: #5397C8;
	
}

.datePickerButtonBlue{
	width: 140px;
	height: 45px;
	font-family: Montserrat;
	font-size: 17px;
	font-style: normal;
	letter-spacing: 2.5px;
	font-weight: 600;
	color: #5397C8;;
	background-color: #fff;
	border: none;
	border-radius: 45px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	transition: all 0.3s ease 0s;
	cursor: pointer;
	outline: none;
	position: relative;
}

.readingTimeHistoryBlue {
	text-align: center; 
	font-family: Montserrat;
	font-style: normal;
	font-weight: 900;
	font-size: 35px;
	line-height: 50px;
	color: #5397C8;
	float: right;
	position: relative; 
	left: -20%;
	top: 20px
	

	
}

.username {
	font-family: Montserrat;
	font-style: normal;
	font-weight: bold;
	font-size: 40px;
	text-align: center;
	color: #626262;
	margin-left: 40px;
}

.vitalsRangeHeader {
	font-family: Montserrat;
	font-style: normal;
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	color: #626262;
	padding-right: 50px;
	top: -15px;
	position: relative;
	top: -7px; 
	left: -60px;
}

.vitalsRangeHeaderError {
	font-family: Montserrat;
	font-style: normal;
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	color: #626262;
	padding-right: 50px;
	/* top: 45px;
	position: relative; */
}




.vertical_header {
	border-left: 3px solid #CECECE;
	height: 70px;
	position: relative;
	left: 50%;
	top: 3%;
}



.vertical {
	border-left: 3px solid #CECECE;
	height: 180px;
	position:absolute;
	left: 53%;
	top: 8%;
}

@media only screen and (max-width: 800px) {
	.vertical_header {
		display: none;
		visibility: hidden;
	}

	.vertical {
		height: 140px;
	}
  }

.panel_heading_updated{
	font-family: Montserrat;
	font-style: normal;
	font-weight: bold;
	font-size: 18px;
	padding-top: 10px;
	text-align: center;
	color: #626262;
}

.panel_heading_history{
	font-family: Montserrat;
	font-style: normal;
	font-weight: bold;
	font-size: 15px;
	padding-top: 10px;
	text-align: left;
	color: #626262;
	padding-left: 5%;
}


.panel_heading_history_doc_notes{
	font-family: Montserrat;
	font-style: normal;
	font-weight: bold;
	font-size: 18px;
	padding-top: 10px;
	text-align: left;
	color: #626262;
	padding-left: 5%;
	margin-bottom: 20px;
}

.modal_heading_history{
	font-family: Montserrat;
	font-style: normal;
	font-weight: bold;
	font-size: 27px;
	text-align: left;
	color: #626262;
}


.panel_heading_blue_card{
	font-family: Montserrat;
	font-style: normal;
	font-weight: bolder;
	font-size: 18px;
	padding-top: 10px;
	text-align: center;
	color: #626262;
}

button.mbtn {
	padding:0.6em 2em;
	border-radius: 30px;
	color:#fff;
	background-color:#5397C8;
	font-size:20px;
	border:0;
	cursor:pointer;
	margin:1em;
	left: 50%;
	margin-left: 40%;
  }

  .btnm {
	padding:0.6em 2em;
	border-radius: 30px;
	color:#fff;
	background-color:#5397C8;
	font-size:20px;
	border:0;
	cursor:pointer;
	margin:1em;
	left: 50%;
	margin-left: 40%;
  }

  button.mbtnSmall {
	padding:0.6em 2em;
	border-radius: 30px;
	color:#fff;
	background-color:#5397C8;
	font-size:14px;
	border:0;
	cursor:pointer;
	margin:1em;
	width: 100%;
  }

  .buttonSmall {
	padding:0.6em 2em;
	border-radius: 30px;
	color:#fff;
	background-color:#5397C8;
	font-size:14px;
	border:0;
	cursor:pointer;
	margin:1em;
	width: 100%;
	position: relative; 
	left: -20%;
  }


  .readingUnit {

	font-family: 'Karla', sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 15px;
  
	color: #A5A5A5;
  }

  .readingUnitBP {
	font-family: 'Karla', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 17px;
	color: #545454;
  }

  .todays-reading {

	font-family: Karla;
	font-style: normal;
	font-weight: bold;
	font-size: 13px;
	color: #959595; 
  }

  .todays-reading-bp{
	font-family: Karla;
	font-style: normal;
	font-weight: bold;
	font-size: 13px;
	color: #959595; 
	padding-left: 8%;
  }

  .modal {
	text-align: center;
	padding: 0!important;
  }
  .modal:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -4px;
  }
  .modal-dialog {
	display: inline-block;
	text-align: left;
	vertical-align: middle;
  }
 
  .header-image {
	width: 60%;
	position: relative;
	left: 10px;
  }

.modal-width90 {
	width: 90%;
}

.bp-divider {
	width: 42px;
	margin: auto;
	border-bottom: 4px solid #D4D4D4;
	position:relative;
	right: 45px;
	top: 38px;
}

.systolic-val {
	position: absolute;
	bottom: 0px;
	left: -2px;
	text-align: center;
	margin: auto;
}

.diastolic-val {
	position: absolute;
	top: 4px;
	text-align: center;
	margin: auto;
}

.bp-unit {
	position: absolute;
	top: -10px;
	left: 55px;
}
  

  @media (min-width: 768px) {
	.modal-xl {
	  width: 90%;
	  max-width:1200px;
	}
  }

  .body-temp-circular-chart{
	padding-left: 20%; 
	position: relative; 
	top: -15px; 
	right: 10px;
  }


  
.vitals-value-breathing-rate {
	color: #8bd9a0;
	font-size: 64px;
	line-height: 78px; /* 121.875% */
	letter-spacing: 0.64px;
	font-weight: bold;

	margin-bottom: -10px;
}


.readingUnitBreathingRate {

	font-family: Montserrat;
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0.2px;
	
	color: #A5A5A5;
}
  
  .hr-class {
	width: 40px; margin:0 auto; border: 1.5px solid #125382;
	border-radius: 2px;
  }


  .todays-reading-breathing {
	font-family: Karla;
	font-style: normal;
	font-weight: bold;
	font-size: 13px;
	color: #959595; 
	padding-left: 10%;
  }

.close {
	position: absolute;
	right: 20px;
	width: 35px;
	top: 20px;
	z-index: 10;
}

.green-border {
	border-left: 4px solid #9CCDAA;
	position: absolute;
}

.page-alert {
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 10;
}
.btn-dark-mode {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border-color: grey;
  }

@media (min-width: 768px) {

	.green-border {
		height: 250px;
		top: 35%;
	}

	.todays-reading-history {
		position: absolute;
		left: -30%;
	}

	.daily-hi-lo-history-oxy-temp {
		position: relative;
		left: -30px;
	}

	.daily-hi-lo-history-bp {
		position: relative;
		left: -60px;
	}

	#oxygenChartHistoryLog {
		position: relative;
		top: -10px;
		left: -10%;
	}

	#oxygenChartHistoryLogDate {
		position: relative;
		top: -10px;
		left: -10%;
	}

	#temperatureChartHistoryLog {
		position: relative;
		top: -10px;
		left: -10%;
	}

	#temperatureChartHistoryLogDate {
		position: relative;
		top: -10px;
		left: -10%;
	}
	
	#bloodPressureAreaChartHistoryDate {
		position: relative;
		left: -50%;
		bottom: 20px;
		display: none;
	}

	.round {
		width: 20%;
	}
	
	.btn-green {
		width: 30%
	}

}

@media (max-width: 991px ) and (min-width: 768px) {

	#ui-datepicker-div { 
		position: fixed !important;
		left: 40%!important;
		top: 8em !important;
	} 

	#oxygenAreaChart {
		width: 80% !important;
	}

	.header-image{
		position: relative;
		left: 58%;

	}

	#oxygenChart {
		position: relative;
		left: -13%;
	}

}

@media (min-width: 360px) and (max-width: 767px) {
	
	.header-image {
		position: relative ;
		left: 75% ;
	  }
	
	  .buttonSmall{
		  position: relative !important;
		  left: 50% !important;
	  }

	  .panel-blue {
		position: relative !important;
		left: 58% !important;
	}

}

@media (min-width: 992px) {
	.login-logo {
		width: 80%;
	}
}



  @media (max-width: 991px) { 

	.login-logo {
		width: 100%;
	}

	.todays-reading{
		margin-left: 35%;
	}

	.vitals-value{
		margin-left: 90px;
	}

	.oxygen-reading-centred{
		margin-left: 40%;
	}

	

	 /* .header-image {
		position: relative;
		left: 175px;
	  } */

	  .lastReading {
		position: relative;
		left: 70%;
	  }

	  /* .readingTime {
		position: relative;
		left: 70%;
	  } */

	  .panel-blue{
		position: relative;
		left: 120px;
	  }

	  .buttonSmall {
		position: relative;
		left: 110px;
	  }

	  .mbtn {
		margin-left: -60%;
	  }

	  /* .vitalsStatus{
		position: relative;
		left: 35% !important;
	  } */

	  .username {
		position: relative;
		left: -5%;
	  }

	  .hr-class{
		  width: 20%;
		  position: relative;
		  right: 30px;
	  }

	  /* .header-image {
		position: relative;
		left: 75%;
	  } */

	  .todays-reading-bp {
		  margin-left: 20%;
	  }

	  .btnm {
		  position: relative;
		  left: -12%
	  }

	  /* .todays-reading-breathing {
		position: relative;
		top: -180px;
		left: 220px;
	  }
	  .bpm-reading{
		position: relative;
		top: -180px;
		left: 220px;
	  } */
  }

@media (max-width: 767px) { 

	.history-panel {
		left: 0px;
	}
	
	.green-border {
		height: 425px;
		top: 33%;
		left: 0%;
	}

	.todays-reading-history {
		position: absolute !important;
		left: 20% !important;
		margin-left: 0 !important;
	}

	.daily-hi-lo-history-oxy-temp {
		position: absolute;
		left: 24%;
	}

	.daily-hi-lo-history-bp {
		position: absolute;
		left: 24%;
	}

	.bp-column {
		height: 90px;
	}

	#oxygenChartHistoryLog {
		position: relative;
		top: -14px;
		left: 25%;
	}

	#temperatureChartHistoryLog {
		position: relative;
		top: -14px;
		left: 25%;
	}
	/* /////////// */

	#oxygenChartHistoryLogDate {
		position: relative;
		top: -14px;
		left: 25%;
		display: none;
	}

	#temperatureChartHistoryLogDate {
		position: relative;
		top: -14px;
		left: 25%;
		display: none;
	}

	#bloodPressureAreaChartHistoryDate {
		position: relative;
		right: -12%;
		bottom: -14px;
		display: none;
	}

	/* TODO: Test this */
	#ui-datepicker-div { 
		position:  fixed !important;
		right: 5em !important;
		top: 10em !important;
	}
}


