﻿/* 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. */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background-color: #f2f2f2;
    font-family: 'Figtree', Arial, Helvetica, sans-serif;
    color: #3b3b3b;
}

.font-weight-bold {
    font-weight: bold;
}

.testborder {
    border: 1px solid #ff0000;
}

/* Navigation components */
/* Nav bar */
nav {
    padding: 0px !important;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
nav a {
    color: #ffffff !important;
    padding: 13px !important;
}

a.nav-link:hover {
    background-color: #264d9d;
    color: #ffffff !important;
}

.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;
}

nav.bg-geodsblue {
    background-color: #194091 !important;
}

/* General Navigation */
a {
    color: #145ba5;
    text-decoration: underline;
}

    a:hover {
        color: #002245;
        text-decoration: none;
    }

.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;
}

/* Header */
header {    
    background-color: #194091;
}

header .container {
    height: 114px !important;
    width: 100%;
}

header .headertext {
    display: none;
}

#headerlogo {
    position: relative;
    top: 36px;
    width: 216px;
    height: 61px;
}

#headerTitle {
    padding-top: 15px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    color: #3b3b3b;
    font-size: 0.8rem;
}

@media (min-width: 769px) {
    h2 {
        font-size: 1.8rem !important;
        color: #ffffff;
        position: relative;
        top: 50px;
        left: 75px;
    }
}

@media (max-width: 768px) {
    h2 {
        display: none;
    }
}

h3 {
    font-size: 1.7rem !important;
    border-bottom: 1px solid #eeeeee;
    padding: 0 0 10px 0;
    margin-bottom: 20px;
    margin-top: 10px;
    font-weight: bold !important;
}

    h3.home {
        border: 0;
    }

h4 {
    font-size: 1.4rem !important;
    padding: 10px 0 10px 0;
}

    h4.topmarg {
        margin-top: 5px;
        padding-bottom: 5px;
    }

h5 {
    margin-top: 20px;
    font-size: 1.1rem !important;
    font-weight: bold;
}

h6 {
    color: #3b3b3b !important;
}

p, li {
    font-size: 15px;
}

/* Remove dot after ordered list number */
ol li {
    list-style: none;
    padding: 0;
}

    ol li::marker {
        content: counter(list-item)"\a0\a0";
    }

fieldset {
    border: 1px solid #e5e5e5;
    padding: 14px 0 0 20px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
}

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left;
}

.hide {
    display: none !important;
}

.show {
    display: block !important;
}

.invisible {
    visibility: hidden;
}

.text-align-right {
    text-align: right;
}

.text-align-center {
    text-align: center;
}

.text-hide {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.hidden {
    display: none;
}

.affix {
    position: fixed;
}

/* Privacy */

#privacyContentBody {
    padding: 20px 30px 20px 30px;
}

/* Form components*/
.semanticCatalogueFormPanel {
    border: 1px solid #b8bcd1;
    border-radius: 10px;
    background-color: #b8bcd1;
}

@media (max-width: 768px) {

    .semanticCatalogueForm {
        padding: 0 0 0 10px;
    }

    #semanticCatalogueTxt {
        max-width: 340px;
        margin-bottom: 10px;
    }

    #OrgType {
        max-width: 340px;
        margin-bottom: 10px;
    }
}

@media (min-width: 769px) {

    .semanticCatalogueForm {
        padding: 30px 80px 50px 80px;
    }

    #semanticCatalogueTxt {
        width: 100%;
    }

    #OrgType {
        width: 100%;
    }
}

#semanticCatalogueRequired {
    padding-top: 20px;
}

.form-group {
    padding-bottom: 15px;
    padding-left: 15px;
}

.required {
    color: #ff0000;
}

.postcodeFormRow, .postcodeCompareFormRow {
    padding-top: 10px;
}

/* Results components */

#SemanticCatalogueTerm {
    font-weight: bold;
}

.semanticCatalogueResultsHeader {
    margin-top: 20px;
    border: 1px solid #eaeaea;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #f7f7f7 !important;
    padding-left: 20px;
}

.semanticCatalogueResultsPanel {
    border: 1px solid #e5e5e5;
    padding: 20px 10px 20px 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #ffffff !important;
    overflow: hidden;
}

.semanticMoreInfoDetail {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    padding: 10px;
    background-color: #d9e7f4;
}

#resultsDataList {
    padding: 0 10px 0 10px;
}

    #resultsDataList div {
        margin-bottom: 10px;
    }

.error {
    color: #ff0000;
    font-weight: bold;
}

#faq-video {
    width: 100%;
    text-align: center;
    height: auto;
    margin-bottom: 20px;
}

/* Spinner Panel */
.spinnerPanel {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: rgba(255, 255, 255, 0.75);
    text-align: center;
    vertical-align: middle;
}

/* Circle animation.*/
.circle {
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    color: #612a77 !important;
    font-weight: bold;
}

.circle__svg {
    animation: 2s linear infinite both circle__svg;
}

@keyframes circle__svg {
    0% {
        transform: rotateZ(0deg);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

.circle__svg-circle {
    animation: 1.4s ease-in-out infinite both circle__svg-circle;
    fill: transparent;
    stroke: #612a77;
    stroke-dasharray: 285;
    stroke-linecap: round;
    stroke-width: 10px;
    transform-origin: 50% 50%;
}

@keyframes circle__svg-circle {
    0%, 25% {
        stroke-dashoffset: 280;
        transform: rotate(0);
    }

    50%, 75% {
        stroke-dashoffset: 75;
        transform: rotate(45deg);
    }

    100% {
        stroke-dashoffset: 280;
        transform: rotate(360deg);
    }
}

.inline-sourcebadge {
    margin-left: 0.5em;
    font-size: 0.8em;
    vertical-align: middle;
    padding: 0.3em 0.6em;
    border-radius: 3px;
    text-align: center;
}

.adr {
    background-color: #6fcdbd;
    color: white;
}

.ukds {
    background-color: #641d75;
    color: white;
}

.geods {
    background-color: #194091;
    color: white;
}

.nerc {
    background-color: #3e863e;
    color: white;
}
