body {
    font-family: 'latoregular', Arial, Verdana, sans-serif;
    background: rgba(255, 255, 255, 1) !important;
}

.new-header {
    min-height: 50px;
    background-color: rgba(255, 255, 255, 1);
    position: relative;

    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;

        &:after,
        &:before {
            display: none;
        }

        .new-logo {
            height: 45px;
            display: inline-flex;
            align-items: flex-end;
            gap: 10px;
            padding-bottom: 0;
            background: url('../img/Calder-academie_H_logo.png') no-repeat center center;
            background-size: contain;
            width: 300px;
        }

        .top-menu {
            ul {
                gap: 15px;
                height: 45px;

                li {
                    height: 45px;
                    display: inline-flex;
                    align-items: center;
             

                    a {
                        color: rgba(60, 60, 59, 1);
                        padding: 0px 6px;
                        height: auto;

                        &:hover {
                            color: rgb(87 133 153);
                        }
                    }
                }
            }
        }
    }
}

.bottom-header,
.student.student .bottom-header {
    display: none;
}

.header.header {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

.header:has(.new-header) > .row,
.header:has(.new-header) .bottom-header + div {
    padding: 0;
    width: 100%;
    margin: 0;

    &:after,
    &:before,
    & > .container:after,
    & > .container:before {
        display: none;
    }

    .container:has(#grouped-menu) {
        padding: 0;

        #grouped-menu#grouped-menu {
            margin: 0 auto;
            background: transparent;
            border: none;
            gap: 10px;
            justify-content: space-evenly;
            width: 100%;
            display: flex;
            padding: 10px;
            background: rgba(238, 237, 233, 1);
            border-radius: 5px;

            .menu-item,
            .menu-group {
                position: relative;
                display: flex;
                justify-content: center;
                align-items: center;
                width: max-content;
                border-radius: 8px;
                background: rgba(255, 255, 255, 1);
                border-bottom: 1px solid rgba(204, 204, 204, 1);

                &:first-child {

                    ul {
                        left: 0;
                        transform: translateX(0);
                    }
                }

                &:first-child:hover ul li:first-child:before {
                    left: 25%;
                }

                h3 {
                    margin: 0;
                    font-size: 14px;
                    letter-spacing: .5px;
                    color: rgba(68, 68, 68, 1);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    cursor: pointer;
                    gap: 10px;
                    text-align: center;
                    height: 100%;
                    font-weight: 300;
                    line-height: normal;
                }

                h3, a {
                    padding: 10px;
                }

                ul {
                    display: flex;
                    flex-direction: column;
                    gap: 8px;
                    z-index: -1;
                    opacity: 0;
                    position: absolute;
                    transition: all .3s ease-in-out;
                    top: 150%;
                    left: 50%;
                    width: max-content;
                    padding-top: 10px;
                    transform: translateX(-50%);
                    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, .3));
                    list-style: none;

                    li {
                        border-radius: 5px;
                        position: relative;
                        font-size: 13px;
                        color: rgba(68, 68, 68, 1);
                        cursor: pointer;
                        background: rgba(255, 255, 255, 1);
                        transition: all .3s ease-in-out;
                        border: solid rgba(204, 204, 204, 1);
                        border-width: 1px 0;
                        margin-top: 20px;
                        min-width: 150px;

                        &:hover {
                            transform: scale(1.1);
                            z-index: 1;
                            border-bottom: 1px solid rgba(204, 204, 204, 1) !important;
                        }

                        a {
                            display: block;
                            padding: 12px 8px;
                            font-size: 13px;
                            letter-spacing: 0.3px;
                            line-height: normal;
                        }
                    }
                }

                &:hover ul {
                    gap: 2px;
                    z-index: 11;
                    opacity: 1;
                    top: 100%;

                    li {
                        margin-top: 0;
                    }

                    li:first-child:before {
                        content: '';
                        position: absolute;
                        top: -10px;
                        left: 50%;
                        transform: translateX(-50%) rotate(45deg);
                        width: 20px;
                        height: 20px;
                        background: rgba(255, 255, 255, 1);
                        border-width: 1px;
                        border-style: solid;
                        border-color: rgba(204, 204, 204, 1) transparent transparent rgba(204, 204, 204, 1);
                        border-radius: 4px;
                        pointer-events: none;
                        opacity: 0;
                        transition: all .2s;
                    }

                    li:first-child:before {
                        opacity: 1;
                    }
                }
            }

            a {
                color: rgba(60, 60, 59, 1);

                &:hover {
                    color: rgb(87 133 153);
                }
            }
        }
    }
}

