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

/* General
------------------------------------------------------------*/

.inside-header {
	padding-left: 0px;
	padding-right: 0px;
}

.site-header,
.inside-article,
.comments-area,
.site-footer {
	border-top: 3px solid var(--accent);
}

body {
	background-color: #efebed;
}

@media (min-width: 769px) {
    #right-sidebar {
        width: 400px;
    }
    .inside-right-sidebar .widget {
        padding: 60px;
    }
    body:not(.no-sidebar) #primary {
        width: calc(100% - 400px);
    }
}

.single-post .entry-title {
	padding-left: 50px;
}

@media (max-width: 1024px) {
		
	.inside-header {
		padding-left: 10px;
	}

	.entry-title {
		background-image: none !important;
	}	
	.single-post .entry-title {
		padding-left: 0px !important;
	}
}

.wp-image-800.blue-bg {
background-color: #0066b6;
}

.wp-image-800.black-bg {
background-color: #000;
}

/* Links
------------------------------------------------------------*/

a {
	text-decoration: none;
}
.content-area a:hover,
.main-nav a:hover,
.sidebar a:hover,
.site-footer a:hover {
	color: #DC143C;
	/* border-bottom: 1px solid #DC143C; */
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}
.entry-title a:hover {
	color: #DC143C;
	text-decoration: none;
}
a.read-more:hover {
	color: white;
	background-color: #DC143C;
	/* border-bottom: none; */
	text-decoration: none;
}
.main-navigation .main-nav ul li a {
	line-height: inherit;
}
.main-navigation .main-nav ul li a {
	padding-left: 0px;
	padding-right: 0px;
}
.main-navigation .main-nav ul li {
	padding-left: 20px;
	padding-right: 20px;
}

/*
.main-nav a {
	border-bottom: 1px solid transparent;
} */

.post-image a:hover {
	border-bottom: none;
}

.entry-meta .byline {
	display: none;
}

.button,
.read-more.button,
#submit,#submit {
	background-color: #575760;
	border-radius: 5px;
	color: #fff;
	font-weight: 600;
}

#submit:hover {
	background-color: #dc143c;
}

.main-navigation ul ul {
	width: 210px;
}

/* Footer
------------------------------------------------------------*/

ul#menu-footermenu {
	display: flex;
	justify-content: space-between;
	width: 180px;
	margin: 0px auto;
	text-align: center;
}

div.footer-widgets-container {
	padding: 40px 0px 0px 0px;
}

ul#menu-footermenu li:before {
	content: '\a0\a0\b7\a0\a0';
}
ul#menu-footermenu li:first-child:before {
	content: none;
}

@media (max-width: 768px) {
	ul#menu-footermenu {
	justify-content: center;
	}
}

p.footer-text-one {
	font-size: 90%;
	margin: 0px auto;
}

/* Images
------------------------------------------------------------*/

.blog .post-image,
.archive .post-image,
.featured-image {
	height: 260x;
	text-align: center;
	vertical-align: baseline;
}

img[src$=".svg"].wp-post-image {
	width: 15em;
}

.single-post .featured-image {
	display: none;
}

p > img {
 position: relative;
 top: 6px;
}

/* Widgets
------------------------------------------------------------*/

.wp-block-search__input {
	font-size: 85%;
}

/* Contact Form 7
------------------------------------------------------------*/

.wpcf7-form {
    margin-top: 40px;
    width: 95%;
}

.wpcf7-form .widget-title {
}

.wpcf7-form-control.wpcf7-text {
	width: 100%;
}

.wpcf7-text,
.wpcf7-textarea {
}

.wpcf7-form .wpcf7-submit {
	background-color: #575760;
	border-radius: 5px;
	color: #fff;
	font-weight: 600;
}

.wpcf7-form .wpcf7-submit:hover {
	background-color: #dc143c;
} 

.wpcf7-form input[type=checkbox] {
    margin-left: -20px;
}

.wpcf7-form .wpcf7-notabene {
  font-size: 95%;
}


/* Hooks
------------------------------------------------------------*/

#after-entry-header-note {
	background-color: var(--global-color-8);
	border: 1px solid var(--global-color-8);
	color: var(--contrast);
	margin: 20px 0;
	padding: 10px;
	font-size: 85%;
	text-align: center;
}

q {
	font-style: italic;
}

.wp-block-quote {
	border-left: 5px solid var(--accent);
}

/* .custom-pullquote blockquote, */
.wp-block-pullquote blockquote {
	border-left: 0px solid var(--accent);
}

/* figure.custom-pullquote, */
figure.wp-block-pullquote {
	border-top: 5px solid var(--accent);
	border-bottom: 5px solid var(--accent);
}

/*
figure.custom-pullquote {
	border-radius: 30px;
	box-sizing: border-box;
  	margin: 0 0 1em;
  	overflow-wrap: break-word;
  	padding: 4em 0;
  	text-align: center;
} */

code,
pre {
	font-family: "Monaco", monospace;
	background-color: var(--base);
}

.wp-block-group {
	margin-bottom: 30px;
}

.wp-block-group pre {
	margin-bottom: 0px;
}

pre.wp-block-verse {
	font-family: inherit;
	font-style: italic;
	text-align: center;
}

.bordered-image {
	border: 2px solid var(--accent);
	padding: 10px;
	margin-top: 20px;
}

h4.wp-block-heading:not(:first-child) {
	margin-top: 20px;
}

h4.wp-block-heading::before {
	display: inline-block;
	position: relative;
	top: -5px;
    content: "";
    border-top: 3px solid var(--contrast);
    width: 1rem;
    margin-right: .5rem ;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(2n+1) {
    background-color: #efebed;
}