/**
 * Theme Name:     Divi Child
 *  Theme URI:      https://www.elegantthemes.com/gallery/divi/
 *  Description:    Divi Child Theme
 *  Author:         Elegant Themes
 *  Author URI:     https://www.elegantthemes.com
 *  Template:       Divi
 *  Version:        1.0.0
 *
 * @format
 */

/* =Theme customization starts here
------------------------------------------------------- */
@media (min-width: 1369px) and (max-width: 1680px) {
	#quadmenu.quadmenu-is-horizontal
		.quadmenu-navbar-nav
		li.quadmenu-dropdown
		> .quadmenu-dropdown-menu.quadmenu-dropdown-stretch-dropdown
		> ul,
	#quadmenu.quadmenu-is-horizontal
		.quadmenu-navbar-nav
		li.quadmenu-dropdown
		> .quadmenu-dropdown-menu.quadmenu-dropdown-stretch-dropdown
		> .quadmenu-dropdown-background {
		width: 48% !important;
		margin-left: 14% !important;
	}
}

@media screen and (min-width: 980px) and (max-width: 1100px) {
	.header-home-contact {
		display: none !important;
	}
	.header-text {
		width: 33% !important;
	}
	.top-menu {
		width: 650px !important;
	}
}

/* CSS FOR ADA ELEMENTS */
.visually-hidden {
	border: none !important;
	clip: rect(0 0 0 0) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

#skiptocontent {
	z-index: 10;
	position: fixed;
	padding: 8px;
	display: block !important;
	-webkit-transform: translateY(-40px);
	-ms-transform: translateY(-40px);
	transform: translateY(-40px);
	opacity: 0;
	background-color: #489aa8;
	color: #fff;
	-webkit-transition: all 200ms ease-out;
	-moz-transition: all 200ms ease-out;
	-ms-transition: all 200ms ease-out;
	-o-transition: all 200ms ease-out;
	transition: all 200ms ease-out;
}

#skiptocontent:focus {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}

@media only screen and (max-width: 640px) {
	#skiptocontent {
		display: none !important;
	}
}

/* FEATURES > YouTube Player */
.youtube-player {
	position: relative;
	padding-bottom: 56.23%;
	/* Use 75% for 4:3 videos */
	height: 0;
	max-width: 100%;
	background: #000;
	margin: 0;
}

.youtube-player-inner {
	width: 100%;
	height: 100%;
	content: "";
	overflow: hidden;
	position: absolute;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
	justify-content: center;
}

.youtube-player-inner:after,
.videos-single:after {
	content: "\f16a";
	font-family: "youtube";
	font-size: 3.5rem;
	opacity: 0.8;
	display: inline-block;
	margin: 0 auto;
	-webkit-transition: all 150ms ease-out;
	-moz-transition: all 150ms ease-out;
	-ms-transition: all 150ms ease-out;
	-o-transition: all 150ms ease-out;
	transition: all 150ms ease-out;
	color: #489aa8;
	pointer-events: none;
	z-index: 1;
}

.youtube-player-inner:hover:after,
.youtube-player-inner:focus:after,
.videos-single:hover:after,
.videos-single:focus:after {
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
	color: #fff;
	opacity: 1;
}

.youtube-player iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background: transparent;
}

.youtube-player img {
	bottom: 0;
	display: block;
	left: 0;
	margin: auto;
	max-width: 100%;
	width: 100%;
	position: absolute;
	right: 0;
	top: 0;
	border: none;
	height: auto;
	cursor: pointer;
	-webkit-transition: all 200ms ease-out;
	-moz-transition: all 200ms ease-out;
	-ms-transition: all 200ms ease-out;
	-o-transition: all 200ms ease-out;
	transition: all 200ms ease-out;
}

@media screen and (max-width: 1024px) {
	body:not(.home) .stewart-header {
		height: 111px !important;
	}

	body:not(.home) .stewart-header .site-logo img {
		margin-top: -4px !important;
	}

	.attorney-header {
		background-size: cover !important;
		background-position: 83% 0 !important;
	}

	.page-id-5366 .attorney-header {
		background-position: 64% 0 !important;
	}

	.attorney-header + .et_pb_section_1 {
		padding-top: 30px !important;
	}

	body:not(.home)
		.stewart-header
		.et_pb_column.et_pb_column_1_2.et_pb_column_1_tb_header.top-menu.et_pb_css_mix_blend_mode_passthrough.et-last-child.et_pb_column--with-menu {
		padding-right: 25px !important;
		padding-top: 1px !important;
	}
}

@media screen and (max-width: 630px) {
	body:not(.home) .stewart-header {
		height: 81px !important;
	}
}
