﻿body {
    margin: 0 auto;
    /*min-width: 450px;*/
    min-width: 100vw;
    font-family: Calibri, sans-serif;
}
h3{
	font-size: 1.6em;
}

a:hover {
    color: #333;
}

#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;
}

/*::-moz-selection {
    background: #fff;
    color: #444;
}

::selection {
    background: #fff;
    color: #444;
}*/

.sec-interior {
    margin: 0 auto;
    max-width: 1600px;
    width: 100%;
}

.sec-interior-sub {
    display: flex;
    flex-direction: column;
    margin: 0 9%;
}

#topo {
    /*background-color: #a09994;*/
    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;
}

footer {
    margin-top: 100px;
    padding: 15px 0 25px 0;
    overflow: hidden;
    clear: both;
}
	.logos {
        margin: 0 9%;
    }

    footer #logo-edeia {
        float: right;
    }

        footer #logo-edeia img {
            max-height: 80px;
			max-width: 30vw;
        }

    footer #logo-slice {
        float: left;
		padding-top: 7px;
    }
        footer #logo-slice img {
            max-height: 80px;
            max-width: 30vw;
            /* padding-top: 26px; */
    }

.table-responsive {
    border: none;
}

button {
    margin-top: 5px;
}

.info {
    display: flex;
    flex-direction: row;
    color: #444444;
    padding: 10px 0;
    font-size: 20px;
}

.info-pagina {
    overflow: hidden;
}

.info-home-border {
    border-bottom: 5px solid #d7e0f8;
}

.title {
    display:flex;
    flex-direction: row;
    justify-content: start;
    flex:1;
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}

.language,
.voltar {
    clear: both;
    float: right;
    padding: 0 .3em;
}

    .voltar a {
        display: flex;
        font-size: 20px;
        /* color: #ef760e !important; */
        text-decoration: none;
    }

    .voltar a:hover{
        color: #9a9b9b;
    }

    .voltar .margin-right {
        margin-right: 1em;
    }

#home {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 50px;
    margin-bottom: 10px;
    font-size: 18px;
    overflow: visible;
}


@media only screen and (min-width : 1150px) {
    #home {
        margin-top: 100px;
        margin-bottom: 100px;
    }
    .botao {
        float: left;
        width: 20%;
        overflow: hidden;
    }
}

/*@media only screen and (min-width:646px) and (max-width : 1150px) {
    .botao {
        float: left;
        width: 50%;
        overflow: hidden;
    }
}*/

.botao {
    display: flex;
    flex-direction: column;
    width: 234px;
    height: 186px;
    max-height: 200px;
    margin-bottom: 1rem;
}

.botao .inner {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.botao a {
    color: #fff;
    font-size: 1.3em;
    font-weight: 300;
    text-decoration: none;
    /*text-transform: uppercase;*/
    text-align: center;
    vertical-align: middle;
    /*line-height: 185px;*/ /* the same as your div height */
    display: block;
}

#botao-entidades:hover  {
    background: linear-gradient(to bottom, rgba(198, 198, 198, .3), rgba(64, 64, 64, .7)), url(../img/botoes/home/entidades.jpg) right bottom no-repeat !important;
    background-size: cover !important;
    color: #fff;
}

#botao-postos:hover {
    background: linear-gradient(to bottom, rgba(198, 198, 198, .3), rgba(64, 64, 64, .7)), url(../img/botoes/home/postos.jpg) left center no-repeat !important;
    background-size: cover !important;
    color: #fff;
}

#botao-medicos:hover {
    background: linear-gradient(to bottom, rgba(198, 198, 198, .3), rgba(64, 64, 64, .7)), url(../img/botoes/home/medicos.jpg) right center no-repeat !important;
    background-size: cover !important;
    color: #fff;
}

#botao-utentes:hover {
    background: linear-gradient(to bottom, rgba(198, 198, 198, .3), rgba(64, 64, 64, .7)), url(../img/botoes/home/utentes.jpg) center center no-repeat !important;
    background-size: cover !important;
    color: #fff;
}

#botao-cs:hover {
    background: linear-gradient(to bottom, rgba(198, 198, 198, .3), rgba(64, 64, 64, .7)), url(../img/botoes/home/centrosaude.jpg) left bottom no-repeat !important;
    background-size: cover !important;
    color: #fff;
}

#botao-extra1 {
    color: #fff;
    text-transform: uppercase;
}

#botao-extra2 {
    color: #fff;
    text-transform: uppercase;
}

#botao-extra3{
    color: #fff;
    text-transform: uppercase;
}

    #botao-extra1:hover,
    #botao-extra2:hover,
    #botao-extra3:hover {
        background: #444444 !important;
        color: #dddddd;
    }

