/*--------------------------------------------------------------
CSS Reset
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Tinos');

html {
	font-family: 'Open Sans', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
    background: hsl(100, 100%, 100%);
    margin: 0 auto;
    max-width: 1250px;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
    text-decoration: none;
    border-bottom: 1px solid ;
    text-decoration-color:hsla(360,100%,33%,.7);
    color: hsla(360,100%,33%,.7);
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

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

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

/*img {
	display: block;
	border: 0;
	width: 100%;
	height: auto;
}*/

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

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

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

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

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;

}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
Layouts
--------------------------------------------------------------*/
.main_wrapper {
    padding: 1em 1em;
}
header {
    width: 100%;
    height: 4em;
    color:hsla(0, 0%, 20%, 1);
}
.content {
    padding: 0em;
    width:90%;
    margin:0 auto;
}

footer {
  margin-bottom: 1em;
}

/*img {
    max-width: 100%;
    height: auto;
}*/


/*--------------------------------------------------------------
Header styles minus menu
--------------------------------------------------------------*/

.masthead {
    background: hsl(0, 0%, 20%);
}

@media screen and (min-width: 50em) {
    .masthead {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
.site-title {
    margin: 0;
    padding:.2em .5em;
    font-size: 2em;
    font-weight: 300;
    color: black;
}

.site-title a {
    color: hsl(0, 0%, 20%);
    text-decoration: none;
}

.site-title a:hover {
    text-decoration: underline;
}



/*--------------------------------------------------------------
Main Navigation
--------------------------------------------------------------*/

.main-navigation {
	clear: both;
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin-left: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation ul ul {
	display: none;
	margin-left: 0.8em;
}

.main-navigation a {
	position: relative;
	display: block;
	padding: 0.8em 1em;
	text-decoration: none;
	line-height: 1.6em;
	color: white;
}

.main-navigation a:hover,
.main-navigation a:focus {
	background: #fff;
	color: #000;
}

.main-navigation a,
.main-navigation ul ul li:lastchild a {
	border-bottom: 1px solid white;
}

.main-navigation ul li:last-child a {
	border-bottom: none;
}

.main-navigation ul .toggled-on {
	display: block;
}

.main-navigation li {
	position: relative;
}

.main-navigation .current-menu-item > a{
	font-weight: 700;
}

.main-navigation .nav-menu > ul > li:first-child,
.main-navigation .nav-menu > li:first-child {
	border-top: 0;
}

.main-navigation .menu-item-has-children > a,
.main-navigation .page_item_has_children > a{
	padding-right: 48px;
}

.no-js .main-navigation ul ul {
	display: block;
}

.dropdown-toggle {
	position: absolute;
	height: 27px;
	width: 27px;
	top: 12px;
	right: 6px;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	padding: 0;
	background-color: inherit;
	border: 1px solid #fff;
	content: "";
	color: #fff;
	text-transform: lowercase; /* Stop screen readers from reading the text as capital letters */
}

.dropdown-toggle::after {
	content: "+";
	font-size: 16px;
	font-weight: bold;
	line-height: 27px;
	position: relative;
	top: 0;
	width: 27px;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	background-color: #fff;
	color: #fff;
}

.dropdown-toggle.toggle-on:after {
	content: "-";
	font-weight: bold;
	color:#000;
}

.main-navigation a:hover ~ .dropdown-toggle,
.main-navigation a:focus ~ .dropdown-toggle {
    color: hsl(0, 0%, 20%);
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
	position: fixed;
	z-index: 100;
	bottom: 1em;
	left: 1em;
	font-family: sans-serif;
	font-size: 1em;
	text-transform: uppercase;
	background-color: #000;
	color: #fff;
	border: solid 2px #fff;
	transition: all ease-out 400ms;
}

.menu-toggle.hide {
	bottom: -2.5em;
}

/* Make sure the button doesn't hide when menu is open. */

.toggled .menu-toggle.hide {
	bottom: 3em;
}


.menu-toggle:hover,
.menu-toggle:focus {
	text-decoration: underline;
}

@media screen and (min-width: 50em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

/* Hovering menu */

.main-navigation.toggled {
	position: fixed;
	bottom: 0;
	padding: 1em;
	z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.nav-menu {
	padding: 1em;
	margin-bottom: 2em;
	background-color: #000;
}

.main-navigation.toggled ul {
	max-height: calc(100vh - 8em);
	overflow-y: auto;
}

.main-navigation.toggled ul ul {
	display: none;
}

.main-navigation.toggled ul ul.toggled-on,
.main-navigation.toggled ul ul.toggled-on > ul {
	display: block;
}

/* Horizontal menu on wide screens */
@media screen and (min-width: 50em) {

	/* Position the menu in the header */
	.main-navigation,
	.main-navigation.toggled {
		position: relative;
        margin: 0 .5em;
        padding: 0;
        width: auto;
	}

	.nav-menu {
		padding: .3em 0 0 0;
		background-color: transparent;
	}

	.main-navigation ul,
	.main-navigation.toggled ul {
        display: flex;
        flex-wrap: wrap;
        margin: 0;
		padding: .5em 0;
	}

	/* Display the menu items in a horizontal order */
	.main-navigation li {
		border: none;
	}

	/* Add an outline to the drop-down menus */
	.main-navigation ul ul {
		outline: 1px solid /*#333*/;
	}

	/* Left-align drop-down menu items */
	.main-navigation li li {
		display: block;
		text-align: left;
	}

    .main-navigation a,
    .dropdown-toggle {
        color: hsl(0, 0%, 100%);
    }

	.main-navigation a,
	.main-navigation ul ul li:last-child a {
		border-bottom: none;
	}

	/* Add an outline on hovered and focused menu items */
	.main-navigation a:hover,
	.main-navigation a:focus {
		background: white;
		color: #333;
		text-decoration: underline;
		outline: solid 1px #b3b3b3;
	}

    .main-navigation li li a {
        color: hsl(0, 0%, 90%);
    }

	/* Create hover and focus contrast on drop-down items */
	.main-navigation li li a:hover,
	.main-navigation li li a:focus {
		background: #eee;
		color: #000;
		text-decoration: none;
	}

	/* Position drop-down menus absolutely */
	.main-navigation ul ul.toggled-on {
		position: absolute;
		width: 12em;
		display: block;
		z-index: 10;
		margin-left: 0;
        padding: 0;
		background: hsla(0, 0%, 20%, 1);
	}

	.main-navigation ul ul ul.toggled-on {
		position: relative;
	}

	/* Indent 3rd level drop-down menus */
	.main-navigation ul ul ul a {
		padding-left: 2em;
	}

	/* Simplify the drop-down toggle */
	.dropdown-toggle {
		top: 13px;
		right: 12px;
		border: none;
	}

    .dropdown-toggle:hover, .dropdown-toggle:focus {
        background-color: inherit;
        outline: solid 1px #b3b3b3;
    }

	.dropdown-toggle::after {
		line-height: 27px;
		width: 27px;
	}

}

/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/
* {
    margin: 0;
}
body,
button,
input,
select,
textarea {
	color: black;
	font-family: 'Open Sans', sans-serif;
	font-size: 1.1em;
	line-height: 1.5;
    font-weight: normal;
}

body,
caption,
th,
td,
input,
textarea,
select,
option,
legend,
fieldset,
h1,
h2,
h3,
h4,
h5,
h6 {
  /*font-size-adjust: 0.5;*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family:'Tinos', serif;
    line-height: 1;
    font-style: normal;
    clear: both;
     font-weight: bold;
}



b,
strong {
	font-weight: bold;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

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

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}


h1 {
	font-size: 1.5em;
	line-height: 1.2;
    margin-bottom: .25em;
	font-weight:normal;
	color:hsla(359, 100%, 33%, 1);
        letter-spacing: .1em;

    /*line-height: 1.25;
	font-weight:normal;
	color: #666;
    text-transform:uppercase;
    letter-spacing: .1em;*/
}

h2 {
	font-size: 1.5em;
	line-height: 1.2;
    margin-bottom: .25em;
	font-weight:normal;
	color:hsla(359, 100%, 33%, 1);
}
.blurb h2 {
	font-size: 1em;
	line-height: 1;
    margin: .75em 0 0 0;
    padding-top: .75em;
	font-weight:bold;
	color:hsla(359, 100%, 33%, 1);
    text-align: center;
    letter-spacing: .1em;
    text-transform:lowercase;
    font-variant:small-caps;
}

/*.blurb p {
	font-size: 1em;
	margin-bottom: 1.5em;
  font-weight:normal;
}*/
.blurb h3 {
  font-size: 1.25em;
  letter-spacing: .01em;
  color:hsla(359, 100%, 33%, 1);
  text-transform: uppercase;
}

h4 {
	font-size: 1.2em;
	line-height: 1;
}
.main-area p {
    font-family:'Tinos', serif;
    font-weight:400;
    font-size:1.1em;
}
.box p {
  font-family: 'Open Sans', sans-serif;
  color: #666;
  margin-bottom: 3em;
  font-size:1em;
}
footer p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size:.8em;
    margin: 0 1em;
	text-align: center;

}

/*--------------------------------------------------------------
Images - reset
--------------------------------------------------------------*/

img {
    display: block;
    max-width: 100%;
    /*margin:2em 0 1em 0;*/
}
.circle {
  border-radius: 50%;
}

figure {
    margin: 0;
    padding: 0;
}
.white img{
  max-width: 75%;
  margin:1em auto 0em;
  /*filter: drop-shadow(0px 0px 18px hsla(0, 0%, 40%, .9));*/
}
.graphic img {
  max-width: 75%;
  margin:1em auto 0em;
  filter: drop-shadow(3px 3px 3px hsla(0, 0%, 40%, .9));
}
.graphic2 img {
  max-width: 75%;
  margin:1em auto 0em;
  filter: drop-shadow(3px 3px 3px hsla(0, 0%, 40%, .9));
}
.small img {
  max-width: 55%;
}

/*--------------------------------------------------------------
flex -
--------------------------------------------------------------*/
@media screen and (min-width:525px) and (max-width:/*668*/628px) {

    .flex-container {
        margin: 1em 0 0 0;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        width: 100%;
    }
    .main-area p {
        font-size: 1.25em;
    }
    .white {
        flex:2;
    }
    .blurb {
        flex: 1;
    }
    .blurb h2 {
        font-size: 1.1em;
        line-height: 1.2;
        margin: .25em 0;
        font-weight: 400;
        color: hsla(359, 100%, 33%, 1);
        text-align: center;
        letter-spacing: .1em;
        text-transform: uppercase;
    }
    .blurb p {
        font-size: 1em;
        margin-bottom: 1.5em;
        font-weight: normal;
    }
}

@media screen and (min-width:626px) and (max-width:965px) {
     body {
        width: 95%;
    }
    .main-area p {
        font-size: 1.25em;
    }

    .flex-container {
        margin: 1em 0 0 0;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-justify-content: space-around;
        -ms-flex-pack: justify;
        justify-content: space-around;
        width: 100%;
    }
    .flex-container img {
        max-width: 70%;
    }

    .box {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        /*-webkit-flex: 0 1 calc(50% - 1em);
    -ms-flex: 0 1 calc(50% - 1em);
    flex: 0 1 calc(50% - 1em);*/
        width: calc(50% - 2em);
    }
    .small img {
        max-width: 60%;
    }
    .graphic:hover{
        transform: scale(1.5);
		transform-origin: top right;
    }
    .white:hover {
        transform: scale(1.5);
    }
    .graphic {
        flex: auto;
    }
    .white {
        flex:auto;
    }
    .blurb {
        flex: 1;
    }
    /*header img {

    overflow: hidden;
	   max-height: 150%;
}*/
    header img {
        position: relative;
        left: 1em;
        overflow: hidden;
        flex: 1;
        max-height: 140%;
    }
    .blurb h2 {
        font-size: 1.1em;
        line-height: 1.2;
        margin: 2em 0 0 0;
        font-weight: 700;
        color: hsla(359, 100%, 33%, 1);
        letter-spacing: .1em;
        text-transform: uppercase;
    }
    .blurb p {
        font-size: 1em;
        margin-bottom: 1.5em;
        font-weight: normal;
    }
}

@media screen and (min-width:920px) {
    .head {
            column-count: 2;
            column-gap: 2em;
            column-rule-style: solid;
            column-rule-width: 1px  ;
            column-rule-color: hsl(0, 0%, 20%);
        }
}


/*--------------------------------------------------------------------
large
--------------------------------------------------------------------*/

@media screen and (min-width:966px) {
    body {
        width: 95%;
    }
    .main-area p {
        font-size: 1.25em;
    }
    .head {
        column-count: 2;
        column-gap: 3em;
        column-rule-style: solid;
        column-rule-width: 1px  ;
        column-rule-color: hsl(0, 0%, 20%);
    }
    .flex-container {
        margin: 1em 0 0 0;
        -webkit-display: flex;
        -ms-display: flex;
        display: flex;
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-justify-content: space-around;
        -ms-flex-pack: justify;
        justify-content: space-around;
        width: 100%;
    }

    .box {
        -webkit-display: flex;
        -ms-display: flex;
        display: flex;
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -webkit-justify-content: space-around;
        -ms-flex-pack: justify;
        justify-content: space-around;
        margin: 0 1em .5em 0em;
        width: calc(50% - 5em);
    }
    .box2 {
        -webkit-display: flex;
        -ms-display: flex;
        display: flex;
        /*-webkit-flex: row ;
         -ms-flex: row ;
        flex:row ;*/
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        /*-webkit-flex: 2 2 calc(50% - 4em);
        -ms-flex: 2 2 calc(50% - 4em);
        flex: 2 2 calc(50% - 4em);*/
        margin: 0 .0em .5em 1em;
        width: 100%;
    }
    .blurb h2 {
        font-size: 1.25em;
        line-height: 1;
        margin: 2em 0 0;
        font-weight: normal;
        color: hsla(359, 100%, 33%, 1);
        text-align: left;
        letter-spacing: .1em;
        text-transform: uppercase;
    }
    .white {
        flex: 1;
    }
    .graphic {
        flex: 1;
    }

    .graphic:hover{
        transform: scale(1.5);
        transform-origin: top right;
        filter: drop-shadow(0px 0px 0px hsla(0, 0%, 0%, 0));
    }
    .white:hover {
        transform: scale(1.5);
        transform-origin: top right;
        filter: drop-shadow(0px 0px 0px hsla(0, 0%, 0%, 0));
    }
    .blurb {
        margin-left: 1em;
        flex: 2;
    }
    header img {
        position: relative;
        left: 1em;
        overflow: hidden;
        flex: 1;
        max-height: 160%;
    }
    .graphic img {
        max-width:100%;
		filter: drop-shadow(3px 3px 3px hsla(0, 0%, 40%, .9));
    }
    .white img {
        max-width: 100%;
    }
    .small img {
        max-width: 75%;
    }
    .blurb h2 {
        font-size: 1.25em;
        line-height: 1;
        margin: .25em 0;
        font-weight: normal;
        color: hsla(359, 100%, 33%, 1);
        text-align: left;
        letter-spacing: .1em;
        text-transform: uppercase;
    }
    .blurb p {
        font-size: 1em;
        margin-bottom: 1.5em;
        font-weight: normal;

    }
}
