/*
 * @author David Serrano aka ii-ext-24-14 - <dserrano@linkare.com>
 */
 
 html {
    font-size: 62.5%;
}

body {
    font-size: 1.2rem;
    font-family: "Roboto";
}

/* 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;
}

label {
    color: #666;
}

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 .iniciar-sessao,
.login .cartao-cidadao {
    background-color: #f1f1f1;
}

.login .login_area .iniciar-sessao label:not(.secundario){        
    font-weight: 400;    
    margin: 1em 0;
    display:block;
}

.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: "Roboto";
}

/* Família de fontes para títulos */
h1,
h2,
h3,
h4,
h5 {
    font-family: "Roboto";
}

/* Tamanhos */
div, /* Chrome fix */
.cas {
    font-size: 1.2rem;
    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;
}

.cookies.info .row-fluid,
.cabecalho,
.conteudo,
.rodape .row-fluid {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
}

/* Mensagens */
.aviso, .info, .sucesso {
    padding: 1.5rem;
}

/* Rodapé */
.rodape {
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-top: solid 1px #ccc;
}

.rodape .parceiros,
.rodape .copyright {
    text-align: right;
}

.rodape .copyright p {
    margin: 0;
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin-bottom: 0.4rem;
}

.rodape .browsers {
	margin-top: 2.4rem;
}

.rodape .browsers p {
    margin: 0;
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin-bottom: 0.4rem;
}

@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: 84%;
    }
}

/* Paddings */
.logo,
.info.cookies .row-fluid > div,
.login .iniciar-sessao,
.login .cartao-cidadao,
.politica-cookies {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.login .iniciar-sessao,
.login .cartao-cidadao {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Login */
.login .iniciar-sessao input[type=text],
.login .iniciar-sessao input[type=password] {
    font-size: 1.5rem;
    padding: 0.8rem;
    width: 77.5%;
}

.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;
}

.login .cartao-cidadao {
    margin-top: 0.2rem
}
.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: #009243;
    color: white;
    border: 0;
}
#credentials .acoes input[type="submit"]:hover {
    background: rgba(0,146,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 #ccc 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/sprites_ss.png) no-repeat;
    visibility: visible;
}

.governo .sprite {
    content: "";
    display: inline-block;
    visibility: visible;
    background-position: 0px 0px;
    width: 159px;
    height: 50px;
}


.logo .sprite::before {
    background-position: 0 0;
    width: 156px;
    height: 40px;
}

.cartao-cidadao .sprite::before {
    background-position: -156px 0;
    width: 176px;
    height: 44px;
}

.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;
}

/* 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: inline-block;
    justify-content: space-between;
}

/* .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: 290px;
	background-size: 29rem;
	margin: 2rem 0 0 0;
}



.cabecalho .logos .cas_secondary_logo_container {
    display: none;
}

.cabecalho .logos img:first-child {
    margin-right: 20px;
    padding-right: 20px;
}

@media (max-width: 767px) {
	.cabecalho{
		padding: 3%;
	}
	
    .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: 0;     
        background-position: center;
        display: flex;
        width: 260px;
    }
    .cabecalho .logos .cas_secondary_logo_container {
        display: none;
    }
}
@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(../images/pcj_logo.svg);
	background-repeat: no-repeat;
	background-position: center;
	width: 300px;
}*/

.cabecalho::before{
    padding: 5%;
    background-image:  url(../images/SSD_Logo.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 450px;
}

/* ALTERAÇÕES DE PCJ */
.content{
    border-top: 1px solid;
    border-bottom: 1px solid;
    text-align: center;
    padding: 15px;
    margin: 15px auto;
}

.pcj{
    padding: 5%;
    background-image:  url(../../images/logos/pcj_logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 200px;
    margin: 0 auto;
}

input#username::placeholder {

color: transparent;

}

/*Alteração do rodapé - Esconder as imagens*/
/*.span6.parceiros{
    display:none;
}
.span6.governo {
    display:none;
}*/
/*Alinhar o copyright ao centro*/
/*.rodape .parceiros, .rodape .copyright {
    text-align: center;
    width: 100%;
}*/

/*Ocultar o Aceda com e Colocar a preto o texto Faça o seu registo na Segurança Social Direta*/
/*form#credentials h2{
	display:none;
}
.registar h2{
	color: inherit;
}*/

/* FIM DAS ALTERAÇÕES DE PCJ */



/*Esconder o mais info*/
.mais-info{
	display: none;
}

/*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;
}



/*Alinhar as duas divs na horizontal*/
.secondary-area {
    margin-top: 9px;
}

/*acertar as cores e centrar o texto de logout*/
.logout {
    text-align: left;
}
/*
.logout h2{
    color: inherit;;
}
*/

/*
.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: 3%;
	}
    .pcj{
        padding: 8%;
    }
	
	/*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;
}