
.translation-header {
  font-size: 18px;
}
.translation-header.active {
  font-weight: 700;
  font-size: 20px;
}
@media screen and (max-width: 575px) {
  .translation-header {
    font-size: 15px;
  }
  .translation-header.active {
    font-size: 17px;
  }
}

#filterBtn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  height: 100%;
  padding-right: 20px;
}
#filterBtn > i,
#filterBtn > .svg-inline--fa {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px;
  border-radius: 5px;
  color: #fff;
  background-color: #d4ad5c;
}

@media screen and (min-width: 992px) {
  .reportMedal {
    position: absolute;
    top: 0;
    right: 10px;
  }
}

.card-icon,
.card-icon-md,
.card-icon-lg {
  display: block;
}
.card-icon--tr,
.card-icon-md--tr,
.card-icon-lg--tr {
  display: none;
  position: absolute;
  right: 10px;
  top: 10px;
}
.card-icon--br,
.card-icon-md--br,
.card-icon-lg--br {
  bottom: 10px;
  display: none;
  position: absolute;
  right: 10px;
}
.card-icon--always,
.card-icon-md--always,
.card-icon-lg--always {
  display: block !important;
}

@media screen and (max-width: 991px) {
  .card-icon-lg {
    display: none;
  }
  .card-icon-lg--tr {
    display: block;
  }
  .card-icon-lg--br {
    display: block;
  }
}
.checkbox .round {
  padding: 0;
  position: relative;
}

.checkbox .round label {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  height: 20px;
  width: 20px;
  display: block;
  margin-bottom: 0;
}

.checkbox .round label:after {
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  content: "";
  height: 5px;
  left: 5px;
  opacity: 0;
  position: absolute;
  top: 7px;
  transform: rotate(-45deg);
  width: 10px;
}

.checkbox .round input[type=checkbox] {
  visibility: hidden;
  display: none;
  opacity: 0;
}

.checkbox .round input[type=checkbox]:checked + label {
  background-color: #d4ad5c;
  border-color: #d4ad5c;
}

.checkbox .round input[type=checkbox]:checked + label:after {
  opacity: 1;
}

.card {
  border: 0;
  border-radius: 0;
}
.card--clickable {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.16);
}
.card--clickable:hover {
  cursor: pointer;
}

.card-left-border {
  border-bottom: inherit;
  border-right: inherit;
  border-top: inherit;
  border-left: 0.7rem solid #535150 !important;
}

.card-top-border {
  border-bottom: inherit;
  border-right: inherit;
  border-right: inherit;
  width: 10e;
}
.card-top-border--rouge {
  border-top: 0.7rem solid #e96161 !important;
}
.card-top-border--blanc {
  border-top: 0.7rem solid #fdf1b6 !important;
}
.card-top-border--rosé {
  border-top: 0.7rem solid #ffe6e6 !important;
}
.card-top-border--orange {
  border-top: 0.7rem solid #ea9a45 !important;
}
.card-top-border--vert {
  border-top: 0.7rem solid #58d739 !important;
}

.card-icon {
  display: block;
}
@media screen and (max-width: 767px) {
  .card-icon {
    display: none;
  }
}
.card-icon--always {
  display: block !important;
}
.card-icon--tr {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
}
@media screen and (max-width: 767px) {
  .card-icon--tr {
    display: block;
  }
}
.card-icon--br {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: none;
}
@media screen and (max-width: 767px) {
  .card-icon--br {
    display: block;
  }
}

.mini-card {
  position: relative;
  outline: solid 1px;
  border-radius: 5px;
  height: 110px;
  width: 120px;
  padding: 10px;
  margin-right: 0.4em;
}
.mini-card > .wrapper {
  position: relative;
  height: 100%;
}
.mini-card > .wrapper > .icon {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 20px;
}
.mini-card > .wrapper > .text {
  position: absolute;
  bottom: 0;
  left: 0;
}

input:checked + .mini-card {
  background-color: #dadada;
}

.sunburst- {
  color: #535150;
}
.sunburst-good {
  color: #58d739;
}
.sunburst-passable {
  color: #ea9a45;
}
.sunburst-poor {
  color: #e96161;
}

.sunburst-good:hover {
  color: #58d739;
}

.sunburst-passable:hover {
  color: #ea9a45;
}

.sunburst-poor:hover {
  color: #e96161;
}

.sunburst-:hover {
  color: #535150;
}

.btn {
  border-radius: 40px;
  font-size: 15px;
  padding: 0.4rem 0.75rem;
  border: none;
}
@media screen and (max-width: 575px) {
  .btn {
    padding: 0.4rem 0.75rem;
  }
}

.btn-pills {
  border-radius: 40px !important;
  color: black;
  font-size: 15px;
  background-color: #ffffff;
  padding: 0.4rem 1.25rem;
}
.btn-pills--red {
  background-color: #d4ad5c !important;
  border: solid 1px #d4ad5c;
  color: white;
}
.btn-pills--grey {
  background-color: #535150 !important;
  border: solid 1px #535150;
  color: white;
}
.btn-pills--dark-grey {
  background-color: #6d6d6d !important;
  border: solid 1px #6d6d6d;
  color: white;
}
.btn-pills--light-grey {
  background-color: #dadada !important;
  border: solid 1px #dadada;
  color: white;
}
.btn-pills--header-grey {
  background-color: #efefef !important;
  border: solid 1px #efefef;
  color: white;
}

