/*** Site Specific ***/

/* Hero Slider --------------------------------*/
/* Home Page Navigations ----------------------*/
/* Hero Background Image ----------------------*/
/* Call to Action -- Unique Banner Section ----*/
/* Contact / Submit Your CV -------------------*/
/* Welcon Default Styling ---------------------*/
/* Content and Image placement ----------------*/
/* Services / Solutions / Partners / Careers --*/
/* Projects / News ----------------------------*/
/* Project / Post (News) ----------------------*/
/* Footer -------------------------------------*/
/* Copyright ----------------------------------*/
/* Widgets ------------------------------------*/
/* Comments -----------------------------------*/
/* Google Maps --------------------------------*/


/* Hero Slider
============================================ */

  #hero {
    background: transparent;
  }

  /* Flickity Hero Carousel + Navigation */
  #hero .flickity-viewport {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #hero .flickity-slider {
    background: rgba(0, 0, 0, 0.85);
  }
  #hero .carousel-main .carousel-cell {
    width: 100%;
    /*height: 400px;*/
    margin-right: 0px;
    border-radius: 0px;
    counter-increment: carousel-cell;
    
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  /* Hero Slider overlay */
  #hero .carousel-main .carousel-cell:after {
    content: '';
    opacity: 0.7;
    background: rgba(0,0,0,0.95);
    background: -webkit-linear-gradient(rgba(51,122,183,0.8) 0%,   rgba(0,0,0,0.95) 100%);
    background: -o-linear-gradient(rgba(51,122,183,0.8) 0%,   rgba(0,0,0,0.95) 100%);
    background: linear-gradient(rgba(51,122,183,0.8) 0%,     rgba(0,0,0,0.95) 100%);
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
  }
  /* Flickity Thumbnail Carousel + Navigation */
  #hero .carousel-nav {
    border-top: 5px #2d485e;
    border-style: ridge;
    
    background: #00426d;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #hero .carousel-nav .carousel-cell {
    height: 120px;
    width: 150px;
    margin: 5px;
    border-radius: 0px;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3);
    counter-increment: carousel-cell;
    
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #hero .carousel-nav .carousel-cell:not(.is-nav-selected) {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
  }
  #hero .carousel-nav .carousel-cell:not(.is-nav-selected):hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
  }
  #hero .carousel-cell img,
  #hero .carousel-nav .carousel-cell img {
    height: 100%;
    width: 100%;
  }

  #hero .carousel-cell h2,
  #hero .carousel-cell p {
    color: white;
    position: absolute;

    -webkit-transition: all 0.75s ease;
    -moz-transition: all 0.75s ease;
    -ms-transition: all 0.75s ease;
    -o-transition: all 0.75s ease;
    transition: all 0.75s ease;

    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
  }
  #hero .carousel-cell h2 {
    z-index: 5;
    top: 75%;
    left: 50%;
    font-family: "slim_joeregular";
    font-weight: 900;
    font-size: 50px;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    background: rgba(60, 126, 188, 0.50);
  }
  #hero .carousel-cell p {
    z-index: 5;
    top: 8%;
    left: 50%;
    font-family: "amblelight";
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    padding: 7px 15px;
    background: rgba(200,200,200, 0.3);
  }
  #hero .carousel-cell a {
    position: absolute;
    bottom: 50px;
    width: 50%;
    left: 25%;
    z-index: 5;
  }
  @media only screen and (max-width: 768px) {}

  #hero .carousel-cell:not(.is-selected) h2 {
    top: 110%;
  }
  #hero .carousel-cell:not(.is-selected) p {
    top: -10%;
  }
  #hero .carousel-cell:not(.is-selected) a {
    /* Animation will trigger during slide changes */
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
  }

  /* On mobile screen */
  @media only screen and (max-width: 768px) {
    #hero .carousel-nav {
      display: none;
    }
    #hero .carousel-main .carousel-cell {
      height: 400px !important;
    }
    #hero .carousel-main .carousel-cell a {
      font-size: 14px;
    }
    #hero .carousel-nav .carousel-cell {
      height: 80px;
      width: 100px;
      margin: 5px;
    }
    #hero .carousel-cell h2 {
      font-size: 30px;
      padding: 10px 10px;
    }
    #hero .carousel-cell p {
      font-size: 15px;
      padding: 7px 10px;
      top: 6%;
    }
  }

  /* On laptop screen */
  @media only screen and (max-width: 768px) and (min-width: 400px) {
    #hero .carousel-main .carousel-cell {
      /*height: 500px;*/
    }
  }

  /* On desktop screen */
  @media only screen and (min-width: 1000px) {
    #hero .carousel-nav {
      padding: 8px;
      padding-bottom: 50px;
    }
    #hero .carousel-main .carousel-cell {
      /*height: 600px;*/
    }
  }

  /* On large screen 
  @media only screen and (min-width: 1170px) {
    #hero .carousel-main .carousel-cell {
      height: 625px;
    }
  }*/


