
.top-buffer { margin-top:20px; }

.box-title{
  text-align:center;
  color: black;
  margin-bottom: 20px;
  vertical-align:middle;
}

.box-img{
  margin: 0 auto;
  width:100%;
  top: 50%;
  bottom: 50%;
  display:block;
  max-height: 260px;
  object-fit: cover;
}

.home-box{
  display: inline-block;
  position: relative;
}

.inner-box{
  position:relative;
  min-height: 336px;
  padding-bottom: 10px;
  transition:all 0.3s ease;
}

.inner-box:hover{
    transform: scale(0.97);
    opacity: 0.8;
}

.hover-desc{
  display: none;
  position:absolute;
  vertical-align: middle;
  text-align: center;
  height: 100%;
  width: 100%;
  -webkit-transition: width 2s; /* Safari */
  transition: width 2s;
}

.hover-desc-bg{
  height: inherit;
  width: inherit;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.hover-desc p {
  position: relative;
  font-size: 1.4em;
  padding-top: 40px;
  top: -100%;
  opacity: 1.0 !important;
  filter: alpha(opacity=100);
  width: 90%;
  margin: 0 auto;
}

.hover-desc p a {
  padding: 10px;
  border-radius: 15px;
  opacity: 1.0 !important;
  filter: alpha(opacity=100);
}

.hover-desc p a:hover {
  opacity: 0.8 !important;
  filter: alpha(opacity=80);
}


a:hover{
  text-decoration: none;
}

.fa-twitter{
  color: #00acee;
}

.fa-youtube-play {
	color: #FF0000;
}

.footer-img-row{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

.footer-img-row > [class*='col-']{
  display:flex;
  flex-direction: column;
}

.footer-img{
  width:100%;
  margin: auto 0;
}

@media(max-width:767px){
  .home-box{
    max-width: 400px;
  }

  .row.match-my-cols div{
    margin-left: calc(50% - 200px);
  }

  .row.match-my-cols{
    margin-top: 0px;
  }
  .hover-desc{
    margin-left: 4%!important;
  }
}
@media(min-width:768px){}
@media(min-width:992px){}
@media(min-width:1200px){}


div[class^="yop-poll-question"]
{
    font-weight: bold;
	margin: 0 0 0 0 !important;
}

#tribe_events_filter_control {
	display: none;
}

dd.tribe-meta-value a {
	word-wrap: break-word;
}

div.tribe-events-meta-group.tribe-events-meta-group-details, div.tribe-events-meta-group.tribe-events-meta-group-organizer {
	margin-top: 55px
}

.tribe-events-gcal {
	margin-right: 0 !important;
}

.upw-posts footer {
	display: none !important;
}

.tribe-mini-calendar-event .list-date {
	background: #005EB8 !important;
}

div.professionals-widgets {
	margin-top: 2em;
}

div.professionals-widgets h2 {
	margin-bottom: 1em;
}

div.professionals-widgets h2:nth-of-type(3) {
	margin-bottom: 0;
}

.vc_cta3-container a {
	text-decoration: none;
}
div.events-box-link {
    background: url(/wp-content/uploads/blue-gene-image-300x200.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

div.events-box-link a {
	color: white !important;
	text-shadow: 1px 1px 5px #000, -1px -1px 5px #000;
	font-size: 50px;
}

.big-quote h4 {
	font-size: 21px !important;
}


html, body {
	font-family: 'Open Sans', sans-serif;
	color:#3f3f3f;
	margin:0;
	padding:0;
}

#search-bar {
	float:right;
	margin-top:16px;
}

#search-bar #srch-btn {
	cursor:pointer;
}

.left-column {
	float: left;
	width: 49%;
	margin-right: 1%;
}

.right-column {
	float: right;
	width: 49%;
	margin-left: 1%;
}

.search-post-date {
	font-size: 12px;
	margin-left: 15px;
}

.search-post-title {
	font-weight: bold;
	margin-top: 15px;
}
.container {
	width:1200px;
	margin:0 auto;
}

 #nf_submit_1 input, button, .submit.button, .button-primary {
	background-color: #005EB8;
    border-radius: 40px;
    padding-left: 60px;
    padding-right: 60px;
    border: solid 2px white;
    margin-top: 15px !important;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
    margin-left: 0 !important;
    font-size: 20px !important;
    font-weight: 100;
}

