#slidecontainer {
    width: 98%;
}

input[type=range].govukstyleslider {
    width: 100%;
    margin: 12.5px 0;
    background-color: transparent;
    -webkit-appearance: none;
  }
  input[type=range].govukstyleslider:focus {
    outline: none;
  }
  input[type=range].govukstyleslider::-webkit-slider-runnable-track {
    background: #00663d;
    border: 0.2px solid #010101;
    border-radius: 1.3px;
    width: 100%;
    height: 11px;
    cursor: pointer;
  }
  input[type=range].govukstyleslider::-webkit-slider-thumb {
    margin-top: -12.7px;
    width: 16px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 3px;
    cursor: pointer;
    -webkit-appearance: none;
  }
  input[type=range].govukstyleslider:focus::-webkit-slider-runnable-track {
    background: #00804c;
  }
  input[type=range].govukstyleslider::-moz-range-track {
    background: #00663d;
    border: 0.2px solid #010101;
    border-radius: 1.3px;
    width: 100%;
    height: 11px;
    cursor: pointer;
  }
  input[type=range].govukstyleslider::-moz-range-thumb {
    width: 16px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 3px;
    cursor: pointer;
  }
  input[type=range].govukstyleslider::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 13.5px 0;
    color: transparent;
    width: 100%;
    height: 11px;
    cursor: pointer;
  }
  input[type=range].govukstyleslider::-ms-fill-lower {
    background: #004d2e;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
  }
  input[type=range].govukstyleslider::-ms-fill-upper {
    background: #00663d;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
  }
  input[type=range].govukstyleslider::-ms-thumb {
    width: 16px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 0px;
    /*Needed to keep the Edge thumb centred*/
  }
  input[type=range].govukstyleslider:focus::-ms-fill-lower {
    background: #00663d;
  }
  input[type=range].govukstyleslider:focus::-ms-fill-upper {
    background: #00804c;
  }
  /*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
  how to remove the virtical space around the range input in IE*/
  @supports (-ms-ime-align:auto) {
    /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
    input[type=range].govukstyleslider {
      margin: 0;
      /*Edge starts the margin from the thumb, not the track as other browsers do*/
    }
  }

  input[type=range][orient=vertical]
{
    /* margin-top: 90px; */
    /* margin-left: 60px; */
    padding-top: 98px;
    transform: rotate(270deg);
    -moz-transform: rotate(270deg); /*do same for other browsers if required*/
}
    

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 3000;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

.map-full-html {
    height: 100%;
}

.map-full-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#map-full {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.map-full-wrapper {
    display: flex;
    min-height: 450px;
    flex: 1;
    margin-top: 5px;
}

#map-full-top {
    padding: 0px 10px;
}

.side-panel-container {
    /* padding-top: 10px; */
    /* padding-left: 10px;
    padding-right: 10px; */
    /* overflow: auto; */
    flex-shrink: 0;
    width: 600px;
    border-right: 1px solid #bbb;
    position: relative;
}

.side-panel-right-container {
    width: 450px;
    border-left: 1px solid #bbb;
}

.map-side-flex {
    display: flex;
    flex-direction: column;
}

/* .side-panel-overflow tbody>tr:hover,
.side-panel-overflow p:hover {
    background-color: #eee;
}

.side-panel-overflow tbody>tr,
.side-panel-overflow p {
    cursor: pointer;
}

.side-panel-overflow tbody>tr>td:first-child,
.side-panel-overflow thead>tr>th:first-child {
    padding-left: 10px;
}

.side-panel-overflow tbody>tr>td:last-child,
.side-panel-overflow thead>tr>th:last-child {
    padding-right: 10px;
}

.side-panel-overflow tbody>tr.selected, 
.side-panel-overflow p.selected {
    background-color: #ccc;
}

.side-panel-overflow>table {
    display: block;
    font-size: small;
} */

