/*-----------------------------------------------------------------------------------

	Theme Name: JCF
    Description: JCF child theme based on Ibuki theme
	Author: H20
	Author URI: http://highwaytwenty.com
	Version: 1.0

	Template: ibuki

-------------------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------------*/
/*	0.	Import style.css
/*-----------------------------------------------------------------------------------*/

@import url("../ibuki/style.css");
@import url("../ibuki/_include/css/color.css.php");
@import url("../ibuki/_include/css/custom.css.php");
@import url("../ibuki/_include/css/custom-fonts.css.php");

/*-----------------------------------------------------------------------------------*/
/*  0.  Font-Family Elements Setup
/*-----------------------------------------------------------------------------------*/

body,
input,
button,
select,
textarea,
.cart-contents span.woocommerce-notification-bubble {
    font-family: 'Roboto Slab', serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
#logo.logo-text,
#my-menu > .mm-panel li a,
#my-menu > .mm-panel .sub-menu li.has-ul > a,
#my-menu > .mm-panel .sub-menu li a,
#navigation-mobile ul li a,
.copyright-text,
.copyright-text a,
.close-modal,
#myModalSearch #searchform input[type="text"],
footer .footer-copyright,
footer .footer-copyright a,
#logo-content .loading-text,
#loader-percentage,
.nav-tabs > li > a,
a.share-btn {
    font-family: 'Asap', sans-serif;

}

.content-sidebar.container img {max-width:100%; height:auto;}
/*-----------------------------------------------------------------------------------*/
/*  1.  Document Setup - Basic Style
/*-----------------------------------------------------------------------------------*/
body {
    background: #fff;
    position: relative;
    overflow-x: hidden;
    color: #565959;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
}

#main {
    background: #fff;
}

a {
    color: #BD3C5D;
	color: rgba(189,60,93,1);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    -webkit-transition: color 0.215s ease-in-out 0s;
    transition: color 0.215s ease-in-out 0s;
}

a:hover,
a:active,
a:focus {
    outline: 0;
    color: #ad3e5b;
	color: rgba(189,60,93,.7);
    text-decoration: none;
}



/*-----------------------------------------------------------------------------------*/
/*  2.  Typography
/*-----------------------------------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1em;
    color: #56595a;
    font-weight: 700;
    line-height: 1.4em;
    letter-spacing: 0px;
    text-transform: none;
}

/*h1 {
    font-size: 28px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 13px;
} */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h2 /*From Ellen */ {
    font-size: 1.5em;
    margin: 0.83em 0;
    color: #036D87;
}

h3 /*From Ellen */ {
    font-size: 1.17em;
    margin: 1em 0;
    color: #d1b44a;
}

h4 {
    font-size: 1em;
    margin: 1.33em 0;
}

h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}

h6 {
    font-size: 0.67em;
    margin: 2.33em 0;
}

strong {
    color:inherit;
    font-weight: 700;
}

.archive #text-header .color-text,
.blog #text-header .color-text {
	color:#ffffff;
}

.color-text {
    color: #ffffff;
}

.archive #text-header h3.caption,
.blog #text-header h3.caption {
    display:none;
}

#image-header .overlay-bg,
#text-header .overlay-bg-archive  {
	background:#046E88;
	opacity:.9;
}


@media screen and (max-width:767px) {
.normal-container.imagize,
.full-container.imagize,
.normal-container.titlize,
.full-container.titlize,
.main-content.section-full-area {
    width: 100%;
    max-height: 340px;

}


#text-header h1,
#text-header .title {
    font-size: 28px;
}

}

/* ==========================================================================
   Blockquote
   ========================================================================== */

blockquote{
  display:block;
  background: #fff;
  padding: 15px 20px 15px 45px;
  margin: 0 0 20px;
  position: relative;
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.2;
  text-align: justify;
}

blockquote em{
  font-style: italic;
}

/* ==========================================================================
   Lists
   ========================================================================== */

/**
 * Address margins set differently in IE 6/7.
 */

dl,
menu,
ol,
ul {
    margin: 1em 0;
}

dd {
    margin: 0 0 0 40px;
}

/**
 * Address paddings set differently in IE 6/7.
 */

menu,
ol,
ul {
    padding: 0 0 0 40px;
}

/**
 * Correct list images handled incorrectly in IE 7.
 */

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}

/*Accent color...WHAT?!!*/
.header-menu.header-normal #my-menu > .mm-panel ul a:hover,
.header-menu.header-normal #my-menu > .mm-panel ul li.current-cat a,
.header-menu.header-normal #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-normal #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-normal #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-normal #my-menu > .mm-panel ul li.current-menu-ancestor a,
.header-menu.header-fixed #my-menu > .mm-panel ul a:hover,
.header-menu.header-fixed #my-menu > .mm-panel ul li.current-cat a,
.header-menu.header-fixed #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-fixed #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-fixed #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-fixed #my-menu > .mm-panel ul li.current-menu-ancestor a,
.header-menu.header-sticky #my-menu > .mm-panel ul a:hover,
.header-menu.header-sticky #my-menu > .mm-panel ul li.current-cat a,
.header-menu.header-sticky #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-sticky #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-sticky #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-sticky #my-menu > .mm-panel ul li.current-menu-ancestor a {
    color: rgba(255,255,255,.7) !important;
}


.header-menu.header-normal.reached #my-menu > .mm-panel ul li.current-cat a,
.header-menu.header-normal.reached #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-normal.reached #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-normal.reached #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-normal.reached #my-menu > .mm-panel ul li.current-menu-ancestor a,

.header-menu.header-fixed.reached #my-menu > .mm-panel ul li.current-cat a,
.header-menu.header-fixed.reached #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-fixed.reached #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-fixed.reached #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-fixed.reached #my-menu > .mm-panel ul li.current-menu-ancestor a,

.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current-cat a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current-menu-ancestor a,


.header-menu.header-normal.reached2 #my-menu > .mm-panel ul li.current-cat a,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul li.current-menu-ancestor a,

.header-menu.header-fixed.reached2 #my-menu > .mm-panel ul li.current-cat a,
.header-menu.header-fixed.reached2 #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-fixed.reached2 #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-fixed.reached2 #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-fixed.reached2 #my-menu > .mm-panel ul li.current-menu-ancestor a,

.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current-cat a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current-menu-ancestor a,



.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-cat a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current_page_item a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-menu-item a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-page-ancestor a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-menu-ancestor a,

.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-cat a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current_page_item a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-menu-item a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-page-ancestor a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-menu-ancestor a,

.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-cat a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current_page_item a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-menu-item a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-page-ancestor a,
.single-portfolio .header-menu #my-menu > .mm-panel ul li.current-menu-ancestor a  {
    color: rgba(255,255,255,.7) !important;
}

.header-menu.header-normal.reached #my-menu > .mm-panel ul a:hover,
.header-menu.header-fixed.reached #my-menu > .mm-panel ul a:hover,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul a:hover,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul a:hover,
.header-menu.header-fixed.reached2 #my-menu > .mm-panel ul a:hover,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul a:hover,
.single-portfolio .header-menu #my-menu > .mm-panel ul a:hover,
.single-portfolio .header-menu #my-menu > .mm-panel ul a:hover,
.single-portfolio .header-menu #my-menu > .mm-panel ul a:hover,
.header-menu.header-normal.reached #my-menu > .mm-panel ul > li a:hover,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul > li a:hover,
.single-portfolio .header-menu #my-menu > .mm-panel ul > li a:hover,
.header-menu.header-normal.reached #my-menu > .mm-panel ul > li a.current-menu-item,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul > li a.current-menu-item
{
	color: rgba(4,110,136,.7) !important;
}

.header-menu.header-normal #my-menu > .mm-panel ul li:hover ul,
.header-menu.header-normal #my-menu > .mm-panel ul li.sfHover ul,
.header-menu.header-fixed #my-menu > .mm-panel ul li:hover ul,
.header-menu.header-fixed #my-menu > .mm-panel ul li.sfHover ul,
.header-menu.header-sticky #my-menu > .mm-panel ul li:hover ul,
.header-menu.header-sticky #my-menu > .mm-panel ul li.sfHover ul {
    top: 34px;
    left: 0;
    z-index: 99;
    margin-left: 0px;
}

