/*
Theme Name: Baylie
Theme URI: http://themetrust.com/baylie
Description: A Bold Agency Theme
Version: 1.5
Author: ThemeTrust
Author URI: http://themetrust.com
Tags: portfolio, responsive, blog, clean, minimal, white, two-columns, threaded-comments, translation-ready, custom-menus

TABLE OF CONTENTS

01 - Reset
02 - Global
03 - General Layout
04 - Header
05 - Content
06 - Slideshow
07 - Sidebar
08 - Widgets
09 - Comments
10 - Pagination
11 - Footer
12 - Media Queries
*/

/* /////////////////////////////////////////////////////////////////////
//  01 - Reset
/////////////////////////////////////////////////////////////////////*/

/**

 HTML5 & 4 reset stylesheet
 Adapted from YUI & HTML5 Doctor
 v1.0

**/


html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,img,abbr,acronym,address,big,cite,code,del,dfn,em,font,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,hgroup,menu,nav,summary,time,mark,audio,video,header,footer {
    margin:0;
    padding:0;
    border:0;
    font-weight:inherit;
    font-style:inherit;
    font-size:100%;
    font-family:inherit;
    vertical-align:baseline;
    background:transparent;
}

html {
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
    -webkit-text-size-adjust:none;
    -ms-text-size-adjust:none;
	overflow-y: scroll;
}

ol,ul {
	list-style:none;
}

article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,img {
    display:block;
}

blockquote,q {
    quotes:none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    border:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration:line-through;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

strong{font-weight:bold;}
em{font-style:italic;}

input,
select {
    vertical-align:middle;
}

table {
	border-collapse:separate;
	border-spacing:0;
}
caption,
th,
td {
	text-align:left;
	font-weight:normal;
}

input {
	vertical-align:middle;
}
img,
object,
embed {max-width: 100%;}

.homeSection img,
.post p img,
.page p img,
.project p img,
.postThumb,
div.wp-caption img {
	max-width: 100% !important;
	height: auto;
}

.wp-caption {
	max-width: auto !important;
	width: auto !important;
}

.wp-caption-text {
	padding: 5px 0 0 0;
	font-style: italic;
}

img{
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Isotope ----------- */

.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:         top, left, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

.isotope-item {
	z-index: 2;
}

.isotope-hidden.isotope-item {
	pointer-events: none;
	z-index: 1;
}

.fade {
   opacity: 1;
   transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
}

.fade:hover {
   opacity: 0.5;
}

/* /////////////////////////////////////////////////////////////////////
//  02 - Global
/////////////////////////////////////////////////////////////////////*/

body {
	font-size: 100%;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	width:auto; height:auto;
	margin: 0;
	color: #6a6a6a;
	background-color: #fff;
	font-weight: normal;
}

p {
	line-height: 1.7em;
	font-size: 1em;
	margin: 0 0 20px 0;
	font-weight: normal;
	font-style: normal;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

li {
	margin: 0 0 0 0;
	padding: 0;
}

img {
	margin: 0;
}

img.left {
	margin: 0 15px 15px 0;
	float: left;
}

a {
	text-decoration: none;
	outline: none;
}

a{
	color: #4da7ca;
}

a:hover {
	color: #4290ae;
}

a img {
	border:none;
}

h1, h2, h3, h4, h5, h6{
	margin: 0 0 15px 0;
	color: #1f1f1f;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1 {font-size: 2.5em;}
h2 {font-size: 2.2em;}
h3 {font-size: 1.9em;}
h4 {font-size: 1.6em;}
h5 {font-size: 1.3em;}

blockquote, address {
	margin: 0 0 30px 0;
	padding: 0 30px 0 30px;
	font-style: italic;
	font-size: 1.2em;
	font-family: Georgia, Times, "Times New Roman", serif;
	border-left: 5px solid #ccb676;
}

code {
    font-family: "Courier New", Courier, serif;
	overflow: auto;
	padding: 2px;
	background: #fff;
}

pre code {
	background: none;
}

pre {
    margin: 0 0 20px;
	padding: 10px;
	background: #f7f7f7;
	overflow: auto;
	border: 1px solid #e4e4e4;
	font-family: "Courier New", Courier, serif;
}

.left {
	float: left;
}

.right {
	float: right;
}

.meta {
	color: #b0b0ad;
}

.meta a{
	color: #7d7d7b !important;
}

.meta a:hover{
	color: #b0b0ad !important;
}

input[type="email"], input[type="text"], input[type="password"], textarea {
	background-color: #fafafa;
	padding: 15px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #6a6a6a;
	border: 1px solid rgba(0,0,0,.05);
	border-bottom: 2px solid rgba(0,0,0,.1);
	background:	#f7f7f7;
	font-size: .9em;
	-webkit-appearance: none;
}

input[type="text"]:focus {outline: none; background-color: #f7f7f7;}
textarea:focus {outline: none; background-color: #f7f7f7;}

textarea { width: 80%; line-height: 1.6em; }



/* Clearfix ----------- */

/* Some clearfix code from HTML5 Boilerplate */
.clearfix:before, .clearfix:after, .single-theme .features:before, .single-theme .features:after {
	content: "\0020";
	display: block;
	height: 0;
	visibility: hidden;
}

.clearfix:after, .single-theme .features:after {
	clear: both;
}

.clearfix, .single-theme .features {
	zoom: 1;
}

a.action {
	font-style: italic;
}

/* //////////////////////////////////////////////////////////////////////
//  03 - General Layout
//////////////////////////////////////////////////////////////////////*/

#container {
	width: 100%;
	margin: 0 auto;
}

#middle {
	margin: 0 auto;
	background: #fff;
	padding: 1px 30px 0;
	position: relative;
	-webkit-backface-visibility:hidden; /* Chrome and Safari */
	-moz-backface-visibility:hidden; /* Firefox */
	-ms-backface-visibility:hidden; /* Internet Explorer */
	max-width: 62.5em !important;
	z-index: 100;
}

.home #inner {
	max-width: 62.5em !important;
	margin: 0 auto;
	padding-top: 40px;
}

.home #middle {
	max-width: 100% !important;
	padding: 0 30px;
}

.page-template-page-portfolio-php #middle, .tax-skill #middle {
	padding: 0 !important;
	max-width: 100% !important;
	background: #f8f8f8;
}

.page-template-page-home-php #middle {
	padding: 0 !important;
	max-width: 100% !important;
}

.home #wrap {
	padding-top: 0 !important;
}

#main {
	margin: 0 auto 0;
	padding: 0 0 0;
	background: #fff;
}

#main.full {
	background: none;
}

#content {
	padding: 0 0 0 0;
	float: left;
	margin: 0 0px 0 0;
	position: relative;
	width: 62.5%;
}

#sidebar {
	width: 26.5%;
	float: right;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

#footer {
	width: 100%;
	margin: 0 auto;
}

.twoThirds {
	width: 70%;
}

.oneThird {
	width: 30%;
}

.oneQuarter {
	width: 25%;
}

/*////////////////////////////////////////////////////////////////////////
//  04 - Header
///////////////////////////////////////////////////////////////////////*/

#header{
	position: relative;
	padding: 0 0 0 0;
	margin: 0 0 0 0!important;
}

.home #header{
	text-align: center;
}

.home.has-slideshow #header .top{
	width: 100%;
	top: 0;
	z-index: 0 !important;
	text-align: center;
}

.home.has-slideshow #header .bottom {
	z-index: 101 !important;
}

#header .inside{
	padding: 15px 30px 15px 30px;
	margin: 0 auto !important;
	max-width: 62.5em;
	margin: 0 auto;
	position: relative;
}

#header .bottom {
	position: relative;
	width: 100%;
}

.gecko #header .bottom{
	z-index: 500;
}

#header .bottom .surround {
	background: #fff;
	-moz-box-shadow: 0 0px 1px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0px 1px rgba(0,0,0,0.5);
	box-shadow: 0 0px 1px rgba(0,0,0,0.5);

}

#mainNav .tinynav {
	display: none;
}

#logo {
	display: inline-block;
	margin: 0px 0 0 0;
	float: left;
	padding: 0;
}

#logo h1, #logo h3 {
	margin: 0 !important;
	line-height: 1em !important;
	padding: 0 !important;
	font-size: 1.5em;
	font-weight: bold;
	color: #555555;
}

#header h1 a, #header h1 a:hover,#header h3 a, #header h3 a:hover {
	color: #555555 !important;
}

#header .stuck {
	position:fixed;
	top:0;
	width: 100%;
	-webkit-backface-visibility:hidden;
	z-index: 500;
}

.admin-bar #header .stuck {
	top:28px;
}

#stickyNavWrap {background: #000 !important; z-index: 300;}

/* Top level navigation */


#mainNav li{
	margin: 0 0 0 30px;
	display: inline-block;
	padding: 0;
}

#mainNav ul a{
	line-height: 25px;
	color: #8f8f8f;
	font-size: .9em;
	font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
}

#mainNav ul ul a{
	line-height: 15px;
	font-weight: normal;
	border-top: none;
}

#mainNav ul li.current a,
#mainNav ul li.current-cat a,
#mainNav ul li.current_page_item a,
#mainNav ul li.current-menu-item a,
#mainNav ul li.current-post-ancestor a,
.single-post #mainNav ul li.current_page_parent a,
#mainNav ul li.current-category-parent a,
#mainNav ul li.current-category-ancestor a,
#mainNav ul li.current-portfolio-ancestor a,
#mainNav ul li.current-projects-ancestor a {
	text-decoration: none;
	color: #2e2e2e;
}

#mainNav ul li.sfHover a,
#mainNav ul li a:hover,
#mainNav ul li:hover {
	text-decoration: none;
	color: #2e2e2e;
}

/* Second level+ dropdowns */

#mainNav ul ul {
	padding: 20px 0px 0 0px !important;
	margin-top: -10px;
	background: #fff;
	-moz-box-shadow: 0 0px 1px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0px 1px rgba(0,0,0,0.5);
	box-shadow: 0 0px 1px rgba(0,0,0,0.5);
}


#mainNav ul ul ul {
	padding-top: 20px !important;
	margin-left: -1.25em;
	margin-top: -5px;
}

#mainNav ul ul li {
	float: none;
	background: none;
	margin: 0 5px 10px 20px !important;
	text-align: left;
}

