/* ======================================================
   ESTILOS DA CLASSE .module-name-search_ajax
   Migrados do template resiliente para mod_search_ajax
   ====================================================== */

/* Estilos base do resiliente-search */
.module-name-search_ajax {
    align-items: center;
    display: flex;
    color: var(--gray);
    position: relative;
}

.module-name-search_ajax .button,
.module-name-search_ajax .button:hover,
.module-name-search_ajax .button:focus,
.module-name-search_ajax .button:active,
.module-name-search_ajax .button:not(:disabled):not(.disabled):active {
    background: transparent;
    border: 0px;
}

.module-name-search_ajax .btn {
	color: var(--white);
	margin: 0 !important;    
  
}
.module-name-search_ajax .btn.open {
	width: auto;
	color: #fff;
	margin: 0;
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}
.module-name-search_ajax .search-input-wrapper,
.slideshow-extra-module .search-input-wrapper {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.module-name-search_ajax .search-button .button-text,
.slideshow-extra-module .search-button .button-text {
    transform: skewX(12deg);
    -webkit-transform: skewX(12deg);
    -moz-transform: skewX(12deg);
    -ms-transform: skewX(12deg);
    -o-transform: skewX(12deg);
    font-size: 16px;
    font-weight: bold;
    display: block;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 900;
}

.module-name-search_ajax .search-box-left,
.module-name-search_ajax .search-box-right,
.slideshow-extra-module .search-box-left,
.slideshow-extra-module .search-box-right {
    padding: 15px 15px;
}

.module-name-search_ajax .search-box-right,
.slideshow-extra-module .search-box-right {
    background: var(--white);
    padding-right: 30px;
}

.module-name-search_ajax .search-box-left .search-arrow,
.slideshow-extra-module .search-box-left .search-arrow {
    margin-right: 15px;
}

.module-name-search_ajax .search-box-left {
    background: var(--yellow);
    color: var(--gray);
}

.module-name-search_ajax .search-box-left,
.slideshow-extra-module .search-box-left {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
}

.module-name-search_ajax .search-box-left,
.module-name-search_ajax .search-box-left .open-search-all,
.module-name-search_ajax .search-box-left .open-search-all .search-arrow,
.slideshow-extra-module .search-box-left,
.slideshow-extra-module .search-box-left .open-search-all,
.slideshow-extra-module .search-box-left .open-search-all .search-arrow {
    transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
}

.module-name-search_ajax .search-box-left.opened .open-search-all .search-arrow,
.slideshow-extra-module .search-box-left.opened .open-search-all .search-arrow {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
}

.module-name-search_ajax .search-box-options {
    background: var(--yellow);
}

.module-name-search_ajax .search-box-options .option {
    color: var(--gray);
    margin-left: calc(var(--bs-gutter-x) * -0.5);
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}

.module-name-search_ajax .search-box-options .option:hover,
.module-name-search_ajax .search-box-options .option:focus,
.module-name-search_ajax .search-box-options .option:active {
    color: var(--black);
}

.module-name-search_ajax .search-box-instant-results,
.slideshow-extra-module .search-box-instant-results {
    background: var(--white);
    padding-bottom: 15px;
    color: var(--gray);
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.module-name-search_ajax.opened .btn.btn-white {
    padding: 0.75em 2.125em;
}

.module-name-search_ajax .search-box-instant-results,
.module-name-search_ajax .search-box-instant-results a,
.slideshow-extra-module .search-box-instant-results,
.slideshow-extra-module.search-box-instant-results a {
    color: var(--gray);
}

.module-name-search_ajax .search-box-left.opened,
.slideshow-extra-module .search-box-left.opened {
    transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
}

.module-name-search_ajax .search-box-left.opened .open-search-all,
.slideshow-extra-module .search-box-left.opened .open-search-all {
    transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
}

.module-name-search_ajax .search-box-fixed {
    visibility: hidden;
    opacity: 0;
    z-index: -1;
    transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
}
.module-name-search_ajax .search-box-fixed.opened {
    visibility: visible;
    opacity: 1;
    z-index: 1;
}
.module-name-search_ajax .search-box-fixed .container,
.slideshow-extra-module.search-box-fixed .container {
    position: relative;
    padding:0;
}

.module-name-search_ajax.opened .btn.open::after {
    content: "";
    border-bottom: 4px solid var(--yellow);
    display: block;
    position: absolute;
    width: calc(100% - .5rem);
    left: 0;
    margin-top: 13px;
    margin-left: 0.25rem;
}

.module-name-search_ajax.opened .search-box-fixed {
    visibility: visible;
    opacity: 1;
    z-index: 1;
}

.module-name-search_ajax .search-query:focus,
.module-name-search_ajax .search-query:active,
.slideshow-extra-module .search-query:focus,
.slideshow-extra-module .search-query:active {
    border: 0px;
    box-shadow: none;
}

.module-name-search_ajax .search-button,
.module-name-search_ajax .search-button:hover,
.module-name-search_ajax .search-button:focus,
.module-name-search_ajax .search-button:active,
.slideshow-extra-module .search-button,
.slideshow-extra-module .search-button:hover,
.slideshow-extra-module .search-button:focus,
.slideshow-extra-module .search-button:active {
    width: auto;
    background: var(--yellow);
    color: var(--gray);
    border-radius: 0;
    transform: skewX(-12deg);
    -webkit-transform: skewX(-12deg);
    -moz-transform: skewX(-12deg);
    -ms-transform: skewX(-12deg);
    -o-transform: skewX(-12deg);
    padding: 0.875rem 2.25rem;
}

.module-name-search_ajax .search-query,
.slideshow-extra-module .search-query {
    width: calc(100% - 15px);
    padding-left: 5px;
    padding-right: 5px;
    border: 0px;
    padding: 1em 0.5em;
}

.module-name-search_ajax .search-glass {
    margin-right: 10px;
    display: block;
}

.module-name-search_ajax.opened .btn,
.login-box.opened .btn {
    color: var(--yellow);
}

.module-name-search_ajax.opened .btn.open,
.home-page .resiliente-header.head-bellow-is-open .module-name-search_ajax.opened .btn.open {
    color: var(--yellow);
}

/* Estilos específicos para diferentes contextos */
.home-page .stickyheader .module-name-search_ajax .btn,
.home-page .stickyheader .module-name-search_ajax .button,
.home-page .stickyheader .module-name-search_ajax .button:hover,
.home-page .stickyheader .module-name-search_ajax .button:focus,
.home-page .stickyheader .module-name-search_ajax .button:active,
.home-page .stickyheader .module-name-search_ajax .button:not(:disabled):not(.disabled):active {
    color: var(--white);
}

.home-page .resiliente-header.head-bellow-is-open .module-name-search_ajax .btn,
.home-page .resiliente-header.head-bellow-is-open .module-name-search_ajax .button,
.home-page .resiliente-header.head-bellow-is-open .module-name-search_ajax .button:hover,
.home-page .resiliente-header.head-bellow-is-open .module-name-search_ajax .button:focus,
.home-page .resiliente-header.head-bellow-is-open .module-name-search_ajax .button:active,
.home-page .resiliente-header.head-bellow-is-open .module-name-search_ajax .button:not(:disabled):not(.disabled):active {
    color: var(--white);
}

.internal .module-name-search_ajax .button,
.internal .module-name-search_ajax .button:hover,
.internal .module-name-search_ajax .button:focus,
.internal .module-name-search_ajax .button:active,
.internal .module-name-search_ajax .button:not(:disabled):not(.disabled):active,
.internal .module-name-search_ajax .btn {
    color: var(--white);
}

/* Estilos para páginas especiais */
.home-page.tem-slide-50anos .module-name-search_ajax .btn,
.home-page.tem-slide-50anos .stickyheader .module-name-search_ajax .button,
.home-page .stickyheader .module-name-search_ajax .button:hover {
      color: var(--white);
}

.home-page.tem-slide-50anos .resiliente-header.stickedheader .module-name-search_ajax .btn,
.home-page.tem-slide-50anos .resiliente-header.stickedheader .module-name-search_ajax .button,
.home-page.tem-slide-50anos .resiliente-header.stickedheader .module-name-search_ajax .button:hover {
    color: #fff;
}

/* Media Queries - Responsive */
@media all and (max-width: 991px) {
    .module-name-search_ajax .btn.open {
        display: none;
    }
}

@media all and (max-width: 1199px) {
    .module-name-search_ajax {
        margin-top: 0;
    }

    .module-name-search_ajax.opened .search-box-fixed {
        position: fixed;
        top: 0;
        height: calc(100vh - 50px);
        background: var(--white);
    }

    .module-name-search_ajax .search-box-left,
    .module-name-search_ajax .search-box-options {
        background-color: var(--gray);
        color: var(--white);
        margin-top: 50px;
    }

    .module-name-search_ajax .search-box-left a,
    .module-name-search_ajax .search-box-options .option {
        color: var(--white);
    }

    .module-name-search_ajax .search-box-options a.option:hover,
    .module-name-search_ajax .search-box-options a.option:focus,
    .module-name-search_ajax .search-box-options a.option:active,
    .module-name-search_ajax .search-box-options a.option.active {
        color: var(--yellow);
    }

    .search-box-fixed {
        top: 50px;
    }
}

/* Estilos auxiliares */
.open-search-all {
    cursor: pointer;
}

.open-search-all .fa {
    margin-right: 15px;
}

.search-box-options .option {
    font-weight: bold;
    display: block;
    padding: 10px 0;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.search-box-options {
    flex-direction: column;
}

.search-box-options,
.search-box-options-wrapper {
    transition: all ease-in-out 0.3s;
    display: flex;
    height: 0;
    transform: scaleY(0);
    transform-origin: top;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    overflow-y: hidden;
}

.search-box-options {
    padding: 0 15px;
}

.search-box-options.opened {
    padding-bottom: 15px;
}

.search-box-options.opened,
.search-box-options-wrapper.opened {
    height: auto;
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
}

.search-box-fixed {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
}

.btn-white,
.module-name-search_ajax.opened .btn.btn-white {
    width: auto;
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: 0;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--gray);
}

.view-all-in {
    padding: 15px 0;
}

.btn.skewx {
    transform: skewX(-12deg);
    -webkit-transform: skewX(-12deg);
    -moz-transform: skewX(-12deg);
    -ms-transform: skewX(-12deg);
    -o-transform: skewX(-12deg);
}

.btn.skewx>* {
    transform: skewX(12deg);
    -webkit-transform: skewX(12deg);
    -moz-transform: skewX(12deg);
    -ms-transform: skewX(12deg);
    -o-transform: skewX(12deg);
    display: block;
}

.search-is-open {
    overflow: hidden;
}
.results_search .linhaAreas .linha{
    padding-left: 15px;
    padding-right: 15px;
}
.search-box-container > .row {
	box-shadow: 0 0 13px rgba(0, 0, 0, 0.2);
}
.search-box-container > .row + .row {
	box-shadow: 0 15px 13px rgba(0, 0, 0, 0.2);
}