:root {
    --white-color: #fafafb;
    --background-color: rgba(255, 255, 255, 0.4);
    --grey-color: #111;
    --dark-grey-color: #666;
    --black-color: #000;
    
    /* --my-red-color: #9c1c20; */
    --my-white-color: #fafafb;
    --my-dark-grey-color: #555;
    --my-black-color: #000;
    --my-red-color: #e11b4c;
    --my-red-color: #9c1c20; 
    --my-red-color-transparent: #e11b4c80;
}


#profileImage {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--my-red-color);
  font-size: 10px;
  color: #fff;
  text-align: center;
  line-height: 32;
  margin: 20px 0;
  display: block;
  align-items: center;
    margin-left: calc(50% - 16px);
    display: none;
}

#TwoLetterName {
  width: 100%;
  text-align: center;
  color: white;
  font-size: 16px;
  line-height: 32px;
    display: none;
}

#profileImage.collapse {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--my-red-color);
  font-size: 10px;
  color: #fff;
  text-align: center;
  line-height: 32;
  margin: 20px 0;
  display: block;
  align-items: center;
    margin-left: calc(50% - 16px);
    display: block;
}

#TwoLetterName.collapse {
  width: 100%;
  text-align: center;
  color: white;
  font-size: 16px;
  line-height: 32px;
    display: block;
}

/* Make the badge float in the top right corner of the button */
.badge {
    background-color: #9c1c20;
    border-radius: 2px;
    color: white;
           
    padding: 1px 3px;
    font-size: 10px;
                
    position: relative; /* Position the badge within the relatively positioned button */
    top: -1rem;
    right: 0;
}

.lead { 
    font-size: 1rem; 
    font-weight: 300; 
}

.middle-container { 
    /* margin-top: 80px auto auto 22rem; */
    color: #000;     
    transition: all 0.5s ease;
    /* margin-left: 14rem; */
}

.middle-container.collapse { 
    /* margin-left: 80px; */
    /* max-width: 960px; */
    color: #000; 
}

.side-bar {
    width: 14rem;
    height: auto;
    padding: 1rem 0.5rem;
    position: absolute;
    transition: all 0.5s ease;
    top: 72px;
    background-size: contain;
    border-radius: 16px;
    border: 1px solid #000;
    border-right: 3px solid var(--my-red-color);
    background-attachment: fixed;
    left: 0rem;
    background: #FFF;
    z-index: 10000;
    margin-top: 2vh;
}

.logo-name-wrapper {
  position: relative;
  margin-bottom: 1rem;
  margin-top: 1rem;
  display: flex;
  font-size: 1.2rem;
  justify-content: center;
}

.logo-name {
  display: flex;
  align-items: center;
}

.logo-name__name {
  margin-left: 0.9rem;
  white-space: nowrap;
}
.logo-name__button {
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 1rem;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.logo-name__icon {
    font-size: 2rem;
    color: var(--grey-color);
    width: 3rem;
    height: 3rem;
    border: 2px solid var(--my-red-color);
    border-radius: 50%;
    margin-left: 0%;
}

.logo-name img {
    width: 64px;
    height: 64px;
    border: 2px solid var(--my-red-color);
    border-radius: 50%;
    /* margin-left: calc(9rem - 32px); */
    object-fit: contain;
    cursor: default;
}

.message {
  background-color: var(--dark-grey-color);
  display: flex;
  align-items: center;
  padding: 1.55rem 0 1.55rem 1.2rem;
  border-radius: 0.4rem;
  margin-bottom: 3.6rem;
  cursor: pointer;
  position: relative;
}

.message-icon {
  font-size: 1rem;
  transform: translateX(3rem);
  transition: all 0.5s ease;
}

.message-text {
  margin-left: 1.1rem;
  font-size: 1rem;
  white-space: nowrap;
  transform: translateX(3rem);
  transition: all 0.5s ease;
}

.features-list {
    padding: 0.5rem;
    border: 1px solid #9c1c20;
    list-style: none;
    padding-left: 0px;
    padding-bottom: 0px;
    margin: 0.25rem;
    box-shadow: 4px 4px 8px black;
    border-radius: 16px;
    /* backdrop-filter: blur(4px); */
    background-color: #ffffff;
    margin-bottom: 1rem;
}

.features-item {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.25rem 0 0 0.75rem;
  margin-bottom: 0.25rem;
  color: var(--grey-color);
  cursor: pointer;
  transition: 0.5s ease;
}

.features-item a {
  color: var(--my-black-color);
  cursor: pointer;
  transition: 0.5s ease;
  height: 48px;
  text-decoration: none;
}

.features-item a:hover {
  color: var(--my-red-color);
  cursor: pointer;
  transition: 0.5s ease;
  text-decoration: none;
}

.features-item.collapse {
    left: 50%;
    margin-bottom: 0.25rem;
}

.logo-name__icon.collapse {
    font-size: 1.5rem;
    color: var(--grey-color);
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--my-red-color);
    border-radius: 50%;
    margin-left: 0%;
    display: block;
}

