/* quick debug fix to push image behind top vis */
#tnr2020-report-header-image {
    z-index: 0;
}

.PS-back-vis-button {
    display: block;
}
.PS-prev-button {
    display: none;
}
.PS-next-button {
    display: block;
}
.PS-forward-vis-button {
    display: none;
}

/* #mainContent {
    width: 800px;
    margin: auto;
} */

p {
    line-height: 1.8em;
}

/* tourBox */

body {
    background-color: #002736;
    color: white;
}
.tourBox1 {
    display: flex;
    width: 100%;
    background: #ddd;
    padding: 16px;
    transition: background-color 0.5s;
}

.tourBox1.active {
    /* transition-delay: 0.5s; */
    background: #54b7ae;
}

.tourBox1 .buttons {
    width: 280px;
    font-size: 12px;
}

.tourBox1 .buttons button {
    width: 60px;
    height: 30px;
    padding: 0;
    margin: 0;
}

.tourBox .text {
    display: block;
    color: white;
    padding: 8px 8px 16px 8px;
}

.viz {
    /* width: 800px; */
    /* height: 600px; */
    /* border: 1px solid red; */
    /* padding: 8px; */
}

#viz1Container {
    /* min-width: 310px;
max-width: 800px; */
    width: 100%;
    height: 400px;
    margin: 0 auto;
}

/* new code */

.tourBox {
    padding-top: 8px;
}

.PStitleBar {
    display: flex;
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
}

.tourBox .PStitleBar .PSleftButton {
    border-radius: 10px 0 0 10px;
    font-size: 0.8rem;
}
.tourBox .PStitleBar .PSrightButton {
    border-radius: 0 10px 10px 0;
    font-size: 0.8rem;
}

.tourBox .PStitleBar .PSrightButton::after {
    content: '';
    width: 6px;
    height: 6px;
    padding-left: 10px;
    margin-left: 10px;
    background-image: url(./img/chevron-white-right.svg);
    background-size: cover;
}

.tourBox .PStitleBar .PSleftButton::before {
    content: '';
    width: 6px;
    height: 6px;
    padding-left: 10px;
    margin-right: 10px;
    background-image: url(./img/chevron-white-left.svg);
    background-size: cover;
}

.tourBox.active .PStitleBar .PSrightButton::after {
    background-image: url(./img/chevron-blue-right.svg);
}

.tourBox.active .PStitleBar .PSleftButton::before {
    background-image: url(./img/chevron-blue-left.svg);
}

.PStitle {
    display: block;
    /* background: #5fd2c7; */
    width: 100%;
    margin: 0 3px 0 3px;
    padding: 10px;
}

.tourBox .PStitleBar .PShighlight {
    background: #aaa;
    color: white;
    opacity: 0.5;
}

.tourBox.active .PStitleBar .PShighlight {
    transition: all 0.5s;
    background: #54b7ae;
    color: #0b2735;
    opacity: 1;
}

.PSbutton {
    /* display: block; */
    padding: 10px 30px;
    /* background: #5fd2c7; */
}
.tourBox.active .PStitleBar .PSbutton:hover {
    background: #83d2c7;
}

.tourBox .PStitleBar .PScut-border {
    opacity: 0;
    transition: opacity 2s;
}

.tourBox.active .PStitleBar .PScut-border {
    opacity: 1;
}

.PScut-border {
    position: relative;
    display: inline-block;
    border: 5px solid #5fd2c7;
    width: 100%;
    /* height: 100%; */
    margin: 10px 110px 0 110px;
    background-color: #08212a;
}

@media only screen and (max-width: 800px) {
    .PScut-border {
        margin: 10px;
    }
}

.PScut-border::before {
    content: '';
    position: absolute;
    height: calc(100% + 10px);
    width: calc(100% - 30px);
    background-color: #08212a;
    top: -5px;
    left: 15px;
}
.PScut-border::after {
    content: '';
    position: absolute;
    height: calc(100% - 30px);
    width: calc(100% + 10px);
    background-color: #08212a;
    top: 15px;
    left: -5px;
}

.PScopyBox {
    position: relative;
    z-index: 2;
    text-align: left;
    top: 0px;
    left: 30px;
    width: calc(100% - 40px);
    color: white;
}
