/*
* © The Hut Group 2018-2020, All Rights Reserved.
*
* This source code is the property of The Hut Group, registered address:
* Icon 1, 7-9 Sunbank Lane, Ringway,
* Altrincham, England, WA15 0AF
*/
@charset "utf-8";
*,
*:before,
*:after {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.clearfix:before,
.clearfix:after,
header:before,
header:after,
section:before,
section:after,
footer:before,
footer:after {
  content: '';
  display: table;
}

.clearfix:after,
header:after,
section:after,
footer:after {
  clear: both;
}

html,
body {
  font-family: Open Sans, serif;
  font-size: 1em;
  line-height: 1.5em;
  color: #313233;
  margin: 0;
  padding: 0;
}

header,
footer,
section {
  padding: 50px 0;
  text-align: center;
}

.wrapper {
  padding: 0 30px;
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}

.h1 {
  font-size: 3em;
  font-weight: 400;
  line-height: 1.2em;
  margin: 0;
}

h1 {
  font-size: 2em;
  font-weight: 700;
  margin: 10px auto 20px;
}

h2 {
  font-size: 2.4em;
}

h3 {
  font-size: 1.2em;
}

h1,
nav a {
  font-weight: 400;
}

h2,
#customer {
  font-weight: 300;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

a,
strong {
  font-weight: 600;
  outline: none;
}

a,
a:before,
a:after,
button,
button:before,
button:after {
  transition: all linear 0.15s;
  -o-transition: all linear 0.15s;
  -ms-transition: all linear 0.15s;
  -moz-transition: all linear 0.15s;
  -webkit-transition: all linear 0.15s;
}
/* PAGE */

header {
  padding: 15px 0;
}

header h1 {
  float: right;
}

header a.site-title {
  text-indent: -9999px;
  display: block;
  float: left;
  width: 121px;
  height: 56px;
  background: url(../images/uk2-logo.png) no-repeat 50% 50%;
}

#navigation {
  float: right;
  position: relative;
  -webkit-transform: translateY(30%);
  -moz-transform: translateY(30%);
  -ms-transform: translateY(30%);
  -o-transform: translateY(30%);
  transform: translateY(30%);
  max-width: 670px;
  width: 100%;
}

nav a {
  font-size: 0.9em;
  text-decoration: none;
  color: #313233;
  float: left;
  display: inline-block;
  padding: 1.3em 1em;
}

nav a:hover {
  color: #dc4d15;
}

#navigation .nav-toggle {
  display: none;
  padding: 0.5em 1em;
  vertical-align: middle;
  position: relative;
  z-index: 2;
  background: #fff;
}

#hero {
  background: url(../img/hero-default.png) no-repeat 50% 50% / cover;
}

#hero,
#customer {
  color: #fff;
}

form {
  max-width: 840px;
  width: 100%;
  margin: 0 auto 30px;
}

form input {
  padding: 1em;
  padding: 0.75em 1em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

form input[type='search'] {
  width: 70%;
  font-size: 1em;
  line-height: 1.4em;
}

form button {
  width: 30%;
  color: #fff;
  background: #313233;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 1.6em 0;
  display: inline-block;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.7em;
}

button:hover:before {
  opacity: 1;
}

button:hover {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#customer {
  padding: 10px 0;
  background: #444;
  font-size: 1.2em;
}

#customer a {
  color: #fff;
}

#content {
  background: #f5f5f5;
}

.footer {
  padding: 20px 0 0;
  text-align: right;
}

.item {
  background: #fff;
  float: left;
  width: 48%;
  min-height: 275px;
  padding: 0.8em 1.3em;
  margin-bottom: 2em;
  border: solid 1px #ddd;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
}

.item:nth-of-type(odd) {
  clear: left;
}

.item:nth-of-type(even) {
  float: right;
}

.item img {
  width: 70px;
  height: 70px;
  margin-top: 25px;
}

.item article {
  text-align: left;
  padding-left: 1.3em;
}

.item a {
  color: #dc4d15;
}

.item a:before {
  font-family: FontAwesome;
  content: '\f08e';
  padding-right: 0.3em;
}

.item + h2 {
  padding-top: 1.5em;
  clear: both;
}

footer {
  position: relative;
  background: #1f1f1f;
  color: #777;
}

footer a {
  color: #777777;
  background: #1f1f1f;
  text-decoration: none;
  text-align: left;
}

footer:before {
  content: '';
  width: 100%;
  height: 1px;
  background: #f5f5f5;
  position: absolute;
  top: 1px;
  left: 0;
}

footer p {
  font-size: 0.8em;
}

footer ul,
footer ul li,
footer p {
  margin: 0;
  padding: 0;
}

footer ul {
  float: right;
}

footer li,
footer p {
  float: left;
}

footer li a {
  padding: 4px 13px;
  position: relative;
}

footer li a:hover {
  color: #fff;
}

@media (max-width: 890px) {
  body {
    font-size: 14px;
  }
  #navigation .nav-toggle {
    display: table-cell;
  }
  #navigation.active .nav-toggle {
    background: #eee;
  }
  #navigation {
    width: auto;
  }
  #navigation ul {
    display: none;
    position: absolute;
    right: 0;
    top: -webkit-calc(100% - 2px);
    top: -moz-calc(100% - 2px);
    top: calc(100% - 2px);
  }
  #navigation.active ul {
    display: inline-block;
    background: #eee;
  }
  h1,
  h2,
  #hero h1,
  #hero h2,
  #hero h3 {
    font-size: 170%;
  }
  nav a {
    padding: 0.8em 1.8em;
    display: block;
    float: none;
    white-space: nowrap;
  }
  nav a:hover {
    background: #fafafa;
  }
  .item {
    width: 100%;
    float: none;
    min-height: inherit;
    padding: 2.2em 1.6em;
  }
}

@media (max-width: 480px) {
  form input[type='search'],
  form button {
    width: 100%;
    clear: both;
  }
  .item article {
    text-align: center;
    padding: 0;
  }
  .item img {
    height: 55px;
    width: 55px;
  }
  .item {
    display: block;
    clear: both;
    float: none !important;
  }
}