.features-item::before {
  transition: 0.5s ease;
  content: '';
  position: absolute;
  left: -1.2rem;
  height: 100%;
  border-left: 3px solid var(--my-red-color);
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
}

.features-item:hover {
  color: var(--my-red-color); /* var(--white-color); */
  transition: 0.5s ease;
    
}

.features-item:hover::before {
  opacity: 1;
  visibility: unset;
}

.features-item-icon {
  font-size: 2rem;
}

.features-item-text {
    margin-left: 1rem;
    transition: opacity 0.6s ease;
    opacity: 1;
    font-size: 1.25rem;
}

.features-item-text:hover {
    font-weight: 500;
    /* text-decoration: underline; */
    /* text-transform: uppercase; */
}

.inbox-number {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: var(--my-red-color);
    padding: 0.5rem 0.5rem;
    border-radius: 50%;
    background-color: transparent;
    opacity: 1;
    transition: 0.6s linear;
    font-size: 14px;
    line-height: 20px;
    width: 40px;
    text-align: center;
    border: 2px solid var(--my-red-color);
}

.inbox-number:hover {
    color: var(--my-white-color);
    background-color: var(--my-red-color);
    border: 2px solid var(--my-black-color);
}

.inbox-icon {
  position: relative;
}

.inbox-icon .status {
  position: absolute;
  top: 0;
  right: -1px;
  background-color: #1e75ff;
  height: 9px;
  width: 9px;
  border-radius: 50%;
  border: 2px solid var(--my-red-color);
  opacity: 0;
  transition: 0.6s linear;
}

.category-list {
  padding-top: 2.1rem;
  padding-bottom: 0.9rem;
  color: var(--grey-color);
  list-style: none;
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: 1px solid #292932;
}

.category-header {
  font-size: 1.2rem;
  text-transform: uppercase;
  line-height: 1.8rem;
  color: var(--white-color);
  margin-bottom: 1.3rem;
  white-space: nowrap;
}

.category-item {
  position: relative;
  padding: 0.9rem 1.1rem;
  line-height: 1.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.category-item-status {
  height: 0.8rem;
  width: 0.8rem;
  border-radius: 50%;
  border: none;
  background-color: white;
  display: inline-block;
}
.category-item-text {
  margin-left: 1rem;
  transition: opacity 0.6s ease;
  opacity: 1;
}

.category-item-number {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.chat-list {
  padding: 2.1rem 0;
  font-size: 1.4rem;
}

.chat-header {
  text-transform: uppercase;
  line-height: 1.8rem;
  color: var(--my-red-color);
  margin-bottom: 1.3rem;
  white-space: nowrap;
}

.chat-new-btn {
  color: #1e75ff;
  background-color: transparent;
  outline: none;
  border: none;
  line-height: 1.8rem;
  display: flex;
  align-items: center;
  padding-bottom: 2.1rem;
  padding-left: 0.1rem;
  cursor: pointer;
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.chat-new-btn-text {
  white-space: nowrap;
  transition: opacity 0.6s ease;
  opacity: 1;
}

.chat-icon {
  font-size: 1.1rem;
  margin-right: 1.2rem;
}

.chat-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 2.1rem;
  color: var(--grey-color);
  cursor: pointer;
}

.chat-item-avatar-wrapper {
  position: relative;
}
.chat-item-avatar-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: -3px;
  border-radius: 50%;
  height: 8px;
  width: 8px;
  background-color: #79d861;
  opacity: 0;
  transition: 0.6s linear;
}

.chat-item-avatar-wrapper.has-message::before {
  background-color: #1e75ff;
  border: 2px solid var(--white-color);
  height: 6px;
  width: 6px;
}

.chat-item-avatar {
  object-fit: cover;
  object-position: top;
  height: 2.1rem;
  width: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--white-color);
}

/* background color in inline style */
.chat-item-status {
  height: 0.8rem;
  width: 0.8rem;
  border-radius: 50%;
  border: none;
  background-color: white;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-right: 5px;
  opacity: 1;
  transition: 0.6s linear;
}
.chat-item-number {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #1e75ff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  color: var(--white-color);
  opacity: 1;
  transition: 0.6s linear;
}

.chat-item-name {
  white-space: nowrap;
  transition: opacity 0.6s ease;
  opacity: 1;
  margin-left: 1.4rem;
}

.tooltip {
  position: absolute;
  top: -2.1rem;
  left: 4rem;
  background-color: var(--my-red-color);
  color: var(--my-white-color);
  border-radius: 1rem;
  padding: 0.5rem 0.9rem;
  font-size: 1rem;
  transition: 0s;
  opacity: 0;
  display: none;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  font-family: 'Poppins', sans-serif;
    /* width: 8rem; */
}

