.view-events form,
.view-search form {
    background: var(--background-fernao2);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
    margin-bottom: 60px;
}

.view-events form .form--inline,
.view-search form .form--inline {
    width: 90%;
    margin: 0 auto;
}

.view-events form .form-item-title,
.view-search form .form-item-keys {
    width: 100%;
}

.view-events form .form-item-title label,
.view-search form .form-item-keys label {
    display: flex;
    justify-content: center;
    color: var(--preto-fernao);
    font-family: var(--font-family);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 36px;
    margin-bottom: 20px;
}

.view-events form .custom-form-label {
    color: var(--PRETO, #2F2E2E);
    text-align: center;
    font-family: Montserrat;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.22px;
    padding: 20px 0;
    display: block;
    clear: left;
}

.view-events form .form-item-category label {
    color: var(--PRETO, #2F2E2E);
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.2px;
    text-transform: none;
}

.view-events form .form-item-title input,
.view-search form .form-item-keys input {
    background-color: var(--branco-fernao);
    padding: 7px 15px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
}

.views-element-container .view-person.view-events .form--inline>.form-actions>input[value="Reset"],
/* .form--inline .form-actions #edit-reset, */
.view-search .form--inline .form-actions #edit-reset,
.views-element-container .view-person.view-themes .form--inline>.form-actions>input {
    background-color: var(--branco-fernao);
    color: var(--preto-fernao);
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px;
    width: auto;
    height: auto;
    padding: 10px 20px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.views-element-container .view-person.view-themes .form--inline>.form-actions>input#edit-reset {
    margin-left: 20px;
}

.views-element-container .view-person.view-events .form--inline>.form-actions>input[value="Reset"] {
    background-color: var(--branco-fernao) !important;
    color: var(--preto-fernao) !important;
    width: auto;
    height: auto;
    padding: 10px 20px;
    border: 1px solid var(--fernao-principal) !important;
}

.views-element-container .view-person.view-events .form--inline>.form-actions>input[value="Reset"]:hover,
.form--inline .form-actions #edit-reset:hover {
    background-color: var(--fernao-principal);
    color: var(--branco-fernao);
    border-color: transparent;
    opacity: 1;
}

.views-element-container .view-person.view-events .form--inline>.form-actions>input[value="Reset"]:hover {
    background-color: var(--fernao-principal) !important;
    color: var(--branco-fernao) !important;
    border-color: transparent !important;
}

body .view-themes.view-events form .select2-container {
    padding: 8px 15px;
}

.views-element-container .view-person.view-events .form--inline>.form-actions>input[value="Apply"],
.form--inline .form-actions #edit-submit-search {
    background-color: var(--fernao-principal);
    color: var(--branco-fernao);
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 23px;
}

.views-element-container .view-person.view-events .form--inline>.form-actions>input[value="Apply"] {
    background-color: var(--fernao-principal) !important;
    color: var(--branco-fernao) !important;
    position: static;
    width: auto;
    height: auto;
    padding: 10px 20px;
    border: 1px solid var(--fernao-principal) !important;
}

.form--inline .form-actions #edit-submit-search:hover {
    background-color: var(--hover-botao);
    border-color: transparent;
    opacity: 1;
}

.view-search form .form-item-type {
    width: 100%;
}

.view-search form .form-item-terms-parents,
.view-search form .form-item-field-lexical-types {
    width: 48%;
}

.view-search form .form-item-terms-parents {
    margin-right: 4%;
}

.view-search form .form-item-field-lexical-types {
    margin-right: 0;
}

.view-search form .form-item-type label,
.view-search form .form-item-terms-parents label,
.view-search form .form-item-field-lexical-types label {
    color: var(--preto-fernao);
    font-family: var(--font-family);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 12px;
}

body .view-events form .select2-container,
body .view-search form .select2-container {
    width: 100% !important;
}

body .view-events form .select2-container,
.view-search form .select2-container {
    padding: 8px 15px 0px 15px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
    background-color: var(--branco-fernao);

    background-image: url(../imgs/arrow-down.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 26px);
}

.view-events form .select2-container.select2-container--open,
.view-search form .select2-container.select2-container--open {
    background-image: url(../imgs/arrow-up.svg);
}

body .view-events form .select2-container>span>span,
body .view-search form .select2-container>span>span {
    padding-right: 67px;
    background: transparent;
}

.view-events form .select2-container--default .select2-selection--single .select2-selection__rendered,
.view-search form .select2-container--default .select2-selection--single .select2-selection__rendered {
    border: none;
    color: var(--select-inativo);
}

