/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

* {-webkit-box-sizing: border-box; box-sizing: border-box; margin: 0; padding: 0;}

:root {
    --c-green: #a6b638;
    --c-dark-blue: #00303f;
    --c-blue: #025E73;
    --c-light-blue: #45B3BF;
    --cont-width: 1240px;
    --cont-pad: max(2rem, calc((100% - var(--cont-width)) / 2));
}

::selection {
    background-color: var(--c-blue);
    color: white;
}

body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
    color: var(--c-green);
    margin: 0 0 .8em;
    padding: 0;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.35;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

strong, bold {font-weight: 700;}

body {
    background: #fff;
    color: var(--c-dark-blue);
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    font-size: 1.3rem;
    margin: 0;
    padding: 0;
}

p {
    line-height: 1.35;
    margin-bottom: 1.2em;
}

img {
    height: auto;
    max-width: 100%;
    -ms-interpolation-mode: bicubic;
}

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


h1, h2, h3, h4, h5, h6 {
    margin: 1rem 0; 
    clear: both;
    font-weight: bold;
}

h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.6em;
}
h3 {
    font-size: 1.3em;
}
h4 {
    margin-top: 1.5em;
    font-size: 1em;
}


.site-header {
    background-color: var(--c-dark-blue);
    padding: 0 var(--cont-pad);
    display: flex;
    flex-flow: wrap;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 100%;
    opacity: .2;
    right: 0;
    width: max( 40%, 400px );
    height: 100vh;
    background-image: url("watermark-trans.png");
    background-repeat: no-repeat;
    background-position: -50% top;
    pointer-events: none;
    backface-visibility: hidden;
}

.site-title {
    margin: 0;
}

.byline {
    text-align: center;
    color: var(--c-green);
    font-style: italic;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.logo {
    max-width: 300px;
}


@media (min-width: 640px) {
    .site-header {
        justify-content: space-between;
    }

    .site-header::before {
        top: 0;
        opacity: .35;
        right: 5%;
        background-size: contain;
        background-position: center top;
    }

    .byline {
        text-align: right;
    }
}


.site-content {
    display: flex;
    flex-flow: wrap;
    padding: 9px var(--cont-pad) 0;
    width: 100%;
    position: relative;
}

.site-content > * {
    flex: 1 400px;
}

.clear {
    clear:both;
}

.content {
    padding: 2rem 0 0;
}

.boldgreen {
    color: var(--c-green);
    font-weight: bold;
}

@media (min-width: 860px) {
    .sidey {
        margin-left: 2em;
    }
}

.sidey img {margin-bottom: 3px;}

.sidey .button:last-child {
    margin-bottom: 0;
}

.buttons {
    background-color: var(--c-dark-blue);
    color: white;
    padding: 2rem;
    text-align: center;
}

.button {
    color: white;
    display: block;
    border: 2px solid var(--c-light-blue);
	font-size: .9em;
    border-radius: 14px;
    text-align: center;
    padding: 1.2em;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 3px;
    max-width: 400px;
    margin: 0 auto 1em;
    height: 70px;
}

.button.double {
	padding-top: 0.6em;
}

.button.greeny {
	border: 2px solid #a6b638;
	color: #a6b638;
}
.button:hover {
    color: var(--c-green);
    border-color: var(--c-green);
    background-color: white;
}

.button span {
    display: block;
}

.site-footer {
    background-color: var(--c-dark-blue);
    margin-top: 0;
    padding: 1.2rem var(--cont-pad);
    width: 100%;
    color: white;
    font-size: 1rem;
}

.site-footer p {
    margin-bottom: 0;
}

@media screen and (max-width: 1090px) {
}

@media screen and (max-width: 1060px) {
}

@media screen and (max-width: 888px) {
    
}

@media screen and (max-width: 680px) {
}

@media screen and (max-width: 590px) {
}

@media screen and (max-width: 520px) {
}

@media screen and (max-width: 450px) {
}

.modal {
    --m-color: var(--c-light-blue);
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;

    /* visibility */
    visibility: hidden;
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease;

    /* position */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}
.modal:nth-of-type(2n) {
    --m-color: var(--c-green);
}

.modal.active {
    visibility: visible;
    opacity: 1;
    display: flex;
}

.modal-inner::before {
    content: '';
    background-image: url("watermark-trans.png");
    background-repeat: no-repeat;
    background-size: 30% auto;
    background-position: left top;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: .5;
}
.modal-inner> * {
    position: relative;
}

.modal-inner {
    background-color: var(--c-dark-blue);
    color: white;
    border-radius: 13px;
    border: 4px solid var(--m-color);
    padding: 2rem max( 2rem, 5%);
    max-width: 720px;
    max-height: 80%;
    overflow: auto;
    width: 80%;
    position: relative;
}

.modal-inner .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: none;
    color: white;
    cursor: pointer;
    font-weight: 400;
    padding: 0;
    font-size: 1rem;
}
.modal-inner .close::after {
    display: inline-block;
    width: 1em;
    vertical-align: middle;
    margin-left: 10px;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 352 512'%3E%3Cpath fill='white' d='M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z'/%3E%3C/svg%3E");
}


.modal h4 {
    text-transform: uppercase;
    color: var(--m-color);
    font-size: 1em;
    letter-spacing: 3px;
    font-size: 0.95em;
    margin-bottom: 1.4em;
}

.modal blockquote {
    color: var(--m-color);
    font-size: 1em;
    font-style: italic;
}

label {
    display: block;
    margin-bottom: 0.5em;
}

input,
textarea {
    display: block;
    margin-bottom: 1em;
    width: 100%;
    max-width: 480px;
    line-height: 1.2;
    padding: 12px;
    border-radius: 6px;
    border: none;
    font-size: 1em;
    font-family: 'Lato', sans-serif;
}

::placeholder {
	font-size: .8em;
	letter-spacing: 3px;
	color: #01303f;
}

button {
    font-size: 1em;
    font-weight: bold;
    padding: 12px 18px;
}

.biggie button {
	color: #01313d;
	font-weight: 400;
	background-color: #22a5b5;
	border: 2px solid white;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 3px;
	padding: 14px 30px;
}

.biggie button:hover {
    color: var(--c-light-blue);
    border-color: var(--c-light-blue);
    background-color: white;
    cursor: pointer;
}