/* Home Page Navigations
============================================ */
  #home .flex-container {
    padding: 0;
    margin: 0;
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  #home .flex-item {
    height: 200px;
    width: 200px;
    color: white;
    font-weight: bold;
    font-size: 3em;
    text-align: center;
    border: 0.75px solid #333;
    flex-grow: 1;
    flex-basis: auto;
  }
  @media only screen and (max-width: 500px) {
    #home .flex-item {
      /*border: none;*/
    }
  }
  @media only screen and (min-width: 950px) {
    #home .flex-item {
      flex-basis: 30%;
    }
  }
  @media only screen and (min-width: 1200px) {
    #home .flex-item {
      flex-basis: auto;
      height: 300px;
    }
  }

  #home .home-navigation {
    list-style: none;
    width: 100%;
    height: 100%;
    line-height: 0;
    display: block;
    position: relative;
    overflow: hidden;
  }
  #home .home-navigation img {
    display: block;
    min-width: 350px;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  #home .home-image {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
  }
  #home .home-image-text {
    font-family: "amblelight";
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    padding: 10px 10px 65px;
    background: rgba(0, 0, 0, 0.55);
    position: relative;
    height: 100%;
  }
  #home .home-image-text a {
    font-family: "amblebold" !important;
    /*font-size: 20px;*/
    color: #ef8e32;
  }
  #home .home-image-text a:hover {
    color: rgba(255, 255, 255, 1);
  }
  #home .home-image-text ul {
    list-style: none;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 80%;
    margin-top: 10px;
  }
  @media only screen and (max-width: 500px) {
    #home .home-image-text ul {
      font-size: 70%;
    }
  }
  #home .home-image-text ul li {
    margin-top: 5px;
  }
  #home .home-image-button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 175px;
  }
  #home .home-image-button a {
    background: rgba(30, 83, 127, 0.65);
    border-radius: 50px;
    padding: 4px 0;
  }
  #home .home-image-button a:hover,
  #home .home-image-button a:focus,
  #home .home-image-button a:active {
    background: rgba(60, 126, 188, .85);
    letter-spacing: 0px !important;
  }
  #home .home-image-button a span {
    font-family: "amblelight";
    border-bottom: none;
    font-weight: 400;
    font-size: 16px;
    color: white;
  }
  #home .home-image-button a:hover span,
  #home .home-image-button a:focus span,
  #home .home-image-button a:active span {
    /* color: #ef8e32;
    font-weight: bold; */
  }
  @media only screen and (max-width: 600px) {
    #home .home-image-button a span {
      font-size: 15px;
    }
  }


/* Hero Background Image
============================================ */
  #hero-bg {
    height: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: rgba(10, 101, 179, 0.8);
    background: -moz-linear-gradient(left, rgba(10, 101, 179, 0.8) 0%, rgba(23, 46, 90, 0.8) 100%);
    background: -webkit-linear-gradient(left, rgba(10, 101, 179, 0.8) 0%, rgba(23, 46, 90, 0.8) 100%);
    background: linear-gradient(to right, rgba(10, 101, 179, 0.8) 0%, rgba(23, 46, 90, 0.8) 100%)
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#080b69', endColorstr='rgb(10, 101, 179',GradientType=0 );
    border-bottom: 5px solid #f18f32;
    box-shadow: 0px 0px 4px 1px rgba(99, 157, 234, 0.8);
  }
  #hero-bg .hero-title {
    height: 100%;
    font-family: amblelight;
    font-size: 24px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-align: justify;
    padding: 10px 30px;
    color: white;
    
    /* Uncomment to limit title to one row
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    */
  }
  #hero-bg .hero-title p {
    font-size: 2.3rem;
    margin: 0;
    text-align: left;
    text-transform: initial;
    letter-spacing: 0px;
    white-space: normal;
  }

  span.search {
    color: #e68a31;
    font-family: "amblebold";
    text-transform: capitalize;
  }

  /* Show hero-title logo for desktop */
  /* ^ Has been removed as too many logos on one page */
  /*#hero-bg .hero-title:before {
    content: '';
    width: 150px;
    height: 100px;
    position: absolute;
    top: 10px; right: 0;
    border: none;
    opacity: 0.8;
    background-image: url(../img/logo/logo-full.png);
    background-size: contain;
    background-repeat: no-repeat;
  }*/
  
  @media only screen and (max-width: 1000px) {
    #hero-bg .hero-title p {
      font-size: 1.8rem;
    }
  }

  @media only screen and (max-width: 768px) {
    #hero-bg {
      box-shadow: inset 0px 0px 20px 10px rgba(0,0,0,0.25);
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;

      background: rgba(8, 11, 105, 1);
      background: -moz-linear-gradient(top, rgba(23, 127, 216, 1) 0%, rgba(8, 11, 105, 1) 100%);
      background: -webkit-linear-gradient(top, rgba(23, 127, 216, 1) 0%, rgba(8, 11, 105, 1) 100%);
      background: linear-gradient(to bottom, rgba(23, 127, 216, 1) 0%, rgba(8, 11, 105, 1) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#080b69', endColorstr='rgb(23, 127, 216',GradientType=0 );
    }
    #hero-bg .hero-title p {
      font-size: 1.5rem;
    }
    #hero-bg .hero-title:before {
      /* Hide hero-title logo for mobile */
      content: '';
      opacity: 1.0;
      background-image: none;
    }
  }
  @media only screen and (max-width: 500px) {
    /* Hide for mobile to reserve appearance */
    #hero-bg {
      display: none;
    }
  }


/* Call to Action -- Unique Banner Section
============================================ */
/* NOTES!!!
 * 1. Need to remove background colour selection. Leave button colour.
 * 2. Select slightly darker colours for the buttons.
 */
  #call-to-action {
    background: -moz-linear-gradient(left, rgba(24, 60, 129, 0.8) 0%, rgba(22, 52, 110, 0.8) 100%);
    background: -webkit-linear-gradient(left, rgba(24, 60, 129, 0.8) 0%, rgba(22, 52, 110, 0.8) 100%);
    background: linear-gradient(to right, rgba(24, 60, 129, 0.8) 0%, rgba(22, 52, 110, 0.8) 100%);
    box-shadow: inset 0 3px 4px 0 rgba(0,0,0,0.35), 0 2px 2px 0 rgba(0,0,0,0.35);
  }
  #call-to-action h5 {
    color: white;
  }

  @media only screen and (max-width: 400px) {
    #call-to-action h5 {
      text-align: center;
      font-size: 16px;
    }
    #call-to-action a {
      margin: 10px auto 20px;
      width: 200px;
    }
    #call-to-action .text-container {
      height: auto;
      overflow: hidden;
    }
  }

  @media only screen and (min-width: 400px) {
    #call-to-action h5 {
      text-align: center;
      font-size: 18px;
    }
    #call-to-action a {
      margin: 10px auto 20px;
      width: 200px;
    }
    #call-to-action .text-container {
      height: auto;
      overflow: hidden;
    }
  }

  @media only screen and (min-width: 768px) {
    #call-to-action h5 {
      text-align: left;
      font-size: 16px;
      position: absolute;
      margin: 0;
      top: 50%;
      left: 0;
      transform: translate(0%, -50%);
    }
    #call-to-action a {
      margin: 25px 0;
      width: 100%;
    }
    #call-to-action .text-container {
      height: 95px;
      overflow: visible;
    }
  }


