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

/* Main Tags */

a, button, input, .gb-button-wrapper .gb-button {
    transition: none !important;
}

/* Adjustments */

.site-header {
	border-bottom: 1px solid rgba(204, 204, 204, 0.33); /* #cccccc */
}

.main-navigation ul ul {
	box-shadow: none;
	border-top: solid 2px #0074e0;
	border-radius: 0 0 4px 4px;
}

.main-navigation ul ul a {
	border-radius: 0 0 4px 4px;
}

#right-sidebar {
	border-left: 1px solid rgba(204, 204, 204, 0.33) !important; /* #cccccc */
}

.roundedBorders, .featured-image img, .post-image img, #wp-block-search__input-1, .wp-block-search__button, .latestPosts img {
	border-radius: 4px;
}

.gb-button-wrapper .gb-button, .wpcf7-submit {
	padding: 12px 20px !important;
	line-height: 1em;
}

/*.infoBox {
	max-width: 640px;
	margin: auto;
}*/

/* Table of Contents */

@media (min-width: 769px) {
	details {
		display: inline-block;
	}
}

details {
	margin-bottom: 1.5em;
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	padding: 1em;
	background-color: #fafafa;	
}

details[open] summary {
	margin-bottom: 0.5em;
}

details[open] {
	background-color: #ffffff;
}

details summary::marker {
	color: var(--accent);
}

details summary {
	font-weight: 500;
}

details summary:hover {
	cursor: pointer;
}

details ul {
	margin: 0;
}

details ul li {
	margin: 0em 1em;
	list-style-type: none;
}

/* Sidebar */

@media (max-width: 768px) {
	#right-sidebar {
		margin-top: 30px;
	}
}

#wp-block-search__input-1, .wp-block-search__button, .wp-block-search__button:hover {
	color: #292929;
}

.wp-block-search__button, .wp-block-search__button:hover  {
	background-color: #f7f7f7;
}

#block-3, #block-4 {
	padding-top: 0px;
}

#block-4 {
	padding-bottom: 0px;
}

.latestPosts {
	font-size: 16px;
}

/* Contact Form 7 */

@media (min-width: 1025px) {
	.wpcf7-form {
		margin: auto;
		width: 50%;
	}
}

input.wpcf7-text, textarea.wpcf7-textarea {
	margin-top: 0.4em;
	border-radius: 4px !important;
	color: #292929 !important;
}

.wpcf7-submit {
	border-radius: 4px;
	background-color: #0074e0 !important;
}

.wpcf7-submit:hover {
	background-color: #e00074 !important;
}

.wpcf7-response-output {
	margin: 0px !important;
	border-radius: 4px;
}

/* Footer Widgets */

#footer-widgets {
	border-top: 1px solid rgba(204, 204, 204, 0.33); /* #cccccc */
}