@import url('https://fonts.googleapis.com/css?family=Raleway:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
#left-column-control-pane {
    position: relative;
    left: -60px;
    top: 180px;
}

#left-column-button-holder .button {
    text-align: center;
    width: 60px;
    height: 80px;
    font-size: 8pt;
    border: 2px #ccc solid;
    padding: 12px 1px 0 1px;
    line-height: 1.1;
    overflow-wrap: break-word;
}

#left-column-button-holder img {
    width: 30px;
}
#validation-button-holder-large {
    margin-top: 7px;
    margin-left: -6px;
    width: 733px;
    display: flex;
    justify-content: space-between;
}

.validation-comment-box {
    height: 33px;
    width: 726px;
    background-color: "#F5F5F5";
    margin-top: 5px;
    color: black;
    border-radius: 5px;
    margin-left: -3px;
    padding: 5px;
    line-height: normal;
    border-width: 2px;
    border-color: grey;
    resize: none;    
    outline: none;
}

/* Put buttons here */
.validation-button-large {
    height: 70px;
    width: 242px;
    background-color: white;
    margin-right: 2px;
    border-radius: 5px;
    border-width: 2px;
    border-color: lightgrey;
}

.validate {
    outline: none;
    border: none;
    background-color: lightgrey;
}

.validation-status-icon {
    height: 20px;
    margin-right: 2px;
}

.validation-button-large:active {
    outline: none;
    border: none;
    background-color: lightgrey;
}

.validation-button-large:focus {
    outline: none;
}

.validation-button-large:hover {
    background-color: lightgrey;
}
#modal-comment-holder, #modal-mission-holder {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    text-align: justify;
    visibility: hidden;
}

#modal-comment-background, #modal-mission-background {
    position: absolute;
    left: 0px;
    top: 0;
    background: rgba(255, 255, 255, 0.5);
    visibility: hidden;
    height: 100%;
    width: 110%;
}

#modal-mission-foreground {
    padding: 100px 20px 10px 20px;
    visibility: hidden;
}

.modal-foreground {
    top: 75px;
    left: 0;
    right: 0;
    padding: 10px;
    height: 560px;
    background: rgba(255, 255, 255, 1);
    color: rgba(80, 80, 80, 1);
    font-size: 14pt;
    position: absolute;
    min-height: 480px;
    border: 5px solid black;

    border-radius: 3px 3px 3px 3px;
    z-index: 4;
    -webkit-border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
}

.modal-foreground .button {
    width: 100%;
}

.modal-background {
    position: absolute;
    left: -60px;
    top: 0;
    background: rgba(255, 255, 255, 0.5);
    height: 100%;
    width: 110%;
}

#modal-mission-close-button {
    font-size: 24px;
    width: 40%;
    margin-right: 30%;
    margin-left: 30%;
    margin-top: 30px;
    float: right;
}

#modal-mission-instruction {
    text-align: center;
}

#modal-mission-holder {
    visibility: hidden;
}

#modal-comment-background, #modal-mission-background {
    position: absolute;
    left: 0px;
    top: 0;
    background: rgba(255, 255, 255, 0.5);
    visibility: hidden;
    height: 100%;
    width: 110%;
}

#modal-comment-box {
    background: rgba(255, 255, 255, 1);
    color: rgba(80, 80, 80, 1);
    font-size: 14pt;
    padding: 10px;
    position: relative;
    top: 35%;
    left: 5px;
    visibility: visible;
    width: 720px;
    z-index: 2;

    border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
}

#modal-comment-textarea {
    height: 100px;
    width: 100%;
    margin: 5px 0 10px 0;
    border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
}

#modal-mission-complete-holder {
    visibility: hidden;
}

#modal-mission-complete-foreground {
    visibility: hidden;
}

#modal-mission-complete-title {
    margin-top: 70px;
    text-align: center;
}

#modal-mission-complete-message {
    text-align: center;
}

#modal-mission-complete-table {
    height: 190px;
    padding-left: 175px;
}

.modal-foreground .btn-primary {
    color: white;
    background: #3182bd;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 14pt;
    opacity: 1.0;
}

