/* search */
#autocomplete {
    margin-top: -10px;
    /*top: 60px;*/
    /*left: -7px;*/
    /*width: 880px;*/
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 0px 5px 12px 0px rgba(0, 0, 0, 0.15);
    border: 0;
    background: #ececec;

    /*opacity: 0.5;*/

    /*top: 50px;*/
}

#main-menu-search #autocomplete {
	width: 750px !important;
}

#autocomplete li.live-result-search-item-wrapper {
    position: relative;

    padding: 9px 40px;

    background: #ececec;

    font-family: Rogan-Regular;
    font-style: italic;

    color: #757575;

    font-size: 16px;

    transition: all 0.3s ease;
}
#autocomplete li.live-result-search-item-wrapper:before {
    content: none;
}

#autocomplete li.live-result-search-item-wrapper article {
    position: relative;
}


#autocomplete li.live-result-search-item-wrapper:after {
    content: "";
    position: absolute;
    left: 30px;
    bottom: 0;
    height: 1px;
    width: calc(100% - 60px);
    border-bottom: 1px solid #d9d9d9;

    transition: all 0.3s ease;
}

#autocomplete li.live-result-search-item-wrapper:first-child {
    padding-top: 33px;
}

#autocomplete li.live-result-search-item-wrapper:last-child {
    /*padding-bottom: 33px;*/
    padding-bottom: 20px;
}

#autocomplete li.live-result-search-item-wrapper:last-child:after {
    display: none;
}

#autocomplete li.live-result-search-item-wrapper h2 {
    font-style: normal;
    width: calc(100% - 95px);
    font-size: 16px;
    line-height: 26px;

    transition: all 0.3s ease;

    font-family: Rogan-Regular;
}

#autocomplete li.live-result-search-item-wrapper h2 a {
    font-style: normal;
    font-size: 16px;
    line-height: 26px;

    color: #757575;

    text-decoration: none;

    transition: all 0.3s ease;
}

#autocomplete li.live-result-search-item-wrapper .field-name-field-kereses-tipus {
    float: right;
    top: 2px;
    right: 0;
    position: absolute;

    transition: all 0.3s ease;
}

/* autocomplete hover */
#autocomplete li.live-result-search-item-wrapper:hover,
#autocomplete li.live-result-search-item-wrapper:focus {
    background: #ffffff;
    padding-left: 45px;

    color: #4072d1;

    cursor: pointer;
}

#autocomplete li.live-result-search-item-wrapper:hover h2 a,
#autocomplete li.live-result-search-item-wrapper:hover .field-name-field-kereses-tipus,
#autocomplete li.live-result-search-item-wrapper:focus h2 a,
#autocomplete li.live-result-search-item-wrapper:focus .field-name-field-kereses-tipus {
    color: #4072d1;
}

/*#autocomplete li.live-result-search-item-wrapper:hover:after,
#autocomplete li.live-result-search-item-wrapper:focus:after {
    left: 40px;
    width: calc(100% - 80px);
}*/

/* search page */

.search-performance {
    display: none;
}

.page-kereses .subpage-main .container {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 0;
}

.page-kereses .subpage-main .container.subpage-bottom-container {
    margin-top: -60px;
}

.search-page-categories-title {
    /*...*/
}

.search-page-categories-title {
    font-family: Rogan-Bold;
    font-size: 22px;
    color: #444444;

    position: relative;

    margin-top: 16px;
    margin-left: 30px;
}

/*facetapi-facetapi-checkbox-links*/

.page-kereses .subpage-content {
    padding-left: 22px;
    padding-right: 0px;
    padding-top: 0;
}

/*.page-kereses .subpage-content > h2 {
    padding-top: 15px;
    margin-top: 0;
}*/

.page-kereses .subpage ul.facetapi-facetapi-checkbox-links {
    position: relative;
    margin-top: -9px;
    padding-left: 30px;
}

.page-kereses .subpage ul.facetapi-facetapi-checkbox-links li.leaf:hover,
.page-kereses .subpage ul.facetapi-facetapi-checkbox-links li.leaf:focus {
    cursor: pointer;
}

.page-kereses .subpage ul.facetapi-facetapi-checkbox-links li.leaf,
.page-kereses .subpage ul.facetapi-facetapi-checkbox-links li.leaf a {
    font-family: Rogan-Regular;
    font-size: 16px;
    color: #444444;
}

.page-kereses .subpage ul.facetapi-facetapi-checkbox-links li.leaf {
    line-height: 24px;
}

.page-kereses .subpage ul.facetapi-facetapi-checkbox-links li.leaf::before {
    /*content: "";*/
    content: " ";

    position: relative;

    top: 5px;

    /*color: #70bc42;*/
    color: #79bf43;
    margin-right: 12px;
    width: 20px;
    height: 20px;
    background: #f3f3f3;
    display: inline-block;
    border-radius: 5px;
    border: 1px solid #d4d4d4;

    transition: all 0.1s ease;
}

.page-kereses .subpage ul.facetapi-facetapi-checkbox-links li.leaf.facetapi-active-leaf::before {
    background-color: #79bf43;
}

.page-kereses .subpage ul.facetapi-facetapi-checkbox-links li.leaf input[type="checkbox"] {
    display: none;
}

.search-page-vertical-separator {
    position: absolute;
    /* width: 2px; */
    left: 0;
    top: 0;
    height: 100%;
    left: 9px;
    /* background: #000; */
    border-right: 1px solid #e8e8e9;

    pointer-events: none;
}

.page-kereses .search-api-page-results h2 {
    /*display: none;*/
    padding-top: 15px;
    margin-top: 0;
}

