﻿@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400');

body[onload] #tabelaRegistoExemplaresContainer,
body[onload] .tabelaExemplaresContainer{
    max-height: unset !important;
}

body[onload] .pesquisaRegistosResultadoBibliografia {
    margin-top: 30px;
    border-top: 1px dashed #dadada;
    padding-top: 30px;
}

/*
.custom-dropdown .dropdown-toggle {
    color: #303136;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}

.custom-dropdown .dropdown-toggle .fa {
    color: #20caee;
}

.custom-dropdown .dropdown-menu {
    min-width: 100px;
    border-radius: 0;
    box-shadow: none !important;
    font-size: 16px;
    padding: 15px;
}

.custom-dropdown .dropdown-menu span {
    padding: 5px 15px;
    font-weight: 400;
}

.custom-dropdown .dropdown-menu li:first-child {
    padding-bottom: 5px;
    border-bottom: 1px solid #20caee;
}

.custom-dropdown .dropdown-menu li > a {
    font-weight: 300;
    padding: 5px 15px;
}

.custom-dropdown .dropdown-menu li:nth-child(2) > a {
    padding-top: 10px;
}

.custom-dropdown .dropdown-menu .divider {
    background: #20caee;
}

.custom-dropdown .dropdown-menu li:hover a,
.custom-dropdown .dropdown-menu li.active > a,
.custom-dropdown .dropdown-menu li.active > a:hover,
.custom-dropdown .dropdown-menu li.active > a:focus,
.custom-dropdown .dropdown-menu li:focus > a,
.custom-dropdown .dropdown-menu li:hover > a,
.custom-dropdown .dropdown-menu .open > a,
.custom-dropdown .dropdown-menu .open > a:hover,
.custom-dropdown .dropdown-menu .open > a:focus,
.custom-dropdown .dropdown-menu li a:focus,
.custom-dropdown .dropdown-menu li a:hover {
    background-color: transparent !important;
    color: #20caee;
}

.custom-dropdown .dropdown-menu li a:hover :focus {
    background: none;
}

*/

/* /Presentation Format Toogle*/
.ImportacaoResultadoFormatado > .result-content,
#fichaRegistoInfo > .result-content,
.pesquisaRegistosResultadoWrapper > .result-content {
    width: calc(100% - 115px) !important;
    min-height: 160px;
}

    .ImportacaoResultadoFormatado > .result-content digi_preview,
    #fichaRegistoInfo > .result-content digi_preview,
    .pesquisaRegistosResultadoWrapper > .result-content digi_preview {
        position: absolute !important;
        top: 8px;
        right: 8px;
    }

        .ImportacaoResultadoFormatado > .result-content digi_preview img,
        #fichaRegistoInfo > .result-content digi_preview img,
        .pesquisaRegistosResultadoWrapper > .result-content digi_preview img {
            max-height: 150px !important;
            max-width: 100px !important;
        }

.result-content {
    font-weight: 300;
    line-height: 1.5;
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .result-content {
        font-size: 14px;
    }
}

.result-content a {
    text-decoration: none;
    color: #912f6c;
}

    .result-content a:hover {
        font-weight: 400;
    }

.result-content .result-title a {
    font-size: 16px;
    /*color: #20caee;*/
}

.result-content .searchHighlight {
    font-weight: 400;
    color: #20caee;
}

.result-options {
    display: flex;
    justify-content: space-around;
}

    .result-options a {
        text-decoration: none;
    }

.result-option > span:first-child {
    font-size: 19px;
}

.result-option {
    text-decoration: none;
    margin: 10px;
    display: flex;
    /* establish flex container */
    flex-direction: column;
    /* make main-axis vertical */
    justify-content: center;
    /* align items vertically, in this case */
    align-items: center;
    /* align items horizontally, in this case */
    text-align: center;
}

    .result-option span {
        text-decoration: none;
        font-size: 14px;
        color: #303136;
        margin-left: 3px;
    }

.result-image .result-image-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #F3F3F6;
    height: 150px;
}

