.icon-spin {
  display: inline-block;
  -moz-animation: spin 2s infinite linear;
  -o-animation: spin 2s infinite linear;
  -webkit-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
}
.no-border-radius {
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
}
.text-uppercase {
  text-transform: uppercase;
}
.text-justify {
  text-align: justify;
}
.text-line-through {
  text-decoration: line-through;
}
.box-heading {
  font-weight: bold;
  font-family: 'Oswald';
  margin-bottom: 15px;
}
@media (max-width: 767px) {
  #sidebar {
    z-index: 99999;
    position: relative;
  }
  #page-wrapper {
    margin-top: 50px;
  }
  #topbar .navbar-header {
    width: 100%;
    text-align: left;
  }
  #topbar .navbar-header #logo {
    line-height: auto;
    width: auto;
    height: auto;
  }
  #topbar .navbar-header .navbar-toggle {
    margin: 4px 15px;
    border: 0;
  }
  #topbar .navbar-header .navbar-toggle:hover,
  #topbar .navbar-header .navbar-toggle:focus {
    background: transparent;
    color: #488c6c;
  }
  #topbar .navbar-header .navbar-toggle .icon-bar {
    background: #ffffff;
    width: 30px;
    height: 5px;
    border-radius: 0;
  }
  #topbar .navbar-top-links {
    margin-left: 15px;
    margin-right: 15px;
  }
  #topbar .navbar-top-links li > a {
    padding: 15px;
  }
  #footer {
    position: relative;
  }
  #sidebar-hover #topbar .navbar-header {
    width: 100%;
  }
  #sidebar-hover #wrapper #page-wrapper {
    margin-left: 0px;
  }
  #sidebar-hover .dropdown-submenu > .dropdown-menu {
    margin-left: 0;
  }
  .timeline-centered .timeline-entry {
    width: 100%;
    float: left;
  }
  .horizontal-menu-page #sidebar {
    display: block;
  }
}
@media (max-width: 768px) {
  .timeline-centered:before {
    margin-left: 27px;
    left: 0px;
  }
  .timeline-centered .timeline-entry .timeline-entry-inner {
    margin-left: 0px;
  }
  .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time,
  .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner .timeline-time {
    left: 73px;
    text-align: left;
    top: -55px;
  }
  .timeline-centered.timeline-sm .timeline-entry {
    margin-bottom: 65px !important;
  }
  .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner .timeline-icon {
    float: left;
  }
  .timeline-centered .timeline-entry.left-aligned .timeline-entry-inner .timeline-label {
    margin-left: 85px;
    margin-right: 27px;
  }
  .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label.bg-green:after {
    border-color: transparent #fff transparent transparent;
  }
  .page-title-breadcrumb {
    height: auto;
    min-height: 50px;
    padding-bottom: 10px;
  }
  .page-title-breadcrumb .reportrange {
    clear: both;
    float: left;
  }
}
@media (min-width: 768px) {
  .sidebar-collapse {
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .sidebar-collapse {
    display: block;
  }
  #topbar .navbar-header {
    text-align: center;
  }
  #topbar .navbar-header #logo {
    line-height: auto;
    width: 100%;
    height: auto;
  }
  #topbar .navbar-header .navbar-toggle {
    margin: 4px 15px;
    border: 0;
  }
  #topbar .navbar-header .navbar-toggle:hover,
  #topbar .navbar-header .navbar-toggle:focus {
    background: transparent;
    color: #488c6c;
  }
  #topbar .navbar-header .navbar-toggle .icon-bar {
    background: #ffffff;
    width: 30px;
    height: 5px;
    border-radius: 0;
  }
  #topbar .navbar-top-links {
    margin-left: 15px;
    margin-right: 15px;
  }
  #topbar .navbar-top-links li > a {
    padding: 15px;
  }
  #footer {
    position: relative;
  }
  .timeline-centered .timeline-entry {
    width: 100%;
    float: left;
  }
  .horizontal-menu-page #sidebar {
    display: block;
  }
}
@media only screen and (min-width: 1281px) and (max-width: 1520px) {
  span.text-uppercase {
    display: none;
  }
  #topbar .navbar-top-links li > a {
    padding: 15px 15px;
  }
}
/* BEGIN FLIP SCROLL RESPONSIVE TABLE */
@media only screen and (max-width: 800px) {
  /* Flip Scroll */
  #flip-scroll .cf:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
  #flip-scroll * html .cf {
    zoom: 1;
  }
  #flip-scroll *:first-child + html .cf {
    zoom: 1;
  }
  #flip-scroll table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
  }
  #flip-scroll th,
  #flip-scroll td {
    margin: 0;
    vertical-align: top;
  }
  #flip-scroll th {
    text-align: left;
  }
  #flip-scroll table {
    display: block;
    position: relative;
    width: 100%;
  }
  #flip-scroll thead {
    display: block;
    float: left;
  }
  #flip-scroll tbody {
    display: block;
    width: auto;
    position: relative;
    white-space: nowrap;
  }
  #flip-scroll thead tr {
    display: block;
  }
  #flip-scroll th {
    display: block;
    text-align: right;
  }
  #flip-scroll tbody tr {
    display: inline-block;
    vertical-align: top;
  }
  #flip-scroll td {
    display: block;
    min-height: 1.25em;
    text-align: left;
  }
  #flip-scroll th {
    border-bottom: 0;
    border-left: 0;
  }
  #flip-scroll td {
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
  #flip-scroll tbody tr {
    border-left: 1px solid #babcbf;
  }
  #flip-scroll th:last-child,
  #flip-scroll td:last-child {
    border-bottom: 1px solid #babcbf;
  }
  /* Flip Scroll */
  /* No More Table */
  #no-more-tables table,
  #no-more-tables thead,
  #no-more-tables tbody,
  #no-more-tables th,
  #no-more-tables td,
  #no-more-tables tr {
    display: block;
  }
  #no-more-tables thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  #no-more-tables tr {
    border: 1px solid #ccc;
  }
  #no-more-tables td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
    white-space: normal;
    text-align: left;
  }
  #no-more-tables td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }
  #no-more-tables td:before {
    content: attr(data-title);
  }
  /* No More Table */
}
/* END FLIP SCROLL RESPONSIVE TABLE */
#bg {
				background-color: #e8e8e8;
				width: 100%;
				height: auto;
				bottom: 0px;
				top: 0px;
				left: 0;
				position: absolute;
				z-index: 999;
				opacity: 0.8;
			}





