html {
    position: relative;
    min-height: 100%;
}

[style*="--aspect-ratio"] > :first-child {
  width: 100%;
}
[style*="--aspect-ratio"] > img {  
  height: auto;
  vertical-align: middle;
} 
@supports (--custom:property) {
  [style*="--aspect-ratio"] {
    position: relative;
  }
  [style*="--aspect-ratio"]::before {
    content: "";
    display: block;
    padding-top: calc(50% / (var(--aspect-ratio)));
  }
  [style*="--aspect-ratio"]::after {
    content: "";
    display: block;
    padding-bottom: calc(50% / (var(--aspect-ratio)));
  }  

  [style*="--aspect-ratio"] > :first-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }  
}

body {
    background: #fff;
    font-family: 'oxygenregular', 'arial';
    margin-bottom: 110px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'bebas_neueregular';
    color: #bb5f54
}

body.home {
    background: #09549F url('../../img/blue/footer-picture.jpg') no-repeat bottom center;
}

.navbar-default {
    background-color: #09549F;
    border-color: #09549F;
}

.footer {
    background-color: #1D1D1B;
    border-color: #1D1D1B;
}

.center {
    text-align: center
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.no-left-padding {
    padding-left: 0;
}

#top-menu-bar a {
    font-family: 'bebas_neue_regularregular';
    font-size: 26px;
    padding-top: 20px;
    line-height: 19px;
    padding-bottom: 20px;
}

.menu-item .glyphicon{
    margin-right: 5px;
}
.navbar {
    min-height: 0;
}

.navbar-default .navbar-nav > li > a {
    color: #cddaea;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    color: #fff;
    background-color: #F5B831;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover{
    color: #fff !important;
    background-color: #006da6;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    border: none;
}

.navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
}

#top-menu-bar .dropdown-menu {
    border-radius: 0;
}

#top-menu-bar .dropdown-menu a {
    font-size: 18px;
    padding: 10px 20px;
}

#hero {
    border-bottom: 7px solid #fff;
}

#hero .content {
    margin: auto;
    position: absolute;
    top: 18%;
    left: 0;
    bottom: 0;
    right: 0;
    /* max-width: 80%; */
}

#hero .relative > img {
    margin-top: 50px;
}

#hero .content > div {
    text-align: center;
}

#hero .content h1 {
    font-size: 80px;
    color: #F5B831;
}

#hero .content a {
    color: #fff;
}

#hero .content p {
    color: #dfdfdf;
    font-size: 16px;
    padding: 25px 200px;
    text-transform: uppercase;
}

.hero-btn {
    display: block;
    border: 2px solid #09549F;
    background: #09549F;
    width: 100%;
    padding: 14px 0;
    margin-top: 10px;
    font-family: 'bebas_neueregular';
    font-size: 32px;
    opacity: 0.8;
}

.hero-btn:hover {
    text-decoration: none;
    border-color: #fff;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 110px;
}

.footer > div {
    padding: 0;
}

.footer-logo {
    display: inline-block;
    margin-top: 15px;
}

.footer-logo img {
    max-height: 76px;
}

#tiles {
    padding: 20px 0;
    background: #f3f3f3;
}

#tiles .tile {
    margin: 20px 0;
    position: relative;
}

#tiles .tile > a > img {
    display: inline-block;
}

#tiles .tile .title-box {
    left: 15px;
    right: 15px;
	display: block;
    padding: 10px 13px;
    color: #09549F;
    font-size: 21px;
    font-family: 'bebas_neueregular';
    background: #09549F;
    z-index: 300;
    line-height: 150%;
}

#tiles .tile .hover-title {
    display: none;
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
}

#tiles .tile .permanent-title {
	cursor: pointer;
	position: absolute;
    top: 0px;
    left: 15px;
    right: 15px;
}

#tiles .tile .hover-title, #tiles .tile .hover-title-static, #tiles .tile .permanent-title {
    background: #09549F;
    opacity: 0.8;
    z-index: 300;
    line-height: 150%;
}

