/*
Theme Name: VIAA 2018
Description: Custom theme for the Virginia's Industrial Advancement Alliance website
Author: Access Advertising
Author URI: http://visitaccess.com
Version: 1.0
*/

html {
	font-size: initial;
	font-size: 1em;
}

/* This is a small security for too long strings titles */
body {
	word-wrap: break-word;
	color:#1D4F91;
	font:1rem/1.375 'Open Sans', arial, sans-serif;
	background:#F1F3F4;
}

#wrapper {
	width: 1920px;
	max-width: 100%;
	margin: 0 auto;
}

a
{
	color: #41B6E6;
}

/* Images and wp-captions should always fit and be responsive */
img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}

img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}
.wp-caption {
	border: 1px solid #D2DCE7;
	margin-bottom: 10px;
	max-width: 100%;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

input[type=text],
input[type=search],
input[type=email],
input[type=password],
textarea
{
	border: 1px solid #97A3AF;
}

ul
{
	padding-left: 1.25rem;
}

ol
{
	padding-left: 0;
}

li
{
	margin-bottom: 6px;
}

ul ul,
ol ul
{
	list-style-type: disc;
}

.btn
{
	border-radius: 0;
	border: none;
	font-size: 1rem;
}

.btn-primary,
.btn-secondary,
.btn-tertiary
{
	display: inline-block;
	padding: 4px 16px;
	margin-bottom: 0;
	font-size: 1rem;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	background-color: #41B6E6;
	border-color: #41B6E6;
	color: #F1F3F4;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
}

.btn-secondary
{
	background-color: transparent;
	border-color: #41B6E6;
	color: #41B6E6;
}

.btn-tertiary
{
	border: 1px solid transparent;
	background-color: transparent;
	border-color: #F1F3F4;
}

.btn-primary.active.focus, .btn-primary:hover, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover
{
	background-color: #41B6E6;
	border-color: #41B6E6;
	color: #F1F3F4;
	text-decoration: none;
}

.btn-secondary.active.focus, .btn-secondary:hover, .btn-secondary.active:focus, .btn-secondary.active:hover, .btn-secondary:active.focus, .btn-secondary:active:focus, .btn-secondary:active:hover, .open>.dropdown-toggle.btn-secondary.focus, .open>.dropdown-toggle.btn-secondary:focus, .open>.dropdown-toggle.btn-secondary:hover
{
	background-color: transparent;
	border-color: #41B6E6;
	color: #41B6E6;
	text-decoration: none;
}

.btn-tertiary.active.focus, .btn-tertiary:hover, .btn-tertiary.active:focus, .btn-tertiary.active:hover, .btn-tertiary:active.focus, .btn-tertiary:active:focus, .btn-tertiary:active:hover, .open>.dropdown-toggle.btn-tertiary.focus, .open>.dropdown-toggle.btn-tertiary:focus, .open>.dropdown-toggle.btn-tertiary:hover
{
	border-color: #F1F3F4;
	color: #F1F3F4;
	text-decoration: none;
}

.fa span
{
	display: inline-block;
	text-indent: -9999px;
}

.flex {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-top: 0;
	margin-right: 12px;
}
.alignright {
	display: inline;
	float: right;
	margin-top: 0;
	margin-left: 12px;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* WP Gallery */
.gallery {
	margin-bottom: 1.5rem;
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}
.gallery-caption {
	display: block;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #F1F3F4;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #1D4F91;
	display: block;
	font-size: 1rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

hr
{
	margin-top: 10px;
	margin-bottom: 15px;
}

p
{
	margin-bottom: 15px;
}

p + ul,
p + ol
{
	margin-top: -10px;
}

h1, h2, h3, h4
{
	line-height: 1;
	font-weight: bold;
}

h1
{
	font-size: 1.75rem;
}

h1.page-title
{
	color: #F1F3F4;
	padding: 0 1.25rem;
	font-size: 2rem;
}

h2
{
	color: #1D4F91;
	font-size: 1.5rem;
	margin-bottom: 0;
}

h3
{
	font-size: 1rem;
	text-transform: uppercase;
	color: #1D4F91;
}

h4
{
	font-size: 0.875rem;
	text-transform: uppercase;
	color: #1D4F91;
}

/* Tables */

table {
  text-align: left;
  border-collapse: collapse;
  width: 90%; }
  table td,
  table th {
    border: 1px solid #D2DCE7; }
  table tbody tr th {
    padding-left: 10px; }
  table td {
    padding-left: 10px; }
  table th {
    text-align: left;
    color: #41B6E6;
    background-color: #D2DCE7; }
  table thead th {
    text-align: center;
    background-color: #41B6E6;
    color: white; }
  table tfoot {
    background-color: #41B6E6;
    color: white; }
		
/* Lists */

#content ul,
#content ol
{
	margin-bottom: 30px;
}

#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul
{
	margin-bottom: 0;
}

#content ul
{
	padding-left: 12px;
}

#content ul li
{
	list-style-type: none;
	padding-left: 12px;
	position: relative
}

#content ol
{
	padding-left: 0;
}

#content ol li
{
	display: block;
	padding-left: 12px;
}

/* Clearing */
.clear {
	clear: both;
}

/* Navigation */

.nav-opener {
  width: 34px;
  height: 22px;
  background: transparent;
  position: absolute;
	top: calc(50% - 22px);
	right: 25px;
  display: block;
  margin-top: 3px; }
  @media (min-width: 768px) {
    .nav-opener {
      margin-top: 13px; } }
  @media (min-width: 1024px) {
    .nav-opener {
      display: none; } }
  @media (min-width: 1024px) {
    .nav-opener:hover {
      opacity: .6; } }
  .nav-active .nav-opener span {
    opacity: 0; }
  .nav-active .nav-opener:before, .nav-active .nav-opener:after {
    transform: rotate(45deg);
    top: 50%;
    left: 0;
    right: 0;
    height: 4px; }
  .nav-active .nav-opener:after {
    transform: rotate(-45deg); }
  .nav-opener span, .nav-opener:before, .nav-opener:after {
    background: #1D4F91;
    border-radius: 4px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    transform: translateY(-50%);
    transition: transform .3s linear; }
  .nav-opener:before, .nav-opener:after {
    content: '';
    top: 10%; }
  .nav-opener:after {
    top: 90%; }

  @media (max-width: 1023px) {
		.nav-holder {
			position: static;
		}
		.navigation-collapse {
			z-index: 1000;
			padding: 16px 20px 0;
			transform: scaleY(0);
			transition: transform .4s, padding .4s;
			transform-origin: top;
			background-color: #F1F3F4;
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			justify-content: flex-start;
			position: absolute;
			top: 108px;
			left: 0;
			right: 0; }
		.admin-bar .navigation-collapse {
			top: 158px;
		}
		#header-secondary-nav.menu-secondary-container
		{
			order: 2;
			flex-direction: column;
			align-items: flex-start;
			width: 100%;
			padding-bottom: 30px;
		}
		.site-header .search-form
		{
			width: 100%;
		}
		.site-header input
		{
			width: calc(100% - 34px);
		}
		#header-secondary-nav #header-secondary-menu li
		{
			padding-left: 0;
			display: list-item;
		}
		#menu-main-menu li a
		{
			padding-left: 0;
		}
		
    .navigation-collapse {
      min-height: calc(100vh - 108px); }
		.admin-bar .navigation-collapse {
			min-height: calc(100vh - 158px);
		}
	}	
  @media (min-width: 1024px) {
    .navigation-collapse {
      text-align: right;
      display: block;
      transform: scaleY(1);
      background-color: transparent;
      position: relative;
      top: 0;
      border-top: none; } }
  .nav-active .navigation-collapse {
    transform: scaleY(1); }

.menu-main-menu-container {
	}
  .menu-main-menu-container a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1D4F91;
    text-decoration: none;
    padding: 10px; }
  .menu-main-menu-container ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
    text-transform: uppercase; }
    @media screen and (max-width: 1440px) {
      .menu-main-menu-container ul li {
        padding: 0; } }
    .menu-main-menu-container ul::after {
      content: "";
      clear: both;
      display: block; }
  .menu-main-menu-container li {
    font-size: 0.875rem;
    float: none;
    margin: 10px 0;
    padding: 0 20px;
    position: relative; }
    @media screen and (min-width: 1024px) {
      .menu-main-menu-container li {
        display: inline-block; } 
			.menu-main-menu-container li:last-child,
			.menu-main-menu-container li:last-child a		{
				padding-right: 0; }
		}
    .menu-main-menu-container li:hover ul.sub-menu {
      display: block;
      z-index: 1000; }
    .menu-main-menu-container li .sub-menu {
      display: none;
      font-size: 0.875rem;
      background: #D2DCE7;
      position: absolute;
      top: 100%;
      left: 0;
      text-transform: none;
      z-index: 1000;
      margin-top: 10px; }
      .menu-main-menu-container li .sub-menu li {
        display: block;
        float: none;
        width: 200px;
        padding: 10px 15px;
        text-align: left; }
        .menu-main-menu-container li .sub-menu li.page_item_has_children ul {
          display: none; }
        .menu-main-menu-container li .sub-menu li a {
          font-style: normal; }
          .menu-main-menu-container li .sub-menu li a:hover {
            text-decoration: underline;
            font-weight: 600; }
        .menu-main-menu-container li .sub-menu li ul {
          display: none; }

/* mobile dropdown testing */
@media (max-width: 1023px) {
	.menu-main-menu-container {
		width: 100%;
	}
  #menu-main-menu {
    margin-bottom: 0; }
    #menu-main-menu li {
      border-bottom: 1px solid #D2DCE7;
      padding: 7px 0 8px; }
      #menu-main-menu li.menu-item-has-children:before, #menu-main-menu li.menu-item-has-children:after {
        height: 0;
        width: 0;
        border-bottom: 7px solid #F1F3F4;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        content: '';
        position: absolute;
        bottom: -19px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
        display: none; }
      #menu-main-menu li.menu-item-has-children:after {
        height: 0;
        width: 0;
        border-bottom: 8px solid #D2DCE7;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        z-index: 999; }
      #menu-main-menu li.menu-item-has-children > a {
        position: relative; }
        #menu-main-menu li.menu-item-has-children > a:before {
          content: '+';
          position: absolute;
          top: 50%;
          right: 0;
          transform: translateY(-50%);
          font-size: 16px;
          font-weight: 700; }

      #menu-main-menu li.hover {
        padding-bottom: 0; }
			#menu-main-menu li.hover .sub-menu {
				display: block; } 
			#menu-main-menu li.hover.menu-item-has-children > a:before {
				content: '-';
				margin-right: 2px; }
      #menu-main-menu li.active a {
        color: #E68D28; }
    #menu-main-menu a {
      transition: color 0.3s ease-in-out;
      display: block;
			padding: 0;
      color: #1D4F91;
      text-decoration: none; }
      .active #menu-main-menu a, #menu-main-menu a:hover {
        color: #E68D28; }
  #menu-main-menu .sub-menu {
    transition: transform .4s;
    transform-origin: top;
    z-index: 1000;
		background: #F1F3F4;
    min-width: 185px;
    position: relative;
    font-weight: 400;
    display: none;
    padding-left: 20px;
    border-top: 1px solid #D2DCE7;
    letter-spacing: 1px;
    margin-top: 3px; }
    #menu-main-menu .sub-menu:before {
      content: '';
      position: absolute;
      top: -20px;
      height: 19px;
      left: 0;
      right: 0;
      background-color: transparent;
      display: none; }
    #menu-main-menu .sub-menu li {
      width: 100%;
			margin: 0;
      padding: 6px 0 7px; }
      #menu-main-menu .sub-menu li:last-child {
        border-bottom: none; }
    #menu-main-menu .sub-menu a {
      color: #1D4F91;
      font-size: 14px; }
}
@media (min-width: 1024px) {
	#menu-main-menu li.menu-item-has-children > a:before {
		display: none; } 
	#menu-main-menu .sub-menu {
		transform-origin: none; }}



