/* general */
.bg-gradient-primary {
  background-color: #003087;
  background-image: none;
}

.btn-primary {
  background: rgb(8, 49, 112);
  border-color:rgb(8, 49, 112);
}

h1{
  color:black;
}

.bg-login-image {
  background: url("/img/site/login-bg.jpg");
  background-position: center;
  background-size: cover;
}

.bg-register-image {
  background: url("/img/site/gp-375.jpg");
  background-position: center;
  background-size: cover;
}

.bg-password-image {
  background: url("/img/site/pharma-375.jpg");
  background-position: center;
  background-size: cover;
}

.btn-primary:hover {
  color: rgb(8, 49, 112);
  background-color: rgb(168, 196, 238);
  border-color: rgb(168, 196, 238);
  cursor: pointer;
}

.btn-primary:active {
  color: rgb(8, 49, 112) !important;
  background-color: rgb(168, 196, 238) !important;
  border-color: rgb(168, 196, 238) !important;
  cursor: pointer;
}

/* form.user .form-control-user, select {
  border-radius: 5px !important;
  padding: 1.25rem 0.75rem;
} */

.page-title {
  width: -webkit-fill-available;
  background: none;
  text-align: center;
  font-size: 45px;
  color: rgb(8, 49, 112);
  z-index: 5;
}

.page-subtitle {
  width: -webkit-fill-available;
  background: none;
  /* text-align: center; */
  /* font-size: 34px; */
  color: rgb(8, 49, 112);
  position: relative;
  z-index: 5;
}



/* pagetop */
.top-title {
  text-align: center;
  margin-left: auto;
  top: 10px;
  font-size: 34px;
  font-weight: 400;
  z-index: 10;
  width: -webkit-fill-available;
  color: rgb(168, 196, 238);
  background: none;
}

/* homepage */
.home{
  display: flex;
  margin: 0px 10px;
  padding: 20px;
}

.home-image {
  background-image: url('https://images.pexels.com/photos/53594/blue-clouds-day-fluffy-53594.jpeg?cs=srgb&dl=nature-sky-clouds-blue-53594.jpg&fm=jpg');
  opacity: 0.2;
  z-index: 0;
  width: 1172px;
  height: 700px;
  position: absolute;
}

.home-title {
  width: -webkit-fill-available;
  background: none;
  text-align: center;
  font-size: 80px;
  color: rgb(8, 49, 112);
  padding-top: 75px;
  z-index: 5;
}

.home-subtitle {
  width: -webkit-fill-available;
  background: none;
  text-align: center;
  font-size: 34px;
  color: rgb(8, 49, 112);
  top: -23px;
  position: relative;
  z-index: 5;
  padding-bottom: 100px;
}

.home-col {
  z-index: 5;
  border-radius: 0px;
  background-color: rgba(19, 49, 133, 0.829);
  border: 0.1px solid rgb(85, 113, 197);
}

.home .col-text{
  height: 180px;
  color: rgb(220, 227, 233);
  z-index: 5;
  text-align: center;
  font-size: 18px;
  padding: 32px 6px;
  line-height: initial;
  justify-content: center;
}

.col-text .title {
  font-size: 22px;
  font-weight: bold;
  height: 60px;
  color: aliceblue;
}

.home .col-image{
  height: 200px;
  z-index: 5;
  margin-bottom: 0px !important;
}

.home .col-image img{
  width: 100%;
  height: 100%;
}

/* signup page */
.inp-error {
    border: 3px solid rgb(250, 80, 145) !important;
  }


  .error-message {
    color: rgb(250, 80, 145) !important;
  }

  .password-strength-indicator{
    font-size: 12px;
    display: inline-block;
    height: 15px;
    min-width: 20%;
    padding: 3px;
    transition: 1s;
    text-align: center;
    margin: 10px 0px;
    color: white;
    height: auto;
    border-radius: 6px;
}

.very-weak{
  background-color: rgb(255, 176, 102);
  width: 25%;
}
.weak{
  background: rgb(0, 255, 136);
  color: black;
  width: 50%;
}
.mediocre{
  background: rgb(0, 255, 242);
  color: black;
  width: 75%;
}
.strong{
  background: rgb(29, 132, 146);
  width: 100%;
}

/* profile page */
.profile {
  max-width: 750px;
  margin: auto;
  min-height: 550px;
}

.profile .icon{
  justify-content: center;
  display: flex;
  vertical-align: middle;
  margin-bottom: auto !important;
  margin-top: auto;
}

.prof-image{
  width: 180px;
}

.profile .item{
  background-color: white;
  border-radius: 50px;
  /* width: 80%; */
  margin: auto;
  height: 55px;
  display: flex;
  margin-bottom: 20px;
}

.profile .item-name {
  font-size: 13px;
  position: relative;
  top: 6px;
  left: 24px;
  margin-bottom: 0px;
  height: fit-content;

}

.profile .item-content {
  font-size: 20px;
  position: relative;
  padding-bottom: 6px;
  /* left: 24px; */
  color: black;
  top: 20px;
}

/* .profile .btn{
  font-size: 12px;
  position: absolute;
  right: 80px;
  width: 64px;
  height: 30px;
  padding: 0px;
  margin-top: 13px;
} */

/* new patient page*/
#nhs-submit {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45px;
}

.new-patient .nhs-title {
  left: 72px;
  position: relative;
}

.new-patient, .new-treatment{
  justify-content: center;
}

.new-patient .col-text{
  padding: 25px 100px;
  width: -webkit-fill-available;
  justify-content: center;
}

.new-patient form {
  width: -webkit-fill-available;
  justify-content: center;
}


.new-patient .signup-form{
  justify-content: center;
}


.patient-form #title{
  width: 100px;
}

