*,::before,::after{box-sizing:border-box}
body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}
ul[role='list'],ol[role='list']{list-style:none}
html:focus-within{scroll-behavior:smooth}
body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}
a:not([class]){text-decoration-skip-ink:auto}
img,picture{max-width:100%;display:block}
input,button,textarea,select{font:inherit}
@media (prefers-reduced-motion: reduce) {
html:focus-within{scroll-behavior:auto}
*,::before,::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* **************************************** */
/* SETUP */
/* **************************************** */
body,
html {
    font-family: sans-serif;
    min-width: 320px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    color: #525f7f;
    font-family: Camphor, Open Sans, Segoe UI, sans-serif;
    font-variant-numeric: proportional-nums
}

*,
:after,
:before {
    box-sizing: inherit
}

h1,
h2,
h3 {
    color: #32325d;
    font-weight: 500
}

a {
    text-decoration: none
}

a.link {
    text-decoration: none;
    color: #01579b;
    font-weight: 700
}

a.link:hover {
    background: #01579b;
    transition: .5s;
    color: #fff;
    cursor: pointer
}

.mn {
    margin: 0
}

.di {
    display: inline
}

.tar {
    text-align: right;
}

.pr {
    position: relative
}

.fr {
    float: right
}

.displayBlock {
    display: block
}

.displayNone {
    display: none
}

.clear {
    clear: both
}

.left {
    float: left;
    width: 49%
}

.right {
    float: right;
    width: 49%
}

.subtle-hr {
    height: 1.75px;
    background: #9a9a9a54;
    margin: 10px 0;
}
/* **************************************** */





/* **************************************** */
/* * Page */
/* **************************************** */
.map-width {
    height: 100vh;
    width: 100vw;
    display: inline-block;
}

#map {
    height: 100%;
    width: 100%;
}

.map-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 300px;
    background: white;
    border-radius: 6px;
    z-index: 999;
    padding: 15px;
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
}

.map-controls-inner {
    position: relative;
}

h3.output-title {
    font-weight: bold;
    font-size: 16px;
    margin: 15px 0 12px 0;
}

.area-box {
    background: black;
    font-size: 16px;
    font-weight: bold;
    padding: 7px 0;
    border-radius: 6px;
    text-align: center;
    color: white;
    margin-top: 10px;
}

#outputBox {
    display: none;
}

.reset-zoom-btn {
    position: absolute;
    z-index: 999;
    left: 10px;
    color: black;
    background: white;
    border: 1.7px solid black;
    top: 80px;
    outline: none;
    display: inline-block;
    line-height: 0;
    padding: 5px 7px;
    box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%);
    border-radius: 4px;
    text-align: center;
}

.circle-btn,
.isochrone-btn {
    padding: 6px 8px;
    border-radius: 4px;
    position: absolute;
    z-index: 999;
    color: black;
    line-height: 0;
    background: white;
    border: 1.7px solid black;
    top: 15px;
}

.isochrone-btn {
    right: 15px;
}

.circle-btn {
    right: 150px;
    padding: 7px 8px;
}

.circle-btn svg,
.isochrone-btn svg {
    width: 15px;
    display: inline-block;
    vertical-align: middle;
}

.circle-btn:hover,
.isochrone-btn:hover,
.reset-zoom-btn:hover {
    cursor: pointer;
    transition: all .15s ease;
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
}

.logo-area {
    border: 1.5px solid black;
    position: absolute;
    top: 10px;
    left: 55px;
    background: white;
    border-radius: 6px;
    z-index: 999;
    padding: 10px;
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
}

.logo-area img {
    width: 100%;
}

.search-inputs-box .postcode-area {
    display: flex;
    justify-content: start;
    gap: 15px;
    align-items: flex-end;
}

.postcode-area img {
    width: 100px;
    display: block;
    margin: 0 auto;
}

.reset-search-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
}

.reset-search-btn:hover {
    transition: .3s;
    cursor: pointer;
    opacity: .4;
}

.dot-icon {
    width: 15px;
    height: 15px;
    border-radius: 100px;
    display: inline-block;
    vertical-align: middle;
    border: 2px solid white;
}

#keyOuter {
    position: absolute;
    min-width: 160px;
    top: 0;
    right: 20px;
}

