/*
Theme Name: Olly Smith
Theme URI: http://www.ollysmith.com/
Description: 
Version: 2.0
Author: Sam Mullen
Author URI: http://www.macambulance.co.uk

Colours : 

// background
pink			: rgb(218,144,190)
purple			: rgb(103,43,110)

// body
page bg			: rgb(252,249,247)


*/

/* fonts */

@font-face {
    font-family: 'Souvenir';
    src: url('font/souvenir/souvenirstd-light-webfont.eot');
    src: url('font/souvenir/souvenirstd-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/souvenir/souvenirstd-light-webfont.woff') format('woff'),
         url('font/souvenir/souvenirstd-light-webfont.ttf') format('truetype'),
         url('font/souvenir/souvenirstd-light-webfont.svg#itc_souvenir_std_lightregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
.souvenir, input.souvenir {
	font-family: "Souvenir", Georgia, serif;
}

/* colours */

.purple, input.purple {
	color: rgb(103,43,110);
}
.white, input.white {
	color: rgb(255,255,255);
}
.pink, input.pink {
	color: rgb(218,144,190);
}
.purple-bg {
	background-color: rgb(103,43,110);
}
.white-bg {
	background-color: rgb(255,255,255);
}
.pink-bg {
	background-color: rgb(218,144,190);
}
.purple-border {
	border: 1px solid rgb(103,43,110);
}
.white-border {
	border: 1px solid rgb(255,255,255);
}
.pink-border {
	border: 1px solid rgb(218,144,190);
}
.border-bottom {
	border-width: 0 0 1px 0;
}

/* headings */

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	line-height: 100%;
	margin: 0;
}
h1, h2 {
	margin-bottom: 10px;
}

/* sizes */

h1, .size-l, input.size-l {
	font-size: 190%;
	line-height: 130%;
}
h2, .size-m, input.size-m {
	font-size: 140%;
	line-height: 130%;
}
h3, .size-s, input.size-s {
	font-size: 100%;
	line-height: 130%;
}
h4, .size-xs, input.size-xs {
	font-size: 90%;
}

/* lists */

.pink-list > li, .pink-list > div {
	border-bottom: 1px solid rgb(218,144,190);
	padding-bottom: 4px;
	margin-bottom: 4px;
}
.pink-list > li:last-child, .pink-list > div:last-child {
	margin-bottom: 0;
	border-bottom: none;
}

/* Captions & aligment */

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin-right: 10px;
}

.alignright {
	float: right;
	margin-left: 10px;
}

.wp-caption {
	margin: 20px auto!important;
	padding: 5px 5px 0 5px;
	text-align: center;
/*
	background: #efefef;
	border: 1px solid #ccc;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
*/
}
.wp-caption img {
	display: block;
	max-width: 100%;
	margin: 0 auto 10px auto;
	width: auto;
	height: auto;
	border: 1px solid rgb(218,144,190);
}

.wp-caption p.wp-caption-text {
	font-size: 100%;
	line-height: 120%;
	font-family: 'Souvenir', 'Georgia', serif;
	color: rgb(103,43,110);
	padding: 0 3px;
}
.aligncenter.wp-caption p.wp-caption-text {
	text-align: center;
}

/* End captions & aligment */

html, body {
	min-height: 100%;
}
html, body, html a {
	-webkit-font-smoothing: antialiased!important;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}
ul, li, ol {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
body {
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-family: Georgia, serif;
}
a, a:active, a:visited, a:focus {
	border: 0;
	outline: 0;
	color: rgb(103,43,110);
}
a:hover {
	text-decoration: none;
	color: rgb(103,43,110);
}
img {
	border: 0;
	outline: 0;
}
.no-js .hf-nojs, .has-js .hf-js {
	display: none!important;
}
.constrain {
	position: relative;
}
form {
	margin: 0;
}

/* page layout */

body {
	background: url(img/body-bg.png);
	padding: 0 20px;
}
#wrapper {
	margin: 40px auto 0 auto;
	background: rgb(252,249,247);
	padding: 0 12px 12px 12px;
	max-width: 881px;
}
#wrapper > section, #page-content section {
	margin-bottom: 20px;
}
#wrapper > #sub-footer, #page-content section:last-child {
	margin-bottom: 0;
}
.sep {
	width: 100%;
	display: block;
	clear: both;
	height: 1px;
	margin: 10px 0;
}
.posts-nav a {
	font-family: "Souvenir", Georgia, serif;
	display: block;
}
.posts-nav .next a {
	text-align: right
}

/* menus */

.menu a {
	display: block;
}

/* top menu */

