﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    background: white;
}


.home-page.title-container {
    padding-top: 30px;
    text-align: center;
}

.CSV-container {
    width: 100%;
}

.btn {
    min-width: 145px;
}

.btn-container {
    text-align: center;
}

.banner {
    background-size: cover;
    height: 175px;
}


body {
    background: whitesmoke;
    background-position: center center;
}

.wrapper {
    margin: 0 auto; /* This is what centers it */
    max-width: 1000px;
    width: 96%;
}

.page-container {
    margin-top: 60px;
    min-height: 500px;
    background: white;
    padding: 35px;
    border-radius: 5px;
}

.search-container, .search-result-container, .privacy-container {
    padding: 15px;
    box-shadow: 2px 2px 6px 3px lightgrey;
}

.search-result-container {
    margin-bottom: 30px;
}

@media only screen and (max-width: 423px) {
    .home-page .btn.btn-primary {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 393px) {
    .page-success .btn.btn-primary {
        margin-bottom: 10px;
    }
}

.summary-container {
    padding: 15px;
    box-shadow: 2px 2px 2px 2px lightgrey;
    margin-bottom: 20px;
}

.page-description-container {
    padding: 15px 0px 15px 0px;
}

.failure-message-container {
    left: 35%;
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.page-failure {
    height: 200px;
    position: relative;
}

.jumbotron {
    margin-top: 1rem;
    padding: 0.5rem;
    background: whitesmoke;
    margin-bottom: 0;
}

    .jumbotron h4 {
        text-align: center;
    }

.installation-formation-container {
    background: white;
    padding: 10px;
}

.logo-image {
    height: auto;
    width: 100px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1100px;
    }

    .form-label {
        font-size: 0.75em;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 700px;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 1625px;
    }
}

.installation-formation-container h5 {
    padding-left: 1em;
}

.customInfobox {
    background-color: whitesmoke;
    color: black;
    max-width: 650px;
    border-radius: 10px;
    padding: 10px;
    font-size: 12px;
    pointer-events: auto !important;
}

    .customInfobox .title {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 5px;
    }

.title-row {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.home-button-container {
    text-align: right;
}

.page-title-container > h4 {
    text-align: center;
    font-size: 1.2rem;
}

.accordion-button:focus {
    border-color: black;
    box-shadow: none;
}

.accordion-button {
    font-size: 0.4em;
    padding: 0.1rem 0.5rem 0.1rem 0.5rem;
    background-color: darkolivegreen;
    color: whitesmoke;
    padding-bottom: 5px;
}

.accordion-button.accordion-button:not(.collapsed) {
    background-color: darkolivegreen;
    color: whitesmoke;
}

.accordion-button:after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
    background-size: 0.75rem;
    height: 0.7rem;
}

.title-header {
    text-align: center;
    font-weight: 500;
    background-color: darkolivegreen;
    color: whitesmoke;
}

ul {
    list-style-type: none;
    padding-left: 20px;
}

    ul li label {
        font-size: 0.55rem;
    }


input[type=checkbox], input[type=radio] {
    vertical-align: middle;
    position: relative;
    bottom: 0px;
}


.options-list, .filters-list ul {
    padding-top: 10px;
}

.search-container {
    padding: 5px;
}

nav.navbar {
    margin-top: 10px;
    border-radius: 5px;
    background-color: darkolivegreen;
}

nav a {
    color: whitesmoke;
    border-bottom: 3px solid darkolivegreen;
}

    nav a:hover {
        color: whitesmoke;
        border-bottom: 3px solid olive;
    }

.btn-primary {
    color: #fff;
    background-color: olive;
    border-color: darkolivegreen;
}

    .btn-primary:hover {
        color: #fff;
        background-color: olive;
        border-color: black;
    }


.customInfobox .name {
    font-weight: bold;
}

.filter-actions button {
    border: 0;
    font-size: 0.5em;
    color: blue;
    background: none;
}

.filter-actions-container {
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    border-bottom: 1px solid darkolivegreen;
    padding-bottom: 5px;
}

.form-label {
    margin-top: 10px;
}

.form-control {
    margin-top: 10px;
    margin-bottom: 10px;
}
#postcode {
    width: 30%;
}

#radius {
    width: 5%;
}

.sections-container {
    margin-top: 15px;
    width: 30%;
}


button .accordion-button {
    height: 1em;
}

.navbar-brand {
    padding-left: 10px;
}

nav form {
    flex: auto;
    display: flex;
    justify-content: end;
    padding-right: 10px;
}

nav form input {
    margin-right: 10px;
}

.search-description-container {
    text-align: center;
}

.search-description-container label {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    background: deepskyblue;
    border-radius: 2px;
}

.accordion-item {
    margin-bottom: 5px;
}

.form-label {
    color: whitesmoke;
    font-size: 1em;
    padding-top: 5px;
    padding-right: 10px;
}


#myMap {
    width: 100%;
    height: 810px;
}

@media only screen and (max-width: 1445px) {
    #postcode {
        width: 25%;
    }

    .sections-container {
        width: 35%;
    }
}



@media only screen and (max-width: 1240px) {
    .form-label {
        font-size: 0.75em;
    }
    .form-control {
        font-size: 0.75em;
    }
    .btn {
        font-size: 0.75em;
    }
}

@media only screen and (max-width: 1024px) {
    #postcode {
        width: 20%;
    }

}

@media only screen and (max-width: 850px) {

}


@media only screen and (max-width: 766px) {

    #postcode {
        width: 70%;
    }
}

@media only screen and (max-width: 600px) {
    #postcode {
        width: 100%;
    }

    #radius {
        width: 100%;
    }

    nav form {
        flex: none;
        display: inline;
    }

    #navbarSupportedContent {
        margin-top: 10px;
    }

    .page-title-container > h4 {
        font-size: 1rem;
    }

    #myMap {
        width: 97%;
        margin-left: 5px;
    }

    .sections-container {
        padding-top: 10px;
        width: 100%;
        margin-bottom: 5px;
    }
}