#tiles .tile .hover-title span, #tiles .tile .hover-title-static span, #tiles .tile .permanent-title {
    display: block;
    padding: 10px 13px;
    color: #fff;
    font-size: 21px;
    font-family: 'bebas_neueregular';
}

#tiles .static-desc {
    margin: 10px 0 30px 0;
}

.full-row {
    margin-left: 0;
    margin-right: 0;
}

.graph-detail {
    float: left;
    margin: 15px 0;
    display: none;
    width: 100%;
}

.graph-detail {
    padding: 30px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background: #f8f8f8;
}

h2.title {
    color: #015C9F;
    font-size: 42px;
    margin: 0 0 30px 0;
    width: 85%;
}

.graph-items {
    margin-top: 30px;
    display: none;
}

ul {
    padding-left: 20px;
}

.graph-detail p, .graph-detail li {
    font-size: 1.3em;
    color: #004f72;
}

.graph-detail p {
    margin: 0 0 1.2em 0;
}

.graph-items a {
    border: 1px solid #ccc;
    padding: 10px;
    display: block;
    background: #fff;
}

.graph-items .active a {
    border: 1px solid #09549F;
}

.graph-items a:hover {
    border-color: #F5B831;
}

.close-details {
    font-size: 24px;
    color: #ccc;
    padding: 2px 10px;
    border: 1px solid #ccc;
    display: block;
}

.close-details:hover {
    color: #F5B831;
    border-color: #F5B831;
    text-decoration: none;
}

.big-img {
    padding: 40px;
    border: 1px solid #09549F;
    background: #fff;
}

.graph-detail .bottom {
    position: absolute;
    bottom: 0;

}

.half-btn {
    background: #717171;
    border: 1px solid #fff;
    border-width: 0 3px;
    overflow: hidden;
}

.half-btn:hover {
    background: #eaab74;
}

.half-btn h1 {
    font-size: 28px;
    color: #fff;
    text-align: center;
    margin-top: 16px;
}

.half-btn a {
    display: block;
    width: 100%;
    height: 100%;
}

#maps-half-btn {
    border-left: 0;
}

#pyramids-half-btn {
    border-right: 0;
}

#home-authors-container {
    padding: 35px 20px 100px;
}

#home-authors h1 {
    font-size: 30px;
    margin: 30px 0 15px;
    text-decoration: underline;
    color: #ffffff;
}

#home-authors h1.first {
    margin-top: 0;
}

#home-authors a {
    color: #F5B831;
    font-weight: bold;
    cursor: pointer;
}

#home-authors p {
    font-size: 1em;
    color: #fff;
}

#home-authors-container img {
    margin-top: 2em;
}

.graph-item.active a {
    position: relative;
}

.graph-item.active .graph-item-overlay {
    background: #004f72;
    opacity: 0.2;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.page-content {
    margin-top: 30px;
}

.site h1 {
    margin: 5px 0 20px 0;
}

.site-header {
    border-bottom: 2px solid #015C9F;
    color: #015C9F;

}

.data select {
    margin-bottom: 5px;
}

.site h1.site-header {
    margin: 40px 0;
}

.box-site .site-header {
    padding-left: 15%;
    display: inline-block;
    margin: 40px 0 50px 0;
}

.select-images-site select {
    margin-bottom: 8px;
}

.select-images-site .box {
    margin-bottom: 30px;
}

.add-new-box {
    border: 3px dashed #ccc;
    cursor: pointer;
    display: table;
    opacity: 0;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
}

.add-new-box span {
    font-size: 10em;
    text-align: center;
    color: #ccc;
    display: table-cell;
    vertical-align: middle;
}

.graph-content {
    display: none;
    overflow-y: scroll;
}

.flat-btn {
    padding: 5px 10px 2px 10px;
    text-transform: uppercase;
    color: #fff;
    font-size: 1.2em;
    border-radius: 0;
}

.btn .glyphicon {
    margin-right: 5px;
    font-size: 0.9em
}

.download-btn {
    width: 100%;
    background: #015C9F;
    border: 1px solid #015C9F;
}

.download-btn.green {
    background: #75b5d8;
    border-color: #75b5d8;
}

.download-btn:hover, .download-btn:focus {
    background: #eaab74;
    border-color: #eaab74;
}

.graph-detail .download-btn {
    border-top: none;
}

.graph-detail .download-btn:hover, .graph-detail .download-btn:focus {
    border-color: #09549F;
}

.box-site .download-btn {
    border: 1px solid #09549F;
}

.site .download-btn {
    margin-bottom: 5px;

}

.flat-btn:hover, .flat-btn:focus {
    color: #fff;
}

table thead td {
    font-weight: bold;
}

.footer-container {
    margin-top: 30px;
}

.site p {
    margin-bottom: 15px;
}

.navbar-default .navbar-toggle {
    color: #fff;
    border-color: #fff;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background: #fff;
}

.navbar-default .navbar-toggle:focus .icon-bar, .navbar-default .navbar-toggle:hover .icon-bar {
    background-color: #09549F;
}

.box-site .download-btn {
    background: #fff;
    color: #09549F;
    border-color: #09549F;
}

.box-site .download-btn:hover, .box-site .download-btn:focus {
    background: #496887;
    color: #fff;
    border-color: #496887;
}

.box-overlay {
    display: none;
    position: absolute;
    background: #496887;
    opacity: 0.9;
    color: #fff;
    text-align: center;
    font-size: 2em;
    height: 100%;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
}

.box-overlay > div {
    padding: 25% 10%;
}

#maps-site .box-overlay > div {
    padding-top: 35%;
}