#mainNav ul ul li a {
	padding: 0px 0 10px 0;
	font-weight: normal;
	border: none !important;
}

#mainNav ul li.sfHover ul a { color: #7b7b7b!important; }

#mainNav ul li.sfHover ul a:hover { color: #fff!important; }

/** arrow **/

#mainNav .sf-menu a.sf-with-ul {
	position: relative;
	min-width:		1px;
}

.sf-sub-indicator {
	position: absolute;
	bottom: 0px;
	display: block;
	width: 100%;
	text-indent: -999em;
	overflow: hidden;
	z-index: 200;
	height: 40px;
}

.sfHover .sf-sub-indicator {

	bottom: -10px;
}

#mainNav .sf-menu li ul .sf-sub-indicator {
	display: none;
}

#mainNav .sf-menu li ul .sfHover .sf-sub-indicator {
	position: absolute;
	top: 0;
	right: -1px;
	left: none;
	display: block;
}

.sfHover a.sf-with-ul .sf-sub-indicator {
	height: 30px;
}

.children .sf-sub-indicator {
	display: none;
}



/*////////////////////////////////////////////////////////////////////
//  05 - Content
////////////////////////////////////////////////////////////////////*/

#content {
	margin: 0 auto 40px;
	padding: 0 0 0 0 !important;
	width: 68%;
	float: left;
}

#content .videoContainer {margin-bottom: 30px;}

#content.full {
	margin: 0 0;
	padding: 0 0 0 0 !important;
	width: 100%;
}

#content.full.grid {
	margin: 0 0 20px 0%;
}

.home #content.full, .page-template-page-home-php #content.full {
	width: 100%;
}

.page-template-page-full-width-php #content {
	margin-bottom: 20px;
}

#content.fullProjects{
	width: 100%;
}

#content.twoThirds .page {
	width: 99%;
}

#content h1 a,
#content h2 a,
#content h3 a,
.widgetBox h3 a,
#slideshow .slideText h3 a,
#content h4 a,
#content h5 a{
	color: #2e3133;
}

#content h1 a:hover,
#content h2 a:hover,
#content h3 a:hover,
.widgetBox h3 a:hover,
#slideshow .slideText h3 a:hover,
#content h4 a:hover,
#content h5 a:hover{
	color: #a7a7a3 ;
}

#content .postThumb{
	margin: 0 0 20px 0 !important;
}


#pageHead {
	padding: 70px 30px 60px;
	margin: 0 0 40px 0;
	text-align: center;
	background: #f8f8f8;
}

#pageHead .inside {
	max-width: 62.5em;
	margin: 0 auto;
	position: relative;
}

#pageHead h1 {
	font-size: 2.5em;
	line-height: 1.3; /* .7em */
	padding: 0;
	margin-bottom: 0;
	display: inline-block;
}

#pageHead p {
	margin: 0!important;
	padding: 15px 0 0 0!important;
	color: #b2b2b2;
	line-height: 1em;
}

.page-template-page-portfolio-php #pageHead {
	margin-bottom: 0;
	padding-bottom: 40px;
}

.tax-skill #pageHead {
	margin-bottom: 0;
	padding-bottom: 60px;
}

h2.extraSpacing { padding-top: 10px; }

.boxItem {
	padding: 30px 0 15px;
}

/*Posts ------------------*/

.page #content .post {
	margin: 0 0 0px 0px;
	border: none;
}

.post .meta, .attachment .meta {
	margin: -5px 0 25px 0;
	padding: 0 0 0px 0;
	font-size: .85em;
	line-height: 1.5em;
}

#content .moreLink a {
	font-size: 1em;
	background: #f0f0f0;
	display: inline-block;
	color: #7d7d7b !important;
	padding: 7px 11px 7px !important;
	border: none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	line-height: 1em;
	text-transform: uppercase;
	font-weight: bold;
}

#content .moreLink a:hover {
	background: #e6e6e6;
}


#content .post.lastPost {
	background: none;
}

#content .post {
	margin: 0 0 50px 0px;
	position: relative;
	padding-bottom: 10px;
	width: 98%;
}

.blog #content.full .post h2, .archive #content.full .post h2, #content.full .post h1, #content.full .post .meta, #content.full .post .moreLink {
	text-align: center;
}

.single .post a {
	color: #60bca4;
	font-weight: bold;
}
.single .post a:hover {
	text-decoration: underline;
}

.post.small .inside {
	background: #fff;
}

.post.small .inside .text {
	margin:  0 30px;
	padding: 30px 0 20px;
}

.search #content .post {
	min-height: 50px;
}

/*Home ------------------*/

/*

#homeMessage {
	background: #252525;
	color: #fff;
	padding: 70px 0;
}

#homeMessage.light{
	color: rgba(0,0,0,.7);
}

#homeMessage .inside{
	max-width: 62.5em !important;
	margin: 0 auto;
	font-family: "Droid Serif", "Georgia", serif;
}

#homeMessage .inside p {
	font-size: 32px;
	line-height: 46px;
	text-align: center;
	margin: 0 30px;
}

#homeMessage .inside p strong {
	display: block;
	font-size: 37px;
	line-height: 46px;
	margin-bottom: 20px;
}

*/

.homeSection {
	padding: 80px 0 50px;
}

.homeSection .sectionHead h3 {
	font-size: 2.8em;
	margin: 0 0 0 0;
	clear: both;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #2b2b2b;
}

.homeSection .sectionHead {
	max-width: 63.5em !important;
	padding: 0 0 15px!important;
	margin: 0 auto 15px;
	text-align: center;
}

.homeSection .sectionHead p{
	font-size: 1em;
	margin: 0 0 15px 0;
}

.homeSection .sectionHead .inside{
	margin: 0 15px 0;
}

/*Testimonials ------------------*/

#testimonials.homeSection {
	padding: 0 !important;
	margin: 0 !important;
}

#testimonials .sectionHead p{
	background: none;
}

#testimonials p span {
	background: none;
}

#content #testimonials .flexslider{
	background: transparent;
	padding: 0 !important;
	margin: 0 !important;
}

#content #testimonials .flexslider .slides{
	background: transparent;
	margin: 0 auto !important;
}

.slides .testimonial {
	width: auto;
	height: 500px;
}

.slides .testimonial .inside{
	height: 100%;
	display: table !important;
	margin: 0 auto;
}

.slides .testimonial .text{
	max-width: 900px;
	padding: 0 30px !important;
	color: #fff;
	display: table-cell !important;
	vertical-align: middle;
	font-size: 1.8em;
}

.slides .testimonial .text p {
	font-size: 1em;
	font-family: "Droid Serif", "Georgia", serif;
}

.slides .testimonial .text .title {
	font-size: .7em;
	padding-top: 40px;
	display: block;
	font-style: italic;
}

#testimonials .flex-direction-nav a {display: none;}
#testimonials .flex-control-nav {bottom: 30px !important;}
#testimonials .flex-next:hover, #testimonials .flex-prev:hover {opacity: 0.8;}


.testimonial .left{
	float: left;
}

.testimonial .left img{
	border-radius: 95px;
}

/*Featured Pages------------------*/

#featuredPages {
	padding: 60px 0 30px 0;
	width: 100%;
	max-width: none;
}

#featuredPages li.page{
	text-align: center;
	margin-bottom: 30px !important;
	background: transparent !important;
}

#featuredPages li.page .inside{
	max-width: 600px;
	margin: 0 auto !important;
}

#featuredPages li .thumb{
	margin-bottom: 30px;
}

#featuredPages li .image{
	display: inline-block;
}

#featuredPages li .title{
	font-size: 2.8em;
	line-height: 1.2em;
	margin: 0 30px 30px!important;
	display: block;
	color: #2b2b2b;
}

#featuredPages li p{
	font-size: 1.3em;
	color: #bbbbbb;
	margin: 0 30px !important;
}

#featuredPages li .title a{
	color: #2b2b2b;
}


/*Home Posts ------------------*/

#homePosts {

}

.homeSection .posts {
	margin: 0 auto;
}

/*Home Content ------------------*/

#homeContent.homeSection {
	padding: 70px 0 45px!important;
}

#homeContent.homeSection .inside{
	padding: 0 30px !important;
	max-width: 1000px;
	margin: 0 auto;
}

#homeContent.homeSection p {
	margin-bottom: 30px!important;
}

#homeContent {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

#homeContent p, #homeContent img{
	margin-bottom: 0 !important;
}

.home #content, .home #middle {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/*Projects------------------*/

#projects {
	margin: 0 auto;
	padding: 0;
	display: block;
	position: relative;
}

#projects.homeSection {
	padding-bottom: 0px;
	padding-top: 0;
}

.thumbs {
	margin: 0 auto;
}

#content #projects li{
	padding: 0;
	background: none;
}

.project.small, .isotope-item{
	display: block;
	position: relative;
	float: left;
	margin: 0 0 0 0;
	height: auto !important;
	padding-bottom: 0;
	zoom: 1;
	visibility: hidden;
	float: left;
}

#content .project.small img, .isotope-item img{
	width: 100% !important;
	height: auto;
	-moz-transition-property: opacity;
	-webkit-transition-property: opacity;
	-o-transition-property: opacity;
	transition-property: opacity;
	-moz-transition-duration: 0.4s;
	-webkit-transition-duration: 0.4s;
	-o-transition-duration: 0.4s;
	transition-duration: 0.4s;
}

#content .project.small p{
	font-size: .9em;
}

#content .project.small .inside{
	background: #85bec4;
}

.project.small .inside {
	position: relative;
	margin: 0 auto !important;
}

#content .project.small a{
	position: relative;
	display: block;
	margin: 0 auto;
	-webkit-backface-visibility: hidden;
	color: #6a6a6a;
}

#content .project.small a:hover img{
	opacity: .1;
	position:relative;
	-webkit-backface-visibility: hidden;
}

#content .project.small.go-xtra a:hover img{
	opacity: .5;
}

#content .project.small a:hover .title{
	opacity: 1;
	top: 50%;
	-webkit-backface-visibility: hidden;
}

