/* styles.css */

/* Set up CSS */

button[id^='moreInfo'], #accept_cookies {
  background-color: #F76C16 !important; /* Button background color */
  color: #FFFFFF !important;        /* Button text color */
  border-color: #F76C16 !important;  /* Button border color */
}

#moreInfo:hover, .modal-footer .btn:hover {
  background-color: #D65A14 !important; /* Hover effect */
  border-color: #D65A14 !important;
}

.modal-header {
  background-color: #225560 !important; /* Modal header bar color */
  color: #FFFFFF !important;            /* Modal title text color */
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 0px;
}

.dropdown .btn-default, .box-header-icon button {
  background-color: #225560 !important;
  color: #FFFFFF !important;
  padding-bottom: 0px;
  border-color: #225560
}
.dropdown .btn-default {
  padding-top: 15px; 
}

.main-header {
  position: fixed; /* Keeps the header fixed in place */
  top: 0;          /* Aligns the header to the top of the page */
  left: 0;         /* Aligns the header to the left edge */
  width: 100%;     /* Ensures the header spans the full width of the page */
  z-index: 1000;   /* Places the header above other elements */
}

.main-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.tab-content {
  margin-top: 50px;
}

.main-header .navbar {
  min-height: 50px !important; /* Set a fixed height that matches the sidebar */
}

.main-header .logo {
  height: 50px !important;
  line-height: 50px !important;
}

.box.box-solid.box-primary {border-width:0;}
.box-header .box-title {display:block},
.box.box-solid.box-primary, .box.box-primary {border-width:0px}

