/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}


/* Site Styling */

html {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

h1 {
	font-size: 30px;
  font-size: 1.875rem;
}

h2 {
	font-size: 24px;
	font-size: 1.5rem;
}

a {
	color: #000;
	text-decoration: none;
}

button:not(:disabled), 
[type="button"]:not(:disabled), 
[type="reset"]:not(:disabled), 
[type="submit"]:not(:disabled) {
    cursor: pointer;
}

.container {
	margin: 0 auto;
	padding: 0;
	width: 90%;
	max-width: 1200px;
}

a:hover.back-to-top {
	background-color: #082f31;
}

a.back-to-top {
	position: fixed;
	z-index: 999;
	right: 12px;
	bottom: 12px;
	display: none;
	width: 44px;
	height: 44px;
	border-radius: 22px;
	background: #136F74 url("../images/up-arrow.png") no-repeat center 47%;
	background-size: 18px;
	text-indent: -9999px;
}

.header-container {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1000;
	box-shadow: 0 0.0625rem 0.375rem 0 rgba(0, 0, 0, 0.1)
}

.contact-info {
	height: 40px;
	background: #000;
	display: flex;
	align-items: center;
	font-size: 12px;
	font-size: 0.75rem;
}

.contact-info a {
	color: #fff;
}

header {
	padding: 15px 0;
	background: #fff;
	transition: all 0.2s;
}

header h2,
header ul {
	margin: 0;
}

_:-ms-fullscreen, :root header h2 {
	width: 99.17px;
}

header h2 {
	height: 30px;
}

header h2 svg {
	height: inherit;
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	flex-wrap: wrap;
}

header .navbar-toggler {
  padding: 0;
  border: none;
  color: #000;
  font-size: 26px;
  background-color: transparent;
}

header button:focus {
	outline: none;
}

header button[aria-expanded='false'] .navbar-toggler-awesome.fas.fa-bars {
  display: inline-block;
}

header button[aria-expanded='false'] .navbar-toggler-awesome.fas.fa-times {
  display: none;
}

header button[aria-expanded='true'] .navbar-toggler-awesome.fas.fa-bars {
  display: none;
}

header button[aria-expanded='true'] .navbar-toggler-awesome.fas.fa-times {
  display: inline-block;
  margin-right: 0.125rem;
}

header nav {
	margin-right: -20px;
	display: none;
	-ms-flex-preferred-size: 100%;
	flex-basis: 100%;
	-ms-flex-positive: 1;
	flex-grow: 1;
	-ms-flex-align: center;
	align-items: center;
	margin-top: 20px;
}

header nav ul {
	list-style: none;
	display: block;
	padding: 0;
}

header nav ul li {
	margin-right: 20px;
}

header nav ul li a {
	text-transform: uppercase;
	font-size: 12px;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 15px 0;
	display: block;
}

_:-ms-fullscreen, :root .hero {
	display: flex;
	flex-wrap: wrap;
}

.hero {
	height: 350px;
	background: url('../images/hero.png');
	background-size: cover;
	background-position: bottom center;
	color: #fff;
	display: -ms-grid;
	display: grid;
	align-items: center;
	justify-content: center;
	align-content: center;
	text-align: center;
	margin-top: 100px;
}

.hero h1, .hero h2 {
	margin: 0;
}

.hero h1 {
	margin-bottom: 20px;
}

.section {
	padding: 60px 0;
	text-align: center;
}

.section.green {
	background: #00585D;
	color: #fff;
}

.section.grey {
	background: #F0F0F0;
}

.section article {
	width: calc(100% * 0.6583333333)
}

.section h2 {
	font-size: 24px;
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 40px 0;
}

.products-container h3,
.services-container h3 {
	font-size: 18px;
	font-size: 1.125rem;
}

.products-container {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	grid-column-gap: 60px;
	grid-row-gap: 60px;
}

_:-ms-fullscreen, :root .products-container .col1 {
	-ms-grid-column: 1;
	-ms-grid-row: 1;
	margin: 0 0 60px 0;
}

_:-ms-fullscreen, :root .products-container .col2 {
	-ms-grid-column: 1;
	-ms-grid-row: 2;
	margin: 0 0 60px 0;
}

_:-ms-fullscreen, :root .products-container .col3 {
	-ms-grid-column: 1;
	-ms-grid-row: 3;
	margin: 0 0 60px 0;
}

_:-ms-fullscreen, :root .products-container .col4 {
	-ms-grid-column: 1;
	-ms-grid-row: 4;
	margin: 0 0 60px 0;
}

_:-ms-fullscreen, :root .products-container .col5 {
	-ms-grid-column: 1;
	-ms-grid-row: 5;
	margin: 0 0 60px 0;
}

_:-ms-fullscreen, :root .products-container .col6 {
	-ms-grid-column: 1;
	-ms-grid-row: 6;
}

.services-container {
	display: -ms-grid;
	display: grid;
	grid-template-columns: 1fr;
	grid-column-gap: 60px;
	grid-row-gap: 60px;
}

_:-ms-fullscreen, :root .services-container #cloud-service {
	-ms-grid-column: 1;
	-ms-grid-row: 1;
	margin: 0 0 60px 0;
}