.current_page_parent a {
  font-weight: bold; }

.current_page_item a {
  text-decoration: underline;
  font-weight: bold; }
.current_page_item .sub-menu a {
  text-decoration: none;
  font-weight: normal; }

/* Header */

.site-header
{
	padding-top: 25px;
}

.header-row
{
	position: relative;
	z-index: 10;
}

@media screen and (min-width: 1024px) {
	.header-row .col-sm-9
	{
		text-align: right;
	}
}

.logo
{
	margin-bottom: 15px;
	display: inline-block;
}

.visual
{
	position: relative;
}

.visual,
.visual .slide {
	color: #F1F3F4;
	background-size: cover;
	background-position: 50% 50%;
	font-size: 0.875rem;
}

.visual .background
{
	min-height: 126px;
	background-size: cover;
	background-position: 50% 50%;
	background-image: url(images/VIAA-Home.jpg);
}

.visual .overlay
{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(40, 40, 60, 0.3);
	display: none;
}

@media (min-width: 1200px)
{
	.visual .overlay
	{
		display: block;
	}
}

.visual .visual-row [class*="col-"] {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: end;
	-ms-flex-align: end;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	min-height: 126px;
	max-height: 743px;
	overflow: hidden;
}

#dropdown-social
{
	float: right;
}