#content .project.small .title {
	font-size: 1.2em;
	color: #fff;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
	display: block;
	position: absolute;
	top: 50%;
	margin: -20px auto 0 !important;
	width: 100%;
	-moz-transition-property: opacity;
	-webkit-transition-property: opacity;
	-o-transition-property: opacity;
	transition-property: opacity;
	-moz-transition-duration: 0.5s;
	-webkit-transition-duration: 0.5s;
	-o-transition-duration: 0.5s;
	transition-duration: 0.5s;
	opacity: 0;
}

#content.project {
	width: 100%;
}

.projectNav {
	padding-top: 3px;
}

.projectNav.next {
	float: left;
}

.projectNav.previous {
	float: right;
}

.projectNav a{
	font-size: 1em;
	background: #f0f0f0;
	display: inline-block;
	color: #7d7d7b!important;
	padding: 7px 11px 7px !important;
	border: none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	line-height: 1em;
	text-transform: uppercase;
	font-weight: bold;
}

.projectNav a:hover{
	color: #484848;
}

.single-project .project .meta {
	text-align: center;
	padding: 30px 0 40px;
	margin: 0 auto;
}

#content .skillList{
	padding: 20px 0 20px !important;
	margin: 0 auto 20px !important;
	display: inline-block;
}

.skillList li{
	background: none;
	margin: 0 5px 5px 0 !important;
	display: inline-block;
}

.skillList li span a{
	font-size: 1em;
	background: #f0f0f0;
	display: inline-block;
	color: #7d7d7b!important;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	padding: 7px 11px 7px !important;
	border: none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	line-height: 1em;
	text-transform: uppercase;
	font-weight: bold;
}

.skillList li span a:hover{
	background: #6a6a6a;
	color: #fff !important;
}

/*Theme Filter Navigation------------------*/
#content .filterWrap {
	text-align: center;
}

#content #filterNav{
	padding: 0!important;
	margin: 0 auto 40px auto!important;
	width: auto;
	text-align: center;
	width: 100%;
	position: relative;
}

#content #filterNav li{
	padding: 0px 0 0 0;
	background: none;
	margin: 0 8px 8px 0;
	display: inline-block;
}

#filterNav li a{
	font-size: 1em;
	background: #f0f0f0;
	display: inline-block;
	color: #7d7d7b!important;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	padding: 7px 11px 7px !important;
	border: none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	line-height: 1em;
	text-transform: uppercase;
	font-weight: bold;
}

#filterNav li a:hover {
	background: #929292;
	color: #fff !important;
}

#filterNav .selected, #filterNav a.selected:hover {
	background: #929292;
	color: #fff !important;
}

/*Column Shortcodes------------------*/

.one_half{ width:48%; }
.one_third{ width:31%; }
.two_third{ width:65.33%; }
.one_half,.one_third,.two_third{ position:relative; margin-right:3%; float:left; }
.last{ margin-right:0 !important; clear:right; }
.clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}


/*Buttons------------------*/

.button, a.button, #footer a.button, #searchsubmit, input[type="submit"]   {
	background: #79d1bb;
	display: inline-block;
	color: #fff;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	padding: 15px 20px;
	border: none;
	border-bottom: 3px solid rgba(0,0,0,.2);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	margin: 0 3px 0 0;
	line-height: normal !important;
	-webkit-appearance: none;
	font-size: .9em;
	font-weight: bold;
	-webkit-transition: background-color 0.5s ease;
    -moz-transition: background-color 0.5s ease;
    -o-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#searchsubmit {
	padding: 5px 15px 6px;
}

.home .slideshow a.button:hover, .button:hover, #footer a.button:hover, #searchsubmit:hover, input[type="submit"]:hover {
	color: #fff;
	-webkit-transition: background-color 0.5s ease;
    -moz-transition: background-color 0.5s ease;
    -o-transition: background-color 0.5s ease;
    transition: background-color 0.5s ease;
	background: #707070 !important;
}

.home .slideshow a.button {
	font-size: .6em;
	color: #fff;
	background: #aa6d68;
	padding: 13px 17px 13px;
	margin-top: 20px;
}


/*Images------------------*/

#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px !important;
	margin-top: 4px;
}

#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}

#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#content img.alignleft,
#content img.alignright,
#content img.aligncenter {
	margin-bottom: 12px;
}

/*Gallery------------------*/

.gallery {
	padding-top: 15px;
	margin-bottom: 25px!important;
}

.gallery-item {
	margin-top: 0px!important;
	margin-bottom: 25px!important;
}

.gallery img {
	border: none!important;
}

/*Lists------------------*/

#content ul{
	margin:  0 0 25px 20px;
	list-style-type: disc;
}

#content ul li{
	margin: 0 0 10px 0;
	line-height: 1.4em;
	font-size: 1em;
}

#content ol li{
	margin: 0 0 10px 0;
	line-height: 1.4em;
}

#content ol{
	margin: 0 0 20px 20px;
	list-style-type: decimal !important;
}

#content ul ul, #content ol ul, #content ul ol, #content ol ol {
	padding-top: 10px;
}

#content ul ul li, #content ol ul li, #content ul ol li, #content ol ol li{
	font-size: 1em !important;
}

/*Contact------------------*/
#contact-header {
	margin-top: 60px;
	font-weight: bold;
	font-size: 18px;
}

/*////////////////////////////////////////////////////////////////////
//  06 - Slideshow
////////////////////////////////////////////////////////////////////*/

#content .flexslider {
	margin: 0 0 10px 0 !important;
}

.flexslider p {
	margin: 0 !important;
}

.slideshow li, #content .flexslider li, #content .flexslider ol {
	list-style: none !important;
	list-style-type: none !important;
}

#content .flexslider ol {
	padding-bottom: 5px !important;
	margin-bottom: 0 !important;
}

#content .flexslider .slides {
	margin: 0;
}

/* FlexSlider Theme------------------*/

.flexslider {  min-height: 100px; border: 0 !important; margin: 0 0 0 0!important; padding: 0 0 1px 0 !important; background: transparent !important; border: none; position: relative; -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; -o-border-radius: 0!important; border-radius: 0!important; box-shadow: none !important; -webkit-box-shadow: none!important; -moz-box-shadow: none!important; -o-box-shadow: none!important; zoom: 1;}
.flexslider .slides li{	margin-bottom: 0 !important; }
.flexslider .slides li p{ margin: 0 !important; }
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}
.flexslider .slides img { height: auto; max-width: 100%; width: auto !important; margin: 0 auto;}
.flex-direction-nav, .flex-control-nav, .flex-caption { margin-bottom:0 !important;}
.flexslider .slides > li:first-child {display: block; -webkit-backface-visibility: visible;}

/* Caption style */
/* IE rgba() hack */

.flex-caption {width: auto; position: absolute; color: #fff; }
.flex-caption p {font-size: .9em !important; margin-bottom: 0;}

/* Direction Nav */

.flex-direction-nav {
	position: absolute;
	width: 100%;
	margin: 0 0 15px !important;
	right: 0;
	bottom: 50%;
	display: block;
}

.flex-direction-nav li a { z-index: 100; width: 31px!important; height: 31px; display: block; cursor: pointer; text-indent: -9999px; border-radius: 15px; margin-top: 0; background-size: 15px 15px !important;}
.flex-direction-nav li a.flex-next {right: 30px !important; background: rgba(0,0,0,0.2) url(/wp-content/themes/baylie/images/flexslider/direction_next.png) no-repeat center center;}
.flex-direction-nav li a.flex-next:hover {}
.flex-direction-nav li a.flex-prev {left: 30px !important; background: rgba(0,0,0,0.2) url(/wp-content/themes/baylie/images/flexslider/direction_prev.png) no-repeat center center;}
.flex-direction-nav li a.flex-prev:hover {  }
.flex-direction-nav li a.disabled {opacity: .3; filter:alpha(opacity=30); cursor: default;}
.flex-direction-nav .flex-disabled {display: none;}

/* Control Nav */

.flex-control-nav { position: absolute; margin: 0!important; bottom: 0px !important; left: 0 !important; right: 0 !important; width: auto !important; z-index: 100;}
.flex-control-nav li {width: 6px !important; height: 6px !important; margin: 0 0 0 15px !important; display: inline-block !important; z-index: 100;}
.flex-control-nav li:first-child {margin-left: -10px !important;}
.flex-control-paging li a {width: 100% !important; height: 100% !important; display: block !important; background: none !important; cursor: pointer; text-indent: -9999px; box-shadow: none !important; border: 3px solid rgba(255,255,255,.3); transform: rotate(45deg); -ms-transform: rotate(45deg); -webkit-transform: rotate(45deg); -webkit-border-radius: 0px !important; -moz-border-radius: 0px !important; -o-border-radius: 0px !important; border-radius: 0px !important;}
.flex-control-nav li a:hover {border: 3px solid rgba(255,255,255,1); !important;}
.flex-control-nav li a.flex-active {background: rgba(255,255,255,0.7) !important; cursor: default !important; border: 3px solid rgba(255,255,255,0); }

.normal .flex-direction-nav { margin-top: -15px !important;}
.normal .flex-control-nav { margin: 0; padding-top: 15px; position: relative !important; bottom: 0 !important; right: 0 !important; width: auto !important; }
.normal .flex-direction-nav li a.flex-next { background-position: 9px center !important;}
.normal .flex-direction-nav li a.flex-prev { background-position: 7px center !important;}
.normal .flex-control-nav li a { border: 3px solid rgba(0,0,0,.3); background: none !important; box-shadow: none !important;}
.normal .flex-control-nav li a:hover { background: none !important; border: 3px solid rgba(0,0,0,.5);}
.normal .flex-control-nav li a.flex-active { background: rgba(0,0,0,0.3) !important; border: 3px solid rgba(0,0,0,0);}


/* Home Slideshow------------------*/

.flexslider .slides > li {-webkit-backface-visibility: visible !important;}

.slideshow, .flexslider {
	margin: 0 !important;
	position: relative;
}

.slideshow  {padding:0 !important;}

.home #header .slideshow {
	margin: 0 !important;
	overflow: hidden;
	background: #000;
	position: fixed;
	width: 100%;
	height: 100%;
}

.home .flexslider .slide {
	position: fixed !important;
	width: 100%;
	height: 100%;
}

.home.blog .slideshow {
	margin-bottom: 30px;
}

.home #header .flex-direction-nav li a { background-color: transparent !important; }

/* Caption style for home page slideshow*/

.home .slideshow .details {
	background: transparent;
	display: block;
	width: 100%;
	top: 50%;
	position: absolute;
	display: none;
}

