/*
Theme Name:  Olly Stabler
Description: Child theme for mercury
Author:      Adrian Jefferies
Author URI:  http://definingdesign.co.uk
Template:    mercury
Version:     1.8.3
test
*/

@import "../mercury/css/screen.css";

/******************** global styles *****************/
p {
	margin-bottom: 10px;
	line-height: 1.6;
	font-size: 1.25em;
}

p.small {
	line-height: 1.4;
    font-size: 0.9em;
}

ul {
	list-style-position: inside;
	line-height: 1.6;
	font-size: 1.25em;
}

#menu_wrapper div .nav li.current-menu-item > a.mPS2id-highlight,
#menu_wrapper div .nav li.current-menu-parent > a.mPS2id-highlight, 
#menu_wrapper div .nav li.current-menu-ancestor > a.mPS2id-highlight,
#autocomplete a, #autocomplete a:hover,
#autocomplete a:active {
	color: #999;
}
#menu_wrapper div .nav li.menu-item-has-children > a {
	cursor: default;
}
#mobile_main_menu .sub-menu {
    list-style: none;
}
.home .menu-item.prices, /* hide on home page */
.single-post .menu-item.prices, /* hide on blog posts */
.blog .menu-item.prices, /* hide on blog page */
.category .menu-item.prices, /* hide on category page */
.page-id-1556 .menu-item.prices { /* hide on services top page */
	display: none;
	visibility: hidden;
	height: 0;
}
/******************** header *****************/

.top_bar {
	position: fixed;
}
.top_bar.fixed.nav-up {
	visibility:hidden !important;
	animation-name: fadeOut;
	-webkit-animation-name: fadeOut;	
	animation-duration: 0.5s;	
	-webkit-animation-duration: 0.5s;
}
@media screen and (max-width: 782px) {
	.top_bar.fixed {
		top: 0; /* force menu to top of screen (otherwise admin bar pushes it down) */
	}
}

.logo_wrapper
{
	margin: 18px 0 5px 0;
}
/******************** slider *****************/
#wrapper .flex-direction-nav a {
    width: 54px;
    height: 54px;
}

#wrapper .flex-direction-nav .flex-next {
    right: 7px;
    background: url('bg_direction_nav-next.png') no-repeat 0 0;
}

#wrapper .flex-direction-nav .flex-prev {
    left: 5px;
    background: url('bg_direction_nav-prev.png') no-repeat 0 0;
}

#wrapper .flexslider:hover .flex-next {
    right: 7px
}

#wrapper .flexslider:hover .flex-prev {
    left: 5px
}
/******************** slider background *****************/
#wrapper .page_layerslider {
	padding: 75px 0;
	background: #E3E3E5;
}
#wrapper .one.withpadding:first-child {
	padding: 75px 0;
	background: #E3E3E5;
}
#wrapper .one.withpadding:nth-child(3n) {
	padding: 75px 0;
	background: #E3E3E5;
}

/******************** homepage *****************/
.responsive-tabs .responsive-tabs__list {
    text-align: center;
    padding: 0 20px 15px !important;
}
.responsive-tabs .responsive-tabs__list li {
    float: none !important;
    font-size: 30px !important;
    margin: 0;
    padding: 0;
    -webkit-transition: color 250ms ease-out;
    -moz-transition: color 250ms ease-out;
    -o-transition: color 250ms ease-out;
    transition: color 250ms ease-out;
}
.responsive-tabs .responsive-tabs__list li::before {
    content: "\2022";
    font-size: 25px !important;
    margin: 0 20px;
    color: #333;
}
.responsive-tabs .responsive-tabs__list li:first-child::before {
    content: "";
}
.responsive-tabs .responsive-tabs__list__item--active {
    background: none !important;
    border: none !important;
}
.responsive-tabs .responsive-tabs__list__item--active:hover {
    background: none !important;
}
.responsive-tabs .responsive-tabs__panel {
    background: none !important;
    border: none !important;
	padding: 0 !important;
}