.modal-foreground .btn-secondary {
    color: black;
    background: white;
    cursor: pointer;
    border: 1px solid black;
    font-size: 14pt;
    opacity: 1.0;
}

.modal-foreground .btn-loading {
    color: white;
    background: #7f7f7f;
    cursor: wait;
    border: 1px solid transparent;
    font-size: 14pt;
    opacity: 0.35;
}

.modal-foreground .blue-btn:focus {
    outline: none;
}
/* Container that holds the panorama. */
#svv-panorama-holder {
    position: absolute;
    top: 75px;
    width: 730px;
    height: 450px;
}

#svv-panorama {
    left: 0px;
    top: 0px;
    height: 440px;
    width: 720px;
}

#svv-panorama-date-holder {
    display: flex;
    justify-content: flex-start;
    height: 29px;
    position: absolute;
    bottom: 0px;
    left: 69px;
    z-index: 2;
    font-family: sans-serif;
    font-size: 15px;
    text-shadow: 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.5);
    color: white;
}

#svv-panorama-date {
    padding: 5px;
}

#gsv-info-button {
    margin-left: 4px;
    margin-top: 7px;
    height: 16px;
}

/* Black outline around GSV panorama. */
#svv-panorama-outline {
    border: 5px solid black;
    border-radius: 5px;
    position: absolute;
    left: 0px;
    top: 0px;
    /* Making the width/height of the outline slightly smaller bc there are gaps for some reason. */
    height: 449px;
    width: 729px;
}

#view-control-layer {
    position: absolute;
    width: 720px;
    height: 440px;
    left: 0;
    top: 0;
    overflow: hidden;
}

.button.label-visibility-button-on-pano {
    position: absolute;
    visibility: hidden;
    color: rgba(0,0,0,1);
    z-index: 2;
    font-size: 9px;
    height: 22px;
    width: auto;
}

#label-description-box {
    display: block;
    visibility: hidden;
    min-width: 165px;
    max-width: 260px;
    position: absolute;
    color: white;
    font-family: "Open sans";
    padding: 3px 10px;
    border-radius: 5px;
    border: white solid 2px;
    font-size: 12px;
    z-index: 1;
}

.label-description-box-line-1 {
    display: flex;
    align-items: center;
    align-content: center;
}

.severity-image {
    height: 12px;
    width: 12px;
    display: flex;
    margin-left: 5px;
}

.severity-image svg {
    fill: transparent;
}

.face-outline { stroke: white; }
.facial-feature { fill: white; }

.speed-limit-sign {
    display: none;
    width: 60px;
    height: 70px;
    padding: 3px;
    margin-top: -7px;
    margin-left: -4px;
    margin-right: -4px;
    right: 0;
    border-radius: 5px;
    position: absolute;
    z-index: 3;
    pointer-events: none;
    transform: scale(0.75);
    background: rgba(255, 255, 255, 0.75);
}

.speed-limit-sign-left {
    left: 0;
}

.speed-limit-sign[data-design-style="non-us-canada"] {
    width: 75px;
    height: 75px;
    padding: 0px;
    margin-top: -10px;
    margin-left: 10px;
    margin-right: -10px;
    border-radius: 100%;
    transform: scale(0.6);
}

.speed-limit-holder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 3px solid black;
}

.speed-limit-sign[data-design-style="non-us-canada"] .speed-limit-holder {
    border-radius: 100%;
    border: 7px solid #f7000096;
}

.speed-limit-text {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

#speed-limit {
    font-size: 30px;
    display: block;
    margin-bottom: -7px;
}
#status-current-mission-completion-bar {
    background: rgba(210,210,210,1);
    height: 14px;
    position: absolute;
    width: 190px;
}

#status-current-mission-completion-bar-filler {
    border-width: 0;
    height: 14px;
    position: absolute;
    width: 190px;
}

#status-current-mission-completion-rate {
    color: white;
    font-size: 8pt;
    width: 100px;
    padding-left: 5px;
}
#example-image-holder {
    height: 170px;
}

.example-image {
    height: 83px;
    width: 95px;
    display: inline-block;
    margin-bottom: 2px;
}