/* Contact / Submit Your CV
============================================ */
  
  #contact {
    background: #eee;
    padding: 20px;
    margin-top: 20px;
    border-top: solid 1px #eee;
    box-shadow: inset 0 0 4px 0 rgba(0,0,0,0.5);
  }
  #contact h3 {
    text-align: left;
    margin-top: 0;
  }

  #contact .col-xs-12 {
    /*margin: 0;*/
  }

  #contact fieldset {
    /*margin: 0;*/
  }

  #contact .form-submit {
    position: relative;
    bottom: -15px;
  }

  div.wpcf7 .wpcf7-recaptcha iframe {
    float: none;
    height: auto;
    width: 100%;
    margin: -30px 0;
    box-shadow: none;
  }
  div.wpcf7-validation-errors {
    border: 2px solid #ffda1b !important;
    background: #ffda1b !important;
    font-family: "ambleregular" !important;
  }
  div.wpcf7-spam-blocked {
    border: 2px solid #ffa500 !important;
    background: #ffa500 !important;
    font-family: "ambleregular" !important;
  }
  div.wpcf7-mail-sent-ok {
    border: 2px solid #10bb36 !important;
    background: #10bb36 !important;
    font-family: "ambleregular" !important;
    color: white !important;
  }
  span.wpcf7-list-item { 
    display: block !important; 
  }

  .wpcf7-submit {
    width: 50%;
    margin-top: 20px !important;
  }
  
  @media only screen and (max-width:500px) {
    #contact {
      margin-left: -25px;
      margin-right: -25px;
    }
  }


/* Welcon Default Styling
============================================ */
  /* This will take effect for most pages */

  /* Custom ImageHover Overlay for figcaption
  ============================================ */

    [class*=' imghvr-'],
    [class^=imghvr-] {
      width: 100%;
      height: auto;
      box-shadow: 4px 6px 1px 1px rgba(0,0,0,0.25);
    }
    [class*=' imghvr-'] figcaption h3,
    [class^=imghvr-] figcaption h3 {
      font-size: 2rem;
      font-family: inherit;
      margin-bottom: 10px;
    }
    [class*=' imghvr-'] figcaption, 
    [class^=imghvr-] figcaption {
      background-color: rgba(27, 111, 189, 0.75);
    }
    
    /* Disable download slide-up on hover for mobile devices */
    @media only screen and (max-width: 768px) {
      [class*=' imghvr-slide-']:hover figcaption, 
      [class^=imghvr-slide-]:hover figcaption {
        -webkit-transform: translateY(100%) !important;
        transform: translateY(100%) !important;
      }
    }


  /* Team Social Cards
  ============================================ */
    .section h2 {
      font-family: "ambleregular", sans-serif;
      font-weight: bold;
      text-transform: uppercase;
      margin-bottom: 1em;
      font-size: 20px;
      font-size: 1.25rem;
    }
    .section p {
      line-height: 1.4;
    }
    @media only screen and (min-width: 768px) {
      .section {
        padding: 4em;
      }
      .section p {
        line-height: 1.6;
      }
    }
    @media only screen and (min-width: 1170px) {
      .section {
        padding: 6em;
      }
      .section h2 {
        margin-bottom: 2em;
      }
      .section p {
        line-height: 1.8;
        font-size: 18px;
        font-size: 1.125rem;
      }
    }

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(138, 190, 178, 0.8);
      cursor: pointer;
      display: none;
    }

    #team.flex-container {
      justify-content: center;
    }
    #team .flex-item.team-card {
      max-width: 200px;
    }
    #team .team-card {
      height: 100%;
      background: transparent;
      margin: 10px;
      border-radius: 10px;
      box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.45);

      -webkit-transition: all 0.6s ease-in-out;
      -moz-transition: all 0.6s ease-in-out;
      -ms-transition: all 0.6s ease-in-out;
      -o-transition: all 0.6s ease-in-out;
      transition: all 0.6s ease-in-out;
    }
    #team .team-card .card-image {
      list-style: none;
      width: 100%;
      /* height: 100%; */
      height: auto;
      line-height: 0;
      display: block;
      width: 100%;
      position: relative;
      overflow: hidden;
      background: transparent;
    }
    #team .team-card .card-image img {
      border-radius: 10px 10px 0 0;
      display: block;
      max-width: 100%;
      max-height: 100%;
      /*position: absolute;*/
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
    }
    #team .team-card .card-content {
      width: 100%;
      /*height: 55px;*/
      padding: 10px 0;
    }
    #team .team-card .card-content .card-title {
      color: #000;
      font-family: "amblebold";
      font-size: 16px;
      letter-spacing: -0.5px;
      line-height: 20px;
    }
    #team .team-card .card-content .card-text {
      color: #444;
      font-weight: 400;
      font-size: 13px;
      letter-spacing: -1px;
      line-height: 15px;
    }

    @media only screen and (max-width: 1200px) {
      #team.flex-container {
        justify-content: space-around;
      }
      #team .flex-item.team-card {
        flex-basis: 35%;
        flex-grow: 1;
        max-width: 250px;
      }
    }

    @media only screen and (max-width: 450px) {
      #team .flex-item.team-card {
        flex-basis: 50%;
        flex-grow: 1;
      }
    }


