/*
Theme Name: gfmstheme
Theme URI: http://github.com/zencoder/html5-boilerplate-for-wordpress
Description: Based on the <a href="http://html5boilerplate.com">HTML5 Boilerplate</a> and Bruce Lawson's <a href="http://html5doctor.com/designing-a-blog-with-html5/">Designing a Blog with HTML5</a>.
Version: 1.0
Author: Matt Balmer
Author URI: http://mattbalmer.com/
Tags: white, two-columns
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/josefinsans/v25/Qw3aZQNVED7rKGKxtqIqX5EUA3x4Vn8siqM7.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/josefinsans/v25/Qw3aZQNVED7rKGKxtqIqX5EUDXx4Vn8sig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/josefinsans/v25/Qw3aZQNVED7rKGKxtqIqX5EUA3x4Vn8siqM7.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/josefinsans/v25/Qw3aZQNVED7rKGKxtqIqX5EUDXx4Vn8sig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/josefinsans/v25/Qw3aZQNVED7rKGKxtqIqX5EUA3x4Vn8siqM7.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/josefinsans/v25/Qw3aZQNVED7rKGKxtqIqX5EUDXx4Vn8sig.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {font:300 1.2rem 'Josefin Sans', -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;}
html {line-height: 1.15;-webkit-text-size-adjust: 100%;background:#ffffff;}
#main {display: block;}

/* Theme Specific */
#main, #site-header {width:1000px;margin:0 auto;}
#site-header {height:55px;}
.site-branding {float:left;margin:15px 15px 15px 0;}
.site-branding a {border:none;text-decoration:none;}

.teammember img {border-radius:50%;max-width:75%;}

footer {width:100%;position:fixed;bottom:0;background:#ffffff;z-index:1;}
#site-footer {height:30px;}

/* Typography */
h1, h2, h3, h4, h5, .nf-field-label label {font-weight:700!important;}
h1 {font-size:4em;}
h2 {letter-spacing:1px;}
h3, .nf-field-label {font-size: 1.17em!important;}

#contact a {color:#006633;} #contact a:hover {color:#000000;}

#homep #welcometext p {font-size:1.3em;letter-spacing:2px;font-weight:400;}

#site-footer p {font-size:0.85em;text-align:center;}


/* Forms */
.nf-form-content {padding: 0!important;}
.nf-before-form-content {float:right;}

/* NAV */
ul#menu-primary-menu-1 {margin:0;padding:0;}
ul#menu-primary-menu-1 li {display: inline-block;position: relative;margin:15px 0;}
ul#menu-primary-menu-1 li a {text-decoration:none;padding:15px 30px;}
ul#menu-primary-menu-1 li:first-of-type a {padding: 15px 30px 15px 0;} 
ul#menu-primary-menu-1 li a:hover {background:lavender;}

/* WordPress Required Styles */
.aligncenter {display: block;margin-left: auto;margin-right: auto;}
.alignleft {float: left;}
.alignright {float: right;}
.wp-caption {border: 1px solid #ddd;text-align: center;background-color: #f3f3f3;padding-top: 4px;margin: 10px;-moz-border-radius: 3px;-khtml-border-radius: 3px;-webkit-border-radius: 3px;border-radius: 3px;}
.wp-caption img {margin: 0;padding: 0;border: 0 none;}
.wp-caption-dd {font-size: 11px;line-height: 17px;padding: 0 4px 5px;margin: 0;}
.sticky {background: #f7f7f7;padding: 0 10px 10px;}
.sticky h2 {padding-top: 10px;}

/* Responsive */
@media (max-width: 1023px){
	#main, #site-header, #site-footer {width:95%;}
	ul#menu-primary-menu-1 {display:none;}
}

@media only screen and (min-width: 866px) and (max-width: 1000px) {
    #homep #welcometext p {font-size:1.1em;}
}
@media only screen and (min-width: 841px) and (max-width: 865px) {
    #homep #welcometext p {font-size:1em;}
}
@media only screen and (min-width: 768px) and (max-width: 840px) {
    #homep #welcometext p {font-size:0.9em;}
}