/*
 Theme Name:   Sydney Child
 Description:  Sydney Child Theme
 Template:     sydney
 Version:      1.8.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  sydney-child
*/

h1.site-title {
	font-size:   20px;
	display:     inline-block;
	margin-left: 10px;
	font-weight: bold;
	margin-top: 40px;
}

#mainnav ul li a {
	font-size:   18px !important;
	font-weight: bold;
}

.headerImage {
	height:   585px;
	overflow: hidden;
	position: relative;
}

.overlay {
	opacity: 0.3 !important;
}

.site-header.float-header {
	background-color: rgba(0, 28, 127, 1) !important;
}
a{
	color:#001c7f;
}

h2 {
	font-size: 34px !important;
}

.container {
	max-width: 100%;
}

.single .entry-header, .page .entry-header, h2 {
	margin-bottom: 10px !important;
}

.wp-block-themeisle-blocks-advanced-columns {
	padding:    0 !important;
	margin-top: 0 !important;
}

.wp-block-themeisle-blocks-advanced-column {
	margin-top: 0 !important;
}

#mainnav {
	width: 100%;
}

.menu-menu-container {
	float: right;
}

#mainnav li:last-child {
	padding-right: 0;
}

#mainnav .container {
	padding-right: 0;
}

@media screen and (max-width: 1200px) {
	h1.site-title {
		font-size:   18px !important;
		margin-left: 0;
		word-break:  break-word;
		width:       auto;
		display:     inline-block;
		text-align:  left;
		margin-top: 3px;
	}

	h1.site-title a {
		float:       left;
		height:      100%;
		padding-top: 30px;
	}

	.logoWrapper {
		display:        flex;
		flex-wrap:      wrap;
		vertical-align: bottom;
		z-index:        1000;
		max-width:      calc(100% - 40px);
		width: auto;
	}

	#masthead {
		z-index: 2000;

	}

	.menuButtonWrapper {
		position:      absolute;
		right:         0;
		top:           45%;
		transform:     translateY(-50%);
		padding-right: 15px;
		padding-left:  0;
		width:         100%;

	}

	.mainnav.toggled ul li, #mainnav-mobi ul li {
		border-top: 1px solid rgba(0, 28, 127, 1) !important;
	}

	.mainnav.toggled, #mainnav-mobi {
		background-color: rgba(0, 28, 127, 1) !important;
	}

	#mainnav-mobi {
		margin-top: 55px;
		box-shadow: 0 1px 2px 0 rgb(60 64 67 / 30%), 0 2px 6px 6px rgb(60 64 67 / 15%);
	}
	.headerImage .title{
		font-size: 30px!important;
	}
}

.wp-block-themeisle-blocks-advanced-column {
	padding: 0 !important;
}

.page-wrap {
	padding-top: 50px !important;
}

.headerImage .title {
	position:    absolute;
	left:        50%;
	top:         50%;
	font-size:   45px;
	transform:   translate(-50%, -50%);
	color:       white !important;
	font-weight: bold;
	text-shadow: 3px 3px 4px black;
	z-index:     1000;
	text-align:  center;
	width:       calc(100% - 30px);
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
	background-color: rgba(0, 28, 127, 1);
	border:           1px solid rgba(0, 28, 127, 1);
}

.footer-widgets, .footer-widgets a {
	color: white;
}

@media screen and (max-width: 1024px) {
	.sydney-hero-area .header-image {
		height: 400px !important;
	}

	.sydney-hero-area .headerImage {
		height: 400px !important;
	}

	.headerImage img {
		height:     auto;
		min-height: 100%;
		max-height: inherit;
		max-width:  inherit;
		width:      auto;
	}

	.page-wrap {
		padding-top: 20px !important;
	}

	.site-header {
		background-color: transparent !important;
	}

	.content-wrapper .row {
		margin-left:  0 !important;
		margin-right: 0 !important;
	}

	#masthead.site-header {
		position:         fixed !important;
		background-color: transparent !important;
	}

	#masthead.site-header.float-header {
		background-color: rgba(0, 28, 127, 1) !important;
	}

	h1.site-title a {
		padding-top: 30px;
	}

	.close-icon {
		display: none;
	}

	.syd-hidden.toggled ~ .btn-menu .close-icon {
		display:      block;
		margin-top:   10px;
		margin-right: 0 !important;
		right:        0 !important;
	}

	.syd-hidden.toggled ~ .btn-menu .sydney-svg-icon {
		display: none;
	}

	.mainnav.toggled ul > li > a, #mainnav-mobi ul > li > a {
		padding-left: 0;
	}

	.menu-menu-container {
		width: 100%;
	}
}

@media only screen and (max-width: 767px) {
	.btn-menu {
		float:  right !important;
		margin: 0 !important;
	}

	h1.site-title {
		width: auto;
	}

	.wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium {
		max-width: 100%;
	}

	.site-logo {
		max-height: 85px!important;
	}

	h1.site-title a {
		padding-top:  25px;
		padding-left: 5px;
	}
	.menuButtonWrapper {
		top: 40%;
	}

	#mainnav-mobi {
		top: 15px;
	}

	#masthead {
		padding: 10px !important;
	}
	.logoWrapper{
		width: auto;
	}
}
#masthead{
	z-index: 3000;
}
@media only screen and (max-width: 500px) {
	h1.site-title a {
		word-break: break-word;
		padding-top: 23px;
	}
}
@media only screen and (max-width: 475px) {
	h1.site-title {
		width: calc(100% - 85px);
	}
}
@media only screen and (max-width: 473px) {
	h1.site-title a {
		padding-top: 15px;
	}
}
@media only screen and (max-width: 335px) {
	h1.site-title a {
		padding-top: 5px;
	}
}
.preloader{
	display: none!important;
}
