
body {
    line-height: normal;
}

.hidden {
    display: none;
}

/* PAGE HEADER */

.header {
    width: 100%;
    padding-bottom: 10px;
}

.header__image img {
    width: 100%;
}

/* POSTER LIST */ 

.poster-list {
    width: 100%;
    box-sizing: border-box;  
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;    
}

.poster-list__item {
    float:left;
    max-width: 25%;
    padding: 10px;
    box-sizing: border-box;    
    line-height: 1.2em;
}

.poster-list__item .item__container{
    border: 1px solid #eee;
    padding: 15px; 
    border-radius: 5px;
}


.poster-list__item .item__container:hover {
    box-shadow: 0 0 6px #6ab0de;
}

.poster-list__item .item__image {
    padding: 15px 0 10px 0;
    max-width: 100%;
    text-align: center;
}

.poster-list__item .item__image img {
    border-radius: 3px;
    box-shadow: 0 0 6px 0 #ccc;
    max-height: 400px;
    max-width: 100%;
}

.poster-list__item .item__title{
    color: #2980b9;
    font-weight: 600;
    padding: 5px 0;
    text-align: center;
}

.poster-list__item .item__authors{
    color: #333;
    font-weight: 600;
    font-size: 0.8em;
    padding: 5px 0;
    text-align: center;
}

@media (max-width: 1366px) {
    .poster-list__item {
        max-width: 25%;
    }
}

@media (max-width: 1080px) {
    .poster-list__item {
        max-width: 33%;
    }
}

