/*
--------------------------------
Theme Name: McMahon Chauffeurs
Author: Stuart Cusack
Author URI: stuartcusack.ie
Description: Custom WordPress Theme for McMahon Chauffeurs
Version: 1.0
----------------------------------
*/


/*
|--------------------------------
| Contents:
|--------------------------------
| 1. Font Imports & Global Styling
| 2. Standard HTML Elements
| 3. WordPress Classes
| 3. Custom Structure Elements
| 4. Menus
| 5. Page Content
| 6. Header
| 7. Footer
| 8. General Pages and Posts Layout
| 9. Page Content / TinyMCE Formatting
| 10. Front Page
----------------------------------
*/


/*
--------------------------------------
| 1. Font Imports & Global Styling
--------------------------------------
*/

@import url('http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600,700|PT+Serif:400,700|Kite+One');

*
{
	box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	-webkit-box-sizing: border-box;
}

body
{
	font-family: "Open sans", sans-serif;
	color:#FFF;
	background-color: #616161;
	min-width: 320px;
	padding-bottom: 50px;
}


/*
--------------------------------------
| 2. Standard HTML Elements
--------------------------------------
*/

p
{
	font-size: 15px;
	line-height: 22px;
	color: inherit;
	margin-bottom: 25px;
	font-weight:400;
}

a
{
	text-decoration: none;
}

a:hover 
{
	text-decoration: underline;
}

strong
{
	font-weight: 700;
}

h1
{
	font-size: 30px;
	font-family: 'PT Serif', serif;
	font-weight: 400;
	line-height: 38px;
	padding-bottom: 5px;
	border-bottom: 1px solid #888;
	margin-bottom: 20px;
	color: inherit;
}

h2, h3, h4, h5, h6
{
	font-size: 24px;
	line-height: 30px;
	font-family: 'PT Serif', serif;
	font-weight: 400;
	margin-bottom: 25px;
	color: inherit;
}

ul {
	list-style: disc;
	margin-bottom:30px;
}

li 
{
	font-size: 15px;
	line-height: 22px;
	color: inherit;
	font-weight:400;
	margin-left: 20px;
}

hr {
	background-color: #9e9e9e;
	border: 0;
	height: 1px;
	margin-bottom: 20px;
}

hr.light
{
	background-color: #d1d3d4;
}

blockquote {
	display: block;
	position: relative;
	margin-bottom: 15px;
}

blockquote p:first-child:before {
  content: "\201C";
  color:#999;
  position: absolute;
  display: block;
  font-family: 'PT Serif', serif;
  font-size: 60px;
  font-style: normal;
  top:15px;
  left: -35px;
}

blockquote p:last-child:after {
  content: "\201D";
  color:#999;
  position: absolute;
  display: inline;
  font-family: 'PT Serif', serif;
  font-size: 60px;
  font-style: normal;
  margin-top: 10px;
  margin-left: 10px;
}

blockquote > blockquote {
	margin-left: 0;
}

blockquote p {
	margin-bottom: 15px;
	font-size: 16px;
	line-height: 28px;
	font-family: 'Kite One', serif;
	color:#EEE;

}

blockquote > p:last-child {
	margin-bottom: 0;
}

blockquote cite,
blockquote small {
	color: #333;
	font-size: 17px;
	line-height: 1.6471;
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

input[type="text"], input[type="password"], input[type="email"], textarea
{
	background-color: #BBB;
	margin-bottom: 15px;
	border: 1px solid #FFF;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;
	padding: 0 5px;
	font-size: 16px;
}

input[type="text"], input[type="password"], input[type="email"]
{
	height: 33px;
	line-height: 33px;
}

textarea
{
	padding: 5px;
}

input[type=text]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus {
	box-shadow: 0 0 5px #f7931e;
	border: 1px solid #f7931e;
	background-color: #FFF;
}

input[type="submit"]
{
	padding: 10px 15px;
	background-color: #f7931e;
	color:#FFF;
	border:0;
	font-size: 16px;
	font-weight: 700;
	cursor:pointer;
}

label
{
	font-size: 16px;
	font-weight: 300;
}

a
{
	color: #CDF;
}


/*
=========================================================
3. Wordpress Classes
=========================================================
*/

.wp-caption {
	background-color: #f5f5f5;
	padding: 10px;
	text-align: center;
}

p.wp-caption-text {
	font-size: 12px;
	line-height: 16px;
	padding: 5px 0;
}

.alignright {
	float: right;
	margin: 0 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 0 20px 20px 0;
}


img.centered, .aligncenter {
    display: block;
    margin: 0 auto 10px;
}


/*
=========================================================
4. Plugins
=========================================================
*/

/*SiteOrigin Page Builder*/
.panel-grid
{
	margin: 0 !important;
	padding-left: 25px;
	padding-right: 25px;
}

.panel-grid .panel-grid-cell:first-child
{
	padding-left: 0 !important;
}

.panel-grid .panel-grid-cell:last-child
{
	padding-right: 0 !important;
}


.so-panel
{

}

/*Contact Form 7*/
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea
{
	width: 500px;
	max-width: 100%;
	margin-bottom: 0;
}



/*
--------------------------------------
| 3. Custom Structure Elements
--------------------------------------
*/


.container
{
	width: 1100px;
	background-color: #343434;
	border-bottom: 7px solid #000;
	margin: 0 auto;
	box-shadow: 0 0 76px 0 rgba(0,0,0,0.2);
}

.light-bg
{
	background-color: #c9c9c9;
	color:#242424;
}

.uppercase
{
	text-transform: uppercase;
}


.panel
{
	padding: 35px 25px;
}

.panel p 
{
	text-align: justify;
}

.panel-dark-rounded
{
	padding: 15px 25px 15px 45px;
	background-color: #2D2D2D;
	border-radius: 5px;
}

.panel-dark-rounded p:last-child
{
	margin-bottom: 0;
}

.read-more
{
	font-family: 'PT Serif', serif;
	background-color: rgba(0,0,0,0.9);
	color: #FFF;
	padding: 10px 25px;
	border-radius: 4px;
}


#full-screen-overlay {
	display: none;
	position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background-color: #414042;
    opacity: 0.4;
    filter: alpha(opacity = 40); /* IE7 & 8 */
    z-index: 100;
}

