/*
 * @author David Serrano aka ii-ext-24-14 - <dserrano@linkare.com>
 */

html {
    font-size: 62.5%;
}

body {
    font-size: 1.2rem;
    font-family: "NotoSans";
}

/* Cores */
h1,
h3,
h4,
h5,
.cas,
.cas .botao,
.cas input[type=submit],
.cas .botao:hover,
.cas input[type=submit]:hover {
    color: #333;
}

h2 {
    color: #16884e;
}

h3,
.contato,
.contato a,
input[type=text] + .fa,
input[type=password] + .fa {
    color: #999;
}

.cas .botao:disabled,
.cas input[type="submit"]:disabled,
.cas .botao:hover:disabled,
.cas input[type="submit"]:hover:disabled,
:disabled {
    color: #ccc;
}

a {
    color: #339966;
}

a:hover {
    color: #004c25;
}

a:focus {
    color: #006633;
}

.required:after,
.erro {
    color: #cc0000;
}

.aviso {
    color: #996600;
}

.sucesso {
    color: #008200;
}

.info {
    color: #fff;
}

/* Cores de fundo */
.cas {
    background-color: #fff;
}

.erro {
    background-color: #fae5e5;
    line-height: 1.9rem;
    padding: 1rem;
}

.aviso {
    background-color: #fdffde;
}

.sucesso {
    background-color: #e5f2e5;
}

.info {
    background-color: #4d81a0;
}

.login{
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 334px); /*200px � a altura do cabe�alho*/
}

.login .iniciar-sessao {
    padding: 3rem;
}

.login .iniciar-sessao,
.login .cartao-cidadao {
    background-color: #F5F5F5;
    border-radius: 1rem;
}

.login .login_area .iniciar-sessao label:not(.secundario) {
    margin: 3.2rem 0 0.8rem 0;
    display: block;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 2.4rem;
    letter-spacing: 0.15px;
}

.cas .botao:hover,
.cas input[type=submit]:hover {
    background-color: #bbb;
}

.cas .botao,
.cas input[type=submit],
.cas .botao:hover:disabled,
.cas input[type="submit"]:hover:disabled {
    background-color: #ddd;
}

.cas .botao:disabled,
.cas input[type="submit"]:disabled,
.cas .botao:hover:disabled,
.cas input[type="submit"]:hover:disabled {
    background: transparent;
}

/* Família de fontes padrão */
.cas,
ul,
ol {
    font-family: 'NotoSans';
}

/* Família de fontes para títulos */
h1,
h2,
h3,
h4,
h5 {
    font-family: "NotoSans";
}

/* Tamanhos */
div, /* Chrome fix */
.cas {
    font-size: 1.6rem;
    line-height: 1.5rem;
}
h1 {
    font-size: 2.4rem;
    line-height: 2.9rem;
}

h2 {
    font-size: 1.8rem;
    line-height: 2.2rem;
}

h3 {
    font-size: 1.6rem;
    line-height: 1.9rem;
}

h4 {
    font-size: 1.2rem;
    line-height: 1.5rem;
}

h5 {
    font-size: 1.1rem;
    line-height: 1.3rem;
}

label {
    font-size: 1.2rem;
    line-height: 1.5rem;
}

/* Estilos e peso de fonte (itálicos, negritos e sublinhados) */
h1,
h2,
h3,
.cas {
    font-style: normal;
    font-weight: normal;
}

h4,
h5 {
    font-weight: bold;
}

label {
    font-style: normal;
    font-weight: bold;
}

a {
    text-decoration: underline;
}

/* Bootstrap fixes */
.container-fluid {
    padding: 0;
}

/* Mensagens */
.aviso, .info, .sucesso {
    padding: 1.5rem;
}


/* Rodape Line */
.line-rodape {
    display: none;
}

/* Rodapé */
.rodape {
    margin-top: auto;
    padding: 1.5rem;
    border-top: solid 1px #ccc;
}

.rodape .parceiros,
.rodape .copyright {
    text-align: right;
    float: right;
}

.rodape .browsers {
    margin-top: 2.4rem;
}

.rodape .copyright p {
    margin: 0;
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin-bottom: 0.4rem;
}

.rodape .browsers p{
    margin: 0;
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin-bottom: 0.4rem;
    color: #515457;
}