.header-menu.header-sticky.nav-small #my-menu > .mm-panel ul li:hover ul,
.header-menu.header-sticky.nav-small #my-menu > .mm-panel ul li.sfHover ul {
    top: 34px;
}

.header-menu.header-sticky.nav-small #my-menu > .mm-panel ul li li:hover ul,
.header-menu.header-sticky.nav-small #my-menu > .mm-panel ul li li.sfHover ul {
    top: 0px;
}

.header-menu.header-normal #my-menu > .mm-panel ul ul,
.header-menu.header-fixed #my-menu > .mm-panel ul ul,
.header-menu.header-sticky #my-menu > .mm-panel ul ul {
    padding: 0;
    background: #BD3C5D;
}

.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current-cat .sub-menu li a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current_page_item .sub-menu li a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current-menu-item .sub-menu li a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current-page-ancestor .sub-menu li a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current-menu-ancestor .sub-menu li a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current-cat .sub-menu li a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current_page_item .sub-menu li a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current-menu-item .sub-menu li a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current-page-ancestor .sub-menu li a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current-menu-ancestor .sub-menu li a,
.header-menu.header-normal #my-menu > .mm-panel ul li .sub-menu li a,
.header-menu.header-fixed #my-menu > .mm-panel ul li .sub-menu li a,
.header-menu.header-sticky #my-menu > .mm-panel ul li .sub-menu li a {
    position: relative;
    color:rgba(242,242,242,1) !important;
    font-size: 19px;
    font-weight: 400 !important;
    padding: 10px 20px 11px !important;
    border:none;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.header-menu.header-normal #my-menu > .mm-panel ul .sub-menu li a:hover,
.header-menu.header-normal #my-menu > .mm-panel ul .sub-menu li.current-menu-item a,
.header-menu.header-fixed #my-menu > .mm-panel ul .sub-menu li a:hover,
.header-menu.header-fixed #my-menu > .mm-panel ul .sub-menu li.current-menu-item a,
.header-menu.header-sticky #my-menu > .mm-panel ul .sub-menu li a:hover,
.header-menu.header-sticky #my-menu > .mm-panel ul .sub-menu li.current-menu-item a {
    color:rgba(242,242,242,1) !important;
	background-color:rgba(255,255,255,.3) !important;

}

.header-menu.header-normal #my-menu > .mm-panel ul .sub-menu li:last-child a,
.header-menu.header-fixed #my-menu > .mm-panel ul .sub-menu li:last-child a,
.header-menu.header-sticky #my-menu > .mm-panel ul .sub-menu li:last-child a {
	border-bottom:none;
}


/*-----------------------------------------------------------------------------------*/
/*  4.  Header Section
/*-----------------------------------------------------------------------------------*/

/* Header Left & Right */

/* Logo Setup */
.logo-img {
    position: relative;
    display: block;
    padding: 0 40px;
    margin-bottom: 40px;
}

.reached .logo-img,
.reached2 .logo-img {
	min-height:80px;
	min-width:241px;
}

.logo-img img,
.header-menu.header-sticky.nav-small .logo-img img {
    width: auto;
    max-height: 80px !important; /* Set the max-height for your logo */
    opacity: 1;
    -moz-backface-visibility: hidden; /* Prevents Flickr Image On Firefox */
    -webkit-backface-visibility: hidden; /* Prevents Flickr Image On Chrome and Safari */
    -webkit-transition: opacity 0.315s ease-in-out 0s;
    transition: opacity 0.315s ease-in-out 0s;
}

.reached .logo-img img,
.header-menu.header-sticky.nav-small.reached .logo-img img,
.reached2 .logo-img img,
.header-menu.header-sticky.nav-small.reached2 .logo-img img,
.single-portfolio .header-menu .logo-img img {
    opacity: 0;
	width:0;
	height:0 !important;
}

.reached .logo-img ,
.header-menu.header-sticky.nav-small.reached .logo-img,
.reached2 .logo-img ,
.header-menu.header-sticky.nav-small.reached2 .logo-img,
.single-portfolio .header-menu.header-sticky .logo-img {
    background:url(https://www.jcfphoenix.org/wp-content/uploads/2014/10/JCF-Logo-Blue.png) no-repeat center; /* Ellen Edit */
	width: auto;
    min-height: 80px !important; /* Set the max-height for your logo */
	min-width:241px;
    opacity: 1;
}

.logo-img:hover img,
.logo-img:focus img,
.logo-img:active img {
    opacity: 1;
}

.header-menu.header-sticky.nav-small.reached .logo-img:hover img,
.header-menu.header-sticky.nav-small.reached .logo-img:focus img,
.header-menu.header-sticky.nav-small.reached .logo-img:active img,
.header-menu.header-sticky.nav-small.reached2 .logo-img:hover img,
.header-menu.header-sticky.nav-small.reached2 .logo-img:focus img,
.header-menu.header-sticky.nav-small.reached2 .logo-img:active img {
    opacity: 1;
}

@media (max-width:540px) {

  .reached .logo-img,
  .header-menu.header-sticky.nav-small.reached .logo-img,
  .reached2 .logo-img,
  .header-menu.header-sticky.nav-small.reached2 .logo-img,
  .single-portfolio .header-menu.header-sticky .logo-img {
	min-height:50px !important;
	min-width:151px;
	background-size:contain;
  }

  .logo-img img,
  .header-menu.header-sticky.nav-small .logo-img img {
	height: 70px !important;
  }

  .reached .logo-img img,
  .header-menu.header-sticky.nav-small.reached .logo-img img,
  .reached2 .logo-img img,
  .header-menu.header-sticky.nav-small.reached2 .logo-img img,
  .single-portfolio .header-menu.header-sticky .logo-img img {
	opacity: 0;
    height: 0 !important;
  }

}

@media (max-width:330px) {

  .logo-img img,
  .header-menu.header-sticky.nav-small .logo-img img {
	height: 55px !important;
  }

  .reached .logo-img img,
  .header-menu.header-sticky.nav-small.reached .logo-img img,
  .reached2 .logo-img img,
  .header-menu.header-sticky.nav-small.reached2 .logo-img img,
  .single-portfolio .header-menu.header-sticky .logo-img img {
	opacity: 0;
    height: 0 !important;
  }

}


/* Header Normal, Fixed and Sticky */
.header-menu.header-normal,
.header-menu.header-fixed,
.header-menu.header-sticky {
    width: 100%;
    position: relative;
    height: 100px;
    background:none;
    box-shadow: none;
    z-index: 2;
}

.single-portfolio .header-menu.header-normal,
.single-portfolio .header-menu.header-fixed,
.single-portfolio .header-menu.header-sticky {
    background:white;
    border-bottom:solid 1px rgba(4,110,136,.25) !important;
}

.header-menu.header-normal.reached,
.header-menu.header-fixed.reached,
.header-menu.header-sticky.reached,
.header-menu.header-normal.reached2,
.header-menu.header-fixed.reached2,
.header-menu.header-sticky.reached2 {    /* Reached state*/
    background:white;
}

.header-menu.header-fixed,
.header-menu.header-sticky {
	border-bottom:solid 1px rgba(255,255,255,.25);
    position: fixed !important;
    top: 0;
    z-index: 99;
}

.header-menu.header-fixed.reached,
.header-menu.header-sticky.reached,
.header-menu.header-fixed.reached2,
.header-menu.header-sticky.reached2 {
	border-bottom:solid 1px rgba(4,110,136,.25) !important;
}

#main.header-fixed-enabled,
#main.header-sticky-enabled {
    margin-top: 0;
}


.header-menu #my-menu > .mm-panel  {
	top: -20px;
    position: relative;
}

