/* SEARCH PAGE CX CSS BEGIN ============================== */
/* Empty results */
.taglib-empty-result-message.c-empty-state-animation {
     max-width: none;
     padding: 30px;
}
p.taglib-empty-result-message-description {
     font-size: 20px;
}
svg.lexicon-icon.lexicon-icon-search {
     color: var(--brand-prim-color-2, #2b7837);
}
.c-empty-state-animation::before {
     content: "";
     width: 156px;
     height: 128px;
     background-image: url(/info/documents/d/cp/ilustracao);
     background-size: contain;
     background-repeat: no-repeat;
     background-position: center;
     margin-bottom: 30px;
}

/* Search type facet */
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .custom-control-label::before {
    height: 30px;
    width: 30px;
    display: block;
    margin-bottom: 30px;
    margin-right: 16px;
    top: 0px;
}
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .custom-checkbox.custom-control {
    min-height: 4.3rem;
}
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .custom-control-label-text {
    padding-left: 0;
    font-weight: 700;
}
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .panel-title {
    font-weight: 700;
}
/* Search category facet */
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .custom-control-label::before {
    height: 30px;
    width: 30px;
    display: block;
    margin-bottom: 30px;
    margin-right: 16px;
    top: 0px;
}
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .custom-checkbox.custom-control {
    min-height: 4.3rem;
}
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .custom-control-label-text {
    padding-left: 0;
    font-weight: 700;
}
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .panel-title {
    font-weight: 700;
}

/* Search last-mod facet */
.portlet-boundary_com_liferay_portal_search_web_modified_facet_portlet_ModifiedFacetPortlet_ .panel-title {
    font-weight: 700;
}
.portlet-boundary_com_liferay_portal_search_web_modified_facet_portlet_ModifiedFacetPortlet_ .facet-value a {
    display: block;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* facets link (expande/collapse) */
.search-facet .panel-header:hover {
    text-decoration: none;
}

/* Search checkbox styling according to CP style guide */
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .custom-control-label::before,
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .custom-control-label::before {
    width: 32px;
    height: 32px;
}
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .custom-control-input~.custom-control-label::before,
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .custom-control-input~.custom-control-label::before {
    border-color: var(--brand-neutral-color-6);
    border-width: 2px;
}
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .custom-control-input:hover~.custom-control-label::before,
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .custom-control-input:hover~.custom-control-label::before {
    background-color: var(--brand-prim-color-5);
}
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .custom-control-input:checked~.custom-control-label::before,
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--brand-prim-color-5); 
}
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .custom-checkbox .custom-control-input:checked~.custom-control-label::after,
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    width: 22px;
    height: 16px;
    background-image: url(/assets/images/check.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 5px;
    top: 8px;
}
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .custom-checkbox .custom-control-input:focus-visible + .custom-control-label::before,
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .custom-checkbox .custom-control-input:focus-visible + .custom-control-label::before {
    outline: 2px solid #CB4E0B;
    outline-offset: 1px;
}
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .custom-checkbox .custom-control-input:focus-visible~.custom-control-label::after,
.portlet-boundary_com_liferay_portal_search_web_type_facet_portlet_TypeFacetPortlet_ .c-prefers-focus .custom-checkbox .custom-control-input:focus~.custom-control-label::after,
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .custom-checkbox .custom-control-input:focus-visible~.custom-control-label::after,
.portlet-boundary_com_liferay_portal_search_web_category_facet_portlet_CategoryFacetPortlet_ .c-prefers-focus .custom-checkbox .custom-control-input:focus~.custom-control-label::after {
    box-shadow: none;
}

.portlet-search-results .pagination-items-per-page {
    display: none;
}

/* Sort button */
.portlet-boundary_com_liferay_portal_search_web_internal_sort_portlet_SortPortlet_ .form-control-select.btn:hover,
.portlet-boundary_com_liferay_portal_search_web_internal_sort_portlet_SortPortlet_ .form-control-select.btn.show,
.portlet-boundary_com_liferay_portal_search_web_internal_sort_portlet_SortPortlet_ .form-control-select.btn[aria-expanded="true"] {
    background-color: var(--brand-neutral-color-2, #FAFAFA);
    border-color: #ced4da;
    color: var(--brand-neutral-color-6);
}
#clay-dropdown-menu-1 .dropdown-item {
    padding-top: 12px;
    padding-bottom: 12px;
}
#clay-dropdown-menu-1 .dropdown-item.active,
#clay-dropdown-menu-1 .dropdown-item:hover {
    background-color: var(--brand-neutral-color-3, #F2F2F2);
    color: var(--dark, #323232);
}
#clay-dropdown-menu-1 .dropdown-item-indicator-start {
    top: 50%;
    transform: translateY(-50%);
}

/* form fields */
.portlet-boundary_com_liferay_portal_search_web_internal_sort_portlet_SortPortlet_ .form-control,
.portlet-boundary_com_liferay_portal_search_web_search_bar_portlet_SearchBarPortlet_ .form-control {
    height: 48px;
}
/* Search results list */
/* item title link */
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .list-group-title[href],
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .list-group-title a[href] {
    color: var(--brand-prim-color-2, #2b7837);
}
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .list-group-title[href]:hover,
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .list-group-title a[href]:hover {
    color: var(--dark, #323232);
}
/* item date text */
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .search-results-metadata .list-group-subtext:nth-child(1) {
    font-size: 14px;
}
/* item main text */
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .search-results-metadata .list-group-subtext:nth-child(2) {
    color: var(--dark, #323232);
}
/* item download btn */
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .link-secondary {
    border-radius: 50%;
    height: 48px;
    width: 48px;
}
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .link-secondary:hover {
    background-color: var(--brand-neutral-color-5, #D8D8D8);
}
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .link-secondary:active,
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .link-secondary:visited {
    background-color: var(--brand-prim-color-5, #CFDD66);
}
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .lexicon-icon-download  {
    color: var(--brand-prim-color-2, #2b7837);
}
.portlet-boundary_com_liferay_portal_search_web_search_results_portlet_SearchResultsPortlet_ .link-secondary:hover .lexicon-icon-download {
    color: var(--dark, #323232);
}
.portlet-search-results li.list-group-item.list-group-item-flex {
    padding: 16px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--gray-300);
}
.list-group-item-flex {
    margin-bottom: 0px;
}

.list-group-item {
    border-style: none;
}

.list-group-item:last-child {
    border-bottom-style: none !important;
}

.panel.search-facet {
    box-shadow: 5px 5px 5px lightgray;
    margin: 7px 7px 14px 7px;
}
/* SEARCH PAGE CX CSS END ============================== */
