/** GERAL **/
@import url('https://fonts.googleapis.com/css?family=Lato');
body, html {
    height: 100%;
}

body {
    color: #47525E;
    font-family: 'Lato', sans-serif;
}

.container {
    padding-bottom: 6em;
}

a {
    color: #007cc1;
    -moz-transition: color 0.5s;
    -o-transition: color 0.5s;
    -webkit-transition: color 0.5s;
    transition: color 0.5s;
}
a:hover {
    text-decoration: none;
}

.btn {
    border-radius: 4px;
}
.btn-primary {
    color: #fff;
    background-color: #47525e;
    border-color: #47525e;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
    font-size: 1.3em;
    padding: 6px 25px;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #000000;
    border-color: #000000;
}

.btn-link {
    color: #007cc1;
    font-size: 1.3em;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.btn-link:hover {
    text-decoration: none;
}

@media (min-width: 992px) {
    .btn-primary,
    .btn-link {
        font-size: 1.5em;
    }
}

/* Botões dentro de parágrafos,
   para que tenham a fonte do mesmo tamanho que o texto. */
p .btn-link {
    font-size: inherit;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.has-email {
    overflow-wrap: break-word;
}

.help-block {
    text-align: left;
    line-height: 1.25;
    margin-left: 4px; /* Mesmo valor do border-radius do campo - assim mantemos o alinhamento visual entre campo e help-block */
}

/* ----------------------
    Logo da Câmara
------------------------- */

.header-page {
    height: 58px; /* 43px de altura física da imagem + 15 px de espaçamento*/
    border-bottom: 1px solid #e8e8e8;
}

/* ----------------------
    Página de Cadastro
------------------------- */

.cadastro .foto-perfil {
    margin-bottom: 10px;
}

.cadastro .file-preview {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border: 1px solid #ddd;
    padding: 2px;
    border-radius: 55px;
}

.cadastro .file-preview-thumbnail {
    width: 94px;
    height: 94px;
    overflow: hidden;
    border-radius: 55px;
}

.cadastro .file-preview-thumbnail img {
    width: auto;
    height: 100%;
}

.cadastro .btn-file {
    position:relative;
    padding: 6px 12px;
    text-align: center;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;

    margin: 11px 0;
    font-size: 14px;
}

.cadastro .btn-file>:first-child {
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:32px;
    line-height:34px;
    font-size:1.2em;
    text-align:center;
    border-right:1px solid rgba(0,0,0,0.2);
}


/* Custom input file */
.js .cadastro .input-file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.no-js .cadastro .input-file + label {
    display: none;
}

.input-file:focus + label { /* Inclui focus no label */
    outline: 1px dotted #000;
	outline: -webkit-focus-ring-color auto 5px;
}

/* Resolve Bug no Firefox, que ignora o input[type="file"]:focus */
.input-file:focus + label,
.input-file.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.cadastro fieldset {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
}

.cadastro legend {
    width: auto;
    padding: 0 0.5em;
    margin-bottom: 0;
    font-size: 18px;
    color: #8190a5;
    border: 0;
}


/* Media queries - Cadastro */

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

    .cadastro .foto-perfil {
        margin-bottom: 27px;
    }
}

/* --------------------------------------
    Itens comuns para Cadastro e Login
----------------------------------------- */

.bg-cinza {
    background-color: #EAEDF5;
}

.bg-branco {
    background-color: #fff;
}

.login p,
.cadastro p {
    font-size: 18px;
    color: #8190A5;
    line-height: 1.25;
}

.login .alert > p,
.cadastro .alert > p {
    color: inherit;
}

.login .alert a,
.cadastro .alert a {
    color: #23527c;
    text-decoration: underline;
}

.login .alert a:hover,
.cadastro .alert a:hover {
    text-decoration: none;
}

.panel-login,
.panel-cadastro {
    margin-top: 1em;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    text-align: center;
}

@media only screen and (min-width : 768px) {
    .panel-login,
    .panel-cadastro {
        margin-top: 3em;
    }
}

.panel-login .panel-body,
.panel-cadastro .panel-body {
    max-width: 30em;
    margin-left: auto;
    margin-right: auto;
}

.panel-footer .legal {
    text-align: right;
}
.panel-footer a {
    color: #0076b7; /* Ligeira variação para alcançar o contraste com fundo cinza */
}

.btn-lg {
    height: 55px;
    padding: 14px 16px;
}

.link-menor, .link-menor a {
    margin-top: 5px;
    font-size: 1.05em;
}

h1 {
    font-size: 1.7em;
    line-height: 1;
    margin-bottom: 13px;
}


h2 {
    font-size: 1.4em;
}

.no-marginBottom, p.no-marginBottom {
    margin-bottom: 0;
}

.panel-cadastro hr, .panel-login hr {
    border-color: #e8e8e8;
    margin: 20px 20px 11px;
}

.no-js .file-actions label.btn-file {
    margin: 3px 0;
}

.file-actions {
    max-width: 14em;
    margin: 0 auto;
}

/* Orientações adicionais ao usuário (usado na página de confirmação de conta) */
.extra-info {
  font-size: 1.1em;
  padding: 0.5em 1em 0.1em;
  margin: 1em 0;
  background-color: #fafafa;
  border: 1px dotted #e8e8e8;
}
.extra-info p,
.extra-info ul {
    color: #63748c;
    text-align: left;
    font-size: inherit;
}

.extra-info ul {
    padding-left: 1.5em;
}


/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    .file-actions {
        max-width: auto;
    }
}

