@font-face {
    font-family: "Helvetica Neue Light";
    src: url("../fonts/HelveticaNeueLight.woff2") format('woff2');
    font-display: swap
}
@font-face {
    font-family: "Helvetica Neue Black";
    src: url("../fonts/HelveticaNeueBlack.woff2") format('woff2');
    font-display: swap
}
@font-face {
    font-family: "Helvetica Neue Roman";
    src: url("../fonts/HelveticaNeueRoman.woff2") format('woff2');
    font-display: swap
}
@font-face {
    font-family: "Courier New";
    src: url("../fonts/Courier Std Medium.woff2") format('woff2');
    font-display: swap
}

:root {
    --thepopulationappeard-black: #0d0a11;
    --thepopulationappeard-dark: #262431;
    --thepopulationappeard-gray: #595e71;
    --thepopulationappeard-gray-600: rgba(235,235,235,0.6);
    --thepopulationappeard-lightgray: #ebebeb;
    --thepopulationappeard-purple: #cdb1e9;
    --thepopulationappeard-blue: #a7c7e7;
    --thepopulationappeard-orange: #efe34c;
    --thepopulationappeard-red: #f65555;
    --thepopulationappeard-green: #939f8d;
}

body {
	font-family: "Helvetica Neue Light"!important;
	scroll-behavior: smooth;
    padding: 0.1px;
    overflow-x: hidden;
}

.container {
    --bs-gutter-x: 0!important;
}

.loading-overlay {
    background: var(--thepopulationappeard-blue);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    width: 100vw;
    height: 100vh!important;
    z-index: 1090;
    transition: opacity ease 2s;
    display: flex;
    overflow: hidden;
}

#loading-overlay[aria-visible="0"] {
    opacity: 0;
}

#loading-overlay[aria-hidden="1"] {
    display: none;
}

#loading-overlay img {
    animation: bounce 3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both infinite;
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

@keyframes bounce {
    0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    }
    50% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
    }
    100% {
    -webkit-transform: scale(0.3);
            transform: scale(0.3);
    }
}

.notification {
    background: var(--thepopulationappeard-gray-600);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    width: 100vw;
    height: 100vh!important;
    z-index: 1085;
    transition: opacity ease 0.5s;
    display: flex;
    overflow: hidden;
    backdrop-filter: blur(10px);

}

.notification div {
    width: 35vw;
    height: 70vh;
    padding: 3rem;
    position: relative;
    color: white;
    display: flex;
    justify-content: center;
    align-content: center;
    background-color: black;
}

.notification div svg {
    top: 1rem;
    right: 1rem;
    color: white;
    position: absolute;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(286deg) brightness(103%) contrast(103%);
}

#notification[aria-visible="0"] {
    opacity: 0;
}

#notification[aria-hidden="1"] {
    display: none;
}

header.display {
    width: 200vw;
    height: auto;
    position: relative;
    right: 0;
    transform: translate(0%);
    margin-left: auto;
    animation: move 15s linear infinite;
    display: flex;
}

header.display .newsreport {
    width: 100vw;
    height: calc(100vw * 25 / 750); /* viewport width * image height / image width */
    background: url("../img/tpa-full.svg");
    background-size: cover;
}

@keyframes move {
    to {
    transform: translate(-50%);
    }
}

img, video, source {
    pointer-events: none;
}

nav#containSidebar {
    position: fixed;
    z-index: 1040;
    height: 100vh;
    width: auto;
}

nav .sidebar {
    height: 100vh;
    width: 100%;
    backdrop-filter: blur(20px);
    background-color: var(--thepopulationappeard-gray-600);
}

nav .sidebar li {
    text-transform: uppercase;
    font-family: "Helvetica Neue Roman";
}

#navLabel {
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
}

#navLabel.outside {
    top: 50%;
    transform: translate(0%, -50%);
    z-index: 1030;
}

#navLabel img {
    max-height: 180px;
    min-height: 35vw;
}

#navLabel label {
    height: auto;
}

#navLabel svg {
    transform: rotate(180deg);
}

#navLabel label:hover {
    fill: red;
}

