html, body {
    min-height: 100%;
    height: 100% !important;
}

#root::after {
    clear: both;
}

#root::before, #root::after {
    content: " ";
    display: table;
}

#root, #app {
    min-height: 100%;
}

.site-header {
    background-color: #005e9e;
    min-height: 85px;
    color: #fff;
    -webkit-box-shadow: 0 2px 5px 2px rgba(0,0,0,0.1);
    box-shadow: 0 2px 5px 2px rgba(0,0,0,0.1);
}

.site-header a {
    color: #fff;
}

.site-header a:hover {
    color: #fff;
    text-decoration: none;
}

.container {
    min-height: 71px;
}

.bg-blue-meiaentrada {
    background: #487c99;
}

.form-style {
    border: 1px solid #ccc;
    background: #e9e9e9;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: .8em;
}

.form-style label {
    color: #000;
}

#change-search .nav-item, #change-search .nav-link {
    font-size: 0.9rem !important;
}

.nav-tabs .nav-item:first-child .nav-link {
    border-top-right-radius: unset !important;
}

.nav-tabs .nav-item:not(:first-child):not(:last-child) .nav-link {
    border-top-right-radius: unset !important;
    border-top-left-radius: unset !important;
}

.nav-tabs .nav-item:last-child .nav-link {
    border-top-left-radius: unset !important;
}

.nav-tabs .nav-link:not(.active) {
    background-color: #e9e9e9;
    color: #495057;
}

.certificate-container {
    word-wrap: break-word;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    font-size: .9em;
}

.iframe-container {
    overflow: hidden;
    padding-top: 25%; /* 16:9 ratio para um iframe responsivo */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ajs-header-error {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #d32535 !important;
}

@media (max-width: 578.98px) {
    /*.iframe-container {*/
    /*    padding-top: 60.25%; !* 16:9 ratio para um iframe responsivo *!*/
    /*}*/

    /*.iframe-container iframe {*/
    /*    left: 15px;*/
    /*    width: calc(100% - 30px);*/
    /*    height: 100%;*/
    /*}*/
}

/*@media screen and (max-width: 1200px) {*/
/*    body {*/
/*        font-size: calc(0.875rem + -0.1vw) !important;*/
/*    }*/
/*}*/

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    body {
        font-size: calc(1rem - 0.5vh);
    }

    .iframe-container {
        padding-top: 60.25%; /* 16:9 ratio para um iframe responsivo */
    }
}

/*// Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
    body {
        font-size: calc(1rem - 0.4vh);
    }

    .iframe-container {
        padding-top: 50.25%; /* 16:9 ratio para um iframe responsivo */
    }

}

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
    body {
        font-size: calc(1rem - 0.3vh);
    }

    .iframe-container {
        padding-top: 25.25%; /* 16:9 ratio para um iframe responsivo */
    }
}

/*// Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
    body {
        font-size: calc(1rem - 0.2vh);
    }

    .iframe-container {
        padding-top: 25.25%; /* 16:9 ratio para um iframe responsivo */
    }
}

/*// Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {

}