/* Content and Image placement
============================================ */
  .content-image img {
    width: 75%;
    overflow: hidden;
  }
  .content {
    height: auto;
    margin-bottom: 10px;
  }
  .content img {
    /* Images float right by default */
    float: right;
    height: auto;
    margin: 0 0 0px 20px;
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.45);
    clear: both;
  }
  .content img.content-image,
  .content img.content-image-left,
  .content img.content-image-right {
    height: auto;
    width: auto;
    margin: 10px auto;
    display: block;
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.45);
    clear: both;
  }
  .content img.content-image {
    float: none;
  }
  .content img.content-image-left {
    float: left;
  }
  .content img.content-image-right {
    float: right;
  }
  .content .grid {
    text-align: center;
  }
  .content .grid img.content-image {
    /* This will supersede some CSS of the standalone .content-image */
    float: none;
    height: auto;
    width: auto;
    margin: 10px;
    display: initial;
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.45);
    clear: both;
  }


  .content iframe {
    width: 75%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  }
  .content ul {
    margin: 20px;
    border-radius: 10px;
    padding: 10px 20px 5px 30px;
    background: rgba(234, 234, 234, 0.35);
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.5);
    list-style: none;
  }
  .content ul li:before {
    content: "";
    border-color: transparent #111;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 0.9em;
    position: relative;
  }
  .content ul li {
    margin-bottom: 20px;
    padding-left: 10px;
    font-family: ambleregular;
  }
  .content ul ul {
    list-style: square;
    border: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
    margin: 10px;
  }
  .content ul ul li:before {
    display: none;
  }
  .content ul ul li {
    margin: 10px 0;
    border: none;
    color: #000;
    font-family: amblelight;
  }
  .content ul ul ul {
    padding-left: 20px;
    list-style: initial;
  }
  .content ul ul ul li {
    color: rgba(0, 0, 0, 0.55);
    font-family: amblelight;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .content p {
    text-align: left;
  }

  /* Other css for this section */
  .welcon-motto {
    /* OLD CODE REMOVED 28/06/2017
    text-align: center !important;
    padding: 20px;
    margin: 0 auto;
    width: 70%;
    font-size: 18px;
    color: white;
    text-transform: capitalize;
    box-shadow: 2px 3px 3px 1px rgba(0, 0, 0, 0.5);

    border-radius: 6px;
    background-color: #0f5290;
    background-image: -webkit-linear-gradient(90deg, #00036f, #4688ea);
    background-image: linear-gradient(0deg, #00036f, #4688ea);*/

    font-family: "ambleregular" !important;
    font-weight: 700;
    letter-spacing: 0px;
  }

  @media only screen and (max-width: 1000px) {
    .content img,
    .content iframe {
      float: none;
      display: block;
      margin: 0 auto;
      width: 100%;
    }
  }

  @media only screen and (max-width: 768px) {
    .content ul {
      font-size: 14px;
    }
    .content ul li {
      margin-bottom: 10px;
    }
  }

  @media only screen and (max-width: 600px) {
    .content ul {
      margin: 20px 0;
    }
  }

  @media only screen and (max-width: 500px) {
    .content img,
    .content iframe {
      height: auto;
    }
    .content-image,
    .content img.content-image-left,
    .content img.content-image-right {
      width: 100%;
    }
  }


/* Services / Solutions / Partners / Careers
============================================ */
  /** List Icons and Thumbnails -- make universal **/

  .no-padding {
    padding: 0;
  }

  .user-info {
    text-align: right;
    float: right;
    margin: 10px 10px 10px 0;
    font-style: italic;
    font-size: 1.5rem;
    letter-spacing: -1px;
  }

  ul.list-welcon li {
    margin-left: 18px;
    padding-left: 35px;
    text-align: justify;
    font-family: ambleregular;
    letter-spacing: -0.3px;
    font-size: 16px;
  }

  @media only screen and (max-width: 768px) {
    .user-info {
      float: none;
    }
    ul.list-welcon li {
      font-size: 14px;
    }
  }

  /* For Item Lists */
  .item {
    /* Defined in generic.css */
    font-size: 16px;
  }
  .icon {
    /* Defined in generic.css. */
    /*background-size: contain;*/
    margin: 5px 0;
    background-size: 50px 50px;
    background-repeat: no-repeat;
    width: 100%;
  }

  /* Additional styles for customising Item Lists */
  .item.item-border {
    border: 1px solid rgba(140, 140, 140, 0.25);
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    white-space: normal;
    /*width: 300px;*/
    height: 70px;
  }
  .scale-on-hover {
    transition: all 0.1s ease-in-out 0s, background 0.3s ease-out 0s, color 0.3s ease-out 0s;
    background: #fff;
    color: #000;
  }
  .scale-on-hover:hover {
    background: rgba(234, 234, 234, 0.5);
    color: #000;
    /*transform: scaleX(1.05);*/
    cursor: pointer;
    font-weight: bold;
    /*font-family: ambleregular;*/
  }
  .item-border .icon {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
  }
  .item-border:hover .icon,
  .scale-on-hover:hover .icon {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
  }
  .item-border span {
    /* THIS WORKS WONDERS FOR CENTERING TEXT INSIDE A DIV 
    CREDIT TO: https://www.w3.org/Style/Examples/007/center.en.html#text*/
    position: absolute;
    margin: 0;
    width: 70%;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
  }

  @media only screen and (max-width: 400px) {
    .item {
      font-size: 14px;
    }
  }

  /* For Thumbnail Lists */
  /* ^ Box-shadow and border have been disabled upon request. */
  .list-card {
    list-style: none;
    width: inherit;
    min-height: 150px;
    line-height: 0;
    font-size: 15px;
    padding: 10px;
    text-align: center;
    background: #fff;
    color: #000;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    /*margin-bottom: 25px;*/

    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
  }
  /* Set an animation to occur when hovering over list-card. */
  .list-card:hover {
    box-shadow: 2px 10px 5px 0px rgba(0, 0, 0, 0.35), -2px 10px 5px 0px rgba(0, 0, 0, 0.35);
    transform: scale(1.05);
    cursor: pointer;
  }
  .thumbnail {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .caption {
    line-height: 10px;
    font-size: 13px;
    font-family: ambleregular;
    display: block;
    color: black;
    margin-top: 20px;
    display: none;
  }

  /* For Image Galleries */
  .image-gallery {
    list-style: none;
    width: 100%;
    height: 100%;
    /* height: auto; */
    line-height: 0;
    display: block;
    position: relative;
    overflow: hidden;
    background: transparent;

    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
  }
  .image {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .image-text {
    padding: 10px 0;
    font-size: 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(51, 122, 183, 0.85);
    line-height: normal;
  }
  .image-gallery a:hover {
    color: white;
  }
  .image-gallery:hover a .image-text {
    background: rgba(11, 66, 114, 0.85);
    cursor: pointer;
  }
  .image-text-plain {
    padding: 20px 0;
    font-size: 14px;
    font-family: "amblelight";
    float: left;
    letter-spacing: -1px;
    position: relative;
    top: -60px;
    height: auto;
    width: 100%;
    line-height: normal;
    background: transparent;
    color: black;
  }

  @media only screen and (min-width: 1600px) {
    .image-text-plain {
      font-size: 16px;
    }
  }

  @media only screen and (max-width: 991px) {
    .list {
      width: 100%;
    }
  }
  @media only screen and (max-width: 500px) {
    .list {
      width: 100%;
    }
    .thumbnail {
      width: 100px;
      height: 100px;
    }
  }
  @media only screen and (max-width: 350px) {
    /* Only applies to list */
    #services .col-xs-6 {
      width: 100%;
    }
  }


/* Projects / News
============================================ */
  .bevel {
    box-shadow: 0px -5px 5px 0px rgba(125, 125, 125, 0.35);
  }

  #projects {
    /*padding-bottom: 40px;*/
  }
  #projects .container {
    width: 100%;
  }
  #projects aside {
    width: 100%;
  }
  #projects .flex-container {
    padding: 0;
    margin: 10px;
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    justify-content: center;
    flex-wrap: wrap;
  }
  #projects .flex-item {
    margin: 0 1.083%;
    width: 255px;
    height: auto;
    line-height: normal;
    color: white;
    font-weight: bold;
    font-size: 3em;
    text-align: center;
    border: 1px solid white;
    flex-grow: 0;
    flex-basis: auto;
  }
  
  @media only screen and (min-width: 1800px) {
    #projects .flex-item {
        margin: 0 .5%;
    }
    .flex-item {
        flex-basis: 0 !important;
    }
  }

  .row.full-width {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .post-edit-link {
    position: absolute;
    top: 15px;
    right: 11px;
  }
  .darken {
    background: rgba(231, 76, 60, 1) !important;
  }
  .no-background {
    background: transparent !important;
  }
  .hidden {
    visibility: hidden;
    margin-bottom: -10px;
  }

  .post-module {
    position: relative;
    z-index: 1;
    display: block;
    background: #FFFFFF;
    height: 375px;
    width: 250px;
    margin: 10px auto;
    border-radius: 7px;
    /* border: solid 1px #ddd; */
    -webkit-box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 7px 0px rgba(0, 0, 0, 0.25);
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  .post-module a {
    color: #337ab7;
  }
  .post-module a:hover {
    color: rgb(241, 143, 50);
  }
  /*.post-module:hover,
  .hover {
    -webkit-box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
  }*/
  .post-module .category {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(220, 112, 7, 0.8);
    padding: 10px 15px;
    color: #FFFFFF;
    font-size: 14px;
    text-transform: uppercase;
    border-top-left-radius: 6px;
  }
  .post-module:hover .post-image img,
  .hover .post-image img {
    /*-webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
    opacity: .8;*/
  }
  .post-module .post-image {
    background: transparent;
    border-radius: 5px 5px 0 0;
    display: block;
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
  }
  .post-module.default .post-image img {
    min-width: 100%;
  }
  .post-module .post-image img {
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    left: 50%;
    min-width: 125%;
    height: auto;
    min-height: 100%;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  .post-module .post-content {
    position: relative;
    background: transparent;
    width: 100%;
    padding: 7px;
    -webkti-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
    -moz-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
    -ms-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
    -o-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
    transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
  }
  .post-module .post-content .title {
    margin: 0;
    padding: 0;
    color: #333333;
    font-size: 16px;
    font-weight: 700;
  }
  .post-module .post-content .title a {
    font-family: "ambleregular" !important;
  }
  .post-module .post-content .subtitle {
    margin: 0;
    padding: 10px 0;
    color: rgba(170, 170, 170, 1);
    font-size: 14px;
    font-weight: 400;
    font-family: "amblelight" !important;
  }
  .post-module .post-content .description {
    display: none;
    height: auto;
    max-height: 193px;
    overflow: hidden;
  }
  .post-module .post-content .description p {
    color: #666666;
    font-size: 14px;
    line-height: 1.2em;
  }
  .post-module:hover .post-content .description {
    display: visible;
  }
  .post-module .post-content .post-meta {
    margin: 0;
    color: #999999;
  }
  .post-module .post-content .post-meta .timestamp {
    margin: 0 16px 0 0;
  }
  .post-module .post-content .post-meta a {
    color: #999999;
    text-decoration: none;
  }
  .hover .post-content .description {
    display: block !important;
    height: auto !important;
    opacity: 1 !important;
  }
  .post-module .tags {
    position: absolute;
    bottom: 10px;
    min-height: 25px;
    margin: 0 5%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap-reverse;
    -ms-flex-flow: row wrap;
    justify-content: flex-start;
    flex-wrap: wrap-reverse;
  }
  .post-module .tags a {
    /* display: inline-block; */
    font-size: 12px;
    border: 1px solid #3c7ebc;
    border-radius: 40px;
    padding: 2px 4px;
    margin: 2px 1px;
    background: transparent;
    color: #3c7ebc;
    cursor: pointer;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
  }
  .post-module .tags a:hover {
    background: #3c7ebc;
    color: white;
  }

  /* Edit Post (WORDPRESS) */
  .post-module .post-edit {
    position: absolute;
    top: 155px;
    right: 15px;
    z-index: 1;
    background: rgba(241, 143, 50, 0.9);
    width: 85px;
    height: auto;
    font-size: 16px;
    padding: 5px 0;
    color: #FFFFFF;
    text-align: center;
    border-radius: 5px;
    -webkti-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .post-module .post-edit a.edit {
    color: white;
  }
  .post-module .post-edit:hover {
    background: rgb(6, 86, 154);
    cursor: pointer;
  }
  .post-1 { display: block; }
  .post-2 { display: block; }
  .post-3 { display: block; }
  .post-4 { display: block; }
  .post-5 { display: block; }
  .post-6 { display: block; }
  @media only screen and (min-width: 1314px) {
    .post-1 { display: block; }
    .post-2 { display: block; }
    .post-3 { display: block; }
    .post-4 { display: block; }
    .post-5 { display: none; }
    .post-6 { display: none; }
  }
  @media only screen and (min-width: 1630px) {
    .post-1 { display: block; }
    .post-2 { display: block; }
    .post-3 { display: block; }
    .post-4 { display: block; }
    .post-5 { display: block; }
    .post-6 { display: none; }
  }
  @media only screen and (min-width: 1810px) {
    .post-1 { display: block; }
    .post-2 { display: block; }
    .post-3 { display: block; }
    .post-4 { display: block; }
    .post-5 { display: block; }
    .post-6 { display: block; }
  }
  


/* Project / Post (News)
============================================ */
  #single-post .col-xs-12 {
    margin: 0;
  }

  #single-post .container {
    width: 100%;
  }
  @media only screen and (max-width: 768px) {
    #single-post .container {
      width: 100%;
    }
  }
  #single-post a {
    color: #337ab7;
  }
  #single-post a:hover {
    color: rgb(241, 143, 50);
  }
  #single-post .post-item {
    margin: 35px 20px 35px 20px;
    overflow: hidden;
  }
  #single-post .post-img {
    margin: 20px 0;
    padding: 0; 
    height: 100%;
  }
  #single-post .post-img img {
    height: 100%;
    width: 75%;
    overflow: hidden;
    display: block;
    margin: 0 auto;
    box-shadow: 7px 8px 1px 1px rgba(0,0,0,0.25);
  }

  #single-post .edit {
    position: absolute;
    top: 20px;
    right: 0px;
    z-index: 1;
    background: #337ab7;
    width: 55px;
    height: 55px;
    padding: 15.5px 0;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    color: #FFFFFF;
    text-align: center;
    -webkti-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.45);
    -moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.45);
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.45);
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
  }
  #single-post a.edit {
    color: white;
  }
  #single-post a.edit:hover {
    background: rgb(6, 86, 154);
    color: white !important;
  }
  #single-post .edit:hover {
    opacity: 0.95;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  }

  #single-post .post-excerpt {
    overflow: hidden;
  }
  #single-post .post-top {
    margin: 20px 0px;
    border-bottom: 1px dotted rgb(191, 191, 191);
    height: 100px;
  }
  #single-post .post-top .author,
  #single-post .post-top .published {
    margin: 0;
    padding: 0 0 10px;
    color: rgb(128, 128, 128);
    font-size: 16px;
    font-weight: 400;
    /*text-transform: uppercase;
    text-align: center;*/
  }
  #single-post .post-top .author i,
  #single-post .post-top .published i {
    font-size: 22px;
    margin: 0 15px;
    color: #3c7ebc;
  }

  #single-post .post-top .tags {
    padding: 0;
    margin-bottom: 10px;
    color: rgb(128, 128, 128);
    font-size: 16px;
    font-weight: 400;
  }
  #single-post .post-top .tags a {
    display: inline-block;
    font-size: 12px;
    border: 1px solid #3c7ebc;
    border-radius: 40px;
    padding: 2px 6px;
    background: #3c7ebc;
    color: white;
    cursor: pointer;
  }
  #single-post .post-top .tags a {
    display: inline-block;
    font-size: 12px;
    border: 1px solid #3c7ebc;
    border-radius: 40px;
    padding: 2px 6px;
    margin: 2px 1px;
    background: transparent;
    color: #3c7ebc;
    cursor: pointer;
  }
  #single-post .post-top .tags a:hover {
    background: #3c7ebc;
    color: white;
  }

  #single-post .post-body {
    margin: 30px 30px 60px;
  }
  #single-post .post-body p {
    text-align: justify;
    font-size: inherit;
  }
  #single-post .post-body p:first-child:first-letter {
    color: #337ab7;
    float: left;
    font-size: 80px;
    line-height: 60px;
    padding-top: 4px;
    padding-right: 8px;
    padding-left: 0px;
  }

  #single-post .post-bottom {
    /*margin: 0 60px;*/
  }
  #single-post .post-bottom h4 {
    letter-spacing: 1.8px;
    margin: 0;
    padding: 0;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-block;
    width: auto;
    color: #999;
  }
  #single-post .post-bottom .social {
    display: inline-block;
    font-size: 18px;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 50px;
    background: rgb(230, 230, 230);
    cursor: pointer;
    line-height: 35px;
    width: 35px;
    height: 35px;
    text-align: center;
    padding: 0;
  }
  #single-post .post-bottom .social:hover {
    color: white;
  }
  #single-post .post-bottom .social i { }

  /* WP Plugin - Super Socializer */
    .the_champ_sharing_container {
      position: absolute;
      bottom: 0;
    }


  @media only screen and (max-width: 1000px) {
    #single-post .edit {
      right: 20px;
    }
  }
  @media only screen and (max-width: 500px) {
    #single-post .post-item {
      margin: 25px 0px 10px 0px;
    }
    #single-post .post-img img {
      width: 100%;
      box-shadow: inset 0 -3px 6px rgba(0,0,0,0.16), inset 0 3px 6px rgba(0,0,0,0.23);
    }

    #single-post .post-top {
      border-bottom: none;
    }
    #single-post .post-top .tags {
      margin-bottom: 30px;
    }
    #single-post .post-body {
      margin: 30px 0px 60px;
    }
  }


