/*
Theme Name: Enfold Child
Theme URI:
Description: This is a custom child theme I have created.
Author: Noah Britton
Author URI:
Template: enfold
Version: 0.1

@media print is at bottom of file
*/

@import url('//fonts.googleapis.com/css?family=Product+Sans:100normal,100italic,300normal,300italic,400normal,400italic,500normal,500italic,700normal,700italic,900normal,900italic');

::selection {
  background-color: #3c3c3c;
  color: #fff;
}

body {
  color: #000;
}

html, body {
  background: #fff;
  width: 100%;
  height: 100%;
  padding: 0;
  font-family: 'Open Sans' !important;
  -webkit-font-smoothing: antialiased;
}

a, a:hover, a:active, a:focus {
  color: #619ebe;
  text-decoration: none;
  outline: none;
  font-size: 14px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Open Sans' !important;
  font-weight: normal;
  letter-spacing: normal !important;
}

img {
  border: 0 none;
  max-width: 100%;
  width: auto;
}

p {
  margin: 0 0 15px;
  font-size: 14px;
  color: #000;
  text-align: justify;
}

.clear {
  clear: both;
}

ol, ul {
  list-style: none;
  padding: 0;
}

a.login_logout_shortcode {
  background: #eee;
  color: #444;
  border-bottom: 1px solid #aaa;
  line-height: 2.2em;
  padding: 0.4em;
  margin-left: 0.5em;
  margin-right: 0.5em;
  text-align: center;
  text-decoration: none;
  /* border-radius */
  -webkit-border-radius: 0.5em;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;  
}

a.login_logout_shortcode:hover {
  color: #444;
}

.avia-section-large .content {
  padding-bottom: 45px;
  padding-top: 45px;
}

.av_one_half {
  width: 49% !important;
  margin-left: 1% !important;
  margin-top: 0 !important;
}

#homepage .av_one_third {
  margin-top: 0;
}

#homepage .av_one_half.first {
  margin-left: 0 !important;
}

.mg-top {
  margin-top: 20px;
}

#homepage .avia_image, .page-id-3282 .avia_image {
  border: 1px solid #000000;
}

/* Hide featured image for list of entries on News page */
.page-id-3751 .avia-content-slider .slide-image { display: none; }

/* blog post */
h1.post-title a {
  font-weight: bold;
  font-size: 24px;
}

/*top header*/
#header_meta {
  background: #000000 none repeat scroll 0 0;
  padding: 8px 0;
}

#top .social_bookmarks li {
  border: none !important;
  margin-left: 5px;
}

#top .social_bookmarks li a {
  background: #fff !important;
  border: 2px solid #619ebe;
  border-radius: 30px;
  color: #619ebe;
  line-height: 25px;
  font-size: 14px;
}

#top .social_bookmarks li a:hover {
  background: #619ebe !important;
  color: #fff;
}

.phone-info span {
  color: #ffffff !important;
  font-size: 14px;
  margin-left: 20px !important;
}

.phone-info a {
  color: #ffffff !important;
}

.phone-info .fa {
  margin-right: 5px;
}

/********** NAVIGATION ***********/
#header_main .container, .main_menu ul li a {
  height: auto !important;
  line-height: normal !important;
}

.avia-menu-fx {
  display: none;
}

/* Keep the burger menu from running into the top bar */
@media only screen and (max-width: 767px) {
    .responsive #top .av-main-nav .menu-item-avia-special {
        margin-top: 5px;
    }
}

.av-hamburger-box {
    height: 7px; /* Fix: height was 8px in enfold layout.css but should be 7px */
}

.main_menu ul li a span {
  font-size: 16px;
  color: #000 !important;
  text-transform: uppercase;
  border-bottom: none;
}

/*banner*/
.html_header_top.html_header_topbar_active.html_header_sticky #top #main {
  padding-top: 160px;
}

.ls-inner {
  width: 100% !important;
}

.ls-slide.ls-slide-1.ls-active {
  width: 100% !important;
}

