/*!
Theme Name: skeleton theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: skeleton-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

skeleton theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Pre-Header
# Menus
# Footer
# Comments
# Blog Sidebar
# Featured Image
# Gravity Forms
# Alignment Fixes
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Pre-Header
--------------------------------------------------------------*/
.pre-header {
	background-color: #1F5AD2;
	padding-top: 30px;
	padding-bottom: 30px;
}

nav.main-menu {
	min-height: 100px;
}

a.social-menu-item {
	height: 40px;
	width: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid rgb(255 255 255 / 50%);
	color: #fff;
	text-decoration: none;
	transition: all 300ms ease;
}

a.social-menu-item:hover {
	border-color: #fff;
}

a.contact-menu-item {
	color: #fff;
	text-decoration: none;
}

li.menu-image a {
	position: relative;
	width: 191px;
	height: 40px;
}

li.menu-image a img {
	position: absolute;
	top: -120px;
}

@media (max-width: 991.98px) {
	.pre-header {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	a.contact-menu-item {
		height: 40px;
		width: 40px;
		display: flex;
		justify-content: center;
		align-items: center;
		border: 2px solid rgb(255 255 255 / 50%);
		transition: all 300ms ease;
	}

	a.contact-menu-item:hover {
		border-color: #fff;
	}
}

/*--------------------------------------------------------------
# Menus
--------------------------------------------------------------*/
a.nav-link {
    font-size: 18px;
    font-weight: 500;
    color: var(--wp--preset--color--dhali-header);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer#colophon {
	background-color: #0A1A3A;
	padding-top: 60px;
	padding-bottom: 30px;
}

.footer-decoration-widget {
	border-right: 1px solid rgba(255, 255, 255, 0.5);
	border-left: 1px solid rgba(255, 255, 255, 0.5);
}

ul#menu-footer-menu a {
	text-decoration: none;
	color: #fff;
	font-family: 'Libre Baskerville';
}

ul#menu-footer-menu a:hover {
	text-decoration: underline;
}

@media (max-width: 767.98px) {
	.footer-decoration-widget {
		border-right: none;
		border-left: none;
	}
}
/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
/* Ensure comments text wraps properly */
.comment-content {
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* Style comment navigation links as buttons */
.comment-navigation .nav-previous a,
.comment-navigation .nav-next a {
	display: inline-block;
	padding: 0.375rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid #6c757d;
	border-radius: 0.25rem;
	color: #6c757d;
	background-color: transparent;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.comment-navigation .nav-previous a:hover,
.comment-navigation .nav-next a:hover {
	color: #fff;
	background-color: #6c757d;
	border-color: #6c757d;
}

/* Style comment form submit button */
#submit {
	display: inline-block;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	user-select: none;
	border: 1px solid transparent;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 0.25rem;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}

#submit:hover {
	background-color: #0069d9;
	border-color: #0062cc;
}

/* Threaded comments indentation */
ol.comment-list ol.children {
	margin-left: 3rem;
}

@media (max-width: 767.98px) {
	ol.comment-list ol.children {
		margin-left: 1.5rem;
	}
}

/*--------------------------------------------------------------
# Blog Sidebar
--------------------------------------------------------------*/
/* Enhance widget styling for WordPress default widgets */
.widget ul:not(.list-unstyled):not(.list-group) {
	padding-left: 0;
	list-style: none;
}

.widget ul:not(.list-unstyled):not(.list-group) li {
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.widget ul:not(.list-unstyled):not(.list-group) li:last-child {
	border-bottom: none;
}

/* Calendar widget */
.widget_calendar table {
	width: 100%;
}

.widget_calendar caption,
.widget_calendar th,
.widget_calendar td {
	text-align: center;
	padding: 0.25rem;
}

.widget_calendar caption {
	font-weight: bold;
	margin-bottom: 0.5rem;
}

/* Search widget */
.widget_search .search-form {
	display: flex;
}

.widget_search .search-field {
	flex-grow: 1;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.widget_search .search-submit {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/* Make the sidebar sticky on larger screens */
@media (min-width: 992px) {
	.sticky-sidebar {
		position: sticky;
		top: 2rem;
	}
}

/*--------------------------------------------------------------
# Featured Image
--------------------------------------------------------------*/
.featured-image-container {
	height: 330px;
}

.featured-image-container img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center center;
	border-radius: 0 !important;
}

/*--------------------------------------------------------------
# Gravity Forms
--------------------------------------------------------------*/
/* Form #1 */
#gform_1 .gform_fields {
	column-gap: 10px;
	row-gap: 20px;
}

/*--------------------------------------------------------------
# Alignment Fixes
--------------------------------------------------------------*/
/* Clear floats and handle dynamic content displays */
.content-wrapper::after {
	content: "";
	display: table;
	clear: both;
}

/* Ensure embedded elements don't overflow */
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video,
.entry-content img {
	max-width: 100%;
	height: auto;
}

/* Handle WordPress alignment classes */
.entry-content .alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.entry-content .alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Ensure last paragraph doesn't have issues with floats */
.entry-content>p:last-child {
	clear: both;
}