/*
Theme Name: MB Distribution
Author: Rotary Creative - Mark Feltwell
Author URI: http://www.rotarycreativegroup.co.uk/
Description: Graphic Design, Litho Printing, Digital Printing and Web Design in Stourport, Kidderminster, Worcester, Birmingham
Version: 1.0
Tags:
Text Domain: mb_dist
*/

/* MB Distribution Style */

@import url("css/root.css");

html {
	font-size: 13px;
}

@media (min-width: 576px) {
	html {
		font-size: 13px;
	}
}

@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
}

body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	color: #666;
}

.bkg-primary {
	background: #25346b !important;
	color: #fff;
}

.bkg-alt {
	background: #f8f8f8 !important;
}

.bkg-wh {
	background: #fff !important;
}

h1, h2, h3, h4, h5 {
	font-family: 'Raleway', sans-serif;
	color: #292929;
}

h1 {
	letter-spacing: 5px;
	text-transform: uppercase;
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 48px;
	color: inherit;
	margin-bottom: 25px;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 4.5rem;
	font-weight: 100;
	margin-bottom: 40px;
}

h4 {
	font-weight: 400;
  text-transform: uppercase;
	font-size: 1.5rem;
	color: inherit;
	margin-bottom: 25px;
}

h5 {
	font-size: 0.75rem;
	line-height: 24px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding-bottom: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid #555;
	color: inherit;
}

h5.h5-alt {
	border-bottom: none;
	text-align: center;
}

hr {
  border-top: 1px solid #ccc;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.foreground {
	z-index: 10;
	position: relative;
}

.btn {
	font-family: 'Raleway', sans-serif;
  border-radius: 50px;
  padding: 0 50px;
  height: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
	border-width: 2px;
	line-height: 46px;
}

.btn-sm {
	border-radius: 25px;
	padding: 0 25px;
	height: 30px;
	font-size: 0.6875rem;
	line-height: 27px;
}

.btn-outline-primary {
  color: #25346b;
  border-color: #25346b;
}

.btn-outline-primary:hover {
  background-color: #25346b;
  border-color: #25346b;
}

.btn-primary {
  background-color: #25346b;
  border-color: #25346b;
}

.btn-primary:hover,
.btn-outline-light:hover {
  color: #25346b;
  background-color: #fff;
  border-color: #fff;
	opacity: 0.9;
}

.fade-half {
  opacity: 0.5;
}

.flexy {
	display: flex;
	align-items: center;
}

.standard {
	padding: 100px 0;
	position: relative;
	background: #f8f8f8;
}

.standard h2 {
	line-height: 40px;
	margin-bottom: 65px;
	font-weight: 300;
}

.standard p {
	line-height: 24px;
	font-weight: 400;
	font-size:  0.8125rem;
}

.margB {
	margin-bottom: 30px;
}

/* Header ____________________________________________________________________*/

header {
	text-align: center;
	background-color: rgba(37,52,107,0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 65px;
	z-index: 100;
	position: absolute;
	width: 100%;
	transition: 0.3s;
	-webkit-transition: 0.3s;
}

header .logo {
	max-width: 192px;
	width: 100%;
	margin-bottom: 40px;
}

header#head_menu.sticky {
  position: fixed;
  top: -233px;
	background-color: rgba(37,52,107,0.4);
}

/* Menu ______________________________________________________________________*/

menu {
	margin: 0;
	padding: 0;
	color: #fff;
}

.hamburger {
  display: none;
	transition: 0.3s;
	-webkit-transition: 0.3s;
}

@media (max-width: 767.98px) {

	menu ul {
    visibility: hidden;
		opacity: 0;
		height: 0;
	}

	menu.drop ul {
		display: block;
    position: absolute;
    left: 0;
    background: #fff;
    color: #333;
    text-align: left;
    padding: 30px !important;
    padding-top: 85px !important;
    margin-top: -55px !important;
    z-index: -10;
		visibility: visible;
		opacity: 1;
		height: auto;
		width: 100%;
	}

	menu ul li {
    display: block !important;
    margin: 0;
    line-height: 1 !important;
	}

	menu ul li a {
    height: auto !important;
		padding: 10px 0;
	}

	.hamburger {
		display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    font-size: 1.3rem;
    z-index: 10;
	}

	.drop .hamburger {
		color: #333;
	}

	.drop .sub-menu {
		color: #fff;
		padding: 8px 0 !important;
	}

	.drop .menu-item-has-children:hover ul.sub-menu {
    top: 90px;
    z-index: 10;
	}
}

.hamburger svg {
  cursor: pointer;
}

