/* ==========================================================================
    ÍNDICE:

    I.      Importações
    II.     Modificações no Bootstrap
    III.    Estilo Geral 
    IV.     Estilos Específicos
        01. Login
    V.      Plugins
        01. Jquery Validate
    VI.     Responsividade

   ========================================================================== */

/* ==========================================================================
   I. IMPORTAÇÕES
   ========================================================================== */
@import url('font-awesome-4.0.3/font-awesome.css');
@import url('bootstrap-3.1.1/bootstrap.css');


/* ==========================================================================
   II. MODIFICAÇÕES NO BOOTSTRAP
   ========================================================================== */

.alert,
/*.btn, .btn-sm, .btn-xs,*/
.form-control,
.img-thumbnail,
.panel, .panel-heading, .panel-footer, .panel-group .panel,
.thumbnail {
    border-radius: 0;
}

.img-responsive {
    width: 100%;
}

/* Titles */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Calibri", Helvetica, Arial, sans-serif;
    font-weight: bold;
}
h1, .h1 { font-size: 181%; }
h2, .h2 { font-size: 173%; }
h3, .h3 { font-size: 20px; }
h4, .h4 { font-size: 18px; }
h5, .h5 { font-size: 16px; }
h6, .h6 { font-size: 14px; }

.page-header {
    padding: 5px;
    color: #428bca;
    border: 1px dashed #dddddd;
}

/* Forms */
label {
    margin-bottom: 2px;
    font-weight: normal;
    cursor: pointer;
}
.form-control {
    height: 28px;
    padding: 4px 7px;
    line-height: 1.5;
    color: #666;
}
input[type="file"].form-control {
    padding: 0;
    border: 1px solid transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    transition: none;
}
.input-sm {
    height: 24px;
    padding: 4px 7px;
    border-radius: 0;
}
.input-lg {
    height: 36px;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 1.33;
    border-radius: 0;
}
.radio-inline, .checkbox-inline {
    margin-top: 4px;
    margin-bottom: 4px;
}
.radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline {
    margin-top: 4px;
}

/* Buttons */
.btn {
    font-weight: bold;
}


/* ==========================================================================
   III. ESTILO COMPLEMENTAR GERAL
   ========================================================================== */
body {
    color: #666;
    font-family: "Calibri", Helvetica, Arial, sans-serif;
    /*word-break: break-word;*/
    word-wrap: break-word;
}
a {
    display: inline-block;
}
big, .big, h1 big, h2 big, h3 big, h1 .big, h2 .big, h3 .big {
    font-size: 115%;
}
h1 big, h2 big, h3 big, h4 big, h5 big, h6 big,
.h1 big, .h2 big, .h3 big, .h4 big, .h5 big, .h6 big,
h1 .big, h2 .big, h3 .big, h4 .big, h5 .big, h6 .big,
.h1 .big, .h2 .big, .h3 .big, .h4 .big, .h5 .big, .h6 .big {
    font-weight: normal;
    line-height: 1;
    color: #999999;
}
.nodisplay, .jv-alert {
    display: none;
}
.blockdisplay {
    display: block;
}

.nomargin { /* tira as margens */
    margin: 0 !important;
}
.notmargin { /* tira a margem do topo */
    margin-top: 0 !important;
}
.normargin { /* tira a margem da direita */
    margin-right: 0 !important;
}
.nobmargin { /* tira a margem de baixo */
    margin-bottom: 0 !important;
}
.nolmargin { /* tira a margem da esquerda */
    margin-left: 0 !important;
}
.nopadding { /* tira as margens */
    padding: 0 !important;
}
.notpadding { /* tira a margem do topo */
    padding-top: 0 !important;
}
.norpadding { /* tira a margem da direita */
    padding-right: 0 !important;
}
.nobpadding { /* tira a margem de baixo */
    padding-bottom: 0 !important;
}
.nolpadding { /* tira a margem da esquerda */
    padding-left: 0 !important;
}
.validate-box { display: none; }

