/*
Theme Name: PureLynx
Author: PureLynx
Author URI: https:/purelynx.com
Version: 3.0
*/


/*********************************************************************
 * 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;
  background-repeat: no-repeat;
}
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: "Poppins", sans-serif;
	font-size: calc(11px + 0.4vw);
	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 */
}
@media (max-width: 600px) {
  body, button, input, select, textarea {
    font-size: calc(6px + 2.4vw);
  }
}
/* 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 {
	margin-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-size: calc(10px + 0.4vw);
	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 {
	background-color: #333;
	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(18px + 2vw);
  }
  h2 {
    font-size: calc(18px + 1.6vw);
  }
  h3 {
    font-size: calc(16px + 1.3vw);
  }
  h4 {
    font-size: calc(14px + 1vw);
  }
}

.hrule > div {
  border-top: 2px solid #e6e6e6;
}


/*************************************************
 * Header & Menu
 *************************************************/
#masthead {
  display: flex;
  background-color: #35c;
  padding-left: calc(8.5vw - 25px);
  padding-right: calc(7.5vw - 25px);
  padding-top: 0.8vw;
  padding-bottom: 0.8vw;
  color: #fff;
  font-size: 1.3em;
}
#masthead #logo {
  width: 80%;
}
#masthead #logo img {
  width: calc(150px + 10vw);
}
#masthead #logo p {
  display: inline-block;
}
#masthead #tag-line {
  position: relative;
  top: 0.5vw;
  left: 0.5vw;
  font-family: "Dancing Script", cursive;
  font-size: calc(16px + 1.4vw);
  line-height: 1;
}
#masthead .social-media {
  width: 20%;
  text-align: right;
}
#masthead .social-media img {
  width: calc(25px + 1vw);
  filter: invert(21) brightness(1.3);
  margin-left: 1vw;
}
#main-menu {
  padding-left: calc(25vw - 150px);
  padding-top: 30px;
}
#main-menu li {
  list-style-type: none;
  display: inline-block;
  padding: 1vw calc(4vw - 20px);
}
#main-menu li a {
  color: #777;
  font-size: calc(9px + 0.8vw);
}

/*************************************************
 * Homepage
 *************************************************/
.home #section-01 {
  display: flex;
}
.home #section-01 > img {
  width: 33.334%;
  height: calc(140px + 15vw);
  background-size: cover;
}
.home #section-02 {
  display: flex;
  position: relative; 
  top: calc(-140px - 15vw);
  padding-left: calc(8.5vw - 25px);
  padding-right: calc(7.5vw - 25px);
  padding-top: 3.4vw;
  padding-bottom: 3vw;
  background-color: rgba(255,255,255,0.7);
  color: #000;
}
.home #section-02 > div:nth-child(1) {
  width: 40%;
  margin-right: 8%;
	font-size: calc(14px + 1.5vw);
  line-height: 1.4;
}
.home #section-02 > div:nth-child(2) {
  width: 52%;
  line-height: 1.2;
}
.home #section-02 a {
  font-weight: bold;
  color: #35d;
}  
.home .candidates {
  display: flex;
  flex-wrap: wrap;
  position: relative; 
  top: calc(-140px - 15vw);
  margin-bottom: calc(-140px - 15vw);
  padding-left: calc(11.5vw - 30px);
  padding-right: calc(11.5vw - 30px);
  padding-bottom: 1.5vw;
  background-color: rgba(255,255,255,0.7);
}
.home .candidates > * {
  width: 22%;
  margin-left: 1.5%;
  margin-right: 1.5%;
  margin-bottom: 3vw;
}
.home .candidates > a:hover {
  text-decoration: none;
}
.home .candidates img {
  width: 100%;
  height: 22.5vw;
  object-fit: cover; 
  filter: saturate(0.8);
  padding: 0.4vw;
  border: 0.2vw solid #ddd;
  background: #fff;
}
.home .candidates p {
  margin-bottom: 0px;
  font-size: 0.8em;
}
.home .candidates p.name {
  padding-top: 0.3vw;
  padding-bottom: 0.1em;
  text-transform: uppercase;
  font-size: 1.1em;
  line-height: 1.1;
  color: #35a;
}
.home .candidates p:nth-child(3) {
  font-style: italic;
  font-size: 0.9em;
  padding-bottom: 0.1em;
  color: #35a;
}
.home .candidates .bio {
  display: none;
}
.home #section-04 {
  padding-left: calc(11.5vw - 30px);
  padding-right: calc(11.5vw - 30px);
  padding-top: 4vw;
  padding-bottom: 3.8vw;
  background-color: #35c;
  color: #fff;
}
.home #section-05 {
  padding-left: calc(11.5vw - 30px);
  padding-right: calc(11.5vw - 30px);
  padding-top: 4vw;
  padding-bottom: 3.8vw;
  text-align: center;
}
@media (max-width: 800px) {
  .home .candidates > * {
    width: 30.3%;
    margin-left: 1.5%;
    margin-right: 1.5%;
    margin-bottom: 3vw;
  }
  .home .candidates img {
    height: 32vw;
  }
}
@media (max-width: 600px) {
  .home #section-02 {
    display: block;
  }
  .home #section-02 > div:nth-child(1) {
    width: 95%;
    margin-right: 0%;
  }
  .home #section-02 > div:nth-child(2) {
    width: 95%;
  }
  .home .candidates > * {
    width: 47%;
    margin-left: 1.5%;
    margin-right: 1.5%;
    margin-bottom: 3vw;
  }
  .home .candidates img {
    height: 49vw;
  }
}