_:-ms-fullscreen, :root .services-container #mobile-service {
	-ms-grid-column: 1;
	-ms-grid-row: 2;
	margin: 0 0 60px 0;
}

_:-ms-fullscreen, :root .services-container #consultancy-service {
	-ms-grid-column: 1;
	-ms-grid-row: 3;
	margin: 0 0 60px 0;
}

_:-ms-fullscreen, :root .services-container #design-service {
	-ms-grid-column: 1;
	-ms-grid-row: 4;
	margin: 0 0 60px 0;
}

_:-ms-fullscreen, :root .services-container #rescue-service {
	-ms-grid-column: 1;
	-ms-grid-row: 5;
}

#clients .client-logos {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 0;
}

#clients .client-logos li {
	padding: 10px;
}

#clients .client-logos li img {
	height: 70px;
	max-width: 100%;
}

#clients .client-logos li#newcastle img,
#clients .client-logos li#eryc img,
#clients .client-logos li#m2m img {
	height: 40px;
}

#clients .client-logos li#kms img {
	height: 35px;
}

#clients .client-logos li#oldham img {
	height: 20px;
}

#clients .client-logos li#bolton img,
#clients .client-logos li#amey img {
	height: 60px;
}

#clients .client-logos li#vaisala img {
	height: 30px;
}

#contact form {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr;
	grid-template-columns: 1fr;
	grid-column-gap: 60px;
	grid-row-gap: 20px;
	text-align: left;
}

#contact form input,
#contact form textarea,
#contact form select {
	width: 100%;
	height: 44px;
	border: none;
	padding: 14px;
}

#contact form textarea {
	height: 132px;
}

#contact form label {
	display: inline-block;
	margin-bottom: 10px;
}

#contact form input[type="button"] {
	background: #136F74;
	color: #fff;
	text-transform: uppercase;
	width: auto;
	padding: 0 40px;
	cursor: pointer;
}

#contact form input[type="button"]:hover {
	background: #082f31;
}

_:-ms-fullscreen, :root #contact form .firstname-group {
	-ms-grid-column: 1;
	-ms-grid-row: 1;
	margin: 0 0 20px 0;
}

_:-ms-fullscreen, :root #contact form .lastname-group {
	-ms-grid-column: 1;
	-ms-grid-row: 2;
	margin: 0 0 20px 0;
}

_:-ms-fullscreen, :root #contact form .email-group {
	-ms-grid-column: 1;
	-ms-grid-row: 3;
	margin: 0 0 20px 0;
}

_:-ms-fullscreen, :root #contact form .subject-group {
	-ms-grid-column: 1;
	-ms-grid-row: 4;
	margin: 0 0 20px 0;
}

_:-ms-fullscreen, :root #contact form .message-group {
	-ms-grid-column: 1;
	-ms-grid-row: 5;
	margin: 0 0 20px 0;
}

_:-ms-fullscreen, :root #contact form input[type="button"] {
	-ms-grid-column: 1;
	-ms-grid-row: 6;
}

#location #map {
	width: 100%;
	height: 350px;
}

