/* header 1 */

#header-1 .navBar nav ul {
    gap: 1em;
}

#header-1 .navBar nav ul:first-child>li {
    background-color: var(--color-box-background);
    padding: 0.25em;
}

#header-1 .navBar {
    background-color: unset;
    flex-basis: 60%
}

#header-1 .navBar nav ul li a {
    line-height: 0;
}

#header-1 #search form {
    margin: 0;
}

#header-1 {
    margin-top: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header-1 #search {
    top: unset;
}

#header-1 #search #search-form input[type="text"] {
    border-radius: 1em;
}

#title a img {
    flex-basis: 30%;
    object-fit: cover;
}

header#header-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color: var(--background-header);
}

#header-1 h1#title {
    flex: 1;
    flex-basis: 20%;
}


/* Header nº2 */

header#header-2 {
    display: flex;
    /* background-color: var(--background-header);*/
    align-items: center;
    justify-content: center;
}

header#header-2 ul.navigation {
    display: flex;
    flex-direction: column;
}

header#header-2 div#search {
    flex-basis: 20%;
    all: initial;
}

#header-2 h1#title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 30%;
}

#header-2 h1#title a {
    display: flex;
    flex-direction: row-reverse;
}

#header-2 .navBar {
    flex-basis: 50%;
}


/* Header 3 */

header#header-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#header-3 h1#title {
    flex-basis: 20%;
}


/* header 4 */

#header-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
}

#header-4 img.background {
    width: 100%;
    height: 20em;
    object-fit: cover;
    min-width: 15em;
}

#header4-wrapper h1#title {
    flex-basis: 20%;
}

#header4-wrapper .navBar {
    flex-basis: 60%;
}

#header4-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.25em;
}


/* footer1 */

footer#footer_1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.row1,
.row2 {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-direction: row;
}

.row1 ul,
.row2 ul {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    list-style: none;
    padding: 1em;
    width: 100%;
    padding: 0
}


/* footer 2 */

footer#footer-2 img {
    max-width: 14em;
    height: 3.5em;
    border-radius: 0.5em;
}

footer#footer-2 .section2 {
    width: 100%;
}

footer#footer-2 .section2 ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2em;
    list-style: none;
}

footer#footer-2 {
    background-color: var(--main-box-color);
}

footer#footer-2 .section1 {
    display: flex;
    flex-direction: row;
    width: 100%;
}

footer#footer-2 .section1 ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    list-style: none;
}


/* Footer 4 */

footer#footer-4 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 2em;
}

#footer-4 .section1 {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

#footer-4 .section1 img {
    width: 20%;
    min-width: 10em;
}

#footer-4 .section1 img {
    width: 20%;
    object-fit: contain;
    height: 5em;
}

#footer-4 .section1 .subsection1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-basis: 70%;
    width: 100%;
}

#footer-4 .section1 .subsection1 ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    list-style: none;
    gap: 1em;
    width: 100%;
}


/* search advanced models */


/* reduced*/

.template-advanced-search-3-reduced .advanced-search-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    background: unset;
}

.template-advanced-search-3-reduced .advanced-search-content .field {
    background: unset;
}

.template-advanced-search-3-reduced .advanced-search-content>div {
    background: unset;
}

.template-advanced-search-3-reduced .advanced-search-content .field {
    flex-basis: 50%;
}


/* Item show 1 */

.itemShow-1.section1 {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.itemShow-1.section1 .media-embeds {
    min-width: 15em;
    width: 40%;
}

.itemShow-1.section2 {
    flex-basis: 60%;
}

.itemShow-1.section1 .descriptionTemplate {
    width: 30%;
    flex-basis: 30%;
    display: flex;
    flex-direction: column;
}


/* Item show 2 */

.itemShow-2.section1 {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
}

.itemShow-2.section1 .media-embeds {
    width: 60%;
}

.itemShow-2.section1 .descriptionTemplate {
    width: 30%;
    flex-basis: 30%;
    display: flex;
    flex-direction: column;
}


/* item show 4 */

.itemShow-4.section1 {
    display: flex;
    flex-direction: row;
    gap: 2em;
    flex-wrap: wrap;
}

.itemShow-4 .media-embeds {
    width: 40%;
}

#search,
#search-form input[type="text"] {
    background-color: unset!important;
}

#search-form input[type="text"] {
    border: 0;
    padding-left: 60px;
    border-radius: 0;
    border: 1px solid var( --color-box-background);
    background: white;
}

.item.resource.itemBrowse1Resources.small {
    flex-basis: 20%;
    min-width: 10em;
    height: auto;
    min-height: unset;
    margin-bottom: 2em;
}

span.row-count {
    order: -1;
}

a.previous.o-icon-prev.button {
    order: -1;
}

.annotations-wrapper {
    border-left: 0.15em solid rgb(139, 139, 139);
    margin-left: 1em;
}

.annotations-wrapper dt {
    display: none;
}

.annotations-wrapper dl {
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    display: flex;
}

.annotations-wrapper dd {
    margin: 0.25em;
}