/*For sticky footer */
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
  }

main {
  flex: 1 0 auto;
  overflow-y: auto;
  overflow-x: hidden;
}

#reactContent {
  margin: 8px 15px 15px 15px;
}
#wheel-container {
  margin: 15px 15px 15px 15px;
}


.contentCard {
  margin: 10px 0 10px 0;
  width: 100%;
}

.alertCard {
  /* background: linear-gradient(90deg, #FFB74D 25%, #FFF 25%); */
  /* height:100px;
  margin: 10px 10px 10px 10px;
  padding-right:10px */
  background: linear-gradient(90deg, rgb(255, 255, 255) 100%, #FFF 25%);
  height:100px;
  margin: 10px 10px 10px 10px;
  padding:10px;
}

.dataCard {
  background: linear-gradient(90deg, #ffffff 100%, #FFF 25%);
  height:100px;
  margin: 10px 10px 10px 10px;
  padding-right:10px;
}

.tableCard {
  background: linear-gradient(90deg, #ffffff 100%, #FFF 25%);
  /* height:100px; */
  margin: 10px 10px 10px 10px;
  /* padding-right:10px; */
}

.fixed-height-content {
  max-height: 800px;
  overflow-y: scroll;
}

/*Materialize Tab Style (to be used as standard)*/

.tabs .tab a {
  color: #455A64;
}

.tabs .tab a:hover {
  color: #FFB74D;
}

.tabs .tab a.active {
  color: #455A64;
}

.tabs .indicator {
    background-color: #455A64;
}

/*for pinned side & top navigation and responsive logo */
header, main, footer {
   margin-top: 25px; 
  }

/* to allow for x axis scroll on long tables - 

removed as it was causing unpredictable changes on dropdown menu select in new importer
does not seem to negatively affect other tables... -KH 2-26-2021
*/
body {
  /* overflow: auto !important */
}

.brand-logo > a:hover {
   background-color: transparent;
}

#user {
  background-color: #7F062B;
  color:#FFFFFF;
}

.side-nav .brand-logo {
  padding: 2.5% 2.5% 2.5% 9%;
}

.side-nav .logo-user-header {
  position: sticky;
}

.brand-logo > .side-nav a:hover {
  text-decoration:none;
  background-color: transparent;
}

#sidenav-overlay {
  background-color: rgba(0,0,0,0);
}

.nav-logo {
  visibility: hidden;
}

.sidebar-logo {
  visibility: visible;
}


.nav-content > .tabs .tab a {
  color: #263238;
}

.nav-content > .tabs .tab a:hover {
  color: #455a64;
}

.nav-content > .tabs .tab a.active {
  color: #455a64;
}
.nav-content > .tabs .indicator {
    background-color: #7F062B;
}

/*Full Calendar Custom Styles */

.rbc-event {
  background-color: #009688;
}

.rbc-event.rbc-selected {
  background-color: #FFB74D;
}

/*Form Builder Styles*/

.form-section {
  text-transform: uppercase;
  font-size: 16px !important;
  font-color: #455a64 !important;
}

/*custom add data wizard */

.wizard-step {
  display: none;
}
.wizard-panel {
  margin-top: 10%;
  padding: 50px;
}

a#calendar {
  color: #FFB74D;
}

a#metric {
  color: #455A64;
}

a#report {
  color: #009688;
}

.wizard-panel a:hover {

}

.wizard-panel a:selection {

}

/*DashAdmin Center*/
.collection a.collection-item {
    color: #455a64;
}

/*Custom Breadcrumbs for Nesting ActionWindow Component*/
ul.breadcrumbs li {
  display: inline;
  list-style-type: none;
  padding: 10px;
  border-right: 2px solid #ffb74d;
  padding-bottom: 10px;
}

ul.breadcrumbs li:last-child {
  border-right: none;
}

/*CAPA Response Checklist */
ul.response-status {
  margin-top: 30px;
}

ul.response-status li {
  padding: 20px;
}
/*Materialize Overrides*/

blockquote {
  border-left: 5px solid #ffb74d;
}

.fixed-action-btn {
    position: fixed;
    right: 23px;
    padding-top: 15px;
    margin-bottom: 0;
    top: 78px;
    z-index: 998;
}

.fixed-action-btn.horizontal ul {
    text-align: right;
    right: -270px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 100%;
    left: auto;
    width: 500px;
}

/*Media Break for small screens */
  @media only screen and (max-width : 992px) {
    header, main, footer {
      padding-left: 0;
    }
    /*for responsive logo in navbar and side nav*/
    .nav-logo {
      visibility: visible;
    }

    .sidebar-logo{
      visibility: hidden;
    }

    .alertCard {
      background: linear-gradient(90deg, #FFF 25%, #FFF 25%);
    }
  }

/* Select Menu Caret fix */
.caret {
  border-color: transparent !important;
}

/* Warning Prompt for Hazard Form edit */

#icon-paragraph {
  display: inline-flex;
  padding-top: 10px;
}

#warning-paragraph {
  padding-left: 15px;
  text-align: justify;
}
#hazard-yes-button {
  margin-right: 15px;
}
#hf-cancel-button {
  margin-left: -10px;
  margin-right: 10px;
}