.home .slideshow .details .box{
	padding: 0 30px 0 30px;
}

.home .slideshow .details .text {
	display: inline-block;
}

.home .details h1, .home .details h2, .home .details h3, .home .details h4, .home .details h5{
	color: #fff;
	text-shadow: 2px 2px rgba(0,0,0, .2);
}

.home .details h1 {
	font-size: 4.0em;
}

body.home .details p {
	font-size: 1.7em !important;
	margin-bottom: 40px !important;
	line-height: 1.3em;
	color: rgba(255,255,255, .6);
}

#downButton {
	background: transparent url(/wp-content/themes/baylie/images/direction_down_dark.png) center 9px no-repeat;
	background-size: 14px 14px !important;
	border: 3px solid rgba(101,100,103, 1);
	border-radius: 30px;
	height: 30px;
	width: 30px;
	position: absolute;
	bottom: 200px;
	z-index: 99;
	text-indent: -9999 !important;
	display: block;
	left: 0;
	right: 0;
	margin: 0 auto;
	text-align: left !important;
	cursor: pointer;
}

#downButton:hover {
	background: transparent url(/wp-content/themes/baylie/images/direction_down_darkover.png) center 9px no-repeat;
	background-size: 14px 14px !important;
	border: 3px solid rgba(018,018,018, 1);
}

#downButton a, .hplogoclick {
	display: block;
	cursor: pointer;
	height: 100%;
}

/*////////////////////////////////////////////////////////////////////
//  07 - Sidebar
////////////////////////////////////////////////////////////////////*/

#sidebar {
	margin-bottom: 30px;
}

.sidebarBox {
	position: relative;
	margin: 0 0 30px 0;
}

#sidebar p {
	margin-bottom: 12px;
}

#sidebar li {
	font-size: .75em;
}

#sidebar .author .avatar {
	float: left;
	margin: 0 20px 15px 0 !important;
	padding-top: 3px;
	border-radius: 40px;
}


/*/////////////////////////////////////////////////////////////////////
//  08 - Widgets
////////////////////////////////////////////////////////////////////*/

#footer .widgetBox a, #sidebar .widgetBox a {
	line-height: 1.5em;
}

#footer .widgetBox {
	float: left;
	margin-right: 0px; /* for 3 cols, should be 25px */
	margin-bottom: 30px;
}

#sidebar .widgetBox {
	margin-bottom: 30px !important;
}

#sidebar .widgetBox .widgetTitle,
#footer .widgetBox .widgetTitle{
	font-size: 1.1em;
	font-weight: bold;
	display: block !important;
	margin-bottom: 5px;
	clear: both;
}


#footer .widgetBox .widgetTitle{
	color: white;
}

#sidebar .widgetBox .meta,
#footer .widgetBox .meta {
	font-style: italic;
}

#footer .widgetBox p{
	font-size: .95em;
	margin-bottom: 0;
}

#sidebar ul, #footer ul {
	margin: 0 0 0 0;
	padding: 0px 0 0 0;
	line-height: 1em;
	background: none;
	position: relative;
}

#sidebar ul li, #footer ul li {
	padding: 0px 0 0px 0;
	margin: 0 0 20px 0;
	line-height: 1.2em;
	background: none;
	font-size: .85em;
}

#sidebar ul li p, #footer ul li p{
	line-height: 1.3em;
	margin: 0;
}

#sidebar .widget_nav_menu ul,
#footer .widget_nav_menu ul,
#sidebar .widget_pages ul,
#footer .widget_pages ul,
#sidebar .widget_categories ul,
#footer .widget_categories ul {
	background: none;
	margin: 0;
	padding: 0;
	border: none;
}

#sidebar .widget_nav_menu li,
#footer .widget_nav_menu li,
#sidebar .widget_pages li,
#footer .widget_pages li,
#sidebar .widget_categories li,
#footer .widget_categories li {
	padding: 0 0 0 0;
	margin: 10px 0 0 0;
	border: none;
}

/*Search------------------*/

.widget_search {
	display: block;
	padding: 0 !important;
}

.widget_search h3 {
	display: none;
}

.widget_search:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .widget_search {
    display: block;
}

* html .widget_search {
    height: 1%;
}

#s {
	margin: 0 0px 0 0;
	padding: 10px .7em 10px .7em !important;
	line-height: normal!important;
	width: 92%;
	color: #9a9a9a;
	font-size: .8em;
}

#searchsubmit{
	font-size: 11px !important;
	margin: 0 !important;
	border-left: none;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-topleft: 0px;
	border-bottom-left-radius: 0px;
	border-top-left-radius: 0px;
	float: right;
	border: none;
	height: 30px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	background-position: 0 -1px;

}

/*Testimonails------------------*/

.ttrust_testimonials img {
	width: 76px;
	border-radius: 38px;
	height: auto;
	float: left;
	margin: 0 20px 0 0;
}

.ttrust_testimonials p {
	font-size: .9em;
	line-height: 1.6em !important;
}

.ttrust_testimonials span.title {
	font-size: .9em;
	font-weight: bold;
	float: right;
}


/*Recent Posts Widget------------------*/

#sidebar .ttrust_recent_posts .meta,
#footer .ttrust_recent_posts .meta {
	margin: 0 0 0 0 !important;
	display: block;
	padding: 3px 0 0 0;
	color: #bababa;
}

#sidebar .ttrust_recent_posts p.title,
#footer .ttrust_recent_posts p.title {
	font-size: 1.2em;
	margin-bottom: 2px;
}

#sidebar .ttrust_recent_posts p.title,
#footer .ttrust_recent_posts p.title {
	line-height: 1.1em;
}

.ttrust_recent_posts .firstPost p{
	margin-bottom: 10px;
}

.secondaryPost {
	padding: 10px 0 0px 0;
}

.ttrust_recent_posts .thumb{
	float: left;
	margin: 0 12px 0 0;
	padding: 3px;
	background: #f0f0f0;
	border: 1px solid #e1e1e1;
}

.ttrust_recent_posts li {
	margin-bottom: 10px !important;
	border: none;
	display: block;
}


/*Calendar Widget--------------------*/
table#wp-calendar {
	width: 216px;
}

table#wp-calendar td, table#wp-calendar th{
	text-align: left;
}

table#wp-calendar td {
	color: #b0b0ad;
	padding-top: 10px;
}

table#wp-calendar td a{
	font-weight: bold;
}

#wp-calendar caption {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #dbdad8;
	font-size: 14px;
	font-weight: bold;
}

/*Tag Widget--------------------*/

.widget_tag_cloud a{
	font-size: 11px !important;
	padding: 5px 7px 5px 7px;
	display: block;
	float: left;
	margin: 0 5px 5px 0;
}

#footer .widget_tag_cloud a,
#sidebar .widget_tag_cloud a{
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: #f3f3f3;
}

.widget_tag_cloud:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.widget_tag_cloud {
    display: inline-block;
}

html[xmlns] .widget_tag_cloud {
    display: block;
}

* html .widget_tag_cloud {
    height: 1%;
}

/*Twitter Widget--------------------*/
.simple_tweet_widget li {
   line-height: 1.5em !important;
   font-size: .95em !important;
}

.simple_tweet_widget li span{
   color: #4f4f4f !important;
   font-size: .85em !important;
}

/*Flickr Widget--------------------*/
#flickrBox .flickrImage {
	float: left;
	margin: 0 12px 12px 0;
	padding: 3px;
}

#sidebar #flickrBox .flickrImage {

}

#flickrBox .flickrImage img {
	width: 70px;
	height: 70px;
	float: left;
	border-radius: 5px;
	max-width: 70px;
}

/*/////////////////////////////////////////////////////////////////////
//  09 - Comments
////////////////////////////////////////////////////////////////////*/

#comments {
	position: relative;
	margin: 0 0 30px 0px;
	width: 95%;
	padding: 20px 0 0 0;
}

.twoThirds #comments {
	width: 95%;
}

#content.project #comments {
	padding-top: 30px;
}

#comments ul{
	list-style: none;
	margin: 0 0 30px 0;
}

#comments h3{
	margin: 0 0 30px 0;
}

#content #comments ul li{
	font-size: 1em !important;
}

#trackbacks {
	margin: 30px 0 0 40px;
}

ol#commentslist {
	margin: 0 0 0 0px;
	list-style: none;
	padding: none;
	padding: 0;
}

#commentslist .children li {
	padding: 15px 0 0 30px;
	background: transparent url(/wp-content/themes/baylie/images/comment_marker.gif) no-repeat 0px 40px;
	border-left: 1px solid #e3e3e3;
}

.comment {
	position: relative;
	margin: 0 0 0 0;
	padding: 0 0 20px 0;
}

.comment .avatar {
	position: absolute;
	left: 0;
	top: 0;
	border-radius: 35px;
	-webkit-border-radius: 35px;
	-moz-border-radius: 35px;
	-o-border-radius: 35px;
	-ms-border-radius: 35px;
	-khtml-border-radius: 35px;
	width:70px;
	height:70px;
}

#commentForm label {
	padding-left: 20px;
}

.comment h5 {
	margin: 0 0 6px 100px;
	padding: 0;
}

.comment .date {
	margin: -5px 0 10px 100px;
	display: block;
	color: #a5a5a2;
	font-size: .9em;
}

.comment p {
	margin: 0 0 10px 100px;
}

.comment-reply-link,
.comment-reply-login {
	margin: 0 0 0 100px;
	font-size: .95em;
}

.comment-reply {
	display: inline-block!important;
	padding: 0 0 0 10px;
}

#comment-add {
	position: absolute;
	top: -5px;
	right: 0px;
}

.moderation {
	margin: 0px;
	padding: 0 0 10px 25px;
}

#trackbacks ul {
	margin: -5px 0 15px;
}

#trackbacks ul li {
	padding: 5px 0 5px 20px;
}

/* Comment Form */

#commentForm {
	position: relative;
	margin: 30px 0 30px 0px;
}

#comments #respond {
	position: relative;
	padding: 0 0 0;
	margin: 0;
}

#respond .form-allowed-tags {
	display: none;
}

#respond form {
	margin: none;
	padding: none;
	position: relative;
}

#respond h3 {
	font-size: 1.4em !important;
}

