/* ApexCharts */

#chart1 {
  width: 300px;
  margin: 0 auto;
}

/* OP24 */

.messages-container{
    margin: 20px 10px;
}

nav li.nav-item{
    margin: 0;
    padding: 0;
}
nav a.navbar-link{
    display: block;
    padding: 6px 12px;
    color: black;
    transition: 0.2s background-color ease-in-out;
    font-size: 1.25rem;
    text-decoration: none;
    border-radius: 15px 0px 15px 0px;
}

nav a.navbar-link.active{
    background-color: #FFC107;
    color: white;
}
nav a.navbar-link:hover:not(.active) {
    color: #FFC107;

}

a.survey-link{
    margin: 6px;
    display: block;
    padding: 6px 12px;
    text-decoration: none;
    transition: 0.2s background-color border ease-in-out;
    border: 1px solid #eee;
    height: 120px;
    overflow: hidden;

    /*
    box-shadow: 0 0 12px -6px black;
    */
}

a.survey-link:hover{
    background-color: #e8eaf6;
    border: 1px solid #b39ddb;
}


a.survey-link header{
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 6px;
}

body {
    font-family: 'Aptos', sans-serif !important;
}

p.help-block {
    font-size: 0.875rem;
}
span.help-block {
    color: red;
}

table {
    font-size: 0.875rem;
}
table thead th {
    text-transform: uppercase;
}

a.paginate_button.current{
    background-color: white !important;
    border: 1px solid #004077 !important;
    /*
    border-radius: 12px !important;
    font-weight: bold !important!
    */
}

div.welcome_screen {
  background-image: url('/static/img/logo-welcome-screen.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.btn-login {
    color: #004077;
}

.dm-box-shadow {
    box-shadow: 0 2px 20px 0 black;
}

.dm-border-bottom {
    border-bottom: 5px solid #EC6608;
}

.dm-bg-blue{
    background-color: #004077 !important;
}
/*
.navbar{
    height: 60px !important;
}
*/
.dm-nav-link{
    background-color: #004077;
    padding-left: 12px;
    padding-right: 12px;
    margin: 0;
    height: 60px;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    border-bottom: 5px solid #004077;
    color: whitesmoke;
    text-decoration: none;
    padding: 15px 10px;
}
.dm-nav-link:hover{
    background-color: #115188;
    color: white;
    border-bottom: 5px solid #ec6608;
    text-shadow: 1px 2px 3px black;
}

.dm-nav-link.active{
    background-color: #ec6608;
    border-bottom: 5px solid #c51a1b;
}
.dm-nav-link.active:hover{
    background-color: #f1883d;
    border-bottom: 5px solid #c51a1b;
}

.dm-footer-border {
    border-top: 5px solid #ec6608;
}

.filter-link {
    font-size: 0.875rem;
}
.filter-link:hover {
    cursor: pointer;
}

pre{
    padding: 12px;
    background-color: silver;
}
code {
    font-family: 'Courier', sans-serif !important;
}

.uppercase{
    text-transform: uppercase;
}

#searchInput, #searchInput2 {
  background-image: url('/static/app_charts/icon/search24.png'); /* Add a search icon to input */
  background-position: 8px 6px; /* Position the search icon */
  background-repeat: no-repeat; /* Do not repeat the icon image */
  font-size: 16px; /* Increase font-size */
  padding: 6px 10px 6px 40px; /* Add some padding */
  border: 1px solid #ddd; /* Add a grey border */
  margin-bottom: 0; /* Add some space below the input */
  border-radius: 12px 0 12px 0;
}

#searchList, #searchList2 {
  /* Remove default list styling */
  list-style-type: none;
  padding: 0;
  margin: 0;
  border: none !important;
  /*
  background-color: white;
  */
}

