/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden;
    color: #7f8c8d;
    text-align: center;
    padding: 15px 50px;
    position: fixed;
    z-index: 200100;
    bottom: 30px;
    top: auto;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 20%);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
    max-width: 700px;
    width: 100%;
    border-radius: 10px;
}
#snackbar.snack-success {background-color: #6fc3ab;color: #ffffff}
#snackbar.snack-error {background-color: #d50000;color: #ffffff }
#snackbar.snack-info {background-color: var(--c-main);color: #ffffff}
#snackbar .title {
    font-size: 18px;
    line-height: 1;
}
#snackbar .details {
    font-weight: 400;
    font-size: 12px;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible; /* Show the snackbar */
          /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
          However, delay the fade out process for 2.5 seconds */
          -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
          animation: fadein 0.5s, fadeout 0.5s 2.5s;
        }
        
        /* Animations to fade the snackbar in and out */
        @-webkit-keyframes fadein {
          from {bottom: 30px; opacity: 0;}
          to {bottom: 30px; opacity: 1;}
        }
        
        @keyframes fadein {
          from {bottom: 30px; opacity: 0;}
          to {bottom: 30px; opacity: 1;}
        }
        
        @-webkit-keyframes fadeout {
          from {bottom: 30px; opacity: 1;}
          to {bottom: 30px; opacity: 0;}
        }
        
        @keyframes fadeout {
          from {bottom: 30px; opacity: 1;}
          to {bottom: 30px; opacity: 0;}
        } 
        
        .sticky-button {
          position: -webkit-sticky; /* Safari */
          position: sticky;
          bottom: 0;
        }
        
        #tinymce { 
          font-family: "Roboto"; font-size: 16p;
        }
        
        .add-quiz-button-text 
        {
          font-size: 0.6em;
        }

        .loading-spinner {
         width: 56px;
         height: 56px;
         border-radius: 50%;
         border: 9px solid;
         border-color: #dbdcef;
         border-right-color: #532b88;
         animation: spinner-d3wgkg 1s infinite linear;
         margin: auto;
       }

       @keyframes spinner-d3wgkg {
         to {
          transform: rotate(1turn);
        }
      }
      /* AICI E GATA CE O PUS RADU, PLM 2 */