.middle-container.collapse { 
    /* margin-left: 80px;*/
    /* max-width: 960px; */
    color: #000; 
}
.side-bar.collapse .message:hover .tooltip,
.features-item:hover .tooltip,
.category-item:hover .tooltip,
.chat-new-btn:hover .tooltip {
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.5s ease;
  opacity: 1;
}

.side-bar.collapse {
    width: 5.6rem;
    display: block;
}

.side-bar.collapse .tooltip {
  display: block;
  z-index: 100000000;
}


.side-bar.collapse .category-header,
.side-bar.collapse .chat-header,
.side-bar.collapse .chat-new-btn-text,
.side-bar.collapse .features-item-text,
.side-bar.collapse .inbox-number,
.side-bar.collapse .category-item-text,
.side-bar.collapse .category-item-number,
.side-bar.collapse .message-text,
.side-bar.collapse .chat-item-name,
.side-bar.collapse .chat-item-number,
.side-bar.collapse .chat-item-status {
  opacity: 0;
  pointer-events: none;
}

.side-bar.collapse .logo-name img {
    display: none;
}

.side-bar.collapse .message-text {
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
}
.side-bar.collapse .message-icon {
  transform: translateX(0);
}
.side-bar.collapse .logo-name__button {
  /* right: 0.5rem; */
    left: calc( 50% - 1rem);
    top: 0;
}

.side-bar.collapse .inbox-icon .status,
.side-bar.collapse .chat-item-avatar-wrapper::before {
  opacity: 1;
}

.heading_small {
    font-size: 1.5rem;
    text-align: center;
    display: block;
    color: var(--my-red-color);
    padding-bottom: 0rem;
    padding-top: 1rem;
}

.heading_large {
    font-size: 2rem;
    text-align: center;
    display: block;
    /* padding-bottom: 20px; */
    color: var(--my-red-color);
    /* border-bottom: 1px solid var(--my-red-color); */
    /* text-shadow: 1px 1px 1px #000000; */
}


.heading_small.collapse {
    font-size: 1.2rem;
    text-align: center;
    display: none;
}

.heading_large.collapse {
    font-size: 1.2rem;
    text-align: center;
    display: none;
}

.features-list.hide_me_large.collapse {
    font-size: 1.2rem;
    text-align: center;
    display: none;
}

.features-list.hide_me_small.collapse {
    font-size: 2rem;
    text-align: center;
    display: none;
}


@media only screen and (max-width: 1080px) {
    .middle-container { 
        /* margin-left: 80px; */
        /* max-width: 960px; */
        color: #000; 
    }
    .side-bar .logo-name img {
        width: 32px;
        height: 32px;
        /* margin-left: calc( 3rem - 28px); */
    }

    .side-bar .message:hover .tooltip,
    .features-item:hover .tooltip,
    .category-item:hover .tooltip,
    .chat-new-btn:hover .tooltip {
      top: 50%;
      transform: translateY(-50%);
      transition: all 0.5s ease;
      opacity: 1;
    }

    .side-bar {
      width: 5.6rem;
    }

    .side-bar .tooltip {
      display: block;
      z-index: 100000000;
      text-align: center;
    }
    .side-bar .tooltip .span {
      text-align: center;
      font-size: 1.2rem;
      font-weight: 600;
    }

    .side-bar .features-item {
        margin-bottom: 0rem;
    }
    .side-bar .category-header,
    .side-bar .chat-header,
    .side-bar .chat-new-btn-text,
    .side-bar .features-item-text,
    .side-bar .inbox-number,
    .side-bar .category-item-text,
    .side-bar .category-item-number,
    .side-bar .message-text,
    .side-bar .chat-item-name,
    .side-bar .chat-item-number,
    .side-bar .chat-item-status {
      opacity: 0;
      pointer-events: none;
    }
    
    
    .side-bar .message-text {
      opacity: 0;
      pointer-events: none;
      transform: translateX(0);
    }
    .side-bar .message-icon {
      transform: translateX(0);
    }
    .side-bar .logo-name__button {
      right: 0.5rem;
    }

    .side-bar .inbox-icon .status,
    .side-bar .chat-item-avatar-wrapper::before {
      opacity: 1;
    }
    .heading_small {
        font-size: 1.2rem;
        text-align: center;
        display: none;
    }

    .heading_large {
        font-size: 1.2rem;
        text-align: center;
        display: none;
    }
    #profileImage {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--my-red-color);
      font-size: 10px;
      color: #fff;
      text-align: center;
      line-height: 32;
      margin: 20px 0;
      display: block;
      align-items: center;
        margin-left: calc(50% - 16px);
        display: block;
    }

    #TwoLetterName {
          width: 100%;
          text-align: center;
          color: white;
          font-size: 16px;
          line-height: 32px;
        display: block;
    }
    .logo-name__button {
        position: absolute;
        top: 0%;
        right: 0;
        font-size: 1.8rem;
        transform: translateY(-50%);
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: none;
    }
    .logo-name-wrapper {
        position: relative;
        margin-bottom: 1rem;
        margin-top: 1rem;
        /* display: none; */
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 1280px) {
    .col-md-4 {
        width: 50%;
    }    
}

