/* 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;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

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


/* =========

GLOBAL STYLE

========= */

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

body {
    background-color: #fff;
    font-size: 110%;
}

h1 {
    font-family: helvetica, sans-serif;
    margin: 0 0 10px 0;
    font-size: 2em;
    font-weight: bold;
}

h2,
h5 {
    font-family: helvetica, sans-serif;
    margin: 0 0 10px 0;
    font-size: 1.em;
    font-weight: bold;
}

h3 {
    font-family: helvetica, sans-serif;
    margin: 0 0 10px 0;
    font-size: 1.em;
    font-weight: bold;
    text-align: center;
}

h6 {
    font-family: helvetica, sans-serif;
    margin: 0 0 10px 0;
    font-size: 1.em;
    font-weight: bold;
    text-align: center;
}

p {
    font-family: Georgia, "Times New Roman", serif;
    margin: 0 0 1em 0;
}

#centerwrap {
    border: #344638 thick solid;
    background-color: #F6FFE1;
}

#leftcol {
    padding: 10px 2%;
}

#rightcol {
    padding: 10px 2%;
    background-color: #E2F0D7;
}

footer {
    background-color: #E2F0D7;
    padding: 25px 0 15px 0;
}

strong {
    font-weight: bold;
}

footer p {
    text-align: center;
    font-size: x-small;
    font-style: italic;
}

#social-icons {
    display: grid;
    text-align: center;
}

#social-icons li {
    list-style-type: none;
    display: inline;
    margin-right: 10px;
}

#social-icons .svg-inline--fa {
    font-size: 15em;
    margin-right: 10px;
    color: darkgreen;
}

#social-icons a .svg-inline--fa {
    color: darkgreen;
}

#social-icons a:hover .svg-inline--fa {
    color: green;
}

.mobileoff {
    display: none;
}

.mobileon {
    display: block;
}

/* iframe responsive */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contact Form */

#contactform {
    display: grid;
    overflow: hidden;
    grid-template-columns: 15% 85%;
}

#contactform p {
    grid-column: 1 / 3;
    margin: 10px 0 5px 0;
    justify-self: center;
    align-self: center;
}

#contactform button {
    grid-column: 2 / 3;
    width=110px;
}

#contactform label[for="contactname"],
#contactform label[for="contactemail"],
#contactform input[type="radio"],
#contactform input[for="contactadd"],
#contactform input[for="contactref"],
#contactform label[for="comments"] {
    justify-self: end;
    align-self: center;
}

#contactform input {
    margin: 5px 0;
}

#contactform textarea {
    margin: 20px 0;
    height: 50px;
}


/* =========

RESPONSIVE STYLE

========= */

/* Desktop Range */
@media (min-width: 900px) {

    body {
        font-size: 100%;
    }
    
    #site-logo {
    margin-right: 30px;
}

    #centerwrap {
        max-width: 900px;
        margin: 0 auto;
    }

    main {
        margin: 20px 20px 20px 20px;
    }

    #maincols {
        margin: 20px 10px 20px 10px;
        display: grid;
        grid-template-columns: 35% 65%;
    }

    #social-icons {
        grid-area: icons;
    }

    .mobileoff {
        display: block;
    }

    .mobileon {
        display: none;
    }

    /* Contact Form */

    #contactform {
        display: grid;
        grid-template-columns: 40% 60%;
    }

    #contactform button {
        grid-column: 2 / 3;
        width: 110px;
    }

    #contactform p {
        grid-column: 1 / 3;
        margin: 10px 0 5px 0;
    }

    #contactform label[for="contactname"],
    #contactform label[for="contactemail"],
    #contactform input[type="radio"],
    #contactform input[for="contactadd"],
    #contactform input[for="contactref"],
    #contactform label[for="comments"] {
        justify-self: end;
        align-self: center;
    }

    #contactform input {
        margin: 5px 0;
    }

    #contactform label {
        margin-left: 6px;
    }

    #contactform textarea {
        margin: 20px 0;
        height: 50px;
    }

    #contactform label {
        width: auto;
        padding-right: 10px;
    }

    #contactform button {
        grid-column: 2 / 3;
        width: 110px;
    }
}

/* Tablet Range */
@media (min-width:650px) and (max-width:899px) {

    body {
        font-size: 100%;
    }

    main {
        margin: 20px 20px 20px 20px;
    }

    .mobileoff {
        display: none;
    }

    .mobileon {
        display: block;
    }

    /* Contact Form */

    #contactform {
        display: grid;
        grid-template-columns: 25% 75%;
    }

    #contactform label {
        width: auto;
        text-align: right;
        padding-right: 10px;
    }

    #contactform button {
        grid-column: 2 / 3;
        width: 110px;
    }

    #contactform p {
        grid-column: 1 / 3;
        margin: 10px 0 5px 0;
    }

    #contactform label[for="contactname"],
    #contactform label[for="contactemail"],
    #contactform input[type="radio"],
    #contactform input[for="contactadd"],
    #contactform input[for="contactref"],
    #contactform label[for="comments"] {
        justify-self: left;
        align-self: left;
    }

    #contactform input {
        margin: 5px 0;
    }

    #contactform label {
        margin-left: 6px;
    }

    #contactform textarea {
        margin: 20px 0;
        height: 50px;
    }

    #contactform label {
        width: auto;
        padding-right: 10px;
    }

    #contactform button {
        grid-column: 2 / 3;
        width: 110px;
    }

}
