:root {
    --mainColorSino: #d62129;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ecf0f5;
    color: black;
}

b, strong {
    font-weight: bold;
}

.btn {

}

.btn-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 6px 0px #00000087;
}

.btn-animated:active {
    box-shadow: 0px 0px 4px 2px #00000087;
    transform: translateY(2px);
    color: white !important;
    border:none;
    border-color: unset!important;
}

.btn-animated:after {
    position: absolute;
    top: -1px;
    content: "Log In";
    display: block;
    width: 100%;
    height: 38px;
    left: 0;
    border-radius: 0.25rem;
    color: white;
    background-color: #a90008;
    opacity: 0;
    line-height: 38px;
    z-index: 10;

}

.btn-animated:hover:after {
    /*animation-name: btn_animation;*/
    animation-duration: 0.2s;
    animation-timing-function: linear;

}

.btn-red {
    position: relative;
    color: white;
    background-color: var(--mainColorSino);
}

.btn-red:hover {
    color: white;
    background-color: #a90008;
}

.btn-red:active {
    background-color: var(--mainColorSino) !important;
}

header {
    color: #444444;
    box-shadow: 1px 1px 18px 2px #444444;
    background-color: white;

}
.modal{
    background: #00000066;
}
.modal-dialog {
    max-width: 800px;
    /*max-height: 85vh;*/
}

.modal-dialog .modal-body {
    max-height: 80vh;
    overflow-y: auto;
    padding: 1rem;
}

#main-wrapper {

    height: calc(100vh - 97px);
    display: flex;

    justify-content: center;
}

.page-wrapper {
    margin: 0;
}

.login-register {
    width: 25vw;
}
.login-box{
    min-height: 245px;
}

.alert-danger {
    background-color: #680000;
    color: #da0404;
}

.event-row:hover {
    cursor: pointer;
}

.active > .page-link {
    border-color: var(--mainColorSino);
    background-color: var(--mainColorSino);
}

.page-link {
    color: var(--mainColorSino);
}

.page-link:hover {
    color: #a90008;
}

.page-link:focus {
    box-shadow: 0 0 8px 1px #a90008;
    color: var(--mainColorSino);
}

.pagination {
    flex-wrap: wrap;
}
/*MAIL EDITOR*/
#mail_list {
    align-self: flex-start;
    height: 100%;
    overflow-y: auto;
}

#mail_list .mail_body {
    overflow-y: scroll;
    max-height: 200px;
}

#anteprima {
    color: black;
    border: 1px solid black;
    border-radius: 1rem;
    overflow-y: auto;
}

#modal_preview table table, #anteprima table table {
    margin: 0 auto;
}
/*EDITOR*/
#editors .btn{
    font-size: 2rem;
    font-weight: bold;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes btn_animation {

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}