@media (max-width: 768px) {
    .poster-list__item {
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .poster-list__item {
        max-width: 100%;
    }
    .poster-list__item .item__image img {
        max-height: 300px;
    }    
}

/* SEARCH BOX */

.search-box {
    position: fixed;
    top: 30px;
    right: 50px;
    padding: 10px 20px 20px 20px;
    overflow: auto;
    border: 0px solid #888;
    background-color: #2980b9;
    color: #fff;
    min-width: 650px;
    box-sizing: border-box;
    border-radius: 3px;
}

.search-box__container {
}

.search-box__field {
    margin: 5px 0;
}

.search-box__field--generic {}

.search-box__field--category {}

.search-box__field--area {}

.search-box__label {
    font-weight: 600;
    font-size: 18px;
    width: 100%;
}

.search-box__textbox {
    width: 100%;
    margin-top: 5px;
    height: 40px;
}

.search-box__select {
    margin: 5px 0;
    width: 100%;
    height: 40px;
}

.search-box__title {
    width: 100%;
    cursor: move;
    margin-top: -10px;
    padding-top: 10px;
}

.search-box__title p {
    font-size: 1.2em;
    color: #fff;
    font-weight: 600;
    margin: 3px 0 3px 0;
    text-align: center;
}

@media (max-width: 1200px) {
    .search-box {
        width: 100%;
        position: fixed;
        left: 0;
        right: 0;
        top: initial;
        bottom: 0;
        border: 0;
        min-width: initial;  
        border-radius: 0;     
        padding-bottom: 40px; 
    }

    .search-box__field {
        margin: 10px 0;
    }

    .search-box__select {
        margin: 5px 0;
    }

}

/* NO POSTER FOUND */

.no-poster-found {
    padding: 30px 10px;
}

.no-poster-found-text {
    font-size: 1.2em;
    font-weight: 600;
}

/* POSTER FULL SCREEN */

.poster__info--full-size {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;    
    text-align: center;
}

.poster__info--full-size .poster__container{
    padding: 10px; 
    border-radius: 0px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.poster__info--full-size .poster__title{
    color: #2980b9;
    font-weight: 600;
    padding: 5px 0;
    font-size: 1.6em;
    text-align: center;
    display: none;
}

.poster__info--full-size .poster__authors{
    color: #333;
    font-weight: 600;
    padding: 5px 0;
    font-size: 1.3em;    
    text-align: center;    
    display: none;
}

.poster__info--full-size .poster__image {
    padding: 15px 0 20px 0;
    max-width: 1024px;
    margin: 0 auto;    
    text-align: center;
}

.poster__info--full-size .poster__image img {
    border-radius: 3px;
    box-shadow: 0 0 6px 0 #ccc;
    max-width: 100%;
}

/* NAVBAR MENUS */

.poster__navbar--top {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    background-color: #f2f2f2;
}

.poster__navbar--bottom {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background-color: #f2f2f2;
}

.poster__menu {
    text-align: center;
    padding: 10px;
    margin: 10px 0;
}

.poster__menu .poster__button {
    border: 0;
    padding: 5px 14px;
    background-color: #2980B9;
    color: #fff;
    border-radius: 3px;
    font-size: 1.2em;
    line-height: 1.3em;
}

.poster__menu .poster__button:hover {
    background-color: #333;
}

.poster__menu .poster__button.selected {
    background-color: #333;
}

.poster__menu .poster__button.poster__button--page {
    border-radius: 20px;
    font-size: 1.1em;
}

.poster__menu--top {
    position: relative;
    display: none;
}

.poster__menu--bottom {
    position: relative;
    overflow: auto;
}

.poster__menu-item--nav-buttons {
    float: none;
}

.poster__menu-item--back {
    display: inline;
    margin: 0;
}

.poster__menu-item--prev {
    display: inline;
    margin-right: 10px;
}

.poster__menu-item--next {
    display: inline;    
    margin-left: 10px;
}

.poster__button--prev.disabled, .poster__button--next.disabled {
    background-color: #ccc;
}

.poster__button--prev.disabled:hover, .poster__button--next.disabled:hover {
    background-color: #ccc;
}

.poster__menu-item--pages {
    position: absolute;
    top: 10px;
    right: 10px;
    padding-right: 30px;
}

.poster__menu-item--download {
    display: inline;
    display: none;
}

.poster__menu-item--zoom {
    position: absolute;
    top: 10px;
    left: 10px;
    padding-left: 10px;
}

.poster__menu-item--zoom button {
    cursor: pointer;
    border: 0;
    padding: 5px 5px;  
    background-color: transparent; 
    background-color: #2980B9;
    color: #fff;    
    border-radius: 3px;
    margin-right: 5px;
}

@media (max-width: 1024px) {
    .poster__info--full-size .poster__title{
        font-size: 1.4em;
    }

    .poster__info--full-size .poster__authors{
        font-size: 1.2em;    
    }

}

@media (max-width: 768px) {
    .poster__info--full-size .poster__title{
        font-size: 1.2em;
    }

    .poster__info--full-size .poster__authors{
        font-size: 1em;    
    }

    .poster__menu--top {
        margin-bottom: 0;
        padding-bottom: 0;
    }    

    .poster__info--full-size .poster__image {
        padding: 15px 0 10px 0;
    }

    .poster__menu-item--pages {
        padding-right: 10px;
    }

}

@media (max-width: 480px) {
    .poster__info--full-size .poster__title{
        font-size: 1em;
    }

    .poster__info--full-size .poster__authors{
        font-size: 0.9em;    
    } 

    .poster__menu-item--zoom {
        padding-left: 0px;
    }

    .poster__menu-item--nav-buttons {
        float: right;
    }
   
}

@media (min-height: 1600px) {
    .poster__info--full-size .poster__image {
        width: 100%;
    }
}

/* LANG MENU */

.lang-menu {
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #f2f2f2;
}

.lang-menu__item {
    float: left;
    padding: 15px 15px;
}

.lang-menu__item-container {
    min-width: 30px;   
    text-align: center;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 600;
}

.lang-menu__item a {
    padding: 3px 6px 4px 6px;  
    text-decoration: none;
    color: #2980B9;
}

.lang-menu__item a:hover {
    background-color: #2980B9;
    color: #fff;
    border-radius: 20px;
}

.lang-menu__item a.selected {
    background-color: #333;
    color: #fff;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .lang-menu__item {
      font-size: 1em;  
    }

    .lang-menu__item a {
        padding: 5px;   
        text-decoration: none;
    }    
}

/* KEYBOARD */

.keyboard {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 5px 0;
    background: #1d5a81;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    user-select: none;
    transition: bottom 0.4s;
}

.keyboard--hidden {
    bottom: -100%;
}

.keyboard__keys {
    text-align: center;
}

.keyboard__key {
    height: 45px;
    width: 6%;
    max-width: 90px;
    margin: 3px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.05rem;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: top;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.keyboard__key:active {
    background: rgba(255, 255, 255, 0.12);
}

.keyboard__key--wide {
    width: 12%;
}

.keyboard__key--extra-wide {
    width: 36%;
    max-width: 500px;
}

.keyboard__key--activatable::after {
    content: '';
    top: 10px;
    right: 10px;
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
}

.keyboard__key--active::after {
    background: #08ff00;
}

.keyboard__key--dark {
    background: rgba(0, 0, 0, 0.25);
}


/* SIZE */

.fa-size-xs {
    font-size: 16px;
}
.fa-size-s {
    font-size: 20px;
}
.fa-size-m {
    font-size: 26px;
}
.fa-size-l {
    font-size: 36px;
}