@media (max-width: 767px) {
    .cookies.info .row-fluid,
    .cabecalho,
    .conteudo,
    .rodape .row-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .rodape .row-fluid > * {
        text-align: center;
    }

    .rodape .patrocionios li + li {
        display: block;
        margin-top: 1.5rem;
    }

    .cas .login .iniciar-sessao input[type=text],
    .cas .login .iniciar-sessao input[type=password] {
        width: 82%;
    }
}

/* Paddings */
.logo,
.info.cookies .row-fluid>div,
.login .cartao-cidadao,
.politica-cookies {
    /*padding-left: 1.5rem;
    padding-right: 1.5rem; */
}

.login .cartao-cidadao {
   /* padding-top: 1.5rem;
    padding-bottom: 1.5rem; */
}

.login .iniciar-sessao {
    padding: 3rem;
}

/* Login */
.login .iniciar-sessao input[type=text],
.login .iniciar-sessao input[type=password] {
    font-size: 1.6rem;
    padding: 1.6rem;
    width: 82%;
    border-radius: 1rem;
}

.login .registar {
    text-align: center;
    margin-top: 125px;
}

.login .registar .botao {
    padding: 10px 30px;
    font-size: 14px;
    background: #009243;
    color: #ffffff;
    border: 0;
    margin: 20px 0;
    letter-spacing: .8px;
}
.login .registar .botao:hover {
    padding: 10px 30px;
    background: rgba(0,146,67, 0.8);
    border: 0;
}

.login .iniciar-sessao h2,
.login .cartao-cidadao h3 {
    margin-top: 0;
}

.login .cartao-cidadao .botao,
.login .iniciar-sessao input[type="submit"] {
    width: 100%;
    font-size: 1.2em;
    border-radius: 1rem;
}

.login .cartao-cidadao {
    margin-top: 4.3125rem;
}

.direita.registry_area a, .direita.registry_area p{
    padding: 0 1rem;
}
.secondary-area {
    margin-top: 40px;
    border-top: 2px solid #ccc;
    padding-top: 20px;
}

/* Loading */
.cas .loading {
    text-align: center;
}

@media (max-width: 767px) {

    .cas {
        padding: 0;
    }

    .login .registar,
    .login .cartao-cidadao,
    .login .contato{
        margin-top: 1.5rem;
    }
}

/* Contato telefonico */
.contato {
    text-transform: uppercase;
    text-align: center;
    /*margin-top: 23.5em;*/
}

.contato .telefone,
.contato .fa {
    display: inline-block;
}

.contato .fa {
    font-size: 3.5em;
    margin-right: 0.5rem;
}

.contato .fa + div {
    text-align: left;
}

.contato .numero {
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 2.2em;
    text-align: left;
}


/* Mais informação */
.mais-info {
    /*margin-bottom: 5rem;
    margin-top: 5rem;*/
    text-align: center;
}


.mais-info > a:first-child {
    font-size: 1.2em;
    /*font-weight: bold;*/
}

.mais-info .texto {
    text-align: left;
}

.mais-info > .texto h2 {
    color: #333;
    font-weight: bold;
}

.mais-info > .texto h4 {
    margin-bottom: 0.05rem;
}

.mais-info > .texto ul {
    margin-top: 0.05rem;
    padding-left: 1em;
}

.mais-info .fa-angle-double-up.fa-4x,
.mais-info .fa-angle-double-down.fa-4x{
    font-size:2em;
}

#credentials .acoes input[type="submit"] {
    background: #007643;
    color: white;
    border: 0;
    padding: 1.5rem;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-family: 'NotoSans';
}

#credentials .acoes input[type="submit"]:hover {
    background: rgba(0, 135, 67, 0.8);
}

/* Botões */
.cas .botao,
.cas input[type=submit],
.cas .botao:hover,
.cas input[type=submit]:hover {
    box-sizing: border-box;
    border: solid 1px #ccc;
    text-decoration: none;
    height: auto;
    display: inline-block;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
}
/*Possível Alteração*/
.cas input[type=submit]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

.cas a[role=button] {
    cursor: pointer;
    text-decoration: none;
}

a[role=button]:hover {
    text-decoration: underline;
}