.header-menu.header-sticky.nav-small { /*Sticky state*/
    height: 100px;
}
.header-menu.header-sticky.nav-small .logo-img,
.header-menu.header-sticky .logo-img,
.header-menu.header-sticky #my-menu > .mm-panel li a,
.header-menu.header-sticky #logo.logo-text {
    line-height: 60px;
    padding: 5px 0 22px;
    -webkit-transition: color 0.215s ease-in-out 0s, padding 0.3s ease 0s;
    transition: color 0.215s ease-in-out 0s, padding 0.3s ease 0s;
}

/*Main menu settings */
/*
* Hidden custom links declaration that's no longer needed?

.header-menu.header-normal #my-menu > .mm-panel li.menu-item-type-custom,
.header-menu.header-fixed #my-menu > .mm-panel li.menu-item-type-custom,
.header-menu.header-sticky #my-menu > .mm-panel li.menu-item-type-custom {
	display:none;
}
*/

.header-menu.header-normal #my-menu > .mm-panel li a,
.header-menu.header-fixed #my-menu > .mm-panel li a,
.header-menu.header-sticky #my-menu > .mm-panel li a {
    color: rgba(255,255,255,1) !important;
    margin: 0;
    position: relative;
    overflow: hidden;
    font-size: 19px;
    font-weight: 400;
    letter-spacing:0;
    text-transform: none;
    line-height: 36px;
}

.header-menu.header-sticky.nav-small #my-menu > .mm-panel li a {
    padding: 5px 0 22px;
}

.header-menu.header-normal #my-menu > .mm-panel ul a:hover,
.header-menu.header-normal #my-menu > .mm-panel ul li.current-cat a,
.header-menu.header-normal #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-normal #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-normal #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-normal #my-menu > .mm-panel ul li.current-menu-ancestor a {
    color: rgba(255,255,255,.7) !important;
}

/*Reached state */
.header-menu.header-normal.reached #my-menu > .mm-panel li a,
.header-menu.header-fixed.reached #my-menu > .mm-panel li a,
.header-menu.header-sticky.reached #my-menu > .mm-panel li a,
.header-menu.header-normal.reached2 #my-menu > .mm-panel li a,
.header-menu.header-fixed.reached2 #my-menu > .mm-panel li a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel li a,
.single-portfolio .header-menu.header-sticky #my-menu > .mm-panel li a {
    color: rgba(4,110,136,1) !important;
    margin: 0;
    position: relative;
    overflow: hidden;
    font-size: 19px;
    font-weight: 400;
    letter-spacing:0;
    text-transform: none;
    line-height: 36px;
}

.header-menu.header-normal.reached #my-menu > .mm-panel ul a:hover,
.header-menu.header-normal.reached #my-menu > .mm-panelul li.current-cat a,
.header-menu.header-normal.reached #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-normal.reached #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-normal.reached #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-normal.reached #my-menu > .mm-panel ul li.current-menu-ancestor a,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul a:hover,
.header-menu.header-normal.reached2 #my-menu > .mm-panelul li.current-cat a,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-normal.reached2 #my-menu > .mm-panel ul li.current-menu-ancestor a,

.header-menu.header-sticky.reached #my-menu > .mm-panel ul a:hover,
.header-menu.header-sticky.reached #my-menu > .mm-panelul li.current-cat a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-sticky.reached #my-menu > .mm-panel ul li.current-menu-ancestor a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul a:hover,
.header-menu.header-sticky.reached2 #my-menu > .mm-panelul li.current-cat a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current_page_item a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current-menu-item a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current-page-ancestor a,
.header-menu.header-sticky.reached2 #my-menu > .mm-panel ul li.current-menu-ancestor a,

.single-portfolio .header-menu.header-sticky #my-menu > .mm-panel li a  {
    color: rgba(4,110,136,.7) !important;
}

.header-menu.header-normal #my-menu > .mm-panel ul,
.header-menu.header-fixed #my-menu > .mm-panel ul,
.header-menu.header-sticky #my-menu > .mm-panel ul {
    float: right;
    margin: 30px 0 0;
    padding: 0;
}

/* Override default breakpoint by Ibuki for mobile menu */
@media screen and (max-width:1023px) {

    .header-menu.header-normal #my-menu .desktop-menu,
    .header-menu.header-fixed #my-menu .desktop-menu,
    .header-menu.header-sticky #my-menu .desktop-menu {
        display: none;
    }

}

@media screen and (min-width:1024px) {

    .header-menu.header-normal #my-menu .desktop-menu,
    .header-menu.header-fixed #my-menu .desktop-menu,
    .header-menu.header-sticky #my-menu .desktop-menu {
        display: block;
    }

}

.search-menu-nav i, .social-menu-nav i {
    position: relative;
    top: 2px;
    font-size: 19px;
    color: rgba(255,255,255,1);
    -webkit-transition: color 0.215s ease-in-out 0s, padding 0.3s ease 0s;
    transition: color 0.215s ease-in-out 0s, padding 0.3s ease 0s;
}

.search-menu-nav i:hover, .social-menu-nav a:hover i {
    color: rgba(255,255,255,.7) !important;
}

.reached .search-menu-nav i,.reached .social-menu-nav i,
.reached2 .search-menu-nav i,.reached2 .social-menu-nav i,
.single-portfolio .search-menu-nav i, .single-portfolio .social-menu-nav i{
    color: rgba(4,110,136,1);
}

.reached .search-menu-nav i:hover,.reached .social-menu-nav a:hover i,
.reached2 .search-menu-nav i:hover, .reached2 .social-menu-nav a:hover i,
.single-portfolio .search-menu-nav i:hover, .single-portfolio .social-menu-nav a:hover i{
    color: rgba(4,110,136,.7) !important;
}

.header-menu #my-menu > .mm-panel ul li.menu-item-1351 {
   display: none;
}

@media (max-width: 1023px) {
    /* Header Menu */
    .header-menu {
        position: relative !important;
        width: 100% !important;
        height: 100px !important;
        border-bottom:solid 1px rgba(255,255,255,.25) !important;
        box-shadow:none !important;
        z-index: 2;
        -webkit-transition: none !important;
        transition: none !important;
    }

	.header-menu #my-menu > .mm-panel  {
	    top: 0;
        position: relative;
		float:left;
    }



    .header-menu .logo-img {
        color: #000000 !important;
        float: left !important;
        line-height: 60px !important;
        display: inline-block !important;
        margin: 0 !important;
            padding: 10px 0 !important;
    }

    .header-menu .logo-img img {
        opacity: 1 !important;
        -webkit-transition: none !important;
        transition: none !important;
    }



/*Mobile Navigation */
#search-nav.mobile {display:none;}

#navigation-mobile {
	background:none;
    position: fixed;
    z-index: 9;
	width:100%;
}

#mobile-nav.menu-nav.mobile {
	position: absolute !important;
    top: 20px !important;
    left:auto !important;
    right: 20px;
    width: 60px !important;
    height: 60px !important;
    border-right:none !important;
    z-index: 50 !important;
}

#mobile-nav.menu-nav.mobile .menu-icon {
	display:block;
    position: relative;
    top:auto;
    right:auto;
    margin:0;
    width: 58px;
    height: 40px;
    background-image: url(_include/img/sprite-menu.svg);
    background-repeat: no-repeat;
    background-position: 0px 5px;
	background-size:220%;
    opacity: 1;
    -webkit-transition: -webkit-transform 0.250s ease-out 0s, opacity 0.215s ease-in-out 0s;
    transition: transform 0.250s ease-out 0s, opacity 0.215s ease-in-out 0s;
    -webkit-transform:none;
    -ms-transform:none;
    transform: none;
	overflow:hidden;
}

#mobile-nav.menu-nav.mobile.open .menu-icon {
    opacity: 1;
    background-position: 0px -34px;
    -webkit-transition: -webkit-transform 0.250s ease-out 0s, opacity 0.215s ease-in-out 0s;
    transition: transform 0.250s ease-out 0s, opacity 0.215s ease-in-out 0s;
    -webkit-transform: none;
    -ms-transform: none;
    transform:none;
}

.no-svg #mobile-nav.menu-nav.mobile .menu-icon {
    background-image: url(_include/img/sprite-menu.png);
}