#commentForm h1 {
	font-size: 1.3em !important;
	border: 1px solid #000;
}

.cancel-comment-reply {
	float: right;
	margin: 5px 90px 0 0;
}

#cancel-comment-reply-link {
	margin-left: 20px !important;

}

#comments textarea {
	width: 90% !important;
}

#comments input[type="text"] {
	width: 50%;
	margin-right: 20px;
}

#comments ol{
	list-style: none !important;
}



/*////////////////////////////////////////////////////////////////////
//  10 - Pagination
////////////////////////////////////////////////////////////////////*/

.pagination {
	padding: 0 0 30px !important;
	clear: both;
	margin: 0 0 15px 0;
}

.page-template-page-portfolio-php .pagination {
	text-align: center;
	margin: 0;
	padding: 20px 0 !important;
}

.page-template-page-portfolio-php .pagination .inside {
	display: inline-block;
}

.pagination span,
.pagination a,
.pagination-prev a,
.pagination-next a,
.older-comments,
.newer-comments {
	display: block;
	float: left;
	width: auto;
	height: 24px;
	line-height: 24px;
	margin: 0 5px 0 0;
	padding: 0 8px;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
}

.pagination-prev a:hover,
.pagination-next a:hover,
.wp-pagenavi a:hover,
.wp-pagenavi .current {

}

.pagination-prev a,
.pagination-next a {
	float: none;
	margin: 0px;
}

.pagination-prev,
.pagination-next {
	float: left;
	width: auto;
	margin: 0px;
}

.pagination-prev {
	float: right;
}


/*////////////////////////////////////////////////////////////////////
//  11 - Footer
////////////////////////////////////////////////////////////////////*/


#footer {
  color: #7b7b7b;
  background: #4f4f4f;
  position: relative;
  z-index: 301;
  /* border-top: 22px solid #7e7e7e; */
}

.home.gecko #footer {
	margin-top: -1px !important;
}

#googleMap iframe {
	width: 100%;
}

#googleMap {
	height: 350px;
}

#googleMap img { max-width: none; }

#googleMap .iwContent {
	padding-top: 20px;
	font-size: .85em;
}

#footer .meta {
	color: #919191;
}

#footer .main {
	padding: 60px 0 10px 0;
	margin: 0 30px 0;
}

#footer .inside {
	margin: 0 auto;
	max-width: 62.5em;
}

.footerBox{
	margin: 0 30px 40px 0 !important;
	float: left;
	position: relative;
	width: 31%;
}

.footerBox.last {
	margin-right: 0 !important;
}

.widget_recent_entries {
	margin-right: 0 !important;
}

.footerBox p{
	padding: 0;
}

#footer a {
	color: white;
}

#footer a:hover {
	color: #000;
}

#footer .secondary {
	margin: 0 0 0;
	padding: 0 30px 10px;
}

#footer .secondary a{
	font-weight: bold;
}

#footer .secondary .inside{
	border-top: 1px solid #6f6f6f;
	padding: 30px 0 0;
}

#footer .secondary p{
	font-size: .8em;
  color: white;
}

#footer .secondary .left {
	float: left;
}

#footer .secondary .right {
	float: right;
}

#footer .secondary .right span{
	padding: 0 5px;
	color: #4d4d4d;
}

/* Social Media styles */

.smicons a {
	display: inline-block;
	margin-right: 7px;
}

#footer .widgetBox .ftsmicons a {
	display: inline-block;
	font: 1px/200px Verdana, Geneva, sans-serif;
	margin: 0px 4px 0px 0px;
	padding: 0px;
	height: 40px;
	width: 37px;
	overflow: hidden;
}

#footer .widgetBox .ftsmicons a {
	background-image: url(/wp-content/themes/baylie/images/footer-social-icons.png);
	background-repeat: no-repeat;
	background-size: 161px 80px;
}
#footer .widgetBox .ftsmicons a.ftsm01 { background-position: 0px 0px; }
#footer .widgetBox .ftsmicons a.ftsm01:hover { background-position: 0px -40px; }

#footer .widgetBox .ftsmicons a.ftsm02 { background-position: -41px 0px; }
#footer .widgetBox .ftsmicons a.ftsm02:hover { background-position: -41px -40px; }

#footer .widgetBox .ftsmicons a.ftsm03 { background-position: -82px 0px; }
#footer .widgetBox .ftsmicons a.ftsm03:hover { background-position: -82px -40px; }

#footer .widgetBox .ftsmicons a.ftsm04 { background-position: -123px 0px; }
#footer .widgetBox .ftsmicons a.ftsm04:hover { background-position: -123px -40px; }

/* Google Map styles */

#responsive_map {height: 514px; width: 100%;}
#responsive_map  img { max-width: none; }﻿
#responsive_map div {-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;}
.gm-style-iw {max-width: none !important; min-width: none !important; max-height: none !important; min-height: none !important; overflow-y: hidden !important; overflow-x: hidden !important; line-height: normal !important; padding: 5px !important; }


/*////////////////////////////////////////////////////////////////////
//  12 - Media Queries
////////////////////////////////////////////////////////////////////*/

/* iPads */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

	/*Home Slideshow ------------------*/

	.home .slideshow {
		margin: 0 !important;
	}

	.home #header .slideshow {
		position: absolute;
	}

	.home .flexslider .slide {
		position: absolute !important;
	}

	.home .slideshow .details h2 {
		color: #fff;
		text-transform: uppercase;
		font-weight: normal;
		font-size: 2.4em;
		text-shadow: 2px 2px rgba(0,0,0, .3);
	}

	.home .slideshow .details p {
		font-size: 1.3em !important;
		margin-bottom: 0;
		line-height: 1.5em;
		color: rgba(255,255,255, .6);
	}


	#downButton {
		bottom: 70px;
	}

	/*Projects ------------------*/
	#content .project.small .title {
		font-size: .8em;
	}

	/*Testimonials ------------------*/



	/*Footer ------------------*/
	.footerBox {
		width: 29%;
		margin: 0 25px 40px 0 !important;
	}
}

@media only screen and (max-width: 920px) {
	.monty-video {
		width: 100%;
	}
}

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

	#comments { width: 100%;}

	#sidebar {
		float: none;
		width: 95%;
		margin-left: 2.5%;
		padding: 10px 0 30px 0 !important;
	}

	#content.twoThirds {
		width: 95% !important;
		float: none;
	}

	.sidebarBox {
		float: left;
		margin: 0 3% 30px 0 !important;
		width: 30%;
	}

	#comments { width: 100%;}
}

@media only screen and (min-width: 701px) {

	#mainNav{
		right: 30px;
		position:absolute;
		top:50%;
		height:20px;
		margin-top:-10px;
		display: inline-block;
	}

}
/*layouts smaller than 700px, iPhone and mobiles*/

@media only screen and (max-width: 700px) {
	html {
	    -webkit-text-size-adjust: none;
	}

	h1 { font-size: 1.7em;}
	h2 { font-size: 1.5em;}
	h3 { font-size: 1.4em;}
	h4 { font-size: 1em;}
	h5 { font-size: .8em;}

	#wrap {
		padding: 1px 20px;
	}

	.home #wrap {
		padding-top: 0 !important;
	}

	/*Header ------------------*/
	#header .inside {
		padding: 15px 30px;
	}

	#header #logo {
		display: inline-block;
	}

	#header #logo img{
		margin: 0 auto;
		width: 25% !important;
		height: auto;
		float: left;
	}

	#mainNav .sf-menu {
		display: none;
	}

	#mainNav .tinynav {
		display: inline-block;
		position: absolute;
		top: 30px;
		right: 20px;
	}

	/*Home Slideshow ------------------*/

	.home #header .slideshow {
		position: absolute !important;
	}

	.home .flexslider .slide {
		position: absolute !important;
	}

	.home .details h1, .home .details h2, .home .details h3, .home .details h4, .home .details h5{
		font-size: 1.9em;
	}

	body.home .details p {
		font-size: 1.4em !important;
		margin-bottom: 10px !important;
	}

	.home .slideshow .flex-control-nav { bottom: 20px !important;}

	#downButton {
		display: none;
	}

	.flex-direction-nav li a.flex-next {right: 0px !important;}
	.flex-direction-nav li a.flex-prev {left: 0px !important; }

	#pageHead {
		margin: 0 0px 25px;
		padding: 30px 0;
	}
	.tax-skill #pageHead {
		margin: 0;
		padding: 30px 0;
	}

	#pageHead h1 { font-size: 1.3em;}

	#main {
		width: 95%;
		padding-top: 0;
	}

	/*Home Message ------------------*/

	#homeMessage p {
		font-size: 1.3em !important;
		line-height: 32px !important;
	}

	#homeMessage p strong {
		font-size: 32px !important;
		line-height: 40px !important;
	}

	#homeMessage {
		padding: 30px 0;
	}

	/*Posts ------------------*/

	#content.twoThirds {
		width: 95% !important;
		float: none;
	}

	#content .post {
		margin-bottom: 20px;
		padding-bottom: 5px!important;
	}

	.posts .post .date .month{
		font-size: .9em;
		display: block;
		padding: 0 !important;
		line-height: 1em;
		color: rgba(255,255,255, .7);
	}

	.posts .post .inside{
		position: relative;
	}

	.posts .post .inside h2{
		font-size: 1.3em !important;
		line-height: 1.2em;
		margin-bottom: 10 !important;
	}

	.posts .post .inside .meta{
		margin: 0 auto 20px !important;
		padding: 0;
	}

	.post .moreLink {
		display: none;
	}

	#comments { width: 100%;}

	/*Home Sections ------------------*/
	.homeSection {
		padding: 35px 0 !important;
	}

	#projects.homeSection {
		padding: 0 0 !important;
	}

	.homeSection .sectionHead {
		padding-bottom: 10px !important;
	}

	.homeSection .sectionHead h3 {
		font-size: 1.5em;
	}
	.homeSection .sectionHead p {
		font-size: 1em;
	}

	#featuredPages .small{
		margin-bottom: 25px !important;
	}

	/*Featured Pages ------------------*/
	#featuredPages .page h3 {
		font-size: 1.6em;
	}
	#featuredPages .page p {
		font-size: 1em;
	}

	#featuredPages {
		padding: 60px 0 0px 0 !important;
	}

	/*Testimonials ------------------*/

	.slides .testimonial {
		width: auto;
		height: 400px;
	}

	.slides .testimonial .text p {
		font-size: .5em !important;
	}

	.slides .testimonial .text .title {
		font-size: .6em;
	}

	/*Sidebar and Widgets ------------------*/

	#sidebar {
		float: none;
		width: 95%;
		margin-left: 2.5%;
		padding: 10px 0 30px 0 !important;
	}

	.sidebarBox {
		float: left;
		margin: 0 2% 30px 0 !important;
		width: 95%;
	}

	#flickrBox .flickrImage {
		margin: 0 8px 8px 0;
	}

	.widgetBox {
		width: 100%;
		float: none;
	}

	/*Projects ------------------*/

	#filterNav {
		text-align: center;
		width: 100%;
		position: relative;
	}

	.projectNav {
		margin: 0 0 0 0;
		padding: 10px 0 0 0 !important;
		float: none;
	}

	.projectNav div {
		margin: 0 20px 0 0 !important;
		padding: 0 !important;
	}

	.thumbs {
		text-align: center;
	}

	.thumbs .small{
		margin: 0 auto !important;
	}


	/*Footer------------------*/
	.footerBox {
		width: 40%;
		float: none;
		margin: 0 20px 40px 0!important;
	}

	#footer .main .inside{ padding: 0 0 !important;  width: auto !important;margin: 0 0px!important;}

	#footer #flickrBox .flickrImage {
		margin: 0 5px 5px 0;
	}

	#footer .secondary{
		text-align: center;
		margin: 0 0;
	}
	#footer .secondary p{
		margin: 0px;
		padding: 0px;
	}

	#footer .secondary .left,
	#footer .secondary .right{
		float: none;
	}

	#footer .secondary .right{
		float: none;
		padding: 10px 0 15px 0;
	}

	.gallery-item img{
		width: 90%;
	}

	/*Column Shortcodes------------------*/

	.one_half{ width:100%; }
	.one_third{ width:100%; }
	.two_third{ width:100%; }
	.one_half,.one_third,.two_third{ position:relative; margin-right:0%; float:none; }
	.last{ margin-right:0 !important; clear:right; }
	.clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}
}