.small-box.bg-red { background-color: #C20013 !important; color: #FFFFFF !important; }
.small-box.bg-teal { background-color: #00AFB5 !important; color: #FFFFFF !important; }
.small-box.bg-orange { background-color: #F76C16 !important; color: #FFFFFF !important; }
.small-box.bg-yellow { background-color: #C9CEBD !important; color: #FFFFFF !important; }
.small-box.bg-olive { background-color: #225560 !important; color: #FFFFFF !important; }
.shiny-html-output .bg-olive { background-color: #225560 !important !important; color: #FFFFFF !important; }
.box-header { background-color: #225560 !important; color: #FFFFFF; }
.main-header .logo a, .logo { background-color: #225560 !important; color: #FFFFFF; }
.navbar { background-color: #225560 !important; color: #FFFFFF !important; }
.content-wrapper { 
  background-color: #C9CEBD; 
  color: #225560; 
  min-height: 100vh !important;
}

.modal-body h1 {font-size: 24px; font-weight:600}
.modal-body h2 {font-size: 20px; color:#00AFB5;}
.modal-body h3 {font-size: 16px; color:#F76C16}
.modal-body th, .modal-body td {padding:0 10px 0 10px}

.language-select .form-control {
  background-color: #225560 !important;
  color: #FFFFFF !important;
  padding: 5px 10px !important;
  border-color: #225560;
  margin-top: 8px;
  margin-bottom: -8px;
}

/* Adjust padding for action buttons */
.dropdown .btn-default {
  background-color: #225560 !important;
  color: #FFFFFF !important;
  padding: 8px 10px !important;
}

.navbar-custom-menu .nav > li > a {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/*div[id='shiny-tab-glossary'] { */
.information-page {
  font-size: larger !important;
  max-width: 800px !important;  /* Set the maximum width you want */
  margin: 0 auto !important;    /* Center the content horizontally */
  padding: 20px;     /* Optional: add padding for some space */
}

#results {
  position: absolute;
  z-index: 9;
  padding: 0;
  border-radius: 2px;
  background-color: white;
  left: 0;
}
.search-result, .search-result-guide {
  position: relative;
  /* border: 1px solid #ddd; */
  border-radius: 5px; 
  padding: 15px; 
  margin: 10px 10px 20px 10px; 
  background-color: #e9e9e9; 
  cursor: pointer;
  border-left: 10px solid #F76C16;
  box-shadow: 2px 2px 8px #949494;
}

.search-result-guide {
  border-left: 10px solid #00AFB5;
}

.search-result h1, .search-result-guide h1 {
  font-size: 14pt;
  font-weight: 600;
}

.search-result-icon {
  position: absolute; 
  right: 10px; 
  top: 10px; 
  font-size: 60px; 
  color: #22556022;
  pointer-events: none;
}

.search-result-text {
  position: relative; 
  z-index: 1;
}
blockquote {
  border-left: 7px solid #F76C16;
}

.intro-box h1 {
  font-size: 20pt;
  font-weight: 600;
}

.loading-spinner {
  text-align: center;
  padding: 20px;
}

.box-header-title {
  display: block; 
  justify-content: space-between; 
  align-items: center;
}

.box-header-icon {
  float: right; 
  border-width: 0px;
  color: #FFFFFF59;
  font-size: 14px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.download-icon {
  /* float: right; */
  border-width: 0px;
  color: #FFFFFF59;
  font-size: 14px;
  position: absolute;
  top: 3px; 
  right: 5px;
}

.popover {
  color: black;
  width: 400px;
}

h3 .popover-title {
  font-weight: 700;
  font-size: 14pt;
  padding: 8px;
  background-color: #00AFB5;
  color: white;
}

.label-value .popover .popover-title {
  font-weight: 700;
  font-size: 14pt;
  padding: 8px;
  background-color: #00AFB5;
  color: white;
}

.value-box-header {
  position: relative;
}

.value-box-value {
  display: flex;
  /*position: relative;*/
}

.value-box-icon {
  padding-left: 10px;
  color: #ffffff3d;
  font-size: 14pt;
}

.value-box-icon a {
  color: #ffffffaa;
}

/*.label-value{
  display:flex;
}

.label-icon {
  padding-left: 10px;
  color: #22556059;
}*/

.custom-icon {
  font-weight: 600;
  font-size: 70px;
  font-style: normal;
  
}

.tooltag {
    background: #00AFB5;
    border: 1px solid #00AFB5;
    padding: 0px 5px 0px 5px;
    border-radius: 3px;
    font-size: small;
    color: white;
}

/* Lock the menu to stop it scrolling */
/* Not quite working (multiple scroll bars) so disactivating for now */
/*
.main-sidebar {
  position: fixed;
  width: 250px;
}
.content-wrapper {
  margin-left: 250px;
}
.content {
  height: 1000px; /* For example purpose, extend height to see scrolling */
  overflow-y: auto;
}
*/


.information-page #chat-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 10px;
}

#chat-content {
  flex-grow: 1;
  overflow-y: auto;
  padding-bottom: 60px; /* Space for the input area */
}

.chat-bubble {
  max-width: 75%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
}

.user-bubble {
  background-color: #e6f7ff;
  margin-left: 10px;
}

.response-bubble {
  background-color: #f1f1f1;
  margin-right: 10px;
}

#input-area {
  display: flex;
  position: fixed;
  bottom: 0;
  /* width: 100%;*/
  padding: 10px;
  background-color: #ffffff;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

#epiexpert_input .form-control {
  flex-grow: 1;
  margin-right: 10px;
}

#epiexpert_submit {
  background-color: #F76C16;
  color: white;
  border: none;
  height: 33px;
  margin-left: 20px;
}

.label-value{
  display:flex;
}

.label-icon {
  padding-left: 10px;
  color: #22556059;
}

.label-icon a {
  color: #225560dd;
}

.even_row {
  display:flex;
}

.even_row .col-sm-4, .even_row .col-sm-3, 
.even_row .col-sm-1, .even_row .col-sm-6, 
.even_row .col-sm-2 {
  display:flex;
  align-items: stretch;
}

/*
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
*/
.col-sm-4 .col-sm-12 {
  padding-left: 0px;
  padding-right: 0px;
}


.home-page {
  margin: 0 10px;
}


span.h_icon i {
  color: #00AFB5;
  padding-right: 10px;
}

#send i {
  padding-right: 10px;
}

.social-button {
  width: 40px;
  height: 40px;
  margin-bottom: 0 0 5px 10px; 
  background-color: #00AFB5; 
  color: white; 
  border: none; 
  padding: 10px; 
  text-align: center; 
  border-radius: 5px;
  font-size: 18px;
}

.poll-button {
  height: 90%;
  width: 90%;
  text-align: left;
}

.poll-bar {
  height: 70%;
  margin-top: 2px;
}

.light-box {
  position: relative; 
  width:50px; 
  height: 115px;
  border:3px solid #999999;
  border-radius:4px;
  background-color: #C9CEBD;
  margin-left:10px;
}

.light {
  margin: auto; 
  /* background-color:#C20013; */
  width:25px; 
  height:25px; 
  border-radius:50%; 
  border:3px solid #999999;
  margin:7px auto;
}

.data-upload-wrapper {
  display:flex;
  align-items: stretch;
}

.data-upload-input {
  flex: 1;
}

.panel-body .col-sm-3 {
  padding:0;
}

.information-page td {
  padding: 5px;
}

.modal-dialog {
  width:90%;
  max-width: 800px;
}

.code {
  background-color: #f3f3f3;
  border: 1px solid #dddddd;
  padding: 10px 10px 0px 10px;
  font-family: Monospace;
}

.bs-download-icon {
  border-colour: #f4f4f4;
  padding: 0;
}

.bs-header-title {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
}

@media (max-width: 767px) {
  .pad-on-mobile {
    padding-top:50px;
  }
}

@media (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }
}