/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/*-------------------------------------- Start of encyclopedia css------------------------------  */
@media only screen and (min-width: 800px) {
  .wdm-encyclopedia-container {
    position: fixed;
  }
}

.wdm-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wdm-search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.wdm-search-input {
  padding: 5px;
  width: 100%;
}

#wdm-search-button {
  margin-left: 10px;
  padding: 5px 10px;
}

.wdm-enc-text-container {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.wdm-error-message {
  display: none;
  background-color: #fce4e4;
  border: 1px solid #fcc2c3;
  float: left;
  padding: 10px 10px;
  width: 100%;
}

.wdm-error-text {
  color: #cc0033;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-shadow: 1px 1px rgba(250, 250, 250, 0.3);
}
.wdm-success-enc-display {
  display: none;
  border: 1px solid #fcc2c3;
  float: left;
  padding: 10px 10px;
  width: 100%;
  background: #f8e3e3;
}

.wdm-success-ency-display-desc {
  font-size: smaller;
}

.wdm-loader {
  display: none;
  /* Add your loader styles here */
  position: relative;
}

.wdm-loader:after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  margin: 10px;
  border-radius: 50%;
  border: 4px solid #ccc;
  border-top-color: #5e3332;
  animation: spin 1s infinite linear;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/*-------------------------------------- End of encyclopedia css------------------------------  */
