﻿body {
    margin: 0 auto;
    min-width: 100vw;
    font-family: Calibri, sans-serif;
}
h3 {
    font-size: 1.3em;
}

a:hover{
    text-decoration: none;
}

.alert{
    font-size: .9em;
}

td{
    white-space: nowrap;
}

#nome-laboratorio {
    color: #fff;
    font-size: 40px;
    padding: 10px 0;
    text-decoration: none;
}

#imagem-logo-laboratorio {
    max-height: 128px;
    max-width: 80vw;
    margin-top: 6px;
    margin-bottom: 3px;
}

.sec-interior {
    margin: 0 auto;
    max-width: 1600px;
    width: 100%;
}

.sec-interior-sub {
    display: flex;
    flex-direction: column;
    margin: 0 9%;
}

#topo {
    /*background-color: #fff;*/
    color: #fff;
    font-size: 40px;
    padding: 10px 0;
}

    #topo > .sec-interior > .sec-interior-sub {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 0 9%;
    }

#principal {
    background: #ffffff;
    padding-top: 10px;
}

.info {
    display: flex;
    flex-direction: row;
    color: #444444;
    padding: 10px 0;
    font-size: 15px;
    /*text-transform: uppercase;*/
}

.info-pagina {
    /*color: #444444;
    padding: 10px 0;
    font-size: 15px;*/
    overflow: hidden;
}

.info-home-border {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /*color: #444444;
    padding: 10px 0;
    font-family: Calibri, sans-serif;
    font-size: 15px;*/
    border-bottom: 5px solid #fff;
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.voltar {
    clear: both;
    float: right;
    padding: 0 0.3em;
}
    .voltar .margin-right {
        margin-right: 1em;
    }

.lang-menu {
    margin-right: 5px;
    position: relative;
}

.lang-menu:hover ul {
    display: block;
}

.lang-menu ul {
    margin: 0;
    padding: 0;
    background-color: #fff;
    border: 1px solid #f8f8f8;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    display: none;
    position: absolute;
    top: 30px;
    left: 0;
}

.lang-menu ul li {
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.lang-menu ul li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 75px;
    padding: 5px 10px;
}

.lang-menu ul li a:before {
    content: '';
    display: inline-block;
    width: 20px;
    height:20px;
    vertical-align: middle;
    margin-right: 5px;
    background-image: url("../img/flags/pt.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.lang-menu ul li a:hover {
    background-color: #f2f2f2;
}

.selected-lang {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 2;
    width: 60px;
}

.selected-lang:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../img/flags/pt.png");
}

.PT:before {
    background-image: url("../img/flags/pt.png") !important;
}

.ES:before {
    background-image: url("../img/flags/es.png") !important;
}

.EN:before {
    background-image: url("../img/flags/en.png") !important;
}

.DE:before {
    background-image: url("../img/flags/de.png") !important;
}

#login {
    margin: 5em 0 2em 0;
}

    #login #formulario {
        margin: 0 auto;
        max-width: 350px;
        border: 1px solid #e3e3e3;
        background: #f5f5f5;
        border-radius: 20px;
        color: #4181D0;
        padding: 0 20px;
    }

        #login #formulario .form-group .form-control {
            font-size: 1em;
        }

        #login #formulario form {
            padding-top: 10px;
        }

        #login #formulario .btn {
            background-color: #4181D0;
            border-color: #4181D0;
            margin: .69em 0;
        }

footer {
    overflow: hidden;
    clear: both;
}

.logos {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 9%;
}

footer .logos img {
    max-width: 25vw;
    max-height: 80px;
}

.icons-desktop {
    display: none;
}

.icons-mobile {
    display: block;
    text-align: center;
    margin: 15px 0;
}

.espaco-vertical {
    height: 20px;
}

.espaco-vertical-25 {
    height: 25px;
}

.panel-title {
    font-size: 1em;
}

.form-group {
    margin-bottom: 0;
}

.form-group div{
    margin-bottom: 15px;
}

.buttons.sub-panel {
    justify-content: center;
}

.buttons img{
    max-width:25px;
}

.buttons.sub-panel img {
    max-width: 1.25em;
}

.btn-visualizar{
    margin-right: 10px;
}

#pdf {
    clear: both;
    margin-top: 25px;
    border-radius: 0px;
    overflow: hidden;
}
    #pdf #info {
        float: left;
        margin-bottom: 15px;
        color: #444;
        font-size: 20px;
    }

    #pdf iframe {
        border: 0;
        width: 100%;
    }


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    h3 {
        font-size: 1.6em;
    }

    .alert {
        font-size: 1em;
    }

    .info {
        font-size: 18px;
    }

    .lang-menu {
        margin-right: 15px;
    }

    .lang-menu ul {
        top: 35px;
    }

    .lang-menu ul li a:before {
        width: 25px;
        height: 25px;
    }

    .selected-lang:before {
        width: 25px;
        height: 25px;
    }
    .voltar a {
        font-size: 20px;
    }

    #login #formulario .form-group .form-control {
        font-size: 1.2em;
    }

    .espaco-vertical {
        height: 70px;
    }

    .panel-title {
        font-size: 1.15em;
    }

    .buttons img {
        max-width: unset;
    }

    .buttons.sub-panel img {
        max-width: unset;
    }

    footer {
        padding: 15px 0;
    }

    footer #logo-edeia img {
        max-width: 30vw;
    }

    footer #logo-slice img {
        max-width: 30vw;
    }

    .icons-desktop{
        display: block;
    }
    .icons-mobile{
        display:none;
    }
}

/* Large devices (desktops, 992px and up) */ 
@media (min-width: 992px) { }

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { }

/* XX-Large devices (larger desktops, 1400px and up) */ 
@media (min-width: 1400px) { }