nav#containSidebar {
    transition: transform .4s cubic-bezier(.45,.4,.27,1.42);
    transform: translate3d(-100%, 0, 0)!important;;
}

#sidebar:checked ~ nav#containSidebar {
    transition: transform .4s cubic-bezier(.25, .1, .25, 1);
    transform: translate3d(0%, 0, 0)!important;
}

#sidebar:checked ~ #navLabel {
    display: none;
}

#sidebar:checked ~ nav#containSidebar #navLabel svg {
    transform: rotate(0deg);
}

h1, .h1, h2, .h2, footer h6, footer .h6 {
    font-family: "Helvetica Neue Roman";
    letter-spacing: -2px;
}

footer h6, footer .h6 {
    letter-spacing: 0.5px;
    font-size: 0.9rem!important;
}

footer p, footer .p {
    font-size: 0.9rem!important;
}

h5, .h5 {
    font-family: "Helvetica Neue Light";
    font-size: 1.15rem!important;
}

.highlight {
    background-color:#FFFFFF;
    padding: 0.5rem 1rem;
}

.highlight-black {
    background-color:#000000;
    color: white;
}

.highlight-lightgray {
    background-color: var(--thepopulationappeard-lightgray);
    color: black;
}

.highlight-red {
    background-color: var(--thepopulationappeard-red);
    color: black;
}

.highlight-green {
    background-color: var(--thepopulationappeard-green);
    color: black;
}

.highlight-blue {
    background-color: var(--thepopulationappeard-blue);
    color: black;
}

.highlight-orange {
    background-color: var(--thepopulationappeard-orange);
    color: black;
}

.font-family-black {
    font-family: "Helvetica Neue Black"!important;
}

p, .p {
    margin-bottom: 0!important;
    font-size: 1rem!important;
}

.row {
    --bs-gutter-x: 0;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

#newsletter form button:hover {
    text-decoration: underline;
}

a.full-anchor:hover {
    background-color: var(--thepopulationappeard-red)!important;
}

a.full-anchor:hover p:not(.highlight) {
    color:black!important;
}

a:hover, a svg:hover {
    color: var(--thepopulationappeard-red)!important;
    fill: var(--thepopulationappeard-red)!important;
}

a:hover svg:hover {
    fill: var(--thepopulationappeard-red);
}

a:not(.full-anchor) .highlight:hover {
    background-color: var(--thepopulationappeard-red)!important;
    color: black;
}

a.disabled {
    pointer-events: none;
    color: #ccc;
}

.tpa-text-red:hover {
    color: var(--thepopulationappeard-red);
}

.text-justify {
    text-align: justify;
}

button.highlight-black:hover {
    background-color: var(--thepopulationappeard-red);
}

button {
    background-color: transparent;
    border: none;
}

.btn {
    border-radius: 0;
    text-transform: uppercase;
    padding: 0px;
}

img.wave {
    position: absolute;
    width: 110%!important;
    height: auto!important;
    z-index: 400;
    top: -10%;
    left: -6%;
    mix-blend-mode: exclusion;
}

.form-label {
    font-family: "Helvetica Neue Light";
    font-size: 90%;
}

.form-control {
    background-color: white;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid black;
    color: inherit!important;
    padding: 0.5rem;
}

.form-control:focus {
    background-color: white;
    border-color: white;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, .65)!important;
}

#newsletterLayout .form-control {
    background-color: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid black;
    padding: 0.5rem;
    width: auto!important;
}

#newsletterLayout .form-control:focus {
    background-color: white;
    border-color: white;
    box-shadow: none!important;
}

#search .search-container  {
    position: absolute;
    overflow: auto;
    bottom: 0;
    border-radius: 10px 10px 0px 0px;
    background-color: var(--thepopulationappeard-lightgray);
}


#search .search-wrapper  {
    height: 70vh;
}

#search .search-article {

}

#search .form-control {

}

