.searchBody {
  background: var(--bg_color);
}

.searchCont {
  width: 100%;
  overflow: hidden;
}

.searchCont .search-option {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: left;
  align-items: center;
  margin: 1em 1em 0em 1em;
}

.searchCont .search-option span {
  font-size: 1.4rem;
}

.searchCont .search-option .total-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}

.searchCont .search-option .span-disp {
  font-size: 1.6rem;
  font-weight: 600;
  display: block;
}

.searchCont .search-option .select-search {
  font-size: 1.4rem;
  width: 15rem;
  margin-right: 0.5em;
  padding: 0.1em;
}

.searchCont .search-option .date-search {
  font-size: 1.2rem;
  width: 15rem;
  margin-right: 0.5em;
  margin-left: 0.5em;
  padding: 0.1em;
}

.searchCont .search-option .text-search {
  font-size: 1.2rem;
  width: 15rem;
  margin-right: 0.5em;
  margin-left: 0.5em;
  padding: 0.1em;
}

.searchCont .search-option .button-search {
  width: 7.5em;
  font-size: 1.6rem;
  padding: 0.2em 0.6em 0.2em 0.6em;
  letter-spacing: 1px;
  background: var(--main_color);
  color: var(--sec_color);
  border-radius: 0.2em;
  cursor: pointer;
}

.searchCont .search-option .button-search:hover,
.searchCont .search-option .button-search:focus {
  color: #000;
}

.searchCont .search-option .button-reset {
  font-size: 1.2rem;
  padding: 0.2em 0.6em 0.2em 0.6em;
  background: var(--main_color);
  color: var(--sec_color);
  border-radius: 0.2em;
  cursor: pointer;
  margin-left: 1em;
  margin-right: 1em;
}

.searchCont .search-option .button-reset:hover,
.searchCont .search-option .button-reset:focus {
  color: #000;
}

.searchCont .search-option .button-searchCant {
  font-size: 1.4rem;
  padding: 0.15em 0.4em 0.15em 0.4em;
  background: var(--main_color);
  color: var(--sec_color);
  border-radius: 0.2em;
  cursor: pointer;
  position: relative;
  margin-left: auto;
  margin-right: 0;
  font-style: normal;
}

.searchCont .search-option .button-searchCant:hover,
.searchCont .search-option .button-searchCant:focus {
  color: #000;
}

.searchCont .excel-button .button-excel {
  font-size: 1.4rem;
  padding: 0.15em 0.4em 0.15em 0.4em;
  background: var(--export_color);
  color: var(--sec_color);
  border-radius: 0.2em;
  cursor: pointer;
  position: relative;
  float: right;
  margin-right: 1em;
  font-style: normal;
}

.searchCont .excel-button .button-excel:hover,
.searchCont .excel-button .button-excel:focus {
  color: #000;
}

/*
    Table
*/
.table-sec {
  overflow-x: auto;
}

.table-search th {
  font-size: 1.2rem;
  min-width: 5.5em;
}

.table-search {
  border-collapse: collapse;
  width: 98%;
  margin: 1em 1%;
  font-size: 1rem;
  min-width: 25em;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.table-search thead tr {
  background: var(--main_color);
  color: var(--sec_color);
  text-align: left;
  font-weight: bold;
}

.table-search th,
.table-search td {
  padding: 8px 10px;
  width: auto;
  text-align: center;
}

.table-search tbody tr {
  border-bottom: 1px solid #dddddd;
}

.table-search tbody tr:nth-of-type(even) {
  background: var(--sec_color_darker);
}

.table-search tbody tr:nth-of-type(odd) {
  background: var(--sec_color);
}

.table-search tbody tr:last-of-type {
  border-bottom: 2px solid var(--main_color);
}

.nums-cont {
  width: max-content;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.nums-cont .nums {
  display: inline-block;
  width: 2.3em;
  text-align: center;
  vertical-align: middle;
  font-size: 1rem;
  margin: 4px;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 3px;
  color: var(--ft_color);
  background-color: var(--sec_color);
  border: 1px solid var(--ft_color);
}

.nums-cont .nums:hover,
.nums-cont .nums:focus {
  color: var(--main_color);
}

.nums-cont .num-active {
  color: var(--sec_color);
  background-color: var(--main_color);
  border: 1px solid var(--ft_color);
}

.nums-cont .num-active:hover,
.nums-cont .num-active:focus {
  color: #000;
}

.nums-cont .num-dots {
  color: var(--ft_color);
  position: relative;
  top: 8px;
}

.loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 4;
  background: url("../img/loader.gif") 50% 50% no-repeat rgb(249, 249, 249);
  opacity: 0.8;
}

.excel-loader {
  display: none;
  float: right;
  margin-right: 0.5em;
  opacity: 0.8;
}

/*
  Diferentes resoluciones
*/

@media (max-width: 85rem) {
  .searchCont .search-option {
    flex-direction: column;
    align-items: center;
  }

  .searchCont .search-option * {
    margin-bottom: 0.5em;
  }

  .searchCont .search-option .span-disp {
    position: inherit;
  }

  .searchCont .search-option .button-searchCant {
    margin-left: 0;
  }

  .searchCont .excel-button .button-excel {
    float: unset;
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    margin: 0.6em 0;
  }
}

@media (max-width: 31rem) {
  .searchCont .search-option .opt1,
  .searchCont .search-option .opt2 {
    margin-bottom: 0.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .searchCont .search-option .span-disp {
    font-size: 1.3rem;
  }
}
