/*
Theme Name:   Twenty Twenty Three Child
Theme URI:    https://srocreative.com
Description:  Custom theme for SRO Creative
Author:       Ben Austin & Associates
Author URI:   http://benaustin.com
Template:     twentytwentythree
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


body, h1, h2, h3, h4, h4, h6, p {
	font-family: "Raleway";
}

h3 {
	font-size: 1.5rem;	
}

:where(body .is-layout-constrained) > * {
    margin-block-start: 1em;
}

:where(body .is-layout-flow) > * {
    margin-block-start: 0.5em;
    line-height: 1.4em;
}

p {
	font-weight: 200;
}

img {
	max-width: 100%;
	height: auto;
}

.photo-credit {
	font-size: 75%;
	text-align: center;
	color: #58608a; 
}

.press-logo img {
	max-width: none;
	padding-top: 1em;
}

.wp-block-quote {
	position: relative;
	border-left: none;
	margin-bottom: 20px;
	padding-left: 3rem;
}

.wp-block-quote:before {
	content: "\201C";
	color: #232840; 
	font-size: 7em;
	position: absolute;
	left: -3rem;
	top: 2.5rem;
	font-family: "Coustard";
}

.social {
	font-size: 1.5em;
	padding-right: 0.3em;
}


#hero {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	z-index: 1;
}


@media screen and (max-width: 800px) {
	#hero {
		height: 50vh;
		top: 150px;
	}
}



.hero_slide {
	position: absolute;
	width: 100%;
	height: 100%;
	transition: 0.5s ease-out;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: -1;
	background-position: center;
	background-size: cover;
}

.hero_slide.next {
	transform: translateX(100%);
}


.hero_slide.prev {
	transform: translateX(-100%);
}

#next_button {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
	right: 5%;
	height: 100%;
	font-size: 3em;
	opacity: 0.5;
	z-index: 20;
	color: #FFF;
}

#prev_button {
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
	left: 5%;
	height: 100%;
	font-size: 3em;
	opacity: 0.5;
	z-index: 21;	
	color: #FFF;
}


.slideCaption {
	color: #FFF;
	max-width: 30%;
	text-align: center;
}



body.home header {
	position: relative;
	left: 0;
	z-index: 5;
	width: 100%;
}

body.home footer {
	display: none;
}


.contrast {
	padding: 3rem 0;
	background-color: #242a44;
}

.contrast h2 {
	text-transform: uppercase;
	font-size: 2rem;
	letter-spacing: 1px;
	margin-bottom: 2rem;
}

label {
	font-size: 85%;
}

input[type='text'],
input[type='email'],
textarea {
	padding: 1rem;
}

:root :where(.wp-block-separator) {
	border-color: #313960;
}


.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container, 
.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container, 
.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
	width: 225px;
}