/* custom */

.button {
  font-size: 13px;
  line-height: 1.5;
  color: #ffffff;
  border-radius: 20px !important;
  background: #2e3970;
  border-color: #2e3970;
  outline: none !important;
  padding: 10px 16px;
width: 200px;
  transition: opacity 0.5s ease-in-out;
}

.button-container {
  text-align: center;
margin-top: 20px;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.show {
  opacity: 1;
  pointer-events: auto;
}

.main-container{
padding-top: 60px;
padding-bottom: 25px;
 /* display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
padding-bottom: 100px;*/
}

.helper{
  display: flex;
  justify-content: center;
  align-items: center;
}

.error {
  display: flex;
  justify-content: center;
  align-items: center;
padding-top: 20px;
color: tomato;
  height: 70px;
}

.input-error {
opacity: 1;
border: 2px solid tomato !important;
  transition: opacity .5s ease-in-out;
}


.center {
  text-align: center;
}

.search-container {
  display: flex;
  justify-content: center;
}

.searchInput,.dateInput {
flex: 0.4;
}

.or-text {
  /* flex: 0.1; */
  justify-content: center;
  display: flex;
  align-self: center;
font-weight: 400;
font-size: 17px;
}

.container .searchInput, .container .dateInput{
  background: #fff;
 /* width: 100%;*/
  border-radius: 5px;
  position: relative;
  box-shadow: 0px 1px 5px 3px rgba(0,0,0,0.12);
}

.searchInput input, .dateInput input{
  height: 55px;
  width: 100%;
  outline: none;
  /*border: none;*/
  border-radius: 5px;
  padding: 0 60px 0 20px;
  font-size: 18px;
  box-shadow: 0px 1px 5px rgba(0,0,0,0.1);
  border: 2px solid transparent;
}

.dateInput input{
  padding: 0 20px 0 20px;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.searchInput .icon{
  position: absolute;
  right: 0px;
  top: 0px;
  height: 55px;
  width: 25px;
  text-align: center;
  line-height: 55px;
  font-size: 20px;
  color: #797979;
  margin-right: 20px;
cursor: default;
}

.background {
height: 100%;
  background-image: url('/img/bkg.svg');
}

.page-1{
  opacity: 0;
  transform: translateX(-100px); /* Start off-screen to the left */
  transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
}

.page-2 {
  opacity: 0;
  transform: translateX(-100px); /* Start off-screen to the left */
  transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
}
.page-3 {
  opacity: 0;
  transform: translateX(-100px); /* Start off-screen to the left */
  transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
  height: calc(100vh - 260px);
}


  /* Visible state */
.page-1.show {
  opacity: 1;
  transform: translateX(0); /* Move to original position */
}

/* Hide state */
.page-1.hide {
  opacity: 0;
  transform: translateX(100px); /* Move off-screen to the right */
}

/* Visible state */
.page-2.show {
  opacity: 1;
  transform: translateX(0); /* Move to original position */
}

/* Hide state */
.page-2.hide {
  opacity: 0;
  transform: translateX(100px); /* Move off-screen to the right */
}

/* Visible state */
.page-3.show {
  opacity: 1;
  transform: translateX(0); /* Move to original position */
}

/* Hide state */
.page-3.hide {
  opacity: 0;
  transform: translateX(100px); /* Move off-screen to the right */
}

/* Visible state */
.page-4.show {
  opacity: 1;
  transform: translateX(0); /* Move to original position */
}

/* Hide state */
.page-4.hide {
  opacity: 0;
  transform: translateX(100px); /* Move off-screen to the right */
}

.back-button {
  font-family: Arial, sans-serif;
  /* font-size: 16px;*/
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 20px;
}
.back-button i {
  margin-right: 8px;
}
.back-button {
  text-decoration: none !important;
}

.next-button {
  font-family: Arial, sans-serif;
  /* font-size: 16px;*/
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 20px;
}
.next-button i {
  margin-left: 8px;
}
.next-button {
  text-decoration: none !important;
}

.pointer {
  cursor: pointer;
}

.absolute-center {
  text-align: center;
  vertical-align: middle !important;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0); /* Default background color with transparency */
  transition: background-color 0.3s, opacity 0.3s; /* Smooth transition for background color and opacity */
}

thead.scrolled th {
  background-color: rgba(255, 255, 255, 1); /* Background color with full opacity when scrolled */
  opacity: 1; /* Fully opaque */
}

thead th {
  opacity: 1; /* Initially hidden */
}
thead.scrolled th {
  opacity: 1; /* Fully visible when scrolled */
}

.header-1{
  padding-top: 40px;
  opacity: 0;
  transform: translateY(-100px); /* Start off-screen to the left */
  transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
}

.header-1.show {
  opacity: 1;
  transform: translateY(0); /* Move to original position */
}

.header-1.hide {
  opacity: 0;
  transform: translateY(100px); /* Move off-screen to the right */
}

.header-2 {
  opacity: 0;
  transform: translateX(-100px); /* Start off-screen to the left */
  transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
}

.header-2.show {
  opacity: 1;
  transform: translateX(0); /* Move to original position */
}

.header-2.hide {
  opacity: 0;
  transform: translateX(100px); /* Move off-screen to the right */
}

.header-3 {
  opacity: 0;
  transform: translateX(-100px); /* Start off-screen to the left */
  transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
}

.header-3.show {
  opacity: 1;
  transform: translateX(0); /* Move to original position */
}

.header-3.hide {
  opacity: 0;
  transform: translateX(100px); /* Move off-screen to the right */
}

.canvas-container-1 {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
}

.canvas-container-1.show-flex {
  opacity: 1;
  transform: translateY(0);
}

.canvas-container-1.hide {
  opacity: 0;
  transform: translateY(100px);
}

.canvas-container-2 {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
}

.canvas-container-2.show-flex {
  opacity: 1;
  transform: translateY(0);
}

.canvas-container-2.hide {
  opacity: 0;
  transform: translateY(100px);
}

.deceased-element {
  cursor: pointer;
}

.information {
  height: calc(100vh - 200px);
  background: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0px 1px 5px 3px rgba(0,0,0,0.12);
  margin-right: 15px;
}

#canvas-container-1, #canvas-container-2 {
  display: block;
  /* display: flex;
  flex-direction: column;
  justify-content: center; */
  width: 100%;
  overflow: auto;
  padding: 0;
}

