:root {
    --primary-color: #1e2a3a;
    --secondary-color: #ccd5d6;
    --tertiary-color: #f5f5f5;
    --accent-color: #ffd500;
    --accent-color-darker: #d7b300;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);

}

.body-teachers {
    background-color: #ccd5d6;
}

.body-teachers .m-navbar {
    background-color: #1e2a3a;
    color: white;
}

.body-teachers .m-navlist .navbar-nav li.nav-item a.nav-link {
    color: var(--accent-color);
}


h1, h2, h3, h4, h5, h6 {
    font-family: Muli, sans-serif;
    color: var(--primary-color);
    text-transform: uppercase;
}

h1 {
    font-size: 1.6rem;
    font-weight: 700;
    border-bottom: 1px solid var(--accent-color);
    padding: 0 0 0.5rem 0;
    margin: 0 0 1rem 0;
}

h1 svg {
    color: var(--accent-color);
    margin-right: 0.2rem;
    height: 1.5rem;
    position: relative;
    top: -0.2rem;
}

h2 {
    font-size: 1.4rem;
    font-weight: 700;
    border-bottom: 1px solid var(--accent-color);
    padding: 0 0 0.5rem 0;
    margin: 0 0 1rem 0;
}

h3 {
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 1px solid var(--accent-color);
    padding: 0 0 0.5rem 0;
    margin: 0 0 1rem 0;
}

h4 {
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--accent-color);
    padding: 0 0 0.5rem 0;
    margin: 0 0 1rem 0;
}

h5 {
    font-size: 0.8rem;
    font-weight: 700;
    border-bottom: 1px solid var(--accent-color);
    padding: 0 0 0.5rem 0;
    margin: 0 0 1rem 0;
}

.list-group {
    min-width: 65px;
}

.list-group a {
    display: block;
    position: relative;
    z-index: 3 !important;
    cursor: pointer;
}

.list-group-item svg {
    min-width: 1rem;
    max-height: 2rem;
}

.list-group-item.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}



.notification-bullet {
    background-color: red;
    position: absolute;
    right: -0.75rem;
    top: -0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50% 50%  50% 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .list-group {
        flex-direction: row;
    }

    .list-group-item {
        border-radius: 0 !important;
    }

    .list-group-item svg {
        height: 2rem;
    }
    
    
}

.tr-camp img {
    width: 20vw;
    max-height: 125px;
    max-width: 125px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.tr-camp td {
    font-size: 0.8rem;
    vertical-align: middle;
}

.card-body.success {
    background-color: #d4edda;
    color: #155724;
}

.card-body.danger {
    background-color: #f8d7da;
    color: #721c24;
}

a {
    color: var(--accent-color-darker);
}

.main-item {
    background-color: var(--tertiary-color);
    border: 1px solid var(--accent-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
    display: block;
    text-align: center;
    font-size: 1.2rem;
    svg {
        height: 5rem;
        display: block;
        margin: 0 auto;
    }

    &:hover {
        background-color: var(--accent-color);
        color: var(--primary-color);
        text-decoration: none;
    }
}


.btn-group .btn-primary {
    background-color: var(--tertiary-color);
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    background-color: var(--accent-color-darker);
    border-color: var(--accent-color-darker);
}

.btn {
    border-radius: 0;
    position: relative;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-secondary {
    background-color: #1e2a3a;
    border-color: var(--accent-color);
    color: var(--accent-color);

    svg {
        fill: var(--accent-color);
    }
}

.table-camps {
    width: 100%;
    border-collapse: collapse;
}

@media screen and (max-width: 768px) {
    .table-camps td:nth-child(1),
    .table-camps th:nth-child(1),
    .table-camps td:nth-child(4),
    .table-camps th:nth-child(4),
    .table-camps td:nth-child(5),
    .table-camps th:nth-child(5) {
        display: none;
    }

    .table-camps td:nth-child(2),
    .table-camps th:nth-child(2) {
        width: 60%;
    }


    .table-camps td:nth-child(3),
    .table-camps th:nth-child(3) {
        width: 40%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.btn .notification-bullet {
    animation: pulse 1s infinite;
    top: -1.3rem;
}

.btn svg {
    display: inline-block;
    height: 1rem;
    margin-left: 0.5rem;
}

.is-sticky {
    position: fixed;
    right: 10%;
    transform: translateX(50%);
    z-index: 1000;
    bottom: 2rem;
    animation: pulse 3s infinite;
}

.alert ul {
    margin: 0;
    padding: 0 0 0 1rem;
}

.alert ul li {
    list-style-type: none;
}

.shift.care.present {
    background-color: #f0f7f7;
}

.shift.day.present {
    background-color: #dcfedd;
}

.shift.not-present {
    background-color: #f9e6e8;
}

/* signature */
#signContract {
    position: relative;
}

#signContract label {
    display: block;
    font-weight: 700;
    position: absolute;
    top: 1rem;
    left: 1rem;
    pointer-events: none;
}

#signatureCanvas {
    display: block;
    background: #fff;
    border: 2px solid #000;
    border-radius: 0.5rem;
}