/* @import url("https://fonts.googleapis.com/css?family=Cairo"); */
@font-face {
  font-family: 'Cairo';
  src: url("/static/common/fonts/cairo/Cairo-Regular.5ccd08939f63.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Cairo';
  src: url("/static/common/fonts/cairo/Cairo-Bold.ad486798eb3e.ttf") format('truetype');
  font-weight: 700;
  font-style: normal;
}

html {
  /* Used for sticky footer */
  position: relative;
  min-height: 100%;
}

body {
  font-family: Cairo, sans-serif;
  font-size: 1rem;
  margin-bottom: 100px; /* Margin bottom by footer height */
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  /* line-height: 120px; */
  background-color: rgb(250, 250, 250);
  color: #118AC1;
  font-size: 0.8rem;
}


/* div.after-nav {
  margin-top: 70px;
} */

div.second-navbar {
  margin-top: 0px;
}

.navbar-default {
  background-color: #0089cb;
  border-color: #e7e7e7;
  color: #fff !important;
}

.navbar-brand,
.navbar-text {
  color: #fff !important;
  font-size: 1em;
}

.nav-link{
  color: rgba(255,255,255,.55) !important;
}

.nav-link.active{
  color: rgb(255, 255, 255) !important;
  background-color: #002d4b ;
  border-radius: 4px;
}

.block {
  background: rgba(238, 245, 255, 0.9);
  margin-top: 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  text-align: center;
  padding: 20px;
}

.lab {
  font-size: 26px;
  color: #0089bf;
  margin-top: -3px;
  margin-bottom: 2px;
}

.header2 {
  background: #e9f7fe;
  text-align: center;
  color: #002d4b;
}

.header {
  background: #e9f7fe;
  text-align: center;
  color: #0089cb;
  border-radius: 0 0 13px 13px;
}

.section {
  text-align: center;
  background-color: #e9f7fe;
  font-size: 16px;
  font-weight: bold;
  color: #002d4b;
  border-radius: 0 0 8px 8px;
}

.selection {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.rcorner {
  border-radius: 10px;
  border: 1px solid black;
  padding: 0 4px;
  margin: 0 10px !important;
}

.status-default {
  display: inline-block;
  min-width: 10px;
  border: solid 1px black;
  padding: 2px 0;
  border-radius: 10px;
}

.status-success {
  display: inline-block;
  min-width: 10px;
  border: solid 1px black;
  padding: 2px 0;
  background-color: #dff0d8;
  border-radius: 10px;
}

.status-warning {
  display: inline-block;
  min-width: 10px;
  border: solid 1px black;
  padding: 2px 1px 2px 1px;
  background-color: #fcf8e3;
  border-radius: 10px;
}

td {
  font-size: 10pt;
}


/* CSS for browse page */
.table.browse > thead {
  color: white;
  background: #118ac1;
}
.table.browse > thead > tr > th {
  font-size: 18px;
  font-weight: bolder;
  text-align: center;
  border-radius: 5px;
}
.table.browse > tbody > tr > td {
  font-size: 14px;
  vertical-align: middle;
}
.table.browse > tbody > tr > td > span.comment {
  color: red;
}
.table.browse > tbody > tr > td > a:link {
  color: black;
  text-decoration: none;
}
.table.browse > tbody > tr > td > a:visited {
  color: black;
  text-decoration: none;
}
.table.browse > tbody > tr > td > a:hover {
  color: #118ac1;
  text-decoration: none;
}

optgroup{
  background-color: #e9f7fe;
}

optgroup option{
  background-color: white;
}

/* Footer */

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.address {
  display: flex;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  font-weight: 800;
  color: #118ac1;
}

.address > p::after {
  content: "-";
  margin-left: 4px;
  margin-right: 4px;
}

.address > p:last-child:after {
  content: "";
  margin-left: 0;
  margin-right: 0;
}

.info {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
  margin-top: 4px;
  font-size: 9pt;
  font-weight: 800;
  color: #118ac1;
}

.icon {
  color: #118ac1;
  margin-left: 4px;
  margin-right: 4px;
}

a:link.histo-link {
  color: #337ab7 !important;
}
a:visited.histo-link {
  color: #551a8b !important;
}
a:hover.histo-link {
  color: #551a8b !important;
}

a.wa:link img.wa {
  display: inline;
}

a.wa:link img.wa-sent {
  display: none;
}

a.wa:visited img.wa {
  display: none;
}

a.wa:visited img.wa-sent {
  display: inline;
}

.hoverable {
  cursor: default;
  color: #000;
  text-decoration: none;
}
.hoverable .hover {
  display: none;
}
.hoverable:hover .normal {
  display: none;
}
.hoverable:hover .hover {
  display: inline; /* CHANGE IF FOR BLOCK ELEMENTS */
}

.select-header {
  background-color: #e9f7fe;
  color: black;
}

/* Notification messages */
.notification {
  position: fixed;
  top: 4em;
  left: 1em;
}

.loading-container,
#loading-container{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.relative {
  position: relative; /* ensures loader is positioned inside */
}

.section-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  width: 100%;
  height: 100%;
}

.htmx-request{
  display: block !important;
}

.tomato {
  color: tomato;
}

.teal {
  color: teal;
}

.dodgerblue {
  color: dodgerblue;
}

.ts-dropdown .option:nth-child(odd) {
  background-color: #f7f7f7;
}

.ts-dropdown .option:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;   
  padding-bottom: 4px;                  
  margin-bottom:  2px;
}

/*
####################################################
M E D I A  Q U E R I E S
####################################################
*/

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  div.dropdown-menu.show {
    width: 75%;
  }
  a.dropdown-item {
    font-size: 10pt !important;
  }
}

/* Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) {
  .address .info {
    font-size: 12px;
  }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */

@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
}

/* Extra large devices (large desktops, 1200px and up) */

@media (min-width: 1200px) {
}

/* New template with sidebar */

.nav-link{
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}