@media (max-width: 768px) {
    .result-image .result-image-container {
        height: 70px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .result-image .result-image-container {
        font-size: 90px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .result-image .result-image-container {
        font-size: 110px;
    }
}

.result-image .result-image-container span {
    text-align: center;
    color: #AAAEB9;
    font-size: 80px;
}

@media (max-width: 768px) {
    .result-image .result-image-container span {
        font-size: 35px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .result-image .result-image-container span {
        font-size: 52px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .result-image .result-image-container span {
        font-size: 65px;
    }
}

span.selected {
    /*color: #20caee;*/
}

.result.wideImage .result-image-container {
    height: 200px;
}

@media (max-width: 768px) {
    .result.wideImage .result-image-container {
        height: 100px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .result.wideImage .result-image-container {
        height: 140px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .result.wideImage .result-image-container {
        height: 180px;
    }
}

.result.wideImage .result-image-container span {
    font-size: 120px;
}

@media (max-width: 768px) {
    .result.wideImage .result-image-container span {
        font-size: 50px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .result.wideImage .result-image-container span {
        font-size: 75px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .result.wideImage .result-image-container span {
        font-size: 90px;
    }
}

.result-image img {
    width: 100%;
}

.result-info {
    display: flex;
}

.result-html,
.result-image {
    align-self: flex-start;
}

.result-simple .result-field:last-child {
    font-weight: 400;
}

.result-content .field {
    display: table;
    border-collapse: separate;
    border-spacing: 2px;
}

    .result-content .field .field-title,
    .result-content .field .field-content {
        display: table-cell;
    }

.result-complete .field {
    display: table;
    border-collapse: separate;
    border-spacing: 2px;
}

    .result-complete .field .field-title,
    .result-complete .field .field-content {
        display: table-cell;
    }

    .result-complete .field .field-title {
        font-weight: 500;
    }

    .result-complete .field .field-content {
        margin-left: 10px;
    }

.result-complete .author-info {
    margin-right: 5px;
    margin-left: 3px;
}

.result-isbd .header-right,
.result-isbd .header-left {
    display: inline-block;
    font-weight: 400;
    /*color: #20caee;*/
}

.result-isbd .header-right {
    float: right;
}

.result-np405 .result-header {
    /*color: #20caee;*/
    font-weight: 400;
}

.result-unimarc div > div {
    display: inline-block;
}

.result-unimarc .mfn {
    /*color: #20caee;*/
    font-weight: 400;
    font-size: 16px;
}

.result-unimarc .description {
    margin-bottom: 20px;
}

    .result-unimarc .description > div {
        margin-right: 10px;
    }

        .result-unimarc .description > div > span {
            display: inline-block;
        }

            .result-unimarc .description > div > span:first-child {
                font-weight: 400;
            }

.result-unimarc > div:not(.description):not(.mfn) > span:first-child {
    font-weight: 400;
}

#search-area {
    display: none;
}

#result-area {
    margin-left: 2%;
    margin-right: 2%;
}

.area {
    margin: 50px 0 50px 0;
}

@media (max-width: 768px) {
    .area {
        margin: 0 0 50px 0;
    }
}

.area-header {
    font-size: 16px;
    font-weight: 300;
    color: #912f6c;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .area-header {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .area-header {
        font-size: 16px;
    }
}

.area-header-small {
    font-size: 24px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .area-header-small {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .area-header-small {
        font-size: 16px;
    }
}
/* Result */
.result-info {
    text-align: left;
}

    .result-info .result-html {
        padding-left: 40px;
        width: 80%;
    }

.result-image {
    width: 18%;
}

@media (max-width: 768px) {
    .result-image {
        width: 35%;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .result-image {
        width: 22%;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .result-image {
        width: 15%;
    }
}

.result-image .result-image-container {
    height: 230px;
}

@media (max-width: 768px) {
    .result-image .result-image-container {
        height: 80px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .result-image .result-image-container {
        height: 150px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .result-image .result-image-container {
        height: 200px;
    }
}

.result-image .result-image-container span {
    font-size: 150px;
}

@media (max-width: 768px) {
    .result-image .result-image-container span {
        font-size: 50px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .result-image .result-image-container span {
        font-size: 85px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .result-image .result-image-container span {
        font-size: 110px;
    }
}

.result-options {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

    .result-options .result-option img,
    .result-options svg {
        width: 18px;
    }

    .result-options .result-option:hover svg {
        /*fill: #20caee;*/
    }

    .result-options .result-option:hover span {
        /*color: #20caee;*/
    }

.result-content {
    font-size: 14px; /*font-size: 17px;*/
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .result-content {
        font-size: 14px;
    }
}

.result-content .result-title a {
    /*font-size: 32px;*/
    line-height: 0.85;
}

.result-title {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .result-title {
        font-size: 14px;
    }
}

.result-title a:hover {
    font-weight: 300;
}

.author-info {
    /*color: #20caee;*/
}