#example-image-popup-holder {
    position: relative;
    width: 215px;
    padding-bottom: 3px;
    background: black;
    visibility: hidden;
    z-index: 2;
}

#example-image-popup-description {
    color: white;
    text-align: center;
    font-size: 11px;
    margin: 0px 5px 0px 5px;
}

#example-image-popup {
    width: 205px;
    height: 175px;
    margin-left: 5px;
}

#example-image-popup-pointer {
    position:absolute;
    left: 215px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid black;
}

#example-image-popup-title {
    color: white;
    text-align: center;
}

#status-holder {
    border: 3px dotted transparent;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 735px;
    top: 31px;
    width: 200px;
    color: rgb(75, 75, 75, 1);
}

.status-box {
    border-bottom: 1px dotted #ccc;
    margin: 3px 0 15px 0;
    padding: 0 0 10px 0;
    text-align: left;
}

.status-box a {
    color: rgb(75, 75, 75, 1);
    text-decoration: underline;
}

.status-box h1 {
    font-size: 11.5pt;
    margin: 0 0 4px 0;
}

.status-box h2 {
    font-size: 9pt;
    font-weight: normal;
    margin: 1px 0 5px 1px;
}

.status-box p {
    font-size: 7pt;
    font-weight: normal;
    margin: 1px 0 5px 1px;
}

.status-column-half {
    white-space: nowrap;
    padding: 5px 5px 5px 5px;
    margin: 5px 0 5px 0;
    width: 50%;
}

.status-icon {
    width: 25px;
}
#upper-menu-holder {
    position: absolute;
    top: 0px;
    width: 730px;
    height: 75px;
}

#mission-title {
    position: absolute;
    top: 33px;
    font-size: 25px;
}

.upper-menu-button-holder {
    background: transparent;
    position: absolute;
    top: 27px;
}

#label-visibility-control-holder {
    left: 524px;
    width: 65px;
}

#zoom-control-holder {
    left: 595px;
    width: 185px;
}

.button.upper-menu-button {
    color: rgba(0,0,0,1);
    font-size: 7px;
    height: 44px;
    width: 65px;
    padding-bottom: 10px; /* Not sure why we needed this, but buttons were moving around vertically otherwise.  */
}

.button.upper-menu-button:focus {
    outline: none;
}

.button.zoom-control-button {
    margin-right: 2px;
}

.upper-menu-button-icon {
    height: 18px;
    width: 18px;
}
#svv-application-holder {
    background: rgba(255,255,255,1);
    margin: 0 auto;
    position: relative;
    height: 655px;
    width: 960px;
}

.tool-ui {
    width: 1170px; /* Used to override bootstrap .container media queries. We want to keep a consistent width. */
}

text {
    visibility: hidden;
}

.highlight-100 {
    background: rgba(255, 255, 0, 1) !important;
}

.highlight-50 {
    background: rgba(255, 255, 0, 0.5) !important;
}

