﻿/* CSS for the site */

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;
    font-size: 1.1rem;
    font-weight: 500;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 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;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    font-size: medium;
    font-family: 'Poppins', sans-serif, serif;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/***** CSS CUSTOMISATION *****/

.carousel-item {
    height: 80vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

.dropdown-toggle {
    font-size: 1.1rem;
    font-weight: 500;
}

.dropdown-item {
    font-size: 1rem;
    font-weight: 500;
}

.dropdown .dropdown-menu {
    border-radius: 0;
}

.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    border-radius: 0;
}

.dropdown > .dropdown-toggle:active {
    pointer-events: none;
}

.dropdown-toggle::after {
    margin-left: 0.0em;
}

.btn {
    font-size: large;
    font-weight: 600;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
}

.btn-primary {
    border-color: #093f89;
    background-color: #093f89;
}

.btn-outline-primary {
    color: #093f89;
    border-color: #093f89;
}

    .btn-outline-primary:hover {
        border-color: #093f89;
        background-color: #093f89;
    }

.bg-primary {
    background-color: #093f89 !important;
}

.text-primary {
    color: #093f89 !important;
}

.text-secondary {
    color: #d71a21 !important;
}

a {
    color: #093f89;
}

.overlay {
    background: rgba(0,0,0,0.4);
}

.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.bg-light {
    background-color: rgb(235, 235, 235);
}

.bg-dark {
    background: #1a252f;
    color: #fff;
}

/*tr {
    line-height:5px;
    min-height: 5px;
    height: 5px;
}*/

:target {
    padding-top: 80px;
    margin-top: -80px;
    display: inline-block;
}

/*Image Grid*/
.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
  /* Create four equal columns that sits next to each other */
  .column {
    flex: 20%;
    max-width: 20%;
    padding: 0 4px;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 1000px) {
    .column {
      flex: 50%;
      max-width: 50%;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      flex: 100%;
      max-width: 100%;
    }
  }


  /* [type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
  }
  [type="search"]::-webkit-search-cancel-button,
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
  } */
  
  .search-container {
    display: inline-block;
    position: relative;
  }
  .search-container input {
    width: 100%;
    padding: 0.5rem;
  }
  .search-results {
    display: none;
    position: absolute;
    z-index: 999;
    background: white;
    color: black;
    padding: 1rem;
    box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
    max-height: 60vh;
    overflow: auto;
    width: 160%;
    left: 0;
  }
  .search-results__items {
    list-style: none;
  }
  .search-results li {
    margin-top: 1rem;
    border-bottom: 1px solid #ccc;
    font-size: 0.9rem;
  }
  .search-results li:first-of-type {
    margin-top: 0;
  }
  .search-results__item {
    margin-bottom: 1rem;
  }
  .search-results__item a {
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 0.5rem;
  }
  