/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/*
 * Media Queries
 * 
 * Mobile only 
@media (max-width: 768px) {}
 *
 * Tablet and above
@media (min-width: 769px) {}
 *
 * Tablet only 
@media (min-width: 769px) and (max-width: 1024px) {}
 *
 * Tablet and smaller 
@media (max-width: 1024px) {}
 *
 * Desktop only 
@media (min-width: 1025px) {}
*/

.no-underline, 
a.no-underline,
.no-underline a {
  text-decoration: none;
}

.underline-on-hover a:hover {
    text-decoration: underline;
}

.hover-to-black a:hover {
	color: #222222;
}

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.font-extra-bold {
	font-weight: 800;
}

/* header */

.header-wrap {
	z-index: 30;
}

body:not(.home) .site-header {
	border-top: 6px solid #da794d;
	position: relative;
}

body:not(.home) .site-header::before {
	content: '';
	background: #DA96A5;
	height: 6px;
	left: 0;
	position: absolute;
	top: 10px;
	width: 100%;
}

.site-logo {
	max-width: calc(100% - 62px);
}

/* menu */

.menu-item-has-children .dropdown-menu-toggle {
	padding-right: 10px;
}

#menu-primary-menu > li > a > .dropdown-menu-toggle .gp-icon svg {
	height: 32px;
    width: 32px;
    top: 10px;
}

#menu-primary-menu > li > a > .dropdown-menu-toggle {
	color: #db91a3;
}

/*#menu-primary-menu > li:nth-child(1) > a > .dropdown-menu-toggle {
	color: #db91a3;
}

#menu-primary-menu > li:nth-child(2) > a > .dropdown-menu-toggle {
	color: #e7b34d;
}

#menu-primary-menu > li:nth-child(3) > a > .dropdown-menu-toggle {
	color: #da7544;
}

#menu-primary-menu > li:nth-child(4) > a > .dropdown-menu-toggle {
	color: #db91a3;
}*/

/* slideout navigation */

#generate-slideout-menu .main-nav {
	margin-bottom: 0;
}

/* footer */

.site-footer a.gb-menu-link {
	text-decoration: underline;
}

.site-footer a.gb-menu-link:hover {
	text-decoration: none;
}

.footer-search .wp-block-search__inside-wrapper {
	background-color: #e7b34d;
	border: none;
	border-radius: 16px;
	overflow: hidden;
}

.footer-search input[type="search"] {
	background-color: transparent;
	border: none;
}

.footer-search input[type="search"]::placeholder {
	color: #572c15;
	font-family: Montserrat, sans-serif;
	font-weight: 500;
	opacity: 1;
}

.footer-search .wp-block-search__button {
	background-color: transparent;
	color: #572c15;
	padding: 0 12px;
}

.footer-search .wp-block-search__button svg {
	height: 32px;
	width: 32px;
}

.footer-search .wp-block-search__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wp-block-social-links.has-large-icon-size {
	margin-bottom: 0;
}

/* .resource-card */

a.resource-card {
	text-decoration: none;
}

a.resource-card:hover .resource-card-heading,
a.resource-card:focus .resource-card-heading {
	text-decoration: underline
}

/* accordion */

.gb-accordion__content :last-child {
	margin-bottom: 0;
}

/* extra stuff */

.rank-math-html-sitemap__title {
	display: none;
}

.hover-grow:hover svg {
  transform: scale(1.08);
  transition: transform 0.3s ease-in-out;
}

.hover-grow svg {
  transition: transform 0.3s ease-in-out;
}