.bannertext {
  background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
  border: 3px solid #619ebe !important;
  border-radius: 3px;
  margin: auto;
  max-width: 890px;
  padding: 45px 0;
  width: 100%;
}

.bannertext h2 {
  color: #ffffff;
  font-size: 3em;
  font-weight: 800;
  margin-bottom: 30px;
  text-transform: uppercase;
  white-space: normal;
}

.ls-l {
  bottom: 60px !important;
  left: 0 !important;
  text-align: center;
  top: auto !important;
  width: 100% !important;
}

.bannertext p {
  box-sizing: border-box;
  color: #ffffff;
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin: auto;
  padding: 0 14px;
  white-space: normal;
  width: 92%;
}

.sub-heading.mg20 {
  margin-top: 40px;
  width: 100% !important;
}

/**body**/
.main-title.entry-title a {
  color: #000000 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

.hr.hr-short {
  display: none;
}

.heading, .sub-heading, .page-id-1167 .wsite-content-title {
  font-weight: 900;
  color: #619ebe !important;
  text-transform: uppercase;
}

.heading {
  font-size: 30px;
}

.sub-heading {
  font-size: 18px;
  display: inline-block;
}

.left {
  padding-left: 30px;
}

/* Do not remove a column's left margin below 600px width, as defined by the default Wordpress stylesheet */
.wp-block-column:not(:first-child) {
	margin-left: 32px;
}

.columns-75-25 .wp-block-column:first-child {
	flex-basis: 75%;
}

.columns-75-25 .wp-block-column:last-child {
	flex-basis: 25%;
}

.columns-60-40 .wp-block-column:first-child {
	flex-basis: 60%;
}

.columns-60-40 .wp-block-column:last-child {
	flex-basis: 40%;
}

p.advisor {
    margin-bottom: 25px;
}

p.advisor a {
    color: #2a2a2a;
    text-decoration: none;
    font-size:medium;
}

/*button*/
.avia-button {
  background: #ffffff none repeat scroll 0 0 !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  color: #000000 !important;
  font-size: 14px !important;
  min-width: auto !important;
  padding: 11px 13px !important;
}

.avia-button:hover {
  background: #619ebe !important;
  color: #fff !important;
  border: none !important;
}

/**partners**/
ul.partners {
  text-align: left;
}

.partners li {
  display: inline-block;
  margin-left: 0;
}

.partners li + li {
  margin-left: 12px;
}

/*footer*/
#footer {
  padding: 0 30px;
  z-index: 1;
}

#footer p, #footer h3, #footer a {
  color: #ffffff;
}

#footer h3 {
  font-size: 16px;
  margin-bottom: 35px;
  margin-top: 0;
}

.contact .fa {
  color: #ffffff;
  margin-left: -20px;
  margin-right: 10px;
  font-size: 14px;
}

.contact li {
  padding: 5px 20px;
}

.social-icon {
  display: inline-block;
  margin-top: 30px;
}

.social-icon a {
  border: 2px solid #ffffff;
  border-radius: 26px;
  color: #ffffff;
  display: inline-block;
  font-size: 14px;
  height: 28px;
  margin-right: 4px;
  padding: 2px 0;
  text-align: center;
  width: 28px;
}

.social-icon .fa {
  color: #ffffff;
}

#socket {
  background: #000000;
  border-top: 1px solid #ffffff;
  text-align: center;
}

#socket .copyright {
  float: none;
  text-align: center;
}

#socket .copyright a {
  font-size: 1.0em;
}

.product tr td {
  width: 50%;
}

.product a, .product u span {
  color: #619ebe !important;
  display: inline-block;
  font-size: 15px;
  padding: 3px 0;
  vertical-align: top;
}

.product li {
  list-style: outside none none;
}

.page-id-3358 .paragraph ul {
  padding-left: 20px;
  padding-top: 10px;
}

.page-id-3280 .av_one_third {
  background: #eeeeee none repeat scroll 0 0;
  min-height: 500px !important;
  padding: 15px;
}

