/* Component */
.alert-item.alert-position-1 {
    top: 10.5rem;
}
.alert-item.alert-position-2 {
    top: 20rem;
}
.alert-item {
    top: 1rem;
    right: 1rem;
    position: fixed!important;
    width: 70%;
}
.alert-item {
    max-height: 9.5rem!important;
    overflow: hidden;
    z-index: 50!important;   
    transform: translateX(100%);
    transition-duration: 0.3s;
    padding: .75rem 1.5rem;
    margin-bottom: .5rem;
    cursor: pointer;
}
.border-rounded .alert-item {
    border-radius: .75rem;
}
.archive .alert-item .desc {
    padding-top: 0;
    padding-bottom: 0;
}
.alert-item .title {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 0.6rem;
    color: var(--color-background);
}
.alert-item .editor {
    font-size: 1rem;
    color: var(--color-background);
    display: -webkit-box; 
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.alert-item .btn-wrapper {
    margin-top: 0.6rem;
}
.alert-item .btn {
    font-size: 1.1rem;
    color: var(--color-background)!important;
    text-decoration: none;
}
.alert-item.open {
    transform: unset;
    cursor: default;
}
.alert-item:not(.open):hover {
    transform: translateX(calc(100% - 86px));
}
.alert-item .alert-content {
    display: flex;
    column-gap: 1.5rem;
}
.alert-item .alert-content svg {
    height:3.75rem;
    transform: rotate(-25deg);
    fill: var(--color-background)
}

.alert-item button.close {
    background: 0 0;
    border: none;
    position: absolute;
    right: 1.3rem;
    top: 1.3rem !important;
}
.alert-item button svg {
    fill: var(--color-background);
    opacity: .75;
}

.archive-alertes {
    display: flex;
    flex-direction: column;
    margin-bottom: 5%;
    margin-top: 5%;
}
.archive-alertes .alert-item {
    left: 0;
    position: relative!important;
    width: 100%;
    transform: unset;
    margin-top:  1.25rem;
    margin-bottom:  1.25rem;

}
.alert-item {
    display: flex;
    align-items: center;
}
.alert.alert-info {
    background-color: #117da3;
}
.alert.alert-warning {
    background-color: #EB7700;
}
.alert.alert-danger {
    background-color: #e44e1c;
}
.alert-item .alert-content-inner .alert-heading, .alert-item .alert-content-inner div {
    color: white;
}

.bell {
  display: inline-block;
}

.bell.ring-once .bell-swing {
  animation: bell-ring 0.65s cubic-bezier(.2, .8, .3, 1) 0s 3 both;
}

.bell.ring-once .bell-clapper {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: clapper-swing 0.65s cubic-bezier(.2, .8, .3, 1) 0.05s 3 both;
}

@keyframes bell-ring {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(-25deg); }
  30%  { transform: rotate(15deg); }
  50%  { transform: rotate(-10deg); }
  70%  { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}

@keyframes clapper-swing {
  0%   { transform: translateX(0) rotate(0deg); }
  10%  { transform: translateX(-1px) rotate(-35deg); }
  30%  { transform: translateX(1px) rotate(20deg); }
  50%  { transform: translateX(-0.6px) rotate(-12deg); }
  70%  { transform: translateX(0.3px) rotate(6deg); }
  100% { transform: translateX(0) rotate(0deg); }
}
