/* Resources { */

#search .fab, #search .far {
    font-size: 28px;
}

/* } Resources  */

/* HTML elements { */

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    /*background-color: #fff;*/
    background: url(../images/bg5.jpg) no-repeat fixed;
    background-size: cover;

}

pre {
    font-family: 'Roboto', sans-serif;
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

:focus {
    outline: none;
}

input {
    padding: 5px;
}

footer {
    color: #ffffff;
    padding: 10px 20px;
}

footer a {
    color: #ffffff;
}

h2 {
    color: #015293;
    font-size: 32px;
    line-height: 36px;
}

article {
    padding: 10px 30px;
}

article pre {
    color: #015293;
    font-size: 18px;
    line-height: 30px;
    text-align: justify;
}
nav{
    padding: 20px 0px;
}
/* } HTML elements */

/* IDs {*/

#search {
    right: 20px;
    top: 10px;
}

#social-icons {
    padding-bottom: 10px;
}

#social-icons i {
    color: #015293;
}

#main-search input {
    width: 130px;
    border: 1px solid #015293;
}

#top-bar {
    color: #015293;
    font-size: 32px;
    padding: 10px 20px;
}
#title-topbar {
    color: #015293;
    font-size: 32px;
    padding: 10px 20px;
}

#timeline {
    /* TODO */
}

#timeline a {
    color: #ffffff;
    padding: 15px 20px;
}
#showcase{
    background:  rgba(1,82,147, 0.5) no-repeat;
    /*background-position: 52% 50%;
    background-size: 50%;*/
    max-width: 1200px;
    width: 100%;
    height: 500px;
    margin: 30px auto 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 60px;
    box-sizing: border-box;
    position: relative;
}
#page-content {
    margin: 30px auto;
    padding: 10px 20px;
    max-width: 1200px;
    width: 100%;
    min-height: 625px
}

.museum-content {
    margin: 30px auto;
    max-width: 1200px;
    width: 100%;
}

#mask {
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1500;
}

#image-midsize img {
    cursor: pointer;
}

#image-midsize {
    max-height: 500px;
    margin: 30px 0;
    padding: 0 10px;
}

#image-details {
    padding: 10px;
}

@media only screen and (min-width: 769px) {
    #image-details {
        width: calc(50% - 30px);
    }
    #image-midsize {
        margin: 30px 0 30px 30px;
    }
}

#image-popup {
    padding: 5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    background-color: #f1f1f1;
    z-index: 2000;
}

#tags {
    margin-top: 5px;
}

#suggestions {
    top: 10px;
    right: 10px;
}

#suggestions div {
    padding: 5px;
    font-size: 16px;
}

#suggestions-form {
    padding: 10px;
    top: 43px;
    right: 1px;
    background-color: lightgray;
}


#suggestions-form input, #suggestions-form textarea {
    padding: 5px;
    margin-top: 5px;
    border: 1px solid #015293;
}

#suggestions-form input, #suggestions-form textarea:not(:last-child) {
    margin-bottom: 10px;
}

#suggestions-button {
    transition: all 0.3s;
}

#sug-post {
    padding: 5px;
}

#sug-resp {
    margin-left: 10px;
}

#pagination {
    margin-top: 20px;
}

#documents {
    padding: 0 0 0 30px;
}

#bigimg-popup {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2500;
}

#category-description {
    padding: 20px;
    border: 1px solid #1B6CAD;
}

#category-description p:not(.te-al-ri) {
    line-height: 26px;
    text-align: justify;
}

#detailed-search-form div:not(.wi-100) {
    margin-top: 10px;
    width: 200px;
}

#detailed-search-form select {
    width: 193px;
}

#detailed-search-form .button {
    padding: 10px;
}

#tags-gallery {
    padding: 20px 0 20px 10px;
}

#tags-gallery img {
    margin: 15px 10px 0 0;
}

/* } IDs */

/* Custom classes { */