.search-page-hr-below-title {
    position: relative;

    margin-top: -2px !important;
    left: -36px;

    /*width: calc(100% + 105px);*/
    width: calc(100% + 20px);
}

.page-kereses ol.search-results {
    padding: 0;
    padding-right: 45px;
}

.page-kereses ol.search-results li.search-result {
    position: relative;

    margin-top: 27px;
    padding-left: 16px;
    padding-bottom: 16px;

    border-bottom: 1px solid #e8e8e9;

    font-family: Rogan-Regular;
    font-size: 16px;
    color: #6c6c6c;
}

.page-kereses .search-result h4.title {
    /*color: #5994db;*/
    margin-bottom: 0px;
}

.page-kereses .search-result h4.title a,
.page-kereses .search-result h4.title a:hover,
.page-kereses .search-result h4.title a:focus {
    font-size: 18px;
    color: #337ab7;
}

.page-kereses #front-search-container {
    top: 166px;
    left: 0px;
}

.page-kereses #front-search-input-container .live-results-search-textfield {
    left: 0px;
}

/******************************************************************************************************/
/* pager */
ol.search-results + .text-center > ul.pagination > li.pager-first,
ol.search-results + .text-center > ul.pagination > li.prev {
    display: block;
    position: absolute;
    /*left: 0;*/
    left: 280px;
}

ol.search-results + .text-center > ul.pagination > li.prev {
    /*left: 38px;*/
    left: 318px;
}

ol.search-results + .text-center > ul.pagination > li.next,
ol.search-results + .text-center > ul.pagination > li.pager-last {
    display: block;
    position: absolute;
    /*right: 0;*/
    right: 280px;
}

ol.search-results + .text-center > ul.pagination > li.next {
    /*right: 38px;*/
    right: 318px;
}

ol.search-results + .text-center > ul.pagination > li a,
ol.search-results + .text-center > ul.pagination > li.pager-ellipsis.disabled span {
    min-width: 32px;
    height: 32px;
    line-height: 32px;

    background-color: #efefef;
    /*color: #393a39;*/
    color: rgba(57, 58, 57, 0.66);

    font-family: Rogan-Bold;
    font-size: 16px;

    padding: 0;

    text-align: center;

    border: 0;

    border-radius: 6px;

    margin: 0 3px;

    transition: all 0.5s ease;
}

ol.search-results + .text-center > ul.pagination > li:hover a,
ol.search-results + .text-center > ul.pagination > li:focus a {
    background-color: #ccc;
}

ol.search-results + .text-center > ul.pagination > li.pager-ellipsis.disabled span {
    background-color: #f8f8f8;
    color: rgba(57, 58, 57, 0.36);
}

/* disable ajax spinner thing */
ol.search-results + .text-center .ajax-progress-throbber {
    display: none;
}

ol.search-results + .text-center > ul.pagination > li.active span {
    min-width: 32px;
    height: 32px;
    line-height: 32px;

    color: rgba(255, 255, 255, 0.66);
    background-color: #71bf44;

    font-family: Rogan-Bold;
    font-size: 16px;

    padding: 0;

    text-align: center;

    border: 0;

    border-radius: 6px;

    margin: 0 3px;
}

ol.search-results + .text-center > ul.pagination > li.pager-first a {
    background: url("../images/actual/actual-pager-last-retina.png") no-repeat center center #efefef;

    background-size: 10px 12px;

    transform: scale(-1, 1);
}

ol.search-results + .text-center > ul.pagination > li.prev a {
    background: url("../images/actual/actual-pager-next-retina.png") no-repeat center center #efefef;

    background-size: 7px 12px;

    transform: scale(-1, 1);
}

ol.search-results + .text-center > ul.pagination > li.next a {
    background: url("../images/actual/actual-pager-next-retina.png") no-repeat center center #efefef;

    background-size: 7px 12px;
}

ol.search-results + .text-center > ul.pagination > li.pager-last a {
    background: url("../images/actual/actual-pager-last-retina.png") no-repeat center center #efefef;

    background-size: 10px 12px;
}

ol.search-results + .text-center > ul.pagination > li:hover a,
ol.search-results + .text-center > ul.pagination > li:focus a {
    background-color: #ccc;
}

.subpage .view-telefonkonyv ul li {
    padding-left: 0;
    text-indent: 0;
}

.subpage ol.search-results + .text-center > ul.pagination > li.pager-first {
    left: 0px;
}

.subpage ol.search-results + .text-center > ul.pagination > li.prev {
    left: 38px;
}

.subpage ol.search-results + .text-center > ul.pagination > li.next {
    right: 38px;
}

.subpage ol.search-results + .text-center > ul.pagination > li.pager-last {
    right: 0px;
}

.subpage .view-telefonkonyv ul li:before {
    content: none;
}

/* own things here */
ol.search-results + .text-center > ul.pagination > li:before {
    content: none;
}

.subpage ol.search-results + .text-center > ul.pagination li {
    padding-left: 0;
    text-indent: 0;

    margin-top: 0;
}

.subpage ol.search-results + .text-center {
    margin-top: 100px;
}

/******************************************************************************************************/
/* end for 'pager' */

@media (max-width: 1199px) {
    .search-page-hr-below-title {
        left: -14px;
        width: 100%;
    }
}

@media (max-width: 991px) {
    /*.subpage-container-main-column {*/
        /*padding-top: 30px;*/
    /*}*/

    .page-node-7955 .subpage-container-main-column {
        padding-top: 0px;
    }

	#main-menu-search #autocomplete {
		width: 100% !important;
	}
}

@media (max-width: 767px) {
    .page-kereses #front-search-container {
        top: 138px;
    }

    .search-page-categories-title {
        margin-top: 30px;
    }
}
