/*
Estilo customizado
*/
/*
    Created on : 14/03/2017, 08:07:30
    Author     : lucas.motta
*/
/*
GERAL
============================================================================= */
/* width */
.full-width {
    width: 100%;
}

/* alignment */
.no-float,
.inl-blk-childs>*,
.table-css>* {
    float: none;
}

.right {
    float: right;
}

.left {
    float: left;
}

/* render */
.blk {
    display: block;
}

.inl-blk-childs {
    font-size: 0;
}

.inl-blk-childs>* {
    font-size: 14px;
    display: inline-block;
}

.table-css,
.table-css-sm {
    display: table;
    float: none;
}

.table-css-sm {
    width: 100%;
}

.table-css>*,
.table-css-sm>* {
    display: table-cell;
}

.vcenter,
.inl-blk-childs>*,
.table-css>*,
.table-css-sm>* {
    vertical-align: middle;
    float: none;
}

.vtop,
.inl-blk-childs>.vtop {
    vertical-align: top;
}

.vbottom,
.inl-blk-childs>.vbottom {
    vertical-align: bottom;
}

/* margin */
.no-margin,
.no-spaces {
    margin: 0;
}

.margin-top,
.margin-y {
    margin-top: 15px;
}

.margin-bottom,
.margin-y {
    margin-bottom: 15px;
}

.margin-right,
.margin-x {
    margin-right: 15px;
}

.margin-left,
.margin-x {
    margin-left: 15px;
}

/* padding */
.no-padding,
.no-spaces {
    padding: 0;
}

.padding-top,
.padding-y {
    padding-top: 15px;
}

.padding-bottom,
.padding-y {
    padding-bottom: 15px;
}

.padding-right,
.padding-x {
    padding-right: 15px;
}

.padding-left,
.padding-x {
    padding-left: 15px;
}

/* btn */
/* form */
/* font */
.text-white {
    color: #fff !important;
}

/* width */
.full-width {
    width: 100%;
}

/*
ALTERAÇÕES DE CLASSES DO BOOTSTRAP
============================================================================= */
.textwidget {
    text-align: justify;
}

.textwidget * {
    word-wrap: break-word;
}

#menu-main-container {
    float: none !important;
}

.text-uppercase {
    text-transform: uppercase;
}

.img-responsive {
    max-width: 100%;
}

/*
ALTERAÇÕES DO ESTILO DO TEMA
============================================================================= */
/* blog */
.frontpage-post-content {
    padding: 0 15px;
}

.frontpage-post-content * {
    color: #323232;
}

.frontpage-posts {
    background: #e7e7e7;
    padding: 70px 0 50px;
}

.blog_content_col {
    max-width: 750px;
    margin: 0 auto;
}

/* menu */
#menu-bar .navbar-collapse.collapse {
    white-space: nowrap;
}

#menu-bar ul,
#menu-bar ul li {
    float: none;
}

#menu-bar ul {
    display: table;
    float: right;
    table-layout: fixed;
}

#menu-bar ul li {
    white-space: nowrap;
    padding: 0 7px;
}

#menu-bar ul li a {
    padding: 7px 0 3px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}

#menu-bar .nav:before,
#menu-bar .nav:after {
    display: none;
}

.btn-menu {
    margin: 10px 0;
}

.navbar-brand.blogname {
    padding: 10px 0 !important;
}

.navbar-header,
#menu-bar ul {
    padding: 0 !important;
}

/* banner */
.frontpage-banner {
    position: relative;
    overflow: hidden;
    padding: 16% 0 !important;
}

/* banner da seção "Quem Somos" e da galeria (mesmo overlay via data-overlay) */
.frontpage-about,
#about-gallery {
    position: relative;
    overflow: hidden;
}

.frontpage-about .container,
#about-gallery .container {
    position: relative;
    z-index: 2;
}

.banner-content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* tamanho de textos */
.banner-title.font-size-1 {
    font-size: 82px;
}

.banner-title.font-size-2 {
    font-size: 55px;
}

.banner-title.font-size-3 {
    font-size: 46px;
    line-height: 70px;
}

.navbar-brand.font-size-1 {
    font-size: 16px !important;
}

.navbar-brand.font-size-2 {
    font-size: 19px !important;
}

.navbar-brand.font-size-3 {
    font-size: 16px !important;
}

.navbar-brand img {
    height: 70px;
}