/*
#wrapper div.top_bar + br.clear + div.one.withpadding {
	padding: 75px 0;
	background-image: url(http://www.ollystabler.com/wp-content/uploads/2015/03/IMG_9293.jpg);
	background-attachment: fixed;
	background-position: 50% -350px;
	background-repeat: repeat; 
}
.page_content_wrapper ul.resp-tabs-list {
	margin: 0;
}
.page_content_wrapper .resp-vtabs li.resp-tab-item {
	border: none;
	background: #fff;
}
.page_content_wrapper .resp-vtabs li.resp-tab-item.resp-tab-active,
.page_content_wrapper .resp-vtabs .resp-tabs-list li:hover {
	background: #eee;
}
.page_content_wrapper .resp-vtabs li.resp-tab-item {
	border: none;
	background: #fff;
}
.page_content_wrapper .resp-vtabs .resp-tabs-container {
	border: none;
}
.page_content_wrapper .resp-tab-content {
	padding: 0;
	border: none;
}
*/
/********************** about - contact **********************/

.portrait-left img {
	float: left;
	margin-top: 10px;
	padding: 0 20px 10px 0;
}
/********************** services **********************/

.boxed .panel-grid-cell .textwidget {
	border: 1px solid #ccc;
	padding: 0 0 15px 0;
	margin-bottom: 30px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.boxed .panel-grid-cell .textwidget img {
    max-width: 100%;
    height: auto !important;
}
.boxed .panel-grid-cell .textwidget h3 {
	padding: 20px 30px;
}
.boxed .panel-grid-cell .textwidget h3 a {
	color: #000000;
}

/******************  single pages  ********************/
.blog_title h3 {
	color: #fff;
}

.blog_title a {
	color: #fff;
}
.blog_title a:hover {
	color: #eee;
}


#page_caption h3 {
	font-size: 4em;
    letter-spacing: -2px;
    font-weight: normal;
}
.post_header h1 {
    font-size: 2.6em;
    letter-spacing: -1px;
    font-weight: normal;
}
.post_header h1 a {
    color: #000000;
}
#page_content_wrapper,
#pagebuilder_title_wrapper {
    margin-top: 79px;
}
#page_content_wrapper .inner {
    margin-top: 25px;
}
#page_content_wrapper .panel-grid .panel-grid .panel-grid-cell p {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1em;
    margin-bottom: 2px;
}

/******************  athlete project page  ********************/

body.page-id-2530 {
	background-color: #eee;
}
.athlete-project-wrapper {
	text-align: center;
}
.athlete-project-item {
	width: 280px;
	height: 375px;
	display: inline-block;
	margin: 0 5px;
	text-align: center;
	vertical-align: top;
}
.athlete-project-image {
	width: 280px;
	height: 280px;
	display: table;
}
.athlete-project-image a {
	vertical-align: middle;
	display: table-cell;
	width: 280px;
	height: 280px;
	line-height: 0.1;
	background-color: #e0e0e0;
	transition: opacity background-color .25s ease-in-out;
   -moz-transition: opacity background-color .25s ease-in-out;
   -webkit-transition: opacity background-color .25s ease-in-out;
}
.athlete-project-image a:hover {
	background-color: #ddd;
}
.athlete-project-image a:hover img {
	opacity: 0.9;
}
.athlete-project-image a img {
	opacity: 1;

}
/******************  single posts  ********************/
.post .wp-caption p.wp-caption-text {
	height: 0;
	visibility: hidden;
	display: none;
}
.post_header.full,
.post_excerpt_full {
	width: 65%;
}

.large-text {
	font-size: 20px;
}
/******************  athlete project posts  ********************/
body.athlete-project {
	background-color: #eee;
}
body.athlete-project .athlete-project-button {
	text-align: center;
}
body.athlete-project #page_caption a.athlete-project-button {
	margin: 0;
	font-size: 11px;
	background-color: inherit;
	color: #555;
	border: 1px solid #eee;
}
body.athlete-project #page_caption a.athlete-project-button:hover {
	background-color: #bbb;
}
/*************  single products (headshot) ***************/

.post .woocommerce #social_share_wrapper {
	display: none;
	visibility: hidden;
	height: 0;
}
.woocommerce div.product form.cart .variations label {
    margin: 8px 0;
    display: inline-block;
}

/* from http://kb.oboxthemes.com/articles/woocommerce-how-to-style-select-fields/ */
.woocommerce select {
    position: relative;
    display: inline-block;
    font-family: 'Open Sans','Helvetica Neue',Arial,Verdana,sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 10px;
    line-height: 1.5;
    color: #666;
    background-color: #fff;
    cursor: pointer;
    outline: 0;
}