menu ul {
	margin: 0;
	padding: 0;
}

menu ul li {
	list-style-type: none;
	display: inline-block;
	margin-right: 30px;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.812rem;
	line-height: 55px;
	letter-spacing: 1px;
}

menu ul li:last-child {
	margin-right: 0;
}

menu ul li a {
	color: inherit;
	transition: 0.3s;
	-webkit-transition: 0.3s;
	height: 55px;
	display: block;
}

menu ul li a:hover {
	color: inherit;
	text-decoration: none;
	opacity: 0.6;
}

.menu-item-has-children {
  position: relative;
  margin-right: 50px;
}

.menu-item-has-children:after {
  content: '\f078';
  font-family: "Font Awesome 5 Pro";
  position: absolute;
  top: 0;
  right: -20px;
}

menu ul.sub-menu {
	position: absolute;
	top: 70px;
	width: 200px;
  padding: 8px 0;
  background: #292929;
	transition: 0.3s;
	-webkit-transition: 0.3s;
	opacity: 0;
	visibility: hidden;
}

.menu-item-has-children:hover ul.sub-menu {
	top: 55px;
	opacity: 1;
	visibility: visible;
}

ul.sub-menu li {
  display: block;
	margin: 0;
}

ul.sub-menu li a {
	line-height: 24px;
	height: auto;
	padding: 6px 24px;
	text-align: left;
	opacity: 0.6;
}

ul.sub-menu li a:hover {
	opacity: 1;
}

/* Header Slider _____________________________________________________________*/

.head_slider {
  position: relative;
  top: 0;
  left: 0;
  overflow: hidden;
}

.head_slider,
.head_slider .carousel,
.head_slider .carousel-item {
	height: 600px;
}

@media (max-width: 767.98px) {
	.head_slider,
	.head_slider .carousel,
	.head_slider .carousel-item {
		height: 660px;
	}
}

.head_slider .carousel-item .slide_bkg{
	height: 100%;
	width: 100%;
	position: absolute;
  top: 0;
  left: 0;
  z-index: -5;
}

.head_slider .carousel-item .slide_bkg img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.head_slider .carousel-item .slide_bkg::before {
	position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #292929;
  opacity: 0.3;
  z-index: 2;
}

.slider_textBox {
	padding-top: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
	width: 600px;
  margin: auto;
  text-align: center;
}

@media (max-width: 767.98px) {
	.slider_textBox {
		width: auto;
		max-width: 600px;
		padding: 300px 15px 0;
	}
}

.slider_textBox p.slide_sub_text {
	margin-bottom: 40px;
}

.slide_buttons a .btn {
	margin-bottom: 10px;
}

/* Welcome ___________________________________________________________________*/

#spiders {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
}

.welcome {
	color: #fff;
	text-align: center;
	padding: 95px 0;
	position: relative;
}

.welcome_box {
	max-width: 750px;
	width: 100%;
	margin: 0 auto;
	position: relative;
}

.welcome h2 {
	font-weight: 400;
	text-transform: uppercase;
	margin-bottom: 40px;
	letter-spacing: 6px;
	color: inherit;
}

.welcome p {
  line-height: 28px;
	margin: 0;
}

.welcome p a {
  font-weight: 600;
	color: inherit;
}

.welcome p a:hover {
	color: inherit;
}

.button_box {
	margin-top: 40px;
}

.button_box a {
	display: block;
	margin: auto;
	margin-bottom: 25px;
}

.button_box a:last-child {
	margin-bottom: 0;
}

/* Service Boxes _____________________________________________________________*/

.service_box {
	background: #f8f8f8;
	padding: 95px 0;
}

.service_box p {
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 40px;
}

.service_box p span {
	text-transform: uppercase;
	display: block;
	letter-spacing: 2px;
  font-weight: 700;
	font-size: 0.75rem;
	color: #292929;
	margin-bottom: 15px;
}

/* Social ____________________________________________________________________*/

.social {
  padding: 110px 0;
  text-align: center;
}

.social ul {
	padding: 0;
	margin: 0;
}

.social ul li {
	list-style-type: none;
}

.social a {
  font-size: 5rem;
  color: #fff;
	transition: 0.3s;
	-webkit-transition: 0.3s;
}

.social a:hover {
	opacity: 0.8;
}

/* Footer ____________________________________________________________________*/

footer {
	background: #292929;
	color: #fff;
	position: relative;
	overflow: hidden;
	padding: 70px;
}

.foot-logo img {
	height: 120px;
	display: block;
  margin: 20px;
}

ul.address {
  margin: 0;
  padding: 0;
}

