/*
Theme Name:     Agile Child
Theme URI:      https://www.livemeshthemes.com/agile
Description:    Child theme for the Agile Theme by LiveMesh
Author:         LiveMesh
Author URI:     http://themeforest.net/user/livemesh
Template:       agile
Version:        0.2.0
*/

#header.sticky #site-logo {
    top: 5px;
    }

#page-loading {
	z-index: 10010;
	background: #FFF url(https://www.livemeshthemes.com/wp-content/uploads/2014/05/Preloader_11.gif) no-repeat 50% 50%;
}

/* PHPC Custom */
body {
	font-family: "Trebuchet MS", sans-serif !important; 
}

#content .hentry .entry-meta {
    display: none;
}

header#header.sticky {
top: 0!important;
}
.admin-bar #header.sticky {
    top: 32px !important;;
}
#header.sticky .wrap {
    height: 75px;
}


/* Search in navigation */
#header #primary-menu .nav-search {
    float: right !important;
}
#header #primary-menu .nav-search input#searchsubmit {
    background: url(/wp-content/themes/agile/images/icons/search-icon.png) no-repeat center transparent !important;
}
#header #primary-menu .nav-search input#searchsubmit:hover {
    background: url(/wp-content/themes/agile/images/icons/search-icon.png) no-repeat center #1da9de !important;
    border: 1px solid #1da9de !important;
}
#header #primary-menu .nav-search form#searchform {
    align-items: center;
    display: flex !important;
    height: 100px;
}
#header.sticky #primary-menu .nav-search form#searchform {
    height: 50px;
}
#header #primary-menu .nav-search form#searchform input[type="text"],
#header #primary-menu .nav-search form#searchform input[type="submit"] {
    height: 35px;
}
#header #primary-menu .nav-search form#searchform input[type="text"] {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    font-style: inherit;
    padding: 0px 5px;
    width: 115px;
}
#header #primary-menu .nav-search form#searchform input[type="submit"] {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    margin-left: -1px;
    padding: 0 17px;
}


/* Search results */
.phpr-search-result {
    border-bottom: 1px solid #1da9de;
    display: flex;
    margin-bottom: 80px;
    padding-bottom: 50px;
}
.phpr-search-result-thumbnail {
    background-position: center;
    background-size: cover;
    flex: 0 0 33%;
    height: 250px;
    margin-bottom: 30px;
}
.phpr-search-result-content {
    padding: 0 30px;
}
.phpr-search-result-content-title {
    color: #1da9de;
}
.phpr-search-result-content-title:hover {
    color: #888;
}
.phpr-search-result-content strong {
    text-decoration: underline;
}
.phpr-search-result-content p {
    word-break: break-word;
}
@media screen and (max-width: 768px) {
	
    .search-results #content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .search-results #breadcrumbs {
        flex: 1 0 100%;
    }
    .phpr-search-result {
        flex-direction: column;
        flex: 0 0 48%;
    }
    .phpr-search-result-content-title {
        font-size: 18px;
        line-height: 22px;
    }
}
@media screen and (max-width: 480px) {
    .phpr-search-result {
        flex: 0 0 100%;
        padding-bottom: 0;
    }
    .phpr-search-result-content {
        padding: 0;
    }
}


/* Overlay color for text over image background */
.text-over-image-bg,
.text-over-image-bg .wpb_wrapper {
    position: relative;
}
.text-over-image-bg .inner::before,
.text-over-image-bg .vc_column-inner::before {
    background-color: rgba(0,0,0,.5);
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}


/* Facebook Chat */
.fb_dialog .fb_dialog_content iframe {
    right: 90px !important;
}
.dark-bg p, .dark-bg div 
{
  color: #FFF; 
}
#primary-menu > ul.menu > li > a{
	padding:13px;
}
.gform_wrapper.gravity-theme .partial_entry_warning {
    display: none;
}
h1, h2, h3, h4, h5, h6 {
    font-family:"Trebuchet MS";
}
#mobile-menu-toggle{  
	top: 30px;
}
#mobile-menu #searchform #searchsubmit {
	    width: 91%;
}
#header #primary-menu .nav-search input#searchsubmit {
	    font-size: 0px; 
}
#mobile-menu{
	width: 45%;
	left: -45%;  
}
#mobile-menu #searchform #s{
	width: 91%;
	font-size: 20px;
}
#mobile-menu #searchform #searchsubmit{
	width: 91%;
	font-size: 20px;
}
#mobile-menu #menu-header-menu li a{
	font-size:20px;
}
#mobile-menu-toggle i{
	font-size: 38px;
}
#mobile-menu-toggle {
  height: 40px;
  width: 40px;
}

/*Gravity Forms*/
.gform_page_footer{
	display:flex;
	justify-content:end;
}

.gform_previous_button.button{
    color:gray !important;
}

.gform_previous_button.button:hover{
    color:white !important;
}
.site-branding {
    top: 20px;
    margin: 0 10px 0 0;
}
#sidebar-primary{
    display: :none;
    visibility:hidden;
}
#go-to-top{
    bottom: 95px;
}