/* Reached state */
.reached #mobile-nav.menu-nav.mobile .menu-icon,
.reached2 #mobile-nav.menu-nav.mobile .menu-icon {
    background-position: -65px 5px;
}

.reached #mobile-nav.menu-nav.mobile.open .menu-icon,
.reached2 #mobile-nav.menu-nav.mobile.open .menu-icon {
    background-position: -65px -34px;
}

.no-svg .reached #mobile-nav.menu-nav.mobile .menu-icon,
.no-svg .reached2 #mobile-nav.menu-nav.mobile .menu-icon  {
    background-image: url(_include/img/sprite-menu.png);
}



#navigation-mobile ul.mobile-menu {
	background: #036D87;
    margin: 100px 0 0;
    /*Add max-height and overflow: auto to prevent mobile menu going outside visible area */
    max-height: 460px;
    overflow-y: auto;
}

#navigation-mobile ul li ul{
	background:none;
    margin:0;
}

#navigation-mobile ul li a {
	background:#036D87;
    color: white;
    display: block;
	font-family:'Asap';
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 52px;
    margin: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.5);
    padding: 20px 24px;
    position: relative;
    text-transform: none;
    -webkit-transition: color 0.215s ease-in-out 0s;
    transition: color 0.215s ease-in-out 0s;
}

#navigation-mobile ul li ul li a {
	background:#01627a;
    color: white;
    display: block;
	font-family:'Asap';
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 38px;
    padding: 16px 24px 16px 30px;

}

#navigation-mobile ul li a:hover .cont,
#navigation-mobile ul li a .cont.active {
    background: #01627a;
}

#navigation-mobile ul li a .cont {
position: absolute;
height: 95px;
right: 0px;
top: 0px;
width: 95px;
background: #01627a;
border-left:none;
-webkit-transition: background 0.215s ease-in-out 0s;
transition: background 0.215s ease-in-out 0s;
}

    .header-menu #my-menu > .mm-panel ul li.menu-item-1351 {
       display: block;
    }

} /* max-width: 1023px */

@media (max-width: 540px) {
#mobile-nav.menu-nav.mobile {
	position: absolute !important;
    top: 25px !important;
    left:auto !important;
    right: 5px;
    width: 45px !important;
    height: 40px !important;
    border-right:none !important;
    z-index: 50 !important;
	overflow:hidden;
}

}

@media screen and (min-width: 1024px) {
    .header-menu #my-menu .mm-panel {
       width: 100%;
       margin: 0 auto;
       text-align: left;
    }

    .header-menu .mobile-buttons {
       display: none;
    }

    .header-menu {
        border:none !important;
        height: 100px !important;
    }
}

/*Header Top Links */
#header-top-links .inner {
}
#header-top-links ul.menu {
	float:right;
	padding:0;
	margin:0;
	background:#D1B44A;
	padding:0 15px;
	transition:all ease-in-out .3s;
	-moz-transition:all ease-in-out .3s;
	-webkit-transition:all ease-in-out .3s;
}
#header-top-links ul.menu li {
	list-style:none;
	float:left;
	line-height:26px;
}

#header-top-links ul.menu li a {
    font-family:'Asap';
	font-size:13px;
	line-height:15px;
	color:rgba(255,255,255,.9);
	font-weight:400;
	padding:0;
	z-index:50;
	cursor:pointer;
}


#header-top-links ul.menu li.last  a{
	margin-left:10px;
}

#header-top-links ul.menu li a:hover {
	color:rgba(255,255,255,1);
}

/*Reached state */
.reached #header-top-links ul.menu,
.reached2 #header-top-links ul.menu,
.single-portfolio #header-top-links ul.menu {
	background:#046e88;
}

.reached #header-top-links ul.menu li.last  a,
.reached2 #header-top-links ul.menu li.last  a,
.single-portfolio #header-top-links ul.menu li.last  a {
	display:inline-block;
}


@media (max-width:1023px) {
	#header-top-links {display:none;}
}

/*-----------------------------------------------------------------------------------*/
/*  6.  Content
/*-----------------------------------------------------------------------------------*/

a.button-main {    /*From Ellen */
    background-color: #036D87;
}

a.button-main:hover, a.button-main:active, a.button-main:focus {
    background: none repeat scroll 0% 0% transparent;
    border-color: #036D87;
    color: #036D87;
}

/*--- Hover/Active/Focus State ---*/  /*From Ellen */

a.button-main:hover,
a.button-main:active,
a.button-main:focus {
    background: rgba(3,109,135,.7)!important;
    border-color: none;
    color: #ffffff!important;
    opacity: .9;
}

@media (min-width:992px) {
.page-sidebar {
   /* margin-top: -40px; */
}
}

#main.header-left-opened-enabled #content {
    margin-left: 300px;
}

#main.header-right-opened-enabled #content {
    margin-right: 300px;
}

#main.header-left-button-enabled #content {
    margin-left: 40px;
}

#main.header-right-button-enabled #content {
    margin-right: 40px;
}

body.page .wrap_content {
    padding:100px 70px 70px;
}

body.page.page-template-default .wrap_content {
    padding:0 70px 70px;
	border-top:100px solid #036D87;
}

/* Ellen Edit - removes bottom padding from content to remove white space above blog  */
body.page.page-template-default .wrap_content {
    padding:0 70px 0px;
}
/* End Ellen Edits */

body.page.page-template-default #image-header+.wrap_content {
    padding: 0 70px 70px;
	border:none;
}

body.page.home .wrap_content {
    padding: 0 70px;
}


@media screen and (max-width:991px) {
body.page .wrap_content {
    padding: 20px;
}

body.page.page-template-default .wrap_content {
    padding: 0 20px 20px;
}

body.page.page-template-default #image-header+.wrap_content {
    padding: 0 20px 20px;
	border:none;
}

body.page.home .wrap_content {
    padding: 0 20px;
}

}

body.page.page-template-default .left_side h1,
body.page.page-template-page-59-php .left_side h1,
body.page.single-post .left_side h1,
body.category.archive .left_side h1 {
    margin:-40px 0 1em;
	line-height:1.2em;
}

/*basic page - CTA section */
#bp-cta-section {
	color:white;
	background:#D1B44A;
	padding:35px 0;
}

#bp-cta-section p.cta {
	font-family:'Asap';
	font-size:34px;
	line-height:42px;
	margin:10px 0;
}

#bp-cta-section p.cta {
	font-family:'Asap';
	font-size:34px;
	line-height:42px;
	margin:10px 0;
}

#bp-cta-section .col-lg-3 {text-align:right;}

a.btn-big {
	display: inline-block;
	font-family:'Asap';
	font-size:18px;
	line-height:24px;
	text-transform:uppercase;
	-webkit-transition: all 0.215s ease-in-out 0s;
    transition: all 0.215s ease-in-out 0s;
	padding:20px 40px 20px 20px;
}

a.btn-big.transparent {
	background:none;
}

a.btn-big.border-white {
	color:white;
	border:2px solid white;

}

a.btn-big.border-blue {
	color:#046E88;
	border:2px solid #046E88;

}

a.btn-big.border-blue:hover {
	color:white;
	background:#046E88;
}

a.btn-big.border-blue:after {
    content: url(_include/img/bp_sidebar_readmore_bgr_hover.png);
    margin-left: 10px;
    position: absolute;
}

a.btn-big.border-blue:hover:after {
    content: url(_include/img/bp_sidebar_readmore_bgr.png);
}

a.btn-big.border-white:hover {
	color:#D1B44A;
	background:white;
}
a.btn-big.border-white:after {
    content: url(_include/img/homenews_readmore_bgr.png);
    margin-left: 10px;
    position: absolute;
}

span:hover a.btn-big.border-white:after {
    content: url(_include/img/homenews_readmore_bgr_hover.png);
}

.gform_button.button {
	background:rgba(0,88,109,1);
	color:#fff;
	display: inline-block;
	font-family:'Asap';
	font-size:18px;
	line-height:24px;
	text-transform:uppercase;
	-webkit-transition: all 0.215s ease-in-out 0s;
    transition: all 0.215s ease-in-out 0s;
	padding:12px 20px;
	border:none;
}