.button {
    background: -moz-linear-gradient(center top , #fff, #eee);
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: rgba(96,96,96,1);
    cursor: pointer;
    font-size: 14px;
    margin-top: 3px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    width: 200px;

    border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
}

/* Pseudo-classes
* http://www.w3schools.com/css/css_pseudo_classes.asp */
.button:hover {
    background: -moz-linear-gradient(center top , #ccc, #bbb);
    background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#bbb));
    color: #333;
}

b { font-weight: bold; }
.bold { font-weight: bold; }
.normal { font-weight: normal; }
.underline { text-decoration: underline; }

.inline {
    float: left;
}

.InlineBlock {
    display: inline-block;
}

input[type="radio"] {
    height: 15px;
    width: 15px;
}

/* http://stackoverflow.com/questions/8942805/chrome-bug-cursor-changes-on-mouse-down-move */
#view-control-layer {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.5;
}
.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.mission-start-tutorial-overlay {
    position: absolute;
    height: 683px; /* We override this when using CSS zoom. */
    width: 100%;
    background: white;
    z-index: 10;
    display: none; /* Will be later set to flex by JS after rendering. */
    flex-shrink: 0;
    justify-content: flex-start;
    overflow: auto;
    flex-direction: column;

    /* Default font should be defined only here and should be overridden wherever needed. */
    font-family: 'Open Sans', sans-serif;

}

.mst-content {
    width: 1095px;
    margin: 0 auto;
}

.mst-instruction-1 {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #525252;
    margin-top: 8px;
    padding: 0 70px;
    width: 100%;
    height: fit-content;
}

.mst-instruction-2 {
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    margin: 5px 0;
    padding: 0 70px;

    color: #000000;
    width: 100%;
}

.mst-carousel {
    display: flex;
    flex-shrink: 0;
    width: 100%;
    height: 436px;
    margin-top: 10px;
}

.previous-slide-button, .next-slide-button {
    height: 100%;
    width: 30px;
    display: flex;
    fill: #C4C4C4;
    cursor: pointer;
}

.previous-slide-button:not(.disabled):hover, .next-slide-button:not(.disabled):hover {
    fill: #000000;
}

.previous-slide-button {
    margin-right: 30px;
}

.next-slide-button {
    margin-left: 30px;
}

.next-slide-button.disabled, .previous-slide-button.disabled {
    visibility: hidden;
}

.mst-slide {
    height: 100%;
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    width: calc(100% - 120px); /* subtract the next and previous slide button widths from the total */
    justify-content: space-between;
}

.mst-text-area {
    width: 290px;
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    flex-direction: column;
    position: relative;
}

.label-type-title {
    font-family: 'Raleway', 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: left;
    margin-bottom: 15px;
    padding: 0 10px;
}

.label-type-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #949494;
    padding: 0 10px;
}

.label-type-description {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-align: left;
    padding: 0 10px;
    margin-top: 10px;
}

.mission-start-tutorial-overlay-footer {
    margin-top: 15px;
    width: 100%;
}

.mission-start-tutorial-done-btn {
    height: 36px;
    width: calc(100% - 20px);
    border-radius: 7.25px;
    float: right;
    background: #F6D795;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 2s;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    margin: 0 10px;
}

.mission-start-tutorial-done-btn:hover {
    background: #ffc342;
}

@keyframes pulsate {
    0%   { transform: scale(1); }
    50%  { transform: scale(0.9); }
    50%  { transform: scale(1); }
    50%  { transform: scale(1.1); }
}

/*We can do something to get attention after the user goes through all the slides*/
.mission-start-tutorial-done-btn.focus {
    animation: pulsate;
    animation-duration: 2s;
    animation-iteration-count: 3;
    animation-delay: 1s;
}

.msts-image-area {
    width: 658px;
    height: 436px;
    float: right;
    background: lightgrey;
    display: flex;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.msts-image {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.label-on-image {
    display: none;
    position: absolute;
    background: white;
    border: 3px solid;
    border-radius: 10px;
    box-sizing: content-box;
    min-height: 80px;
    max-height: 90px;
    min-width: 160px;
    max-width: 220px;
}

/* correct/incorrect classes are added to the slide element */
.correct .label-on-image {
    border-color: #30785D;
}

/* correct/incorrect classes are added to the slide element */
.incorrect .label-on-image {
    border-color: #EB734D;
}

.label-on-image-type {
    margin: 12px 10px;
    display: flex;
    align-items: center;
}

.label-on-image-type-icon {
    height: 24px;
    width: 24px;
    fill: none;
    display: flex;
    margin-right: 3px;
}

.correct .label-on-image-type-icon {
    stroke: #30785D;
}

.incorrect .label-on-image-type-icon {
    stroke: #EB734D;
}

.label-on-image-type-title {
    display: flex;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    margin-left: 3px;
}

.correct .label-on-image-type-title {
    color: #30785D;
}

.incorrect .label-on-image-type-title {
    color: #EB734D;
}

.label-on-image-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    letter-spacing: 0;
    margin: 0 12px;
}

.example-type-area {
    display: flex;
    padding: 10px;
    margin-bottom: 20px;
    position: relative;
}

.example-type-area::after {
    background: #30785D;
    width: calc(100% - 20px);
    height: 8px;
    position: absolute;
    bottom: -6px;
    content: '';
    left: 50%;
    transform: translateX(-50%);
}

.correct .example-type-area::after {
    background: #30785D;
}

.incorrect .example-type-area::after {
    background: #EB734D;
}

.example-type-icon {
    height: 24px;
    width: 24px;
    display: inline-block;
    margin-right: 5px;
    fill: none;
}

.correct .example-type-icon {
    stroke: #30785D;
}

.incorrect .example-type-icon {
    stroke: #EB734D;
}

.example-type-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-left: 5px;
}