#canvas-container-1 > .canvas-container, #canvas-container-2 > .canvas-container {
  align-self: center;
}

.panel-wrap {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 30em;
  transform: translateX(100%);
  transition: .3s ease-out;
}


@media screen and (max-width: 1360px) and (max-height: 760px) {
  /* Your CSS for screens below 1366x768 */
  .panel-wrap {
      width: 40em !important;
  }
}

.panel {
  position: absolute;
  top: 10px;
  bottom: 0;
  left: 0;
  right: 10px;
  background: white;
  color: #333;
  padding: 1em;
  border-radius: 20px;
  box-shadow: 0px 1px 5px 3px rgba(0,0,0,0.12);
}

.panel-wrap.active {
  transform: translateX(0%); /* Bring on-screen */
}

.panel-toggle-button {
  width: 70px;
  height: 55px;
  position: absolute;
  right: 0;
  top: 50px;
  background: #2e3970;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  text-align: center;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.panel-toggle-button.hidden {
  transition: opacity 0.5s ease-in-out
}

.panel-toggle-button > .row > div > i {
  color: white;
}

.bold {
  font-weight: bold;
}

.current-zoom {
  font-weight: bolder;
  min-width: 90px;
}

.zoom-indicator {
  min-width: 90px;
  padding-left: 5px;
  padding-right: 5px;
  text-align: center;
  cursor: pointer;
}

.zoom-down, .zoom-up {
  color: #2e3970;
  padding: 3px;
  cursor: pointer;
}

.result-info {
  margin-bottom: 0;
}

.subtitle-color {
  width:25px;
  height: 25px;
  background: rgba(173,213,178,0.85);
  margin-right: 10px
}

.subtitle-container {
  display: flex;
  align-items: center;
  padding: 0px;
}

#viewport {
  /* height: 500px; */
  left: 0;
  position: absolute;
  top: 0;
  width: 100vw; 
  overflow: auto;
}