/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/* Header top menu icon spacing */
#menu-top-bar img {
    margin-left: 3px;
}

/* Homepage example reports icon spacing */
.fl-node-2365zcuigqk8 img {
    margin-right: 20px;
}

/* Homepage example reports hr height */
.fl-node-2365zcuigqk8 hr {
    height:2px;
}

/* Footer icon spacing */
.fl-node-2h5riydwozbp img, .fl-node-mil5y8rv2gxn img{
    margin: 0 20px 20px 0;
}

/* Homepage hide Newspaper covers on mobile */
@media (max-width: 1320px) {

    .newspaper-covers {
        display: none;
    }

}
@media (max-width: 1520px) {

    .fl-row-bg-video .fl-bg-video iframe {
        min-width: 300vh;
    }

}
/* Callout icon alignment on mobile */
.fl-callout-photo-right .fl-callout-photo
{
    margin:-75px 0 10px 10px;
}

/* Justify P text */

.fl-module-rich-text .fl-module-content .fl-rich-text p, .fl-post-grid-content p {
  text-align: justify;
  word-spacing: -0.05em;
}

#news-post-content p {
  text-align: justify;
  word-spacing: -0.05em;
}

/* Customise map fonts */

.wpgmza_infowindow_title {
	font-family:Montserrat, sans-serif;
	font-size:18px;
	color:#192346;
}

.wpgmza_infowindow_description {
	font-family:"Open Sans", sans-serif;
	font-size:19px;
	color:#343434;
}

/* Remove view buttons on map */

.gm-style-mtc {
  display: none;
}

/* Fix home About Dendrite button alignment 

@media screen and (min-width: 1131px)
{
.fl-button-group-button-8uzlbvty2xw7-3 {
	padding-left:13px !important ;
}
}

*/

/* Map Infowindow image alignment*/

.wpgmza_infowindow_image {
	margin:30px 0 5px 30px!important;
}

/* What we do spacing */

@media screen and (min-width: 768px)
{
	.what-we-do #what-we-do-02 .fl-callout-title
	{
		margin-bottom:54px;
	}
	
	.what-we-do #what-we-do-03 .fl-callout-title
	{
		margin-bottom:54px;
	}
	
	.what-we-do #what-we-do-04 .fl-callout-title
	{
		margin-bottom:54px;
	}
	
	.what-we-do #what-we-do-05 .fl-callout-title
	{
		margin-bottom:54px;
	}
	
	.what-we-do #what-we-do-07 .fl-callout-title
	{
		margin-bottom:53px;
	}
	
	.what-we-do #what-we-do-09 .fl-callout-title
	{
		margin-bottom:53px;
	}
}

/* Comms Group overrides */
.hover-green-border a.fl-button:hover{
    border-color: #5b990d !important;
}
.gform-theme--framework .gfield_list_group_item::before:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform-field-label:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform_validation_errors .gform_submission_error, .gform-theme--framework .gfield_validation_message:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform-field-label>.gfield_required:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform_editor legend.gform-field-label>span>.gfield_required:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover {
    font-size: 19px !important;
}
.gfield-choice-input:hover, .gform-field-label--type-inline:hover{
    cursor: pointer !important
}
.gform_button{
    background: #5b990d !important;
    font-weight: 400 !important;
    padding: 12px 25px !important;
    border-radius: 0 !important;
}
.gform_button:hover{
    background: #192346 !important;
}

.fl-post-grid .fl-post-grid-post, .fl-module-callout.card-hover .fl-module-content{
    border-style: solid;
    border-color: transparent;
    border-top-width: 2px;
    border-bottom-width: 2px;
    background-color: transparent !important;
    box-shadow: none;
}
.fl-post-grid .fl-post-grid-post:hover, .fl-module-callout.card-hover .fl-module-content:hover{
    background-color: #ffffff !important;
    border-style: solid;
    border-color: #192346;
    border-top-width: 2px;
    border-bottom-width: 2px;
    box-shadow: 8px 8px 12px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}
@media (max-width: 768px) {
    body h3.fl-callout-title{
        padding: 0 80px 0 0;
        min-height: 80px;
    }
}
#search-bar-row{
    display: none;
}
.fl-col-group-equal-height.fl-col-group-align-top .green-corner-logo-bottom .fl-col-content{
    display: flex;
    justify-content: flex-end;
}

.client-logos-container .logo-item .logo img {
	padding:30px !important ;
}

.client-logos-more-text {
	margin-top: 10px;
	color:#737373;
}

/* Accordian Focus */
.fl-node-5d1nhbo80kcj a:focus, .fl-node-b17iku5cwm92 a:focus{
    outline: none;  
}
.fl-node-5d1nhbo80kcj a:focus-visible, .fl-node-b17iku5cwm92 a:focus-visible{
    outline: 5px;  
    outline-color: -webkit-focus-ring-color;
    outline-style: auto;
}

/* fix video background fallback image size */

.fl-bg-video {
	background-attachment: unset!important;
}

/* myliveChat styling fixes, embedded in functions.php */

#MyLiveChatScriptLink {
    color: #FFF;
    padding:0;
}