/*
 * Theme Name: Imaginal Marketing Group
 * Description: Imaginal Marketing Group's custom theme.
 * Author: Imaginal Marketing Group Web Team
 * Author URI: https://www.imaginalmarketing.com
 * Version: 1.0.1611121
*/


h4.subhead {font-family: 'montserrat';
    letter-spacing: 3px;
    margin-top: -.25rem;
    font-weight: 400;
    margin-bottom: 30px;}
	
.serv_wrapper h4.subhead {margin-bottom:15px; font-size:.85rem; letter-spacing:2px;}	
	
h1 {font-size:2.5em;}

a.button, input#searchsubmit, [type=submit], button {font-weight:400 !important;}

.article-body h3, h3.im-services-subhead, main#content #contact-info h3 {color:var(--secondary) !important; letter-spacing:2px; font-size: clamp(1.5rem, 3.35vw, 1.8rem) !important;}

:is(h3,h4,h5,h6):has(+p), main#content #contact-info h3 {
    margin-bottom: 20px !important;}
	
p + h3, ul + h3 {margin-top:30px;}
ul {margin-block-start:.5em;}

table.hours {margin-bottom:30px;}

 .gform_fileupload_rules{ font-weight: bold; }
 
 .gform_wrapper.gravity-theme .gfield input.medium, .gform_wrapper.gravity-theme .gfield select.medium{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2rem;
    text-align: center;
    background-color: #f5f5f5;
    border: 1px dashed #888;
    border-radius: 4px;
    margin: 0!important;
 }
 
 p.location-address, p.loc-tel, p.location_email{ margin-bottom: .75rem; }
 
 main#content #contact-info {padding-bottom:0;}
 
 hr {margin:30px 0 35px;}
 
 a.read-more, a.read-more:visited{
	border: 2px solid #000; 
	color: #000; 
	background-color: #fff;
	display:inline-block;
	margin-top: .25rem;
	padding: 0.75em 1.5em;
	text-decoration: none;
	transition: all .3s ease;
	}
	
	a.read-more:hover, a.read-more:focus{
		background-color: #000;
		    transition: all .3s ease;
			color: #fff;
	}
	
 blockquote{
  border-left: 2px solid #000;
  margin-left: 0;
  padding-left: 1.5rem;
  }
  
blockquote h5{ font-size: 1.4rem; color: #000; font-weight: 400; }


main#content #sidebar #sidenav ul.is_sidenav {    font-size: 1.25rem;
    line-height: 1.2;}



header #heroimage .swiper-slide .slide_text .slide_text_inner {
    max-width: 700px;
    float: right;}


/*blog stuffz */
#sidebar h4{
  text-align: center !important;
}
body.single img.featured-img{
	max-width: 600px;
}
.blog-excerpt a {display:none;}

.serv-title {font-weight:bold !important;}
.serv_wrapper .im-service-row.serv-title-row, .serv_wrapper .tier-headers {
    display: grid;
    grid-template-columns: 55% !important;}


footer #footer-top #inner #foot2 img {
    max-width: 120px !important;}
	
@media screen and (min-width: 40em){
footer #footer-top #inner{
	background-image: url(/wp-content/uploads/2024/04/FooterImage.jpg);
	}
}

@media screen and (max-width: 39.9375em){
  #sidebar ul, #sidebar ul li{ margin-left: 0; }
  #foot1 .location-dupont { margin-bottom:1rem;}
  #foot1 {padding: 0 30px;}
  #foot2 {padding:0 20px;}
 }	




/*To replace blog header
body.blog header.header #headerimage , body.single-post header.header #headerimage, body.category header.header #headerimage, body.search header.header #headerimage, body.archive header.header #headerimage  {
    background-position: center;
	background-image: url() !important;
}*/