/* Footer
============================================ */
  #home section.swish {
    position: relative;
    height: 100px;
    padding-top: 125px;
    background: #fff;
    /*
      background: rgba(10, 101, 179, 0.8);
      background: -moz-linear-gradient(left, rgba(10, 101, 179, 0.8) 0%, rgba(23, 46, 90, 0.8) 100%);
      background: -webkit-linear-gradient(left, rgba(10, 101, 179, 0.8) 0%, rgba(23, 46, 90, 0.8) 100%);
      background: linear-gradient(to right, rgba(10, 101, 179, 0.8) 0%, rgba(23, 46, 90, 0.8) 100%)
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#080b69', endColorstr='rgb(10, 101, 179',GradientType=0 );
    */
    margin-top: -20px;
    z-index: -1;
  }
  #home .u-full-width,
  #home .u-max-full-width {
    padding-bottom: 0px;
    margin-bottom: -90px;
    /* padding: 10px 10px 0 10px; */
  }
  @media only screen and (max-width: 768px) {
    #home section.swish {
        margin-top: -70px;
    }
    #home .u-full-width,
    #home .u-max-full-width {
      padding: 0px 0px 0px 0px;
    }
  }

  section.swish {
    position: relative;
    height: 100px;
    background: transparent;
    margin-top: -90px;
    z-index: 0;
  }
  section.swish #swishShadow,
  section.swish #swishTop,
  section.swish #swishBottom,
  section.swish #swishBase {
    position: absolute;
    padding-bottom: 0; 
    margin-bottom: 0;
    width: 100%;
    height: 100px;
  }
  section.swish #swishShadow {
    fill: transparent;
    stroke: rgba(0, 0, 0, 0.06);
    stroke-width: 2px;
    bottom: 12px;
  }
  section.swish #swishTop {
    fill: transparent; 
    stroke: #ffffff; 
    stroke-width: 6px;
    bottom: 6px;
  }
  section.swish #swishBottom {
    fill: transparent; 
    stroke: #f08c33;
    stroke-width: 10px;
    bottom: 0px;
  }
  section.swish #swishBase {
    fill: rgba(12, 48, 103, 0.97);
    bottom: 0px;
  }

  footer .row + .row {
    margin-top: -30px;
  }
  footer {
    background: rgba(12, 48, 103, 0.9);
    margin-top: 0px;
    /*padding-top: 10px;*/
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  footer .container {
    top: -10px;
    margin-bottom: -15px;
  }

  footer ul {
    border-left: 3px solid rgba(51,122,183,1);
    text-indent: 10px;
    list-style: none;
  }
  footer ul li {
    line-height: 25px;
  }
  footer ul li a {
    font-size: 14px;
  }
  footer ul li a:hover {
    color: rgba(249,147,49,1);
  }
  footer h4 {
    letter-spacing: 1.8px;
    margin: 0;
    padding: 0;
    font-size: 11px;
    text-transform: uppercase;
    display: inline-block;
    width: auto;
    color: #a0a0a0;
    font-weight: bold;
  }
  footer h4.motto {
    color: #FFF;
    font-style: italic;
    font-weight: bold;
    font-size: 13px;
  }

  footer .logo {
    margin-top: 15px;
    position: static;
    display: inline-block;
    text-align: center;
    text-indent: 30px;
    color: #777;

    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
  }
  footer .logo img {
    margin: 0 auto;
  }
  footer .links, footer .branches, footer .social-icons {
    margin-top: 15px;
  }

  footer li.highlight {
    list-style: none;
    margin: 10px 0 50px;
  }

  footer .social-icons a.badge {
    background: rgba(146, 146, 146, 0.47);
    font-size: 24px;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 42px;
    margin: 10px 0 0 5px;
    padding: 0;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
  }
  footer .social-icons a.badge,
  footer .social-icons a.badge:hover {
    color: white;
  }

  @media only screen and (max-width: 700px) {
    footer {
      background: rgba(12, 48, 103, 1.0);
    }
    section.swish #swishBase {
      fill: rgba(12, 48, 103, 1.0);
    }
  }
  @media only screen and (max-width: 400px) {
    footer h4 {
      font-size: 9px;
    }
    footer h4.motto {
      font-size: 10px;
    }
    footer ul li a {
      font-size: 12px;
    }
    footer .social-icons {
      /*display: none;*/
    }
  }

  @media only screen and (max-width: 768px) {
    footer {
      border-bottom-left-radius: 0px;
      border-bottom-right-radius: 0px;
    }
  }
  @media only screen and (max-width: 1170px) {
    footer .logo img {
      height: 90px;
    }
  }
  @media only screen and (min-width: 1170px) {
    footer .logo img {
      height: 150px;
      margin-top: -20px;
    }
  }