.view-events form .select2-container--default .select2-selection--single,
.view-search form .select2-container--default .select2-selection--single {
    border: none;
}

body .view-search .view-content .views-row .views-field-title a {
    color: var(--preto-fernao);
    font-family: var(--font-family);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px;
    text-decoration-line: underline;
}

body .view-search .view-content .views-row .views-field-title a:hover {
    color: var(--fernao-principal);
    font-style: normal;
}

body .view-search .view-content .views-row {
    margin-bottom: 30px;
}

.view-search .views-field-body .field-content {
    color: var(--preto-fernao);
    font-family: var(--font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 34px;
}

.view-search .views-field-body .field-content p:last-child {
    padding: 0;
}

body .select2-search--dropdown {
    display: none;
}

.select2-results__option,
.view-events form .select2-container--default .select2-selection--single .select2-selection__rendered,
.view-search form .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--select-inativo);
    font-family: var(--font-family);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

body .select2-container--open .select2-dropdown--below {
    border: none;
    border-radius: 0;
    box-shadow: 0px 9px 10px 0px rgba(0, 0, 0, 0.20);

}

body .select2-container--open .select2-dropdown--above {
    box-shadow: 0px -12px 10px 0px rgba(0, 0, 0, 0.20);
    border: none;
}

body .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--fernao-principal);
}

body .select2-results__option {
    padding: 8px 20px 8px 15px;
}

body .view-search form .select2-container::after {
    /*    content: '';
    width: 24px;
    height: 24px;
    background: url(../imgs/arrow-down.svg);
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(270deg);
    border: none;
    position: absolute;
    right: 25px;
    top: 16px;*/
}

body .view-search form .select2-container span {
    border: none;
}

body .select2-container--default .select2-selection--multiple,
body .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
body .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,
body .select2-container--default.select2-container--open.select2-container--above .select2-selection--single,
body .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,
body .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li.select2-selection__choice {
    color: var(--preto-fernao);
    font-family: var(--font-family);
    font-size: 15px;
    background-color: var(--select-inativo2);
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

body .select2-container--default.select2-container--open.select2-container--below::after,
body .select2-container--default.select2-container--open.select2-container--below::after,
body .select2-container--default.select2-container--open.select2-container--above::after,
body .select2-container--default.select2-container--open.select2-container--above::after {
    transform: rotate(90deg);

}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 24px;
    width: 24px;
}

.form--inline .form-actions {
    margin: 0 auto;
    padding: 30px 0 50px;
}

.pager ul {
    border: none;
}

body .view-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -ms-grid;
    display: grid;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
}

body .view-search .view-filters {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

body .view-search .view-header {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

body .view-search .view-empty {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;

}

body .view-search .view-header p:first-child {
    color: var(--fernao-principal);

    font-family: var(--font-family);
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;
    padding: 0;
}

body .view-search .view-header p:last-child {
    color: var(--preto-fernao);
    text-align: right;
    font-family: var(--font-family);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
}

body .view-search .view-content {
    webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
}

body .view-search .pager {
    webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    order: 4;
}

strong.search {
    text-decoration: underline;
}

.view-themes .shs-widget-container select {
    background-color: var(--branco-fernao);
    border: none;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.20);
}

.view-themes .shs-widget-container {
    margin-right: 25px;
}

.view-themes .shs-widget-container:last-child {
    margin-right: 0;
}

.shs-field-container {
    display: flex;
    flex-wrap: wrap;
}

.shs-widget-container {
    max-width: 30%;
    width: 100%;
}

.view-events.view-themes form .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}

@media (max-width:767px) {

    .view-search form .form-item-terms-parents,
    .view-search form .form-item-field-lexical-types {
        width: 100%;
    }

    .views-element-container .view-person.view-events .form--inline>#edit-custom-az-filter {
        left: -20px;
        width: calc(100% + 20px);
    }

    .views-element-container .view-person.view-events .form--inline>#edit-custom-az-filter .form-item-custom-az-filter input {
        height: 20px;
        width: 15px;
    }

    .views-element-container .view-person.view-events .form--inline>#edit-custom-az-filter .form-item-custom-az-filter label {
        font-size: 15px;
        line-height: 20px;
        height: 20px;
        width: 15px;
    }

    .views-element-container .view-person.view-events .form--inline>#edit-custom-az-filter .form-item-custom-az-filter:not(:last-child)::after {
        height: 20px;
    }

    .shs-field-container {
        flex-direction: column;
    }

    .view-themes .shs-widget-container {
        max-width: 100%;
        margin-bottom: 20px;
    }
}