.align-right {
  text-align: right
}

.side-nav li>a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#sideSlideCard {
  width: 0px;
  transition: width 400ms;
  min-height: 500px;
}

#sideSlideCard.slideIn {
  margin-left: 10px;
  width: 400px;
}
#sideSlideCard.slideOut {
  width: 0px;
}

.logic-row .text {
  font-size: 30px;
  align-self: flex-end;
}
#formOptionSlider {
  overflow: hidden;
  width: 0px;
  transition: width 600ms;
}

#formOptionSlider.slideIn {
  margin-left: 10px;
  width: 400px;
}
#formOptionSlider.slideOut {
  width: 0px;
}

.sortableHelper {
  z-index: 10;
}

.react-grid-layout {
  position: relative;
}

.react-grid-item > .react-resizable-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  bottom: 0;
  right: 0;
  cursor: se-resize;
}

.react-grid-item > .react-resizable-handle::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-right: 2px solid rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid rgba(0, 0, 0, 0.4);
}
.react-resizable {
  position: relative;
}
.react-resizable-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  bottom: 0;
  right: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');
  background-position: bottom right;
  padding: 0 3px 3px 0;
  background-repeat: no-repeat;
  background-origin: content-box;
  box-sizing: border-box;
  cursor: se-resize;
}

.react-grid-item {
  overflow: auto;
  position: relative;
}
 
del {
   background-color: #fbb;

 }

ins {
  background-color: #d4fcbc;
}

th:before {
  top: -1px;
  border-top: 1px solid #e0e0e0;
}

th:after {
  bottom: -2px;
  border-bottom:
   2px solid #e0e0e0;
}

.custom_fc_frame {right: 50px !important;bottom: 15px !important;}

.dropzone {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-width: 3px;
  border-radius: 4px;
  border-color: #eeeeee;
  border-style: dashed;
  outline: none;
  transition: border .24s ease-in-out;
}

#printContainer {
  display: none !important;
}

.bodyMapTooltip {
	position: absolute;
	color: #fff;
	padding: 10px;
	background: rgba(0,0,0,0.8);
	transform: translate3d(-50%, -50%, 0);
	border-radius: 5px;
	pointer-events: none;
	z-index: 1000;
}

.headLegend {
	position: absolute;
	transform: translate3d(-50%, -50%, 0);
	pointer-events: none;
	z-index: 1000;
}

/* TODO: uncomment display none once testing is done */
#auth0_login, #auth0_logout {
  /* display: none */
}

.auth0_logo {
  height: 52;
  margin: 0 auto;
}

/* Auth0 Loading Page Styles */
.dummy_auth_0_wrapper {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dummy_auth_0_component {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.8);
  overflow: hidden;
  position: relative;
  animation: slideUp 0.6s ease-out;
  margin: 20px;
}

.dummy_auth_0_header {
  padding: 60px 40px 50px 40px;
  text-align: center;
  position: relative;
}

.auth0_logo_placeholder {
  margin: 0 auto 30px auto;
  animation: logoFadeIn 1s ease-out 0.2s both;
}

.auth0_company_logo {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 140px;
  filter: drop-shadow(0 2px 8px rgba(69,90,100,0.1));
}

.a0_welcome {
  margin: 0 0 12px 0;
  color: #2c3e50;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.3px;
  animation: textFadeIn 0.8s ease-out 0.4s both;
}

.a0_description {
  margin: 0 0 40px 0;
  color: #6b7280;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  animation: textFadeIn 0.8s ease-out 0.5s both;
}

/* Elegant Progress Bar */
.progress-container {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin: 20px 0;
  animation: progressFadeIn 0.8s ease-out 0.6s both;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #455A64 0%, #607d8b 50%, #455A64 100%);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: progressFlow 2.5s ease-in-out infinite, progressGrow 3s ease-out infinite;
  box-shadow: 0 0 12px rgba(69,90,100,0.3);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes textFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progressFadeIn {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes progressFlow {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes progressGrow {
  0% {
    width: 0;
  }
  50% {
    width: 60%;
  }
  100% {
    width: 85%;
  }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .dummy_auth_0_component {
    margin: 10px;
    border-radius: 12px;
  }
  
  .dummy_auth_0_header {
    padding: 40px 24px 36px 24px;
  }
  
  .auth0_company_logo {
    width: 160px;
    max-height: 110px;
  }
  
  .a0_welcome {
    font-size: 20px;
  }
  
  .a0_description {
    font-size: 14px;
  }
}

.custom-tooltip {
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  pointer-events: none;
  display: none;
  z-index: 100;
}

.highcharts-container,
.highcharts-container svg {
  width: 100% !important;
  height: 100% !important;
}

.no-company-brand-logo {
  background-color: 'blue';
  width: 275px;
  min-height: 64px;
  height: auto; 
  padding-left: 16px;
  position: relative;
  color: #fff;
  display: inline-block;
  font-size: 2.1rem;
  white-space: nowrap;
  margin-top: 21px
}
