
.collapsible {
    background-color: #4CAAE3;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
  }
  .card-blur{
    border: 1px;
    border-radius: 0px !important;
    padding: 24px;
    box-shadow: 0px 0px 4px 0px #787676;
    margin-bottom: 33px;
    }

    .h1-special{
        font-size: 40px;
        font-weight: bolder;
        opacity:0.75;
        text-align: center;
    }

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

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

    .page-header{
        color:rgb(97, 96, 96);
        font-size: 25px;
        
    }
  
  .active, .collapsible:hover {
    background-color: #29bdee;
  }
  
  .collapsible:after {
    content: '\002B';
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 5px;
  }
  
  .active:after {
    content: "\2212";
  }
  
  .content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
  }
  
#page-container {
position: relative;
min-height: 100vh;
}

#content-wrap {
padding-bottom: 2.5rem;   
}

#footer {
    position:absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
}

button.accordion {
    background-color: #67d6ef;
    padding: 1rem;
    color: #444;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.accordion.active, button.accordion:hover {
    background-color: #29bdee;
}

button.accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
}

button.accordion.active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
}

/* Style the accordion panel. Note: hidden by default */
div.panel {
    /* padding: 0 18px; */
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: 0.6s ease-in-out;
    opacity: 0;
}

div.panel.show {
    opacity: 1;
    max-height: 500px; /* Whatever you like, as long as its more than the height of the content (on all screen sizes) */
    /* overflow: scroll; */
    overflow-x: hidden;
    overflow-y: auto;
}

 body {
    font-family: Arial;
}

.table-container {
    width: 80%;
    overflow-x: auto;
    padding-top: 2rem;
    margin: auto;
}

#billing-output-table {
    margin: auto;
    background-color: whitesmoke;
}

#billing-output-header {
    background-color:#67d6ef;
    border-bottom: darkslategray;
    border-style: solid;
    text-align: center;
    padding: 1rem;
}

#billing-output-detail {
    text-align: left;
    padding: 1rem;
    white-space: nowrap;
    max-width: 25rem;
    overflow: auto;
}

#patient-table, #overview-table {
    margin: auto;
    background-color: whitesmoke;    
}

#labs-table {
    width: 100%;
    background-color: whitesmoke;    
}

#patient-table-headers, #overview-table-headers {
    background-color: #67d6ef;
    border-bottom:darkslategray;
    border-style:solid;
    text-align: center;
}

#patient-table-headers:hover, #overview-table-headers:hover, #billing-output-header:hover {
    background-color: #21aee9;
    cursor: pointer;
}

#patient-table-details, #overview-table-details {
    background-color: whitesmoke;
    text-align: center;
    /* padding: 0.5rem; */
    white-space: nowrap;
}

#dataintake-table {
    background-color: whitesmoke;
    margin: auto;
}

#dataintake-table-details {
    background-color: whitesmoke;
    text-align: center;
    white-space: nowrap;
}

#patient-table-details:last-child {
    width:100%;
}

.search-submit {
    cursor:pointer;
}


.pagination {
    padding-top: 2rem;
    margin: 0;
    text-align: center;
}

ul.pagination li {
    display: inline-flex;
}

ul.pagination li a {
    color:darkslateblue;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
}

ul.pagination li.active a{
    background: #4CAF50;
    color: white;
    border-radius: 5px;
}

ul.pagination li a:hover:not(a.active){
    background-color: #ddd;
}

#encounter-div {
    max-width: 75%;
    padding-top: 2rem;
    margin: auto;
}
#encounter-div h1 {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: #21aee9;
    border-style: solid;
    font-size: xx-large;
    font-weight: bold;
}

#encounter-div #form-div {
    padding-left: 1rem;
}

#encounter-div #form-div label {
    font-size: medium;
}

#encounter-div #form-div div{
    padding-top: 0.5rem;
}

#progress * {
    height: 100%;
    width: 100%;
}