.student .header:has(.new-header) .bottom-header + div #grouped-menu#grouped-menu {
    justify-content: flex-end !important;
}

/*-- dashboard --*/
.main.main .content-container h2 {
    color: rgb(60 60 59);
    margin: 10px 0 25px;
}

.content-container #announcements,
.content-container #news,
.main .content-container #schedule,
.main .content-container #examenbureau,
.main .content-container #vacancies,
.main .content-container .portfolio-img,
.main .content-container #license {
    border: 1px solid rgb(221, 219, 210) !important;
    margin-bottom: 20px;
}

.main .content-container .bottom-line {
    display: none;
}

/*-- login --*/
.main .login_block.login_block #login_btn {
    height: 34px;
    background-color: rgba(92, 145, 167, 1);
    border-color: rgb(87 133 153);
    font: normal normal 14px 'latoregular', Arial, Verdana, sans-serif;
    display: flex;
    padding: 6px 10px;
    justify-content: center;
    align-items: center;
    width: 150px;

    &:hover {
        background: rgb(87 133 153) !important;
        border-color: rgb(87 133 153) !important;
    }

    &:disabled, &[disabled], &:disabled {
        opacity: 0.75;
        cursor: not-allowed;
        background: rgb(87 133 153) !important;
        border-color: rgb(87 133 153) !important;
        color: #fff !important;
    }
}

.main.main .content-container {
    margin-top: 15px;
}

.main.main .content-container .content,
.main.main .content-container #content {
    background-image: url('../img/content_bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    height: calc(100vh - 140px);
    width: 100%;
}

#content:has(.login_block) h2 {
    color: rgba(60, 60, 59, 1);
    margin: 0 !important;
}

.main.main .login_block {
    background: #fff;
    box-shadow: 0 0px 16px rgba(0, 0, 0, 0.33);
    max-width: 280px;
    height: auto;

    #username,
    #password {
        margin-top: 0;
        margin-bottom: 13px;
    }

    fieldset {
        padding: 20px;

        > * {
            margin-left: 0 !important;
        }

        .form_head {
            margin: 0 !important;
            padding: 0 0 15px !important;
        }

        .username-wr,
        .password-wr {
            margin-top: 10px !important;
            width: 100% !important;

            * {
                width: 100% !important;
                margin: 3px 0 !important;
            }
        }

        .login-btn-wr * {
            width: 100% !important;
        }

        .info {
            margin-top: 10px !important;
            transform: translateY(0px);
            margin-bottom: 0px;
        }

    }

    .info {
        margin-top: -10px !important;
        transform: translateY(-10px);
    }
}

/*-- buttons --*/
#read-all#read-all,
.btn-info {
    margin: 20px 10px 0 0;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(92, 145, 167, 1);
    border-color: rgb(87 133 153);
    padding: 6px 8px;
    transition: all .3s;
    box-shadow: 1px 1px 3px -2px rgba(51, 51, 51, 1);

    &:hover {
        background: rgb(87 133 153);
        border-color: rgb(87 133 153);
    }
}

.main.main .content-container .btn,
.main.main .action-wrap .d-a-group > div .btn {
    color: rgb(60 60 59);
    border-color: rgb(60 60 59) ;
    background: #fff;
    box-shadow: 1px 1px 4px -2px rgb(60 60 59);

    &:hover {
        background: rgb(60 60 59) !important;
        color: #fff;
        border-color: rgb(60 60 59) !important;
    }

    & > .label-danger {
        background-color: rgb(136, 180, 199);
        color: #fff;
    }
}

#read-all#read-all:hover {
    background: rgb(87 133 153) !important;
    border-color: rgb(87 133 153) !important;
}

.to-side {
    background: rgb(74 109 124) !important;
}

#clockcontainer {
    background: rgb(87 133 153) !important;
}