/* Forms */
fieldset {
    margin-bottom: 15px;
}
fieldset:last-child {
    margin-bottom: 0;
}
textarea {
    resize: none;
}
.form-label {
    margin-bottom: 2px;
    font-weight: normal;
    display: block;
}

/* tables */
table.table .col01 {
    width: 10%;
}
table.table .col02 {
    width: 20%;
}
table.table .col03 {
    width: 30%;
}
table.table .col04 {
    width: 40%;
}
table.table .col05 {
    width: 50%;
}
table.table .col06 {
    width: 60%;
}
table.table .col07 {
    width: 70%;
}
table.table .col08 {
    width: 80%;
}
table.table .col09 {
    width: 90%;
}
table.table .col-date  {
    width: 13%;
}


/* ==========================================================================
   IV. ESTILOS ESPECÍFICOS
   ========================================================================== */

/* 01. PÁGINA DE LOGIN
 * -------------------------- */
#loginbox01, #loginbox02 {
    display: none;
    /*opacity: 0;
    -webkit-transition: opacity .15s linear;
    transition: opacity .15s linear;*/
}
#loginbox01.active, #loginbox02.active {
    display: block;
    /*opacity: 1;*/
}


#login-page {
    padding-top: 75px;
    background-color: #f3f3f3
}
#login-page .container {
    margin-top: 0;
    margin-bottom: 0;
}
#login-page .panel {
    border-radius: 0;
    position: relative;
}
#login-page .panel-default {
    background-color: #0088ce;
    border-color: #0088ce;
    color: #fff;
    font-size: 16px;
}
#login-page .panel-heading {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}
#login-page .panel-default > .panel-heading {
    color: #fff;
    background-color: #0088ce;
    border-color: #0088ce;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    z-index: 1;
}
#login-page .panel-body, #login-page .panel-footer {
    padding-top: 0;
}
#login-page .panel-footer {
    border-top: none;;
    background-color: #0088ce;
}
#login-page .panel-footer a {
    color: #fff;
    margin: 0 5px;
}
#login-page .panel-footer a:first-child {
    margin-left: 0;
}
#login-page .panel-footer a:hover {
    color: #ebebeb;
}
#login-page .panel:before {
    background: url('../images/login-img01.png') no-repeat;
    content: "";
    width: 57px;
    height: 27px;
    position: absolute;
/*    top: -22%;
    left: 13%;*/
    margin: -27px 0 0 40px;
    z-index: 0;
}
#login-page header {
    margin: 0 0 40px;
}
#login-page h1 {
    color: #0088ce;
    font-size: 20px;
    margin-bottom: 20px;
}
#login-page label {
    margin-bottom: 5px;
}
#login-page .form-control {
    background-color: #fff;
}
#login-page .btn {
    font-weight: normal;
/*    border: none;*/
}
/*#login-page .btn-default {
    color: #fff;
    text-transform: uppercase;
    background-color: #2d2767;
}
#login-page .btn-default:hover, 
#login-page .btn-default:focus,
#login-page .btn-default:active,
#login-page .btn-default.active {
    color: #fff;
    background-color: #2a6496;
}*/
#login-page .btn-link {
    font-size: 14px;
}
#login-page footer.text-center {
    margin: 40px 0 20px;
}
#login-page footer.text-center img {
    margin-top: -5px;
    margin-left: 10px;
}
.brandtext:after {
content: "";
background: url(../images/villafacil-logo02.png) no-repeat 0 0;
background-size: 90%;
vertical-align: -20%;
display: inline-block;
width: 22px;
height: 22px;
margin-left: 5px;
}

/* 02. CASCA
 * -------------------------- */
