/* Modifiers */
 html, body {
  width: auto !important;
  overflow-x: hidden !important;
}
body {
  background-color: #e8f1f5;
  font-family: 'Trebuchet MS';
  color: #393e46;
  font-size: 16px;
  position: relative;
}
h1 {
  color: #393e46;
  font-size: 26px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1em;
}
h2 {
  color: #393e46;
  font-size: 18px;
  text-align: left;
}
h4 {
  color: #393e46;
  font-size: 32px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 1em;
}
hr {
  background-color: #c6dbeb;
  margin-top: 2em;
  margin-bottom: 2em;
  width: 100%;
}
a {
  color: #326691;
  display: inline-block;
  transition: 0.3s;
}
a:hover {
  text-decoration: none;
  color: #8fa7ba !important;
}
input[type="text"], input[type="password"], textarea{
  outline-color: #00579c;
}
button:focus {
   outline: none;
}


/****** General ******/
#centre-content {
  transition: 0.3s;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  background-color: #ffffff;
  border-radius: 5px;
}

 /* Allignment */
.centre {
  text-align: center;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.centre-then-left {
  text-align: center;
}
.justify-then-left {
  text-align: justify;
}
.justify {
  text-align: justify;
}

 /* Spacing */
.space-bottom--xl {
  margin-bottom: 4em;
}
.space-bottom--l {
  margin-bottom: 3em;
}
.space-bottom {
  margin-bottom: 2em;
}
.space-bottom--s {
  margin-bottom: 1em;
}
.space-bottom--xs {
  margin-bottom: 0.5em;
}
.space-bottom--none {
  margin-bottom: 0;
}
.indent {
  margin-left: 1.5em;
}
.link-padding {
  display: block;
  padding: 0.5em;
}
.list-spacing li {
  margin-bottom: 1em;
}

 /* Div / Table */
.info-box {
  position: relative;
  border: solid 1px #8db6d8;
  border-radius: 5px;
  box-shadow: 0 0 5px #cacace;
  padding: 1em;
}
.modal-header h2 {
  font-weight: bold;
}
.error-box {
  display: block;
  padding: 1.5em;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-shadow: 0 0 5px #cacace;
  background-color: #e8e8e8;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.table, .table-striped {
  border: 1px solid #dee2e6;
}
.error-box .error-box__button {
  width: 40%;
}
.error-box .error-box__button button {
  width: 100%;
}
.table--with-title {
  width: 100%;
  border-collapse: inherit;
  border-spacing: 0px;
  border-bottom: 1px solid #d3d9de;
}
.table--with-title td, .table--with-title th {
  padding: 0.6em;
  vertical-align: middle !important;
  border-top: 1px solid #d3d9de;
}
.table--with-title th {
  background-color: #e8e8e8;
}
.table--with-title td:first-child, .table--with-title th:first-child {
  border-left: 1px solid #d3d9de;
}
.table--with-title td:last-child, .table--with-title th:last-child {
  border-right: 1px solid #d3d9de;
}
.table-title {
  padding: 0.4em;
  text-align: center;
  font-size: 26px !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.tool-order-nav {
  position: fixed;
  bottom: 5px;
  left: 0;
  right: 0;
  transition: 0.5s;
  visibility: visible;
  opacity: 1;
}
.tool-order-nav div {
  border-radius: 5px;
}
.tool-order-nav a {
  font-weight: bold;
}
 /* Buttons */
.button, .button--wide {
  font-weight: bold;
  border-radius: 5px;
  border-style: solid;
  padding: 0.3em;
  transition: 0.3s;
  background-color: #00579c;
  color: #ffffff;
  border-color: #00579c;
  letter-spacing: 0.04em;
}
.button:hover, .button--wide:hover {
  background-color: #ffffff;
  color: #00579c;
}
.button--wide {
  padding-left: 0.75em;
  padding-right: 0.75em;
}
.submit {
  background-color: #29a329;
  color: #ffffff;
  border-color: #29a329;
}
.submit:hover {
  background-color: #ffffff;
  color: #29a329;
}
.remove {
  background-color: #e60000;
  color: #ffffff;
  border-color: #e60000;
}
.remove:hover {
  background-color: #ffffff;
  color: #e60000;
}

.info-button {
  border-radius: 50%;
  width: 27px;
  height: 27px;
  padding: 0;
  margin: 0;
  color: #00579c;
  border-color: #00579c;
  border-style: solid;
  border-width: medium;
  background-color: #fff;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
  text-align: center;
}
.info-button:hover {
  color: white;
  background-color: #00579c;
}
.modal-header .info-button {
  margin-right: 1em;
}
.modal-header .info-button:hover {
  color: #00579c;
  border-color: #00579c;
  background-color: #fff;
}
.disabled {
  background-color: #393e46 !important;
  border-color: #393e46 !important;
}
.disabled:hover {
  background-color: #393e46 !important;
  border-color: #393e46 !important;
  color: #fff !important;
}
.active {
  background-color: #fff;
  border-color: #00579c;
  color: #00579c;
}

 /* Modifiers */
.invalid {
  color: #e60000;
}
.hidden {
  display: none !important;
}
.grey {
  background-color: #e8e8e8;
}
.drop-shadow {
  box-shadow: 0 0 10px #cacace;
}

/**** HEADER *****/
#header-nav {
  margin-left: -15px;
  margin-right: -15px;
}
/* Top bar */
#top-bar {
  background-color: #00579c;
  padding: 0.3em;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  width: 100%;
}
#basket {
  float: right;
}
.top-bar__links {
  color: white;
  padding: 0.2em;
  margin-left: 1em;
  margin-right: 1em;
}
/* Title and Logo*/
#title-area {
  padding: 2em;
  text-align: center;
}
#title-area img {
  width: 150px;
}
#title-area__title {
  color: #00579c;
  font-size: 30px;
  font-weight: bold;
}
/* Navbar */
.navbar {
  background-color: #e8e8e8;
}
.navbar-brand img {
  display: none;
  width: 120px;
}
.nav-link  {
  color: #326691 !important;
  font-weight: bold;
  margin-left: 0.5em;
  margin-right: 0.5em;
}