/* iPhone Landscape */
@media screen and (max-width: 600px) {
	.home #header .slideshow .box{
		margin: 0 100px !important;
	}

	.slides .testimonial {
		width: auto;
		height: 300px;
	}

	/*.home .slideshow .flex-control-nav { display: none;}*/
}

/* iPhone Portrait */
@media screen and (max-width: 480px) {
	#header {
		text-align: center;
	}

	#header .inside {
		padding: 15px 0!important;
	}

	#header #logo {
		/*float: none;*/
		margin: 0 20px;
		text-align: center;
		display: inline-block;
	}

	#header #logo img{
		margin: 0 auto;
/*		width: 36% !important;
*/		height: auto;
/*		float: none;
*/	}

	#header #mainNav {
		position: relative;
		display: inline-block;
		float: right;
		padding-top: 20px;
	}

	#mainNav .tinynav {
		top: 14px;
	}

	.home .slideshow .details h2{
		font-size: 2em;
		text-shadow: 2px 2px rgba(0,0,0, .4);
	}

	.home .slideshow .details p{
		font-size: .9em !important;
	}

	.home #header .slideshow .box{
		margin: 0 50px !important;
	}

	/*Posts ------------------*/

	.posts .post .date {
		position: relative;
		margin: 0 auto 20px;
	}

	.posts .post .date .month{
		font-size: .9em;
		display: block;
		padding: 0 !important;
		line-height: 1em;
		color: rgba(255,255,255, .7);
	}

	.posts .post .inside{
		padding-left: 0;
		position: relative;
	}

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

	#commentForm input[type="text"], #comments input[type="text"] {
		width: 40% !important;
		margin-right: 5px !important;
	}

	#commentForm label, #comments label {
		font-size: .8em;
	}

	.home .flex-caption p {
		font-size: 1em !important;
	}
	/*Tinynav full width ------------------*/
/*	.menu-main-menu-container {
		padding: 0 20px;
	}
	.tinynav.tinynav1 {
		width: 100%;
	}
*/}

/*////////////////////////////////////////////////////////////////////
//  2015
////////////////////////////////////////////////////////////////////*/
blockquote p span {
	font-size: 15px;
    line-height: 1.5;
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-style: italic;
}
div #mainNav ul li.current_page_item a, div #mainNav ul li.current-menu-item a {
	color: #73C3AF !important;
}
/* Home Slider animation/video */
	.home.page .slide .details {
    display: block;
    /*
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.7) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(65%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.7)));
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 65%,rgba(0,0,0,0.7) 100%);
    background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 65%,rgba(0,0,0,0.7) 100%);
    background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 65%,rgba(0,0,0,0.7) 100%);
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 65%,rgba(0,0,0,0.7) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#80000000',GradientType=0 );
    */
    position: absolute;
    top: 0px;
    bottom: 0px;
	}
	.home.page .slide .box {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		padding-bottom: 120px;
	}
	@media screen and (max-width: 767px) {
		.home.page .slide .box {
			padding-bottom: 50px;
		}
	}
	#downButton {
		display: none;
	}
	.slideshow h2 {
		font-size: 40px;
		text-transform: uppercase;
	}
	#homeMessage {
		border-top: 10px solid #73C3AF;
	}
	.home .slideshow a.slide-button {
		font-size: 16px;
		font-weight: bold;
		text-transform: uppercase;
		color: #fff;
		padding: 10px 15px;
		border: 4px solid #fff;
		transition: opacity .17s ease-in-out;
		-moz-transition: opacity .17s ease-in-out;
		-webkit-transition: opacity .17s ease-in-out;
	}
	.home .slideshow a.slide-button:hover {
		opacity: 0.5;
	}
	body.home .slideshow .details p {
		margin-bottom: 10px !important;
		margin-top: 25px !important;
	}
	.page.home .flex-direction-nav li a.flex-next, .page.home .flex-direction-nav li a.flex-prev {
		opacity: 0.6;
		height: 62px;
		width: 106px !important;
		background-size: contain !important;
	}
	.page.home .flex-direction-nav li a.flex-next:hover, .page.home .flex-direction-nav li a.flex-prev:hover {
		opacity: 1;
	}
	.page.home .flex-direction-nav li a.flex-next {
		background: transparent url(/wp-content/themes/baylie/images/slideshow-right.png) no-repeat center center;
		right: 0 !important;
	}
	.page.home .flex-direction-nav li a.flex-prev {
		background: transparent url(/wp-content/themes/baylie/images/slideshow-left.png) no-repeat center center;
		left: 0 !important;
	}
	.flexslider:hover .flex-next { /* shows sliders, amend to suit */
		opacity: 0.8;
		right: 5px;
	}
	@media screen and (max-width: 767px) {

		.page.home #header .flex-direction-nav li a {
			height: 40px;
		}
		.page.home .flex-direction-nav li a.flex-next {
			margin-right: -25px;
		}
		.page.home .flex-direction-nav li a.flex-prev {
			margin-left: -25px;
		}
	}
	@media screen and (max-width: 479px) {
		body.home .slideshow .details .box {
			padding-left: 0;
			padding-right: 0;
		}
	}

/* News/Blog links */
	.news-blog-links {
		margin-bottom: 40px;
	}
	.news-blog-links > a {
		display: inline-block;
		width: 50%;
		float: left;
		text-align: center;
		background-color: #ECECEC;
		padding: 14px 0px;
		color: #8f8f8f;
		font-weight: bold;
		text-transform: uppercase;
  	}
	.news-blog-links > a:first-child {
		border-top-left-radius: 5px;
		border-bottom-left-radius: 5px;
  	}
	.news-blog-links > a:last-child {
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;
  	}
	.news-blog-links > a:hover {
		background-color: #929292;
		color: #fff;
	}
	.news-blog-links > a.active {
		background-color: #60bca4;
		color: #fff;
	}
	.news-blog-links > a.active:after {
		content: "";
		background-image: url(/wp-content/themes/baylie/images/active-notch.png);
		background-size: 24px 12px;
		display: block;
		margin: 14px auto 0 auto;
		width: 24px;
		height: 12px;
		margin-bottom: -26px;
	}
	#sidebar #search-2.widgetBox{
		margin-top: 4px;
		margin-bottom: 55px !important;
	}
#header .mob-stuck {
	position: absolute;
	top: 0;
}
/* Single Share box */
	#share-links {
		padding: 10px 10px 5px 10px;
		background-color: #fff;
		border-top: 3px solid #D2D2D2;
		border-bottom: 3px solid #D2D2D2;
		margin-top: 40px;
	}
	#share-links > div {
		text-align: center;
	}
	#share-links > div > span {
		margin: 10px 0;
		display: inline-block;
		padding: 0 30px;
	}
	#share-links > div > span:hover {
		opacity: 0.7;
	}
	#share-links span.stButton span.stMainServices {
		background-size: 85px 33px !important;
		width: 85px !important;
		height: 33px !important;
	}
	span.stMainServices.st-facebook-counter {
		background: url(/wp-content/themes/baylie/images/facebook-share.png) no-repeat !important;
	}
	span.stMainServices.st-twitter-counter {
		background: url(/wp-content/themes/baylie/images/twitter-share.png) no-repeat !important;
	}
	span.stMainServices.st-email-counter {
		background: url(/wp-content/themes/baylie/images/email-share.png) no-repeat !important;
	}
	#share-links .stButton {
		padding-top: 42px;
	}
	#share-links .stButton .stArrow {
		position: absolute;
		left: 23px;
		top: 0px;
		background: url(/wp-content/themes/baylie/images/share-counter.png) no-repeat !important;
		background-size: 45px 37px !important;
		width: 45px;
		height: 37px;
	}
	#share-links .stButton .stHBubble {
		display: inline-block;
		z-index: 2;
		background: #fff !important;
		border: none;
		margin: 6px 4px 0px 0px;
	}
	#share-links .stButton .stBubble_hcount {
		color: #000;
		font-family: 'Montserrat';
		font-weight: normal;
		font-size: 20px;
	}
	@media screen and (max-width: 480px) {
		#share-links > div > span {
			display: block;
		}
	}