#panel-system {
    margin-top: 10px;
    margin-bottom: 10px;
}
header#header {
    margin-bottom: 25px;
}
header#header.row {
    border-bottom: 1px dashed #3071a9;
    padding-bottom: 15px;
}
header#header .navbar-nav {
    margin-top: 25px;
}
header#header .navbar-nav > li > a {
    color: #999;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    padding-left: 12px;
    padding-right: 12px;
}
header#header .nav > li > a:hover,
header#header .nav > li > a:focus {
    text-decoration: none;
    background-color: #3071a9;
    color: #fff;
}
header#header .navbar-nav > li > a .fa {
    margin-right: 5px;
    position: relative;
    top: 5px;
}
header#header .header-infos {
/*    font-size: 13px;
    line-height: 15px;*/
}
header#header .header-infos .img-thumbnail {
    height: 66px;
}
header#header .header-infos .fa-user {
    margin: 0 5px;
    position: relative;
    top: 2px;
}
header#header .header-infos .fa-camera {
    position: relative;
    color: #fff;
    left: 17px;
    top: -23px;
}
footer#footer {
    font-size: 12px;
    margin-top: 25px;
}
footer#footer .info {
    margin-bottom: 10px;
    padding: 20px 65px;
    border-top: 1px dashed #3071a9;
    border-bottom: 1px dashed #3071a9;
    margin-top: 25px;
}
footer#footer address {
    margin-bottom: 0;
}
footer#footer #footer-info-condominio ul {
    padding-left:15px;
}

/*footer#footer [class^="col-"] [class^="col-"]:last-child {
    padding-top: 15px;
    padding-left: 0;
    word-wrap: break-word;
}

footer#footer [class^="col-"] a {
    color: #666;
}
footer#footer .fa-comments-o {
    position: relative;
    top: -3px;
}*/
aside#sidebar .panel-group .panel {
    border-radius: 0;
}
aside#sidebar .panel-group .panel a {
    display: block;
    padding: 10px 15px;
}

aside#sidebar .panel-group .panel + .panel {
    margin-top: -1px;
}
aside#sidebar .panel-heading {
    padding: 0;
}

aside#sidebar .panel-title > a:hover {
    text-decoration: none;
    background-color: #e5e5e5;
    color: #333;
}
aside#sidebar .panel-title > a:hover span {
    color: #3071a9;
}
aside#sidebar .panel-default > .panel-heading {
    color: #666666;
}
aside#sidebar .panel-group .list-group {
    margin-bottom: 0;
    border-top: 1px solid #dddddd;
}
aside#sidebar .panel-group .list-group-item {
    border-left: 0;
    border-right: 0;
    padding: 0;
}
aside#sidebar .panel-group .list-group-item:first-child {
    border-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}
aside#sidebar .panel-group .list-group-item:last-child {
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
aside#sidebar a[href="#mn-perfil"] .fa-stack {
    width: 1.7em;
    height: 16px;
    line-height: 16px;
    top: -7px;
}
aside#sidebar a[href="#mn-perfil"] .fa-stack-2x {
    font-size: 1.6em;
}
aside#sidebar a[href="#mn-perfil"] .fa-stack-1x {
    font-size: 15px;
    top: 4px;
}

/* 03. PÁGINA HOME
 * -------------------------- */
article:first-child .page-header {
    margin-top: 0;
}
article:first-child .page-header2 {
    margin-top: 0;
    width: 830px;
    
}
#home-news [class^="col-"] a p {
    color: #666666;
    text-decoration: none;
}
#home-news .thumbnail {
    margin-bottom: 5px;
}
#home-news .thumbnail .thumbcore {
    height: 142px;
    overflow: hidden;
}

#home-news .thumbnail .thumbcore > .img-responsive {
  margin-right: auto;
  margin-left: auto;
}

#home-news h2.h3 small {
    font-size: 85%;
}

#home-poll [class^="col-"] .panel {
    height: 254px;
    position: relative;
}
#home-poll [class^="col-"] .panel .panel-wrap {
    height: 201px;
    overflow-x: auto;
}
#home-poll .panel-default .panel-heading {
    color: #333333;
    background-color: #f5f5f5;
    border-color: #dddddd;
}
#home-poll .panel .radio:first-child {
    margin-top: 0;
}
#home-poll .panel .radio:last-child {
    margin-bottom: 0;
}
#home-poll .panel-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