.cas .botao:disabled,
.cas input[type="submit"]:disabled,
.cas .botao:hover:disabled,
.cas input[type="submit"]:hover:disabled {
    cursor: default;
}

/* Caixas de texto */
input,
input[type=text],
input[type=password] {
    border: 1px #919191 solid;
    max-width: 100%;
    padding: 0.4rem;
}

input:focus,
input[type=text]:focus,
input[type=password]:focus {
    border-color: #16884e;
}

input[type=text] + .fa,
input[type=password] + .fa {
    font-size: 1.2em;
    margin-left: 0.8rem;
    cursor: default;
    text-decoration: none;
}

input[type="password"] + .password-toggle {
    cursor: pointer;
}

/* Etiquetas */
label {
    font-weight: bold;
    /*color: #666;*/
}

/* Formulários */
form > div + div {
    margin-top: 1.5rem;
}

form > div label:first-child {
    display: block;
    margin-bottom: 0.5rem;
}

/* Mensagens */
.info a {
    color: #fff;
}

/* Cookie law */
.info a:hover {
    color: #ccc;
}

.info.cookies {
    margin-bottom: 1.5rem;
}

.info.cookies .botao {
    float: right;
    background: none;
    color: #fff;
    border: solid #fff 1px;
}

.info.cookies .botao:hover {
    color: #ccc;
    border-color: #ccc;
}

.info.cookies a[href='cookies'] {
    margin-top: 1em;
    display: inline-block;
}

/* Semânticas */
.secundario {
    font-weight: normal;
}

.required:after {
    content: " *";
}

/* Imagens */
.sprite * {
    display: none;
}

.sprite::before {
    content: "";
    display: inline-block;
    background: url(../../images/ama_logo.svg) no-repeat;
    visibility: visible;
    background-position-x: center;
}

.governo .sprite {
    content: "";
    display: inline-block;
    visibility: visible;
    background-position: 0px 0px;
    width: 159px;
    height: 50px;
}

.governo img {
    /*width: 170px;
    height: 89.66px;*/
}


.logo .sprite::before {
    background-position: 0 0;
    width: 156px;
    height: 40px;
}

.cartao-cidadao .sprite::before {
    /* background-position: 0; */
     width: 100%;
     height: 79px;
     border-radius: 1rem;
 }

.parceiros .compete .sprite::before {
    background-position: -441px 0;
    width: 90px;
    height: 50px;
}

.parceiros .qren .sprite::before {
    background-position: -530px 0;
    width: 100px;
    height: 50px;
}

.parceiros .europa .sprite::before {
    background-position: -640px 0;
    width: 50px;
    height: 50px;
}

.parceiros img {
    /*width: 484.5px;
    height: auto;*/
    display: block;
    margin-left: 2rem;
}

@media(min-width: 480px) and (max-width: 767px){

    /*Governo*/
    .span3.governo, .parceiros {
        text-align: center;
        margin-bottom: 2rem;
    }

    /*Parceiros*/
    .rodape .governo img {
        max-width: 60%;
        margin-bottom: 2rem;
        margin-top: 2rem;
        margin-left: 2rem;
    }
}

/* Dialog Message Warning*/

.ui-dialog::before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: fixed;
    background: #dee0e2;
    opacity: 0.5;
    top: 0;
    left: 0;
}

.ui-dialog .ui-dialog-titlebar {
    padding: 1.5em .4em .4em 1em;
    position: relative;
    border: 0px;
}


.ui-dialog .ui-dialog-title{
    font-size:2rem;
    font-weight:900;
    color:#333;
    margin-top:8px;
    margin-bottom:15px;
    position: relative;
    border: 0px;
}

.ui-dialog .ui-dialog-buttonpane{
    margin-top:20px;
    min-height:25px;
    background-color:#dee0e2;
    padding-bottom:2px;
    padding-top:2px;
    border-top: solid 1px #999;
}

.ui-dialog-buttonpane .ui-widget-content {
    padding-left: 1.2rem;
}

.ui-dialog .ui-dialog-content {
    position: relative;
    border: 0;
    //background: none;
    overflow: auto;
    zoom: 1;
}

.ui-dialog .ui-dialog-content p {
    font-size: 1.3rem;
    line-height: 1.8rem;
    padding: .5em 1em;
}