#login {
    margin: 5em 0 2em 0;
}

    #login h3 {
        color: #E73331;
		font-size: 2.4rem;
    }

    #login #formulario {
         margin: 0 auto;
        max-width: 350px;
        border: 1px solid #e3e3e3;
        background: #f5f5f5;
        border-radius: 20px;
        color: #fff;
        padding: 0px 20px;
    }

        #login #formulario .form-group .form-control {
            font-size: 17px;
        }

        #login #formulario form {
            padding-top: 10px;
        }

        #login #formulario .login-entidades {
            width: 100%;
            color: #fff;
            font-size: 15px;
        }

        #login #formulario .login-postos {
            width: 100%;
            color: #fff;
            font-size: 15px;
        }

        #login #formulario .login-medicos {
            width: 100%;
            color: #fff;
            font-size: 15px;
        }

        #login #formulario .login-cs {
            width: 100%;
            color: #fff;
            font-size: 15px;
        }

            #login #formulario .login-entidades:hover,
            #login #formulario .login-postos:hover,
            #login #formulario .login-medicos:hover,
            #login #formulario .login-cs:hover {
                background: #333;
            }

        #login #formulario .btn {
            background-color: #0a6c2d;
            border-color: #0a6c2d;
            margin: .69em 0;
        }

.erro {
    background: #f84a4a;
    padding: 20px;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 15px;
}

.sair {
    float: right;
}

.user-online {
    float: left;
}

#pesquisa {
    clear: both;
    margin-top: 25px;
    border-radius: 3px;
    overflow: hidden;
}

    #pesquisa .form-group {
        margin-right: 10px;
        margin-bottom: 15px;
        vertical-align: baseline;
    }


#pesquisa .titulo, 
#tabela-pesquisa .titulo {
    font-size: 16px;
    font-family: Helvetica,Arial,sans-serif;
    color: #fff;
    font-weight: 300;
    padding: 8px 15px;
}

#pesquisa #campos-pesquisa {
    padding: 15px;
    color: #444;
    font-size: 14px;
}

    #pesquisa #campos-pesquisa input, 
    #pesquisa #campos-pesquisa select {
        font-size: 14px;
    }

    #pesquisa #campos-pesquisa .input-group {
        position: relative;
        display: block;
        border-collapse: separate;
    }

        #pesquisa #campos-pesquisa .input-group input, 
        #pesquisa #campos-pesquisa .input-group select {
            border-radius: 3px;
        }

#tabela-pesquisa {
    clear: both;
    margin-top: 30px;
    border-radius: 3px;
}

#tabela-pesquisa #tabela {
    padding: 15px 0;
    color: #444;
    font-size: 16px;
    overflow: auto;
}


#botao-pesquisa button {
    color: #fff;
    font-size: 15px;
    border: 0;
    margin-bottom: -10px;
}

    #botao-pesquisa .botao-pesq-entidades button:hover,
    #botao-pesquisa .botao-pesq-postos button:hover,
    #botao-pesquisa .botao-pesq-medicos button:hover,
    #botao-pesquisa .botao-pesq-cs button:hover {
        background: #333;
    }

#mensagem-pesquisa {
    padding-left: 5px;
}

#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%;
    }

#pdf-msg {
    clear: both;
    margin-top: 20px;
    font-size: 20px;
    padding: 10px;
    color: #fff;
    background: #333;
    border-radius: 3px;
}

    #pdf-msg a {
        color: #000000;
    }

        #pdf-msg a:hover {
            color: #fff;
        }

.table > tbody > tr > td{
    vertical-align: middle;
}

.botao-visualizar,
.botao-download {
    text-align: center
}
.botao-visualizar img {
    border-radius: 3px
}

.botao-download img {
    border-radius:3px
}

.botao-visualizar img:hover, .botao-download img:hover {
    opacity:0.8
}

#botao-manual-colheitas {
    color: #fff !important;
    font-size: 15px;
    border: 0;
    margin-right: 5em;
}

.row-centered {
    text-align: center;
}

.col-centered {
    display:inline-block;
    float:none;
    /* reset the text-align */
    text-align:left;
    /* inline-block space fix */
    margin-right:-4px;
}

.col-fixed {
    margin: 10px;
    width:234px;
    height:186px;
}

/* Datetimepicker reduzir a fonte de .9em para .8em por causa dos dias da semana em portugues terem 3 letras em vez de 2 letras em inglês, os botões dos dias saiam fora do calendário */
.ui-datepicker table {
	font-size: .8em;
}