.woocommerce select option {
    border: 0;
}

/* Undo the Firefox inner focus ring */
.woocommerce select:focus:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #454545;
}

/* Dropdown arrow */
.woocommerce select:after {
    position: absolute;
    top: 50%;
    right: 1.25rem;
    display: inline-block;
    content: "v";
    width: 0;
    height: 0;
    margin-top: -.15rem;
    pointer-events: none;
    border-top: .35rem solid;
    border-right: .35rem solid transparent;
    border-bottom: .35rem solid transparent;
    border-left: .35rem solid transparent;
}

/* Hover state */
/* Uncomment if you need it, but be aware of the sticky iOS states.
.select select:hover {
  background-color: #ddd;
}
*/
/* Focus */
.woocommerce select select:focus {
    box-shadow: 0 0 0 .075rem #fff,0 0 0 .2rem #0074d9;
}

/* Active/open */
.woocommerce select select:active {
    color: #fff;
    background-color: #0074d9;
}

/* Hide the arrow in IE10 and up */
.woocommerce select select::-ms-expand {
    display: none;
}

/* Media query to target Firefox only */
@-moz-document url-prefix() {
/* Firefox hack to hide the arrow */
    .woocommerceselecttext-indent: .01px;
    text-overflow: ;
    padding-right: 1rem;
}

/* elements inherit styles from, so reset them. */
.woocommerce select option {
    background-color: #fff;
}    
}

/* IE9 hack to hide the arrow */
@media screen and (min-width:0\0) {
    .woocommerce select select {
        z-index: 1;
        padding: .5rem 1.5rem .5rem 1rem;
    }

    .woocommerce select:after {
        z-index: 5;
    }

    .woocommerce select:before {
        position: absolute;
        top: 0;
        right: 1rem;
        bottom: 0;
        z-index: 2;
        content: "";
        display: block;
        width: 1.5rem;
        background-color: #eee;
    }

    .woocommerce select select:hover,
	.woocommerce select select:focus,
	.woocommerce select select:active {
        color: #555;
        background-color: #eee;
    }
}

/***  woocommerce order form  ***/
input[type=tel] {
    padding: 8px 10px 7px 10px;
    font-size: 100%;
    width: 90%;
    font-family: 'Open Sans', 'Helvetica Neue', Arial,Verdana,sans-serif;
    margin: 0;
    background: #fff;
    color: #666;
    border: 1px solid #ccc;
    -webkit-transition: border linear .2s, box-shadow linear .2s;
    -moz-transition: border linear .2s, box-shadow linear .2s;
    -o-transition: border linear .2s, box-shadow linear .2s;
    transition: border linear .2s, box-shadow linear .2s;
}
.woocommerce .woocommerce-shipping-fields {
	display: none;
	visibility: hidden;
	height: 0;
}
#page_content_wrapper .woocommerce .variation-Time p {
    padding: 0 0 0 1em;
}

/********************** area popups **********************/
.textwidget a.area-gallery {
	webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.textwidget a.area-gallery:hover {
	opacity: 0.8 !important;
    filter: alpha(opacity=80) !important;
}

/************  gallery popup (fancybox)  **************/

.fancybox-default-overlay {
    background: #000;
    opacity: 0.6 !important;
    filter: alpha(opacity=60) !important;
}
/*
.two_third,
.one_half {
	padding-right: 30px;
}
.one_third.last,
.one_half_last {
	padding-right: 0;
}
.one_third.last img {
	width: 100%;
}
*/
.ppb_blog_desc {
	width: 96%;
}
.post_header.grid {
	height:  80px;
}
.post_header.grid + p {
	height:  220px;
}
/****  upto 1170px wide devices   ****/

@media (max-width: 1170px) {
	#menu_wrapper {
		width: 100%;
	}
	#page_content_wrapper,
	.page_content_wrapper {
		width: 95%;
		margin-right: 20px;
		margin-left: 20px;
	}
	/*
	.two_third,
	.one_half {
		width: 95%;
	}
	*/
	#blog_grid_wrapper {
		width: 100%;
	}
	.ppb_blog_posts .post.type-post {
		width: 96%;
		margin: auto;
	}
	.post_header.grid + p {
		height: auto;
	}
	.ppb_blog_desc {
		width: auto;
	}
	.post_header.grid {
		height: auto;
	}
	.footer_bar {
	  width: 96%;
	  padding: 0 2%;
	}
	#footer .sidebar_widget.three {
	  width: 100%;
	}
	#footer .sidebar_widget.three > li {
	  width: 100%;
	  margin: 0;
	  padding: 0;
	}
	#footer .sidebar_widget.three > li.last {
	  width: 100%;
	}

	.footer_bar_wrapper {
	  width: 100%;
	}
	/********************** services page **********************/
	.page-id-1556 .boxed .panel-grid-cell .textwidget h3 {
		padding: 20px 0;
	}
}
/****  upto 960px wide devices   ****/