/* social icons - estilos globais gerenciados pelo gi-options/assets/css/theme.css */
.frontpage-social {
    background-color: #1e3a5f;
    padding: 70px 0;
    text-align: center;
}
.frontpage-social .social-title {
    color: #fff;
    margin-bottom: 10px;
}
.frontpage-social .social-sub-title {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

/* contact */
.contact-submit {
    font-size: 24px;
}

.btn-link {
    padding: 15px 10px 7px 10px;
    margin: 0px 5px 10px 5px;
    text-transform: uppercase;
    font-weight: bold;
}

/* action1 */
#neigbrs,
#com21 {
    color: #fff;
}

#ascrail2000 {
    z-index: 2000 !important;
}

/* about */
.textwidget i {
    width: 15px;
    margin-right: 7px;
}

.office-hours div {
    white-space: pre-wrap;
}

/* gallery */
#gallery .item {
    margin: 10px 3.5%;
    position: relative;
    padding: 46.7% 10px;
    overflow: hidden;
    width: 93%;
    background-color: #343b46;
}

#about-gallery .item {
    background-color: #ececec;
}

#simple-gallery #gallery .item {
    background-color: #f5f5f5;
}

.simple * {
    max-width: 100%;
    word-wrap: break-word;
}

.gallery-img-container {
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-img-container,
.img-table {
    width: 100%;
    height: 100%;
}

.img-table {
    display: table;
}

.img-cell {
    display: table-cell;
    vertical-align: middle;
}

#gallery .item img {
    width: 100%;
    max-width: none;
}

div.content .gallery img:hover {
    background: none;
}

#gallery .item {
    margin: 10px;
    display: table;
}

/* gallery arrow */
.owl-theme .owl-controls {
    margin-top: 0;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50% !important;
    margin-top: -15px !important;
    font-size: 20px;
    padding: 0;
}

#services .owl-prev,
#services .owl-next {
    color: #515153 !important;
    background-color: transparent !important;
}

.owl-prev {
    left: 0px;
}

.owl-next {
    right: 0px;
}

/* lightbox */
.mfp-zoom-out-cur {
    cursor: default;
}

.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: pointer;
}

/* map */
#map-container,
#maps {
    height: 370px;
}

#map-container {
    background-image: url('../images/map.png');
    background-size: cover;
}

#map,
#map iframe {
    height: 100%;
}

#map iframe {
    width: 100%;
}

/* services */
#services {
    margin: 25px 0 20px;
    width: 100%;
    display: table;
}

.service {
    width: 100%;
    float: left;
    padding: 50px 25px 10px;
    margin-bottom: 30px;
    position: relative;
}

.services-grid>* {
    display: inline-block;
    float: none;
}

.title {
    height: 50px;
}

.list-post {
    padding: 0;
    position: relative;
}

.list-post .text {
    width: 100%;
    height: 70px;
    margin-bottom: 51px;
    float: left;
}

.list-post .more-text {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

.icons i,
[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
    font-size: 50px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {

    #menu-bar,
    .navbar-header {
        display: block;
    }

    #menu-bar .collapse,
    .navbar-header {
        text-align: center;
    }

    #menu-bar ul {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

#neigbrs,
#com21 {
    padding: 150px 0 !important;
}

@media (min-width: 768px) {

    #neigbrs,
    #com21 {
        padding: 150px 0 !important;
    }

    #menu-bar .navbar-collapse {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
    }

    .flex-row {
        display: flex;
        align-items: center;
    }

    .wrap {
        flex-wrap: wrap;
    }

    .space-between {
        justify-content: space-between;
    }

    .flex-end {
        justify-content: flex-end;
    }

    .flex-item {
        flex: 1;
    }

    #menu-bar ul li {
        white-space: nowrap;
        display: table-cell;
        vertical-align: middle;
        padding: 0 7px;
    }
}