ul.address li {
  list-style-type: none;
	margin-bottom: 15px;
	font-size: 0.812rem;
  line-height: 1.4;
}

ul.address li.phone {
	line-height: 24px;
}

ul.address li:last-child {
	margin-bottom: 0;
}

ul.address li a {
  color: inherit;
	font-weight: 600;
}

.footer-bkg {
  position: absolute;
	left: -10%;
	top: -140%;
	opacity: 0.2;
}

.sub-footer {
	margin-top: 15px;
}

.sub-footer p {
	font-size: 0.75rem;
	color: #fefefe;
	opacity: 0.5;
}

.sub-footer p a {
	font-weight: 600;
	color: inherit;
}

.top-btn {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  text-align: center;
	z-index: 20;
}

footer .recent_posts h4 {
	display: none;
}

footer .recent_posts a {
	color: #fff !important;
}

footer .recent_posts a:hover {
	opacity: 0.75;
}

/* About _____________________________________________________________________*/

.banner {
	height: 455px;
  overflow: hidden;
  position: relative;
	background: #292929;
}

.banner .bkg_img {
	object-fit: cover;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.7;
}

.banner .title {
  position: relative;
  z-index: 5;
	color: #fff;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
	margin-bottom: 50px;
}

.about_page {
	text-align: center;
}

.nav-tabs {
  border: none;
	justify-content: center;
	margin-bottom: 50px;
}

.nav-tabs .nav-link {
	border-radius: 0;
	border: none;
	background: #eee;
	font-size: 0.75rem;
	line-height: 24px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 700;
	padding: 15px 0;
	width: 160px;
	color: inherit;
}

.nav-tabs .nav-link.active {
	background: #25346b;
  color: #fff;
}

.cust_link svg {
	margin-right: 15px;
}

.cust_link a {
	font-weight: 600;
  color: #25346b;
	font-size:  0.8125rem;
}

.cust_link a:hover {
	text-decoration: none;
	color: #1919d7;
}

/* Contact ___________________________________________________________________*/

.form-control {
	border-radius: 0;
	padding: 10px 20px;
}

.form-group label {
	font-size: 0.8rem;
}

::placeholder {
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #949494 !important;
}

/* News ______________________________________________________________________*/

.post_box {
	background: #fff;
}

.post_text {
	padding: 20px;
}

.postText h4 {
	text-transform: none;
	font-weight: 300;
	margin: 0;
}

.postText h4 a{
	color: #292929;
}


.postText h4 a:hover {
	text-decoration: none;
	color: #545454;
}

p.post-date {
	font-size: 0.68rem;
	text-align: right;
}

.recent_posts h4 {
	color: #292929;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 800;
	border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}

.recent_posts ul {
  margin: 0;
  padding: 0;
}

.recent_posts ul li {
  list-style-type: none;
}

.recent_posts ul li a {
	font-weight: 600;
	color: #25346b;
	font-size: 0.8125rem;
}

.recent_posts ul li a:after {
	font-family: "Font Awesome 5 Pro";
	content: '\f061';
	font-weight: 300;
	margin-left: 15px;
	font-size: 0.75rem;

}

.recent_posts ul li a:hover {
	text-decoration: none;
	color: #1919d7;
}

.recent_posts ul li span {
	display: block;
	font-size: 0.7rem;
}

/* Single News Page __________________________________________________________*/

.single_page {
	background: #fff;
}

.single_page .post_image {
  text-align: center;
  max-height: 400px;
  height: 400px;
  width: 100%;
}

.single_page .post_image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

span.p-date {
  color: #fff;
  background: #263669;
  padding: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 10px;
}

.single_page .post_box p {
	font-size: 1.2rem;
}

.single_page .post_box p {
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 400;
}

/* Services Pages ____________________________________________________________*/

.secondary_box h2 {
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 6px;
	line-height: 40px;
	font-size: 2rem;
	font-weight: 500;
	margin: 0;
}

.service_content {
	padding: 130px 15%;
}

.service_content h3 {
	font-size: 2rem;
	font-weight: 300;
	line-height: 40px;
	margin-bottom: 25px;
}

.service_content p {
  line-height: 28px;
}

ul.content_list {
  margin: 0;
}

.content_list li {
	list-style-type: none;
	position: relative;
	font-size: 0.8125rem;
	color: #666;
	line-height: 32px;
}

.content_list li:before {
  content: '\f00c';
  font-family: "Font Awesome 5 Pro";
  position: absolute;
  left: -30px;
  font-weight: 100;
}

.content_image {
	height: 100%;
  width: calc(100% + 30px);
  position: relative;
  left: -15px;
}

.content_image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