.box-overlay span {
    font-size: 3em;
    margin-bottom: 0.3em;
}

a.magnify {
    display: block;
}

div.pp_default .pp_description {
    font-size: 13px !important;
    font-family: 'oxygenregular', 'arial';
    line-height: 135% !important;
    text-align: justify;
    margin: 5px 40px 10px 5px !important;
}

.box.added .download-btn {
    width: 89%;
}

.box.added .close-details {
    display: block;
}

.map-image .close-details, .box-site .download-btn {
    margin-top: 10px;
}

.map-image .close-details {
    display: none;
    font-size: 17px;
    padding-top: 5px;
    background: #fff;
    border-color: #004f72;
    color: #004f72;
}

.map-image .close-details:hover {
    border-color: #ccc;
    background: #ccc;
    color: #fff;
}

.other-img {
    border-top: none !important;
    padding-top: 5px;
}

.other-img img {
    margin-top: 5px;
}

.graph-item > div {
    text-align: center;
}

.graph-item > div img {
    display: inline-block;
}

.pp_details {
    position: absolute;
}

div.pp_default .pp_close {
    right: 30px;
    top: 10px;
}

.navbar-brand, .navbar-brand:hover {
    color: #fff !important
}

#legend .color{
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 7px;
    vertical-align: -2px;
}
#legend .pull-left{
    margin-right: 20px;
}
#legend .gray{background: #d6d6d6;}
#legend .blue{background: #6ab4d8;}
#legend .orange{background: #efa46c;}
#legend .navy-blue{background: #083e62;}

.subheader {
    color: #ef9c5f;
    font-weight: bold;
    text-transform: uppercase;
}

#tiles .tile a {
    display: block;
    padding: 10px;
    background: #fff;
    border: 1px solid #09549F;
    text-align: center;
}

@media (max-width: 500px) {
    #hero .content h1, h1 {
        font-size: 2em !important
    }

    #hero .content h1 {
        margin: 0 !important
    }

    #hero .content {
        top: 0
    }

    .hero-btn-container {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .half-btn h1 {
        font-size: 1.7em !important;
    }

    .hero-btn {
        font-size: 1em !important;
    }

    .box-overlay > div {
        padding: 20% 10%;
    }

    .box-overlay {
        font-size: 1.5em;
    }

    .download-btn, .close-details {
        font-size: 13px
    }
}