/*Tablet Size*/
@media screen and (max-width: 1100px) {
	.container
	{
		width: 100%;
	}
}




/*Bootstrap Style Columns
--------------------------------------------------------*/
.col 
{
	display: block;
	float: left;
}

.col-6
{
	width: 50%;
}

.col-3
{
	width: 25%;
}


.col-4
{
	width: 33.33%;
}

.col-8
{
	width: 66.66%;
}

.col-9
{
	width: 75%;
}

/*Rows, for floated elements*/
.row
{
	position: relative;
}
.row:before,
.row:after {
  content: " ";
  display: table;
}
.row:after {
  clear: both;
}


.row-half-col .col-6
{

}


.row-third-col .col-4:first-child
{
	padding-right: 15px;
}

.row-third-col .col-4:nth-child(2)
{
	padding-right: 7.5px;
	padding-left: 7.5px;
}

.row-third-col .col-4:last-child
{
	padding-left: 15px;
}

/*Tablet Size*/
@media screen and (max-width: 850px) {

	.col-6
	{
		width: 100%;
		float: none;
	}

}



/*
--------------------------------------
| 5. Menus
--------------------------------------
*/

.menu-horizontal
{
	display: block;
	position: relative;
	display: block;
	width: 100%;
	list-style: none;
	margin-bottom: 0;
}
.menu-horizontal:before,
.menu-horizontal:after {
	content:"";
	display:table;
}
.menu-horizontal:after {
	clear:both;
}
.menu-horizontal {
	zoom:1; /* For IE 6/7 (trigger hasLayout) */
}

.menu-horizontal li
{
	float: left;
	margin-left: 0px;
	margin-right: 30px;
	line-height: inherit;	
}

.menu-horizontal .sub-menu
{
	position: absolute;
	background-color: #FFF;
	color:#454545;
	list-style: none;
	margin-bottom: 0;
	width: 300px;
}

.menu-horizontal .sub-menu li 
{
	float: none;
	white-space: nowrap;
}





/*
--------------------------------------
| 6. Page Content
--------------------------------------
*/

#main-wrap
{
	background-color: #FFF;
}



/*
--------------------------------------
| 7. Header
--------------------------------------
*/
header
{
	background-image: url("images/mercedes-header-bg.jpg");
	background-position: left bottom;
	display: block;
	position: relative;
	width: 1100px;
	height: 232px;
	overflow: hidden;
}


#hdr-info
{
	height: 46px;
	font-size: 14px;
	line-height: 42px;
	color:#cacaca;
	border-bottom: 4px solid #3a3a3a;
	background-color: rgba(0,0,0,0.9);
	padding: 0 12px;

}

#hdr-info i.fa 
{
	margin-right: 10px;
	font-size: 24px;
	color:#cacaca;

	display: inline-block;
	vertical-align: middle;
}

#hdr-info .phone
{
	margin-right: 45px;
	font-size: 16px;
	white-space: nowrap;
}

#hdr-info .email
{
	white-space: nowrap;
	margin-right: 45px;
}

#hdr-info .email, #hdr-info .email a
{
	color:#cacaca;
}

#hdr-info .email i.fa 
{
	margin-top: -4px;
}

#hdr-info .cc
{
	white-space: nowrap;
	float: right;
}

#hdr-info .cc img 
{
	margin-left: 10px;

	display: inline-block;
	vertical-align: middle;
	margin-top: -2px;
}

#hdr-logo-holder
{
	display: block;
	width: 100%;
	height: 150px;
}

#hdr-logo
{
	position: absolute;
	right: 0px;
	top:46px;
}

#hdr-logo-retina
{
	display: none;
}

#hdr-nav
{
	width: 100%;
	height: 36px;
	line-height: 36px;
	bottom: 0;
	border-top: 4px solid #3a3a3a;
	background-color: rgba(0,0,0,0.9);
	padding: 0 25px;
}

