html,
body {
    width: 100%;
    height: 100%;
}
.welcome {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.welcome img {
    width: 100%;
    max-width: 280px;
}
.card-login {
    margin-top: 30px;
}
.card-login img {
    width: 150px;
}
.header-logo {
    width: 100px;
}
.hidden {
    display: none;
}
/* ==================================================== */
.admin {
    display: flex;
    width: 100%;
    height: 100%;
}
.admin nav,
.admin .content {
    transition: 0.2s all;
}
/* ===================== NAV ===================== */
.admin nav {
    background-image: url("../img/background.png");
    background-color: #1d4487;
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 0;
}
.admin nav.visible {
    width: 230px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
}
.content-nav {
    width: 230px;
    height: 100%;
    overflow-y: auto;
}
.admin nav img {
    width: 180px;
    display: block;
    margin: 20px auto;
}
.admin nav ul {
    list-style: none;
    padding: 0;
    border-top: 1px solid #ffffff;
}
.admin nav ul li {
    width: 100%;
    border-bottom: 1px solid #ffffff;
}
.admin nav ul li a,
.open-submenu {
    color: #ffffff;
    padding: 8px 15px;
    display: flex;
    transition: 0.2s all;
}
.admin nav ul li a:hover,
.open-submenu:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.5);
}
.submenu ul {
    display: none;
    border-top: 0 !important;
}
.submenu ul li {
    border-top: 1px solid #ffffff;
    border-bottom: 0 !important;
}
.submenu ul li a {
    padding: 8px 15px 8px 30px !important;
    background-color: rgba(255, 255, 255, 0.065);
}
.open-submenu {
    justify-content: space-between;
    cursor: pointer;
}
/* ===================== CONTENT ===================== */
.admin .content {
    width: 100%;
}
.admin .content.visible {
    width: calc(100% - 230px);
}
.content header {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1d4487;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
}
.content header button {
    width: 50px;
    height: 50px;
    font-size: 20px;
    border: 0;
    background-color: transparent;
    color: #ffffff;
}
.content header button:focus {
    outline: none;
}
.content header a {
    color: #ffffff;
}
.content header .dropdown-item {
    color: #1d4487;
}
.main {
    width: 100%;
    height: calc(100% - 50px);
    overflow: auto;
}
.box-title {
    width: 100%;
    padding: 20px 10px 10px;
    border-bottom: 1px solid #1d4487;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.box-title h3 {
    margin: 0;
}
.actions-buttons {
    display: flex;
    flex-wrap: wrap;
}
.actions {
    display: flex;
    margin-left: 10px;
}
.actions a {
    margin-left: 10px;
}
.actions .dropdown-item {
    margin-left: 0 !important;
}
.image-table {
    width: 100px;
}
.form-image {
    width: 200px;
}
.database .btn {
    margin-bottom: 15px;
}
.prev-image {
    width: 200px;
    position: relative;
}
.prev-image img {
    width: 100%;
}
.prev-image button {
    width: 40px;
    height: 40px;
    background-color: red;
    color: white;
    border: 0;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 22px;
    transition: .2s all;
}
.prev-image button:hover {
    background-color: darkred;
}
.img-table {
    width: 150px;
}
#internal_emails {
    display: none;
}
.search-results {
    position: relative;
}
.results {
    width: 100%;
    max-height: 200px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    position: absolute;
    top: calc(1.6em + 0.75rem + 1px);
    left: 0;
    background-color: #ffffff;
    overflow-y: auto;
    display: none;
}
.result {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background-color: transparent;
    border: 0;
    border-top: 1px solid #ced4da;
    text-align: left;
}
.result:nth-child(1) {
    border-top: 0;
}
.selected {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    justify-content: flex-start;
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 10px
}
.selected-item {
    padding: 5px 10px;
    background-color: #ced4da;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
    margin-bottom: 5px;
}
.selected-item button {
    margin-left: 8px;
    padding: 0;
    border: 0;
    background-color: transparent;
}
.selected-item button:focus {
    outline: none;
}
#search_label {
    margin-bottom: 0;
}
.modal-loading {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
}
.modal-loading div {
    width: 90%;
    text-align: center;
    font-size: 20px;
    color: #ffffff;
    font-weight: bold;
}