.gform_button.button:hover {
	background:rgba(0,77,95,1);
}

@media (max-width:991px) {
    #bp-cta-section .col-lg-6 {margin-bottom:30px;}

    #bp-cta-section .col-lg-6,
    #bp-cta-section .col-lg-3 {text-align:center;}
}

/* Basic page - Testimonials Section */
#bp-testimonial-section {
	background: #bd3c5d url(_include/img/testimonial_bgr.jpg) no-repeat center;
    background-size: cover;
	padding:60px 0;
}


.az-testimonials.flexslider .az-testimonial-image {
    position: relative;
    display: block;
    margin: 0 auto 30px;
    padding:0;
    width: 135px;
    height: 135px;
    border: 2px solid #f2f2f2;
    -webkit-border-radius: 999px;
    border-radius: 999px;
}

.az-testimonials.flexslider .az-testimonial-quote {
    margin: 0 auto 30px;
    width: 80%;
    text-align: center;
    color: #F2F2F2;
    font-size: 24px;
    line-height: 1.6em;
	font-family:'Asap';
	font-weight: 400;
}

.az-testimonials.flexslider .az-testimonial-source {
    display: block;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0px;
    font-size: 16px;
	font-family:'Asap';
    color: #F2F2F2;
}

.az-testimonials.flexslider .flex-control-nav li a {
    display: block;
    width: 10px;
    height: 10px;
    background: #F2F2F2;
    opacity: 0.5;
    -webkit-border-radius: 999px;
    border-radius: 999px;
    text-indent: -999em;
    cursor: pointer;
    border: 0 none !important;
    -webkit-transition: opacity 0.215s ease-in-out 0s !important;
    transition: opacity 0.215s ease-in-out 0s !important;
}

.az-testimonials.flexslider .flex-control-nav li a:hover,
.az-testimonials.flexslider .flex-control-nav li a.flex-active {
	opacity: 1;
}

/* basic page - Sidebar menu styles */
#menu-basic-page-sidebar-menu li {
	background:#036D87;
	color:#f2f2f2;
	text-align:center;
	padding:5px;
	margin-bottom:12px;
	position:relative;
	display:table;
	width: 100%;
}

#menu-basic-page-sidebar-menu li a {
	background-color:transparent;
	display:table-cell;
	vertical-align: middle;
	border:1px solid rgba(242,242,242,.25);
	color:#f2f2f2;
    font-family:'Asap';
	font-weight:400;
	font-size:18px;
	line-height:23px;
	text-transform:uppercase;
	text-align:center;
	width:100%;
	height:100%;
	min-height:100px;
	padding:25px 40px;
	-webkit-transition: all 0.215s ease-in-out 0s;
    transition: all 0.215s ease-in-out 0s;
}



#menu-basic-page-sidebar-menu li a:after {
    content: url(_include/img/bp_sidebar_readmore_bgr.png);
    margin-left: 10px;
    position: absolute;
	right: 20px;
    top: 40%;
}

#menu-basic-page-sidebar-menu li:hover a:after {
    content: url(_include/img/bp_sidebar_readmore_bgr_hover.png);
}

#menu-basic-page-sidebar-menu li:nth-child(2n) {
	background:#BD3C5D;
}

#menu-basic-page-sidebar-menu li:nth-child(3n) {
	background:#D1B44A;
}

#menu-basic-page-sidebar-menu li:nth-child(4n) {
	background:#565959;
}

#menu-basic-page-sidebar-menu li:hover a {
	background-color:#f2f2f2;
	border:1px solid rgba(242,242,242,1);
	color:#036D87;
}

#menu-basic-page-sidebar-menu li:nth-child(2n):hover a {
	color:#BD3C5D;
}

#menu-basic-page-sidebar-menu li:nth-child(2n):hover a:after {
    content: url(_include/img/bp_sidebar_readmore2_bgr_hover.png);
}

#menu-basic-page-sidebar-menu li:nth-child(3n):hover a {
	color:#D1B44A;
}

#menu-basic-page-sidebar-menu li:nth-child(4n):hover a:after {
    content: url(_include/img/bp_sidebar_readmore4_bgr_hover.png);
}

#menu-basic-page-sidebar-menu li:nth-child(4n):hover a {
	color:#565959;
}


#menu-basic-page-sidebar-menu li:nth-child(3n):hover a:after {
    content: url(_include/img/bp_sidebar_readmore3_bgr_hover.png);
}


/*NEWS & EVENTS SINGLE POST STTYLES*/
article.type-post >h1 {
	line-height:1.2em;
	margin-bottom:10px;
}

article.type-post .post-date-wrap {
	margin-bottom:20px;
}

/* NEWS & EVENTS LISTINGS */
#blog.standard-blog .blog-post-content-standard,
.page-template-page-59-php .blog-post-description {
    padding: 15px 0 15px;
    border:none;
}

#blog.standard-blog .single-post-standard,
.page-template-page-59-php .single-post-standard {
    float: left;
    overflow: hidden;
    position: relative;
    width: 100%;
}

#blog.standard-blog .blog-post-thumb-standard,
.page-template-page-59-php .blog-post-thumb-standard {
    position: relative;
}

#blog.standard-blog .post-container,
.page-template-page-59-php .post-container {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: none;
    margin-bottom: 50px;
}

#blog.standard-blog .post-container img,
.page-template-page-59-php .post-container img {
    width: 100%;
    height: auto;
    display: block;
}


#blog.standard-blog .overlay-bg-blog,
.page-template-page-59-php .overlay-bg-blog {
	background: rgba(189,60,93,0);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    -webkit-transition: background 0.215s ease-in-out 0s;
    transition: background 0.215s ease-in-out 0s;
}

#blog.standard-blog .single-post-standard a:hover .overlay-bg-blog,
.page-template-page-59-php .single-post-standard a:hover .overlay-bg-blog {
    background: rgba(189,60,93,.9);
}

#blog.standard-blog .overlay-bg-blog .read-icon,
.page-template-page-59-php .read-icon {
	color:#fff;
	font-family: 'Asap';
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
	width:auto;
	height:auto;
	transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    margin: 0;
    z-index: 2;
    background-image: none;
    opacity: 0;
    -webkit-transition: opacity 0.215s ease-in-out 0s;
    transition: opacity 0.215s ease-in-out 0s;
}

#blog.standard-blog .overlay-bg-blog .read-icon:after,
.page-template-page-59-php .overlay-bg-blog .read-icon:after  {
    content: url(_include/img/homenews_readmore_bgr.png);
    opacity: 0;
    -webkit-transition: opacity 0.215s ease-in-out 0s;
    transition: opacity 0.215s ease-in-out 0s;
    top: 0px;
    margin-left: 10px;
    position: absolute;
}

#blog.standard-blog .single-post-standard a:hover .read-icon,
.page-template-page-59-php .single-post-standard a:hover .read-icon,
#blog.standard-blog .single-post-standard a:hover .read-icon:after,
.page-template-page-59-php .single-post-standard a:hover .read-icon:after {
    opacity: 1;
}


#blog.standard-blog .blog-post-content-standard h2,
.page-template-page-59-php .single-post-standard h2 {
    font-size: 22px;
    margin-bottom: 8px;
    letter-spacing: 0;
}


#blog.standard-blog .blog-post-content-standard .entry-meta.entry-header,
.page-template-page-59-php .single-post-standard .post-date {
    font-family: 'Asap';
    font-size: 14px;
    text-transform: uppercase;
    color: #565959;
	margin: 0 0 15px 0;
	display:block;
}

.page-template-page-59-php .entry-content {margin-bottom:50px;}

#blog.standard-blog .more-link {
    color: #BD3C5D;
    cursor: pointer;
    display: block;
	font-family: "Asap";
    font-weight: 500;
    margin: 30px 0px 0px;
    -webkit-transition: color 0.215s ease-in-out 0s;
    transition: color 0.215s ease-in-out 0s;
}

