
/* CUSTOM TEXT AREA */
.custom-text-area > div {
  display: flex;
}
.custom-text-area > div > *:not(:last-child) {
  margin-right: 5px;
}
.custom-text-area .text-area-container {
  width: 100%;
}
.custom-text-area .text-area-container > .shiny-input-container {
  width: 100%;
  margin-bottom: 5px;
}
.custom-text-area .text-area-container textarea {
  min-height: 50px;
  font-size: 14.4px;
}
.custom-text-area .icon-button {
  min-width: 50px;
  background-color: #fff;
}
.custom-text-area .select-container > .shiny-input-container {
  margin-right: 5px;
  margin-bottom: 0;
}
.custom-text-area .select-container .ss-main {
  height: 50px;
  color: #fff;
  border: 1px solid #000;
}

.custom-text-area .select-container .ss-main .ss-arrow path {
  stroke: #fff;
}

/* BUTTONS ROW */
.buttons-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.buttons-row > a {
  margin: auto 0;
}
.buttons-row > .shiny-input-container {
  margin-bottom: 0;
}
.buttons-row .clear-button {
  color: var(--gray);
  text-decoration: underline;
  transition: all 0.15s ease-in-out;
}
.buttons-row .clear-button:hover {
  color: var(--red);
}

/* ICON BUTTON, SMALL BUTTON */

button.action-button.icon-button {
  height: 50px;
  width: 50px;
  padding: 0;
  text-align: center;
}
button.small-action-button {
  height: 40px;
  padding: 10px 10px;
  line-height: 20px;
}

/* INFO BUTTON */

a .fa-circle-info, button .fa-circle-info, .fa-circle-info[role = "button"] {
  color: var(--primary);
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}
a:hover > .fa-circle-info, a:focus > .fa-circle-info, .fa-circle-info[role = "button"]:hover, .fa-circle-info[role = "button"]:focus {
  color: var(--primary-dark);
}

/* INFO TOOLTIP */

.info-tooltip {
  border: none;
  max-width: 400px;
  z-index: 1030;
}

/* INPUT SLIDER */
.custom-slider .irs-handle {
  background-color: var(--primary);
  transition: background-color 0.1s ease-in-out;
}
.custom-slider .irs-handle:hover {
  background-color: var(--primary-dark);
}
.custom-slider .irs.irs--shiny .irs-handle:active {
  background-color: var(--primary-dark);
  box-shadow: 0 0 0 .25rem rgba(0, 17, 131, 0.25);
}
.custom-slider .irs-bar {
  background: var(--primary);
}
.custom-slider .irs-from, .custom-slider .irs-to {
  background-color: var(--primary);
}
.custom-slider .irs.irs--shiny .irs-single {
  background-color: var(--primary);
}

/* HOW TO CITE */

.how-to-cite {
  background-color: #eee;
  border: 1px solid var(--gray);
  margin-bottom: 50px;
  width: 600px;
  padding: 10px;
  border-radius: 8px;
}
.how-to-cite i {
  color: var(--gray);
}


/* BADGE */
.nav-pills .custom-badge {
  color: var(--gray);
  background-color: #fff;
  font-size: 12px;
  border-radius: 3px;
  padding: 2px;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
.nav-pills a.active .custom-badge {
  background-color: var(--gray);
  color: #fff;
}

/* PUBLICATIONS */
.publications {
  display: flex;
}
.publications .rbp2go-publications, .publications .related-publications {
  width: 100%;
}
.publications .rbp2go-publications {
  margin-right: 80px;
}

.study-with-image {
  display: inline-flex;
  height: 120px;
}
.study-with-image:not(:last-child) {
  margin-bottom: 20px;
}
.study-with-image-img-container {
  height: 100%;
  min-width: 120px;
  width: 120px;
}
.study-with-image-img-container > img {
  height: 100%;
  width: 100%;
  border-radius: 8px;
  background: linear-gradient(var(--primary), #000);
  object-fit: cover;
  transition: all 0.15s ease-in-out;
  box-shadow: #000 1px 1px 3px;
}
.study-with-image:has(.study-with-image-img-container:hover) > .study-with-image-text-container > a {
  color: var(--orange);
}

.study-with-image-text-container {
  margin: auto;
}

/* RESOURCE IMAGES WITH LINKS */
.resource-link > a > img {
  height: 50px;
}
.resource-link.small > a > img {
  height: 30px;
}