/* Focus Tests React App - Minimal CSS */
/* Only styles needed for the React SPA layout */

#wrapcentre.focus-tests-react {
  padding: 70px 0 0 84px;
  font-family: Inter, sans-serif;
}
@media screen and (max-width: 1023px) {
  #wrapcentre.focus-tests-react {
    padding: 0;
  }
}

#adminLink {
  box-sizing: border-box;
  position: fixed;
  right: 5px;
  bottom: 67px;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 41px;
  height: 41px;
  padding: 10px 5px;
  width: fit-content;
  color: #2062b3 !important;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 100%;
  border: 1px solid #2062b3;
  background: var(--white, #fff) !important;
  text-decoration: none;
}

#adminLink:hover {
  background: #2062b3 !important;
  color: white !important;
}

#adminLink:hover,
#adminLink:focus,
#adminLink:active {
  color: #fff;
}

/* Mobile: hide adminLink */
@media screen and (max-width: 1023px) {
  #adminLink {
    display: none;
  }
}

/* ============================================= Toolkit Popup ============================================= */
#toolkit_popup_container {
  opacity: 1;
  position: fixed;
  right: 52px;
  bottom: 20px;
  display: flex;
  pointer-events: none;
  z-index: 1001;
  font-family: 'Poppins', sans-serif;
}

.toolkit_popup {
  display: inline-block;
  align-self: flex-end;
  pointer-events: auto;
  border-radius: 20px;
  overflow: hidden;
}

#toolkit_popup_container .announcmentButtonWrap {
  padding: 0px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1px;
  row-gap: 2px;
  align-items: center;
}

#toolkit_popup_container .announcmentButtonWrap a .textOnHover {
  display: none;
  text-wrap: nowrap;
  position: absolute;
  font-size: 16px;
  color: #0f0f0f;
  background: white;
  padding: 2px 5px;
  top: -35px;
  border-radius: 6px;
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

#toolkit_popup_container .announcmentButtonWrap a:hover .textOnHover {
  display: block;
}

.toolkit_popup .toolkit_popup_header {
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.toolkit_popup .toolkit_popup_header div {
  font-size: 18px;
  margin-top: auto;
  margin-bottom: auto;
  width: auto;
}

.toolkit_popup .toolkit_popup_header div.big {
  width: 64px;
  margin-left: 5px;
  text-align: center;
}

.toolkit_popup.open .toolkit_popup_header div.toolkit_popup_down_btn {
  transform: rotate(45deg);
  position: absolute;
  right: 5px;
  top: 7px;
}

.toolkit_popup .toolkit_popup_header div.toolkit_popup_down_btn {
  font-family: 'Open Sans', sans-serif;
  font-size: 28px;
  margin-left: 0px;
}

.toolkit_popup.closed .toolkit_popup_content {
  display: none;
}

.toolkit_popup.open .toolkit_popup_header {
  height: 38px;
}

.toolkit_popup.open .toolkit_popup_content {
  display: block;
  background: #fff;
  padding-top: 10px;
  height: calc(100% - 48px);
  padding-left: 10px;
  padding-right: 10px;
}

.toolkit_popup.open .plusIcon path {
  stroke: white;
}

.toolkit_popup.closed {
  box-sizing: border-box;
  background: #fff;
  width: 105px;
  height: 41px;
  border: 1px solid #2062b3;
  color: #2062b3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toolkit_popup.closed:hover {
  color: white;
  background-color: #2062b3;
}

.toolkit_popup.closed:hover .plusIcon path {
  stroke: white;
}

.toolkit_popup.open {
  background: #2062b3;
  width: 386px;
  height: 100px;
  color: #fff;
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.announcmentButtonWrap a:hover {
  transform: scale(1.05);
  transition: all 0.2s linear;
  box-shadow: 0px 0px 16px 0 rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

/* ============================================= Scroll Buttons ============================================= */
.scroll-top-button {
  width: 41px;
  height: 41px;
  background: white;
  position: absolute;
  right: -60px;
  top: 10px;
  border: 1px solid #2062b3;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.scroll-top-button.global {
  z-index: 1001;
  position: fixed;
  right: 5px;
  bottom: 20px;
  top: initial;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
}

.scroll-top-button.global.visible {
  pointer-events: all;
  opacity: 1;
  z-index: 1001;
}

#scrollDownButton.scroll-top-button.global {
  bottom: 67px;
}

.scroll-top-button:hover {
  background: #2062b3;
  cursor: pointer;
}

.scroll-top-button:hover .icon-svg-arrow_forum {
  color: white;
}

.scroll-top-button .icon-svg-arrow_forum {
  display: block;
  transform: translateX(0px) rotate(-90deg);
  font-size: 14px;
  color: #2062b3;
}

#scrollDownButton.scroll-top-button .icon-svg-arrow_forum {
  transform: translateX(0px) rotate(90deg);
}

/* Mobile: hide toolkit */
@media screen and (max-width: 1023px) {
  #toolkit_popup_container {
    display: none;
  }
}