@media (max-width: 767px) {
    .site-header {
        margin: 10px 0 40px 0 !important;
    }

    body {
        margin: 60px 0 0 0;
    }

    body.home {
        margin-top: 50px;
        background-image: none;
    }

    #home-authors-container {
        padding-bottom: 20px;
    }

    table {
        margin-top: 20px;
    }

    .footer {
        position: relative;
        max-height: none;
        height: auto;
        padding-bottom: 10px;
    }

    #eu-logo {
        float: left !important;
    }

    .footer-logo {
        margin-top: 10px;
    }

    .hero-btn {
        font-size: 1.7em;
    }

    .hero-btn-container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .half-btn h1 {
        font-size: 3em;
    }

    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover,
    .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
        border-bottom: none;
    }

    #top-menu-bar .dropdown-menu a {
        color: #cddaea;
    }
    #tiles .tile p a{
        border: none !important;
        display: inline !important;
        padding: 0 !important;
        background: inherit;
    }
}

@media (min-width: 768px) {

    div.col-sm-7.five-three {
        width: 50% !important;
    }

    div.col-sm-5.five-two {
        width: 40% !important;
    }

    .centered-menu {
        text-align: center;
        height: 58px;
    }

    .centered-menu > div {
        display: inline-block;
    }
}

@media (max-width: 800px) {
    #hero .content p {
        padding: 15px 25px;
    }
}

@media (max-width: 992px) {
    .half-btn {
        border-width: 0 3px 3px;
    }

    #ranks-half-btn  {
        border-right: 0;
    }

    #data-half-btn {
        border-left: 0;
    }
}

@media (max-width: 1279px) and (min-width: 800px) {
    #hero .content p {
        padding: 25px 25px;
    }
}

@media (max-width: 1279px) {
    #hero .content h1, h1 {
        font-size: 3em
    }

    #hero .content p {
        font-size: 14px;
    }

    #hero .content {
        top: 8%
    }

    .half-btn img {
        margin: 0
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .half-btn h1 {
        font-size: 2em;
    }

    .hero-btn {
        padding: 4px 0;
    }

    #home-authors h1 {
        margin: 20px 0 10px;
        font-size: 2em;
    }

    .box-overlay {
        font-size: 1.5em;
    }

    .graph-content {
        display: block !important;
        height: auto !important;
        overflow-y: auto
    }

    .graph-detail .first.top {
        display: block !important;
    }

    .graph-detail .second.top {
        display: none;
    }

    .graph-detail .desc-col {
        height: auto !important
    }

    .hover-title {
        cursor: pointer
    }

    .graph-detail .bottom {
        position: relative
    }

    .graph-detail .top {
        margin-top: 20px
    }
}

@media (min-width: 980px) and (max-width: 1199px) {
    .graph-content {
        overflow-y: auto !important;
        display: block !important;
        height: auto !important
    }

    .graph-detail .first.top {
        display: block !important;
    }

    .graph-detail .second.top {
        display: none;
    }

    .graph-detail .desc-col {
        height: auto !important
    }

    .graph-detail .bottom {
        position: relative
    }

    .graph-detail .top {
        margin-top: 20px
    }
}

@media (min-width: 980px) and (max-width: 1279px) {
    .half-btn h1 {
        font-size: 20px;
        margin: 16px 0 0 0;
    }

    .hero-btn {
        padding: 7px 0;
    }

    #hero .content {
        top: 10%
    }

    #hero .content h1 {
        font-size: 3.5em
    }

    #hero .content p {
        padding: 25px 100px;
        font-size: 14px;
    }

    .box-overlay {
        font-size: 1.5em;
    }

    .download-btn, .map-image .close-details {
        font-size: 13px
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .half-btn h1 {
        font-size: 22px;
        margin: 20px 0 0 0;
    }
}

@media (min-width: 1400px) and (max-width: 1600px) {
    .half-btn h1 {
        font-size: 26px;
        margin: 16px 0 0 0;
    }
}

@media (min-width: 1400px) {
    #hero .content2 {
        max-width: 60%;
    }

    .box.added .download-btn {
        width: 90%;
    }
}

@media (min-width: 1800px) {
    #hero .content2 {
        max-width: 45%;
    }

    .graph-content {
        display: block;
    }
}

/* new 2022: */
@media (min-width: 768px) {
.lastboxleft {
    float:left; left: 16.5%;
}

.lastboxright {
    float:right; right: 16.5%;
}
}