#searchList li a {
  border-top: 1px solid F8F9FA; /* Add a border to all links */
  border-bottom: 1px solid F8F9FA; /* Add a border to all links */
  border-left: none; /* Add a border to all links */
  border-right: none; /* Add a border to all links */
  margin-top: -1px; /* Prevent double borders */
  background-color: white; /* Grey background color */
  padding: 2px 12px; /* Add some padding */
  text-decoration: none; /* Remove default text underline */
  font-size: 14px; /* Increase the font-size */
  color: black; /* Add a black text color */
  display: block; /* Make it into a block element to fill the whole list */
  transition: 0.3s background-color ease-in-out;
}

#searchList li a.active {
  border-top: 1px solid white; /* Add a border to all links */
  border-bottom: 1px solid white; /* Add a border to all links */
  border-left: none; /* Add a border to all links */
  border-right: none; /* Add a border to all links */
  background-color: #0277bd; /* Add a hover effect to all links, except for headers */
  color: white;
  text-shadow: 1px 1px 3px black;
}

#searchList li a.active:hover {
  border-top: 1px solid white; /* Add a border to all links */
  border-bottom: 1px solid white; /* Add a border to all links */
  border-left: none; /* Add a border to all links */
  border-right: none; /* Add a border to all links */
  background-color: #01579b; /* Add a hover effect to all links, except for headers */
  color: white;
  text-shadow: 1px 1px 3px black;
}

#searchList li a:not(.active):hover {
  border-top: 1px solid white; /* Add a border to all links */
  border-bottom: 1px solid white; /* Add a border to all links */
  border-left: none; /* Add a border to all links */
  border-right: none; /* Add a border to all links */
  background-color: #01579b; /* Add a hover effect to all links, except for headers */
  color: white;
  text-shadow: 1px 1px 3px black;
}

.custom-check{
	display: none;
}
.custom-check + label{
  /*
  width: 128px;
	height: 128px;
  background: url("img/image.png") 0px 0px;
  */
	display: block;
	cursor: pointer;
	opacity: 0.8;
	-webkit-filter: grayscale(0);
  filter: grayscale(0);
  text-align: center;
	font-weight: normal;
	font-size: 14px;
  padding: 6px 12px;
  border: 2px solid silver;
  background-color: whitesmoke;
  border-radius: 4px;
  transition: all 0.3s ease;
  color: gray;
  margin: 0;
}
/*
.custom-check + label a{
  display: inline-block;
  opacity: 0.3;
}
*/
.custom-check:checked + label{
	background-position:  0px 0px;
	-webkit-filter: grayscale(0);
  filter: grayscale(0);
	opacity: 1;
  background-color: #28a745;
  border: 2px solid  #28a745;
  color: white;
}
.custom-check:disabled + label{
	background-position:  0px 0px;
	-webkit-filter: grayscale(1);
  filter: grayscale(1);
  background-color: #E9ECEF;
  opacity: 0.5;
}
.custom-check + label:hover,.custom-check:checked + label:hover{
	-webkit-filter: grayscale(0);
  filter: grayscale(0);
	opacity: 0.9;
	background-color: #068523;
  color: white;
  border: 2px solid limegreen;
}
.custom-check:disabled + label:hover{
	-webkit-filter: grayscale(1);
  filter: grayscale(1);
  cursor: not-allowed;
  color: white;
}

.btn-delete {
}
.btn-delete:hover {
    cursor: pointer;
}

#id_background{
    height: 38px !important;
}

.w-max-90 {
    max-width: 90px !important;
}

input[type=color].form-control {
    min-width: 48px !important;
    max-width: 64px !important;
    height: 38px !important;
}

ul.nav.nav-pills li.nav-item button.nav-link {
    color: black !important;
    font-weight: normal;
    text-transform: uppercase !important;
}
ul.nav.nav-pills li.nav-item button.nav-link.active {
    color: white !important;
    /*
    border-radius: 12px 0 12px 0;
    */
}

#shortcode {
    font-family: 'courier';
    font-size: 1em;
}
.btn-copy {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
 }
.btn-copy:hover {
    color: blue;
 }