/*
Theme Name: PureLynx
Author: PureLynx
Author URI: https:/purelynx.com
Version: 3.04
*/


/*********************************************************************
 * Starter Theme Boilerplate (move to separate file at some point?)
 *********************************************************************/
html, body, div, span, iframe, h1, p, a, em, font, strong, form {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
body, div {
  background-repeat: no-repeat;
  background-size: cover;
}
html {
  overflow-x: hidden;
  overflow-y: scroll;
}
article, footer, header {
	display: block;
}
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}
body, button, input, select, textarea {
	color: #2b2b2b;
	font-family: "Open Sans", sans-serif;
	font-size: calc(10px + 0.35vw);
	font-weight: 400;
  font-display: swap;
	line-height: 1.35;
  -webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;

/*  -webkit-appearance: none; *//* tell iPhone not to override styling */
}
input[type="radio"] {
  border-radius: 20px;
  padding: 0.3em;
  border: 1px solid #666;
}
input[type="radio"]:checked {
  background-color: #333;
}
@media (max-width: 600px) {
  body, button, input, select, textarea {
    font-size: calc(6px + 2.5vw);
  }
}
/* Assistive text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	left: 5px;
	top: 5px;
	text-decoration: none;
	text-transform: none;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}
/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}

button, input, select, textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}
button, input {
	line-height: normal;
}
b, strong {
	font-weight: 700;
}
em, i {
	font-style: italic;
}
p {
	padding-bottom: 0.9em;
}
img {
	border: 0;
	vertical-align: middle;
  max-width: 100%;
}
button, html input[type="button"], input[type="submit"] {
	cursor: pointer;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}
ul {
  list-style-type: none;
  padding-left: 0px;
  margin: 0px;
}
input, textarea {
	background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Remove the inner shadow, rounded corners on iOS inputs */
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 2px;
	color: #2b2b2b;
	padding: 0.5em 0.6em 0.4em;
}
input:focus, textarea:focus {
	border: 1px solid rgba(0, 0, 0, 0.35);
	outline: 0;
}
textarea {
	width: 100%;
	overflow: auto;
	vertical-align: top;
}
input:focus, textarea:focus {
	border: 1px solid rgba(0, 0, 0, 0.3);
	outline: 0;
}
button, .button, input[type="button"], input[type="submit"] {
	background-color: #777;
	border: 0;
	border-radius: 2px;
	color: #fff;
	font-weight: 700;
	padding: 0.7em 1.8em 0.65em;
	vertical-align: bottom;
}
@media (max-width: 600px) {
  button, .button, input[type="button"], input[type="submit"] {
    font-size: calc(10px + 2.2vw);
  }
}
button:hover, button:focus, .button:hover, .button:focus,
input[type="button"]:hover, input[type="reset"]:hover,
input[type="submit"]:hover, input[type="submit"]:focus {
	filter: brightness(1.2);
	color: #fff;
}
button:active, .button:active, input[type="button"]:active,
input[type="reset"]:active, input[type="submit"]:active {
	background-color: #55d737;
}
/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #939393;
}
:-moz-placeholder {
	color: #939393;
}
::-moz-placeholder {
	color: #939393;
	opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}