#blog.standard-blog .more-link span {
    background-color: transparent;
    border: 2px solid #BD3C5D;
    padding: 12px 16px 12px 19px;
    border-radius: 2px;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    width: auto;

    -webkit-transition: background 0.215s ease-in-out 0s, border 0.215s ease-in-out 0s;
    transition: background 0.215s ease-in-out 0s border 0.215s ease-in-out 0s;
}

#blog.standard-blog .more-link:hover,
#blog.standard-blog .more-link:focus,
#blog.standard-blog .more-link:active {
    color: #FFFFFF;
}

#blog.standard-blog .more-link:hover span,
#blog.standard-blog .more-link:focus span,
#blog.standard-blog .more-link:active span {
    background: #BD3C5D;
    border-color: transparent;
}

/******************************
********* TEAM PAGES ***********
******************************/
#team-people .team-naming h4 {
    margin: 0 auto;
    width: 80%;
    text-align: center;
}

/* Team single page */
#text-header .overlay-bg {
    background-color: #046E88;
    opacity: 1;
}

.single-team .wrap_content .main-content {padding:20px 0;}

@media (min-width:992px) {
.single-team .wrap_content .main-content .text-block {width:60%; margin-left:20%;}
}

/******************************
**** Portfolio pages **********
******************************/
/* Ellen Edits */

.single-portfolio .wrap_content .main-content {
    padding: 20px 0px 20px;
}

.single-portfolio .wrap_content .main-content+.main-content {
    padding:0;
}

.single-portfolio .wrap_content .main-content+.main-content+.main-content {
    padding:0 0 20px;
}

#portfolio-filter ul li a.selected {
    color: #D1B44A;
}

/* End Ellen Edits */

#portfolio-items {
    opacity: 1;
}
.single-portfolio span.line,
.single-portfolio h3.caption {
    display:none;
}

#portfolio-items .portfolio-naming h3 {
    margin: 0 auto;
    width: 80%;
    text-align: center;

}

.single-portfolio #main.header-sticky-enabled {
    margin-top: 68px;
}

.single-portfolio #image-header {margin-bottom:40px;}


.single-portfolio .single-image img {margin: 15px 0 20px; }

/* EBOL single items (Portfolio) - Remove not used filters on top of section */
body.single-portfolio #portfolio-filter {
	display:none;
}

#team-people .team-post-hover a,
#team-people .team-post-hover .team-naming,
#portfolio-items .portfolio-post-hover a,
#portfolio-items .portfolio-post-hover .portfolio-naming {

  opacity: 0;
  -ms-transition: opacity 0.215s ease-in-out 0s;
  -webkit-transition: opacity 0.215s ease-in-out 0s;
  transition: opacity 0.215s ease-in-out 0s;
}

#team-people .team-post-hover:hover a,
#team-people .team-post-hover:hover .team-naming,
#portfolio-items .portfolio-post-hover:hover a,
#portfolio-items .portfolio-post-hover:hover .portfolio-naming {

  opacity: 1;
}

/*********************************************************
*************      EBOL Page with search     *************
*********************************************************/
.ebol-search-wrap {
    margin:20px 0 0;

}

.ebol-search-wrap h2.default {
	border-top:1px solid #D8DADC;
	color: #d1b44a;
	text-align:center;
    padding:20px 0;
}

.ebol-search-wrap .search-wrap {
	margin: 0px auto;
    float: none;
}

.ebol-search-wrap  #searchform {
	font-family:'Asap';
	text-align: center;
}

.ebol-search-wrap  #searchform input[type="text"] {
	padding:6px 10px;
    height: auto;
    border: 2px solid #00586D;
    color: #00586D;
    font-family: "Asap";
    font-size: 18px;
	max-width: 60%;
	margin-right:5px;
}

.ebol-search-wrap  #searchform .btn-blue {
    border: 1px solid #00586D;
	background-color:#00586D;
    color: white;
    font-family: "Asap";
    font-size: 20px;
	-moz-border-radius:0;
	-ms-border-radius:0;
	-webkit-border-radius:0;
	-o-border-radius:0;
	border-radius:0;
	line-height: 20px;
	margin-bottom: 5px;
	padding: 11px 20px;
    vertical-align: middle;
}

@media screen and (max-width:500px) {
.ebol-search-wrap  #searchform input[type="text"] {
	max-width: 100%;
	margin:0 0 10px;
	font-size: 14px;
}
}

#image-header+.wrap_content h1.page-title,
#text-header+.wrap_content h1.page-title {display:none;}

#service-section {padding:20px 0 60px;}

#service-section h2 {margin-top:0;}

#service-section .pull-right {padding-bottom:60px;}

#service-section .service-content {margin-bottom:20px;}

/**********************************
****** Search Results page  *******
**********************************/

.search-results article span.post-date {
    display: none;
}

.search-results article.type-post.category-news span.post-date,
.search-results article.type-post.category-events span.post-date {
    display: block;
}

/****************************
***** Homepage sections *****
*****************************/
/*Section 1*/
#home-section-1 {
	text-align:center;
	margin-top:-40px;
	padding:0 0 60px;
}

@media (min-width: 768px) {

  #home-section-1>.container,
  #home-section-2>.container,
  #home-section-3>.container {
    width: 750px;
  }
}

@media (min-width: 992px) {

  #home-section-1>.container,
  #home-section-2>.container,
  #home-section-3>.container {
    width: 970px;
  }
}

@media (min-width: 1200px){

  #home-section-1>.container,
  #home-section-2>.container,
  #home-section-3>.container {
    width: 1170px;
  }

}

#home-section-1 h1.section-title {
	margin:0;
}
#home-section-1 p.subtitle {margin:0 0 2.5em;}

#home-section-1 img {
	width:150px !important;
	height:auto !important;
	margin-bottom:20px;
}

#home-section-1 h2 {
	margin:0;
	min-height:65px;
}

#home-section-1 h2 a {
	color:rgba(86,89,90,.9);
}

#home-section-1 h2 a:hover {
	color:rgba(86,89,90,1);
}

@media (max-width:767px) {

  #home-section-1 h1.section-title {
	font-size: 28px;
  }

  #home-section-1 p.subtitle {
	font-size:18px;
	line-height:24px;
	margin:0 0 2.5em;
  }

  #home-section-1 h2 {
	font-size:24px;
  }

  #home-section-1 .col-sm-6 p.description {
	font-size:18px;
	line-height:24px;
	line-height:30px;
	margin-bottom:40px;
  }

}

@media (min-width:768px) and (max-width:1199px) {

    #home-section-1 .col-sm-6 p.description {
	   min-height:135px;
    }
}

@media (min-width:768px) {

  #home-section-1 img {
	width:110px !important;
	height:auto !important;
  }
}

/*Section 2*/
#home-section-2 {
	background:#bd3d5d;
	padding:60px 0;
	text-align:center;
}

#home-section-2 h2 {
	color:white;
	font-size:24px;
	line-height:30px;
	font-weight:400;
}

@media (min-width:1200px) {

  #home-section-2 {
	background:#bd3d5d url(_include/img/hs_two_bgr.png) no-repeat 85% 0;
	background-size:contain;
	text-align:left;
  }

  #home-section-2 h2 {
	font-size:25px;
	line-height:32px;
  }

}
/*Section 3*/
#home-section-3 {
	background:#d2b54a url(_include/img/hs_three_bgr.jpg) no-repeat center;
	background-size: cover;
	color:white;
	padding:60px 0;
	text-align:center;
}

#home-section-3 h1 {
	color:white;
	font-size:26px;
	line-height:31px;
	font-weight:400;
}

#home-section-3 .stats-value {
	color:#A28E38;
	width:160px;
	height:160px;
	margin:0 auto;
	background:url(_include/img/hs_three_stats_bgr.png) no-repeat center;
	background-size: cover;
}

#home-section-3 .stats-value span {
	font-family:'Asap';
	font-size:46px;
	line-height: 46px;
        display:block;
	padding-top: 56px;
}

@media (max-width:767px) {
#home-section-3 h1.section-title {
	font-size:28px;
}