/* .new-patient select {
  height: 40px;
  background-color: rgba(177, 219, 255, 0.486);
  width: -webkit-fill-available;
} */

.new-patient form.user .form-control-user, .new-patient form.user .btn-user{
  border-radius: 10px;
}

.new-patient .register{
  margin-left: auto;
    margin-right: auto;
}

.iti__flag {
  background-image: url("/src/public/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("/src/public/img/flags@2x.png");}
}

.new-patient .iti {
  display: inherit;
}

input[type="date"]::placeholder { 
  text-transform: uppercase;
}





/* new treatment page */
.new-treatment .patient-info .row div{
  margin: 3px 30px;
}

.patient-info{
  padding: 25px 0px 25px 25px;
  margin: 25px;
  background-color: rgba(185, 229, 253, 0.589);
  border-radius: 5px;
  box-shadow: 0px 0px 6px 1px rgba(185, 229, 253, 0.589);
}

.patient-info .container{
  width: 695px;
}

.new-treatment .signup-form{
  margin: auto;
}

#patient-name {
  margin-left: auto;
  margin-right: auto;
  color: black;
  font-weight: bolder;
  font-size: 24px;
}

.new-treatment .container .title{
  font-size: 26px;
  font-weight: bold;
  border-bottom: 1px solid black;
  color: black;
  height: fit-content;
}

/* .new-treatment form{
  display: flex;
} */

.new-treatment select {
  height: 40px;
  /* background-color: rgba(177, 219, 255, 0.486); */
  width: -webkit-fill-available;
  background: white;
}

#weight-unit, #amount-unit, #frequency-unit{
  margin-top: auto;
  font-size: 18px;
}

#drug-amount, #drug-frequency {
  width: auto;
}

/* .multi-item {
  background: rgb(233, 243, 245) !important;

  display: none;
}

.multi-item span {
  
  display: none;
} */

.drug-input{
  width: -webkit-fill-available;
}

.guidance{
  background-color: rgb(240, 250, 255);
  margin-bottom: 30px;
  display: none;
}

.new-treatment .guide-content {
  font-size: 20px;
  color: rgb(131, 122, 122);
  padding-bottom: 30px;
  line-height: normal;
}

.new-treatment .guide-name {
  font-size: 20px;
  color: black;
}

.new-drug {
  padding-bottom: 50px;
}

.radio-container{
  display: flex;
}

.radio-container input{
  margin-top: auto;
  top: 4px;
}

.radio-option{
  margin-top: auto;
}

#register-treatment {
  margin-right: auto;
  margin-left: auto;
}

/* #start-date {
  width: 90%;
} */



.view-options{
  display: flex;
  position: absolute;
  right: -30px;
  z-index: 9;
}

.view-options .fas {
  position: absolute;
  font-size: 31px;
  padding: 6px;
}

.view-options .fa-columns{
  right: 0px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 40px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 5px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 35px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 3px;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(37px);
}




/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
}

input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type=text] {
  background-color: #f1f1f1;
  width: 100%;
}

input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

.btn-group-xs > .btn, .btn-xs {
  padding: .25rem .4rem;
  font-size: .875rem;
  line-height: .5;
  border-radius: .2rem;
}

.form-control{
  background-color:white;
}

input[type=text]{
  background-color: white;
}

@media (max-width: 568px) {
  #sidebar {
    display: none;
  }
}

#warnings .card{
  background-color: #f8d7da !important;
}

/* * {
  border-radius: 0 !important;
} */

.menu-ellipsis{
  padding: 0.5em;
  width:10px; /** fix width ***/
  text-align: center;
  display: inline;
  border-radius: 50% !important;
  line-height: 50px;  /** for vertical center - if needed **/
}

.menu-ellipsis:hover{
  color:black;
  cursor: pointer;
  background: lightgray;
}

.default-table tr:hover{
  background-color: #f8f9fc;
}

.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #7B1FA2;
  background-color: red;
}

.btn-secondary.active {
  background-color: #259c25 !important;
}

/* Site overrides */

/* Block arrows from being shown on number input fields */
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
/* Others */
input::-webkit-outer-spin-button, 
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Get height of page in modern browsers */
body {
  height: 100vh;
}

/* Template Specific */
.page-wrapper {
  height: 100%;
}

.content-wrapper {
  min-height: 100%;
  margin-bottom: -25px;
}

.footer-positioner {
  height: 25px;
}

.footer-wrapper {
  display: table;
  width: 100%;
  height: 25px;
}

.footer {
  display: table-cell;
  height: 100%;
  vertical-align: middle;
  text-align: center;
}

/* Generic Blood Test Styling */

.btn-green {
  background-color: #78BE20;
  border-color: #78BE20;
}

.btn-green-selected {
  background-color: white;
  border-color: #78BE20;
  color: #78BE20;
}

.btn-green:hover {
  color: white;
  background-color: #CAEF9C;
  border-color: #CAEF9C;
  cursor: pointer;
}

.btn-green:active {
  color: white !important;
  background-color: #CAEF9C !important;
  border-color: #CAEF9C !important;
  cursor: pointer;
}

.btn-green.disabled, .btn-green:disabled {
  background-color: #CAEF9C;
  border-color: #CAEF9C;
}

.btn-green:not(:disabled):not(.disabled):active, .btn-green:not(:disabled):not(.disabled).active,
.show > .btn-green.dropdown-toggle {
  background-color: #78BE20;
  border-color: #78BE20;
}

.btn-primary:focus, .btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(202, 249, 156, 0.5);
}
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(202, 239, 156, 0.5);
}

.bg-darkbrown {
  background-color: #231f20;
}

/* Override autofill color styling */
/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #6e707e;
}

.hidden {
  display: none;
}

.input-group-append-right {
  margin-right: -1px;
}