@media (max-width: 960px) {
	.ppb_blog_posts .post.type-post {
		width: 94%;
	}
}

/****  upto 767px wide devices   ****/

@media (max-width: 767px) {
	#mobile_nav_icon {
		margin-top: 25px;
		margin-right: 10px;
		display: block;
	}
	#nav_wrapper {
		display: none;
	}
	.mobile_menu_wrapper {
		margin-top: 50px;
		overflow: hidden !important;
	}
	#mobile_main_menu {
		list-style: none;
	}
	#mobile_main_menu li {
		padding: 2px 10px;
		font-size: 18px;
	}
	#mobile_main_menu li li a{
		font-size: 16px;
	}
	#mobile_main_menu li a {
		color: #ddd;
	}
	#mobile_main_menu li a:hover {
		color: #fff;
	}
	.one_third.last img {
		display: none;
	}
	#page_content_wrapper,
	#pagebuilder_title_wrapper,
	.page_content_wrapper {
		margin-right: 10px;
		margin-left: 10px;
		margin-top: 71px !important;
		width: 97%;
	}
	.ppb_blog_posts .post.type-post {
		width: 100%;
	}
}
/****  upto 640px wide devices   ****/

@media (max-width: 640px) {
	#page_content_wrapper,
	.page_content_wrapper {
		margin-right: 5px;
		margin-left: 5px;
		width: 97%;
	}
}

input[type=email],
input[type=text],
input[type=tel],
textarea   {
	padding: 8px 10px 7px 10px;
	font-size: 100%;
	width: 90%;
	font-family: 'Open Sans', 'Helvetica Neue', Arial,Verdana,sans-serif;
	margin: 0;
	background: #fff;
	color: #666;
	border: 1px solid #ccc;
	-webkit-transition: border linear .2s, box-shadow linear .2s;
	-moz-transition: border linear .2s, box-shadow linear .2s;
	-o-transition: border linear .2s, box-shadow linear .2s;
	transition: border linear .2s, box-shadow linear .2s;
}


/******************** single posts *****************/

.post_detail a:first-child + a {
	display: none;
}
.single.single-post .one_half {
	padding-right: 20px;
}

.single.single-post .one_third {
	padding-right: 10px;
}
.single.single-post .one_half.last,
.single.single-post .one_third.last {
	padding-right: 0;
}

/******************** wordpress galleries  *****************/
#gallery-1,
#gallery-2 {
	margin: auto;
	text-align: center;
}

#gallery-1 .gallery-item,
#gallery-2 .gallery-item {
	width: 280px;
	height: 290px;
	display: inline-block;
	margin: 0 5px;
	text-align: center;
	vertical-align: top;
}
#gallery-1 .gallery-icon,
#gallery-2 .gallery-icon {
	width: 280px;
	height: 280px;
}
#gallery-1 .gallery-icon a,
#gallery-2 .gallery-icon a {
	vertical-align: middle;
	display: table-cell;
	width: 280px;
	height: 280px;
	line-height: 0.1;
	background-color: #f1f1f1;
	transition: background-color .25s ease-in-out;
   -moz-transition: background-color .25s ease-in-out;
   -webkit-transition: background-color .25s ease-in-out;
}
#gallery-1 .gallery-icon a:hover,
#gallery-2 .gallery-icon a:hover {
    background-color: #e8e8e8;
}
#gallery-1 img {
	
}
#gallery-1 .gallery-caption,
#gallery-2 .gallery-caption {
	margin-left: 0;
	display: none;
}