.ui-dialog{
    line-height: 2rem;
    -moz-box-shadow:3px 3px 5px rgba(0,0,0,0.4);
    -webkit-box-shadow:3px 3px 5px rgba(0,0,0,0.4);
    box-shadow: 3px 3px 5px rgba(0,0,0,0.4);
}

.ui-dialog .ui-dialog-buttonpane button {
    margin: .5em .4em .5em .75em;
    cursor: pointer;
}

.ui-button {
    padding: 0.25em;
    color: #fff;
    border-width: 1px;
    border-style: solid;
    background-color: #16884e;//#004c25;
    border-color: #16884e;
}

.ui-button.ui-state-default {
    padding: 0.75rem 1.0rem 0.75rem 1.0rem;
    box-sizing: border-box;
}

.ui-widget-content {
    background: #fff;
    color: #333;
    border-color: #ccc;
    border-style: solid;
    border-width: 1px;
    text-align: justify;
}

.ui-widget-header {
    background: #fff;
    color: #333;
    font-weight: bold;
}

/* Diálogo modal */
.dialogo {
    position: fixed;
    left: 50%;
    top: 25%;
    z-index:50;
}

.dialogo::before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: fixed;
    background: #333;
    opacity: 0.5;
    top: 0;
    left: 0;
}

.dialogo > .wrapper {
    position:relative;
    left:-50%;
    top: -50%;

    background: #fff;
    border-style: solid;
    border-width: 1px;
    padding: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.cas * {
    -moz-transition: ease-in color 0.15s,
        ease-in background-color 0.15s,
        ease-in border-color 0.15s;
    -webkit-transition: ease-in color 0.15s,
        ease-in background-color 0.15s,
        ease-in border-color 0.15s;
    -o-transition: ease-in color 0.15s,
        ease-in background-color 0.15s,
        ease-in border-color 0.15s;
    transition: ease-in color 0.15s,
        ease-in background-color 0.15s,
        ease-in border-color 0.15s;
}

/* logos cabeçalho */

.cabecalho .logos {
    display: flex;
    justify-content: space-between;
    padding: auto 1rem;
}

.cabecalho .logos .cas_main_logo_container {
/*     padding: 1.5rem; */
/*    margin: auto auto auto -30px;**/

}
/* .cabecalho .logos .cas_main_logo_container a { */
/*     background: url(../../images/SSD_Logo.png) no-repeat; */
/*     background-size: 400px; */
/*     height: 12rem; */
/*     background-position: center; */
/*     display: flex; */
/*     width: 360px; */
/* } */

.cabecalho .logos .cas_main_logo_container a {
    background: url(../../images/SSD_Logo.png) no-repeat;
    height: 8rem;
    background-position: center;
    display: flex;
    width: 360px;
    background-size: 29rem;
    margin: 2rem 0 0 -6rem;
}

.cabecalho .logos .cas_main_logo_container img{
    display:none;
}

.cabecalho .logos .cas_secondary_logo_container {
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cabecalho .logos img:first-child {
    margin-right: 20px;
    padding-right: 20px;
}

@media (max-width: 767px) {
    .cabecalho .logos .cas_main_logo_container {
        padding: 0 1rem;
        display: flex;
        clear: right;
    }
    .cabecalho .logos .cas_main_logo_container a {
        background-size: 100%;
        height: 10rem;
        margin-left: -20px;
        background-position: center;
        display: flex;
        width: 260px;
    }
    .cabecalho .logos .cas_secondary_logo_container {
        justify-content: space-evenly;
        height: 10rem;
    }
}
@media (max-width: 500px) {
    .cabecalho .logos .cas_secondary_logo_container {
        display: none;
    }
}

.mais-informacao:before {
    content: "Mais informação\A\f103";
    white-space: pre;
    font-size: 2rem;
}

.menos-informacao:before {
    content: "Menos informação\A\f102";
    white-space: pre;
    font-size: 2rem;
}

.cartao.span4{
    min-height: 16em;
}

.cartao > .titulo {
    margin-top: 0;
    font-weight: bold;
}

.cartao,
.cartao > .titulo,
.cartao > .conteudo {
    color: #333;
}

.cartoes + .cartoes {
    margin-top: 1rem;
}

.cartao {
    padding: 1rem;
}

.cartao > .conteudo {
    font-size: 1.4rem;
    line-height: 1.5;
    padding: 0px;
}

.labelCentro{
    text-align: center;
}

@media only screen and (max-width: 600px) {
    .fa-info-circle {
        display: none;
    }
}



/*Tiago Sousa*/
/*Alterações para  Marcações Externo*/

/*Esconder os logos do cabeçalho e mostrar o logo do SIGA*/
.row-fluid.logos {
    display: none;
}

.cabecalho{
    padding: 5%;
    background-image:  url("https://siga.marcacaodeatendimento.pt/content/images/logo_siga_2.png");
    background-repeat: no-repeat;
    background-position: left;
}

/*Ocultar o Aceda com*/
form#credentials h2{
    /*display:none;*/
}

/*Alterar as cores do verde para o azul*/
/*info user name*/
.fa-info-circle:before {
    content: "\f05a";
    color: #009CCB;
}

/*botão entrar*/
#credentials .acoes input[type="submit"] {
    background: #009CCB;
}