.home #container {
  opacity: 0;
}
.no-js #page-loader {
	display: none;
}
.home #page-loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: #fff url(/wp-content/themes/baylie/images/page-loader.gif) 50% 50% no-repeat;
	background-size: 62px 62px;
}
.large-rule {
	border: none;
	border-top: 3px solid #D2D2D2;
}
/* SERVICES PAGE */
.serv-holder {
	position: relative;
	background-color: #f7f7f7;
	padding: 25px;
	margin-bottom: 25px;
	border-radius: 5px;
	border: 1px solid #F2F2F2;
}
	.serv-holder:hover {
		background-color: #6EC2AE;
		border-color: #6EC2AE;
		cursor: pointer !important;
		box-shadow: inset 2000px 0px 0 0 #6EC2AE;
	}
	.serv-holder:hover, .serv-holder:hover h1 {
		color: #fff;
	}
	.serv-holder:hover .one_third.column.last {
		background-color: #fff;
	}
	.serv-holder:hover hr {
		border-color: #fff;
	}
	.serv-holder:hover .one_third.column.last {
		border-color: #6EC2AE;
	}
.serv-holder:hover li {
	color: #000;
}
.serv-holder.card .serv-icon { /* for flip.js */
	width: 172px;
	height: 196px;
}
.serv-holder.card .one_third:first-child:after { /* maintains col structure */
	content: "";
	display: block;
	width: 100%;
	height: 213px;
}
.serv-holder.card .one_third:first-child {
	background: url(/wp-content/themes/baylie/images/serv-icon-shadow.png) no-repeat center 1px;
}
.serv-holder h1 {
	margin-bottom: 0px;
}
.serv-holder hr {
	border: none;
	border-bottom: 4px solid #8B8B8D;
	margin-bottom: 12px;
}
.serv-holder .one_third.column.last {
	background-color: #fff;
	border-radius: 3px;
	border: 1px solid #F2F2F2;
	margin-top: 10px;
	margin-bottom: 10px;
}
.serv-holder .one_third.column.last > div {
	padding: 20px 30px 20px 30px;
}
.serv-holder .one_third.column.last h6 {
	font-size: 20px;
	padding-bottom: 3px;
	margin-bottom: 5px;
	margin-top: -6px;
}
.serv-holder .one_third.column.last hr {
	border: none;
	border-bottom: 4px solid #6EC2AE;
	margin: 1px 0px 10px 0px;
}
#content .serv-holder .one_third.column.last ul { /*ADD tick images to ul style*/
	font-weight: bold;
	font-size: 13px;
	list-style-image: url(/wp-content/themes/baylie/images/list-tick.png);
	margin: 20px 0 -10px 20px;
	color: #1F1F1F;
}
.serv-holder, #content .serv-holder .one_third.column.last ul li, .serv-holder h1, .serv-holder hr, .serv-holder .one_third.column.last {
	-webkit-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
@media only screen and (max-width: 700px) {

	.serv-holder .one_third.column.last {
		  margin-top: 25px;
	}
	.serv-img {
		padding-top: 0px;
	}

}
/* categories sidebar */
	.widget_categories .cat-item-77 {
		display: none;
	}

/* Posts Series Nav */
	.posts-series-nav {
		background-color: #F7F7F7;
		padding: 20px;
	}
	.posts-series-nav br {
		display: none;
	}
	.posts-series-nav p {
		margin-bottom: 0;
	}
	.posts-series-nav h6 {
		border-bottom: 2px solid #D8D8D8;
		margin-bottom: 20px;
		font-weight: bold;
		padding-bottom: 5px;
	}
	.posts-series-btn {
		background-color: #8BCEBC;
		border-radius: 5px;
		color: #fff !important;
		text-transform: uppercase;
		padding: 7px 13px;
		max-width: 277px;
		line-height: 1.3;
	}
	.posts-series-btn:hover {
		text-decoration: none !important;
		background-color: #6CAE9D;
	}
	.posts-series-btn.prev {
		float: left;
	}
	.posts-series-btn.next {
		float: right;
		text-align: right;
	}

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

		.posts-series-btn {
			display: block;
			text-align: center;
			float: none !important;
			max-width: none;
		}
		.posts-series-btn.prev {
			margin-bottom: 20px;
		}

	}
/* Tips for Creativity download page */
h2.cc-title {
    font-size: 39px;
    text-transform: uppercase;
    padding: 18px 0;
    border-top: 3px solid #ccc;
    border-bottom: 3px solid #ccc;
    margin-bottom: 23px;
    line-height: 1.2;
}
#wpcf7-f2145-p2135-o1 input[type="email"], #wpcf7-f2145-p2135-o1 input[type="text"] {
	padding: 12px 10px;
	width: 100%;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}
#wpcf7-f2145-p2135-o1 div.wpcf7-response-output {
	/*display: block;*/
	clear: both;
	margin: 60px 0px 0px;
	padding: 10px;
}
#wpcf7-f2145-p2135-o1 input[type="checkbox"] {
	display: inline-block;
    margin-left: -8px;
}
#wpcf7-f2145-p2135-o1 .wpcf7-list-item-label {
	display: inline-block;
    padding-left: 20px;
    margin-top: -25px;
    line-height: 1.5;
}
#tfcd-button {
	background-color: #79d1bb;
	border: 0;
	float: right;
	text-transform: uppercase;
	margin: 0;
	font-size: 17px;
}
.tfcd-clients {
	background-color: #F6F6F6;
}
.tfcd-logos-2 {
	margin-top: 60px;
}
#share-links.tfcd-share-links {
	margin-top: 25px;
	margin-bottom: 10px;
	border: none;
}
#share-links.tfcd-share-links > div > span {
	padding: 0 25px;
}
@media screen and (max-width: 480px) {

	h2.cc-title {
		font-size: 29px;
	}

}
/* footer */
#footer .widgetBox ul {
	padding-top: 2px;
}
#footer .widgetBox li {
	margin-bottom: 5px;
}
#footer .widgetBox li a {
	margin-left: 10px;
	display: block;
}
#footer .widgetBox a:before {
	content: "- ";
	font-weight: bold;
	color: #A7A7A7;
	margin-left: -10px;
}
#footer .secondary .right a {
	font-weight: normal;
}
/* BrowserSync blog post */
.postid-2536 pre {
    background-color: #4E4E4E;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    border: none;
    box-shadow: inset 1px 1px 4px #292929;
}
/* Jobs page */
.page-id-2731 h4 {
	margin-top: 60px;
}
.page-id-2731 h4:first-child {
	margin-top: 0px;
}
#jobs-known-for {
	padding: 15px 20px;
	border: 2px solid #9CD6C7;
}
#jobs-known-for h5 {
	margin: -20px -22px 18px -22px;
	padding-top: 8px;
	padding-bottom: 9px;
	padding-left: 20px;
	font-size: 19px;
	background-color: #9CD6C7;
	color: white;
}
#jobs-known-for p:last-child {
	margin: 0;
}
.page-id-2731 h6 {
	margin-bottom: 5px;
	font-size: 15px;
	font-weight: 700;
	color: #676767;
}
ul.jobs-list {
	list-style: none !important;
	margin: 0 !important;
}
ul.jobs-list li a {
	display: block;
	background-color: #7E7E7E;
	color: white;
	padding: 15px;
	padding-right: 77px;
	font-size: 20px;
	font-weight: bold;
	position: relative;
	margin-bottom: -11px;
	transition: all .20s ease-in-out;
}
ul.jobs-list li a:hover {
	background-color: #60BCA4;
	z-index: 2;
}
ul.jobs-list li a:after {
    content: ">";
    float: right;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 13px 20px 20px 20px;
    font-size: 32px;
    font-weight: 100;
	transition: all .20s ease-in-out;
}
#jobs-btn-holder a {
	transition: opacity .25s linear;
}
#jobs-btn-holder a:hover {
	opacity: 0.5;
}
.job-btn {
    color: #fff;
    display: block;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
}
.job-btn:hover {
    color: #fff;
}
.job-btn:first-of-type {
    margin-top: 53px;
}
#job-pdf-download {
    background-color: #60bca4;
}
#jobs-btn-holder #job-pdf-download:hover {
    opacity: 0.7;
}
#job-submit-cv {
    border: 2px solid #444;
    color: #444;
    padding: 13px;
}
.job-share-icon {
	float: left;
	margin-right: 10px;
	margin-top: -11px;
	opacity: 0.7;
}
#jobs-btn-holder .job-share-icon:hover {
	opacity: 0.3;
}
.job-share-icon img {
	width: 24px;
	height: 24px;
}
@media only screen and (max-width: 700px) {
	#stickymenu {
		position: relative !important;
		width: auto !important;
		top: 0 !important;
		margin-top: -20px;
		margin-bottom: 50px;
	}
}

.dns-form-wrap { width: 100%; margin: 0 auto 60px; }
.dns-form-wrap input[type="email"], .dns-form-wrap input[type="text"], .dns-form-wrap input[type="password"], .dns-form-wrap textarea { box-sizing: border-box; width: 100%; }
.dns-form-wrap div.wpcf7-response-output { margin: 4em 0 1em; }
.one_third.last p.go-sml { font-size: 11px; line-height: 1.2; }

@media only screen and (max-width: 600px) {	
.dns-form-wrap { width: 100%; margin: 30px auto 50px; }
}