.btn-back {
  position: relative;
  width: 2.5em;
  height: 2.5em;
  border-radius: 2.5em;
  border: none;
  align-items: center;
  justify-content: center;
  display: flex;
  color: #6d6d6d;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.16);
}
.btn-back:active {
  border: none;
}

.cursor {
  cursor: pointer;
}

.hover-bold:hover {
  font-weight: bold;
  color: #d4ad5c;
}

.hover-zoom:hover {
  -ms-transform: scale(1.25); /* IE 9 */
  -webkit-transform: scale(1.25); /* Safari 3-8 */
  transform: scale(1.25);
  color: #d4ad5c !important;
}

label {
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

input {
  border: none;
  border-bottom: 1px solid lightgray;
  padding: 0 0.5rem;
  color: #6d6d6d;
  outline: none;
}
input::placeholder {
  font-style: italic;
  font-size: 14px;
}
input:focus-visible {
  border-bottom: 1px solid #1f1240;
}

input.without-dress {
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

input[type=file]::file-selector-button {
  border: none;
  padding: 0.2em 0.5em;
  border-radius: 0;
  margin-left: -10px;
}

textarea {
  color: #6d6d6d;
  border: 1px solid lightgray;
  padding-left: 0.25em;
}
textarea:focus-visible {
  outline: 1px solid #1f1240;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  opacity: 0.6;
}

select {
  border: none;
  border-bottom: 1px solid lightgray;
  background-color: white;
  color: #6d6d6d;
}
select[readonly] {
  pointer-events: none;
  opacity: 0.75;
  background-color: #e9ecef;
}

.form-row {
  margin-top: 1.2em;
}

.circle-icon {
  background: #2f2f2f;
  border-radius: 50%;
  color: white;
  display: inline-block;
  height: 100px;
  font-weight: bold;
  font-size: 2.5em;
  width: 100px;
  margin: 0 auto;
}

.circle-icon span {
  display: table-cell;
  vertical-align: middle;
  height: 100px;
  width: 100px;
  text-align: center;
  padding: 0 15px;
}

.badge.badge-query-value {
  white-space: inherit;
  text-align: left;
}

.condition-row {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 200px minmax(250px, 2fr) auto;
  padding: 0.25em 0.5em;
}
@media screen and (max-width: 991.98px) {
  .condition-row {
    grid-template-columns: minmax(250px, 1fr);
    grid-row-gap: 10px;
  }
}

@media screen and (min-width: 992px) {
  #querySlot {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
  }
}
@media screen and (max-width: 991px) {
  #querySlot {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
  }
}
@media screen and (max-width: 575px) {
  #querySlot {
    display: none !important;
  }
}

@media screen and (max-width: 575px) {
  #queryMobileSlot {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
  }
}
@media screen and (max-width: 991px) {
  #queryMobileSlot {
    display: none;
  }
}
@media screen and (min-width: 992px) {
  #queryMobileSlot {
    display: none;
  }
}

.query-tab {
  cursor: pointer;
}
.query-tab.active {
  border-bottom: 0.2em solid #6d6d6d;
  font-weight: 700;
  margin-right: 0.75rem;
}
.query-tab.inactive {
  cursor: not-allowed;
  opacity: 0.5;
}

#taster-grid {
  grid-template-columns: repeat(2, max-content) auto max-content;
}
#taster-grid > .country {
  grid-column-start: 1;
}
#taster-grid > .ntasters {
  margin-left: 70px;
}
@media screen and (max-width: 575px) {
  #taster-grid > .ntasters {
    margin-left: 10px;
  }
}

#taster-subgrid {
  grid-template-columns: subgrid;
  grid-column: 1/5;
}
#taster-subgrid > .country {
  grid-column-start: 1;
}

.report-statistics {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(50px, 2fr) auto 40px;
}

.report-row {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, max-content);
  column-gap: 1em;
  margin: 1em 0;
}
.report-row > .h5 {
  grid-row-start: 1;
}

.pending-message {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 100vh;
}

#medalHeader {
  width: 250px;
}
@media screen and (max-width: 575px) {
  #medalHeader {
    width: 190px;
  }
}

@media screen and (max-width: 575px) {
  .dropdown-text {
    margin-bottom: 45px;
  }
}

.accordion-item {
  border: none;
}

.accordion-button {
  color: #d4ad5c !important;
}
@media screen and (max-width: 575px) {
  .accordion-button {
    padding-right: 5px;
    padding-left: 12px;
  }
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4ad5c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4ad5c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  background-color: #f1f1f1;
  padding: unset;
}
.accordion-body .card-body {
  padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
}
@media screen and (max-width: 575px) {
  .accordion-body .card-body {
    padding-right: 5px;
    padding-left: 12px;
  }
}

.accordion-button:not(.collapsed) {
  background-color: #6d6d6d;
}

.grid-query-header {
  width: 100%;
  grid-template-columns: 30px 200px auto;
  align-items: center;
}
@media screen and (max-width: 575px) {
  .grid-query-header {
    grid-template-columns: 15px 150px auto;
  }
}

.header-icon {
  place-self: center;
}

input:checked + .card-body {
  background-color: #dadada;
}