#search.dots-loader {
  width: 60px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side,#000 90%,#0000);
  background: 
    var(--_g) 0%   50%,
    var(--_g) 50%  50%,
    var(--_g) 100% 50%;
  background-size: calc(100%/3) 50%;
  animation: l3 1s infinite linear;
}
@keyframes l3 {
    20%{background-position:0%   0%, 50%  50%,100%  50%}
    40%{background-position:0% 100%, 50%   0%,100%  50%}
    60%{background-position:0%  50%, 50% 100%,100%   0%}
    80%{background-position:0%  50%, 50%  50%,100% 100%}
}

#contactForm .form-control {
    border-bottom: 1px solid #ffffff;
    padding: 0;
    background-color: transparent;
}

#contactForm .form-control:focus {
    background-color: transparent;
    border-color: white;
    box-shadow: 0 4px 2px -2px rgba(255, 255, 255, .65)!important;
}

.btn-group button {
    color: inherit;
}

.btn-group button:hover, .btn-group button::after {
    color: var(--thepopulationappeard-red);
}

.btn-group button:focus {
    border: 0;
}

.dropdown-menu {
    border-radius: 0;
}

.dropdown-item:hover {
    background-color: transparent;
}

.alert p {
    font-family: "Helvetica Neue Light";
}

#carousel {
    width: 100%;
    height: 60vh;
}

#carousel > div:nth-child(n+2) {
    transform: translateX(100%);
}

#carousel div {
    transition: transform ease 1s;
}

#carousel img {
    object-fit: cover;
    height: 60vh;
    width: 100vw;
}

#news img {
    height: auto;
    aspect-ratio: 1 / 0.5;
    object-fit: cover;
    position: relative;
}

#news img.portrait {
    aspect-ratio: 0.5 / 0.5;
}

#news .categories {
    z-index: 1020;
}

#news img:hover {
    filter: blur(3px);
}

#news h5 {
    margin-bottom: 0;
}

#article img {
    object-fit: cover;
}

#article .img-fluid {
    aspect-ratio: 1 / 0.5;
}

#article .body {
    white-space: pre-line;
}

#article .body h3, #article .body h2, #article .body h1 {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.contact video {
    height: auto;
    width: 100%;
}

.contact div#contactForm, .contact#video {
    transition: ease 0.5s;
}

.contact div#contactForm[aria-visible="0"] {
    transform: translate(-200%);
}

.contact div#contactForm[aria-visible="1"] {
    transform: translate(0%);
}

.contact div#chooseSubject {
    transition: ease 0.5s;
}

.contact div#chooseSubject[aria-visible="0"] {
    opacity: 0;
}

.contact video#earth[aria-visible="0"] {
    opacity: 0;
}

.dashboard-50 {
    max-height: 52vh;
    overflow: auto;
}

.dashboard-100-header {
    width: calc(100% - 3rem);
}

.dashboard-100 {
    height: 100vh;
    max-height: 100vh;
    overflow: auto;
}

.inline__toolbar {
    opacity: 0;
}

.inline__toolbar__action:hover .inline__toolbar {
    opacity: 1;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border: solid 1px black!important;
}

.accordion-button:not(.collapsed) {
    color: white!important;
    background-color: black!important;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")!important;
}

#backToTop[aria-hidden="1"], #loadArticles[aria-hidden="1"] {
    display: none;
}

#triggerSwitchAddArticle:checked ~ form#addArticle {
    display: block;
}

#triggerSwitchAddArticle:checked ~ form#addCoverage {
    display: none;
}

#triggerSwitchAddArticle:not(:checked) ~ form#addArticle {
    display: none;
}

#triggerSwitchAddArticle:not(:checked) ~ form#addCoverage {
    display: block;
}

.video {
    display: block;
    object-fit: cover;
    max-height: 100vh;
    height: 100%;
    width: 200vw;
    left: -50%;
    position: relative;
}

.video-50 {
    max-height: 50vh;
}

.vanish {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.notices .h6 {
    margin-bottom: 1rem!important;   
}

#newsletter {
    bottom: 0;
    right: auto;
    left: auto;
    position: relative;
    width: 100vw;
    background-color: var(--thepopulationappeard-gray-600);
    backdrop-filter: blur(20px);
}

#newsletter svg {
    top: 0.5rem;
    right: 0.5rem;
    position: absolute;
}

