﻿body {
    /*padding-top: 50px;
    padding-bottom: 20px;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    position: absolute;
    /*left: 50%;*/
    /*margin-left: -300px;*/
    /*width: 600px;*/
    margin:0 auto;
    width: 100% !important;
}

    .body-content form {
        padding: 1em;
    }
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Estilos personalizados */
body {
    /*background: url('../images/blue-fractal-wallpapers-high-definition.png') center center fixed #fff;*/
}

#cabecalho h1,
#cabecalho h3 {
    font-family: 'Titillium Web', sans-serif;
    color: #333;
}

#cabecalho h3 {
    /*margin-left: 1em;*/
}

#lista-sistemas {
    width: 100%;
}

.sistema {
    width: 45%;
    float: left;
    /*margin: 1em 0;*/
    margin: 20px 2%;
    padding: 1em;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.5);
    color: #333;
    min-height: 132px;
}

    .sistema:hover {
        background: rgba(255,255,255,0.9);
    }

.logo-e-sigla {
    text-align: center;
    font-size: 1.4em;
    display: inline-block;
    vertical-align: top;
    margin: 0 0 0 1em;
    /*width: 4em;*/
}

.detalhes {
    font-size: 1.5em;
    display: inline-block;
    vertical-align: top;
    margin: 0 1em 0 0;
    max-width: 50%;
    width: 13em;
}

.nome {
    font-size: 0.84em;
}

.infos {
    font-size: small;
}

.navbar-toggle .icon-bar {
    background: #333;
}

.btn-voltar {
    /*margin-left: 1.8em;*/
}

.infos {
    font-size: small;
    margin-top: 0.5em;
}

.item-config {
    display: inline-block;
    margin-right: 2em;
    vertical-align: top;
    width: 35%;
}

    .item-config span {
        display: block;
    }

.componente.interruptor {
    border: 1px solid #ccc;
    display: inline-block;
    background: #eee;
    cursor: pointer;
    position: relative;
}

.componente .campo-form {
    display: none;
}

.posicao-2, .posicao-1 {
    display: inline-block;
    padding: 0.2em;
    color: #ccc;
}

.posicao-2 {
    float: left;
}

.posicao-1 {
    float: right;
}

.btn-interruptor {
    color: #333;
    position: absolute;
    padding: 0.2em;
    background: #fff;
    transition: all 0.3s ease-out;
}

    .btn-interruptor.posicao-1 {
        right: 0;
        color: green;
    }

    .btn-interruptor.posicao-2 {
        left: 0;
        color: #c40000;
    }

.navbar {
    display: none;
}

html {
    background-color: #eee;
}

#conteinerLogin {
    width: 360px;
    margin: auto;
    margin-top: 5%;
}

div#default {
    display: inline-block;
}

h2#titulo {
    font-weight: normal;
    font-size: 130%;
    font-family: Verdana;
    margin: 0;
    text-align: left;
}

#conteinerLogin div ul {
    background: #fefefe;
    border-radius: 0;
    color: #333;
    list-style: none;
    padding: 30px;
    margin: 0;
    box-sizing: border-box;
}

    #conteinerLogin div ul li {
        display: block;
        width: 100%;
        height: auto;
    }

    #conteinerLogin div ul input[type=text], #conteinerLogin div ul input[type=password] {
        width: 100%;
        display: block;
        margin: 0.3em 0 2em 0;
        box-sizing: border-box;
        padding: 0.7em 0;
        background: none;
        border-width: 0 0 3px 0;
        border-color: #4285f4;
    }

    #conteinerLogin div ul input[type=checkbox] {
        margin: 0;
    }

input#loginButton, input#enviarSenha, input#confirmaRegistro {
    margin: 1em 0;
    width: 100%;
    background: #278827;
    color: #fff;
    padding: 0.7em;
}

div.square {
    position: fixed;
    top: -72%;
    height: 200%;
    padding: 10%;
    box-sizing: border-box;
    opacity: 1;
    width: 100%;
    z-index: -1;
    /*background-image: url(images/background.png);*/
}

div#square-1 {
    background-color: #2475b6;
    transform: rotateZ(-13deg);
    opacity: .5;
    left: -90%;
}

div#square-2 {
    background-color: #248b91;
    transform: rotateZ(-26deg);
    opacity: .5;
    left: -93%;
}

div#square-3 {
    background-color: #b6bb0a;
    transform: rotateZ(-49deg);
    opacity: .5;
    left: -96%;
}

div#square-4 {
    background-color: #2e6fa6;
    transform: rotateZ(-55deg);
    opacity: .5;
    left: -87%;
}

#esqueceuSenha, #reenviarEmail, #funcionarioRegistrar, #voltarLogin, #conteinerLogin div ul li a#Voltar {
    background: none;
    border: none;
    padding: 0 !important;
    color: #2475b6;
    text-decoration: underline;
    display: inline-block;
    margin: 0 0.5em 0.3em 0;
}

#version {
    margin-top: 1em;
}

#login .nomePagina {
    padding-top: 1em;
    display: inline-block;
}

span#mensagem, .lblMensagem {
    display: block;
    width: 100%;
    text-align: center;
    background: #d21414;
    padding: 1em 0;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
}

    .bg-vermelho, span#mensagem.bg-vermelho {
        background: #d21414;
    }

    .bg-verde, span#mensagem.bg-verde {
        background: #278827;
    }

.body-content > form#index {
    max-width: 360px;
    display: block;
    margin: 5% auto;
    background: #FFF;
    border: 1px solid #CCC;
    padding: 0;
}

#cabecalho, .form-horizontal {
    padding: 0 1em 1em 1em;
}

@media (max-width: 768px) {
    .sistema {
        width: 100% !important;
        float: none !important;
        margin: 10px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-e-sigla {
        margin-bottom: .5em;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .detalhes {
        max-width: 100%;
    }

    .navbar .navbar-collapse {
        text-align: center;
    }

    .navbar .nav > li {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 600px) {
    .body-content > * {
        max-width: 300px;
        margin: auto;
        padding: 1em 5%;
        text-align: center !important;
    }

    .logo-e-sigla {
        margin: 0;
    }
}

@media (min-width: 601px) {
    .body-content > * {
        max-width: inherit;
        margin: auto;
        padding: 1em 5%;
    }
    .logo-e-sigla {
        margin: inherit;
    }
}
