* {
    font-family: "Lato", serif !important;
}

main {
    margin-left: 235px;
    background-color: rgb(247, 249, 252);
    min-height: calc(100vh - 60px);
    height: 100%;
}

main.fullWidth {
    margin: 0px;
}

header {
    padding-left: 245px;
    padding-right:245px;
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
}

#previousPageButton {
    align-self: center;
}

#previousPageButton > * {
    color: black;
}

h1.title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #28456e;
    align-self: center;
}

a.returnButton {
    color: #28456e;
    align-content: center;

}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 35px;
    border: solid #EEEEEE 1px;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    color: #28456e;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu button {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: black;
}

.dropdown-menu button:hover {
    background-color: #ddd;
    cursor: pointer;
}

/* Delete popup */

#deletePopup,
#archivePopup {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 20%;
    left: 355px;
    width: 320px;
    height: 200px;
    background-color: white;
    z-index: 1000;
    border-radius: 15px;
    padding: 30px 20px;
    color: #4273b8;
}

#deletePopup h3,
#archivePopup h3 {
    margin-bottom: 22px;
}

#deletePopup p,
#archivePopup p {
    font-size: 11pt;
}

#deletePopup .buttons,
#archivePopup .buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    font-size: 11pt;
}

#deletePopup .buttons #deleteAnnul,
#archivePopup .buttons #archvieAnnul {
    color: #4273b8;
    width: 100px;
}

#deletePopup .buttons #deleteMachineBtn,
#deletePopup .buttons #deleteEmployeeFinalBtn,
#archivePopup .buttons #archiveEmployeeFinalBtn {
    width: 100px;
}

.buttons {
    border-top: #EEEEEE 1px solid;
    padding-top: 15px;
    margin-top: 15px;
}

.backIcon:hover {
    background-color: rgb(236, 236, 236);
    border-radius: 50%;
}

.backIcon {
    width: 30px;
    height: 30px;
    font-size: 40px;
    margin-right: 10px;
}


/* general styling for popups */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(211, 211, 211, 0.7);
    z-index: 999;
}

.popup {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 20%;
    left: 355px;
    width: 320px;
    background-color: white;
    z-index: 1000;
    border-radius: 15px;
    padding: 30px 20px;
    color: #4273b8;
}

button {
    background-color: rgb(75, 116, 186);
    color: white;
    border: solid #EEEEEE 1px;
    border-radius: 15px;
    font-size: 14px;
    padding: 10px 20px;
}

button:hover {
    background-color: #28456e;
}

button.annul {
    background-color: white;
    color: #4273b8;
}

button.annul:hover {
    background-color: #F0F0F0;
    color: #4273b8;
}

button.danger {
    background-color: #dc3545;
}

button.danger:hover {
    background-color: #b6202f;
}