.no-js .btn-file {
    padding: 0;
    text-align: left;
    color: #8190a5;
    background-color: #fff;
    border: none;
}

.no-js .btn-file .fa {
    display: none;
}

.panel-login .btn-primary,
.panel-cadastro .btn-primary {
	margin-top: 15px;
}

/* Botão de Rede Social */
.redes-sociais {
    margin-top: 15px;
    margin-bottom: 15px;
}

.btn-social {
    position:relative;
    padding: 6px 12px;
    text-align: center;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size: 14px;
}

.btn-social .fa {
    display: none;
}

.btn-social>:first-child {
    position: relative;
    border-right: none;
    line-height:24px;
    font-size: 1.2em;
    text-align:center;
}

/* Botão Facebook */
.btn-facebook {
    color: #fff;
    background-color: #3b5998;
    border-color: rgba(0,0,0,0.2);
}

.btn-facebook:focus, .btn-facebook.focus {
    color:#fff;
    background-color:#2d4373;
    border-color:rgba(0,0,0,0.2);
}

.btn-facebook:hover {
    color:#fff;
    background-color:#2d4373;
    border-color:rgba(0,0,0,0.2);
}

.btn-facebook:active, .btn-facebook.active {
    color:#fff;
    background-color:#2d4373;
    border-color:rgba(0,0,0,0.2);
    background-image:none;
}

.btn-facebook:active:hover, .btn-facebook.active:hover, .btn-facebook:active:focus, .btn-facebook.active:focus, .btn-facebook:active.focus, .btn-facebook.active.focus {
    color:#fff;
    background-color:#23345a;
    border-color:rgba(0,0,0,0.2);
}

/* Botão Google */
.btn-google {
    color:#fff;
    background-color:#dd4b39;
    border-color:rgba(0,0,0,0.2);
}

.btn-google:focus, .btn-google.focus {
    color:#fff; background-color:#c23321; border-color:rgba(0,0,0,0.2);
}

.btn-google:hover {
    color:#fff;
    background-color:#c23321;
    border-color:rgba(0,0,0,0.2);
}

.btn-google:active, .btn-google.active {
    color:#fff;
    background-color:#c23321;
    border-color:rgba(0,0,0,0.2);
    background-image:none;
}

.btn-google:active:hover, .btn-google.active:hover, .btn-google:active:focus, .btn-google:active.focus, .btn-google.active.focus {
    color:#fff;
    background-color:#a32b1c;
    border-color:rgba(0,0,0,0.2);
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

    .btn-social .fa {
        display: block;
    }

    .btn-social>:first-child {
        position:absolute;
        left:0;
        top:0;
        bottom:0;
        width:32px;
        line-height:34px;
        border-right:1px solid rgba(0,0,0,0.2);
    }

    .btn-social {
        padding-left: 42px;
        text-align: center;
    }

    .panel-cadastro hr, .panel-login hr {
        margin: 30px 30px 21px;
    }

    h1 {
        font-size: 3em;
        font-weight: bold;
        margin-bottom: 17px;
    }
    h2 {
        font-size: 1.7em;
    }


    .btn-lg {
        height: 67px;
        font-size: 26px;
    }
}
