/*
Theme Name: Southern Services
Theme URI: https://southern-services.net/
Author: Pastel
Author URI: https://pastel.com.iq/
Description: A custom WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: southern-services
Tags: custom, theme, wordpress
*/
:root {
	--blue: #1355b9;
	--darkblue: #0d316b;
	--green: #81a822;
	--black: #081216;
	--navy: #5fb6c6;
	--gray: #d9d9d9;
	--white: #ffffff;
}
html,
body {
	overflow-x: hidden;
}
body {
	font-family: "Tajawal", sans-serif;
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 400;
}
img {
	width: 100%;
	height: auto;
}
ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
a,
a:active,
a:hover,
a:focus {
	text-decoration: none !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: bold;
}
section.page {
	padding: 50px 0;
}
header.header {
	background: var(--blue);
}
.header .navbar-brand img {
	max-height: 80px;
	width: auto;
}
.navbar-nav {
	margin-left: 70px;
}
.navbar-nav li a {
	color: var(--white);
	margin-right: 30px;
	text-transform: uppercase;
	position: relative;
}
.navbar-nav li a:before {
	content: "";
	width: 0%;
	height: 2px;
	bottom: -5px;
	position: absolute;
	left: 0;
	background: var(--white);
	transition: 0.2s all linear;
}
.navbar-nav li a:hover:before {
	width: 100%;
}
ul.lang_switcher {
	background: var(--white);
	border-radius: 30px;
	margin-right: 10px;
	overflow: hidden;
}
ul.lang_switcher li {
	display: inline-block;
}
ul.lang_switcher li a {
	display: block;
	padding: 5px 6px;
	color: var(--black);
	text-transform: uppercase;
}
ul.lang_switcher li.current-lang a {
	background: var(--green);
	color: var(--white);
	border-radius: 30px;
}
form.search_box {
	background: var(--white);
	border-radius: 30px;
	overflow: hidden;
}
form.search_box input {
	width: 150px;
	display: inline-block;
	border: none;
	outline: none;
	padding: 0 13px;
	box-shadow: none !important;
}
form.search_box button {
	border: none;
	background: transparent;
	outline: none;
	padding: 2px 13px 2px 0px;
	font-size: 18px;
}
section.home_slider {
	height: 600px;
	overflow: hidden;
}
.home_slider .carousel-caption {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}
.carousel_caption {
	position: relative;
	height: 600px;
}
section.home_slider img {
	width: 100%;
	height: 600px;
	object-fit: cover;
}
.carousel_caption_inner {
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	text-align: left;
}
.carousel_caption_inner h5 {
	font-size: 3rem;
}
.certificate_check {
	background: var(--gray);
	padding: 40px;
}
.certificate_check p {
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0;
}
.certificate_check form {
	background: var(--white);
	max-width: 400px;
	border-radius: 30px;
	overflow: hidden;
	padding: 10px;
	margin-left: auto;
}
.certificate_check form button {
	background-color: var(--green);
	color: var(--white);
	border-radius: 30px;
	outline: none;
	border: none;
	display: inline-block;
	padding: 5px;
}
.certificate_check form input {
	border: none;
	width: calc(100% - 90px);
	padding-left: 10px;
	display: inline-block;
}
.certificate_check form button {
	background-color: var(--green);
	color: var(--white);
	border-radius: 30px;
	outline: none;
	border: none;
	display: inline-block;
	padding: 6px 20px;
}
section.home_trusted {
	padding: 100px 0;
}
.home_trusted h2 {
	margin-bottom: 20px;
	font-weight: bold;
}
section.home_services {
	padding: 50px 0;
}
section.home_services h2 {
	font-size: 2rem;
	margin-bottom: 30px;
	font-weight: bold;
}
.service_box {
	display: block;
	background: var(--black);
	padding: 20px;
	color: var(--white);
}
.page .service_box {
	margin-bottom: 30px;
}
.service_box h3 {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 20px;
	min-height: 87px;
}
.service_box.green {
	background: var(--green);
}
.service_box.blue {
	background: var(--blue);
}
.service_box.darkblue {
	background: var(--darkblue);
}
.service_box.navy {
	background: var(--navy);
}
.services_slider .owl-nav .owl-prev,
.services_slider .owl-nav .owl-next {
	width: 30px;
	height: 30px;
	background: var(--navy) !important;
	display: inline-block;
	margin-top: 10px;
	font-size: 34px !important;
	border-radius: 100%;
	color: var(--white) !important;
	position: relative;
	margin-right: 10px;
	transition: 0.2s all linear;
}
.services_slider .owl-nav .owl-prev span,
.services_slider .owl-nav .owl-next span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -55%);
	font-size: 42px;
}
.services_slider .owl-nav .owl-prev:hover,
.services_slider .owl-nav .owl-next:hover {
	background: var(--green) !important;
}
.services_slider .owl-stage-outer {
	margin-left: 70px;
}
.home_lab {
	margin-bottom: 50px;
}
.lab_bg {
	width: 100%;
	height: 450px;
	overflow: hidden;
	position: relative;
}
.lab_bg img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: calc(100% - 30px);
	object-fit: cover;
}
.lab_box {
	position: relative;
	z-index: 3;
	background: var(--blue);
	width: 50%;
	padding: 60px;
	height: 100%;
	color: var(--white);
}
.lab_box h2 {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 30px;
}
.lab_box p {
	font-size: 1.2rem;
}
.lab_box a {
	position: absolute;
	bottom: 60px;
	color: var(--white);
}
.home_news {
	padding: 50px 0;
}
.home_news h2,
h2 {
	font-size: 2rem;
	margin-bottom: 30px;
	font-weight: bold;
}
.news_box {
	background: #f3f3f3;
	padding: 20px;
	margin-bottom: 30px;
	transition: 0.2 all linear;
}
.news_box:hover {
	background: var(--darkblue);
	color: var(--white);
}
.news_box h4 {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 15px;
	min-height: 116px;
}
.news_box a {
	color: var(--green);
	font-weight: bold;
	transition: 0.2s all linear;
}
.news_box a:hover {
	color: var(--white);
}
.home_news h3,
.home_client h3 {
	font-size: 2rem;
	font-weight: bold;
	margin-bottom: 30px;
}
a.rounded_btn {
	display: block;
	width: fit-content;
	background: var(--green);
	color: var(--white);
	padding: 7px 15px;
	border-radius: 30px;
	margin-left: auto;
	transition: 0.2s all linear;
}
a.rounded_btn:hover {
	background: var(--darkblue);
	color: var(--white);
}
.home_client {
	padding: 50px 0;
}
.home_client .swiper {
	width: 100%;
	height: 300px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 50px;
}
.home_client .swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;
	height: calc((100% - 30px) / 2) !important;
	display: flex;
	justify-content: center;
	align-items: center;
}
.home_client .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
}
.home_client .swiper-pagination-bullet-active {
	background: var(--green);
}
footer.footer {
	background: var(--darkblue);
	padding: 50px 0;
	color: var(--white);
}
ul.footer_social {
	margin-bottom: 20px;
}
ul.footer_social li a {
	color: var(--white);
	font-size: 24px;
	margin-right: 10px;
}
.poweredby img {
	max-height: 20px;
	width: auto;
}
ul.footer_menu li {
	display: inline-block;
	width: 40%;
}
ul.footer_menu li a {
	color: var(--white);
	margin-bottom: 10px;
	display: inline-block;
}
ul.footer_menu li:nth-child(2n) {
	width: 30%;
}
.certificate_page {
	background: var(--gray);
	position: relative;
}
.certificate_content {
	width: 100%;
	padding: 100px 50px;
	position: relative;
	z-index: 3;
	min-height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.cert_bg {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 50%;
	background-size: cover;
}
.certificate_content {
	width: 100%;
	position: relative;
	z-index: 3;
	min-height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 50px;
}
.certificate_content.left {
	text-align: left;
}
form.cert_search {
	width: 70%;
}
form.cert_search button {
	display: block;
	width: 100%;
	border: none;
	outline: none;
	padding: 7px 20px;
	border-radius: 30px;
	background: var(--green);
	color: var(--white);
	margin-bottom: 10px;
	transition: 0.2s all linear;
}
form.cert_search button:hover {
	background: var(--darkblue);
}
form.cert_search input {
	display: block;
	border: none;
	padding: 10px 20px;
	border-radius: 30px;
	margin-bottom: 10px;
	outline: none;
	width: 100%;
}
.certificate_content a {
	color: #f44336;
	font-weight: bold;
}
.gmap iframe {
	width: 100%;
	margin-bottom: -10px;
}
section.contact_info {
	padding-bottom: 100px;
}
.contact_box {
	border: 2px solid var(--gray);
	border-bottom-width: 1px;
}
.contact_head,
.contact_inner {
	position: relative;
	padding: 20px;
}
.contact_head h4 {
	font-size: 16px;
	font-weight: 400;
}
.contact_head i {
	position: absolute;
	top: 20px;
	right: 20px;
}
.contact_inner {
	padding-top: 0;
}
.contact_inner p {
	font-weight: bold;
	margin: 0;
	font-size: 20px;
}
.contact_inner ul li {
	display: inline-block;
}
.contact_inner ul li a {
	font-size: 28px;
	display: inline-block;
	margin-right: 20px;
	color: var(--darkblue);
	transition: 0.2s all linear;
}
.contact_inner ul li a:hover {
	color: var(--green);
}

@media (max-width: 500px) {
	button.navbar-toggler {
		border: none;
		outline: none !important;
		box-shadow: none !important;
	}
	.navbar-toggler-icon {
		filter: invert(1);
	}
	.navbar-nav {
		margin: 20px 0 20px !important;
	}
	.navbar-nav li a {
		margin: 6px 0;
		display: inline-block;
	}
	ul.lang_switcher {
		max-width: 75px;
		margin-bottom: 10px;
		display: inline-block;
		vertical-align: top;
	}
	form.search_box {
		width: calc(100% - 160px);
		display: inline-block;
	}
	form.search_box input {
		width: calc(100% - 40px);
		padding: 4px 10px !important;
	}
	section.home_slider {
		height: 200px;
		overflow: hidden;
	}
	section.home_slider img {
		height: 200px;
	}
	.carousel_caption {
		position: relative;
		height: 200px;
	}
	.carousel_caption_inner h5 {
		font-size: 1.5rem;
		width: 50%;
	}
	.carousel_caption_inner p {
		display: none;
	}
	.certificate_check {
		padding: 40px 10px;
	}
	.certificate_check form input {
		width: calc(100% - 90px);
	}
	.services_slider .owl-stage-outer {
		margin-left: 30px;
	}
	.lab_bg {
		height: auto;
	}
	.lab_bg img {
		position: unset;
		transform: unset;
		height: calc(100% - 0px);
		object-fit: unset;
	}
	.lab_box {
		width: 100%;
	}
	.certificate_content {
		min-height: 250px;
	}
}