#newsletter form input {
    border: solid;
    border-radius: 0px;
    border-width: 1px;
    border-color: black!important;
}

.accordion {
    --bs-accordion-body-padding-x: 0!important;
    --bs-accordion-body-padding-y: 0!important;
}

.tpa-w-ft {
    width: fit-content;
}

.tpa-arrow-next {
    display: none;
}

.tpa-text-bold {
    font-weight: bold;
}

.tpa-text-red {
    color: var(--thepopulationappeard-red);
}

.tpa-text-black {
    color: black!important;
}

.tpa-text-underline {
    text-decoration: underline;
}

.tpa-z-index-top {
    z-index: 1080;
}

.tpa-border-black {
    border: solid 1px black;
}

.tpa-btn-light, .tpa-btn-black {
    padding: 1rem;
    font-family: "Helvetica Neue Light";
    text-align: center;
}

.tpa-btn-light {
    background-color: white;
    color: black;
}

.tpa-btn-black {
    background-color: black;
    color: white;
}

.tpa-btn-light:hover, .tpa-btn-black:hover {
    color: var(--thepopulationappeard-red);
}

span.tpa-btn-light:hover {
    color: black;
}

span.tpa-btn-black:hover {
    color: white;
}

.tpa-bg-black { background: var(--thepopulationappeard-black); }
.tpa-bg-dark { background: var(--thepopulationappeard-dark); }
.tpa-bg-gray { background: var(--thepopulationappeard-gray); }
.tpa-bg-lightgray { background: var(--thepopulationappeard-lightgray); }
.tpa-bg-red { background: var(--thepopulationappeard-red); }
.tpa-bg-blue { background: var(--thepopulationappeard-blue); }
.tpa-bg-orange { background: var(--thepopulationappeard-orange); }
.tpa-bg-green { background: var(--thepopulationappeard-green); }

@media (min-width: 992px) {
    .gap-inline-5 .col-6:nth-child(odd), .gap-inline-5 .col-md-6:nth-child(odd) {
        padding-right: 1rem;
    }

    .gap-inline-5 .col-6:nth-child(even), .gap-inline-5 .col-md-6:nth-child(even) {
        padding-left: 1rem;
    }


    #newsletter {
        bottom: 0%;
        right: 0%;
        width: 35vw;
    }

    .sidebar {
        width: 12%;
    }

    header.display {
        animation: move 25s linear infinite;
    }

    header.display .newsreport {
        width: 100vw;
        height: calc(100vw * 25 / 750); /* viewport width * image height / image width */
    }

    .video {
        width: 100vw;
        position: static;
    }

    #navLabel img {
        min-height: 12vw;
    }

    #carousel {
        height: 100vh;
    }

    #carousel img {
        height: 100vh;
    }

    .notices li {
        text-decoration: none;
        display: inline-block; 
        padding: 0 14px; 
        position: relative;
    }

    .notices li:first-child {
        padding-left: 0;
    }

    .notices li:not(:last-child)::after {
        content: ""; 
        border: 1px solid black;
        border-width: 1px 1px 0 0;
        position: absolute; 
        right: 0; 
        top: 0; 
        height: 100%;
        margin-top: 0;
    }

    .notices .h6 {
        margin-bottom: 0!important;   
    }

    #news img {
        width: 50vw;
    }

    #article a[aria-spacer="1"] {
        padding-left: 10px;
        padding-right: 10px;
    }

    #article a[aria-spacer="0"]:has(+ a[aria-spacer="1"]), #article div[aria-wrapper="1"] > a:first-child {
        padding-right: 20px;
    }

    #article a[aria-spacer="1"] + a[aria-spacer="0"] {
        padding-left: 20px;
    }

    .tpa-arrow-next {
        display: block;
        width: 40px;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translate(0%, -50%);
    }

    .tpa-arrow-next img {
        filter: invert(100%);
    }

    nav .sidebar {
        width: 23vw;
    }

    img.wave {
        width: 80%!important;
    }
}

@media (max-width: 992px) {
    .container {
        padding-left: 2rem!important;
        padding-right: 2rem!important;
    }
}