﻿
/*
[----------------------------------]
[---------- BUSCADOR HOME ---------]
[----------------------------------]
*/


.top-home .searchblock-home .quick-search-links {
    margin-bottom: 4px;
    text-align: center;
}

.top-home .searchblock-home .quick-search-links a {
    color: #FFF;
    font-size: 16px;
    text-shadow: 1px 1px #000;
}

.top-home .searchblock-home .quick-search-links a:not(:last-child) {
    margin-right: 12px;
}

.top-home .searchblock-home {
    margin: 0 auto;
    max-width: 680px;
    padding-bottom: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.top-home .searchblock-home .main-search-container {
    background-color: rgba(0,0,0,.6);
    padding: 12px;
}

.top-home .searchblock-home .main-search {
    display: flex;
    align-items: center;
}

.top-home .searchblock-home .main-search input.town {
    border: none;
    border-left: 1px solid #eeeeee;
    padding: 0px 12px;
}

.top-home .main-search input,
.top-home .main-search button {
    min-height: 38px;
    max-height: 38px;
    line-height: 38px;
}


.top-home .main-search input {
    line-height: 38px;
    font-size: 16px;
    border: none;
    outline: none;
}

.main-search input.town {
    width: 100%;
    flex: 1;
}


.search-results-container {
    position: absolute;
    z-index: 99;
    margin-left: 105.5px;
}


.ui-autocomplete {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: white;
    list-style-type: none;
    padding-left: 0;
    border-left: 1px solid #efecec;
    border-right: 1px solid #efecec;
}

.ui-menu-item {
    color: black;
}

.ui-menu-item-wrapper {
    padding: 8px;
    border-bottom: 1px solid #efecec;
    cursor: pointer;
}

.ui-menu-item .ui-state-active {
    background-color: #CCC;
}

.ui-menu-item .location-main {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.ui-menu-item .location-name {
    display: inline-block;
    margin-right: 8px;
}


.optype-dropdown {
    line-height: 38px;
    height: 38px;
    color: #555;
    background-color: white;
    cursor: pointer;
}

.optype-dropdown .items-container {
    position: relative;
}

.optype-dropdown:not(.active) .items-container {
    display: none;
}

.optype-dropdown .items-container .items {
    position: absolute;
    left: 0;
    right: 0;
    background-color: white;
}

.optype-dropdown .items-container .items .item {
    border-top: 1px solid #eeeeee;
    border-left: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
    padding: 0 8px;
}

.optype-dropdown .items-container .items .item:last-child {
    border-bottom: 1px solid #eeeeee;
}


.optype-dropdown .current {
    white-space: nowrap;
    padding: 0 32px 0 8px;
    position: relative;
}

.optype-dropdown .current:after {
    content: ' ';
    position: absolute;
    height: 100%;
    width: 8px;
    margin-left: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(/images/icons/arrow-red-down.svg);
    transition: 0.2s;
}

.optype-dropdown.active .current:after {
    transform: rotate(-180deg);
}

.optype-dropdown .item.selected {
    background-color: #d4d4d4;
}

.optype-dropdown .item:not(.selected):hover {
    background-color: #f5f5f5;
}