.map-key {
    position: absolute;
    z-index: 999;
    right: 15px;
    top: 42px;
    padding: 0 10px;
    border-radius: 0 0 4px 4px;
    border: 1.5px solid black;
    background: #ffffff;
    color: black;
}

.key-header {
    background: black;
    color: white;
    width: 154px;
    padding: 4px 15px;
    font-weight: 600;
    font-size: 13px;
    border-radius: 4px 4px 0 0;
    margin-top: -28px;
    width: calc(100% + 23px);
    margin-left: -11px;
}

.map-key span {
    margin: 6px 1px;
    display: flex;
    align-items: center;
    position: relative;
    gap: 10px;
    white-space: nowrap;
}

.key-el .key-color {
    margin: 0;
    background: black;
    width: 20px;
    text-align: center;
    height: 20px;
    vertical-align: middle;
    line-height: 20px;
}

.key-el .key-name {
    margin: 0 !important;
}

.key-el .key-el__color-swatch,
.border-colour-swatch {
    width: 69px;
    height: 46px;
}

.key-el .key-el__color-swatch:hover,
.border-colour-swatch:hover,
.color-swatch:hover {
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

.hidden-key-el {
    background: #b2b2b2;
    opacity: .6;
}

.labels {
    display: none
}

.toggles-container {
    position: absolute;
    z-index: 999;
    left: 55px;
    top: 135px;
    padding: 10px;
    border-radius: 4px;
    border: 1.5px solid black;
    background: #ffffff;
    color: black;
}

.toggles-container p {
    margin: 0 !important;
}

.teaching-check label span {
    background: #ff5454;
    padding: 2px 10px;
}

.non-teaching-check label span {
    background: #249af0;
    padding: 2px 10px;
}

.dermatology-check label span {
    background: orange;
    padding: 2px 10px;
}

.trusts-check label span {
    background: yellow;
    padding: 2px 10px;
}

button.sbtn {
    letter-spacing: .2px;
    text-decoration: none;
    padding: 4px 11px 5px 16px;
    border-radius: 16.5px;
    outline: none;
    box-sizing: border-box;
    white-space: nowrap;
    transition-property: background-color, opacity;
    line-height: 20px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    fill: white;
    color: white;
    background: #5c52a3;
    border: none;
    margin-top: 15px;
    gap: 10px;
}

button.sbtn svg {
    height: 10px;
    margin-top: 2px;
}

button.choice-plan-btn:hover,
button.sbtn:hover {
    cursor: pointer;
    transition: .3s;
    background: #393366;
}

.label-orange {
    background: #ffa600;
    padding: 2px 10px;
}

.label-blue {
    background: #249af0;
    padding: 2px 10px;
}
/* **************************************** */




/* **************************************** */
/* * Buttons and Inputs */
/* **************************************** */
.btn {
    font-style: normal;
    outline: none;
    white-space: nowrap;
    display: inline-block;
    line-height: 40px;
    padding: 0 14px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .025em;
    text-decoration: none;
    transition: all .15s ease;
    /* text-shadow: 0 1px 3px rgba(36, 180, 126, .4); */
}

.btn:hover {
    cursor: pointer;
    transition: all .15s ease;
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
    /* text-shadow: 0 1px 3px rgba(36, 180, 126, .4); */
}

.search-btn {
    background: #FE5026;
    width: 43px;
    height: 43px;
    padding: 10px;
    fill: white;
    margin-top: 5px;
}

.search-btn:hover {
    background: #9b3118;
}

.disabled-btn {
    pointer-events: none;
    opacity: 0.4;
}

.search-inputs-box {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}
/* **************************************** */




/* **************************************** */
/* Material Styling Inputs */
/* **************************************** */
.material-input {
    --pure-material-safari-helper1: rgb(var(--pure-material-primary-rgb, 62, 155, 124)); position: relative;
    display: inline-block;
    padding-top: 6px;
    font-family: var(--pure-material-font, "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system);
    font-size: 16px;
    line-height: 1.5;
    overflow: hidden;
}

.select-inp {
    border: solid 1px;
    border-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.6);
    border-radius: 4px;
    padding: 15px 13px 15px;
    width: 100%;
    color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.87);
    caret-color: rgb(var(--pure-material-primary-rgb, 62, 155, 124));
    transition: border 0.2s, box-shadow 0.2s;
}