.side-panel-overflow {
    overflow: auto;
    margin-bottom: 100px;
}

.side-panel-overflow-inset {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.side-panel-overflow-full {
    margin-bottom: 0px !important
}

.side-panel-right-overflow {
    overflow: auto;
    margin-bottom: 100px;
}

.side-panel-right-overflow-inset {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.side-panel-right-overflow-full {
    margin-bottom: 0px !important
}


@media(max-width: 640px) {
    .map-full-html,
    .map-full-body {
        height: unset;
        display: block;
        flex-direction: unset;
    }
    .map-full-wrapper {
        flex-direction: column-reverse;
    }
    #map-full {
        height: 450px;
    }
    #side-panel-bottom {
        position: inherit !important;
        width: auto !important;
    }
    .side-panel-container {
        width: auto;
        border-right: none;
        border-top: 5px solid #00aeef
    }
    .side-panel-right-container {
        border-top: unset !important;
        border-bottom: 5px solid #00aeef;
    }

    .side-panel-overflow {
        overflow-y: auto;
        margin-bottom: 160px;
    }

    .side-panel-overflow>table {
        font-size: unset;
    }

    .side-panel-overflow-footer {
        border-top: unset !important;
        background-color: unset !important;
    }

    .side-panel-overflow-footer-left {
        all: unset !important;
    }
    
    .side-panel-overflow-footer-right {
        all: unset !important;
    }
    
}
/* 
label {
    position:relative;   
    cursor:pointer;
}
label [type="checkbox"] {
    display:none;
}
[type="checkbox"] + span {
    display:inline-block;
    padding:1em;
}
:checked + span {
    background:#0f0;
    display:inline-block;    
}
[type="checkbox"][disabled] + span {
    background:#f00;  
} */

/* buttons */
/* .question-buttons {
    display: contents !important;
} */

/* .question-buttons label [type="checkbox"] {
    display:none !important;
} */

/* .question-buttons label {
    border: 1px solid #0b0c0c;
    padding: 3px 3px 3px 3px !important;
    margin: 2px;
} */


/* .govuk-checkboxes__label.selected {
    background-color: #00663D !important;
} */
/* .question-buttons [type="checkbox"] + span {
    padding: 5px;
    /* background-color: #ffffff; */
    /* color: #0b0c0c; */
    /* border: 1px solid #0b0c0c; */
    /* box-shadow: 0 2px 0 #6f777b; */
    /* box-shadow: 0 0px 0; */
/* } */ 
/* 
.question-buttons :checked + span {
    /* background-color: #00663D; */
    /* color: #ffffff; */
    /* box-shadow: 0 2px 0 #001a0f; */
    /* box-shadow: 0 0px 0; */
/* } */

.question-buttons {
    display: inline-block;
    padding: 5px;
    background-color: #ffffff;
    color: #0b0c0c;
    border: 1px solid #0b0c0c;
    /* box-shadow: 0 2px 0 #6f777b; */
    box-shadow: 0 0px 0;
    cursor: pointer;
}

.question-buttons.selected {
    background-color: #00663D !important;
    color: #ffffff !important;
}

.question-buttons-answers {
    display: inline-block;
    padding: 5px;
    background-color: #ffffff;
    color: #0b0c0c !important;
    border: 1px solid #0b0c0c;
    /* box-shadow: 0 2px 0 #6f777b; */
    box-shadow: 0 0px 0;
    cursor: default;
}

.govuk-button.map-buttons {
    pointer-events: auto !important;
}

#map-buttons-legend {
    margin-left: 20px;
    margin-top: 12px;
}

.side-panel-overflow-footer {
    background-color: #f1efef;
    margin-top: 5px;
    bottom: 0;
    padding: 10px 20px 0px 10px;
    position: absolute;
    width: 95%;
    border-top: 3px solid #00aeef;
}