:-ms-input-placeholder {
	color: #939393;
}
/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
.entry-content img, .wp-post-image {
	max-width: 100%;
	height: auto;
}
/* Make sure embeds and iframes fit their containers */
iframe {
	max-width: 100%;
}
/* Clearing floats */
.hentry:before, .hentry:after, [class*="content"]:before, [class*="content"]:after,
[class*="site"]:before, [class*="site"]:after {
	content: "";
	display: table;
}
.hentry:after, [class*="content"]:after, [class*="site"]:after {
	clear: both;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover, a:active {
	outline: 0;
	color: inherit;
}
.entry-content a:hover {
	text-decoration: underline;
}
.entry-content a.button {
	text-decoration: none;
	display: inline-block;
}
.site-content .entry-header {
    display: none;
}
.site-content .entry-content {
  background-color: transparent;
  padding-bottom: 0px;
}
h1, h2, h3, h4, h5 {
  margin: 0px;
  line-height: 1.2;
}
h1 {
  font-weight: 400;
  font-size: calc(20px + 2vw);
}
h2 {
  font-weight: 400;
  font-size: calc(18px + 1.6vw);
}
h3 {
  font-weight: 400;
  font-size: calc(15px + 1.2vw);
}
h4 {
  font-weight: 400;
  font-size: calc(12px + 1vw);
}
@media (max-width: 600px) {
  h1 {
    font-size: calc(20px + 1.6vw);
  }
  h2 {
    font-size: calc(18px + 1.4vw);
  }
  h3 {
    font-size: calc(16px + 1.2vw);
  }
  h4 {
    font-size: calc(14px + 1vw);
  }
  h5 {
    font-size: calc(12px + 0.8vw);
  }
}
.flexbox {
  display: flex;
}

/*************************************************
 * Header & Menu
 *************************************************/
#masthead {
  width: 100%;
}
#masthead.floating {
  position: fixed; z-index: 999;
  background-color: rgba(255,255,255,0.85);
}
#top-bar {
  display: flex;
  justify-content: space-between;
  height: calc(40px + 2vw);
  padding-left: calc(5vw - 10px);
  padding-right: calc(5vw - 10px);
  padding-top: calc(5px + 0.5vw);
  background-color: rgba(12,12,12,0.8);
  color: #fff;
  font-size: calc(10px + 0.5vw);
}
#top-bar > div:nth-child {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#header-main {
  display: flex;
  justify-content: space-between;
  height: calc(40px + 2vw);
  padding-left: calc(5vw - 10px);
  padding-right: calc(5vw - 10px);
  padding-top: calc(5px + 0.5vw);
  background-color: rgba(12,12,12,0.8);
  color: #fff;
  font-size: calc(10px + 0.5vw);
}
#header-main > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#header-main img {
  width: calc(100px + 1vw);
}
#main-menu ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #2f5ac0;
  padding: 0px calc(2vw - 5px);
}
#main-menu li {
  display: block;
}
#main-menu li a {
  display: block;
  color: white;
  padding: 0.8vw calc(4vw - 20px);
  text-transform: uppercase;
  font-size: calc(9px + 0.7vw);
  font-weight: 600;
}
#main-menu li.current_page_item a {
  color: #fff5f5;
}
#main-menu > div > ul > li {
  position: relative; /* required so child submenu can position itself */
  display: inline-block;
}
#main-menu .sub-menu {
  display: none;
  position: absolute;
  left: 0px; /* locate relative to positioned ancestor */
  width: 15em;
  background-color: #fff;
}
#main-menu li:hover .sub-menu {
  display: block;
  padding: calc(7px + 0.2vw) 0px;
  box-shadow: 1px 2px 4px rgba(1,1,1,0.4);
}
#main-menu .sub-menu li {
  display: block;
  padding: calc(5px + 0.1vw) calc(2vw - 18px);
}
#main-menu .sub-menu a {
  display: block;
  padding: 0.5vw calc(0.5vw - 2px);
}
#main-menu .sub-menu a:hover {
  color: #7ac972; /* #baebfe; */
}


/*************************************************
 * Mobile menu
 *************************************************/
#mobile-toggle {
  display: none;
  height: calc(54px + 2.8vw);
  margin: 0vw 2.8vw;
  padding: 0vw 0.5vw;
  cursor: pointer;

}
#mobile-toggle > span {
  vertical-align: top;
  line-height: 1.8;
  font-size: 15px;
}
#mobile-toggle > div {
  display: inline-block;
  margin-left: 11px;
}
#mobile-toggle > div > div {
  height: 4px;
  width: 22px;
  background-color: #aaa;
  margin-top: 4px;
  margin-bottom: 1px;
}
@media (max-width: 800px) {
  #mobile-toggle {
    display: block;
  }
  #main-menu li {
    display: block;
  }
  #main-menu li a {
    font-size: calc(9px + 2vw);
    padding: 1.2vw calc(5vw - 2px);
    text-align: right;
  }
  #main-menu > div > ul > li {
    display: block;
  }
  #main-menu #menu-main-menu {
    display: none;
  }
}  