.select-popup-inp {
    margin-bottom: 7px;
    border: solid 1px;
    border-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.6);
    border-radius: 4px;
    padding: 7px 13px 7px;
    width: 100%;
    color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.87);
    caret-color: rgb(var(--pure-material-primary-rgb, 62, 155, 124));
    transition: border 0.2s, box-shadow 0.2s;
}

.popup-inp {
    width: 210px;
    margin-bottom: 10px;
}

.cluster-count-select {
    width: 40%;
    display: block;
    margin: 15px 0;
    border: solid 1px;
    border-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.6);
    border-radius: 4px;
    padding: 7px 13px 7px;
    color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.87);
    caret-color: rgb(var(--pure-material-primary-rgb, 62, 155, 124));
    transition: border 0.2s, box-shadow 0.2s;
}

/* Input, Textarea */
.material-input>input, .material-input>textarea {
    box-sizing: border-box;
    margin: 0;
    border: solid 1px;
    /* Safari */
    border-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.6);
    border-top-color: transparent;
    border-radius: 4px;
    padding: 8px 13px 8px;
    width: 100%;
    height: inherit;
    color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.87);
    background-color: transparent;
    box-shadow: none;
    /* Firefox */
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    caret-color: rgb(var(--pure-material-primary-rgb, 62, 155, 124));
    transition: border 0.2s, box-shadow 0.2s;
    background: white;
}

/* Span */
.material-input>input+span, .material-input>textarea+span {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    border-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.6);
    width: 100%;
    max-height: 100%;
    color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.6);
    font-size: 75%;
    line-height: 15px;
    cursor: text;
    transition: color 0.2s, font-size 0.2s, line-height 0.2s;
}

/* Corners */
.material-input>input+span::before, .material-input>input+span::after, .material-input>textarea+span::before, .material-input>textarea+span::after {
    content: "";
    display: block;
    box-sizing: border-box;
    margin-top: 6px;
    border-top: solid 1px;
    border-top-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.6);
    min-width: 10px;
    height: 8px;
    pointer-events: none;
    box-shadow: inset 0 1px transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.material-input>input+span::before, .material-input>textarea+span::before {
    margin-right: 4px;
    border-left: solid 1px transparent;
    border-radius: 4px 0;
}

.material-input>input+span::after, .material-input>textarea+span::after {
    flex-grow: 1;
    margin-left: 4px;
    border-right: solid 1px transparent;
    border-radius: 0 4px;
}

/* Hover */
.material-input:hover>input, .material-input:hover>textarea {
    border-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.87);
    border-top-color: transparent;
}

.material-input:hover>input+span::before, .material-input:hover>textarea+span::before, .material-input:hover>input+span::after, .material-input:hover>textarea+span::after {
    border-top-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.87);
}

.material-input:hover>input:not(:focus):placeholder-shown, .material-input:hover>textarea:not(:focus):placeholder-shown {
    border-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.87);
}

/* Placeholder-shown */
.material-input>input:not(:focus):placeholder-shown, .material-input>textarea:not(:focus):placeholder-shown {
    border-top-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.6);
}

.material-input>input:not(:focus):placeholder-shown+span, .material-input>textarea:not(:focus):placeholder-shown+span {
    font-size: inherit;
    line-height: 52px;
}

.material-input>input:not(:focus):placeholder-shown+span::before, .material-input>textarea:not(:focus):placeholder-shown+span::before, .material-input>input:not(:focus):placeholder-shown+span::after, .material-input>textarea:not(:focus):placeholder-shown+span::after {
    border-top-color: transparent;
}

/* Focus */
.material-input>input:focus, .material-input>textarea:focus {
    border-color: rgb(var(--pure-material-primary-rgb, 62, 155, 124));
    border-top-color: transparent;
    box-shadow: inset 1px 0 var(--pure-material-safari-helper1), inset -1px 0 var(--pure-material-safari-helper1), inset 0 -1px var(--pure-material-safari-helper1);
    outline: none;
}

.material-input>input:focus+span, .material-input>textarea:focus+span {
    color: rgb(var(--pure-material-primary-rgb, 62, 155, 124));
}