/*************************************************
 * Single candidate bio pages
 *************************************************/
.single-candidate .site-content {
  padding-left: calc(8.5vw - 25px);
  padding-right: calc(8.5vw - 25px);
  padding-top: 5vw;
  padding-bottom: 7vw;
}
.single-candidate .site-content img {
  width: 25%;
  margin-right: 5vw;
  margin-bottom: 3vw;
  float: left;
}
.single-candidate .entry-content p:nth-child(1) {
  font-style: italic;
  margin-bottom: 0.1em;
  color: #35a;
}
.single-candidate .entry-content p:nth-child(2),
.single-candidate .entry-content p:nth-child(3) {
  margin-bottom: 0px;
}
.single-candidate .bio {
  padding-top: 3vw;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .single-candidate .site-content img {
    width: 50%
  }
}

/*************************************************
 * Contact page
 *************************************************/
.page-id-147 .site-content {
  padding-left: calc(8.5vw - 25px);
  padding-right: calc(8.5vw - 25px);
  padding-top: 5vw;
  padding-bottom: 10vw;
}
.page-id-147 .site-content h1 {
  padding-bottom: 2vw;
  font-size: calc(18px + 1.8vw);
  color: #35c;
}


/*************************************************
 * Blog page
 *************************************************/
.blog .site-content {
  padding-left: calc(8.5vw - 30px);
  padding-right: calc(7.5vw - 30px);
  padding-top: 3.4vw;
  padding-bottom: 3vw;
}
.blog h1 {
  margin-bottom: 1.7vw;
}
.blog .one-post h2 {
  position: absolute;
  width: 20%;
  font-size: calc(5px + 1.4vw);
  color: #25c;
}
.blog .one-post {
  margin-top: 2vw;
  margin-bottom: 2vw;
}
.blog .one-post p {
  padding-left: 28%;
  font-size: calc(10px + 0.7vw); 
}
.blog .one-post .more-link:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .blog .one-post {
    margin-top: 4vw;
  }
  .blog .one-post h2 {
    position: static;
    width: auto;
    padding-bottom: 3vw;
    font-size: 4.5vw;
  }
  .blog .one-post p {
    padding-left: 0px;
    font-size: calc(10px + 0.4vw); 
  }
}

/*************************************************
 * Blog post
 *************************************************/
.single-post .site-content {  
  padding-left: calc(8.5vw - 30px);
  padding-right: calc(7.5vw - 30px);
  padding-top: 3.4vw;
  padding-bottom: 3vw;
}
.single-post .site-content h2 {
  padding-bottom: 2vw;
  font-size: calc(12px + 1.4vw);
  color: #35c;
}
.single-post .site-content a {
/*  font-weight: bold; */
  color: #35d;
}  
.single-post .site-content a:hover {
  text-decoration: underline;
}

/*************************************************
 * Footer
 *************************************************/
.site-info {
  display: flex;
  flex-wrap: wrap;
  padding: 4vw 7vw 4vw 7vw;
  background-color: #ededed;
}
.site-info > div:nth-child(1) {
  width: 50%;
}
.site-info > div:nth-child(2) {
  width: 50%;
  text-align: right;
}
.site-info p {
  margin-bottom: 0px;
}
.site-info a:hover {
  text-decoration: underline;
}