.correct .example-type-label {
    color: #30785D;
}

.incorrect .example-type-label {
    color: #EB734D;
}

.mst-carousel-location-indicator-area {
    height: 12px;
    width: 100%;
    padding: 5px;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mst-carousel-location-indicator {
    height: 7px;
    width: 40px;
    margin: 0 3.5px;
    background: #C4C4C4;
    transition: all 0.4s;
    border-radius: 100px;
}

.mst-carousel-location-indicator.current-location {
    background: #2C2A3D;
}

/* Explore mission screen tab bar styling */

.explore-mission-start-tab-bar {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    padding: 0 70px;
}

.explore-mission-start-tab-content {
    margin: 0 12px;
    display: flex;
    align-items: center;
}

.explore-mission-start-tab.label {
    border-radius: 4px 4px 0px 0px;
    height: 100%;
    width: 100%;
    color: #0f0f0f;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0;
    text-align: left;
    border-bottom: 3px solid #DCDBDB;
    padding: 0 3px;
    filter: saturate(0);
    transition: all 0.25s;
}

.explore-mission-start-tab.label:hover, .explore-mission-start-tab.label.active {
    filter: saturate(1);
}

.explore-mission-start-tab.label[data-label-type="CurbRamp"]:hover {
    background: rgba(144, 195, 31, 0.15);
}

.explore-mission-start-tab.label[data-label-type="NoCurbRamp"]:hover {
    background: rgba(230, 121, 182, 0.15);
}

.explore-mission-start-tab.label[data-label-type="Obstacle"]:hover {
    background: rgba(120, 176, 234, 0.15);
}

.explore-mission-start-tab.label[data-label-type="SurfaceProblem"]:hover {
    background: rgba(246, 141, 62, 0.15);
}

.explore-mission-start-tab.label[data-label-type="NoSidewalk"]:hover {
    background: rgba(190, 135, 216, 0.15);
}

.explore-mission-start-tab.label[data-label-type="Crosswalk"]:hover {
    background: rgba(250, 191, 28, 0.15);
}

.explore-mission-start-tab.label[data-label-type="Signal"]:hover {
    background: rgba(99, 192, 171, 0.15);
}


/* Selected tabs */
.explore-mission-start-tab.label[data-label-type="CurbRamp"].active {
    background: rgba(144, 195, 31, 0.15);
    border-bottom-color: #90C31F;
}

.explore-mission-start-tab.label[data-label-type="NoCurbRamp"].active {
    background: rgba(230, 121, 182, 0.15);
    border-bottom-color: #E679B6;
}

.explore-mission-start-tab.label[data-label-type="Obstacle"].active {
    background: rgba(120, 176, 234, 0.15);
    border-bottom-color: #78B0EA;
}

.explore-mission-start-tab.label[data-label-type="SurfaceProblem"].active {
    background: rgba(246, 141, 62, 0.15);
    border-bottom-color: #F68D3E;
}

.explore-mission-start-tab.label[data-label-type="NoSidewalk"].active {
    background: rgba(190, 135, 216, 0.15);
    border-bottom-color: #BE87D8;
}

.explore-mission-start-tab.label[data-label-type="Crosswalk"].active {
    background: rgba(250, 191, 28, 0.15);
    border-bottom-color: #FABF1C;
}

.explore-mission-start-tab.label[data-label-type="Signal"].active {
    background: rgba(99, 192, 171, 0.15);
    border-bottom-color: #63C0AB;
}


.explore-mission-start-tab-icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.explore-mission-start-tab-text {
    width: 70%;
    white-space: initial;
}
