/*
 * 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: 2.0.012
*/

/*
              ,.,_,.
           ,.''     \
          '          '          Good news everyone!
        /'           |
      /_-            |    - Prof. Hubert Farnsworh
    .'__      _-_    :
   /__        _-_    :
  ,_,._     ,_,._~   |___
.'-_ '.'.-.'-_ '.'._-^_  '.
|  -_ |.| |  -_ | | / |
 ',_,' /  _',_,'_'  /|/
  .  .|    ',. ._-^  |'
   ' '.   .'  '.    '/|
 ,'    '''    __'.  \/ -_
'_=-..--..--'^  '', : \. '.
     ',    .  ,   ,' \/ |  |-_
     / ',.. '. '. ,../  |  |  '-_
   ,'  . \'.:.''''    .''. '.    \.
 ,'    | |\       ,../   |  |      ',
 |     ' ''.,.''''       ', ',       |
*/

h1 { line-height: 1.2; }

h2:has(+ p) {
	margin-bottom: 0;
}
@media (min-width: 40em){
	body.page-id-62 #content > section > div > div.medium-4.columns.locationwrapper.id2052{
		float:left;
	}
	footer #footer-top #inner .social_icons-component{
		justify-content: flex-start;
	}
}

main a{color: var(--primary-lgt); font-weight: bold; }

/* MOBILE NAV STUFFS */
#mobile-menu .menu-primary-container ul li.cta a {
    font-weight: bold;
}

/* fix styling on Popup X */
button.pum-close:after,button.pum-close:before{content:none;} 


/* show reviews promo box on mobile */
#promos #promos-wrapper .grid-item.three {    display: block;
    height: auto;
    padding: 50px 20px;}

#promos #promos-wrapper .grid-item.four::after {height:70%;}

main#content:not(.home) aside {	width: 27%}
main#content.right-sidebar #sidenav ul.menu li a {line-height:1.2;    padding: 0.5rem 1rem 0.5rem 2rem;}

@media (max-width: 63.9375em){
	header #morelinks{ display: none !important; }
	
}
@media (min-width: 40em) and (max-width: 63.9375em){
footer #footer-top::after{
		height: 400px;
	}
	footer #footer-top #inner #foot3{
		padding-left: 1rem;
	}
	footer #footer-top #inner #foot1 .partners{
		gap: 0;
		padding-right: 0;
	}
}

@media (min-width: 1024px) and (max-width: 1465px){
	footer #footer-top::after{
		height: 400px;
	}
	footer #footer-top #inner .contact-info p .location-title{ font-size: .9rem; }
	footer #footer-top #inner #foot2{ padding-left: 2rem; }
	footer #footer-top #inner .contact-info p{ font-size: .9rem;}
	footer #footer-top #inner #foot3::after{right : 1rem;}
}
@media (min-width: 1024px){
	footer #footer-top #inner #foot1 .partners.partners-med{ display:none; }
}






.locationwrapper {
	 padding: 0.9375rem;
	 margin-bottom: 1rem;
}
 .locationwrapper .location {
	 position: relative;
	 box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.5);
	 transform: scale(1);
	 border: 0;
	 transition: 0.4s ease;
	 z-index: 13;
	 background-color: #fff;
}
 .locationwrapper .location:hover {
	 transform: scale(1.05);
	 z-index: 15;
}
.location > .row {
    background-color: var(--tertiary);
}
.location-photos .columns.small-6 img {
  object-fit: cover;
  height: 100px;
  width: 100%;
  display: block;
}
.location-photos .columns.small-12 img {
  object-fit: cover;
  height: 100px;
  width: 100%;
  display: block;
}
 .locationwrapper .location .location-details {
	 padding: 1rem;
}
 .locationwrapper .location .location-map iframe {
	 height: 200px;
}
 .locationwrapper .location table.hours {
	 border-left: none;
	 border-right: none;
	 margin: rem-calc(15 0);
	 margin-bottom: 15px;
}
 .locationwrapper .location table.hours tr td {
	 font-size: 0.8rem;
	 line-height: 0.8rem;
	 padding: 0.5625rem 1rem;
}
 .locationwrapper .location .button {
      margin: 0 0 0 0;
      width: 100%;
      font-size: 0.9rem;
      padding: 0.7rem 2rem 0.7065rem;
      text-align: center;
      font-weight: 500;
      box-shadow: none;
      display: block;
      border: none;
	 background-color: var(--tertiary);
	 color: var(--primary);
}
 .locationwrapper .location .button:before,
 .locationwrapper .location .button:after {
	 display: none;
 }
 .locationwrapper .location .button.reviews {
	 background-color: hsl(244, 6.9%, 42.5%);
	 color: #fff;
}
 .locationwrapper .location .button.info {
	 background-color: var(--primary);
	 color: #fff;
}
 .locationwrapper .location h3 {
	 margin-top: 0;
	 font-weight: 700;
     letter-spacing: 1px;
}
 .locationwrapper .location p {
	 font-size: 0.8em;
	 line-height: 1.35em;
	 margin-bottom: 0.5em;
}
 
 
 /* REVIEWS */
.review-column {
	border: 5px solid var(--tertiary);
	max-width: 500px;
}
.review-info {
	padding: 30px 20px 0;
}
.entry-content .review-column img {
  object-fit: cover;
  height: 250px;
  width: 100%;
  display: block;
  object-position: top 40% center;
}
.entry-content .review-info {
    background-color: var(--primary);
    padding-top:10px;
    height:100%;
}
.entry-content .review-info a h4 {
  margin-bottom: 0;
  padding-bottom: 10px;
  letter-spacing: 2px;
  font-weight: 700;
}