.material-input>input:focus+span::before, .material-input>input:focus+span::after, .material-input>textarea:focus+span::before, .material-input>textarea:focus+span::after {
    border-top-color: var(--pure-material-safari-helper1) !important;
    box-shadow: inset 0 1px var(--pure-material-safari-helper1);
}

/* Disabled */
.material-input>input:disabled, .material-input>input:disabled+span, .material-input>textarea:disabled, .material-input>textarea:disabled+span {
    border-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38) !important;
    border-top-color: transparent !important;
    color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38);
    pointer-events: none;
}

.material-input>input:disabled+span::before, .material-input>input:disabled+span::after, .material-input>textarea:disabled+span::before, .material-input>textarea:disabled+span::after {
    border-top-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38) !important;
}

.material-input>input:disabled:placeholder-shown, .material-input>input:disabled:placeholder-shown+span, .material-input>textarea:disabled:placeholder-shown, .material-input>textarea:disabled:placeholder-shown+span {
    border-top-color: rgba(var(--pure-material-onsurface-rgb, 0, 0, 0), 0.38) !important;
}

.material-input>input:disabled:placeholder-shown+span::before, .material-input>input:disabled:placeholder-shown+span::after, .material-input>textarea:disabled:placeholder-shown+span::before, .material-input>textarea:disabled:placeholder-shown+span::after {
    border-top-color: transparent !important;
}

/* Faster transition in Safari for less noticable fractional font-size issue */
@media not all and (min-resolution: .001dpcm) {
    @supports (-webkit-appearance:none) {
        .material-input>input, .material-input>input+span, .material-input>textarea, .material-input>textarea+span, .material-input>input+span::before, .material-input>input+span::after, .material-input>textarea+span::before, .material-input>textarea+span::after {
            transition-duration: 0.1s;
        }
    }
}

/* Switch */
.switch-btn {
    color: white;
    padding: 6px 12px;
    background: #269458;
    display: inline-block;
    float: left;
}

.switch-btn:hover {
    cursor: pointer;
    transition: .3s;
    opacity: .6;
}

.switch-left {
    border-radius: 6px 0 0 6px;
}

.switch-right {
    border-radius: 0 6px 6px 0;
}

.switch-selected {
    -webkit-box-shadow: inset 7px 7px 20px -10px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: inset 7px 7px 20px -10px rgba(0, 0, 0, 0.75);
    box-shadow: inset 7px 7px 20px -10px rgba(0, 0, 0, 0.75);
    background: #266945;
}


#editPropertyForm {
    display: flex;
    flex: 50%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

#editPropertyForm .material-input {
    width: 49%;
}
/* **************************************** */





/* **************************************** */
/* Material Checkbox */
/* **************************************** */
.checkbox {
    display: block;
    position: relative;
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
}

.checkbox__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    opacity: 0;
    z-index: 0;
}

.checkbox__label {
    display: block;
    padding: 0 0 0 30px;
    cursor: pointer;
}

.checkbox__label:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 2px solid rgba(0, 38, 70, 83.54);
    border-radius: 2px;
    z-index: 1;
    -webkit-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition-property: background-color, border-color;
    transition-property: background-color, border-color;
}

.checkbox__label:after {
    content: '';
    position: absolute;
    top: 4px;
    left: 7px;
    width: 6px;
    height: 12px;
    border-bottom: 2px solid transparent;
    border-right: 2px solid transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 2;
    -webkit-transition: border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    transition: border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox__input:checked+.checkbox__label:before {
    background-color: #70943d;
    border-color: #70943d;
}

.checkbox__input:checked+.checkbox__label:after {
    border-color: #fff;
}
/* **************************************** */





/* **************************************** */
/* Loading Plugin */
/* **************************************** */
.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #ff0000;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 4px;
}

/* **************************************** */





/* **************************************** */
/* MEDIA QUERIES */
/* **************************************** */
@media screen and (max-width: 700px) {
    .map-controls {
        top: 150px;
        left: 55px;
    }

    .search-postcode-inp {
        width: 57%;
    }

    .search-btn {
        width: 110px;
        padding: 21px 17px;
        margin-top: 6px;
    }
}
/* **************************************** */