.wpcf7-form .button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
  border: 1px solid #619ebe !important;
  color: #619ebe !important;
  font-size: 18px;
  padding: 10px;
  text-transform: uppercase;
  min-width: 142px;
}

.form_element .button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
  border: 1px solid #619ebe !important;
  color: #619ebe !important;
  font-size: 18px;
  padding: 10px;
  text-transform: uppercase;
}

.page-id-1167 .stretch_full.container_wrap.alternate_color.light_bg_color.title_container {
  display: none;
}

/* Hide recaptcha v3 badge, allowed per https://developers.google.com/recaptcha/docs/faq.
   We have placed the notice text on the contact form page. */
div.grecaptcha-badge {
	display: none;
}

#recaptcha-notice {
	font-size: 0.9em;
}

#recaptcha-notice a {
	font-size: 1.0em;
}

/*sub menu*/
.sub-menu {
  border-top: 0 solid #619ebe !important;
  margin-left: 13px !important;
  margin-top: 8px !important;
  width: 200px !important;
  border-bottom: 3px solid #619ebe !important;
}

.sub-menu li a {
  padding: 3px 15px !important;
}

.sub-menu li a span {
  display: block;
  font-size: 13px !important;
}

.sub-menu li:last-child a {
  padding-bottom: 15px !important;
}

/**sub pages**/
.text {
  text-align: justify;
}

.av_one_half:nth-child(2n) .text {
  border-right: 10px solid #ffffff !important;
  border-left: 10px solid #ffffff !important;
}

div .av_one_half:after {
  background: #f8f8f8 none repeat scroll 0 0;
  bottom: 0;
  content: "";
  height: 100%;
  position: absolute;
  top: 0;
}

div .av_one_half {
  margin-bottom: 40px;
}

.tech li:before {
  color: #619ebe;
  content: "\f046";
  font-family: fontawesome;
  left: -17px;
  position: absolute;
}

.tech li {
  position: relative;
  list-style: none;
  color: #000;
}

.tech {
  margin-left: 20px;
}

.product {
  background: #f8f8f8 none repeat scroll 0 0;
}

.advisors {
  display: inline-block;
  margin: 20px;
  min-height: 133px;
  padding: 20px;
  vertical-align: top;
  width: auto;
}

.fleft {
  float: left;
  margin-right: 16px;
  margin-bottom: 15px;
}

video.fleft {
  width: auto;
}

.paragraph.right {
  float: right;
  width: 35%;
}

.paragraph.left {
  float: left;
  margin-right: 18px;
  width: 63%;
}

.page-id-3358 .avia_textblock > p {
  display: inline-block;
  margin: 10px 0 0;
}

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

.banner-link {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  display: inline-block;
  font-weight: 600;
  margin: 25px 0 0;
  padding: 10px 20px;
  text-transform: uppercase;
  background: #619ebe;
}

.page-id-3370 .avia_textblock > p {
  float: left;
}

.banner-link:hover {
  background: #fff;
  color: #619ebe !important;
}

/* Formatting display-posts-shortcode */
ul.display-posts-listing li {
	list-style: none;
	margin-bottom: 30px;
}

/* Push the excerpt and 'Read more' links to separate lines */
ul.display-posts-listing a.excerpt-more,  ul.display-posts-listing span.excerpt{
	display: block;
}

/* Larger screen (not mobile) */
@media (min-width:768px) {
  .main_menu {
    padding: 22px 0;
  }
  
  .main_menu ul li a span { 
     padding: 5px 0;
  }
  
  .main_menu ul li a span:hover, .main_menu ul li a span:focus, .current_page_item .avia-menu-text {
     border-bottom: 3px solid #619ebe;
     color: #619ebe !important;
  }

  .container.av-logo-container {
    height: auto !important;
    padding-bottom: 20px;
    padding-top: 20px;
  }

  .logo {
    padding: 10px 0;
    position: relative !important;
  }
}