.homepage-intro-paragraph {
	font-size: 24px;
}



@media screen and (max-width: 1200px) {
	.container {
		width:90%;
		margin:0 5%;
	}
}

header {
	margin-top:20px;
}

.clearfix:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

#logo {
	float:right;
}

.breadcrumbs {
    font-size: 14px;
}

#tagline {
    font-size: 20px;
    color: #005EB8;
    display: inline-block;
    margin-top: 40px;
}

#menu-header-menu {
	list-style-type:none;
	padding: 0;
	font-size: 14px;
}

#menu-header-menu li {
	display:inline-block;
	padding:5px 0;
}

#menu-header-menu li a {
	color:#666666;
	text-decoration:none;
	padding:5px 20px;
}

#menu-header-menu li:hover, body #menu-header-menu .current-menu-item {
	background:#005EB8;
}

#menu-header-menu li:hover > a, body #menu-header-menu .current-menu-item > a {
	color:#fff;
}

#menu-header-menu li:hover > .sub-menu {
	display:block;
}

#menu-header-menu li .sub-menu {
	display:none;
	background:#005EB8;
	padding: 0;
	margin: 5px 0 0 0;
	position: absolute;
	color:#fff;
	z-index: 1;
}

#menu-header-menu li .sub-menu li {
	display:block;
}

#menu-header-menu li .sub-menu li a {
	display:block;
	padding:5px 20px;
	color:#fff;
}

.featured-image {
	float:left;
	padding:20px;
}

a { color:#005EB8; text-decoration:none; }



input[type="button"] {
	background-color:#005EB8;
	color:#fff;
	font-weight:700;
	border:0;
	border-radius:5px;
	font-size:16px;
	padding:8px 10px;
	-webkit-box-shadow: -1px 1px 2px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 1px 2px 0px rgba(0,0,0,0.75);
	box-shadow: -1px 1px 2px 0px rgba(0,0,0,0.75);
	cursor:pointer;
}

h2 {
	font-size:24px;
	color:#005EB8;
	font-weight: 400;
	margin-top: 0;
	padding-top: 16.6px;
}
}

h3 {
	font-size:14px;
	font-weight:700;
	color:#005EB8;
}



/* =Footer
-------------------------------------------------------------- */
#footer-nhslogo {
	float:right;
	margin-top:50px;
}

#social {
	font-size:13px;
	color:#000;
}

#social img {
	padding:10px 3px;
}

#above-footer {
	background:#005EB8;
	color:#fff;
	padding: 22px 0 20px;
	font-family: 'Droid Sans', sans-serif;
	font-size:28px;
	text-align:center;
}

footer {
	padding-top:30px;
	padding-bottom:10px;
	color:#fff;
	background:#757576;
	text-align: center;
}

#menu-footer-menu {
	list-style-type:none;
	padding: 0 0 0 20px;
	font-size: 14px;
	display:inline-block;
}

#menu-footer-menu li {
	display:inline-block;
	border-left:1px solid #fff;
}

#menu-footer-menu li a {
	color:#fff;
	text-decoration:none;
	padding:2px 20px;
}

#menu-footer-menu li a:hover {
	color:#005EB8;
}


/* =Homepage
-------------------------------------------------------------- */

.hpw {
	float:left;
}

.tp_recent_tweets ul {
	margin:0;
	padding:0;
}

.tp_recent_tweets ul li {
    background: #f5f5f5;
    padding: 20px;
    margin: 0 0 4px 0;
}



/* =FAQ
-------------------------------------------------------------- */

body .ui-accordion .ui-accordion-header {
	background:none;
	background-color: #f2f2f2;
	color: #005EB8;
	border:0;
	font-size: 14px;
	padding: 12px 0 12px 50px;
}

body .ui-accordion-header.ui-state-hover {
	color: #005EB8;
}

.ui-state-focus { outline: none; }

.ui-icon { display:none; }

