/* Maher Transport – shared stylesheet for index.html and contact.html */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: #f2f2f2;
	color: #404040;
	font-family: sans-serif;
	font-size: 15px;
	line-height: 1.5;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
}

a {
	color: #21759b;
	text-decoration: none;
}

a:hover,
a:focus {
	color: #404040;
	text-decoration: underline;
}

h1,
h2,
h3 {
	margin: 0 0 10px;
	line-height: 1.2;
	font-weight: normal;
}

p {
	margin: 0 0 20px;
}

strong {
	font-weight: bold;
}

.site {
	width: 1200px;
	max-width: 100%;
	margin: 40px auto;
	background-color: #fff;
	border-radius: 3px;
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}

.wrapper {
	padding: 0 20px;
}

.wrapper::after,
.site-header .wrapper::after,
.main-nav .wrapper::after,
.site-footer .wrapper::after,
.entry::after {
	content: "";
	display: table;
	clear: both;
}

/* Header */
.site-header {
	padding: 20px 0;
}

.site-branding {
	display: flex;
	align-items: center;
	float: left;
	max-width: 100%;
}

.site-logo {
	line-height: 0;
}

.site-logo img {
	display: block;
	width: 80px;
	height: 110px;
}

.site-header-text {
	padding-left: 10px;
}

.site-title {
	margin: 0;
	font-size: 40px;
	font-weight: bold;
	line-height: 1.2;
}

.site-title a {
	color: #404040;
}

.site-title a:hover {
	color: #21759b;
	text-decoration: none;
}

.site-description {
	margin: 0;
	font-size: 15px;
	font-style: italic;
	font-weight: normal;
}

/* Navigation */
.main-nav {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	position: relative;
}

.menu-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 12px 20px;
	font-size: 16px;
	color: #404040;
	cursor: pointer;
}

.menu {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
}

.menu li {
	float: left;
}

.menu a {
	display: block;
	padding: 10px 20px;
	color: #666;
}

.menu a:hover,
.menu a:focus,
.menu .current a {
	color: #21759b;
	text-decoration: none;
}

/* Featured slider */
.feature-slider {
	position: relative;
}

.slider {
	position: relative;
	overflow: hidden;
	line-height: 0;
}

.slide {
	display: none;
	position: relative;
	margin: 0;
	padding: 0;
}

.slide.is-active {
	display: block;
}

.slide img {
	display: block;
	width: 100%;
}

.slide-caption {
	position: absolute;
	bottom: 44px;
	left: 25%;
	width: 50%;
	padding: 20px;
	color: #fff;
	text-align: center;
	z-index: 2;
	line-height: 1.5;
	border-radius: 4px;
	transition: background-color 0.2s ease-in-out;
}

.slide-caption:hover {
	background-color: #000;
}

.slide-caption h2 {
	margin: 0 0 8px;
	font-size: 30px;
	color: #fff;
}

.slide-caption p {
	margin: 0;
}

.slider-btn {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	border: 0;
	border-radius: 4px;
	background: #000;
	color: #fff;
	font-size: 28px;
	line-height: 40px;
	cursor: pointer;
	opacity: 0;
	transition: all 0.2s ease-in-out;
}

.feature-slider:hover .slider-btn {
	opacity: 1;
}

.slider-prev {
	left: 40px;
}

.slider-next {
	right: 40px;
}

.slider-pager {
	position: absolute;
	bottom: 8px;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 3;
	line-height: 1;
}

.slider-pager button {
	display: inline-block;
	width: 14px;
	height: 20px;
	margin: 0 2px;
	padding: 0;
	border: 0;
	background: none;
	color: #f2f2f2;
	font-size: 45px;
	line-height: 20px;
	cursor: pointer;
}

.slider-pager button.is-active {
	color: #000;
}

/* Content */
.site-content .wrapper {
	padding: 20px;
}

.entry {
	padding: 20px;
	margin: 0 0 20px;
}

.entry-title {
	margin: 0 0 16px;
	font-size: 30px;
	color: #404040;
}

.entry-content {
	overflow: hidden;
}

.caption {
	float: right;
	width: 410px;
	max-width: 100%;
	margin: 0 0 15px 1.5em;
	padding: 5px 5px 0;
	background-color: #f3f3f3;
	border: 1px solid #ddd;
}

.caption img {
	display: block;
	margin: 0 auto;
}

.caption p {
	margin: 8px 0;
	text-align: center;
	font-size: 14px;
}

/* Footer */
.site-footer {
	border-top: 1px solid #eee;
}

.site-footer .wrapper {
	padding: 20px;
	overflow: hidden;
}

.copyright {
	float: left;
}

/* Responsive */
@media screen and (max-width: 1280px) {
	.site {
		width: 1100px;
	}
}

@media screen and (max-width: 1152px) {
	.site {
		width: 980px;
	}
}

@media screen and (max-width: 1024px) {
	.site {
		width: 768px;
		margin: 20px auto;
	}

	.site-title {
		font-size: 32px;
	}

	.slide-caption {
		left: 10%;
		width: 80%;
		bottom: 30px;
	}
}

@media screen and (max-width: 767px) {
	.site {
		width: auto;
		margin: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.site-branding {
		float: none;
		display: block;
		text-align: center;
	}

	.site-logo {
		display: inline-block;
	}

	.site-header-text {
		padding: 10px 0 0;
	}

	.menu-toggle {
		display: block;
		width: 100%;
		text-align: left;
		border-top: 1px solid #eee;
	}

	.menu {
		display: none;
		float: none;
	}

	.menu.is-open {
		display: block;
	}

	.menu li {
		float: none;
		display: block;
		border-top: 1px solid #eee;
	}

	.caption {
		float: none;
		margin: 0 0 20px;
		width: 100%;
	}

	.slide-caption {
		position: static;
		width: 100%;
		left: 0;
		background: #000;
		border-radius: 0;
	}

	.slider-btn {
		opacity: 1;
	}

	.slider-prev {
		left: 10px;
	}

	.slider-next {
		right: 10px;
	}

	.copyright {
		float: none;
		text-align: center;
	}
}