footer {
	background: #000;
	color: #fff;
	padding: 60px 0;
	text-align: center;
}

footer a {
	color: inherit;
}

@media (min-width: 375px) {
  .hero {
  	height: 400px;
  }
  #location #map {
		height: 400px;
	}
}

@media (min-width: 414px) {
  .hero {
  	height: 500px;
  }
  #location #map {
		height: 500px;
	}
}

@media (min-width: 768px) {  
  h1 {
		font-size: 40px;
	  font-size: 2.5rem;
	}

	h2 {
		font-size: 26px;
		font-size: 1.625rem;
	}

  header nav {
  	display: block;
  	flex-basis: auto;
  	flex-grow: 0;
  	margin-top: 0;
  }

  header nav ul {
  	display: flex;
  }

  header nav ul li a {
  	padding: 0;
  }

  header button {
  	display: none;
  }

  .products-container {
  	-ms-grid-columns: 1fr 1fr;
		grid-template-columns: 1fr 1fr;
	}

	_:-ms-fullscreen, :root .products-container .col1 {
  	-ms-grid-column: 1;
  	-ms-grid-row: 1;
  	margin: 0 30px 60px 0;
  }

  _:-ms-fullscreen, :root .products-container .col2 {
  	-ms-grid-column: 2;
  	-ms-grid-row: 1;
  	margin: 0 0 60px 30px;
  }

  _:-ms-fullscreen, :root .products-container .col3 {
  	-ms-grid-column: 1;
  	-ms-grid-row: 2;
  	margin: 0 30px 60px 0;
  }

  _:-ms-fullscreen, :root .products-container .col4 {
  	-ms-grid-column: 2;
		-ms-grid-row: 2;
		margin: 0 0 60px 30px;
  }

  _:-ms-fullscreen, :root .products-container .col5 {
  	-ms-grid-column: 1;
  	-ms-grid-row: 3;
  	margin: 0 30px 0 0;
  }

  _:-ms-fullscreen, :root .products-container .col6 {
  	-ms-grid-column: 2;
  	-ms-grid-row: 3;
  	margin: 0 0 0 30px;
  }

	.services-container {
		-ms-grid-columns: 1fr 1fr 1fr 1fr;
		grid-template-columns: repeat(4, 1fr);
	}

	_:-ms-fullscreen, :root .services-container #cloud-service {
		-ms-grid-column: 1;
		-ms-grid-row: 1;
		-ms-grid-column-span: 2;
		margin: 0 30px 60px 0;
	}

	_:-ms-fullscreen, :root .services-container #mobile-service {
		-ms-grid-column: 3;
		-ms-grid-row: 1;
		-ms-grid-column-span: 2;
		margin: 0 0 60px 30px;
	}

	_:-ms-fullscreen, :root .services-container #consultancy-service {
		-ms-grid-column: 1;
		-ms-grid-row: 2;
		-ms-grid-column-span: 2;
		margin: 0 30px 60px 0;
	}

	_:-ms-fullscreen, :root .services-container #design-service {
		-ms-grid-column: 3;
		-ms-grid-row: 2;
		-ms-grid-column-span: 2;
		margin: 0 0 60px 30px;
	}

	_:-ms-fullscreen, :root .services-container #rescue-service {
		-ms-grid-column: 2;
		-ms-grid-row: 3;
		-ms-grid-column-span: 2;
	}

	.services-container #cloud-service {
		grid-column: 1 / span 2;
	}

	.services-container #mobile-service {
		grid-column: 3 / span 2;
	}

	.services-container #consultancy-service {
		grid-column: 1 / span 2;
	}

	.services-container #design-service {
		grid-column: 3 / span 2;
	}

	.services-container #rescue-service {
		grid-column: 2 / span 2;
	}

	#contact form {
		-ms-grid-columns: 1fr 1fr;
		grid-template-columns: 1fr 1fr;
	}

	_:-ms-fullscreen, :root #contact form .firstname-group {
		-ms-grid-column: 1;
		-ms-grid-row: 1;
		margin: 0 30px 20px 0;
	}

	_:-ms-fullscreen, :root #contact form .lastname-group {
		-ms-grid-column: 2;
		-ms-grid-row: 1;
		margin: 0 0 20px 30px;
	}

	_:-ms-fullscreen, :root #contact form .email-group {
		-ms-grid-column: 1;
		-ms-grid-row: 2;
		margin: 0 30px 20px 0;
	}

	_:-ms-fullscreen, :root #contact form .subject-group {
		-ms-grid-column: 2;
		-ms-grid-row: 2;
		margin: 0 0 20px 30px;
	}

	_:-ms-fullscreen, :root #contact form .message-group {
		-ms-grid-column: 1;
		-ms-grid-column-span: 2;
		-ms-grid-row: 3;
		margin: 0 0 20px 0;
	}

	_:-ms-fullscreen, :root #contact form input[type="button"] {
		-ms-grid-column: 1;
		-ms-grid-row: 4;
	}

	#contact form .firstname-group {
		grid-column: 1;
	}

	#contact form .lastname-group {
		grid-column: 2;
	}

	#contact form .email-group {
		grid-column: 1;
	}

	#contact form .subject-group {
		grid-column: 2;
	}

	#contact form .message-group {
		grid-column: 1 / span 2;
	}
}