#credentials .acoes input[type="submit"]:hover {
    background: #01A7D0;
}

/*links*/
form#credentials a {
    color: #009CCB;
}

.span12.secondary-area a {
    color: #009CCB;
}

/*Botão efetuar registo*/
.login .registar .botao {
    background: #009CCB;
}

.login .registar .botao:hover {
    background: #01A7D0;
}

/*Colocar a preto o texto Faça o seu registo na Segurança Social Direta*/
.registar h2{
    color: inherit;
}

/*Ocultar a informação para avisar que está aentrar noutros sites*/
label.secundario {
 display: none;
}

input#warn {
    display:none;
}

/*Ocultar o ou que aparece junto ao cartão de cidadao*/
.cartao-cidadao .labelCentro{
    display: none;
}

/*Alteração do rodapé*/
/*Esconder as imagens*/
.span6.parceiros{
    display:none;
}
.span6.governo {
    display:none;
}

/*Alinhar as duas divs na horizontal*/
.secondary-area {
    margin-top: 9px;
}

/*acertar as cores e centrar o texto de logout*/
.logout {
    text-align: center;
}

.logout h2{
    color: inherit;;
}

.logout .opcoes a {
    color: #009CCB;
}

.logout ul.opcoes {
    list-style: none;
}


/*Acertos ao reduzir o browser ou ecras menores*/
@media (max-width: 767px) {
    /*Margem para não cortar o logo do SIGA*/
    .cabecalho{
        padding: 10%;
    }

    /*Alinhar ao centro o texto e links de ativação de conta e perguntas frequentes*/
    .secondary-area{
        text-align: center;
    }

    /*Mostrar o incone info junto ao user name*/
    .fa-info-circle {
        display: inline;
    }
}

.apenas-leitor-ecra{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.apenas-leitor-ecra-focado:active, .apenas-leitor-ecra-focado:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto
}


/*UTILILITARIOS*/
.mb-5{
    margin-bottom: 50px;
}

.inline-block{
    display: inline-block;
}

/*AMA TITLE*/
.mb-32{
    margin-bottom: 32px;
}

.amaTitle{
    margin-top: 0;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px;
    color: #333;
}

.containerAma{
    padding: 3rem;
}

.esquerda.login_area{
    max-width: 630px;
    padding-bottom: 3.2rem;
}

/*Ranges*/

@media(min-width: 1200px) {
    .cookies.info .row-fluid,
    .cabecalho,
    .conteudo, .rodape  {
    width: auto;
    margin-left: 10.6rem;
    margin-right: 10.6rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
  }
}

@media(max-width: 1200px) {
    .cookies.info .row-fluid,
    .cabecalho,
    .conteudo, .rodape  {
    width: auto;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    box-sizing: border-box;
  }
}
/*                   */

/*SS Autentica��o Utilizador*/

.heightInputBoxes {
    height: 2.4rem;
}

.authUser{
    color: #333;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px;
}

.aberturaFechar{
    color: #008743;
    font-family: NotoSans;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.15px;
    text-align: center;
}

.containerAuth{
    display: none;
}

/* Formularios */
form>div+div,
form .containerAuth>div+div {
    margin-top: 3.2rem;
}

.registarConta{
    margin-top: 1.0rem !important;
}