.logo {
    background: url(../images/logo.png) no-repeat;
    height: 125px;
    width: 125px;
    margin: 0px 10px;
}
.showcase-item{
    width: 298px;
    height: 298px;
    border: 4px solid #fff;
    box-sizing: border-box;
    padding: 20px;
    background: #1B6CAD;
    position: relative;
}
.showcase-item span{
    position: absolute;
    color: white;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
}
.showcase-item.bg-tmodel{
    background: url(../images/showcase-bg.png) no-repeat;
    width: 550px;
    height: 500px;
    background-position: 41% 60%;
    background-size: 120%;   
    border: 0px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.showcase-image{
    width: 230px;
    height: 230px;
    margin-top: 143px;
    cursor: pointer;
    background-size: cover !important;
    background-position: center !important;
}
.showcase-item.bg-tmodel span{
    position: absolute;
    left: 49%;
    transform: translateX(-47%);
    bottom: 20px;
}
.showcase-absolute{
    position: absolute;
    bottom: 72px;
    left: 50.2%;
    transform: translateX(-49.4%);
}
.showcase-absolute .showcase-image{
    border-radius: 7px;
    width: 235px;
    height: 220px;
}
.menu-item a {
    color: #fff;
    background: url(../images/menubg.png) no-repeat;
    width: 200px;
    height: 68px;
    line-height: 68px;
    text-align: center;
    font-size: 14px;
}

/*.menu-item.current a {
    background-color: #1B6CAD;
}

.menu-item a:hover {
    background-color: #1B6CAD;
}

.menu-item:hover>.submenu {
    display: block;
}
.menu-item>div>a {
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.menu-item:first-child>div>a {
    border-left: 1px solid #ffffff;
}
*/
.submenu {
    display: none;
    left: -1px;
    width: calc(100% - 1px);
    border-left: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
}

.submenu-item {
    border-top: 1px solid #ffffff;
}

.submenu-item:last-child {
    border-bottom: 1px solid #ffffff;
}

.topbar-background {
    background-color: #f0dfc1;
}

.sponsors {
    background-color: black;
    width: 200px;
    height: 100px;
    margin-left: 30px;
}

.thumbnail-wrap {
    width: 250px;
    margin-top: 40px;
}

.thumbnail-title {
    color: #015293;
    margin-top: 5px;
}

.showcase-frame {
    padding: 20px;
    border: 4px solid #000;
    background-color: #fff;
}

.document {
    color: #015293;
    font-size: 20px;
    line-height: 30px;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.sticky-timeline {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1000;
}

.close-popup {
    right: -15px;
    top: -15px;
    cursor: pointer;
}

.close-popup i {
    color: #015293;
    background-color: #eeeeee;
    height: 30px;
    width: 30px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 29px;
}

.detail-info {
    word-wrap: break-word;
}

.tag {
    margin-top: 5px;
}

.tag a {
    color: #015293;
    padding: 10px 10px;
    background-color: #fff;
    border: 1px solid #015293;
    margin-right: 5px;
}

.button {
    background-color: #015293;
    color: #ffffff;
    border: 1px solid #015293;
    cursor: pointer;
}

.thumbnail {
    width: 250px;
    height: 250px;
    cursor: pointer;
}

.pagenumber {
    font-size: 20px;
    color: #015293;
    padding: 15px 20px;
    background-color: #ffffff;
    border: 2px solid #015293;
}

.pagenumber.current {
    color: #fff;
    background-color: #015293;
    border: 2px solid #015293;
}

.pagenumber:not(:last-child) {
    margin-right: 10px;
}

.pagenumber-between {
    font-size: 20px;
    margin-right: 10px;
    color: #015293;
}

.search-element {
    padding: 10px;
}

.input-label {
    font-size: 18px;
}

.category-title {
    font-size: 32px;
    line-height: 32px;
    border-bottom: 2px solid #1B6CAD;
    padding-bottom: 10px;
    margin: 0 0 20px;
}

.details-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.details-navigation.navigate-left {
    left: 10px;
}

.details-navigation.navigate-right {
    right: 10px;
}

.details-navigation .fa {
    font-size: 40px;
    color: #1B6CAD;
}

/* } Custom classes */

/* Margin classes { */

.mg-0 {
    margin: 0;
}

.mg-a {
    margin: auto;
}

.mg-30-0 {
    margin: 30px 0px;
}

.mg-30-a {
    margin: 30px auto;
}

.mg-page-section {
    margin-bottom: 40px;
}

.mg-page-sticky {
    margin-top: 200px !important;
}

/* } Margin classes */

/* Padding classes { */

.pd-0 {
    padding: 0;
}

.pd-10-0 {
    padding: 10px 0;
}

.pd-0-10 {
    padding: 0 10px;
}

.pd-to-30 {
    padding-top: 30px;
}

.pd-bo-15 {
    padding-bottom: 15px;
}

.pd-content {
    padding: 20px;
}

/* } Padding classes */

/* Background classes { */

.bg-cl-dark {
    background-color: #015293;
}

.bg-cl-light {
    background-color: #f0dfc1;
}

.bg-cl-content-light {
    background-color: rgba(255, 255, 255, 0.5);
}

.bg-cl-content-light2 {
    background-color: rgba(240, 223, 193, 0.7);
}

.bg-cl-white {
    background-color: #f1f1f1;
}
.bg-cl-dark-white {
    background-color: #ededed;
}

.bg-si-cv {
    background-size: cover;
}

.bg-si-co {
    background-size: contain;
}

.bg-po-ce {
    background-position: center;
}

/* } Background classes */

/* Display classes { */

.di-fx {
    display: flex;
}

.di-bl {
    display: block;
}

.di-ib {
    display: inline-block;
}

.di-no {
    display: none;
}

/* } Display classes */

/* Position classes { */

.po-ab {
    position: absolute;
}

.po-fi {
    position: fixed;
}

.po-re {
    position: relative;
}

.po-top-left {
    top: 0;
    left: 0;
}

/* } Position classes */

/* Width classes { */

.wi-100 {
    width: 100%;
}

.wi-60 {
    width: 60%;
}

.wi-25 {
    width: 25%;
}

.wi-33 {
    width: 33%;
}

.wi-50 {
    width: 50%;
}

.wi-66 {
    width: 66%;
}

.wi-75 {
    width: 75%;
}

.wi-90 {
    width: 90%;
}

.mwi-stw {
    max-width: 1200px;
}

.mwi-100 {
    max-width: 100%;
}

/* } Width classes */

/* Height {*/

.he-100 {
    height: 100%;
}

.mhe-100 {
    max-height: 100%;
}

/* } Height*/

/* Font { */

.fo-fw-600 {
    font-weight: 600;
}

/* } Font*/

/* Outline and border classes { */

.ol-no {
    outline: none;
}

.br-no {
    border: none;
}

.br-std {
    border: 1px solid #532e25;
}
.br-b-l{
    border-bottom: 1px solid rgba(255, 255, 255, 0.3)
}
.br-t-d{
    border-top: 1px solid rgba(0, 0, 0, 0.3)
}
/* } Outline and border classes */

/* Alignment {*/

.fx-ai-ce {
    align-items: center;
}

.fx-ai-fe {
    align-items: flex-end;
}

.fx-ac-fs {
    align-content: flex-start;
}

.fx-jc-fs {
    justify-content: flex-start;
}

.fx-jc-sb {
    justify-content: space-between;
}

.fx-jc-sa {
    justify-content: space-around;
}

.fx-jc-ce {
    justify-content: center;
}

.fx-jc-fe {
    justify-content: flex-end;
}

.fx-wr-wr {
    flex-wrap: wrap;
}

.fx-gr-1 {
    flex-grow: 1;
}

.fx-di-co {
    flex-direction: column;
}

.te-al-le {
    text-align: left;
}

.te-al-ce {
    text-align: center;
}

.te-al-ri {
    text-align: right;
}

.te-al-ju {
    text-align: justify;
}

/* } Alignment */

/* Other {*/

.bs-bb {
    box-sizing: border-box;
}

.z-max {
    z-index: 999;
}

.obf-co {
    object-fit: contain;
}

.ovf-y-hi {
    overflow-y: hidden
}

.ovf-au {
    overflow: auto;
}

.ovf-sc {
    overflow: scroll;
}

.ww-bw {
    word-wrap: break-word;
}

.rs-no {
    resize: none;
}

/* } Other */

/* Box Shadow { */

.bxs-bottom {
    box-shadow: 0 2px 10px 0px #000000;
}
.bxs-0-2-5{
    box-shadow: 0px 2px 5px rgba(0, 0, 0, .2);
}
/* } Box Shadow */

/* Media Queries {*/

/* } Media Queries */

/* Gabi CSS */
section#timelines{
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    max-width: 1200px;
    margin: auto;
    background:  rgba(1,82,147, 0.5) no-repeat;
}
section#timelines ul#timeline-menu{
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 0px;
}
section#timelines ul#timeline-menu a{
    color: rgba(255,255,255, 1);
    text-decoration: none;
    position: relative;
    transition: 0.5s;
    max-width: 100px;
    width: 100%;
    text-align: center;
}
section#timelines ul#timeline-menu a:hover{
    color: #9b9b9b;
    transition: 0.5s;
}
section#timelines ul#timeline-menu a:hover:before{
    background: #9b9b9b;
    transition: 0.5s;
}

section#timelines ul#timeline-menu a:before{
    width: 20px;
    height: 20px;
    content: "";
    display: block;
    transition: 0.5s;
    background: #fff;
    border-radius: 100%;
    text-align: center;
    margin: 0px auto 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}
section#timelines ul#timeline-menu a:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.4);
    top: 10px;
    left: 50%;
    z-index: -1;
}
section#timelines ul#timeline-menu a:last-child:after{
    content: none;
}

.menu-fixed {
    margin-bottom: 259px;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detailed-search div{
    display: flex;
    justify-content: center;
}

.detailed-search div:last-child input{
    margin-top: 17px;
}

.detailed-search input{
    display: block;
    width: 200px;
    padding: 10px;
    margin-bottom: 10px;
}