@media (min-width: 1024px) {
	_:-ms-fullscreen, :root .hero {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
	}

	.products-container {
		-ms-grid-columns: 1fr 1fr 1fr;
		grid-template-columns: 1fr 1fr 1fr;
	}

	_:-ms-fullscreen, :root .products-container .col1 {
		-ms-grid-column: 1;
		-ms-grid-row: 1;
		margin-right: 30px;
	}

	_:-ms-fullscreen, :root .products-container .col2 {
		-ms-grid-column: 2;
		-ms-grid-row: 1;
		margin: 0 30px;
	}

	_:-ms-fullscreen, :root .products-container .col3 {
		-ms-grid-column: 3;
		-ms-grid-row: 1;
		margin-left: 30px;
	}

	_:-ms-fullscreen, :root .products-container .col4 {
		-ms-grid-column: 1;
		-ms-grid-row: 2;
		margin-top: 60px;
		margin-right: 30px;
	}

	_:-ms-fullscreen, :root .products-container .col5 {
		-ms-grid-column: 2;
		-ms-grid-row: 2;
		margin: 60px 30px 0;
	}

	_:-ms-fullscreen, :root .products-container .col6 {
		-ms-grid-column: 3;
		-ms-grid-row: 2;
		margin-top: 60px;
		margin-left: 30px;
	}

	.services-container {
		-ms-grid-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
		grid-template-columns: repeat(6, 1fr);
		grid-column-gap: 60px;
		grid-row-gap: 60px;
	}

	_:-ms-fullscreen, :root .services-container #cloud-service { 
   	-ms-grid-column: 1;
		-ms-grid-row: 1;
		-ms-grid-column-span: 2;
		margin-right: 30px;
   }

  _:-ms-fullscreen, :root .services-container #mobile-service {
		-ms-grid-column: 3;
		-ms-grid-row: 1;
		-ms-grid-column-span: 2;
		margin: 0 30px;
	}

	_:-ms-fullscreen, :root .services-container #consultancy-service {
		-ms-grid-column: 5;
		-ms-grid-row: 1;
		-ms-grid-column-span: 2;
		margin-left: 30px;
	}

	_:-ms-fullscreen, :root .services-container #design-service {
		-ms-grid-column: 1;
		-ms-grid-row: 2;
		-ms-grid-column-span: 3;
		margin-top: 60px;
		margin-right: 30px;
	}

	_:-ms-fullscreen, :root .services-container #rescue-service {
		-ms-grid-column: 4;
		-ms-grid-row: 2;
		-ms-grid-column-span: 3;
		margin-top: 60px;
		margin-left: 30px;
	}

	.services-container #cloud-service {
		grid-column: 1 / 3;
	}

	.services-container #mobile-service {
		grid-column: 3 / 5;
	}

	.services-container #consultancy-service {
		grid-column: 5 / 7;
	}

	.services-container #design-service {
		grid-column: 1 / 4;
	}

	.services-container #rescue-service {
		grid-column: 4 / 7;
	}
}