@media (max-width: 768px) {

    /* default */
    body {
        max-width: 100%;
        width: 100%;
    }

    .table-css {
        width: 100%;
    }

    .table-css-sm>* {
        display: block;
    }

    /* bootstrap */
    .container>.navbar-header,
    .container>.navbar-collapse {
        margin: 0 !important;
    }

    /* header */
    .navbar-brand {
        padding: 2px 5px !important;
    }

    .nav-toggle-container {
        padding: 10px 0;
    }

    .navbar-collapse {
        background: #fff !important;
    }

    .navbar-collapse ul.navbar-nav {
        margin: 7.5px auto;
    }

    /* tamanho de textos */
    .banner-title.font-size-1 {
        font-size: 34px;
    }

    .banner-title.font-size-2 {
        font-size: 25px;
    }

    .banner-title.font-size-3 {
        font-size: 21px;
    }

    .navbar-brand.font-size-1 {
        font-size: 19px !important;
    }

    .navbar-brand.font-size-2 {
        font-size: 16px !important;
    }

    .navbar-brand.font-size-3 {
        font-size: 14px !important;
    }

    /* banner */
    .banner-wrap {
        width: 97%;
        padding: 5px;
    }

    .banner-title {
        line-height: 37px;
    }

    /* social icons */
    .inline-center-wrapper>div {
        width: 50%;
    }

    #social {
        padding: 150px 0 !important;
    }

    /* menu */
    .menu-main-container,
    .btn-link,
    #menu-bar ul {
        width: 100%;
    }

    #menu-bar ul {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .btn-link {
        padding-top: 2px;
    }

    #menu-bar ul li {
        width: 100%;
        white-space: initial;
    }

    #menu_row a {
        margin: 10px 0;
    }

    #menu-bar .navbar-collapse {
        text-align: center;
    }

    .navbar-header {
        text-align: left;
    }

    .navbar-brand {
        width: 100%;
        font-size: 0 !important;
    }

    /* slider */
    #gallery .owl-prev,
    #gallery .owl-next {
        color: #fff !important;
        font-size: 24px !important;
    }

    #gallery .owl-prev {
        left: 10px !important;
    }

    #gallery .owl-next {
        right: 10px !important;
    }
}

@media (max-width: 550px) {
    .col-xs2-12 {
        width: 100%;
    }
}

/* ===== Social Icons Grid (gi-social) ===== */
.gi-social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 24px;
    padding: 10px 0 30px;
}
.gi-social-item {
    text-align: center;
    min-width: 90px;
}
.gi-social-item a {
    text-decoration: none;
    display: block;
}
.gi-social-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    font-size: 28px;
    background-color: #4a4e55;
    color: #fff !important;
    margin-bottom: 12px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}
.gi-social-item a:hover .gi-social-icon {
    background-color: #363a40;
    transform: scale(1.08);
}
.gi-social-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    color: #333;
}
.gi-social-sub {
    display: block;
    font-size: 11px;
    color: #888;
}
.frontpage-social .gi-social-icon {
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.frontpage-social .gi-social-item a:hover .gi-social-icon {
    background-color: rgba(255, 255, 255, 0.28);
    transform: scale(1.08);
}
.frontpage-social .gi-social-label { color: #fff; }
.frontpage-social .gi-social-sub { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 575px) {
    .gi-social-row { gap: 20px 16px; }
    .gi-social-icon { width: 60px; height: 60px; font-size: 22px; }
}

/* ===== Secoes Multiuso - Galeria responsiva ===== */
.frontpage-multiuso {
    padding: 60px 0;
}
.frontpage-multiuso .multiuso-title {
    margin-bottom: 30px;
    text-align: center;
}
.frontpage-multiuso .multiuso-texto { margin-bottom: 20px; }
.frontpage-multiuso .multiuso-video  { margin-bottom: 20px; }
.frontpage-multiuso .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
}
.frontpage-multiuso .gallery .item {
    flex: 0 0 calc(33.333% - 7px);
    width: calc(33.333% - 7px);
    min-width: 0;
}
.frontpage-multiuso .gallery-img-container {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}
.frontpage-multiuso .img-table {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
}
.frontpage-multiuso .img-cell {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
}
.frontpage-multiuso .img-cell img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block !important;
    transition: transform 0.3s ease;
}
.frontpage-multiuso .gallery .item a {
    display: block;
    width: 100%;
}
.frontpage-multiuso .gallery .item a:hover .img-cell img {
    transform: scale(1.05);
}
.frontpage-post-content > a {
    display: block;
    width: 100%;
}
@media (max-width: 991px) {
    .frontpage-multiuso .gallery .item {
        flex: 0 0 calc(50% - 6px);
        width: calc(50% - 6px);
    }
}
@media (max-width: 575px) {
    .frontpage-multiuso .gallery .item { flex: 0 0 100%; width: 100%; }
    .frontpage-multiuso { padding: 40px 0; }
}

/* ===== Responsive video embed (Bootstrap 3 desta build não inclui embed-responsive) ===== */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}
.embed-responsive::before {
    content: '';
    display: block;
}
.embed-responsive-16by9::before {
    padding-top: 56.25%; /* 9/16 = 0.5625 */
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
