@font-face {
  font-family: Sole Repsol;
  font-style: normal;
  font-weight: normal;
  src: url(/tools/IA/Config/Company/es-rep/font/solerepsoltext_a_rg.ttf) format('truetype');
}

#body,
.tabItem {
  font-family: 'Sole Repsol', sans-serif;
  font-size: 16px;
  color: #001E37;
  font-weight: 400;
}

#main {
  width: 100%;
  margin: 0 auto;
}

#body {
  margin: 0;
}

div {
  display: block;
}

iframe {
  width: 100%;
  height: 100%;
  border: 0 !important;
}

.tabs {
  text-align: center;
  font-size: 0px !important;
  padding: 4px;
  margin: 10px 0 10px 0;
  position: relative;
  background: #F7F7F9;
  border-radius: 30px;
  border-bottom: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
  height: 3px;
}

.tabs::-webkit-scrollbar-track {
  background: transparent;
}

.tabs::-webkit-scrollbar-thumb {
  background: #7997AF;
  border-radius: 30px;
}

.tabs::-webkit-scrollbar-thumb:hover {
  background: #001E37;
}

.tabs li {
  float: none;
  display: inline-block;
  font-size: 0;
  box-sizing: border-box;
  flex-shrink: 0;
}

.tabItem:first-letter {
  text-transform: capitalize;
}

/* Base tab button */
.tabItem {
  height: auto;
  line-height: normal;
  display: inline-block;
  box-sizing: border-box;
  padding: 0.9em 1.5em !important;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 30px;
  text-decoration: none;
  text-transform: capitalize;
  transition: background 0.5s, color 0.5s, border 0.5s;
  position: relative;
  font-family: inherit;
  font-weight: normal;
  font-size: 16px;
  text-align: center;
  color: #43637D;
  white-space: nowrap;
}

/* Hover state */
.tabItem:hover {
  color: #001E37;
  background: #FFFFFF;
  border: 1px solid #DBE6F0;
  box-shadow: 0px 2px 8px rgba(0, 30, 55, 0.1);
  border-radius: 30px;
}

/* Active state */
.tabItem:active,
.tabItem-active {
  background: #FFFFFF !important;
  color: #001E37;
  font-weight: bold;
  border: 1px solid #DBE6F0 !important;
  border-radius: 30px;
  box-shadow: 0px 2px 8px rgba(0, 30, 55, 0.1);
}

.tabItem-active:before {
  content: none;
}

.tabs-control {
  margin-top: 2px;
  display: table;
  width: 100%;
  margin-bottom: 1.5em;
  max-width: 100px;
  margin: 0 auto;
  margin-bottom: 32px;
}

@media (max-width: 435px) {
  .tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 8px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .tabs li {
    flex-shrink: 0;
  }
  .tabItem {
    white-space: nowrap;
  }
  .tabs::-webkit-scrollbar-thumb {
    background: #DBE6F0;
  }
  .tabs::-webkit-scrollbar-thumb:hover {
    background: #DBE6F0;
  }
  .tabs-control {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    margin-top: 2px;
    display: block !important;
    width: 100%;
    max-width: 100% !important;
    margin-bottom: 32px;
}
}