/* The sidebar menu */
.sidebar {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #4CAAE3;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
    opacity: 80%;
}
  
  /* The sidebar links */
  .sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }

  .sidebar li {
      color: #00244A;
      font-size: 100%;
      text-align: left;
  }
  
  .sidebar li button {
      margin-left: 1%;
      margin-bottom: 1%;
  }

  .sidebar li button:hover{
      color: #008080;
  }
  
  /* When you mouse over the navigation links, change their color */
  .sidebar a:hover {
    color: #f1f1f1;
  }
  
  /* Position and style the close button (top right corner) */
  .sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: black;
  }
  
  /* The button used to open the sidebar */
  .openbtn {
    font-size: 15px;
    max-width: 15%;
    cursor: pointer;
    background-color: #00244A;
    color: #026EE5;
    padding: 10px 15px;
    border: none;
    position: fixed;
    top: 25%;
    left: 1%;
    border-radius: 2px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .openbtn:hover {
    background-color: #026EE5;
    color:#00244A;

  }
  
  /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
  #main {
    transition: margin-left .5s; /* If you want a transition effect */
    padding: 20px;
  }
  
  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidebar {padding-top: 15px;}
    .sidebar a {font-size: 18px;}
    .accordion-sidebar{
        width:100%;
        margin:0;
    }
  }
 

.accordion-sidebar {
    width: 100%;
    margin: 0 auto;
}

.accordion-sidebar h1 {
    font-size:26px;
    font-weight: normal;
    text-align: center;
    margin-bottom:0px;
    margin-top:0px;
    padding-top:7px;
    padding-bottom:7px;
}

.accordion-sidebar h1:hover {
    cursor: pointer;
    color: #036EE5;
}

.accordion-sidebar div{
    display:none;
    padding:10px;
    border-top: #29bdee;
    border-radius: 4px;
    border-style: solid;
}

.page-title h1 {
    padding: 2rem;
    padding-bottom: 0;
    text-align: center;
    color: #00244A;
    font-size: xx-large;
}

/* TODO Splitting page into sections */

.data-nav {
    width: 100%;
    background-color: #bebaba56;
    padding: 0.5rem;
    margin: 1rem;
    border-color: rgba(0, 0, 0, 0.178);
    border-style: solid;
    border-width: 1px;
}

.data-nav a {
    color:#11a1df;
    text-decoration: underline;
}

#link {
    color:#11a1df;
    text-decoration: underline;
}

.data-nav a:hover {
    color: #036EE5;
    text-decoration: underline;
}

.column-thirds {
    float:left;
    width: 33%;
    padding: 2rem;
}

.column-halves {
    float:left;
    width: 50%;
    padding: 2rem;
}

.column-halves-meds {
    float:left;
    width: 50%;
    padding: 2rem;
    border-right-color: rgba(0, 0, 0, 0.178);
    border-right-style: solid;
    border-right-width: 1px;

}

.column-halves-no {
    float:left;
    width: 50%;
    padding-top: 2rem;
    padding-right: 1rem;
}

.column-full {
    float:left;
    width: 100%;
    padding-top: 2rem;
    padding-right: 1rem;

}

.two-thirds {
    width: 66%;
    float: left;
    padding: 1.5rem;
    border-left-style: solid;
    border-left-width: 2px;
}

.two-thirds-no {
    width: 66%;
    float: left;
    padding: 1.5rem;
}

.one-third {
    width: 33%;
    float: left;
    padding: 1.5rem;
}

.row:after {
    content: "";
    display: table;
    clear:both;
}

#notes label{
    font-size: x-large;
    color: black;
    text-decoration: underline;
}


/* .call {
    font-size: 15px;
    width: 10%;
    cursor: pointer;
    border-color: rgba(0, 0, 0, 0.178);
    border-style: solid;
    border-width: 1px;
    background-color: #14bd14;
    color: black;
    float: right;
    padding: 0.2rem;
} */

