@charset "UTF-8";
* {
	margin: 0;
	padding: 0;
	border: 0;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;

	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;

	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

:root {
	--color-white: rgb(255, 255, 255);
	--color-primary-darkest: rgb(9, 79, 163);
	--color-primary-dark: rgb(51, 139, 203);
	--color-primary-light: rgb(126, 195, 240);
	--color-primary-lightest: rgb(185, 226, 249);
	--color-secondary: rgb(245, 157, 20);
	--color-secondary-light: rgb(254, 239, 223);
	--color-accent-darkest: rgb(213, 1, 106);
	--color-accent-lightest: rgb(249, 211, 230);
	--color-black: rgb(0, 0, 0);
	
	--font-family-body: "Source Sans Pro", Helvetica, Arial;
	--font-family-heading: "Rethink Sans", Helvetica, Arial;

	--content-padding: 50px;
	--content-gap: 20px;
	--stage-width: 1280px;
}

::selection {
	color: var(--color-white);
	background: rgba(128, 128, 128, .5);
}
body {
	font-family: var(--font-family-body);
	font-size: 18px;
	line-height: 1.4em;
	font-weight: 400;
	color: var(--color-primary-darkest);
	background-color: var(--color-white);
}
	body.page-front
	{
		background-color: var(--color-accent-lightest);
	}

body,
html {
	position: relative;	
	overflow-x: hidden;
}
p a {
	text-decoration: none;
	color: var(--color-primary-darkest);
	border-bottom: 1px solid var(--color-primary-darkest);
}
p img
{
	width: 100%;
}
.center
{
	text-align: center;
}
strong
{
	font-weight: bold;
}
h1,
h2,
h3,
h4,
h5 {
	font-family: var(--font-family-heading);
	font-weight: 600;
	font-size: 1.6em;
	line-height: 1em;
	margin-bottom: var(--content-gap);
}
h4,
h5
{
	font-size: 1.6em;
}

p,
ul,
ol {
	color: var(--color-black);
	margin-bottom: var(--content-gap);
}
ul li
{
	list-style-position: inside;
}

h1:only-child,
h2:only-child,
h3:only-child,
p:only-child,
p:last-child
{
	margin-bottom: 0;
}

img,
iframe {
	display: block;
}

strong {
	font-weight: 600;
}

/*
	fonts
*/

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../static/fonts/google-material-icons-outlined.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

@font-face {
	font-family: "Source Sans Pro";
	src: url("../static/fonts/SourceSansPro-Light.woff2") format("woff2");
	font-weight: 300;
}
@font-face {
	font-family: "Source Sans Pro";
	src: url("../static/fonts/SourceSansPro-Regular.woff2") format("woff2");
	font-weight: 400;
}
@font-face {
	font-family: "Source Sans Pro";
	src: url("../static/fonts/SourceSansPro-Bold.woff2") format("woff2");
	font-weight: 600;
}
@font-face {
	font-family: "Source Sans Pro";
	src: url("../static/fonts/SourceSansPro-Semibold.woff2") format("woff2");
	font-weight: 700;
}
@font-face {
	font-family: "Source Sans Pro";
	src: url("../static/fonts/SourceSansPro-Black.woff2") format("woff2");
	font-weight: 800;
}

@font-face {
	font-family: "Rethink Sans";
	src: url("../static/fonts/RethinkSans-Regular.woff2") format("woff2");
	font-weight: 400;
}
@font-face {
	font-family: "Rethink Sans";
	src: url("../static/fonts/RethinkSans-Bold.woff2") format("woff2");
	font-weight: 600;
}
@font-face {
	font-family: "Rethink Sans";
	src: url("../static/fonts/RethinkSans-ExtraBold.woff2") format("woff2");
	font-weight: 700;
}

@media only screen and (min-width: 1280px) {
	:root {
		--content-padding: 70px;
		--content-gap: 25px;
	}
}

@media only screen and (max-width: 960px) {
	:root {
		--content-padding: 40px;
		--content-gap: 20px;
	}
}

@media only screen and (max-width: 720px) {
	body {
		font-size: 19px;
	}
}

@media only screen and (max-width: 640px) {
	:root {
		--content-padding: 30px;
		--content-gap: 15px;
	}
	body {
		font-size: 17px;
		line-height: 1.4em;
	}
}
@media only screen and (max-height: 560px) {
	:root {
		--content-padding: 30px;
		--content-gap: 15px;
	}
	body {
		font-size: 17px;
		line-height: 1.4em;
	}
}
@media only screen and (max-width: 480px) {
	:root {
		--content-padding: 20px;
		--content-gap: 20px;
	}
	body {
		font-size: 16px;
		line-height: 1.4em;
	}
}