#top-menu a {
	color: rgb(103,43,110);
	border-bottom: 1px solid rgb(218,144,190);
	margin-bottom: 24px;
	font-family: "Souvenir", Georgia, sans-serif;
	font-size: 120%;
}
#top-menu a:hover, #top-menu .current-menu-item > a, #top-menu .current-menu-parent > a, .wpsc .menu-item-title-shop > a, .single-wpsc-product .menu-item-title-shop > a {
	text-decoration: none;
	border-bottom-color: rgb(103,43,110);
}

/* top mobile menu */

.mobile-menu .dropdown-toggle {
	display: block;
	padding: 10px 0;
	margin-bottom: 10px;
	border-bottom: 1px solid rgb(218,144,190);
}
.mobile-menu li {
	float: none;
}
.mobile-menu .dropdown-menu {
	left: 50%;
	transform: translateX(-50%);	
}
.menu-open  .dropdown-menu {
	display: block;
}
.mobile-menu .dropdown-menu a {
	display: block;
	padding: 5px 0;
}
.mobile-menu .dropdown-menu a:hover {
	background: transparent;
	text-decoration: underline;
}
.mobile-menu .dropdown-menu > li > a, .mobile-menu a:active {
	color: rgb(103,43,110)!important;
}


/* footer menu */

#sub-footer {
	border-top: 2px solid rgb(218,144,190);
	padding-top: 20px;
}
.column-footers [class*="span"] {
	border-bottom: 1px solid rgb(218,144,190);
	min-height: 1px;
}
#footer .nofloat [class*="span"] {
	width: auto;
	margin: 0;
	float: none;
	min-height: 0;
}
#footer a {
	color: rgb(103,43,110);
	font-family: "Souvenir";
	line-height: 120%;
}
#footer a:hover {
	text-decoration: underline;
}

/* footer */

#footer {
	background: rgb(220,220,220);
	margin: 20px -12px -12px -12px;
	padding: 12px;
	box-sizing: border-box;
	color: rgb(103,43,110);
}
#footer #copyright {
	padding: 20px 0 0 0;
}
#footer #app-store-logo {
	margin-top: 5px;
}

/* header */

#logo-social {
	padding: 30px 0;
}
#header #searchform {
	margin: 10px 0;
}
#header #s {
	background: none;
	padding: 0 0 5px 0;
	width: 88%;
	border: 1px solid rgb(218,144,190);
	border-width: 0 0 1px 0;
	outline: none;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	font-size: 120%;
	color: rgb(103,43,110);
}
#header #s:focus {
	outline: none;
	box-shadow: none;
}

/* social links */

.social-links li {
	margin-left: 12px;
}

/* home slideshow */

#wrapper > #home-slideshow {
	margin-bottom: 40px;
}
.slideshow-wrapper .slide {
	position: relative;
}
.slideshow-wrapper .slide img {
	width: 100%;
	height: auto;
}
.slideshow-wrapper .slide-meta {
	position: absolute;
	z-index: 2;
	color: rgb(255,255,255);
	font-family: "Souvenir";
	font-size: 220%;
	padding: 20px;
	line-height: 120%;
	background: rgb(40,40,40);
	background: rgba(40,40,40,0.3);
	box-sizing: border-box;
}
.slideshow-wrapper .slide-meta p {
	margin: 0;
}
.slideshow-wrapper .slide-meta.left {
	left: 0;
	top: 0;
	width: 50%;
	bottom: 0;
}
.slideshow-wrapper .slide-meta.right {
	right: 0;
	top: 0;
	width: 50%;
	bottom: 0;
}
.slideshow-wrapper .slide-meta.bottom {
	left: 0;
	bottom: 0;
	width: 100%;
	height: auto;
}
.slideshow-wrapper .slide-meta.top {
	left: 0;
	top: 0;
	width: 100%;
	height: auto;
}
.slideshow-wrapper #bullets {
	position: absolute;
	left: 50%;
	bottom: 0;
	line-height: 0;
}
.slideshow-wrapper #bullets a {
	display: inline-block;
	height: 12px;
	width: 12px;
	margin-right: 6px;
	background-image: url(img/nav/bullets.png);
	background-repeat: no-repeat;
	background-position: left top;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.slideshow-wrapper #bullets a {
		background-image: url(img/nav/bullets@2x.png);
		background-size: 24px 12px;
	}
}
.ie7 .slideshow-wrapper #bullets a {
	float: left;
}
.slideshow-wrapper #bullets a span {
	display: none;
}
.slideshow-wrapper #bullets a.selected {
	background-position: -12px 0;
}

/* home slideshow */

.has-js .home-slideshow {
	margin-bottom: 30px;
}
.home-slideshow .slideshow {
	max-height: 360px;
	overflow: hidden;
}
.home-slideshow #bullets {
	bottom: -21px;
}

/* tiles */

