/*
Theme Name: Gallery Route One
Theme URI: https://galleryrouteone.org/
Description: GRO Child Theme for Divi by Elegant Themes
Author: Clifford Hill
Author URI: https://sassymonkeymedia.com/
Template: Divi
Version: 0.1
*/

/* Even though this is set in the Appearance > Customize > Header & Navigation > Secondary Menu > Background Color, Divi's default blue color flashes momentarily on load with out this: */
#top-header, #et-secondary-nav li ul {
	background-color: #cccccc !important;
}

ol.double-line-break-list li, ul.double-line-break-list li {
	margin-bottom: 1em;
}

/* HEADER */
@media all and (min-width: 820px) {
.logo_container .slogan {
	font-weight:400;
	margin:.5em;
	line-height:14px;
	height:14px !important;
	display:inline;
}
.home .entry-content .et_pb_section.et_pb_section_0.et_section_regular.et_pb_section_first {
	padding-top: 175px !important;
}
}
@media all and (max-width: 819px) {
.logo_container .slogan {
	font-weight:400;
	margin:.5em;
	display:block;
	clear:both;
}
#page-container #et-main-area #sidebar {
padding-top: 60px !important;
}
}

/* force subpage titles down from under logo header and menu */
@media all and (max-width: 749px) {
.entry-content {
	padding: 90px 0 !important;
}
}

@media all and (max-width: 455px) {
.logo_container .slogan {
	display:none;
}
/* Force more padding at narrow widths to keep top slider on home page from being partially underneath header and nav bar */
.home .entry-content .et_pb_section.et_pb_section_0.et_section_regular.et_pb_section_first {
	padding-top: 160px !important;
}
.et_header_style_centered header#main-header .logo_container {
    max-height: inherit;
}
}

/* MAIN NAV */
header#main-header div.et_menu_container div#et-top-navigation {
	font-weight: 400 !important;
}
.nav li ul {
	padding: 10px 0;
}
#top-menu li li {
	padding: 0 10px;
}
#top-menu li li a {
	width: 220px;
	padding: 6px;
}

/* HOME */
.home .et_pb_blog_grid_wrapper .post-meta a { color:#497c5f; }
/* artist callout */
.home .home-artist-callout h2 {
	font-size:160% !important;
	line-height:1.7em !important;
}

/* tablet 100% width fix on single post grid columns on home page */
@media (max-width: 980px) {
.home-triple-col-post-teaser .column.size-1of2 {
	margin: 0 0 7.5% 0 !important;
	width: 100% !important;
}
}

/* ARTISTS */
.gro-artists-link-list ul {
	list-style: none !important;
}
.gro-artists-link-list ul li {
	display: inline-block !important;
	margin: 0 1em !important;
}
.gro-artists-link-list ul li a {
	white-space: worap !important;
}  


/* FOOTER */
.footer-widget a.footer-map:link, .footer-widget a.footer-map:visited {
	background: url(images/footer-map.png) no-repeat 0 0;
	width:175px;
	height:100px;
	text-indent:-9999px;
	display:block;
}
.footer-widget a.footer-map:hover, .footer-widget a.footer-map:active {
	background: url(images/footer-map.png) no-repeat 0 -102px;
	width:175px;
	height:100px;
	text-indent:-9999px;
	display:block;
}
#main-footer #footer-widgets .footer-widget .textwidget a:hover {
	color: #457257 !important;
}


/* SEARCH AND ARCHIVE CATEGORY INDEX PAGES (INCLUDING PRESS & EXHIBITIONS ARCHIVE) */
.category-exhibitions-archive article.et_pb_post .post-meta {
	display: none;
}
.archive article.et_pb_post a img, .search-results article.et_pb_post a img  {
	max-width: 15%;
	min-width: 65px;
	float: left;
	margin: 0 1em 2em 0;
}
.archive article.et_pb_post, .search-results article.et_pb_post {
	clear: both;
	margin-bottom: 2em;
}
.archive article.et_pb_post h2 a, .search-results article.et_pb_post h2 a {
	font-size: 85%;
}
.archive #left-area .post-meta, .search-results #left-area .post-meta {
	padding-bottom: 0;
}


/* Fixing spacing on all Post Title modules */
/* .entry-content .et_pb_section.et_pb_section_0.et_section_regular.et_pb_section_first {
	padding: 175px 0 0 0 !important;
} */
.entry-content .et_pb_section.et_pb_section_0.et_section_regular.et_pb_section_first .et_pb_row.et_pb_row_0 {
	padding-bottom:0 !important;
}


/* Fix issue with specialty module-based right sidebars have border/margin on right of sidebar instead to left between main content and sidebar */
.et_pb_widget_area_left {
	margin-top:2em;
	border-right: none;
	border-left: 1px solid rgba(0, 0, 0, 0.1);
	padding: 0 0 0 30px;
}

/* Give Donation */
h2.give-form-title {
	font-size: 1.6em;
}

/* Contact Form 7 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea
{
    background-color: #eee;
    color: #020202;
    width: 100%;
	padding: 16px;
	font-size: 18px;
	border: none;
	border-radius: 2px;
}
.wpcf7 input[type="submit"] {
	background-color: #fff;
	border: 2px #7bbaa1 solid;
	color: #7bbaa1;
	font-size: 24px;
	padding: 12px 24px;
	border-radius: 2px;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge{
	visibility: collapse !important;
}

/* 4DIVI Masonry Gallery Plugin padding fix since it's own Module Design tab settings don't work */
.masonry-grid-item {
	padding: 5px;
}
/* Remove title (which is the useless file name) display from 4DIVI Masonry because it foolishly forces display of both title and caption or none */
.masonry-grid-item .et_pb_gallery_title {
	display: none !important;
}

/* Make Facebook video embed responsive */
.facebook-responsive-video {
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.facebook-responsive-video iframe {
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}