.plus {
    height: 20.593px;
    width: 20px;
    padding:10px;
    text-align:center;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #e6e6e6;
    z-index: 0;
}

body .ui-accordion .ui-accordion-content {
    color: #808080;
    background-color: #FFF !important;
    padding-bottom: 1px;
    border:none;
    border-right: 2px solid #d7d7d7 !important;
    border-left: 2px solid #cccccc !important;
    border-radius: 0!important;
}

/* =FAQ
-------------------------------------------------------------- */

.displayflex {
	display:flex;
}

.auw {
	width:276px;
	margin-right:31px;
	float:left;
	margin-bottom:30px;
	border:1px solid #CCCCCC;
	background:#f4f4f4;
	word-wrap: break-word;

	width:22%;
	margin-right:3%;
	min-height:304px;
}
.auw:nth-child(4n+4) {
	margin-right:0!important;
}

.auw img {
	width:100%!important;
	height:auto!important;
	border-bottom:1px solid #CCCCCC;
}

.auw .auw-text {
	width:90%;
	padding:0 5%;
}

iframe {
	border: 0;
	max-width: 100%;
}

/* =Mobile
-------------------------------------------------------------- */
#menu-button {
	float:left;
	display:none;
}

#menu-display-button {
	top:10px;
	left:10px;
	width:25px;
	height:25px;
	border-radius:25px;
	border:3px solid #000;
	font-size:18px;
	line-height:25px;
	text-align:center;
}

#menu-back {
	display:none;
}

@media screen and (max-width: 1000px) {
	html body #wpadminbar {
		z-index:7;
	}

	.featured-image, .hide-on-mobile {
		display:none;
	}

	.container {
		width:90%;
		margin:0 5%;
	}

	#logo { width:70%; }
	#logo img { width:100%; }

	#menu-back {
		display:block;
		text-align: right;
		color: #ffffff;
		padding: 10px;
		float:right;
	}

	#menu-back #menu-back-button {
		color: #ffffff;
		width:25px;
		height:25px;
		border-radius:25px;
		border:2px solid #fff;
		font-size:18px;
		line-height:25px;
		text-align:center;
		display:inline-block;
	}

	.menu-header-menu-container {
		position:fixed;
		z-index:10;
		left:100%;
		background:#2ABCC9;
		height: 100%;
		top: 0;
		width: -moz-calc(100% - 51px);
		width: -webkit-calc(100% - 51px);
		width: -o-calc(100% - 51px);
		width: calc(100% - 51px);
	}

	.menu-header-menu-container #menu-header-menu {
		margin-top: 37px;
	}

	.menu-header-menu-container #menu-header-menu li {
		display:block;
		border-bottom: 1px solid #69CCE3;
		padding: 15px 12px 10px 8px;
	}

	.menu-header-menu-container #menu-header-menu li a {
		color:#fff;
	}

	#menu-button {
		display:block;
	}

	#menu-display-button {
		display:inline-block;
	}

	#tagline {
		text-align:center;
		margin-top: 56px;
		margin-bottom: 20px;
	}

	.hpw {
		width:100%!important;
	}

	.hpw.full-width {
		position:relative;
		left:-5%;
		width:90%;
		padding:0 5%;
	}
	.hpw.full-width:after {
	   content: " "; /* Older browser do not support empty content */
	   visibility: hidden;
	   display: block;
	   height: 0;
	   clear: both;
	}

	.displayflex {
		display:block;
		width:100%!important;
	}

	.auw {
		width:100%;
		margin-right:0;
		flex:none;
	}

	footer {
		text-align: center;
	}

	#menu-footer-menu {
		padding: 0;
	}

	#menu-footer-menu li {
		border-left: 0;
	}
}

#clickable-area {
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:5;
}


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	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. */
}

.vertical-align-middle {
	vertical-align:middle;
}












.auw .auw-text h2 {
	font-size:28px;
	font-size: 22px;
}

.auw .auw-text p {
	display:none;
}

#menu-header-menu > li:hover {
	background:#005EB8;
}

#menu-header-menu > li .sub-menu li:hover {
	background:#005EB8;
}

.navigation {
    text-align: center;
    font-size: 28px;
}