.tile {
	overflow: hidden;
	max-height: 100%;
	margin-bottom: 20px;
}
.tile .tile-content {
	background-position: center center;
	background-size: cover;
}
.tile .square {
	height: 0;
	padding-bottom: 100%;
	background-size: cover;
	box-sizing: border-box;
}
.tile .inner-pad {
	padding: 10px;
	height: 100%;
	box-sizing: border-box;
}
.tile .inner-pad > a {
	display: block;
	height: 0;
	padding-bottom: 100%;
	width: 100%;
}
.tile .caption {
	position: absolute;
	background-color: rgb(103,43,110);
	width: 100%;
	height: 100%;
	top: 102%;
	left: 0;
	color: #fff;
}
.tile .caption a {
	display: block;
	height: 100%;
}
.tile a:hover {
	color: #fff;
}
.tile h1 {
	margin-bottom: 15px;
}

/* tile : twitter */

.tile .widget_twitter h1, .widget_twitter .in-reply-to-meta {
	display: none;
}
.tile-twitter .pink-border {
	border: none;
}
.widget_twitter {
	position: relative;
	padding-bottom: 40px;
}
.widget_twitter li {
	margin-bottom: 3px;
	padding-bottom: 3px;
	border-bottom: 1px solid rgb(218,144,190);
}
.widget_twitter li:last-child {
	border-bottom: none;
}
.widget_twitter .entry-content, .widget_twitter .entry-meta {
	display: block;
}
.widget_twitter .follow-button {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgb(252,249,247);
	background: rgba(252,249,247,0.8);
	padding: 10px 10px 4px 10px;
}
.widget_twitter .twitter-avatar {
	float: left;
	margin-right: 10px;
}
.widget_twitter .entry-content, .widget_twitter .entry-content a {
	color: #444;
}
.widget_twitter .entry-content a {
	text-decoration: underline;
}
.widget_twitter a:hover {
	color: rgb(103,43,110);
	text-decoration: underline;
}

/* form inputs */

input[type="text"], input[type="email"], textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 5px;
	height: auto;
	font-family: Georgia, serif;
}
input[type="submit"] {
	font-family: Georgia, serif;
}
input.error {
	border-color: rgb(103,43,110);
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
	box-shadow: none;
}
label.error {
	display: none!important;
}
#searchform input[type="text"] {
	font-family: "Souvenir", Georgia, serif;
}
*::-webkit-input-placeholder {
	color: rgb(218,144,190);
}
*:-moz-placeholder {
	color: rgb(218,144,190);
}
*::-moz-placeholder {
	color: rgb(218,144,190);
}
*:-ms-input-placeholder {
	color: rgb(218,144,190);
}
input[type="search"] {
    -moz-appearance:    none;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    
}

/* sub footer */

#sub-footer h1 {
	margin-bottom: 15px;
}

/* footer widgets */

.signup-form input[type="text"], .signup-form input[type="email"] {
	border: 1px solid rgb(218,144,190);
	border-width: 0 0 1px 0;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	background: none;
	outline: none;
	padding: 0;
	box-shadow: none;
	color: rgb(103,43,110);
}
.signup-form input[type="submit"] {
	-webkit-appearance: none;
	background: none;
	width: auto;
	float: right;
	border: none;
	padding: 5px 0;
	margin: 0 0 10px 0;
}
.signup-form input[type="submit"]:hover {
	text-decoration: underline;
}
.widget_ollysmith-sign-up form a {
	text-decoration: underline;
	font-size: 110%;
}
.widget_ollysmith-live-appearances p {
	margin-bottom: 0;
}
.footer-sidebar .widget_ollysmith-blog-posts h2 {
	margin-bottom: 0;
}
.footer-sidebar .widget_ollysmith-blog-posts .title {
	border-bottom: 1px solid rgb(218,144,190);
	margin-bottom: 5px;
	padding-bottom: 2px;
}
.footer-sidebar .widget_ollysmith-blog-posts .post-item {
	margin-bottom: 20px;
}
.widget_ollysmith-sign-up {
	background: url(img/logo/hot-bottle.jpg) right top no-repeat;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.widget_ollysmith-sign-up {
		background-image: url(img/logo/hot-bottle@2x.jpg);
		background-size: 50px 50px;
	}
}

/* items list */

.widget_ollysmith-items-list .excerpt, .widget_ollysmith-items-list h2 {
	margin: 5px 0 0 0;
	line-height: 120%;
}
.widget_ollysmith-items-list .event a {
	display: block;
}

/* sidebars */

.sidebar .widget {
	margin-bottom: 20px;
}
.sidebar .wp-post-image {
	margin-bottom: 10px;
}

/* find a wine */