/* Copyright
============================================ */
  #copyright {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    border-top: 0 solid transparent;
    border-top-width: 1px;
    background-color: rgba(44, 44, 44, 0.8);
    border-top-color: #333333;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  #copyright .container {
    width: 90%;
    top: 0;
    margin-bottom: 0;
  }
  #copyright p {
    font-size: 12px;
    letter-spacing: 0px;
    color: #aaa;
    margin: 0;
  }

  @media only screen and (max-width: 768px) {
    #copyright {
      border-bottom-left-radius: 0px;
      border-bottom-right-radius: 0px;
    }
  }
  @media only screen and (max-width: 500px) {
    #copyright p {
      font-size: 11px;
      letter-spacing: 0px;
    }
  }
  @media only screen and (max-width: 400px) {
    #copyright p {
      font-size: 9px;
      letter-spacing: 0px;
    }
  }


/* Widgets
============================================ */
  .widget, #comments {
    position: relative;
    display: inline-block;
    border: solid 1px #ddd;
    background: rgba(255, 255, 255, 1);
    color: black;
    margin: 20px 2.083%;
    width: 41.66666667%;
    vertical-align: top;
  }
  .widget:nth-child(odd) {
    margin-left: 6.125%;
  }
  .widget:nth-child(even) {
    margin-right: 6.125%;
  }
  .widget {
    padding: 20px;
    border-radius: 7px;
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.15);
  }
  .widget h2,
  .widget h4 {
    font-size: 20px;
    margin: 0 0 10px;
    padding: 0 0 10px;
    border-bottom: solid 2px #444;
    font-family: "ambleregular" !important;
  }
  .widget p {
    font-size: 14px;
  }
  .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .widget ul li {
    margin: 0 0 5px;
    text-indent: 10px;
  }
  .widget ul li:hover {
    position: relative;
    left: 5px;
  }
  .widget ul li a {
    font-size: 14px;
    color: #000 !important;
    font-family: "ambleregular" !important;
    padding-right: 70%;
  }
  .widget ul li:hover a {
    cursor: pointer;
    color: #3c7ebc !important;
    font-family: "amblebold" !important;
  }
  .widget ul li:before {
    font-family: 'FontAwesome';
    content: '\f101';
    color: rgb(241, 143, 50);
    padding-right: 5px;
    font-size: 17px;
  }
  .widget-area {
    /* width: 85%; */
    margin: 0 auto;
  }
  @media only screen and (max-width: 900px) {
      .widget, #comments {
        display: block;
        background: rgba(255, 255, 255, 1);
        color: black;
        margin: 20px 2.083%;
        width: auto;
        vertical-align: top;
      }
      .widget:nth-child(odd) {
        margin-left: 2.083%;
      }
      .widget:nth-child(even) {
        margin-right: 2.083%;
      }
  }
  .posts-navigation,
  .post-navigation {
    border-top: 1px solid rgba(0,0,0,0.25);
  }
  .posts-navigation h2,
  .posts-navigation h4,
  .posts-navigation h2,
  .posts-navigation h4 {
    font-size: 25px;
    margin: 10px 20px;
    padding: 0 0 10px;
    border-bottom: solid 2px #444;
  }
  /* Temporary as this may not need to be shown */
  .posts-navigation h2,
  .posts-navigation h4,
  .post-navigation h2,
  .post-navigation h4 {
    display: none;
  }

  .nav-links {
    margin: 10px 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  .nav-links .nav-previous,
  .nav-links .nav-next {
    color: white;
    font-size: 18px;
    flex-grow: 0;
    flex-basis: auto;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.25);
    background: #337ab7;
  }
  .nav-links .nav-previous {
    text-align: left;
  }
  .nav-links .nav-next {
    text-align: right;
  }
  .nav-links .nav-previous a:before {
    font-family: 'FontAwesome';
    content: '\f100';
    color: white;
    padding-right: 10px;
  }
  .nav-links .nav-next a:after {
    font-family: 'FontAwesome';
    content: '\f101';
    color: white;
    padding-left: 10px;
  }
  .nav-links .nav-previous a,
  .nav-links .nav-next a {
    padding: 10px 20px;
    border-radius: 5px;
    color: white !important;
    display: block;
  }
  .nav-links .nav-previous a:hover,
  .nav-links .nav-next a:hover {
    background: rgb(6, 86, 154);
    color: white !important;
  }

  @media only screen and (max-width: 900px) {
    .nav-links .nav-previous,
    .nav-links .nav-next {
      flex-grow: 1;
      flex-basis: auto;
      text-align: center;
    }
  }