/**** Lower Header ****/
.header-lower {
  margin-top: 1em;
  margin-bottom: 1em;
  font-weight: bold;
}
.crumbs {
  text-align: left;
}
#price-list {
  text-align: right;
}
.header-dropdown {
  text-align: right;
  background-color: white;
  border: solid;
  border-color: #d9d9d9;
  border-width: 0em;
}
.dropdown-item {
  color: #326691;
}
#header-logo {
  width: 160px;
}
.header-logo--smaller {
  width: 120px !important;
  padding-top: 1em;
}

#top-line {
  margin-top: 0.75em;
  margin-bottom: 0;
}

/***** Footer ******/
#footer {
  margin-top: 2em;
}
#left-col {
  background-color: #393e46;
  border-bottom-left-radius: 5px;
  padding: 1em;
}
#right-col {
  background-color: #e8e8e8;
  border-bottom-right-radius: 5px;
  padding-bottom: 1em;
  text-align: center;
}
.footer__line {
  margin-top: 0;
  margin-left: 0;
  margin-bottom: 0.6em;
  background-color: #ffffff;
  width: 90%;
}
.footer__title {
  color: #ffffff;
  font-size: 13px;
  margin-top: 1em;
  padding-left: 0.1em;
}
.footer__link {
  display: block;
  color: #fff;
  font-size: 12px;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
}
.footer__link--bottom {
  margin-bottom: 0em;
}
.footer__text {
  font-size: 12px !important;
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 1em;
}
.footer__text p {
  font-size: 12px !important;
}
#contact-details {
  padding-top: 4em;
  padding-bottom: 4em;
}
#UKRI-logo {
  width: 200px;
  padding-top: 2em;
}
#kdt {
  display: block;
  margin-bottom: 0.2em;
  width: 150px;
}

/* COOKIES */
.btn {
  margin-left: 0.5em;
}

/****** Small Resizing ******/
@media (max-width: 992px){
  .space-div {
    margin-bottom: 2em;
  }
}


/****** Phone Resizing ******/
@media (max-width: 768px){
  #centre-content {
    margin-top: 0;
    margin-bottom: 0;
  }
  h1 {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .centre-then-left {
    text-align: left;
  }
  .container{
    max-width: 100% !important;
  }
  .justify-then-left {
    text-align: left;
  }
  .info-box {
    width: 100%;
  }
  .error-box .error-box__button {
    width: 100%;
  }
  .tool-order-nav {
    display: none;
  }

  /* Header */
  #top-bar {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .top-bar__links {
    font-size: 14px;
    margin-left: 0.5em;
    margin-right: 0.5em;
  }
  #title-area {
    padding: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
  }
  #title-area__logo {
    margin-bottom: 1em;
  }
  #title-area__title {
    font-size: 26px;
  }
  .nav-link {
    padding: 0;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
  #header-logo {
    width: 125px;
  }
  .header-lower {
    font-size: 14px;
  }
  .crumbs {
    margin-top: 0.3em;
    font-size: 12px;
  }
  #top-line {
    margin-top: 0em;
  }

  /* Footer */
  #EU {
    width: 50px;
  }
  #UKRI-logo {
    width: 150px
  }
  #left-col {
    border-bottom-left-radius: 0px;
  }
  #right-col {
    border-bottom-left-radius: 5px;
  }
  .footer__line {
    width: 100%;
  }
  .footer__text {
    margin-left: 5em;
    margin-right: 5em;
  }
  #contact-details {
    padding-top: 2em;
    padding-bottom: 2em;
  }

  .modal-dialog {
    max-width: 100%;
  }
}

@media (max-width: 576px){
  #title-area {
    display: none;
  }
  .navbar-brand img {
    display: block;
  }
}

/****** Internet Explorer ******/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
   .explorer-centre {
     padding: 1em;
   }
}
