﻿/* 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. */

/*
  #FFFFFF White
  #F0F0F0 Grey
  #A0A0A0 Darker Grey
  #CCDBF7 Light Blue
  #BAD2EA Window Blue
  #FFFFC0 Yellow
  #C0FFC0 Green
  #FF8080 Red
  #0066FF GDS Blue
*/

.main-content {
  background: #f0f0f0;
  border: 6px solid #BAD2EA;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.color-palette {
  position: absolute;
  right: 1rem;
  top: 1.2rem;
}

.color-palette td {
  width: 60px;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #333;
  background-color: #f0f0f0;
  border-color: #a0a0a0;
}

.btn-primary:hover {
  color: #fff;
  background-color: #A0A0A0;
  border-color: #f0f0f0;
}

.btn-primary:not(:disabled):not(.disabled):active {
  color: #fff;
  background-color: #A0A0A0;
  border-color: #f0f0f0;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn-success {
  color: #333;
  background-color: #C0FFC0;
  border-color: #C0FFC0;
}

.btn-danger {
  color: #333;
  background-color: #FF8080;
  border-color: #FF8080;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 10px;
}
/*@media (min-width: 768px) {
  html {
    font-size: 1px;
  }
}*/

.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: 95px;
}

.btn {
  font-size: 14px;
}

.row.white {
  background:#fff;
}

.row.buttons .form-group {
  margin:1rem 0;
}

.row.title {
  background: #BAD2EA;
}

.info {
  background: #CCDBF7;
  margin: 1rem;
  max-width: calc(100% - 2rem);
  padding-left: 4.4rem;
}

.info:after {
  content: '';
  background: url(../imgs/Info_Round_Blue.png);
  width: 24px;
  height: 24px;
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  margin:auto 0;
}

.control-label {
  font-weight:bold;
}

h2 {
  margin: 1rem 0 2rem;
}

header {
}

header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

header .business-logo {
    max-width: 150px;
}

header .business-details {

}

.container {
    clear:both;
    font-size:14px;
}

.footer {
    position: absolute;
    bottom: 9px;
    width: 100%;
    white-space: nowrap;
    line-height: 30px;
}

#home-page .gds-logo {
    width:90%;
    max-width:500px;
}

.toggle {
  width: 90%;
  position: relative;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 7px;
  margin: auto;
  background: #fff;
  cursor:pointer;
}

.toggle.disabled {
  background: #ddd;
  opacity: .7;
}

.toggle.disabled .btn {
  cursor: not-allowed !important;
}

.toggle input {
  position: absolute;
  left: -200%;
}

.toggle .select-state {
  position: absolute;
  width: 51%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  transition-property: all;
  transition-duration: .25s;
  border-radius: 5px;
}

.toggle .select-state.btn-danger {
  left: 50%;
}

.toggle .on-state,
.toggle .off-state {
  position: relative;
  width: 50%;
  z-index: 2;
  box-shadow: none;
  -webkit-box-shadow: none;
  transition-property: all;
  transition-duration: .5s;
  padding: .4rem 0;
  color: #ddd;
}

.toggle .on-state.active,
.toggle .off-state.active {
  color: #333;
  background: transparent;
  opacity: 1;
}

@media (min-width: 1200px) {
  .toggle {
    width:60%;
  }
}