/* Comments
============================================ */
  .post-comments-badge {
    height: 70px;
    width: 70px;
    position: absolute;
    top: 25px;
    right: 20px;
    border: none;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    background: #79b044;
    text-align: center;
    display: table;
  }

  .post-comments-badge a {
    display: table-cell;
    vertical-align: middle;
    color: white;
    font-size: 20px;
    line-height: 20px;
  }

  .post-comments-badge i.fa {
    display: block;
    font-size: 15px;
    padding: 0;
    margin-bottom: 4px;
  }

  .post-comments-badge:hover {
    background-color: #8bc653;
  }

  #comments h3 {
    text-align: left;
  }

  #comments h4 {
    font-size: 1.3em;
    text-align: left;
  }

  #comments ol {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #comments ol li {
    background: rgba(0,0,0,0.05);
    padding: 10px 20px;
    margin: 10px 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px rgba(0,0,0,0.05);
  }

  #comments ol li ol.children {
    padding: 0;
    list-style: none;
    font-size: 0.96em;
  }

  #leave-comment {
    margin: 40px 0 0;
    padding: 20px 20px 20px 20px;
    border-top: solid 1px #eee;
    background: rgba(0,0,0,0.1);
  }


/* Google Maps
============================================ */
  /* Always set the map height explicitly to define the size of the div
   * element that contains the map. */
  #google-maps.u-full-width {
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 0px;
  }

  #gladstoneMap, #townsvilleMap, #brisbaneMap {
    height: 230px;
    margin: 40px 0;
    box-shadow: 4px 6px 1px 1px rgba(0,0,0,0.25);
  }
  #google-maps h4 {
    font-size: 20px;
    margin-top: 30px;
  }
  #google-maps .logo {
    position: absolute;
    bottom: -10px;
    right: 0;
  }
  #google-maps .logo img {
    height: 35px;
  }
  #google-maps .siteNotice {
    font-weight: bold;
    padding: 5px 0;
  }
  #google-maps .bodyContent p {
    font-family: "ambleregular" !important;
    font-size: 12px;
    letter-spacing: -1px;
    margin: 0 0 5px 10px;
  }
  #google-maps .bodyContent a {
    color: #4a90e2;
    text-decoration: underline;
    font-size: 90%;
  }

  #google-maps .item {
    /* Defined in generic.css */
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-width: 0;
    white-space: normal !important;
    letter-spacing: 0;
  }
  #google-maps .icon {
    /* Defined in generic.css. */
    color: #337ab7;
    font-size: 25px;
    height: 30px;
    width: auto;
  }

  @media only screen and (max-width: 768px) {
    #gladstoneMap, #townsvilleMap, #brisbaneMap {
      height: 250px;
      margin: 20px 0;
    }
    #google-maps .item {
      margin: 0 auto;
    }
  }