#dropdown-social-menu
{
	padding: 0;
	margin: 0;
}

#dropdown-social-menu li
{
	padding: 0 12px;
	font-size: 1.25rem;
	list-style-type: none;
	color: #F1F3F4;
}

#dropdown-social-menu li a
{
	color: #F1F3F4;
}

#header-secondary-nav
{
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

#header-secondary-menu
{
	margin: 10px 20px 5px 0;
	padding: 0;
}

#header-secondary-menu li
{
	list-style-type: none;
	font-size: 0.875rem;
	display: inline-block;
	padding: 0 20px;
}

#header-secondary-menu li:first-child
{
	padding-left: 0;
}

#header-secondary-menu li:last-child
{
	padding-right: 0;
}

#header-secondary-menu li a
{
	color: #1D4F91;
}

.site-header input
{
	font-size: 0.875rem;
	padding: 4px 6px 3px;
}

button.search-submit
{
	background: transparent;
	border: 1px solid #97A3AF;
	color: #1D4F91;
	margin-left: -6px;
	padding: 2px 6px;
}

/* Slick slider */

.slick-slider {
	position: relative;
	display: block;
	background-color: #1D4F91;
	box-sizing: border-box;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-ms-touch-action: pan-y;
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
	text-align: left;
	min-width:0;
	width: 100%;
}

.slick-dots
{
	position: absolute;
	bottom: 12px;
	padding: 0;
	margin: 0;
	width: 100%;
	text-align: center;
	list-style: none;
}

.slick-dots li
{
	position: relative;
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0 5px;
	padding: 0;
	cursor: pointer;
}
.slick-dots li button {
	font-size: 0;
	line-height: 0;
	display: block;
	width: 20px;
	height: 20px;
	padding: 5px;
	cursor: pointer;
	color: transparent;
	border: 0;
	outline: none;
	background: transparent;
}
.slick-dots li:before
{
	display: none;
}
.slick-dots li button:before {
	font-family: 'slick';
	font-size: 2rem;
	line-height: 20px;
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border: 5px solid #F1F3F4;
	border-radius: 50%;
	content: '';
	text-align: center;
	opacity: .5;
	color: #F1F3F4;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
	opacity: 1;
}
.slick-list {
	position: relative;
	overflow: hidden;
	display: block;
	margin: 0;
	padding: 0;
}

.slick-list.dragging {
	cursor: pointer;
	cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.slick-track {
	position: relative;
	left: 0;
	top: 0;
	display: block;
}

.slick-track:before,
.slick-track:after {
	content: "";
	display: table;
}

.slick-track:after {
	clear: both;
}

.slick-loading .slick-track {
	visibility: hidden;
}

.slide .subheader
{
	font-size: 1.125rem;
	font-weight: 600;
}

.slide h2
{
	font-size: 2.25rem;
	font-family: 'Oswald', sans-serif;
	color: #F1F3F4;
	margin-top: 6px;
}

.slick-slide {
	float: left;
	height: 100%;
	min-height: 1px;
	display: none;
}

.slick-slide.right {
	text-align: right;
}

.slick-slide.right .visual-content p
{
	padding-right: 0;
}

[dir="rtl"] .slick-slide {
	float: right;
}

.slick-slide img {
	display: block;
	margin: 0 auto;
}

.slick-slide.slick-loading img {
	display: none;
}

.slick-slide.dragging img {
	pointer-events: none;
}

.slick-initialized .slick-slide {
	display: block;
}

.slick-loading .slick-slide {
	visibility: hidden;
}

.slick-vertical .slick-slide {
	display: block;
	height: auto;
	border: 1px solid transparent;
}

/* Secondary nav */

#secondary-nav-outer
{
	background: #4CABAE;
	position: relative;
	padding: 20px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

#secondary-nav-container
{
	display: none;
	background: #1D4F91;
	margin-top: 15px;
	margin-bottom: -30px;
}

#secondary-nav-outer .container
{
	padding-bottom: 0;
	width: 100%;
}

#secondary-nav-toggle
{
	display: block;
	color: #F1F3F4;
	font-size: 0.9375rem;
	font-weight: bold;
	font-style: italic;
	line-height: normal;
	position: relative;
	letter-spacing: 0.3px;
}

#secondary-nav-toggle:after {
	position: absolute;
	top: calc(50% - 11px);
	right: 10px;
	display: block;
	content: '>>>';
}

#secondary-nav
{
	margin-left: 0;
	margin-right: 0;
	padding: 0;
}

#secondary-nav li
{
	color: #F1F3F4;
	list-style-type: none;
	font-size: 1rem;
	font-weight: 300;
	line-height: normal;
	letter-spacing: 0.3px;
	padding: 6px 12px 6px 0;
}

#secondary-nav li.current-menu-item,
#secondary-nav li.current-menu-ancestor
{
	font-weight: bold;
	font-style: italic;
	display: none;
}

#secondary-nav li:first-child
{
	padding-left: 0;
}

#secondary-nav li:last-child
{
	padding-right: 0;
}

#secondary-nav li a
{
	display: inline-block;
	padding: 0;
	color: #F1F3F4;
	font-weight: 300;
}

#secondary-nav li.current-menu-item > a,
#secondary-nav li.current-menu-ancestor > a
{
	font-weight: bold;
	font-style: italic;
}

/* Content */

.main-content .container
{
	padding-bottom: 0;
}

.home #content,
.blog #content
{
	padding-top: 0;
}

.home #content .row
{
	border-bottom: 1px solid #bdbdbd;
	overflow: hidden;
}

.home #content .row.shaded
{
	background: #F1F3F4;
}

.home #content .row .block-content,
.home #content .row .block-image
{
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.home #content .row .block-content
{
	padding-left: 50px;
	padding-right: 50px;
}

#content p
{
	font-size: 0.875rem;
}

#content table
{
	width: 100% !important;
}

@media (min-width: 768px)
{
	.home #content .row .block-content,
	.home #content .row .block-image
	{
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
}

@media (min-width: 1024px)
{
	.home #content .row .block-content,
	.home #content .row .block-image
	{
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}
}

@media (min-width: 1200px)
{
	#content
	{
		padding-top: 40px;
	}
	.page-template-full_width #content
	{
		padding-top: 0;
	}
}

.home .visual .container-fluid .row,
.home .visual .container-fluid .row .col-sm-12
{
	padding: 0;
}

#background-video
{
	position: relative;
	width: 100%;
	padding-top: 39.1%;
}

#background-video iframe
{
	background: linear-gradient(to bottom, #fff, #fff 90%, #f5f5f5 90%);
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#background-video .overlay
{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(33,33,33,0.24);
	text-align: center;
}

#background-video .overlay .container
{
	height: 100%;
	padding-bottom: 0;
}

#background-video .overlay .container [class*="col-"]
{
	height: 100%;
}

#background-video .overlay p
{
	font-size: 1rem;
	line-height: 1.75;
}

#background-video .overlay h1
{
	font-weight: 300;
}

@media (min-width: 768px)
{
	#background-video .overlay h1
	{
		font-size: 2rem;
	}
}

@media (min-width: 1024px)
{
	#background-video .overlay h1
	{
		font-size: 4rem;
	}
}

.hentry {
	margin: 0 0 24px;
}
.archive .hentry,
.category .hentry
{
	margin: 0;
}

.sticky {
	display: block;
}
.bypostauthor {
	display: block;
}

.entry-meta {
	clear: both;
}

.prev-next-posts {
    margin: 30px 0 0;
    height: 50px; }
    .prev-next-posts .prev-posts-link {
      float: left; }
    .prev-next-posts .next-posts-link {
      float: right; }
    .prev-next-posts div a {
      text-transform: uppercase;
      border: 1px solid #1D4F91;
      font-size: 18px;
      font-weight: 200;
      text-decoration: none;
      color: #1D4F91;
      padding: 5px 20px;
      -webkit-transition: all ease 0.3s;
      -moz-transition: all ease 0.3s;
      -o-transition: all ease 0.3s;
      -ms-transition: all ease 0.3s;
      transition: all ease 0.3s; }
      .prev-next-posts div a:hover {
        background-color: #1D4F91;
        color: white; }
				
.insert-page {
  display: inline-block;
  vertical-align: top;
  width: 32%; }
  .insert-page .board-member {
    padding-right: 10px; }
    .insert-page .board-member p {
      margin: 0;
      font-style: italic;
      line-height: 20px !important; }
    .insert-page .board-member .greybox {
      width: 127px;
      height: 130px;
      background-image: url("images/person-placeholder.jpg");
      background-size: cover;
      background-repeat: no-repeat; }
    .insert-page .board-member h3 {
      text-transform: uppercase; }
    .insert-page .board-member .name {
      font-weight: bold; }
    .insert-page .board-member .address,
    .insert-page .board-member .name,
    .insert-page .board-member .phone {
      font-style: normal; }
    .insert-page .board-member .address {
      margin-top: 10px; }
  @media screen and (max-width: 800px) {
    .insert-page {
      width: 90%;
      display: block;
      margin: 20px;
      text-align: center; }
      .insert-page .board-member .greybox {
        margin: 0 auto; } }

/* Content blocks */

.content-block-title
{
	font-size: 2rem;
	color: #1D4F91;
	font-weight: normal;
	text-transform: none;
	margin: 0 0 1.125rem;
}

.home #content .row.flex .pull-right
{
	order: 2;
	z-index: 1;
}

.bg-holder
{
	position: absolute;
	top: 0;
	right: 0;
	left: -100px;
	bottom: 0;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: -1;
}

.bg-holder:after
{
	background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 40%), rgba(35,61,110,0.5) 0%;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	content: '';
}

.pull-right .bg-holder:after
{
	background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 40%), rgba(35,61,110,0.5) 100%;
}

.shaded .bg-holder:after
{
	display: none;
}

.bg-holder img
{
	width: 100%;
	height: 100%;
}

@media (min-width: 1024px)
{
	.bg-holder img
	{
		height: auto;
	}
}

.pull-right .bg-holder
{
	left: 0;
	right: -100px;
}

.bg-holder:before {
}

/* Site blocks */

.shovel-ready-sites
{
	margin-top: 2rem;
	text-align: center;
}

.site-container
{
	margin-bottom: 2rem;
}

h2.site-section-title
{
	text-align: center;
	font-size: 1.5rem;
	color: #1D4F91;
	text-transform: uppercase;
	margin: 0 0 2rem;
}

.site-image
{
	width: 100%;
	background-size: cover;
	background-position: 50% 50%;
	position: relative;
	margin-bottom: 1.5rem;
	height: 340px;
}

.shovel-ready-sites ul
{
	text-align: left;
	margin-bottom: 1.5rem;
}

.shovel-ready-sites li
{
	font-size: 0.875rem;
}

@media (min-width: 1024px)
{
	.site-image
	{
		height: 188px;
	}
}

@media (min-width: 1400px)
{
	.site-image
	{
		height: 266px;
	}
}

h3.site-title
{
	background: linear-gradient(270deg, rgba(39,106,165,0.5) 0%, #276aa5 46.02%, rgba(39,106,165,0.5) 100%);
	text-align: center;
	position: absolute;
	padding: 1.25rem 0;
	bottom: 0;
	left: 0;
	right: 0;
	color: #F1F3F4;
	font-size: 0.875rem;
	margin: 0;
}

/* Sidebar */

.sidebar {
  text-transform: uppercase;
  background-color: #41B6E6;
  padding-bottom: 20px; }
  .sidebar .wpcf7-not-valid-tip {
    font-size: 14px; }
  .sidebar .wpcf7-validation-errors {
    display: none; }
  .sidebar .mobile-submenu {
    display: none; }
  .sidebar .submenu {
    padding: 30px 0 20px;
    background: #D2DCE7;
    font-size: 18px;
    font-weight: 600; }
    .sidebar .submenu ul {
      padding: 0;
      list-style-type: none; }
      .sidebar .submenu ul .parent {
        background-color: #41B6E6; }
        .sidebar .submenu ul .parent a {
          color: white; }
        .sidebar .submenu ul .parent::before {
          content: "\f053";
          font-family: FontAwesome;
          padding: 0 5px 0 0;
          float: left;
          color: white; }
      .sidebar .submenu ul li {
        max-width: 100%;
        padding: 10px 20px 5px; }
        .sidebar .submenu ul li a {
          text-decoration: none;
          font-style: normal;
          text-transform: none;
          font-size: 18px;
          font-weight: 600;
          color: #41B6E6; }
      .sidebar .submenu ul .children {
        border-top: 1px solid #1D4F91;
        border-bottom: 1px solid #1D4F91;
        padding-left: 0; }
        .sidebar .submenu ul .children a {
          font-size: 14px;
          color: black; }
    .sidebar .submenu .page_item_has_children::after {
      float: right;
      color: #41B6E6;
      content: "\f078";
      font-family: FontAwesome; }
    .sidebar .submenu .page_item_has_children .children {
      display: none; }
      .sidebar .submenu .page_item_has_children .children a::after {
        content: ""; }
    .sidebar .submenu .page_item_has_children:hover::after {
      content: ""; }
    .sidebar .submenu .page_item_has_children:hover .children {
      display: block; }
		.sidebar .submenu li.current-page {
			display: none;
		}

  @media screen and (max-width: 1200px) {
    .sidebar {
      float: none;
      max-width: 100%;
      background-color: white; }
			.sidebar .wpcf7 {
				display: none;
			}
			.sidebar .submenu .children li {
          display: none;
          z-index: 1000; }
        .sidebar .submenu .page_item_has_children::after {
          content: ">"; }
        .sidebar .submenu .page_item_has_children .children {
          display: none; }
      .sidebar ul {
        font-size: 18px;
        font-weight: normal;
        margin: 0; }
        .sidebar ul li {
          font-size: 18px; }
          .sidebar ul li a {
            font-size: 18px; }
				.sidebar li {
					display: none;
				}
        .sidebar .submenu li.current-page {
          color: #1D4F91;
          font-weight: bold;
          display: block;
          text-transform: none; }
          .sidebar .submenu li.current-page::after {
            color: #1D4F91;
            font-weight: bold;
            content: " >>>"; }
      .sidebar .contact-form {
        display: none; } }

.page-template-full_width .sidebar
{
	padding-bottom: 0;
}

.page-template-full_width .sidebar .submenu ul li a
{
	color: #F1F3F4;
}

.resp-container {
	position: relative;
	overflow: hidden;
	padding-top: 56.25%;
}
.resp-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
@media screen and (max-width: 600px) {
	.resp-container {
		padding-top: 96.25%;
	}
}

.logged-in div.wpcf7
{
	margin-top: 0;
	padding-top: 40px;
}
body .cf7-style.cf7-style-160 {
	background-color: #41B6E6;
	padding-top: 10px;
	padding-right: 30px;
	padding-bottom: 10px;
	padding-left: 30px;
}
body .cf7-style.cf7-style-160 p {
	font-size: 18px;
	font-weight: 600;
	color: #F1F3F4;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

body .cf7-style.cf7-style-160 input {
	width: 100%;
	height: 30px;
	font-size: 12px;
	font-weight: 300;
	font-style: italic;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

body .cf7-style.cf7-style-160 textarea {
	width: 100%;
	height: 75px;
	font-size: 12px;
	font-weight: 300;
	font-style: italic;
	border-color: #F1F3F4;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

body .cf7-style.cf7-style-160 input[type='submit'] {
	width: 100px;
	background-color: #41B6E6;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	font-size: 18px;
	font-weight: lighter;
	font-style: normal;
	color: #F1F3F4;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-style: solid;
	border-color: #F1F3F4;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	float: right;
}

/* Footer */

.site-footer
{
	background: #41B6E6;
	padding: 50px 0 30px;
}

.site-footer *
{
	color: #F1F3F4;
}

.site-footer .col-sm-9
{
	text-align: right;
}

.footer-content
{
	text-align: center;
}

.footer-content a:hover
{
	color: #F1F3F4;
}

.site-footer .menu-main-menu-container
{
	float: none;
}

#footer-main-menu
{
	padding: 0;
	text-align: center;
	margin-top: 12px;
}

#footer-main-menu li
{
	list-style-type: none;
	font-size: 0.875rem;
	font-weight: bold;
	display: list-item;
	padding: 0 12px;
}

@media (min-width: 768px)
{
	.footer-content
	{
		text-align: left;
	}
	
	#footer-main-menu
	{
		text-align: right;
	}
	
	#footer-main-menu li
	{
		display: inline-block;
	}

	#footer-main-menu li:first-child,
	#footer-main-menu li:first-child a
	{
		padding-left: 0;
	}

	#footer-main-menu li:last-child,
	#footer-main-menu li:last-child a
	{
		padding-right: 0;
	}
}

#footer-main-menu li a,
#footer-main-menu li a:hover
{
	color: #F1F3F4;
}

#footer-secondary-menu
{
	padding: 0;
	text-align: right;
}

#footer-secondary-menu li
{
	list-style-type: none;
	font-size: 0.875rem;
	display: inline-block;
	padding: 0 16px;
}

#footer-secondary-menu li:first-child
{
	padding-left: 0;
}

#footer-secondary-menu li:last-child
{
	padding-right: 0;
}

#footer-secondary-menu li a:hover
{
	color: #F1F3F4;
}

#footer-social
{
	padding-top: 20px;
	text-align: center;
}

@media (min-width: 768px)
{
	#footer-social
	{
		text-align: right;
	}
}

#footer-social-menu
{
	padding: 0;
	margin: 0;
}

#footer-social-menu li
{
	padding: 0 6px;
	font-size: 1.875rem;
	list-style-type: none;
	display: inline-block;
}

#footer-social-menu li:first-child
{
	padding-left: 0;
}

#footer-social-menu li:last-child
{
	padding-right: 0;
}

/* styles for _tk_pagination und _tk_link_pages */
nav form.tk-page-nav,
nav .input-group,
nav .input-group-btn,
nav .form-control {
    display: inline;
}

@media (min-width: 600px)
{
	img.panel-block-image
	{
		width: initial;
	}
}

@media (min-width: 768px)
{
	html {
		max-width: 100vw;
		overflow-x: hidden;
	}

	.header-row
	{
		display: flex;
		align-items: center;
	}

	.main-nav
	{
		background: #003966;
	}

	.site-header .center-col
	{
		display: flex;
		align-items: flex-end;
		flex-direction: column;
	}
	.site-header .center-col > div
	{
		width: 100%;
	}

	#secondary-nav-outer .container
	{
		width: 100%;
	}
	
	#secondary-nav-outer
	{
		padding: 10px 0;
	}
	
	#secondary-nav-toggle
	{
		display: none;
	}

	#secondary-nav-container
	{
		display: block !important;
		background: transparent;
		margin: 0 -15px;
	}
	
	#secondary-nav li
	{
		margin: 0 12px 0 0;
	}
	
	#secondary-nav li.current-menu-item,
	#secondary-nav li.current-menu-ancestor
	{
		display: block;
	}

	#sidebar-secondary-nav-outer
	{
		border-top: none;
		border-bottom: none;
	}

	#sidebar-secondary-nav li:first-child
	{
		padding-top: 0;
	}
	
	#sidebar-secondary-nav li.current-menu-item a
	{
		font-weight: bold;
		text-decoration: underline;
	}

	#footer-social-menu li
	{
		font-size: 1.75rem;
	}
}

@media (min-width: 992px)
{
	.visual .background
	{
		min-height: 350px;
	}
	.visual .visual-row [class*="col-"] {
		min-height: 350px;
	}

	.home .visual .visual-row [class*="col-"] {
		min-height: 442px;
	}
}

@media (min-width: 1400px)
{
	.container-fluid .row
	{
		padding-left: 100px;
		padding-right: 100px;
	}
	.home .visual .container-fluid .row
	{
		padding: 0;
	}
}