#hdr-nav a 
{
	display: block;
	font-family: 'PT Serif', serif;
	color: #FFF;
	position: relative;
	top: -4px;
}


#hdr-nav .current-menu-item a
{
	color: #AAA;
	border-top:4px solid #EEE;
	line-height: 28px;
}

#hdr-nav li:last-child
{
	float: right;
	margin-right: 0;
	margin-left: 30px;
}


/*Mobile menu, hidden by default*/
#mobile-nav-bar
{
	display: none;
	width: 100%;
	font-size: 16px;
    background: #343434;
    padding: 5px;
    height: 46px;
    position: relative;
    z-index: 300;
}

#mobile-nav-bar #mobile-nav-btn
{
	position: absolute;
	right: 30px;
	top:8px;
	height: 30px;
	width: 30px;
	outline: none;
	background-image:url('images/burger-menu.png');
	background-repeat: no-repeat;
}

#mobile-nav-bar #mobile-nav-btn:hover, #mobile-nav-bar.active #mobile-nav-btn
{
	background-image:url('images/burger-menu-hover.png');
}

#mobile-nav
{
	position: fixed;
	z-index: 200;
	left: 0;
	bottom:0;
	height: 100%;
	width:80%;
	background-color: #343434;
	overflow:visible;
}

#mobile-nav-logo-retina
{
	width:300px;
	max-width: 80%;
}



#mobile-nav ul
{
	list-style: none;
}

#mobile-nav ul li 
{
	line-height: 45px;
	margin-left: 0;
	cursor: pointer;
}

#mobile-nav ul li a:hover 
{
	background-color: #2d2d2f;
	color:#f8931d;
}

#mobile-nav ul li a 
{
	display: block;
	font-size: 15px;
	text-decoration: none;
	color:#FFF;
	font-weight: 700;
	line-height: 21px;
	padding: 12px 0 12px 24px; 
}



/*Tablet Size*/
@media screen and (max-width: 1100px) {
	header
	{
		width: 100%;
	}

}


@media screen and (max-width: 900px) {

	header
	{
		background-image: none;
		background-color: #000;
		height: auto;
	}

	#hdr-nav
	{
		display: none;
	}

	/*Time for the mobile nav*/
	#mobile-nav, #mobile-nav-bar
	{
		display: block;
	}

	#hdr-info
	{
		height: auto;
		text-align: center;
	}

	#hdr-info .email
	{
		margin-right: 0;
	}

	#hdr-info .cc
	{
		display: block;
		float: none;
	}

	#hdr-logo
	{
		display: none;
	}

	#hdr-logo-retina
	{
		display: block;
		position: absolute;
		left: 50%;
		margin-left: -170px;
		top:auto;
		width: 340px;
		max-width: 100%;
	}
}


@media screen and (max-width: 490px) {

	#hdr-info
	{
		padding-top: 10px;
		line-height: 30px;
		padding-bottom: 15px;
	}

	#hdr-info .email
	{
		display: block;
		margin-bottom: 10px;
	}

	#hdr-info .phone
	{
		display: block;
		margin-right: 0;
	}

	#hdr-info .cc
	{
		white-space: normal;
		line-height: 28px;
	}

}





/*
--------------------------------------
| 8. Footer
--------------------------------------
*/






/*
--------------------------------------
| 10. Page Content / TinyMCE Formatting
--------------------------------------
*/

#main-content
{
	padding-bottom: 40px;
}

#main-content.padded
{
	padding: 35px 25px;
}


/*
--------------------------------------
| 11. Front Page
--------------------------------------
*/

#fp-img
{
	position: absolute;
	right: 0;
	width: 50%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size:auto 100%;

	box-shadow: inset 0 0 200px #000;
}

.fp-service h2
{
	padding-bottom: 5px;
	border-bottom: 1px solid #888;
	margin-bottom: 20px;
}

.fp-service img
{
	max-width: 180px;
	height: auto;
}


@media screen and (max-width: 850px) {

	#fp-img
	{
		display: block;
		position: relative;
		right: auto;
		width: 100%;
		height: 400px;
		background-size: 100% auto;
		background-position: center top;
	}



}

@media screen and (max-width: 500px) {

	.fp-service img
	{
		display: block;
		float: none;
		margin-left: 0;
		margin-right: 0;
		max-width: none;
		width: 100%;
	}

}

@media screen and (max-width: 430px) {

	#fp-content h1 br
	{
		display: none;
	}

	#fp-img
	{
		height: 200px;

	}

}




/*
--------------------------------------
| 12. Fleet Page (ID:9)
--------------------------------------
*/

#post-9 h2
{
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 5px;
	font-family: "Open sans", sans-serif;
}

#post-9 .master-slider
{
	margin-bottom: 10px !important;
}

#post-9 p 
{
	margin-bottom: 10px;
}

#post-9 ul 
{
	list-style: none;
}

#post-9 li:before {
  content: "\f1b9"; /* FontAwesome Unicode */
  color:#BBB;
  font-family: FontAwesome;
  display: inline-block;
  font-size: 14px;
  margin-left: -20px; /* same as padding-left set on li */
  margin-right: 5px;
  width: 1.3em; /* same as padding-left set on li */
}