#gallery-1 .gallery-icon a img,
#gallery-2 .gallery-icon a img {
	transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
	opacity: 1;
}
#gallery-1 .gallery-icon a:hover img,
#gallery-2 .gallery-icon a:hover img {
	opacity: 0.9;
}


/******************** gallery posts *****************/
.gallery-contact-form {
	text-align: center;
	padding: 0 0 40px;
}
#eModal-1 p {
	margin-bottom: 5px;
    line-height: 1.3;
    font-size: 1.1em;
}
#eModal-1 .wpcf7-text {
	width: 92%;
}
#eModal-1 .textarea {
	height: 150px;
	width: 92%;
}
/******************** Author block *****************/
#authorarea {
	border: 1px solid #d2d2d2;
	padding: 25px;
	overflow:hidden;
	color: #333;
}
#authorarea h3 {
	font-size: 18px;
	color:#333;
	margin:0;
	padding: 0 10px 10px 0;
}
#authorarea h3 a {
	text-decoration:none;
	color: #333;
	font-weight: bold;
}
#authorarea img {
	margin:0;
	float:left;
	border: 1px solid #ddd;
	width: 100px;
	height: 100px;
}
#authorarea p {
	color:#333;
	margin:0;
	padding:0px 10px 10px 10px;
	}
	#authorarea p a{
	color:#333;
}
.authorinfo {
	padding-left:120px;
} 
/******************** mailchimp block *****************/
.mailchimp-signup {
	border: 1px solid #d2d2d2;
	padding: 10px 25px;
	overflow:hidden;
	color: #333;
}
.mailchimp-signup .mc4wp-form {
    margin: 0;
}
/******************** footer *****************/

#text-2.widget_text span.post_attribute {
    display: block;
    margin-left: 80px;
    margin-top: 6px;
}

.instagram-pics li {
	position: relative;
	z-index: 2;
	float: left;
	top: 10px;
		-webkit-transition: 0.2s ease-out; 
	-moz-transition: 0.2s ease-out; 
	-o-transition: 0.2s ease-out;
	animation-name: bigEntrance;
	-webkit-animation-name: bigEntrance;	
	animation-duration: 1s;	
	-webkit-animation-duration: 1s;
	animation-timing-function: ease-out;	
	-webkit-animation-timing-function: ease-out;	
}
.instagram-pics li:hover {
	top: 0;
}
.instagram-pics li img {
	border-radius: 200px;
	overflow: hidden;
	width: 70px;
	height: 70px;
	margin-right: 7px;

	visibility: visible !important;		
	top: 10px;
}

#footer ul.sidebar_widget li ul.instagram-pics li:first-child {
	padding-top: 0;
}

.footer_bar_wrapper .copyright {
	text-align: center;
	padding: 10px;
}
.footer_bar_wrapper .copyright span {
	padding: 10px;
}
.footer_bar_wrapper .copyright a {
	color: #aaa;
}
.footer_bar_wrapper .copyright a:hover,
.footer_bar_wrapper .copyright a:focus {
	color: #eee;
}
#menu-footer-menu-container {
	text-align: right;
	width: 100%;
	position: relative;
}
#menu-footer-menu {
    list-style: none;
    font-size: 13px;
    margin: 0 auto 1.0625em auto;
    margin-left: -1.375em;
    margin-right: 0;
}
#menu-footer-menu li {
    margin: 0 0 0 0;
    display: inline-block;
}
#menu-footer-menu li a {
    margin: 0 7px 15px 7px;
}


/****  upto 767px wide devices   ****/
@media (max-width: 767px) {
	.footer_bar  .footer_bar_wrapper {
		width: 500px;
	}
	.footer_bar_wrapper  .copyright span {
		display: block;
		padding-bottom: 8px;
	}
	/******************** homepage *****************/
	.responsive-tabs .responsive-tabs__panel {
		border: 1px solid #ccc !important;
	}
	    
}
/****  upto 530px wide devices   ****/
@media (max-width: 530px) {
	.footer_bar  .footer_bar_wrapper {
		width: 300px;
	}
	#post_more_wrapper {
		display: none;
		visibility: hidden;
		height: 0;
	}
}