@media only screen and (max-width: 800px) {
    .col-md-4 {
        width: 50%;
    }    
}

@media only screen and (max-width: 480px) {
    .col-md-4 {
        width: 100%;
    }    
}

.fa-spin-fast {
  -webkit-animation: fa-spin-fast 0.2s infinite linear;
  animation: fa-spin-fast 0.2s infinite linear;
}

.fa, .fa-solid, .fas {
    width: 32px;
    text-align: center;
    color: black;
    font-size: 24px;
    line-height: 32px;
    padding-top: 4px;
}

.fa:hover, .fa-solid:hover, .fas:hover {
  color: #9c1c20;
}

@-webkit-keyframes fa-spin-fast {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes fa-spin-fast {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
.material-card {
  position: relative;
  height: 0;
  padding-bottom: calc(100% - 16px);
  margin-bottom: 10em;
}
.material-card h2 {
  position: absolute;
  top: calc(100% - 16px);
  left: 0;
  width: 100%;
  padding: 10px 16px;
  color: #fff;
  font-size: 2rem;
  line-height: 3rem;
  margin: 0;
  z-index: 10;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
    background-color: var(--my-red-color);;
    background-color: var(--my-black-color);
    border-radius: 0 0 16px 16px;
    /* max-height: 84px; */
    height: auto;
}
.material-card h2 span {
  display: block;
}
.material-card h2 strong {
  font-weight: 400;
  display: block;
  font-size: 1.4rem;
}
.material-card h2:before,
.material-card h2:after {
  content: ' ';
  position: absolute;
  left: 0;
  top: -16px;
  width: 0;
  border: 8px solid;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card h2:after {
  top: auto;
  bottom: 0;
}
@media screen and (max-width: 767px) {
  .material-card.mc-active {
    padding-bottom: 0;
    height: auto;
  }
}
.material-card.mc-active h2 {
  top: 0;
  padding: 10px 16px 10px 90px;
    border-radius: 16px 16px 0 0;
}
.material-card.mc-active h2:before {
  top: 0;
}
.material-card.mc-active h2:after {
  bottom: -16px;
}
.material-card .mc-content {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 16px;
  left: 16px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card .mc-btn-action {
  position: absolute;
  right: 8px;
  top: 32px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  border: 5px solid;
  width: 32px;
  height: 32px;
  line-height: 22px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  z-index: 20;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
    background-color: var(--my-red-color);
    z-index: 1000;
}
.material-card.mc-active .mc-btn-action {
  top: 54px;
}
.material-card .mc-description {
  position: absolute;
  top: 100%;
  right: 24px;
  left: 16px;
  bottom: 12px;
  overflow: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all 1.2s;
  -moz-transition: all 1.2s;
  -ms-transition: all 1.2s;
  -o-transition: all 1.2s;
  transition: all 1.2s;
    text-align: justify;
}
.material-card .mc-footer {
  height: 0;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.material-card .mc-footer h4 {
  position: absolute;
  top: 200px;
  left: 30px;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  -webkit-transition: all 1.4s;
  -moz-transition: all 1.4s;
  -ms-transition: all 1.4s;
  -o-transition: all 1.4s;
  transition: all 1.4s;
    color: #B71C1C;
}
.material-card .mc-footer a {
  display: block;
  float: left;
  position: relative;
  width: 52px;
  height: 52px;
  margin-left: 5px;
  margin-bottom: 15px;
  font-size: 28px;
  color: var(--my-red-color);;
  line-height: 52px;
  text-decoration: none;
  top: 200px;
  background-color: #FFFFFF;
}
.material-card .mc-footer a:nth-child(1) {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.material-card .mc-footer a:nth-child(2) {
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
}
.material-card .mc-footer a:nth-child(3) {
  -webkit-transition: all 0.7s;
  -moz-transition: all 0.7s;
  -ms-transition: all 0.7s;
  -o-transition: all 0.7s;
  transition: all 0.7s;
}
.material-card .mc-footer a:nth-child(4) {
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  -ms-transition: all 0.8s;
  -o-transition: all 0.8s;
  transition: all 0.8s;
}
.material-card .mc-footer a:nth-child(5) {
  -webkit-transition: all 0.9s;
  -moz-transition: all 0.9s;
  -ms-transition: all 0.9s;
  -o-transition: all 0.9s;
  transition: all 0.9s;
}
.material-card .img-container {
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
    border: 2px solid black;
    border-radius: 16px 16px 0 0;
}
.material-card.mc-active .img-container {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  left: 2px;
  top: 10px;
  width: 64px;
  height: 64px;
  z-index: 200000;
}
.material-card.mc-active .mc-content {
  padding-top: 5.6em;
}
@media screen and (max-width: 767px) {
  .material-card.mc-active .mc-content {
    position: relative;
    margin-right: 16px;
  }
}
.material-card.mc-active .mc-description {
  top: 90px;
  padding-top: 24px;
  opacity: 1;
  overflow: auto;
}
@media screen and (max-width: 767px) {
  .material-card.mc-active .mc-description {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    padding: 50px 30px 70px 30px;
    bottom: 0;
  }
}
.material-card.mc-active .mc-footer {
  overflow: visible;
  position: absolute;
  top: calc(100% - 16px);
  left: 16px;
  right: 0;
  max-height: 84px;
    height: 84px;
  padding-top: 15px;
  /* padding-left: 16px; */
  background-color: var(--my-black-color);
    display: flex;
    justify-content: space-evenly;
    border-radius: 0 0 16px 16px;
}
.material-card.mc-active .mc-footer a {
  top: 0;
}
.material-card.mc-active .mc-footer h4 {
  top: -32px;
}

.material-card h2:after {
  border-top-color: var(--my-black-color);; /* var(--my-red-color);; */
  border-right-color: var(--my-black-color);; /* var(--my-red-color);; */
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.material-card h2:before {
  border-top-color: transparent;
  border-right-color: var(--my-dark-grey-color);; /* var(--my-red-color);; */
  border-bottom-color: var(--my-dark-grey-color);; /* var(--my-red-color);; */
  border-left-color: transparent;
}
.material-card.mc-active h2:before {
  border-top-color: transparent;
  border-right-color: var(--my-black-color);; /* var(--my-red-color);; */
  border-bottom-color: var(--my-black-color);; /* var(--my-red-color);; */
  border-left-color: transparent;
}
.material-card.mc-active h2:after {
  border-top-color: var(--my-dark-grey-color);; /* #B71C1C; */
  border-right-color: var(--my-dark-grey-color);; /* #B71C1C; */
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.material-card .mc-btn-action {
    background-color: var(--my-white-color);
    color: var(--my-red-color);
}
.material-card .mc-btn-action:hover {
  background-color: var(--my-black-color);
  color: var(--my-white-color);
  border: 5px solid var(--my-red-color);
}


.material-card.mc-active .mc-content {
    background-color: rgba(255, 255, 255, 0.7);
    /* backdrop-filter: blur(4px); */
    border: 1px solid var(--my-red-color);;
    border-radius: 16px 16px 0 0;
}

.material-card.mc-active .mc-btn-action {
    border-color: var(--my-red-color);
    top: 32px;
    right: 8px;
}




.slider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  /* box-shadow: 0 0 30px rgba(0, 0, 0, 0.3); */
}
.slider ul {
  position: relative;
  list-style: none;
  width: 100%; /* 10000%; */
  height: auto;
  padding: 0;
  margin: 0;
  transition: all 750ms ease;
  /* left: 32px; */
    overflow: hidden;
border-radius: 16px;
    display: block;
}
.slider ul li {
  position: relative;
  height: 100%;
  float: left;
}

.slider ul li img{
    width: 100%;
    height: auto;
    display: block; /* was block when working */
    z-index: 200;
    /* opacity: 0; */
    border-radius: 16px;
    overflow: hidden;
    left: 0px;
    top: 0px;
    object-fit: cover;
    transition: opacity 1s;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    -ms-transition: opacity 1s;    
}

/*
.slider ul li img:nth-child(1){
  width: inherit;
  height: 265px;
  display: block;
}
*/

.slider .prev_slide, .slider .next_slide {
  width: 50px;
  line-height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  text-align: center;
  color: white;
  text-decoration: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 150ms ease;
    display: none;
}
.slider .prev_slide:hover, .slider .next_slide:hover {
  background-color: rgba(0, 0, 0, 0.5);
  text-shadow: 0;
}
.slider .prev_slide {
  left: 10px;
}
.slider .next_slide {
  right: 10px;
}


/*
TAG CRETATION
*/

.tag-input {
  border: none;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 8px;
  width: 100%;
  color: #666;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  outline: none;
}

.tag-container {
  display: flex;
  flex-flow: row wrap;
}

.tag{
  pointer-events: none;
  background-color: #242424;
  color: white;
  padding: 6px;
  margin: 5px;
}

.tag::before {
  pointer-events: all;
  display: inline-block;
  content: 'x';  
  height: 20px;
  width: 20px;
  margin-right: 6px;
  text-align: center;
  color: #ccc;
  background-color: #111;
  cursor: pointer;
}


/*
TAG CREATION CSS -- OLD
*/


.form-control {
    border-radius: 16px;
    border: 2px solid #000;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    height: 48px !important;
}
.tag_wrapper{
    /* width: 496px; */
    background: #fff;
    border-radius: 16px;
    border: 2px solid #000;
    padding: 10px;
    height: auto;
}
.tag_wrapper :where(.tag_title, li, li i, .details){
  display: flex;
  align-items: center;
}
.tag_title img{
  max-width: 21px;
  width: 16px;
  height: auto;
}
.tag_title h2{
  font-size: 2rem;
  font-weight: 600;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-top: 0px;
}
.tag_wrapper .tag_content{
    margin: 10px 0;
    /* display: flex; */
    align-items: center;
}
.tag_content p{
  font-size: 15px;
}
.tag_title p{
    /* font-size: 1rem; */
    padding-top: 0.5rem;
}

.tag_content .tag-ul{
    display: flex;
    flex-wrap: wrap;
    padding: 4px;
    margin: 12px 0;
    border-radius: 5px;
    border: 2px solid #000;
    width: 100%;
    border-radius: 16px;
}
.tag_content .tag-ul  li{
    color: #000;
    margin: 4px 3px;
    list-style: none;
    border-radius: 8px;
    background: #fff;
    border: 2px solid #000;
    height: 44px;
    font-weight: 300;
    font-size: 14px;
    padding-left: 8px;
}
.tag_content .tag-ul li i{
  color: #000; /* var(--my-red-color); */
  margin-left: 8px;
  margin-right: 8px;
  font-size: 16px;
  cursor: pointer;
  justify-content: center;
  padding: 0;
}
.tag_content .tag-ul input{
  flex: 1;
  padding: 5px;
  border: none;
  outline: none;
  font-size: 16px;
  width: 100%;
}
.tag_wrapper .tag_details{
    justify-content: space-between;
}
.tag_details button{
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    padding: 9px 15px;
    border-radius: 5px;
    background: var(--my-red-color);
    transition: background 0.3s ease;
}
.tag_details button:hover{
    background: #2c52ed;
}

.tag_content button{
    border: none;
    outline: none;
    color: var(--my-red-color);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    border: 2px solid var(--my-red-color);
    transition: background 0.3s ease;
    padding: 0px;
    margin: 0 0 0 0;
    background: #fff;
    height: 44px;
}

.tag_content button:hover{
    color: #fff;
    background-color: var(--my-red-color);
    border: 2px solid var(--my-red-color);
}

/* 
Bouncy List 
*/

.container__header {
  text-align: center;
}

.container__description {
  margin-bottom: 2.5em;
  text-align: center;
}

.padded, .list__item, input {
  padding: 1em;
}

.container {
  width: 50%;
  margin: 10px auto;
}
@media (max-width: 500px) {
  .container {
    width: 80%;
  }
}

.pull-right {
  float: right;
}

.list-input {
  width: 100%;
  border: 2px solid #000;
  border-radius: 16px;
}

.list-input:focus-visible,
.list-input:active,
.list-input:focus {
  width: 100%;
  box-shadow: inset 1px 1px 3px 0px var(--my-red-color-transparent);
  border: 2px solid var(--my-red-color);
  border-radius: 16px;
}

.checkpoint_list {
  list-style: none;
}

.list__item--inserting {
  transform: translateY(-100%);
  animation-name: slide-from-top;
  animation-timing-function: ease-in-out;
}

.list__item--inserting-new {
  transform: translateY(-200%) scaleY(1);
  animation-name: slide-from-top--new;
}

.list__item--inserting-removed {
  animation-name: slide-from-bottom--removed;
}

.list__item--removing-sibling {
  animation-name: slide-from-bottom;
}

.list__item {
    margin-bottom: 0.5em;
    color: #000000;
    background-color: white;
    border: 1px solid #000;
    border-radius: 16px;
    backface-visibility: hidden;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    animation-duration: 1s;
    animation-fill-mode: forwards;
    position: relative;
    padding: 0.5rem;
    font-size: 24px;
}
.list__item:nth-child(1) {
  animation-delay: 0.075s;
  z-index: 1;
}
.list__item:nth-child(2) {
  animation-delay: 0.15s;
  z-index: 2;
}
.list__item:nth-child(3) {
  animation-delay: 0.225s;
  z-index: 3;
}
.list__item:nth-child(4) {
  animation-delay: 0.3s;
  z-index: 4;
}
.list__item:nth-child(5) {
  animation-delay: 0.375s;
  z-index: 5;
}
.list__item:nth-child(6) {
  animation-delay: 0.45s;
  z-index: 6;
}
.list__item:nth-child(7) {
  animation-delay: 0.525s;
  z-index: 7;
}
.list__item:nth-child(8) {
  animation-delay: 0.6s;
  z-index: 8;
}
.list__item:nth-child(9) {
  animation-delay: 0.675s;
  z-index: 9;
}
.list__item:nth-child(10) {
  animation-delay: 0.75s;
  z-index: 10;
}
.list__item:nth-child(11) {
  animation-delay: 0.825s;
  z-index: 11;
}
.list__item:nth-child(12) {
  animation-delay: 0.9s;
  z-index: 12;
}
.list__item:nth-child(13) {
  animation-delay: 0.975s;
  z-index: 13;
}
.list__item:nth-child(14) {
  animation-delay: 1.05s;
  z-index: 14;
}
.list__item:nth-child(15) {
  animation-delay: 1.125s;
  z-index: 15;
}
.list__item:nth-child(16) {
  animation-delay: 1.2s;
  z-index: 16;
}
.list__item:nth-child(17) {
  animation-delay: 1.275s;
  z-index: 17;
}
.list__item:nth-child(18) {
  animation-delay: 1.35s;
  z-index: 18;
}
.list__item:nth-child(19) {
  animation-delay: 1.425s;
  z-index: 19;
}
.list__item:nth-child(20) {
  animation-delay: 1.5s;
  z-index: 20;
}
.list__item:nth-child(21) {
  animation-delay: 1.575s;
  z-index: 21;
}
.list__item:nth-child(22) {
  animation-delay: 1.65s;
  z-index: 22;
}
.list__item:nth-child(23) {
  animation-delay: 1.725s;
  z-index: 23;
}
.list__item:nth-child(24) {
  animation-delay: 1.8s;
  z-index: 24;
}
.list__item:nth-child(25) {
  animation-delay: 1.875s;
  z-index: 25;
}
.list__item:nth-child(26) {
  animation-delay: 1.95s;
  z-index: 26;
}
.list__item:nth-child(27) {
  animation-delay: 2.025s;
  z-index: 27;
}
.list__item:nth-child(28) {
  animation-delay: 2.1s;
  z-index: 28;
}
.list__item:nth-child(29) {
  animation-delay: 2.175s;
  z-index: 29;
}
.list__item:nth-child(30) {
  animation-delay: 2.25s;
  z-index: 30;
}
.list__item .icon-close {
  display: none;
}
.list__item:hover .icon-close {
  display: block;
}

.list__item--new {
  background-color: white;
  transform-origin: 50% 0;
}

.list--removing:nth-child(1) {
  animation-delay: 0.075s;
  z-index: 1;
}
.list--removing:nth-child(2) {
  animation-delay: 0.15s;
  z-index: 2;
}
.list--removing:nth-child(3) {
  animation-delay: 0.225s;
  z-index: 3;
}
.list--removing:nth-child(4) {
  animation-delay: 0.3s;
  z-index: 4;
}
.list--removing:nth-child(5) {
  animation-delay: 0.375s;
  z-index: 5;
}
.list--removing:nth-child(6) {
  animation-delay: 0.45s;
  z-index: 6;
}
.list--removing:nth-child(7) {
  animation-delay: 0.525s;
  z-index: 7;
}
.list--removing:nth-child(8) {
  animation-delay: 0.6s;
  z-index: 8;
}
.list--removing:nth-child(9) {
  animation-delay: 0.675s;
  z-index: 9;
}
.list--removing:nth-child(10) {
  animation-delay: 0.75s;
  z-index: 10;
}
.list--removing:nth-child(11) {
  animation-delay: 0.825s;
  z-index: 11;
}
.list--removing:nth-child(12) {
  animation-delay: 0.9s;
  z-index: 12;
}
.list--removing:nth-child(13) {
  animation-delay: 0.975s;
  z-index: 13;
}
.list--removing:nth-child(14) {
  animation-delay: 1.05s;
  z-index: 14;
}
.list--removing:nth-child(15) {
  animation-delay: 1.125s;
  z-index: 15;
}
.list--removing:nth-child(16) {
  animation-delay: 1.2s;
  z-index: 16;
}
.list--removing:nth-child(17) {
  animation-delay: 1.275s;
  z-index: 17;
}
.list--removing:nth-child(18) {
  animation-delay: 1.35s;
  z-index: 18;
}
.list--removing:nth-child(19) {
  animation-delay: 1.425s;
  z-index: 19;
}
.list--removing:nth-child(20) {
  animation-delay: 1.5s;
  z-index: 20;
}
.list--removing:nth-child(21) {
  animation-delay: 1.575s;
  z-index: 21;
}
.list--removing:nth-child(22) {
  animation-delay: 1.65s;
  z-index: 22;
}
.list--removing:nth-child(23) {
  animation-delay: 1.725s;
  z-index: 23;
}
.list--removing:nth-child(24) {
  animation-delay: 1.8s;
  z-index: 24;
}
.list--removing:nth-child(25) {
  animation-delay: 1.875s;
  z-index: 25;
}
.list--removing:nth-child(26) {
  animation-delay: 1.95s;
  z-index: 26;
}
.list--removing:nth-child(27) {
  animation-delay: 2.025s;
  z-index: 27;
}
.list--removing:nth-child(28) {
  animation-delay: 2.1s;
  z-index: 28;
}
.list--removing:nth-child(29) {
  animation-delay: 2.175s;
  z-index: 29;
}
.list--removing:nth-child(30) {
  animation-delay: 2.25s;
  z-index: 30;
}

@keyframes slide-from-top {
  30% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes slide-from-top--new {
  0% {
    background-color: white;
  }
  10% {
    background-color: var(--my-red-color);
  }
  20% {
    background-color: var(--my-red-color);
  }
  30% {
    transform: translateY(50%) scaleY(1);
  }
  100% {
    background-color: white;
    transform: translateY(0);
  }
}
@keyframes slide-from-bottom {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-115%);
  }
}
@keyframes slide-from-bottom--removed {
  0% {
    transform: translateY(0);
  }
  99.9% {
    transform: translateY(-115%);
    opacity: 0;
  }
}

.list__item--inserting-removed {
  z-index: -1 !important;
}

.hidden {
  position: absolute;
}

footer {
  position: absolute;
  bottom: 12px;
  left: 20px;
}

.icon-close {
    cursor: pointer;
    float: right;
    position: relative;
    margin-top: 6px;
    min-width: 24px;
    min-height: 24px;
    opacity: 1;
    background-repeat: no-repeat;
    object-fit: fill;
    background-size: cover;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAADaGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjEgNjQuMTQwOTQ5LCAyMDEwLzEyLzA3LTEwOjU3OjAxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOkRGNDlBRTZGM0QyMDY4MTE4OEM2Q0I2MzFENzZGODEyIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkI0OTFDMUI4MkY0RTExRTJBRDhCRkIyOTY3QzFGRUNDIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkI0OTFDMUI3MkY0RTExRTJBRDhCRkIyOTY3QzFGRUNDIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzUuMSBNYWNpbnRvc2giPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpERUQwNTMyMzRCMjA2ODExODhDNkNCNjMxRDc2RjgxMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpERjQ5QUU2RjNEMjA2ODExODhDNkNCNjMxRDc2RjgxMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PiE1KOEAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAxMjoxMToyNSAxODowMzoxMlUcr24AAACHSURBVDhP7ZPBCYAwDEWLBwfz5GCCIDiS2wiCI3jR/yWR2qYYwaMPnq1pEj00oUANOziL3DPmpod7ImNuVsiiRuSesSITjL/mkTWh4gNssr4hq9HOT9zy9A9SNCFOvopiSg3c/A0+aBCj17c932x4xhzzWlsDVHKAGRzXES7QKqI8Y46MdggHJ8M7/n0+sSMAAAAASUVORK5CYII=);
}



/* IMAGE UPLOAD */

.img-div {
    position: relative;
    width: 160px;
    float:left;
    margin-right:5px;
    margin-left:5px;
    margin-bottom:10px;
    margin-top:10px;
}

.image {
    opacity: 1;
    display: block;
    width: 160px;
    height: 160px;
    transition: .5s ease;
    backface-visibility: hidden;
    object-fit: contain;
}

.middle {
    transition: .5s ease;
    opacity: 1;
    position: relative;
    display: flex;
    top: 50%;
    left: 50%;
    top: 100%;
    left: auto;
    /* transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); */
    text-align: center;
    justify-content: center;
}

.img-div p {
    transition: .5s ease;
    opacity: 1;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    font-size: 14px;
    color: #9c1c20;
    overflow: hidden;
}

.img-div img {
    border: 1px solid black;
    border-radius: 8px;
}

.img-div .btn {
  padding: 0;
  margin: 8px;
}

.img-div:hover .image {
    opacity: 1;
}

.img-div:hover .middle {
    opacity: 1;
}

.video-div {
    position: relative;
    width: 160px;
    float:left;
    margin-right:5px;
    margin-left:5px;
    margin-bottom:10px;
    margin-top:10px;
}

.video-div p {
    transition: .5s ease;
    opacity: 1;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    font-size: 14px;
    color: #9c1c20;
    overflow: hidden;
}

.video-div:hover .image {
    opacity: 1;
}

.video-div:hover .middle {
    opacity: 1;
}

.video-div:hover video .middle {
    opacity: 1;
}

.doc-div {
    position: relative;
    width: 160px;
    float:left;
    margin-right:5px;
    margin-left:5px;
    margin-bottom:10px;
    margin-top:10px;
}

.doc-div p {
    transition: .5s ease;
    opacity: 1;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    font-size: 14px;
    color: #9c1c20;
    overflow: hidden;
}

.doc-div:hover .image {
    opacity: 1;
}

.doc-div:hover .middle {
    opacity: 1;
}

.doc-div .fa, 
.doc-div .fa-solid, 
.doc-div .fas,
.video-div .fa, 
.video-div .fa-solid, 
.video-div .fas,
.img-div .fa, 
.img-div .fa-solid, 
.img-div .fas {
  text-align: center;
  color: black;
  font-size: 22px;
  line-height: 24px;
  padding: 8px;
  padding-left: 20px;
  padding-right: 36px;
}