/*cookie popup styling*/
body #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1, body #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2, body #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3, body #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4, body #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5, body #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6, body #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p, body #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a { font-family: 'Montserrat' !important; }
body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1, body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2, body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3, body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4, body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5, body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6, body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p, body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a { font-weight: bold !important; }
body #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme { background-color: #202020; background-color: rgba(32,32,32,0.95); border-top: none !important; }
body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton, body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton, body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton, body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton { font-family: 'Montserrat' !important; font-weight: bold !important; border-radius: 0 !important; }
body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title { font-family: 'Montserrat' !important; }
body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent a, body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent button, body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent li, body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent p { font-family: 'Montserrat' !important; color: #202020; line-height: 1.6 !important; font-size: 14px !important; }
body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a, body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button { font-family: 'Montserrat' !important; color: #a8a8a8 !important; }
body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a i, body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button i { color: #a8a8a8 !important; }
body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected a, body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected button, body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected a i, body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected button i { color: #73c3af !important; }
body #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar { margin-bottom: 25px; }

#animation_container { width: 100% !important; }
#animation_container #canvas, #animation_container #dom_overlay_container { max-width: 100%; height: auto !important; }

.hamburger { display: none; padding: 0; cursor: pointer; transition-property: opacity, filter; transition-duration: 0.15s; transition-timing-function: linear; font: inherit; color: inherit; text-transform: none; background-color: transparent; border: 0; margin: 0; overflow: visible; outline: none !important; }
.hamburger:hover { opacity: 0.7; }
.hamburger-box { width: 30px; height: 21px; display: inline-block; position: relative; }
.hamburger-inner { display: block; top: 50%; margin-top: -2px; }
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after { width: 30px; height: 3px; background-color: #8f8f8f; border-radius: 0; position: absolute; transition-property: transform; transition-duration: 0.15s; transition-timing-function: ease; }
.hamburger-inner::before, .hamburger-inner::after { content: ""; display: block; }
.hamburger-inner::before { top: -10px; }
.hamburger-inner::after { bottom: -10px; }
.hamburger--spring .hamburger-inner { top: 2px; transition: background-color 0s 0.13s linear; }
.hamburger--spring .hamburger-inner::before { top: 9px; transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
.hamburger--spring .hamburger-inner::after { top: 18px; transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
.hamburger--spring.is-active .hamburger-inner { transition-delay: 0.22s; background-color: transparent; }
.hamburger--spring.is-active .hamburger-inner::before { top: 0; transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1); transform: translate3d(0, 9px, 0) rotate(45deg); }
.hamburger--spring.is-active .hamburger-inner::after { top: 0; transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1); transform: translate3d(0, 9px, 0) rotate(-45deg); }

.our-clients ul.row1 { max-width: 100% !important; left: auto !important; }

@media (max-width: 700px) {		
.hamburger { display: inline-block; position: absolute; top: 27px; right: 30px; }	
.menu-main-menu-container.gombl { opacity: 0; visibility: hidden; position: absolute; left: 0; right: 0; margin: 0 auto; top: 100%; -webkit-transition: all .4s ease; -moz-transition: all .4s ease; transition: all .4s ease; z-index: 88; }
.menu-main-menu-container.gombl.mm-out #menu-main-menu { display: block; text-align: center; padding: 15px 0; }
.menu-main-menu-container.gombl.mm-out #menu-main-menu li { float: none; width: 100%; margin: 0 auto; display: block; padding: 5px 0; }
.menu-main-menu-container.gombl.mm-out { opacity: 1; visibility: visible; background: #333; }	
.home.has-slideshow #header .top { margin-top: 0 !important; }
.home #header .bottom { position: absolute; top: 0; margin-top: 0 !important; }
#header .bottom .surround { position: absolute !important; top: 0; width: 100%; }	
}

@media (max-width: 480px) {		
.hamburger { right: 20px; }	
#header #mainNav { position: static; display: inline-block; float: none; padding-top: 0; }
}

.top { margin-top: 97px; max-height: calc(100vh - 97px); }
.hero { margin: 0 !important; overflow: hidden; background: #000; position: fixed; width: 100%; height: 100%; max-height: calc(100vh - 97px); box-sizing: border-box; }
.hero__inner { width: 100%; height: 100%; max-height: calc(100vh - 97px); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.video-hero .bottom { z-index: -20; }
.hero__sound-btn { width: 50px; height: 50px; background: url(/wp-content/themes/baylie/images/drive-speaker-icon-on.svg) left top no-repeat; background-size: 50px 50px; cursor: pointer; position: absolute; right: 45px; bottom: 45px; z-index: 3; }
.hero__sound-btn--on { background: url(/wp-content/themes/baylie/images/drive-speaker-icon-off.svg) left top no-repeat; background-size: 50px 50px; }				
@media only screen and (max-width: 991.98px) {
	.top { height: auto !important; aspect-ratio: 16 / 9; }
	.hero { height: auto; aspect-ratio: 16 / 9; }
	.hero__sound-btn { width: 30px; height: 30px; background-size: 30px 30px; right: 20px; bottom: 20px; }
	.hero__sound-btn--on { background-size: 30px 30px; }
	.home.has-slideshow #header .bottom { height: 0 !important; }			
}		
@media only screen and (max-width: 699.98px) {
	.top { aspect-ratio: 1; min-height: 62vh; }
	.hero { position: relative; height: 100%; padding-top: 75px; aspect-ratio: 1; }	
	.hero__inner { height: 62vh; }
}		
@supports not (aspect-ratio: 16 / 9) {
	.top::before {
	  	float: left;
	  	padding-top: 56.25%;
	  	content: "";
	}
	.top::after {
	  	display: block;
	  	content: "";
	  	clear: both;
	}
}		
/*!
 * Bootstrap v3.3.5 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 * Modal css only
 */

 .modal-open {
 	overflow: hidden;
 }
 .modal {
 	display: none;
 	overflow: hidden;
 	position: fixed;
 	top: 0;
 	right: 0;
 	bottom: 0;
 	left: 0;
 	z-index: 1050;
 	-webkit-overflow-scrolling: touch;
 	outline: 0;
 }
 .modal.fade .modal-dialog {
 	-webkit-transform: translate(0, -25%);
 	-ms-transform: translate(0, -25%);
 	-o-transform: translate(0, -25%);
 	transform: translate(0, -25%);
 	-webkit-transition: -webkit-transform 0.3s ease-out;
 	-o-transition: -o-transform 0.3s ease-out;
 	transition: transform 0.3s ease-out;
 }
 .modal.in .modal-dialog {
 	-webkit-transform: translate(0, 0);
 	-ms-transform: translate(0, 0);
 	-o-transform: translate(0, 0);
 	transform: translate(0, 0);
 }
 .modal-open .modal {
 	overflow-x: hidden;
 	overflow-y: auto;
 }
 .modal-dialog {
 	position: relative;
 	width: auto;
 	margin: 10px;
 }
 .modal-content {
 	position: relative;
 	background-color: #ffffff;
 	border: 1px solid #999999;
 	border: 1px solid rgba(0, 0, 0, 0.2);
 	border-radius: 6px;
 	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
 	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
 	-webkit-background-clip: padding-box;
 	background-clip: padding-box;
 	outline: 0;
 }
 .modal-backdrop {
 	position: fixed;
 	top: 0;
 	right: 0;
 	bottom: 0;
 	left: 0;
 	z-index: 1040;
 	background-color: #000000;
 }
 .modal-backdrop.fade {
 	opacity: 0;
 	filter: alpha(opacity=0);
 }
 .modal-backdrop.in {
 	opacity: 0.5;
 	filter: alpha(opacity=50);
 }
 .modal-header {
 	padding: 15px;
 	border-bottom: 1px solid #e5e5e5;
 	min-height: 16.42857143px;
 }
 .modal-header .close {
 	margin-top: -2px;
 }
 .modal-title {
 	margin: 0;
 	line-height: 1.42857143;
 }
 .modal-body {
 	position: relative;
 	padding: 15px;
 }
 .modal-footer {
 	padding: 15px;
 	text-align: right;
 	border-top: 1px solid #e5e5e5;
 }
 .modal-footer .btn + .btn {
 	margin-left: 5px;
 	margin-bottom: 0;
 }
 .modal-footer .btn-group .btn + .btn {
 	margin-left: -1px;
 }
 .modal-footer .btn-block + .btn-block {
 	margin-left: 0;
 }
 .modal-scrollbar-measure {
 	position: absolute;
 	top: -9999px;
 	width: 50px;
 	height: 50px;
 	overflow: scroll;
 }
button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
}
.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}
 @media (min-width: 768px) {
 	.modal-dialog {
 		width: 600px;
 		margin: 30px auto;
 	}
 	.modal-content {
 		-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
 		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
 	}
 	.modal-sm {
 		width: 300px;
 	}
 }
 @media (min-width: 992px) {
 	.modal-lg {
 		width: 900px;
 	}
 }
 .clearfix:before,
 .clearfix:after,
 .modal-footer:before,
 .modal-footer:after {
 	content: " ";
 	display: table;
 }
 .clearfix:after,
 .modal-footer:after {
 	clear: both;
 }

 /* Center the Bootstrap modal */
.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none; /* This makes sure that we can still click outside of the modal to close it */
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}
.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit; /* may be pipped by styles below */
    height: inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}
.modal-backdrop.in {
    opacity: 0.75;
    filter: alpha(opacity=75);
}

/* Bootstrap's responsive embeds 
// Credit: Nicolas Gallagher and SUIT CSS. */
.embed-responsive {
	position: relative;
	display: block;
	height: 0;
	padding: 0;
	overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	border: 0;
}
/* Modifier class for 16:9 aspect ratio */
.embed-responsive-16by9 {
	padding-bottom: 56.25%;
}

/* Modifier class for 4:3 aspect ratio */
.embed-responsive-4by3 {
	padding-bottom: 75%;
}



/* Drive's modal styles */
.modal-content {
	background-color: rgba(0, 0, 0, 0.8);
	border-radius: 0;
	border: none;
	box-shadow: none;
	padding: 0;
	padding: 15px;
}
.modal-content .modal-header {
	padding: 0;
	border: none;
	min-height: inherit;
}
.modal-content .modal-header .close {
	color: white;
	opacity: 1;
	box-shadow: none;
	font-family: "brandon-grotesque", sans-serif;
	font-size: 70px;
	font-weight: 400;
	position: absolute;
	right: 0;
	top: -40px;
	transition: opacity 0.2s linear;
}
.modal-content .modal-header .close:hover {
	opacity: 0.5;
}
.modal-content .modal-body {
	width: 100%;
	height: 100%;
}
.modal-content .modal-body iframe {
	width: 100%;
}
@media (min-width: 400px) and (max-width: 767px) {
	.modal-content {
		width: inherit;
	}
}
@media (min-width: 768px) and (max-width: 1199px) {
	.modal-content {
		width: 88%;
	}
}
@media (min-width: 1200px) {
	.modal-content {
		width: 75%;
	}
}

@media (min-width: 992px) {
	.modal-content .modal-header .close {
		right: -40px;
		top: -40px;
	}
}
@media (max-width: 991px) {
	.modal-dialog {
		padding-left: 15px;
		padding-right: 15px;
	}
}
.modal.fade:hover {
	opacity: 1;
}