@media (max-width:1024px) {
  .logo {
    padding: 10px 0;
    position: relative !important;
    width: 25%;
  }

  .main_menu ul li a span {
    font-size: 14px;
  }

  #layer_slider_1 {
    height: auto !important;
  }

  .bannertext {
    padding: 20px 0;
  }

  .bannertext h2 {
    margin-bottom: 15px;
  }

  .bannertext p {
    font-size: 15px;
  }
}

@media (max-width:800px) {
  .main_menu {
    padding: 15px 0;
  }

  .main_menu ul li a span {
    font-size: 13px;
  }

  .logo {
    padding: 10px 0;
    position: relative !important;
    width: 22%;
  }
}

@media (max-width:767px) {

}

@media (max-width:640px) {
  .bannertext p {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width:400px) {
  .bannertext p {
    font-size: 12px;
    line-height: 18px;
  }

  .bannertext h2 {
    margin-bottom: 6px;
  }
}

@media (max-width:360px) {
  .bannertext {
    padding: 14px 0;
  }
}

@media(max-width: 1230px) {
  .logo img {
    max-width: 340px;
  }
}

@media(max-width: 1150px) {
  .av-main-nav > li > a {
    padding-left: 8px;
    padding-right: 8px;
  }

  .main_menu ul li a span {
    font-size: 14px;
  }
}

/* Specific adjustments to footer spacing when it becomes responsive */
@media (max-width: 767px) {
	/* The first three selectors are needed to ensure we override grid.css */
	.responsive #top #wrap_all #footer div.flex_column {
		margin-bottom: 5px;
	}
	
	#footer div.flex_column section.widget_text {
		margin-top: 5px;
	}
	
	#main #socket .sub_menu_socket li {
		margin-top: 10px;
	}
}

/* Medium screen (tablet) */
@media (max-width: 1040px) and (min-width: 768px) {
  div .logo, .responsi .logo {
    display: block;
    text-align: center;
    float: none !important;
    width: 100%;
  }

  div .logo img {
    display: inline-block;
  }

  .main_menu {
    clear: none;
    height: 100%;
    line-height: 30px;
    margin: auto;
    max-width: 611px;
    position: static;
    right: 0;
    z-index: 100;
  }
}

/* Small screen */
@media (max-width: 767px) {
  .main_menu {
    padding: 0;
  }

  /* Do not show bullets in the burger menu */
  .html_av-overlay-side-classic #top .av-burger-overlay li li .avia-bullet {
      display: none;
  }
  
  #homepage .av_one_half {
    width: 100% !important;
  }

  .paragraph.right {
    float: none;
    width: 100%;
  }

  .paragraph.left {
    float: none;
    margin-right: 18px;
    width: 100%;
  }

  .home .avia-image-container.avia-align-right {
    float: left;
    text-align: center;
    margin-left: 0;
  }

  .home .avia-image-container-inner {
    display: inline-block;
  }
  
  .content, .sidebar,main.content {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .left {
    padding-left: 0;
  }

  .avia-button-center {
    text-align: left;
  }

  #footer .widget {
    margin-bottom: 0 !important;
  }

  #footer h3 {
    margin-bottom: 20px !important;
  }
}

/* Super small screen */
@media (max-width: 480px) {
  .partners {
    margin-left: 0;
    padding-left: 0;
    text-align: center;
  }

  .partners li {
    margin-left: 0 !important;
  }

  h2.heading {
    text-align: left;
  }

  .product tr td {
    display: block;
    width: auto;
  }

  .av_one_half {
    width: 100% !important;
  }
}

@media print {
	#header_meta, #footer, #socket, nav {
		display: none !important;
	}

	/* Do not float the header - only show it at top of first page */
	#header {
		position: static !important;
	}	

	header div.av-logo-container {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	/* Logo is cutoff unless full width is allowed */
	header span.logo {
		width: auto !important;
	}	

	#main {
		padding-top: 0 !important;
	}
	
	div.container {
		width: auto !important;
		min-height: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	
	h2, h3 {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}
}