.side-panel-overflow-footer-nocaptions {
    background-color: #f1efef;
    margin-top: 5px;
    bottom: 0;
    padding: 40px 20px 0px 10px;
    position: absolute;
    width: 95%;
    border-top: 3px solid #00aeef;
}

.side-panel-overflow-footer-left {
    text-align: left;
    position: absolute;
}

.side-panel-overflow-footer-right {
    text-align: right;
}

.side-panel-overflow-footer-single {
    text-align: left;
    /* position: absolute; */
}

/* #agreeContainer {
    background-color: #d8f1da;
    width: 100%;
    margin-top: 5px;
    bottom: 0;
} */

#agreeContent {
    /* margin-right: 20px;
    margin-left: 10px;
    margin-top: 10px; */
    text-align: right;
    /* margin-right: 20px; */
}

#selectedComment-agreeBtn {
    visibility: hidden;
}

.comment-item {
    border-top: solid;
    border-top-width: thick;
    padding-left: 10px;
    padding-right: 10px;
}

.comment-item:hover {
    /* background-color: rgb(209, 209, 209); */
    cursor: pointer;
}

.comment-item.comment-item-selected {
    /* border-left: 10px solid blue; */
    background-color: #f1efef;
}

.comment-item-header-left {
    /* text-align: left; */
    /* position: absolute; */
    float: left;
}

.comment-item-header-right {
    /* text-align: right; */
    float: right;
}

.project-button {
    background: #f8f8f8;
    margin-bottom: 2em;
    min-height: 75px;
    box-sizing: border-box;
    border-bottom: 5px solid #00aeef;
    width: 100%;
    transition: .5s;
    position: relative;
    padding: 20px;
}

.project-button a {
    color: #0b0c0c;
    display: block;
    height: 100%;
    font-family: arial;
    font-size: 19px;
    font-weight: 600;
    transition: 1s;
}

.project-button a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 4;
    background: rgba(255,255,255,.001);
}

.project-button:hover {
    background: #00aeef;
    border-bottom: #f8f8f8 solid 5px
}

.project-button a:hover {
    color: #fff
}

.project-button a:focus {
    background: 0 0;
    outline: none
}

.project-button a:link {
    text-decoration: none;
}

@media (min-width: 48.0625em) {
    .flex-row {
        display:flex;
    }

    /* .flex-row .govuk-grid-column-one-quarter,.flex-row .govuk-grid-column-one-third {
        display: flex;
        flex: 1;
        flex-direction: row
    } */
}

.overlayText {
    text-align : center;
    padding : 10px;
}

.placeMarkerOverlayTextBackground {
    background: rgba(255, 255, 255, 0.8);
}

#haveYourSayBtn {
    z-index: 2001
}

.header-logo img {
    max-width: 60% !important;
}

.imageThumbnail {
    border: 1px solid #ddd; 
    border-radius: 4px; 
    padding: 5px; 
    margin: 3px;
    height: 150px; /* Set a small width */
}

  /* Add a hover effect (blue shadow) */
.imageThumbnail:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    cursor: pointer;
}

#comment-imageFiles {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* 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: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
margin: auto;
display: block;
/* width: 80%; */
max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
.modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, .modalCaption {
animation-name: zoom;
animation-duration: 0.6s;
}

@keyframes zoom {
from {transform:scale(0)}
to {transform:scale(1)}
}

/* The Close Button */
.modalClose {
position: absolute;
top: 15px;
right: 35px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}

.modalClose:hover,
.modalClose: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%;
    }
}

#dragbar {
    /* position: absolute; */
    cursor: col-resize;
    z-index: 3;
    padding: 0px 1px;
    background-color: #bbb;
    width: 3px;
}

#shield {
    display: none;
    top: 0;
    left: 5;
    width: 100%;
    position: absolute;
    height: 100%;
    z-index: 4;
}

.draw-control-disabled {
    filter: contrast(22%) brightness(157%);
    pointer-events:none;
}