#home-section-3 .col-sm-6 p.description{
	font-size:18px;
	line-height:24px;
	margin-bottom:40px;
}

}

@media (min-width:768px) and (max-width:1199px) {
#home-section-3 .col-sm-6 p.description{
	min-height:80px;
}
}

/*News and Events section - Homepage & Inner pages */
#news-events {
	padding:60px 0 20px;
}

#news-events h1 {
	color:#565959;
	font-size:28px;
	line-height:34px;
	text-align:center;
}

#news-events .post-thumb {
	position:relative;
	margin:0 0 15px 0;
}

#news-events .post-thumb a {
	display:block;
}

#news-events .post-thumb img {
	width:100% !important;
	height:auto !important;
}

#news-events .post-thumb .link-wrap {
	background-color:rgba(189,60,93,0);
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	transition:background-color ease-in-out .1s;
}

#news-events .post-thumb .link-wrap:hover {
	background-color:rgba(189,60,93,.9);
}

#news-events .post-thumb .link-wrap .link {
	position:relative;
	margin:0;
	width:100%;
	height:100%;
}

#news-events .post-thumb .link-wrap .link a {
	color:rgba(255,255,255,0);
	font-family:'Asap';
	font-size:18px;
	font-weight:400;
	text-transform:uppercase;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	display:table-cell;
	text-align:center;
	line-height:175px;
	transition:color ease-in-out .1s;
}

@media screen and (max-width:1199px) {
#news-events .post-thumb .link-wrap .link a {line-height:140px;}
}

@media screen and (max-width:992px) {
#news-events .post-thumb .link-wrap .link a {line-height:190px;}
}

#news-events .post-thumb .link-wrap .link a:after {
	content:url(_include/img/homenews_readmore_bgr.png);
	opacity:0;
	transition:opacity ease-in-out .1s;
	top: 5px;
    margin-left: 10px;
    position: absolute;
}


#news-events .post-thumb .link-wrap .link a:hover,
#news-events .post-thumb .link-wrap:hover .link a {
	color:rgba(255,255,255,1);
}

#news-events .post-thumb .link-wrap:hover .link a:after {
	opacity:1;
}

#news-events h4 {
margin-bottom:10px;
font-size: 24px; /* Ellen Edit - makes news and events titles larger  */
font-weight: 600;
}

/* Ellen Edit - makes news and events thumbnail titles bold  */
#news-events h4 a {
	color:rgba(189,60,93,.9);
	display: block;
	font-weight:700;
}
/* End Ellen Edit */

#news-events h4 a:hover,
#news-events h4 a:focus {
	color:rgba(189,60,93,1);
}

#news-events .post-date,
article.type-post .post-date {
	font-family:'Asap';
	font-size:14px;
	text-transform:uppercase;
	color:#565959;
}

#news-events .post-text p {margin:10px 0 40px;}

@media (min-width:991px) and (max-width:1199px) {
#news-events h4 {min-height:70px; }
}

@media (min-width:1200px) {
#news-events h4 {min-height:50px;}
}
/* Sponsors Section */
#sponsors {
	background:#f2f2f2;
	padding:60px 0;
	text-align:center;
	display:none; /*Ellen */
}

#sponsors .sponsor-box .sponsor {
    max-height:50px;
	height:50px;
	width:auto;
    margin:0 0 40px;
}

#sponsors .sponsor-box .sponsor img{
    max-height:50px;
	height:50px;
	width:auto;
}

@media (min-width:992px) {
#sponsors .sponsor-box {
	display: inline-block;
    margin: 0 auto;
    width: 100%;
}

#sponsors .sponsor-box .sponsor {
	margin: 0 30px 40px auto;
	display:inline-block;
}

#sponsors .sponsor-box .sponsor img{
	float:left;
}
}

/********************************************************************
************    Revolution Slider settings    ************************
*********************************************************************/
#rev_slider_1_1 {background:#046e88 !important;}
.rev_slider .slotholder {background:#046e88;}
.rev_slider .tp-bgimg {opacity:.1 !important; transition:opacity linear 0.1s; }
.tp-bullets {display:none !important;}
.tparrows {display:none !important;}

.tp-caption {
	color:white !important;
	font-family:'Asap';
	font-size:38px !important;
	line-height:46px !important;
	max-width:50% !important;
	top:auto !important;
	bottom:40px;
}

.tp-caption a {
	color:#fff;
}

#rev_slider_1_1 .tp-caption.slide_one {
	width:100% !important;
	max-width:100% !important;
	left:0 !important;
	top:0 !important;
	bottom: 0 !important;
}

#rev_slider_1_1 .tp-caption.slide_one>img{

	opacity:0.1 !important;
	min-width:900px;
}

/*Slider home styles */
#rev_slider_1_1 .tp-caption.black {
	margin:0 auto !important;
}

#rev_slider_1_1 .tp-caption.noshadow {display:none;}

/*Slider default styles */
#rev_slider_2_1 .tp-caption {
	font-size:20px !important;
	line-height:28px !important;
	color:white !important;
	text-align:center;
	top:25% !important;
	width:95% !important;

}
#rev_slider_2_1 .tp-caption h1 {
	font-size:38px !important;
	color:white !important;
	margin:0 0 0.55em;
		line-height:1.2em !important;
	margin:0 0 .725em 0 !important;
}

#rev_slider_2_1_wrapper {height:50% !important; min-height:550px !important;}


#home-section-1 {
	text-align:center;
	margin-top:20px;
	padding:0 0 60px;
}

#rev_slider_2_1 .tp-parallax-wrap[style*="z-index: 8"], #rev_slider_2_1 .tp-parallax-wrap[style*="z-index: 9"]{
  z-index: 100 !important;
}
#rev_slider_2_1 .slotholder{
  z-index: 50!important;
  opacity: 1 !important;
  background: rgba(4, 110, 136, 0.8509803921568627);
}
#rev_slider_2_1 #banner-social-icons a{
  display: inline-block;
  text-align: center;
  width: 35px;
  line-height: 42px !important;
  height: 35px;
  background: #fff;
  border-radius: 50%;
  font-size: 10px !important;
  padding-left: 8px !important;
}
#rev_slider_2_1 #banner-social-icons a i{
  font-size: 18px;
  color: #046e88;
}


@media screen and (min-width:1200px) {
#rev_slider_1_1 .tp-caption {
	max-width:33% !important;

}

#rev_slider_1_1 .tp-caption.black {margin-left:-70px !important; }

#rev_slider_1_1 .tp-caption.noshadow {margin-right:-70px !important; display:block;}

#rev_slider_1_1 .tp-caption.noshadow span {display:block;float:left;margin-right:10px; line-height:30px;}
#rev_slider_1_1 .tp-caption.noshadow span:last-child {margin-top:-2px !important;}


#rev_slider_1_1 .tp-caption.noshadow a {
	background-color:rgba(255,255,255,1);
	display: inline-block;
	color:#036D87;
	font-size:19px;
	line-height:19px !important;
	width:30px;
	height:30px;
	border-radius:50%;
	transition:background-color ease-in-out .3s;
}

#rev_slider_1_1 .tp-caption.noshadow a:hover {
	background-color:rgba(255,255,255,.75);
}

#rev_slider_1_1 .tp-caption.noshadow a i {
	margin:0 0 0 5px;
	line-height:30px !important;
}

#rev_slider_1_1 .tp-caption.noshadow a i.font-icon-social-linkedin {
	font-size:14px !important;
	margin:0 0 0 8px;
}

#rev_slider_2_1 .tp-caption {
	top:38% !important;
	width:80% !important;
	font-size:24px !important;
	line-height:34px !important;
}

#rev_slider_1_1 .tp-caption.slide_one {
	width:100% !important;
	max-width:100% !important;
	left:0 !important;
	top:0 !important;
	bottom: 0 !important;
}

#rev_slider_1_1 .tp-caption.slide_one>img{
	min-width:110% !important;
	height:auto !important;
}
}

@media screen and (max-width:1199px) {

#rev_slider_1_1 .tp-caption.slide_one>img{
	min-width:1700px;
	height:auto !important;
}
}

