
/* cards info metadata */
.eucl-card-info{
  margin-top: 1em;
}

.eucl-sidebar-offcanvas{
  z-index: 1000;
}
.eucl-card-info-tag{
  padding:1em;
  background-color: #ddd;
  margin-top: 1em;
}

.card-title > a {
  color: #233f91;
}

.eucl-card-meta-info > a {
  color: #233f91;
}

.eucl-card-meta-info {
  font-size: 0.7rem;
  color: rgb(120, 120, 120);
  padding: 0px;
  margin: 0px;
}

.eucl-card-meta-info .badge{
  font-size: 0.8rem;
  padding: 4px 8px;
  margin: 2px;
}

.eucl-card-meta-info > a > img{
    width: 1em;
    height: 1em;
    margin-left: 0.1em;
}

eucl-post-type{
  font-size:30px;
  font-weight:900;
  color:#79c1f872;
  position:absolute;
  top: 10px;
  right: 10px;
  /* z-index:-1; */
}

.eucl-header-breadcrumb {
  font-size: small;
  background-color: rgb(228, 230, 232);
  padding-top: 0.5em;
  padding-bottom: 0.01em;
  padding-left: 2em;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  border-radius: 9px;  
}

.post-type-figure{
  color:#79f89772;
}

.eucl-feed-header{
  color: rgba(15, 16, 18, 0.752);
  padding: 1em;
  background-color: rgb(240, 248, 255);
  margin: 0;
  font-size: small;
}

.eucl-post-detail-header{
  color: rgba(15, 16, 18, 0.752);
  padding: 1em;
  background-color: rgb(206, 230, 230);
  margin-top: 2em;
}

.eucl-post-detail-header .eucl-card-meta-info {
  font-size: 0.9rem;
}

.eucl-post-detail-description{
  padding: 1em;
}

.eucl-post-detail-title a{
  color: rgba(15, 16, 18, 0.752);
}

/* Sidebar and navbar */
@media (max-width: 767.98px) {
  .sidebar-offcanvas-collapse {
    position: fixed;
    top: 56px;
    /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    /* background-color: #343a40; */
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }

  .sidebar-offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}

.sidebar-item-selected {
  background-color: #c9cdf5;
}

.nav-bar-btn-outline {
  --bs-btn-color: #9298E1;
  --bs-btn-border-color: #9298E1;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #9298E1;
  --bs-btn-hover-border-color: #9298E1;
  --bs-btn-focus-shadow-rgb: 13, 202, 240;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #9298E1;
  --bs-btn-active-border-color: #9298E1;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #9298E1;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #9298E1;
  --bs-gradient: none;
}

.sidebar-item-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: .25rem .5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, .65);
  background-color: transparent;
  border: 0;
}


.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(0, 0, 0, .85);
}
.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  display: inline-flex;
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
  text-decoration: none;
}


/* GENERAL STYLING */
.btn-primary {
  background-color: #3d58a7;
  border-color: #3d58a7;
}

.btn-primary:hover {
  background-color: #314d9f;
  border-color: #314d9f;
}

.btn-primary:focus {
  background-color: #233f91;
  border-color: #233f91;
}

.page-item.active .page-link {
  background-color: #3d58a7;
  border-color: #3d58a7;
}

.page-link {
  color: #3d58a7;
}

/* TOP AND SIDE NAVIGATION BARS */
.navbar {
  padding-left: 1rem;
  padding-right: 1rem;
}

#sidebar-search-box {
  border-right: none;
  border-bottom-right-radius: unset;
  border-top-right-radius: unset;
}

#sidebar-search-button {
  border-left: none;
  border-bottom-left-radius: unset;
  border-top-left-radius: unset;
}

/* FEED */
.post-description {
  text-align: justify;
}

.input-group {
  padding: 0px;
}

#uploadcontainer {
  min-width: 15em;
}

/* AUTOCOMPLETE SELECTORS */
.select2-container {
  width: 100% !important;
  padding-left: 0px;
  padding-right: 0px;
}

.select2-selection {
  outline-color: black;
}

/* ADD ANOTHER SELECTORS */
.form-control {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: .375rem;
  padding-right: .375rem;
  border-color: #aaa;
}

.form-control:focus {
  box-shadow: 0px 0px;
}

.form-control:focus {
  border-color: black;
}

.related-widget-wrapper {
  display: flex;
  padding-left: 0px;
  padding-right: 0px;
}

.related-widget-wrapper-link {
  margin-left: 0.25em;
}

/* ADD POST ANIMATED BUTTON */
#add-icon {
  color: white;
  font-size: 1.2em;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  cursor: pointer;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pulse {
  width: 1.7em;
  height: 1.7em;
  background-color: #3d58a7;
  border-radius: 50%;
  position: relative;
  animation: animate 2s ease infinite;
}

@keyframes animate {

  0%,
  50% {}

  50% {
    box-shadow: 0 0 0 0 rgba(70, 96, 167, 0.4), 0 0 0 0 rgb(70, 96, 167, 0.4);
  }

  100% {
    box-shadow: 0 0 0 0.4em rgb(70, 96, 167, 0), 0 0 0 0 rgb(70, 96, 167, 0);
  }
}

/* HTML ENHANCEMENTS */
td {
  border: 1px solid #ddd;
  padding: 0.25em;
}

tr.stripped:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #ddd;
}

th {
  border: 1px solid #ddd;
  padding: 0.25em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  text-align: left;
  background-color: #3d58a7;
  /* color: white; */
}