body {
    overflow: hidden;
}

.hidden {
    display: none;
}

.esri-view-height-less-than-medium .esri-popup__main-container {
    max-height: unset;
}
.esri-view-width-xlarge .esri-popup__main-container {
    width: unset;
}

.esri-feature__content-element.esri-feature__text {
    margin-bottom: 0.5em;
}

.esri-view-width-xlarge .esri-popup__main-container,
.esri-view-width-large .esri-popup__main-container,
.esri-view-width-medium .esri-popup__main-container {
    max-height: 400px !important;
    max-width: 400px !important;
}

.twitter-container {
    border-left: 2px solid #053163;
}
.welcome-message {
    position: absolute;
    top: 1vh;
    color: white;
}
.welcome-title {
    font-size: clamp(25px, 3vw, 30px);
    font-weight: 400;
    color: white;
    /* position: absolute; */
    padding-right: 15px;
    margin: 0;
}

.color-block {
    background: linear-gradient(180deg, rgba(14, 76, 141, 1) 0%, rgba(19, 55, 105, 1) 100%);
}
.inner {
    position: absolute;
    top: 10%;
    right: 20%;
}
container-f {
    position: relative;
}
.row {
    row-gap: 25px;
}
.disabled {
    opacity: 1;
}
.containerBox {
    position: relative;
    display: inline-block;
}
.text-box {
    position: absolute;
    height: 100%;
    text-align: center;
    width: 100%;
}
.text-box:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
h4 {
    display: inline-block;
    font-size: 20px; /*or whatever you want*/
    color: #fff;
}
.img-holder,
.disabled {
    background-color: black;
}
.block {
    display: flex;
    flex-direction: column;
    text-align: center;
}
.body-content {
    display: flex;
    align-items: center;
}
.contain-all {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.block-title {
    position: absolute;
    background-image: linear-gradient(to left, rgba(255, 0, 0, 0), #ffc107c0);
    padding-left: 10px;
}
.block-title a {
    font-weight: 500;
    color: white;
    text-decoration: none;
    font-size: clamp(15px, 1vw, 20px);
}
.map-holder {
    width: 600px;
    height: 600px;
    border-radius: 50%;
}

.Mobile {
    display: none;
}

.img-holder {
    /* display: inline-block; */
    /* vertical-align: middle; */
    -webkit-transform: perspective(5px) translateZ(0);
    transform: perspective(5px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow;
    transition-property: box-shadow;
}
.img-holder:hover {
    box-shadow: 4px 4px 4px rgba(104, 130, 235, 0.6);
}
.middle {
    width: 600px;
    align-items: center;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    bottom: 0;
    padding: 15px;
    max-height: 300px;
}
.phaseFormBox {
    position: relative;
    padding: 0.75em;
    /* width: 500px !important; */
    overflow: hidden;
    height: 13em;
    width: 45em !important;
}

.phase-form-content {
    width: 100%;
    height: 100%;
}

.phase-form-content p {
    margin-bottom: 0;
}

.phase-form-content p:not(:first-child) {
    margin-top: 0.25em;
}

.phase-picture {
    float: left;
    padding-right: 0.5em;
    width: 50%;
    height: 100%;
}

.phase-picture img {
    height: 100%;
    margin: 0 auto;
    cursor: pointer;
}

#optionsDiv {
    background-color: white;
    color: black;
    padding: 6px;
    max-width: 400px;
}
.esri-view-width-xlarge .esri-popup__main-container {
    width: 460px;
}

.mySlides {
    display: none;
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    width: 65%;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 3em;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    text-decoration: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    /* position: absolute; */
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev,
    .next,
    .text {
        font-size: 11px;
    }
}

#detourImg {
    border-radius: px;
    cursor: pointer;
    transition: 0.3s;
}

#detourImg:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modal {
    display: block;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgb(0, 0, 0);
    /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0);
    }

    to {
        -webkit-transform: scale(1);
    }
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
/* @media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
} */

html,
body,
#viewDiv {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

.fp-Video {
    border: 1px double black;
    width: 100%;
    height: 200px;
}

.display {
    width: 100%;
    height: 100%;
    display: inline-block;
}

.display > video,
object {
    width: 100%;
    height: 100%;
}

#viewDiv {
    height: 85vh;
}

#informationBox {
    position: absolute;
    background-color: white;
}

.esri-component.esri-layer-list.esri-widget.esri-widget--panel {
    max-height: 250px !important;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1700px;
    }
}

@media only screen and (max-width: 1000px) {
    .esri-ui-bottom-right.esri-ui-corner {
        display: none;
    }
}

@media only screen and (max-width: 700px) {
    .phaseFormBox {
        position: relative;
        margin-right: 0 !important;
        height: fit-content;
    }

    .phaseFormBox .description-box {
        font-size: clamp(0.7em, 2vw, 1em);
        height: auto;
    }

    .phaseFormBox .phase-picture img {
        height: auto;
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .middle {
        width: unset;
        overflow-y: overlay;
        width: 100%;
    }
    .esri-component.esri-layer-list.esri-widget.esri-widget--panel {
        height: 150px;
    }
    .esri-component.esri-layer-list.esri-widget.esri-widget--panel.phase-selection {
        width: clamp(288px, 3vw, 300px);
        height: 4.6em;
        overflow: hidden;
    }

    .project-title {
        order: 0;
        text-align: center;
    }
    .project-information {
        order: 1;
    }
    .banner-mobile {
        display: block;
    }
    /* img.img-fluid.banner-first-mobile {
        height: 6vh;
        padding-top: 1vh;
    } */
    .banner-first-mobile img {
        text-align: center;
        max-width: 100%;
        height: 6vh;
        padding-top: 1vh;
    }
    .welcome-message {
        position: absolute;
    }

    .banner-second {
        display: none;
    }
    .Mobile {
        display: block;
        width: 200px;
        margin-left: 25vw;
    }

    .banner-first {
        display: none;
    }
}

@media only screen and (max-width: 400px) {
    .phaseFormBox {
        height: auto;
    }

    .phaseFormBox h6 {
        font-size: 1em;
        font-weight: bold;
        margin-bottom: 0.35em;
    }
}