#wine-finder form {
}
#wine-finder .submit {
	background: none;
	border: none;
	outline: none;
	color: #fff;
	display: inline-block;
}
#wine-finder .submit-wrapper {
	border-radius: 10px;
	padding: 5px 5px;
}
#wine-finder label {
	display: inline-block;
	width: auto;
	margin: 0 0 0 5px;
}
#wine-finder input[type="checkbox"] {
	margin-top: 0;
}
#wine-finder h2, #wine-finder fieldset  {
	margin-bottom: 10px;
}

/* featured images */

.wp-post-image {
	margin-bottom: 15px;
}
.display-grid .row-fluid {
	margin-bottom: 15px;
}
#wines-of-the-week .wp-post-image, #top-picks-list .wine .wp-post-image, #events-display .wp-post-image, .single .attachment-large, .attachment-thumb-medium, .archive .attachment-large, .archive .attachment-thumb-medium, .page .attachment-large {
	border: 1px solid rgb(218,144,190);
}

/* videos */

.videos-list h2, .videos-list h1 {
	margin-bottom: 3px;
}
.videos-list .excerpt {
	margin-top: 7px;
	line-height: 100%;
}
.videos-list .row-fluid {
	margin-bottom: 20px;
}
.videos-list .row-fluid:last {
	margin-bottom: 0;
}
 
/* video thumbnail */

.video .fancybox-video .video-wrapper {
	position: relative;
}
.video .fancybox-video .video-wrapper:after {
	content: '';
	z-index: 99;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -22px;
	margin-top: -22px;
	border-style: solid;
	border-width: 16px 22px 16px 22px;
	border-color: transparent transparent transparent rgba(255,255,255,0.7);
	display: none;
}
.video .fancybox-video .video-wrapper:before {
	content: '';
	z-index: 98;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -44px;
	margin-top: -35px;
	border-radius: 30px;
	height: 60px;
	width: 60px;
	background: rgba(103,43,110,0.4);
	display: none;
}
.video a.fancybox-video .video-wrapper:hover::after, .video a.fancybox-video .video-wrapper:hover::before {
	display: block;
}

/* share */

.share {
	margin-left: 10px;
	margin-top: -4px;
}
.fancybox-wrap .share {
	margin-top: -8px;
}
.share a {
	background: url(img/social/social.png) no-repeat left top;
	height: 16px;
	display: inline-block;
	text-indent: -999em;
	margin-left: 5px;
}
.share-dark a {
	background: url(img/social/social-dark.png) no-repeat left top;
}
.share .facebook {
	width: 17px;
}
.share .twitter {
	width: 20px;
	background-position: -17px 0;
}
.featured .share, .single .share {
	position: relative;
	top: 8px;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
	.fancybox-wrap .share {
		margin-top: 0;
	}
	.share a {
		background-image: url(img/social/social@2x.png);
		background-size: 36px 16px;
	}
	.share-dark a {
		background-image: url(img/social/social-dark@2x.png);
	}
}

/* events */

#events-display h1 {
	min-height: 32px;
}

/* wines */

#top-picks-list p {
	margin-bottom: 0;
}
#top-picks-list li {
	margin-bottom: 10px;
	padding-bottom: 10px;
}

/* the content */

.the-content ol li {
	margin: 0 0 5px 20px;
	list-style-type: decimal;
}
.the-content a:hover {
	text-decoration: underline;
}
.the-content img {
	border: 1px solid rgb(218,144,190);
}


/* display grids */

.display-grid .span12 .the-excerpt {
	min-height: 0;
}

/* hot bottle */

.past-editions {
	margin-top: 20px;
}
.past-editions .signup-form input[type="submit"] {
	margin-bottom: 0;
}
.past-editions h1 {
	margin-bottom: 20px;
}
.page-template-hot-bottle-php .signup-form {
	max-width: 255px;
}

/* single wine */

.single-wine #top-picks {
	margin-top: 20px;
}

/* docked shopping cart */

.wp-e-commerce.cart-docked #shopping-cart-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: rgb(252,249,247);
	border-bottom: 1px solid rgb(103,43,110);
	width: 100%;
	margin: 0;
	padding: 10px 0;
	z-index: 99;
}
.wp-e-commerce.cart-docked #sideshoppingcart {
	max-width: 881px;
	margin: 0 auto;
}
.wp-e-commerce #sideshoppingcart .items a {
	font-size: 120%;
	position: relative;
	top: -2px;
}
.wp-e-commerce #sideshoppingcart .items a:after {
	font-family: 'ElegantIcons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	content: "\e07a";
}

/* signup popup */

.signup-popup-box.fancybox-wrap {
	background-color: #fff;
}
.signup-popup-box.fancybox-wrap img {
	border: none;
	outline: none;
}
.signup-popup-box.fancybox-wrap .fancybox-close {
	right: -5px;
	font-size: 190%;
}