@media screen and (max-width:991px) {
#rev_slider_1_1 .tp-caption.black {
	left:40px !important;
	bottom:40px;
	top:auto !important;
	font-size: 24px !important;
    line-height: 30px !important;
}

#rev_slider_1_1 .tp-caption.black  > span,
#rev_slider_1_1 .tp-caption.black  > span > em {

	font-size: 20px !important;
    line-height: 26px !important;
}
}

@media screen and (max-width:767px) {
body.safari.iphone #rev_slider_1_1_wrapper {
	height:480px !important;
	min-height:480px !important;
}

#rev_slider_1_1 .tp-caption.black {
	font-size: 20px !important;
    line-height: 26px !important;
}

.tp-caption {
	max-width: 60% !important;
}

#rev_slider_1_1 .tp-caption.slide_one>img{
	min-width:1400px;
	height:auto !important;
}

@media (max-width:675px) {
   #content #rev_slider_2_1 .rs-parallax-wrap:nth-child(5) {
        bottom: 100px !important;
    }
}

@media (max-width:600px) {
    #content #slider-2-slide-2-layer-4 p {
        width: 100% !important;
        line-height: 30px !important;
        font-size: 17px !important;
    }
    #content #slider-2-slide-2-layer-4 p span {
        font-size: 21px;
    }
    #content #rev_slider_2_1 .rs-parallax-wrap:nth-child(5) {
        bottom: 65px !important;
    }
    #content #rev_slider_2_1 .rs-parallax-wrap:nth-child(6) {
        left: unset !important;
        right: 30px !important;
        bottom: 41px !important;
    }
    /* #rev_slider_2_1 .rs-parallax-wrap:nth-child(6){
        bottom: 100px !important;
        bottom: 67px !important;
        top: unset !important;
        left: 30px !important;
        }
        #rev_slider_2_1 p{
            width: 70% !important;
        }
        #rev_slider_2_1 .rs-parallax-wrap:nth-child(5){
        bottom: 225px !important;
    } */
}

@media (max-width: 500px) {
    #content #rev_slider_2_1 .rs-parallax-wrap:nth-child(5) {
        bottom: 80px !important;
        width: 80% !important;
    }
    #content #slider-2-slide-2-layer-4 {
        width: 100% !important;
    }
}

#rev_slider_1_1 .tp-caption.black  > span,
#rev_slider_1_1 .tp-caption.black  > span > em {

	font-size: 17px !important;
    line-height: 22px !important;
}

}

/*-----------------------------------------------------------------------------------*/
/*  17. Footer
/*-----------------------------------------------------------------------------------*/

footer {
    position: relative;
	background:#046E88;
	border: none !important;
}

footer .container-fluid {
    padding: 0 70px;
}

footer .footer-widgets {
    background:none;
}

.wrap_all.left-menu-button footer {
    margin-left: 40px;
}

.wrap_all.right-menu-button footer {
    margin-right: 40px;
}

.wrap_all.left-menu footer {
    margin-left: 300px;
}

.wrap_all.right-menu footer {
    margin-right: 300px;
}

footer .footer-copyright p {
    margin: 0;
}

footer .footer-copyright {
	color:white;
    float: left;
    position: relative;
    width: auto;
    background: none;
    padding: 20px 0;
	font-family:'Asap';
    text-align:left;
    letter-spacing: 0;
    font-weight: 400;
    font-size: 12px;
    text-transform: none;
    border:none;
}

footer .footer-copyright a {
    font-weight: 400;
	line-height:12px;
	color:#fff;
	color:rgba(255,255,255,1);
	border-left:1px solid white;
	padding:0 0 0 8px;
	margin:0 0 0 8px;

}

ooter .footer-copyright a:hover {
	color:#f2f2f2;
	color:rgba(255,255,255,7);
}

.footer-widgets ul.menu,
.footer-widgets ul.menu ul.sub-menu {
	margin:0;
	padding:0;
}

.footer-widgets ul.menu ul.sub-menu {
	margin:10px 0 0;
}

.footer-widgets ul.menu li a {
	font-size:20px;
	line-height:36px;
	font-family:'Asap';
	font-weight: 400;
}

.footer-widgets ul.menu ul.sub-menu li a {
	font-size:13px;
	line-height:22px;

}

.footer-widgets a {
	color:#fff;
    color:rgba(255,255,255,1);
}

.footer-widgets a:hover,
.footer-widgets a:active {
	color:#f2f2f2;
    color:rgba(255,255,255,.7);
}

#back-to-top {
    background:rgba(0,88,109,1);
}

#back-to-top:hover {
    background: rgba(0,88,109,.75);
}

.blog-navigation div a,
.post-type-navi ul li a {
    background: #00586D;
}

.blog-navigation div a:hover,
.post-type-navi ul li a:hover {
    background: rgba(0, 88, 109, 0.75);
}



@media (max-width:1199px) {
footer .footer-copyright {
	padding:20px 0;
}

}

@media (max-width:991px) {
footer .footer-widgets {
    display:none;
}
.post-type-navi {
    position: absolute;
	bottom:0;
    float: none;
    background: none repeat scroll 0% 0% #323A45;
    width: 100%;
    z-index: 99;
}
}

/*-----------------------------------------------------------------------------------*/
/*  8.  Special Heading - EBOL
/*-----------------------------------------------------------------------------------*/
/*From Ellen */

.special-heading > * {
    margin: 0;
    padding-bottom: 20px!important;
}

.special-heading.italic > * {
    font-style: italic;
}

/**********************************
**** Modal Search *****************
**********************************/
.modal.fade.in {
    background:rgba(0,88,109,.9);
}

.modal-backdrop {
    background:none;
}

#myModalSearch #searchform input[type="text"] {
border: 1px solid rgba(255,255,255,.25);
background: transparent;
color: #FFFFFF;
font-size: 36px;
font-weight: 400;
line-height: 1;
text-transform: none;
text-align: center;
}

/* Ugly fix for Visual composer's crazy love to wrap every single element in a section--->row---column divs, breaking the page layout */

.page-template-template-nosidebar-php .page-content.left_side section.main-content .col-md-12 {
	padding:0 !important;
}

/*******************************************
***********   Gravity forms   **************
*******************************************/
.gform_wrapper ul li.gfield {
    margin-bottom: 20px !important;
}

@media screen and (max-width:767px) {

body .gform_wrapper .left_label .gfield_label {
    float: left;
    margin: 0 0 20px;
    width: 100%;
    font-weight: 600;
	display:block;
}

body .gform_wrapper .right_label input.medium,
body .gform_wrapper .right_label select.medium,
body .gform_wrapper .left_label input.medium,
body .gform_wrapper .left_label select.medium,
body .gform_wrapper .right_label input.large,
body .gform_wrapper .right_label select.large,
body .gform_wrapper .left_label input.large,
body .gform_wrapper .left_label select.large,
body .gform_wrapper textarea.textarea {
    width: 100%;
	box-sizing:border-box;
	display:block;
}

body .gform_wrapper .gform_footer.right_label,
body .gform_wrapper .gform_footer.left_label {
    padding: 16px 0 10px;
}

}


/**************************************************
**** Temp code for Donate.ly custom form **********
**************************************************/
#custom-fields {display:none;}
#custom-fields.visible {display: block;}


@media screen and (max-width: 425px){
  #rev_slider_2_1 #banner-text {
    font-size: 18px !important;
    margin-left: 0 !important;
    width: 70% !important;
    margin-top: 15px !important;
  }
  #main #rev_slider_2_1 p {
    line-height: 28px !important;
  }
  #main #rev_slider_2_1 #banner-text span{
    font-size: 22px !important;
  }
  h2 {
    font-size: 24px !important;
  }
}

#blog.standard-blog .post-container img, .page-template-page-59-php .post-container img{
  max-height: 400px;
  width: auto;
}
#blog.standard-blog .blog-post-thumb-standard, .page-template-page-59-php .blog-post-thumb-standard{
  width: auto;
  display: inline-block;
}
