/*  
Theme Name: Mat Martin Studio Base
Theme URI: http://www.matmartin.co.uk
Description: Theme designed by <a href="http://www.matmartin.co.uk">Mat Martin</a>.
Version: 1.1
Author: Mat Martin Studio
Author URI: http://www.matmartin.co.uk
*/

/*Type scale: Major 2nd (1.200)  //  8pt Grid*/

* {
	margin: 0px;
	padding: 0px;
}

html {
	position: relative;
	min-height: 100%;
	font-size: 100%;
	-webkit-animation: bugfix infinite 1s; 
	-webkit-text-size-adjust: none;
}

body {
	font-family: sans-serif;
	font-size: 16px;
	font-weight: 400;
	height: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.pagewrap {
	position: relative;
	flex: 1 0 auto;
}

/*Overrides*/

@-webkit-keyframes bugfix { 
  from { padding: 0; } to { padding: 0; } 
}

*:focus {
  outline: 0;
}

/*Footer*/

footer {
	flex-shrink: 0;
	width: 100%;
}

/*Lists*/

ul,
ol {
	padding: 0 0 16px 16px;
}

ul.nopad,
ol.nopad {
	padding: 0;
}

ul.nostyle,
ol.nostyle {
	list-style-type: none;
	padding-left: 0;
}

ul.inside,
ol.inside {
	list-style-position: inside;
}

ul.inline li {
	display: inline-block;
}

li {
	font-size: inherit;
}

li.small {
	padding-bottom: 0;
}

/*Text Styles*/

.nopad {
	padding: 0;
}

.smallpad {
	padding: 4px 0 12px;
}

.largepad {
	padding: 12px 0 24px;
}

.smalltoppad {
	padding-top: 4px;
}

.largetoppad {
	padding-top: 16px;
}

.notoppad {
	padding-top: 0;
}

.smallbotpad {
	padding-bottom: 8px;
}

.largebotpad {
	padding-bottom: 24px;
}

.nobotpad {
	padding-bottom: 0;
}

.leftalign {
	text-align: left;
}

.centeralign {
	text-align: center;
}

.rightalign {
	text-align: right;
}

.uppercase {
	text-transform: uppercase;
}

.lowercase {
	text-transform: lowercase;
}

.caps {
	text-transform: capitalize;
}

.notexttransform {
	text-transform: none;
}

.inline-block {
	display: inline-block;
}

span.no-break {
	white-space:  nowrap;
}

/*Links*/

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

a:hover { 
	color: #383838;
	cursor: pointer;
}

a.reverse {
	color: #383838;
	text-decoration: none;
}

a.reverse:hover { 
	color: #838383;
	cursor: pointer;
}

/*Global Properties*/

.ease {
	transition: all 0.4s ease-in 0s;
}

.translateX {
	-webkit-transform: translateX(-50%);
	        transform: translateX(-50%);
}

.translateY {
	-webkit-transform: translateY(-50%);
	        transform: translateY(-50%);
}

.translate {
	-webkit-transform: translate(-50%, -50%);
	        transform: translate(-50%, -50%);
}

.rotate180 {
	-webkit-transform: rotate(180deg);
	        transform: rotate(180deg);
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.clear-both {
	clear: both;
}

.inline-block {
	display: inline-block;
}

.display-block {
	display: block;
}

.transparent {
	opacity: 0;
}

.display-none {
	display: none;
}

/*Images & Videos*/

img {
	display: block;
}

/*Overrides*/

input { 
	-webkit-appearance: none; 
	border-radius: 0;
}

input[type="text"] { 
	-webkit-appearance: none; 
	border-radius: 0;
}

input[type="submit"] { 
	-webkit-appearance: none; 
	border-radius: 0;
}

input[type="checkbox"] {
	-webkit-appearance: checkbox; 
	border-radius: 0;
}

input[type="radio"] {
	-webkit-appearance: radio; 
	border-radius: 0;
}

textarea { 
	-webkit-appearance: none; 
	border-radius: 0;
	resize: none;
	height: auto;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

input::-webkit-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #8D8E8E;
    opacity: 1; /* Firefox */
}

input::-moz-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #8D8E8E;
    opacity: 1; /* Firefox */
}

input:-ms-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #8D8E8E;
    opacity: 1; /* Firefox */
}

input::-ms-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #8D8E8E;
    opacity: 1; /* Firefox */
}

input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #8D8E8E;
    opacity: 1; /* Firefox */
}

input:-ms-input-placeholder { /* IE 10-11 */
    color: #8D8E8E;
}

input::-ms-input-placeholder { /* Edge */
    color: #8D8E8E;
}

<style type="text/css">div, p, a, li, td { -webkit-text-size-adjust:none; }</style>
