/*
 * Theme Name: Imaginal Marketing Group
 * Description: Imaginal Marketing Group's custom theme based on Tailwind
 * Author: IMPP
 * Author URI: https://www.imaginalmarketing.com
 * Version: 1.0
*/
/* 
#wpcontent table.fixed {
    table-layout: auto !important;
}

#wpcontent  .fixed{
	position: auto !important;
} */
/*SCSS ISN'T COMPILING, AND TAILWIND ISN'T UPDATING*/
@media (min-width: 1024px) {
  /*#intro{
 		top: 30px !important; */
}

a.button:visited{
	color:#221c35;
}
main#content #sidenav ul li a {
  padding: 0.7rem;	
}
body:not(.home) a:not(#sidenav *){
	text-decoration: underline;
	
	&:hover{
		opacity: 0.8;
	}
}

body:not(.home) a.button{
	text-decoration: none !important;
}
header #top-bar .inner #nav-wrapper nav ul li a {
	@media screen and (max-width: 1475px) {
		font-size: 1rem;
	}  
}
.gform_button {
	background-color: var(--primaryLt) !important;
    border: 1px solid var(--primaryLt) !important;
    color: var(--dark) !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    font-size: 1.1rem !important;
    letter-spacing: 2px !important; 
    font-weight: 100 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: all .3s ease !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    font-family: var(--sans) !important;
    position: relative !important;
    margin: 0 !important;
	
	&:hover{
		color: var(--primaryLt) !important;
       background-color: rgba(0, 0, 0, 0) !important;
       border: 1px solid var(--primaryLt) !important;
	}
}

h1{
	line-height: 2.4rem;
}

#footer-top #right-side #foot-2 .social_icons-component a:hover i.fa-brands,
#footer-top #right-side #foot-2 #contact-info a:hover {
	color: #fff;
	opacity: 0.8;
}

body.search #content .wrapper article {
	margin-bottom: 2rem;
}

#heroimage .swiper .swiper-wrapper .swiper-slide picture {
  border-bottom-right-radius: 15rem !important;
  overflow: hidden !important;
}

.text-bold > a {
  font-weight: 700 !important;
}

.modula-best-grid-gallery .fancybox__container.has-sidebar .fancybox__caption {
  display: none !important;
}

header #top-bar .inner #nav-wrapper nav ul li:last-of-type {
  /*     margin-left: 0.5rem !important; */
}

body:not(.home) header img.splash-image {
  display: none;
}

body.blog header.header #headerimage,
body.single-post header.header #headerimage,
body.search #headerimage,
body.archive #headerimage {
  background-image: url(http://ibidavidsalon.wpenginepowered.com/wp-content/uploads/2025/06/25-36585474164-InteriorHeaders-P1-13-1.webp) !important;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

blockquote {
  border-left: 1px solid var(--secondary);
  padding-left: 2rem;
  max-width: 650px;
  margin-bottom: 2rem;
}
h5.blockquote-text {
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--secondary);
}

@media (max-width: 39.9375em) {
  body.blog header.header #headerimage,
  body.single-post header.header #headerimage,
  body.search #headerimage,
  body.archive #headerimage {
    background-position: center left 45%;
  }
	#footer-top #right-side #foot-3 div.hours .hours-title {display: block;}
}

.gform_wrapper.gravity-theme input[type="color"],
.gform_wrapper.gravity-theme input[type="date"],
.gform_wrapper.gravity-theme input[type="datetime-local"],
.gform_wrapper.gravity-theme input[type="datetime"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="month"],
.gform_wrapper.gravity-theme input[type="number"],
.gform_wrapper.gravity-theme input[type="password"],
.gform_wrapper.gravity-theme input[type="search"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="time"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme input[type="week"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
  border: 1px solid var(--dark);
}
header #heroimage .swiper-slide.id-91 picture img {
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
  width: 100%;
  object-position: 82% 50%;
}

.photo-gallery > .columns {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #000;
}
.photo-gallery > .columns a img {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  transition: all 0.4s ease;
  opacity: 0.75;
}
.photo-gallery > .columns:hover a img {
  transform: scale(1.1);
  opacity: 1;
}

body.blog article.tease-post {
  margin-bottom: 2.5rem;
}

article.post-type-post > img {
  width: 100% !important;
  height: auto !important;
}

.gform_fileupload_rules {
  font-weight: bold;
}

.gform_wrapper.gravity-theme .gform_drop_area {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 2rem;
  text-align: center;
  background-color: #a3bd00;
  background-color: #fff;
  border: 1px dashed #888;
  border-radius: 4px;
  margin: 0 !important;
}

#sidebar h4 {
  text-align: center !important;
}

body.single img.featured-img {
  max-width: 600px;
}

@media screen and (max-width: 39.9375em) {
  #sidebar ul,
  #sidebar ul li {
    margin-left: 0;
  }
}

@media screen and (max-width: 1024px) {
  #heroimage .swiper .swiper-wrapper .swiper-slide picture {
    border-bottom-right-radius: 10rem !important;
  }
}

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;
}

/**

* Hides admin notices visually using CSS for users who are NOT 'imaginal.admin'.

*/

function hide_admin_notices_with_css() {

	$current_user = wp_get_current_user();

	if ($current_user->user_login !== 'imaginal.admin') {

		echo '<style>

		.notice,
		.updated,
		.error,
		.notice-success,
		.notice-warning,
		.notice-info,
		.notice-error,
		.update-nag { 
			display: none !important;
		}

		#login_error, 
		#login_message,
		#login_warning {
			display: none !important;
		}
		</style>';
	}

}


add_action('admin_head', 'hide_admin_notices_with_css');
