/* @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root{
  --primary-clr: hsl(207, 58%, 54%);
  --primary-clr-dark: hsl(207, 58%, 45%);
  --excel-clr: hsl(125, 50%, 50%);
  --excel-clr-dark: hsl(125, 50%, 43%);
  --secondary-clr: hsl(5, 79%, 65%);
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
}

a:hover {
  text-decoration: none;
 }

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

@media (min-width: 1200px) {
  .container{
      max-width: 85vw;
  }
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.logo {
  width: 220px;
  margin: 0 auto;
  padding: 3rem 0 1.5rem;
}

.heading {
  font-family: "Sen", "sans-serif";
}

.font-weight-medium {
  font-weight: 600 !important;
}

.heading-icon {
  color: #ec6a5d;
}

.primary-text{
  color: var(--primary-clr);
}

.home-section {
  display: flex;
  gap: 2rem;
}

.search::after{
  content: "";
  display: block;
  background-image: linear-gradient(90deg,#6fa9d9,#6fa9d9 22%,#ec6a5d 0,#ec6a5d 25%,#58595b 0);
  bottom: 0px;
  position: absolute;
  width: 100%;
  height: 10px;
}
/* ================== */
/* Button Styling */

.custom-btn {
  padding: 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  text-align: center;
  transition: ease-in-out 150ms;
  background-color: #ec6a5d;
  color: #fff;
  box-shadow: 0 0 8px #ec6a5d;
}

.custom-btn:hover {
  background: transparent;
  box-shadow: 0 0 0 2px #ec6a5d;
  color: #ec6a5d;
}

.primary-btn {
  background-color: var(--primary-clr);
  box-shadow: 2px 2px 8px var(--primary-clr);
}

.secondary-btn btn {
  border: none;
}

.secondary-btn {
  background-color: var(--primary-clr);
  color: #fff;
  padding: 0.8rem;
  border-radius: 10px;
  transition: ease-in-out 150ms;
  box-shadow: 2px 2px 8px var(--primary-clr-dark);
}

.secondary-btn:hover, .secondary-btn:focus {
  background-color: transparent;
  color: var(--primary-clr-dark);
  box-shadow: 0 0 0 2px var(--primary-clr-dark);
}

.excel-btn {
  background-color: var(--excel-clr);
  box-shadow: 2px 2px 8px var(--excel-clr);
  padding: 0.8rem;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  color: #fff;
  float: right;
}

.excel-btn:hover, .excel-btn:focus {
  background-color: transparent;
  box-shadow: 0 0 0 2px var(--excel-clr);
  color: var(--excel-clr);
}

.primary-btn:hover, .primary-btn:focus{
  background-color: var(--primary-clr-dark);
}


/* ===================== */
/* Tab Styling */

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}


/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

#tab-content{
  display: none;
}

/* img */

.img-home{
  height: auto;
  width: 50%;
  object-fit: cover;
}

#page-container{
  min-height: 100vh;
  position: relative;
}

#content-wrap{
  padding-bottom: 4rem;
}

#footer{
  /* background-color: #58595b; */
  display: flex;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  padding-bottom: 2rem;
  margin-top: 1rem;
  height: 4rem;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.link:hover{
  color: #ec6a5d;
}

.wrapText {
  width: 240px;
  overflow: hidden;
  white-space: nowrap;
  display: block;
  text-overflow: ellipsis;
}

table.dataTable tbody td {
  font-size: 1rem;
}

/* Tooltip */

[data-tooltip] {
  position: relative;
  cursor: pointer;
}

[data-tooltip]::after {
  position: absolute;
  content: attr(data-tooltip);
  font-size: 0.95rem;
  width: 150px;
  max-width: 300px;
  padding: 0.5rem;
  text-align: center;
  border-radius: 10px;
  background-color: hsl(207, 58%, 45%);
  border: 1px solid hsl(207, 58%, 30%);
  color: white;
  font-family: "Sen", "sans-serif";
  font-weight: 700;
  bottom: 1.2rem;
  left: calc(50% - 70px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 0.3s, transform 0.2s;
}

[data-tooltip]:hover::after{
  visibility: visible;
  opacity: 1;
  transform: translateY(-5px);
}

.home-icon {
  cursor: pointer; color:hsl(207, 57%, 54%); 
  opacity: 0.8
}

.home-table td {
  vertical-align: middle;
}

li{
  list-style: none;
}

.messages {
  padding: 0.5rem;
  text-align: center;
}