body {
    min-height: auto !important;
}

.login-box {
    margin: 12% auto;
}

.bold {
    font-weight: bold;
}

/* remover scroll a mais da página */
.content-wrapper {
    min-height: auto;
}

.wrapper {
    min-height: auto !important;
}

.main-sidebar,
.left-side {
    padding-top: 50px;
}

.content-header>h1 {
    padding-bottom: 20px;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    background-color: #00a65a;
    border-color: #008d4c;
}

.form-control:focus {
    border-color: #008d4c;
}

.info-box-icon {
    padding-top: 23px;
}

.nav-tabs-custom>.nav-tabs>li.active {
    border-top-color: #00a65a;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #00a65a;
    border-color: #008d4c;
}

.select2-container {
    width: 100% !important;
}

.titulo {
    font-size: 17px;
    color: #00a65a;
    font-weight: 700;
    text-transform: uppercase;
}

tr,
th {
    font-size: 14px;
}

textarea {
    resize: none;
}

.btn-sm {
    line-height: 1.2;
}

.ui-effects-wrapper {
    height: 100% !important;
}

.profile-user-img {
    min-height: 100px;
    max-height: 100px;
}

.img-table {
    min-height: 40px;
    max-height: 40px;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    vertical-align: middle;
}

.sidebar-menu>li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-menu>.search_empresa {
    margin: 10px 7px;
}

.input-dark {
    border: none;
    background-color: #1a2226;
}

.btn-dark {
    color: #00a65a;
    background-color: #1a2226;
    border: none;
}

.small-box .icon {
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;
    position: absolute;
    top: 15px;
    right: 10px;
    z-index: 0;
    font-size: 60px;
    color: rgba(0, 0, 0, 0.15);
}

.text-white {
    color: #FFFFFF;
}

.calendario-normal {
    margin-top: 5px;
    min-height: 100px;
    border: 1px solid #ccc;
}

.calendario-active {
    margin-top: 5px;
    min-height: 100px;
    border: 1px solid #00a65a;
}

.upload-ficheiro-consulta {
    display: flex;
    gap: 10px;
    margin: 8px 0;
}

.container-upload label {
    width: 15vw;
    background: #00a65a;
    color: #f3f3f3;
    padding: 8px 5px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-overflow: ellipsis;
}

.container-upload label:active {
    background: #66cfa0;
}

.container-upload label:disabled {
    background: #59b189;
    cursor: not-allowed;
}

.container-upload>input[type="file"] {
    display: none;
}

#add-campo-ficheiro {
    background: #00a65a;
    color: #f3f3f3;
    padding: 8px 10px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-overflow: ellipsis;
    border: none;
}

#add-campo-ficheiro:active {
    background: #66cfa0;
}

.top-menu>ul {
    display: flex;
    gap: 10px;
}

.top-menu>ul>li {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.top-menu>ul>li>a {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    background: #00a65a;
    width: 5vw;
    height: 30px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    color: #f4f4f4;
    font-weight: 600;
    border: #00a65a solid 2px;
    padding: 0.8rem;
}

#active {
    color: #00a65a;
    background: transparent;
}

.agenda-alert-container {
    display: flex;
    justify-content: center;
    width: 50%;
}

.content {
    margin-left: 5vw;
}

.table-agenda {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 80%;
    table-layout: fixed;
}

.table-agenda caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

.table-agenda tr {
    background-color: transparent;
    border: 1px solid #ddd;
    padding: .35em;
}

.table-agenda th,
.table-agenda td {
    padding: .625em;
    text-align: center;
}

.table-agenda th {
    background: #00a65a;
    color: #f4f4f4;
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}

#aceder-btn {
    background: #00a65a;
    color: #f4f4f4;
    font-size: 1em;
    padding: 1.2rem;
    border-radius: 8px;
}

.hidden {
    display: none;
}

#dropzone {
    border: 2px dashed #f4f4f494;
    border-radius: 20px;
    background: transparent;
    font-size: 22px;
}

.details-exame {
    display: flex;
    flex-direction: column;
    margin: 0 10px;
    width: 40%;
}


.details span:first-child {
    width: 80%;
    text-overflow: ellipsis;
    font-weight: 600;
}

.details span:last-child {
    color: #747474;
}

.container-exame {
    display: flex;
    flex-direction: row;
    align-items:  center;
    justify-content: space-around;
}

@media screen and (min-width: 1024px) {
    .top-menu>ul>li>a {
        width: 8vw;
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .top-menu>ul>li>a {
        width: 11vw;
        font-size: 12px;
    }
}

@media screen and (max-width: 600px) {
    .top-menu>ul>li>a {
        width: 24vw;
        font-size: 11px;
    }

    .table-agenda {
        border: 0;
    }

    .table-agenda caption {
        font-size: 1.3em;
    }

    .table-agenda thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .table-agenda tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    .table-agenda td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    .table-agenda td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .table-agenda td:last-child {
        border-bottom: 0;
    }
}