/* .patient-content {
    overflow: auto;
} */

.patient-content h1 {
    font-size: xx-large;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.patient-content h2 {
    font-size: large;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.patient-content a .edit {
    font-size: 12px;
    width: 32%;
    border-right: rgba(0, 0, 0, 0.178);
    border-right-style: solid;
    border-right-width: 1px;
    /* background-color: #14bd14; */
}

.patient-content a .delete {
    font-size: 12px;
    width: 32%;
    border-right: rgba(0, 0, 0, 0.178);
    border-right-style: solid;
    border-right-width: 1px;
    /* background-color: rgb(212, 23, 23); */
}

.patient-content a .path {
    font-size: 12px;
    width: 32%;
}

.patient-content a .mail {
    font-size: 12px;
    width: 33%;
    border-right: rgba(0, 0, 0, 0.178);
    border-right-style: solid;
    border-right-width: 1px;
    /* background-color: rgb(212, 23, 23); */
}

.patient-content a .call {
    font-size: 12px;
    width: 25%;
}

.patient-content h3 {
    background-color: #e7e7e7;
    color: black;
    padding: 0.2rem;
    border: rgba(0, 0, 0, 0.178);
    border-style: solid;
    border-width: 1px;
}

.patient-content button {
    padding: 0.25rem;
    padding-right: 0.5rem;
    
}

.p-data {
    padding-bottom: 0.5rem;
}

.patient-content p {
    padding-top: 0.5rem;
}

#phone {
    text-decoration: underline;
    color:#11a1df;
}

#phone:hover {    
    text-decoration: underline;
    color: #036EE5;
}

#enc-title {
    font-size: 30px;
    font-weight: bold;
    opacity: 0.7;
}

#encounters {
    font-size: large;
    border-top: rgba(0, 0, 0, 0.178);
    border-top-style: solid;
    border-top-width: 1px;
    padding-bottom: 0.2rem;
}

#con-wrapper {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#med-wrapper {
    padding-top: 1rem;
    padding-bottom: 1rem;

}

#last {
    padding-bottom: 1rem;
}

.new {
    font-size: medium;
    width: 33%;
    cursor: pointer;
    display: block;
    border-radius: 0.5rem;
    background-color: #03e521;
    color: white;
    padding: 0.5rem;
    float: right;
}

.new1 {
    font-size: small;
    width:20%;
    cursor: pointer;
    display: block;
    border-radius: 0.5rem;
    background-color: #03e521;
    color: white;
    padding: 0.5rem;
    float: right;
}

#formset-wrapper {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom-color: #21aee9;
    border-bottom-style: solid;
    border-bottom-width: 3px;
    font-size: x-large;
    font-weight: bold;
}

/* ? =========================================== ? */

@media screen and (max-width: 600px) {
    .column {
      width: 100%;
    }
    .row * {
        width: 100%;
    }
  }

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }
  
  /* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
  .sticky + #content-wrap {
    padding-top: 8rem;
  }


  /* ! High Charts */
  .highcharts-container  {
      position: fixed;
  }


#password {
    max-width: 66%;
    padding-top: 2rem;
    margin: auto;
}

#password h1 {
    padding: 2rem;
    padding-bottom: 0;
    text-align: center;
    font-size: xx-large;
}

#password p {
    padding-bottom: 2rem;
}

#submit {
    font-size: 15px;
    width: 33%;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    border-radius: 0.5rem;
    background-color: #036EE5;
    color: white;
    padding: 0.5rem;
}

#patho-data {
    border-top: #21aee9;
    border-style: solid;
}

#pathoBtn {
    font-size: 15px;
    float:right;
    width: 10%;
    cursor: pointer;
    padding-right: 1rem;
    display: block;
    /* background-color: #036EE5; */
    color: white;
    padding: 0.5rem;
}

#patho h2 {
    padding-top: 1rem;
    float: left;
    font-size: medium;
    text-decoration: wavy;
}

