/* Fonts x

/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 100;
    src: local('Lato Hairline'), local('Lato-Hairline'), url(../fonts/lato-hairline-ext.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 100;
    src: local('Lato Hairline'), local('Lato-Hairline'), url(../fonts/lato-hairline.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: local('Lato Light'), local('Lato-Light'), url(../fonts/lato-light-ext.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: local('Lato Light'), local('Lato-Light'), url(../fonts/lato-light.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/lato-regular-ext.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/lato-regular.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/lato-bold-ext.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/lato-bold.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    src: local('Lato Black'), local('Lato-Black'), url(../fonts/lato-black-ext.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    src: local('Lato Black'), local('Lato-Black'), url(../fonts/lato-black.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Icons */

@font-face {
    font-family: 'icons';
    src:  url('../fonts/icons.eot');
    src:  url('../fonts/icons.eot') format('embedded-opentype'),
        url('../fonts/icons.ttf') format('truetype'),
        url('../fonts/icons.woff') format('woff'),
        url('../fonts/icons.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icons' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-stars:before {
    content: "\e900";
}
.icon-back:before {
    content: "\e901";
}
.icon-forward:before {
    content: "\e902";
}
.icon-home:before {
    content: "\e903";
}
.icon-search:before {
    content: "\e904";
}
.icon-star:before {
    content: "\e905";
}
.icon-uturn:before {
    content: "\e906";
}

/* General */

html {
    margin: 0;
    padding: 0;
}

html body {
    margin: 0;
    padding: 0;
    background: linear-gradient(130deg, #003399, #003399);
    color: #fff;
    font-family: 'Lato', sans-serif;
    background-repeat: no-repeat;
    min-height: 100%;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 800px;
    margin:0 auto;
}

.gold {
    color: #D1AA00;
}

.gold-bar {
    border: 3px solid #D1AA00;
}

iframe {
    display: block;
    background: #000;
    border: none;
    width: 100%;
    height: 100%;
}

canvas {
    margin: 0 auto;
    display: block;
    width: 100%;
    height: auto;
}

@media only screen and (min-width: 1024px) and (max-width: 1280px) {
    .container {
        max-width: 800px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 600px;
    }
}

@media only screen and (min-width: 425px) and (max-width: 768px) {
    .container {
        max-width: 400px;
    }
}

@media only screen and (max-width: 425px) {
    .container {
        max-width: 300px;
    }
}


/* Header */
.header {
    text-align: left;
}

.header .title {
    font-size: 120px;
    margin: 0;
}

.header .logo {
    width: 20%;
    box-sizing: border-box;
    display: inline-block;
}

.header .title-wrapper {
    display: inline-block;
    vertical-align: top;
    width: 79%;
    padding-left: 50px;
    margin-bottom: 25px;
}

.header .subtitle-wrapper {
    display: block;
}

.header .subtitle-wrapper .left {
    width: 25%;
    display: inline-block;
    margin-right: 50px;
}

.header .subtitle-wrapper .right {
    width: 65%;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 3px;
    display: inline-block;
}

.header .subtitle-wrapper .left span {
    font-size: 48px;
    font-weight: 900;
}

.header .subtitle-wrapper .left .edition {
    font-size: 90px;
    margin: 0;
    font-weight: 900;
    position: relative;
}
/
/ .header .subtitle-wrapper .left .edition::before {
  /  content: 'th';
  / font-size: 48px;
  / position: absolute;
  / right: -10px;
  / top: 12px;
/ }

/ .header .subtitle-wrapper .left .edition::after {
/    content: '';
/    border-top: 8px solid #D1AA00;
/    position: absolute;
/    width: 46px;
/   bottom: 20px;
/   right: -12px;
/}

.header .logo img {
    max-height: 325px;
    width: auto;
    height: auto;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .header .logo img {
        max-height: 238px;
    }

    .header .title {
        font-size: 88px;
    }

    .header .subtitle-wrapper .left span {
        font-size: 34px;
    }

    .header .subtitle-wrapper .left .edition {
        font-size: 60px;
    }

    .header .subtitle-wrapper .left .edition::before {
        font-size: 40px;
        right: -6px;
        top: 4px;
    }

    .header .subtitle-wrapper .left .edition::after {
        border-top: 6px solid #D1AA00;
        bottom: 10px;
        right: -10px;
        width: 40px;
    }

    .header .subtitle-wrapper .right {
        width: 62%;
        font-size: 14px;
    }
}


@media only screen and (min-width: 425px) and (max-width: 768px) {
    .header .logo img {
        max-height: 175px;
    }

    .header .title-wrapper {
        padding-left: 32px;
    }

    .header .title {
        font-size: 60px;
    }

    .header .subtitle-wrapper .left {
        margin-right: 25px;
    }

    .header .subtitle-wrapper .left span {
        font-size: 23px;
    }

    .header .subtitle-wrapper .left .edition {
        font-size: 46px;
    }

    .header .subtitle-wrapper .left .edition::before {
        font-size: 22px;
        right: -6px;
        top: 6px;
    }

    .header .subtitle-wrapper .left .edition::after {
        border-top: 4px solid #D1AA00;
        bottom: 10px;
        right: -6px;
        width: 20px;
    }

    .header .subtitle-wrapper .right {
        width: 55%;
        font-size: 10px;
    }
}

@media only screen and (max-width: 425px) {
    .header .logo img {
        max-height: 131px;
    }

    .header .title-wrapper {
        padding-left: 28px;
        width: 78%;
    }

    .header .title {
        font-size: 43px;
    }

    .header .subtitle-wrapper .left {
        margin-right: 25px;
    }

    .header .subtitle-wrapper .left span {
        font-size: 17px;
    }

    .header .subtitle-wrapper .left .edition {
        font-size: 32px;
    }

    .header .subtitle-wrapper .left .edition::before {
        font-size: 18px;
        right: -4px;
        top: 4px;
    }

    .header .subtitle-wrapper .left .edition::after {
        border-top: 4px solid #D1AA00;
        bottom: 7px;
        right: -4px;
        width: 16px;
    }

    .header .subtitle-wrapper .right {
        width: 55%;
        font-size: 8px;
    }
}


/* Navigation */
.navigation {
    text-align: right;
    margin-top: 20px;
}

.navigation a {
    height: 50px;
    width: 50px;
    background-color: #f2f2f2;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 50px;
    margin-right: 5px;
    text-decoration: none;
    color: #007586;
    overflow: hidden;
}

.navigation a.search-button {
    font-size: 30px;
}

.navigation a.favorite-button {
    font-size: 14px;
}

.navigation .category-information {
    text-align: left;
}

.navigation .parent-category,
.navigation .separator,
.navigation .subcategory {
    font-size: 38px;
    font-weight: 900;
}

.navigation .separator {
    padding: 0px 10px;
}

.navigation .separator,
.navigation .subcategory {
    color: #007586;
}

.fixed-navigation {
    position: fixed;
    right: 0;
    z-index: 99999;
    width: 65px;
    background: rgba(0, 117, 134, .7);
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}

iframe + .fixed-navigation{
    right: 17px;
}

.fixed-navigation .navigation-overlay {
    background-color: #007586;
    padding: 10px;
    position: absolute;
    height: 260px;
    width: 65px;
    right: 0px;
    opacity: 0.7;
    z-index: -1;
}

.fixed-navigation a {
    height: 50px;
    width: 50px;
    background-color: #f2f2f2;
    border-radius: 50%;
    display: inline-block;
    line-height: 50px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #007586;
    text-align: center;
    font-size: 28px;
}

.fixed-navigation ul li {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

.fixed-navigation ul li:last-child a {
    margin-bottom: 0;
}

.fixed-navigation ul {
    list-style-type: none;
    padding: 15px 7px;
    margin:0;
}

.fixed-navigation a.qr-code img {
    max-width: 32px;
    width: auto;
    height: auto;
}

.fixed-navigation li.poster-title {
    margin-top: 15px;
}

.fixed-navigation a.back-button,
.fixed-navigation a.next-button,
.fixed-navigation a.qr-code {
    position: relative;
}

.fixed-navigation a.back-button .icon-back {
    display: inline-block;
    margin-top: 12px;
    margin-right: 4px;
}

.fixed-navigation a.next-button .icon-forward {
    display: inline-block;
    margin-top: 12px;
    margin-left: 4px;
}

.fixed-navigation a.qr-code img {
    display: inline-block;
    margin-top: 10px;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .navigation .parent-category,
    .navigation .separator,
    .navigation .subcategory {
        font-size: 28px;
    }
}

@media only screen and (max-width: 768px) {
    .navigation .parent-category,
    .navigation .separator,
    .navigation .subcategory {
        font-size: 18px;
    }
}

/* Content Listing */

.content .listing {
    display: inline-block;
    width: 100%;
    margin-top: 25px;
}

.content .listing .category {
    background-color: #fff;
    border-bottom-right-radius: 25px;
    width: 30.5%;
    width: calc(100% / 3 - 16px);
    padding: 8px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    min-height: 100px;
    margin: 0 20px 20px 0;
    word-break: break-all;
}

.content .listing .category h3 {
    color: #007586;
    margin: 0 0 20px;
    font-weight: 900;
	font-size: 1em;
}

.content .listing .category ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.content .listing .category li {
    margin: 0 0 10px;
}

.content .listing .category li a {
    color: #4dbcc4;
    text-decoration: none;
}

.content .listing .category li a:visited {
    color: #4dbcc4;
}

.content .listing .category li:last-child {
    margin-bottom: 0px;
}

.content .listing .poster img {
    height: auto;
    width: 100%;
}

.content .listing .poster {
    width: 24%;
    width: calc(100% / 4 - 34px);
    margin: 0 40px 60px 0;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    min-height: 100px;
}

.content .listing .poster .title {
    font-size: 12px;
}

.content .listing .poster .preview {
    position: relative;
    height: 310px;
    overflow: hidden;
}

.content .listing .poster a {
    color: #fff;
    text-decoration: none;
}

.content .listing .poster a:visited {
    color: #fff;
}

.content .listing .poster .preview .information {
    position: relative;
}

.content .listing .poster .preview .preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: .8;
    /*background: linear-gradient(130deg, #4DBCC4 5%, #007586 50%);*/
    background: #4DBCC4;
    -webkit-transform: none;
            transform: none;
    padding: 5px;
}

.content .listing .poster .preview .information p {
    margin: 0;
}

.content .listing .poster .preview .information .poster-number {
    margin: 0px 0px 15px 0px;
}

.content .listing .poster .preview .information .author {
    font-size: 16px;
}

.content .listing .poster .preview .information .author .lastname {
    font-weight: 900;
}

@media only screen and (min-width: 1280px) {

    .content .listing .category:nth-child(3n + 3) {
        margin-right: 0;
    }

    .content .listing .poster:nth-child(4n + 4) {
        margin-right: 0px;
    }

    .content .listing .poster {
        width: 24%;
        width: calc(100% / 4 - 34px);
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1280px) {
    .content .listing .category:nth-child(3n + 3) {
        margin-right: 0px;
    }
    .content .listing .poster {
        width: 20%;
        width: calc(100% / 4 - 34px);
    }

    .content .listing .poster:nth-child(4n + 4) {
        margin-right: 0px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .content .listing .category:nth-child(3n + 3) {
        margin-right: 0px;
    }
    .content .listing .poster {
        width: 28%;
        width: calc(100% / 3 - 30px);
    }

    .content .listing .poster .preview {
        height: 315px;
    }

    .content .listing .poster:nth-child(3n + 3) {
        margin-right: 0px;
    }
}

@media only screen and (max-width: 768px) {
    .content .listing .category {
        width: 46%;
        width: calc(100%  / 2 - 14px);
    }

    .content .listing .category:nth-child(2n + 2) {
        margin-right: 0px;
    }

    .content .listing .poster {
        width: 44%;
        width: calc(100% / 2 - 24px);
    }

    .content .listing .poster .preview {
        height: 225px;
    }

    .content .listing .poster:nth-child(2n + 2) {
        margin-right: 0px;
    }
}

@media only screen and (min-width: 425px) and (max-width: 768px) {
    .content .listing .poster .preview {
        height: 315px;
    }
}

/* Virtual Keyboard Extend */

body .simple-keyboard {
    color: #000;
    font-family: 'Lato', sans-serif;
}

body .simple-keyboard.hg-theme-default {
    background-color: #f2f2f2;
}

.simple-keyboard .hg-row {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
}
/* Popup */

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    -webkit-transition: opacity 500ms;
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 99999;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #4DBCC4;  
    border-radius: 5px;
	border-width: 2px;
	border-color: #FFF; 
	border-style:solid;
    width: 100%;
	
    position: relative;
    -webkit-transition: all 5s ease-in-out;
    transition: all 5s ease-in-out;
}

.popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
    position: absolute;
    top: 10px;
    right: 20px;
    -webkit-transition: all 200ms;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #fff; 
    }
.popup .close:hover {
    /* color: #4dbcc4; */
    color: rgb(255, 204, 0);
}
.popup .content {
    max-height: 60%;
    overflow: auto;
    margin-top: 50px;
}

@media screen and (max-width: 700px) {
    .box {
        width: 70%;
    }
    .popup {
        width: 90%;
    }
}


@media screen and (max-width: 400px) {
    .popup {
        width: 100%;
        margin: 10px 0px auto 0px;
    }
}

/* Search */

#search-form {
    width: 100%;
    margin-bottom: 40px;
}

#search-form .col-input:last-of-type {
    margin-right: 0;
}

#search-form .col-input2:last-of-type {
    margin-right: 0;
}

@media only screen and (min-width: 1024px) {
    #search-form .col-input {
        display: inline-block;
        width: 32.6%;
        margin-right: 10px;
        width: calc(100% / 3 - 10px);
    }
}

@media only screen and (min-width: 1024px) {
    #search-form .col-input2 {
        display: inline-block;
        width: 32.6%;
        margin-right: 10px;
        width: calc(100% / 3 - 10px);
    }
}


@media only screen and (max-width: 1024px) {
    #search-form {
        margin-bottom: 30px;
    }

    #search-form .col-input {
        display: inline-block;
        width: 100%;
        margin-bottom: 10px;

    }
	
    #search-form .col-input2 {
        display: inline-block;
        width: 100%;
        margin-bottom: 10px;

    }
	
}

#search-form .col-input input {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border: 2px solid #FFF;
    border-radius: 4px;
}
#search-form .col-input2 input {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border: 2px solid #FFF;
    border-radius: 4px;
}
