﻿/* 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. */

/*colours:
    bright yellow:var(--bright-yellow)
    background yellow: var(--background-yellow)
    dark red: #32010c
    standard red: var(--standard-red)
*/

:root {
    --dark-red: #32010c;
    --standard-red: #4C0112;
    --background-yellow: #e3d8b6;
    --bright-yellow: #ecd19c;
}

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: 60px;
}*/

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* NOC Original mockup site styles 
    ---------------------------------------------- */

body {
    background-color: var(--dark-red);
}

.background-light {
    background-color: var(--background-yellow);
}

#jumbotron-main,
.jumbotron {
    margin-top: 1.5em;
    margin-bottom: 20px;
    padding: 2.5em;
    background-color: var(--standard-red);
    border-radius: 10px;
    box-shadow: inset -5px 5px 15px 0 #FFFFFF, inset 5px -5px 15px 0 #000000;
}

@media screen and (max-width:992px) {
    #jumbotron-main,
    .jumbotron {
        margin-bottom: 0px;
        border-radius: 0;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
}

/*@media screen and (min-width:1200px) {
    .container {
        padding: 0 45px 0 45px;
    }
}

@media screen and (min-width: 992px) and (max-width:1200px) {
    .container {
        padding: 0 30px 0 30px;
    }
}*/

/*p {
    margin-bottom: 2em;
}*/

.navbar-static {
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.sidebar-nav-group {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.sidebar-nav-button {
    margin-bottom: 0.5em;
    border-radius: 5px;
    border-style: none;
    display: block;
    padding: .75rem 1.25rem;
}

a.sidebar-nav-button {
    background: linear-gradient(90deg, var(--standard-red) 75%, var(--background-yellow));
    background-size: 150% auto;
    background-position: 100% 0;
    color: var(--bright-yellow);
    width: 90%;
    transition: all 0.25s ease, background-position 0.25s linear;
}

a.sidebar-nav-button:hover {
    width: 100%;
    /*background: linear-gradient(90deg, var(--dark-red) 75%, var(--dark-red));*/
    background-position: 0 0;
    color: white;
    text-decoration: none;
}

.sidebar-nav-button.active, .sidebar-nav-button.active:focus, .sidebar-nav-button.active:hover {
    width: 100%;
    color: var(--bright-yellow);
    background: var(--standard-red);
    padding-right:0.5em;
}

.footer {
    color: var(--bright-yellow);
}

.metal {
    box-shadow: 3px 3px 8px;
    padding: 10px;
    border-radius: 3px;
    vertical-align: middle;
    outline: none;
    background-color: #CFB53B;
    transition: color .2s;
}

.metal.linear {
    background-image: -webkit-repeating-linear-gradient(left, hsla(49,65%,70%,0) 0%, hsla(49,65%,70%,0) 6%, hsla(49,65%,70%, .1) 7.5%), -webkit-repeating-linear-gradient(left, hsla(49,65%, 0%,0) 0%, hsla(49,65%, 0%,0) 4%, hsla(49,65%, 0%,.03) 4.5%), -webkit-repeating-linear-gradient(left, hsla(49,65%,70%,0) 0%, hsla(49,65%,70%,0) 1.2%, hsla(49,65%,70%,.15) 2.2%), linear-gradient(190deg, hsl(49,65%,78%) 0%, hsl(49,65%,90%) 47%, hsl(49,65%,78%) 53%, hsl(49,65%,65%)100%);
}

.quote {
    border-style: double;
    border-color: var(--dark-red);
    padding: 10px;
}

.quote-citation {
    text-align: right;
    margin-bottom: 1em;
}



/* Sitewide
-------------------------------------------*/
.page-body {
    padding-top: 1em;
    padding-bottom: 1em;
}

.text-NOC-light {
    color: var(--bright-yellow);
}


/* Headline pane
-------------------------------------------*/

.brand-subtext {
    font-size: medium;
}

.headline-pane {
    color: var(--bright-yellow);
    background-color: var(--standard-red);
    border-radius:3px;
}

.headline-text {
    margin: 1em 0 1em 0;
    border-top: 2px solid var(--bright-yellow);
    border-bottom: 2px solid var(--bright-yellow);
}

@media screen and (min-width: 768px)
{
    .headline-text {
        border: 2px solid var(--bright-yellow);
        border-radius: 3px;
    }
}

.logo {
    max-height: 8em;
    margin: 1em 1em 1em 1em;
}

@media screen and (max-width: 767px)
{
    .logo {
        margin: 1em 0 1em 0;
    }

}

/*box-shadow: 6px 6px 6px #6b4e14*/

/* Footer box
-------------------------------------------*/
.footer-content {
    font-size: 0.8rem;
    padding: 1em 0 1em 0;
}

.seperator-left {
    border-left: solid 1px;
}

/* Top/mobile Navigation
-------------------------------------------*/
.nav-link {
    background-color: var(--standard-red);
    border-bottom: 1px solid var(--dark-red);
}

.nav-button-extra-margin {
    margin-bottom: 5px;
}


/* Sidebar Nav
-------------------------------------------*/

.nav-link {
    color: var(--bright-yellow);
    text-align: center;
}

.nav-list {
    padding-left: 0px;
    list-style-type: none;
}

@media screen and (max-width: 991px) {
    .sidebar {
        display: none;
    }
}

@media screen and (min-width: 992px){
    .navbar-hidden {
        display: none;
    }
}
.navbar-custom-toggle {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(236, 209, 156, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-custom-toggle-button {
    color: var(--bright-yellow);
    border-color: var(--bright-yellow);
}


/* Form
-------------------------------------------*/


.textbox-large {
    min-height: 5em;
    max-height: 25em;
}

.controller-validation {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.validation-summary-errors ul {
    padding-left: 0px;
    list-style-type: none;
}

/* Content
-------------------------------------------*/

/* Using this class on container within navbar doesn't work as the style is overridden but applying style directly inline does*/
/*.center-button{
    justify-content:center;
}*/

.overflow-wrap {
    overflow-wrap:break-word;
    word-wrap:break-word;
}
.embed-container-properties {
    position: relative;
    height: 0;
    padding-bottom: 56.25%
}

.img-top {
    margin-top: 4em;
}

.img-bottom {
    margin-bottom: 4em;
}

.force-img-width{
    width:100%;
}

/* Testimonials 
---------------------------------------- */
.testimonial-window {
    background-color: oldlace;
    /*border: 1px solid var(--dark-red);*/
    border-radius:3px;
    padding: 1em 1.5em 1em 1.5em;
    overflow: auto;
    max-height: 50em;
}

.testimonial-attrib {
    text-align: right;
    font-weight:400;
    /*font-style: italic;*/
}

.testimonial-divider {
    color: var(--dark-red);
}

.testimonial-statement {
    white-space: pre-line;
    font-style:italic;
}