#patho-h2 {
    padding-top: 1rem;
    float: left;
    font-size: xx-large;
}

#patho-h3 {
    padding-top: 1rem;
    float: left;
    font-size: medium;
    font-style: italic;
}

#preview {
    font-size: medium;
    font-style: italic;
}

#progressButton {
    font-size: 15px;
    width: 33%;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    border-radius: 0.5rem;
    background-color: #036EE5;
    color: white;
    padding: 0.5rem;
    color: rgb(62, 157, 245);
}

#double-check {
    border-top: #21aee9;
    border-style: solid;
    font-size: 18px;
    width: 50%;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    padding: 1rem;
}

#download {
    margin: 0 auto;
    border-radius: 0.5rem;
    background-color: #036EE5;
    padding: 0.5rem;
    color: white;
}

#download-specific {
    margin: 0 auto;
    border-radius: 0.5rem;
    background-color: #036EE5;
    padding: 0.5rem;
    color: white;
    width: 80%;
}

#patient-edu {
    margin: 0 auto;
    border-radius: 0.5rem;
    background-color: #036EE5;
    padding: 0.5rem;
    color: white;
    width: 50%;

}

#link {
    color: #21aee9;
}

#link:hover {
    text-decoration: underline;
    color:#036EE5
}

#middle-div {
    max-width: 66%;
    padding-top: 2rem;
    margin: auto;
}

#middle-div h1 {
    padding: 2rem;
    padding-bottom: 0;
    text-align: center;
    font-size: xx-large;
}

#listmng {
    padding: 2rem;
    text-align: center;
    font-size: large;
}

#testingg {
    color: #21aee9;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
  }
  
/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 240px;
    background-color: #003066;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

.med-form {
    padding: 1rem;
    border-bottom: #29bdee;
    border-radius: 4px;
    border-style: solid;
}

.condition-form {
    padding: 1rem;
    border-bottom: #29bdee;
    border-radius: 4px;
    border-style: solid;
}

.loader {
    display: none;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}
  
  /* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#data-description {
    text-align: center;
}

#data-description h1 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

#data-description h3 {
    padding-bottom: 1.5rem;
    font-size: medium;
    font-style: italic;
}

#pageloader input {
    text-align: left;
    font-size: x-large;
    width: 5%;
}

#pageloader {
  background: rgba( 255, 255, 255, 0.8 );
  display: none;
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 9999;
}

#pageloader img {
  left: 50%;
  margin-left: -32px;
  margin-top: -32px;
  position: absolute;
  top: 50%;
}

#pt-total {
    font-size: small;
    color: rgb(155, 152, 152);
    margin-top: 2;
    margin-bottom: 2;
    padding: 5;
    border-top-color: #ddd;
    border-top-style: solid;
    border-top-width: 2px;
}
#left {
    float: left;
}
#right {
    float: right;
}


/* TODO Formset CSS */

.fixTableHead {
    overflow-y: auto;
    height: 110px;
}

.fixTableHead thead th {
    position: sticky;
    top: 0
}

#formsets-table {
    margin: auto;
    background-color: whitesmoke;
    border-collapse: collapse;
    width: 100%;
    border-radius: 3px;
}

#formsets-header th {
    background-color:#67d6ef;
    border-bottom: darkslategray;
    border-style: solid;
    text-align: center;
    padding: 0.5rem;
}

#formsets-detail {
    text-align: left;
    padding: 0.25rem;
    /* white-space: nowrap; */
    max-width: 25rem;
    overflow: auto;
    border-right: darkslategray;
    border-right-width: 2px;
    border-right-style: solid;
}

#formsets-detail input {
    border: #00244A;
    border-width: 1px;
    border-style: solid;
}

.table-container {
    width: 80%;
    overflow-x: auto;
    padding-top: 2rem;
    margin: auto;
}

#overview-table-details > .true {
    color: green
}

#overview-table-details > .false {
    color: red
}