/* 04. MÓDULO MORADOR
 * -------------------------- */

/* PÁGINA ADICIONAR MORADOR */
#ad-mor-form .panel-body {
    padding-top: 30px;
}
#ad-mor-form .panel-group {
    margin-bottom: 30px;
}

/* PÁGINA BUSCAR MORADOR */
#search-form .panel-footer {
    border-top: 1px solid #dddddd;
}


/* ==========================================================================
   V. PLUGINS
   ========================================================================== */

.dropdown-menu {
    text-align: left;
}
.modal-title {
    font-size: 18px;
    font-weight: bold;
}

/* 01. JQUERY UI - AUTOCOMPLETE
 * -------------------------- */
.ui-helper-hidden-accessible {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-clip: padding-box;
}
.ui-menu-item a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}
.ui-menu-item a:hover, .ui-menu-item a:focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
    cursor: pointer;
}

/* 02. JQUERY VALIDATE
 * -------------------------- */
.jv-alert label {
    margin: 0 !important;
}
.jv-alert.alert-danger .help-block {
    color: #a94442;
}


/* 03. SHEEPIT PLUGIN
 * -------------------------- */
 div[id$="_controls"] .btn {
    margin-top: -5px;
 }
#morador form div[idtemplate$="_template"] .form-group {
    margin-top: 0 !important;
}
#morador form div[idtemplate$="_template"] .form-group:first-child {
    margin-top: 15px;
}


/* 04. LIGHTBOX FOR BOOTSTRAP3
 * -------------------------- */
.ekko-lightbox .modal-header {
    border-bottom: none;
}
.ekko-lightbox .modal-footer {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    text-align: left;
    border-top: none;
}




/* ==========================================================================
    VI. RESPONSIVIDADE
   ========================================================================== */

/* LARGURA MAX 480PX
 * -------------------------- */
@media (max-width: 320px) {
}

/* LARGURA MIN 481PX - MAX 767PX
 * -------------------------- */
@media (min-width: 321px) and (max-width: 767px) {

}

@media screen and (max-width: 400px) {
    #login-page section.col-md-5.col-sm-6.col-xs-9,
    #login-page aside.col-md-5.col-sm-6.col-xs-9 {
        width: 100%;
    }
    #login-page .panel:before {
        top: -19%;
    }
}

/* LARGURA MAX 767PX
 * -------------------------- */
@media (max-width: 767px) {
    #login-page .container {
        margin-top: 20px;
    }

    #login-page section.col-md-5.col-sm-6.col-xs-9,
    #login-page aside.col-md-5.col-sm-6.col-xs-9 {
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
}


/* LARGURA MIN 768PX - MAX 979PX
 * -------------------------- */
@media (min-width: 768px) {
    #panel-system > header nav .navbar-nav > li > a {
        padding-top: 3px;
        padding-bottom: 9px;
    }
}

/* LARGURA MIN 768PX - MAX 979PX
 * -------------------------- */
@media (min-width: 768px) and (max-width: 991px) {

}

/* LARGURA MAX 991PX
 * -------------------------- */
@media (max-width: 991px) {


}

/* LARGURA MIN 992PX
 * -------------------------- */

@media (min-width: 992px) {
    .container {
        max-width: 970px;
    }
}
/* LARGURA MIN 992PX - MAX 1199PX
 * -------------------------- */
@media (min-width: 992px) and (max-width: 1199px) {

}

/* LARGURA MIN 1200PX
 * -------------------------- */
@media (min-width: 1200px) {

}






/* ==========================================================================
    VII. IMPRESSÃO
   ========================================================================== */

@media print {
    select {
        -webkit-appearance: none;
        color: #fff !important;
    }
    a[href]:after {
        content: none;
    }
    .collapse {
        display: block;
    }
    header#header.row {
        border-bottom: none;
    }
    header#header .text-center img {
        width: 200px;
    }
    #morador .panel-group {
        margin-bottom: 0;
    }

}