/* _________________________________________________

320 and Up boilerplate extension
Andy Clarke http://about.me/malarkey
Version: 2
URL: http://stuffandnonsense.co.uk/projects/320andup/
License: http://creativecommons.org/licenses/MIT/
_____________________________________________________

*/
html, body {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
cite,
code,
del,
dfn,
em,
img,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dd,
dl,
dt,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-style: normal;
  font-size: 100%;
  line-height: 1;
  font-family: inherit;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
audio[controls], canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
.clearfix {
  zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}
.clearfix:after {
  clear: both;
}
html {
  overflow-y: scroll;
  background: #ffffff;
  font-size: 62.5%;
}
body {
  margin: 0 auto;
  padding: 0 1em;
  font-size: 16px;
  font-size: 1.6rem;
  font-family:Helvetica, Tahoma, sans-serif;
  color: #3c3c3c;
  background-color: transparent;
}
button,
input,
select,
textarea {
  font-family: "Gill Sans W01 Book", "Gill Sans", Helvetica, sans-serif;
  color: #404040;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Gill Sans W01 Book", "Gill Sans", Helvetica, sans-serif;
}
h1 {
  font-size: 48px;
  font-size: 4.8rem;
  line-height: 1.2;
}
h2 {
  font-size: 32px;
  font-size: 3.2rem;
  line-height: 1.2;
}
h3 {
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 1.3;
}
h4 {
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 1.25;
}
h5 {
  font-size: 16px;
  font-size: 1.6rem;
}
h6 {
  font-size: 16px;
  font-size: 1.6rem;
}
p,
ol,
ul,
dl,
address {
  margin-bottom: 1.5em;
  font-size: 16px;
  font-size: 1.6rem;
}
p {
  text-align: left;
}
ul, ol {
  margin: 0 0 1.5em -24px;
  padding: 0 0 0 24px;
}
li ul, li ol {
  margin: 0;
  font-size: 16px;
  font-size: 1.6rem;
}
dl, dd {
  margin-bottom: 1.5em;
}
dt {
  font-weight: normal;
}
blockquote {
  margin: 0 0 1.5em -24px;
  padding-left: 24px;
  border-left: 1px solid #bfbfbf;
  font-style: italic;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
abbr[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
b, strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
hr {
  display: block;
  margin: 1em 0;
  padding: 0;
  height: 1px;
  border: 0;
  border-top: 1px solid #bfbfbf;
}
ins {
  background-color: #c3d9e6;
  color: #000000;
  text-decoration: none;
}
mark {
  background-color: #c3d9e6;
  color: #000000;
  font-style: italic;
  font-weight: bold;
}
pre,
code,
kbd,
samp {
  font-family:Helvetica, Tahoma, sans-serif;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.5em;
}
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}
q {
  quotes: none;
}
q:before, q:after {
  content: "";
  content: none;
}
small {
  font-size: 14px;
  font-size: 1.4rem;
}
sub, sup {
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
a {
  color: #009fde;
  text-decoration: none;
  transition: color 0.2s ease-out;
}
a:visited {
  color: #009fde;
}
a:hover {
  color: #23426a;
}
a:focus {
  outline: thin dotted;
  color: #23426a;
}
a:hover, a:active {
  outline: 0;
}
figure {
  margin-bottom: 1.5em;
}
figure img, figure object, figure embed {
  margin-bottom: 0.75em;
  max-width: 100%;
}
figcaption {
  display: block;
  font-weight: normal;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
caption {
  background-color: transparent;
}
form {
  margin: 0;
}
fieldset {
  margin-bottom: 1.5em;
  padding: 0;
  border-width: 0;
}
legend {
  *margin-left: -7px;
  padding: 0;
  border-width: 0;
}
label {
  font-weight: normal;
  cursor: pointer;
}
button,
input,
select,
textarea {
  font-size: 12px;
  font-size: 1.2rem;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}
button, input {
  line-height: normal;
  *overflow: visible;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
}
input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
}
input[type="search"] {
  box-sizing: content-box;
}
button:-moz-focus-inner, input:-moz-focus-inner {
  padding: 0;
  border: 0;
}
textarea {
  overflow: auto;
  vertical-align: top;
}
html {
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: rgba(0,0,0,0.25);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
:-webkit-selection {
  background: #009fde;
  color: #fff;
  text-shadow: none;
}
:-moz-selection {
  background: #009fde;
  color: #fff;
  text-shadow: none;
}
:selection {
  background: #009fde;
  color: #fff;
  text-shadow: none;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
}
:-webkit-input-placeholder {
  font-size: 14px;
  font-size: 1.4rem;
}
input:-moz-placeholder {
  font-size: 14px;
  font-size: 1.4rem;
}
.ie7 img, .iem7 img {
  -ms-interpolation-mode: bicubic;
}
input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
}
input[type="search"] {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
}
button:-moz-focus-inner, input:-moz-focus-inner {
  padding: 0;
  border: 0;
}
.ir {
  display: block;
  overflow: hidden;
  background-repeat: no-repeat;
  text-align: left;
  text-indent: -999em;
  direction: ltr;
}
.ir br {
  display: none;
}

.visuallyhidden {
  position: absolute;
  margin: -1px;
  padding: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
  position: static;
  margin: 0;
  height: auto;
  width: auto;
  overflow: visible;
  clip: auto;
}
.invisible {
  visibility: hidden;
}

/* Light Blue: 009fde */
/* Dark Blue: 23426a */

/* GENERIC ============================================================================= */
html
{
    background: #fff url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/paper-bg.jpg);
}

body
{
    padding: 0;
    height: 100%;
    font-family: "Gill Sans W01 Book", "Gill Sans", Helvetica, sans-serif;
    background: #fff url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/paper-bg.jpg);
    font-smoothing: subpixel-antialiased !important;
}

.wrapper
{
    margin: 0 auto;
    width: 940px;
    max-width: 940px;
}

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

.pull-left
{
    float: left;
}

.pull-right
{
    float: right;
}

.hide
{
    display: none !important;
}

img
{
    display: block;
    max-width: 100%;
}

.hr-dots
{
    margin: 20px 0;
    height: 7px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/large-dots.png) no-repeat center;
}
    
    .svg .hr-dots
    {
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/large-dots.svg) no-repeat center;
        background-size: 940px 7px;
    }
    
    .hr-dots hr
    {
        display: none;
    }
    
.zero
{
    margin: 0 !important;
    padding: 0 !important;
}

.temp-jo-footer
{
    height: 340px;
    background: #fff url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/temp-jo-footer.jpg) no-repeat center top;
}


/* TEXT ============================================================================= */
.blue-button, a.blue-button
{
    display: inline-block;
    padding: 0 20px;
    font-family: "House Slant", cursive;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 30px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0px 1px 0px rgba(0,0,0,0.25);
    border: 1px solid #028bc2;
    border-radius: 3px;
    background-color: #31b3e3;
    box-shadow: inset 0px 1px 0px 0px rgb(156,219,242);
    transition: background-color 0.2s ease;
    background-clip: padding-box;
}
    
    .blue-button:hover, a.blue-button:hover
    {
        background-color: #12a5db;
    }
    

/* HEADER ============================================================================= */
.site-header
{
    position: relative;
}
    
    .site-header h1
    {
        float: left;
        margin-top: 15px;
        margin-bottom: 30px;
        width: 488px;
        height: 207px;
    }
        
        .site-header h1 a
        {
            display: block;
            width: 488px;
            height: 207px;
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/swj-logo.png) no-repeat;
            text-indent: -9999em;
        }
            
            .svg .site-header h1 a
            {
                background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/swj-logo.svg) no-repeat;
                background-size: 488px 207px;
            }
            
.sponsor-logos
{
    position: absolute;
    top: 15px;
    right: 0;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/sponsors-sep.png) no-repeat center;
}
    
    .svg .sponsor-logos
    {
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/sponsors-sep.svg) no-repeat center;
    }
    
    .sponsor-logos li
    {
        float: left;
    }
        
        .sponsor-logos li:first-child
        {
            margin-right: 24px;
        }
        
        .sponsor-logos li:last-child
        {
            margin-left: 24px;
        }
        
        .sponsor-logos li a
        {
            display: block;
            text-indent: -9999em;
        }
        
        .sponsor-logos .sponsor-penguin
        {
            width: 67px;
            height: 94px;
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/penguin-logo.png) no-repeat;
        }
            
            .svg .sponsor-logos .sponsor-penguin
            {
                background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/penguin-logo.svg) no-repeat;
                background-size: 67px 94px;
            }
            
        .sponsor-logos .sponsor-c4
        {
            width: 67px;
            height: 89px;
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/c4-logo.png) no-repeat;
        }
            
            .svg .sponsor-logos .sponsor-c4
            {
                background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/c4-logo.svg) no-repeat;
                background-size: 67px 89px;
            }
            
.hashtag
{
    position: absolute;
    top: 135px;
    right: 0;
    font-size: 20px;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
    
    .hashtag sub
    {
        position: relative;
        top: 2px;
        font-size: 20px;
        font-size: 2rem;
    }
    
.social-networks
{
    position: absolute;
    top: 165px;
    right: 0;
}
    
    .social-networks li
    {
        float: left;
        margin-right: 12px;
    }
        
        .social-networks li:last-child
        {
            margin-right: 0;
        }
        
    .social-networks li a
    {
        display: block;
        width: 57px;
        height: 57px;
        text-indent: -9999em;
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/swj-social-icons.png) no-repeat;
    }
        
        .svg .social-networks li a
        {
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/swj-social-icons.svg) no-repeat;
            background-size: 263px 114px;
        }
        
        .social-networks li a.link-instagram
        {
            background-position: left top;
        }
            
            .social-networks li a.link-instagram:hover
            {
                background-position: left -57px;
            }
            
        .social-networks li a.link-twitter
        {
            background-position: -69px top;
        }
            
            .social-networks li a.link-twitter:hover
            {
                background-position: -69px -57px;
            }
            
        .social-networks li a.link-facebook
        {
            background-position: -138px top;
        }
            
            .social-networks li a.link-facebook:hover
            {
                background-position: -138px -57px;
            }
            
        .social-networks li a.link-foodtube
        {
            background-position: -207px top;
        }
            
            .social-networks li a.link-foodtube:hover
            {
                background-position: -207px -57px;
            }
            

/* NAV ============================================================================= */
.site-nav
{
    margin-bottom: 20px;
}

.site-nav-wrapper
{
    width: 100%;
}
    
    .site-nav-wrapper > li
    {
        float: left;
        width: 530px;
        height: 23px;
    }
        
        .site-nav-wrapper > li:first-child, .site-nav-wrapper > li:last-child
        {
            width: 205px;
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/nav-dots.png) no-repeat center;
        }
            
            .svg .site-nav-wrapper > li:first-child, .site-nav-wrapper > li:last-child
            {
                background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/nav-dots.svg) no-repeat center;
                background-size: 205px 7px;
            }
            
.lt-ie9 .site-nav-wrapper
{
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/nav-dots.png) repeat-x left center;
}
    
    .lt-ie9 .site-nav-wrapper > li
    {
        background: none;
    }
    
.lt-ie9 .site-nav-links
{
    background: #fff url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/paper-bg.jpg);
}
    
.site-nav-links li
{
    float: left;
    width: 33.333%;
    text-align: center;
}
    
    .site-nav-links li a
    {
        padding-top: 2px;
        font-size: 18px;
        font-size: 1.8rem;
        line-height: 30px;
        text-transform: uppercase;
        color: #23426a;
    }
        
        .site-nav-links li a:hover
        {
            color: #009fde;
        }
        

/* COVER IMAGE ============================================================================= */
.cover-image
{
    position: relative;
    margin-bottom: 30px;
    width: 100%;
    height: 500px;
    background: #766e54 url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/jamie-cover-bg.jpg) no-repeat center;
}

.cover-icons
{
    position: relative;
    margin: 0 auto;
    width: 940px;
    height: 500px;
}

.cover-splash
{
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -196px;
    width: 411px;
    height: 392px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/money-saving-meals.png) no-repeat;
}

.play-button
{
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    margin-left: -60px;
    margin-top: -60px;
    width: 119px;
    height: 119px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/play-button.png) no-repeat;
}

.cover-c4-logo
{
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -94px;
    width: 125px;
    height: 168px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/cover-c4-logo.png) no-repeat;
}

.cover-strip
{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    text-align: center;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/cover-strip.png);
}
    
.cover-strip span
{
	font-size: 26px;
	font-size: 2.6rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: 66px;
	color: #fff;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.45);
}   

/* COLUMNS ============================================================================= */
.column
{
    float: left;
    margin-right: 20px;
    width: 300px;
}

.column.two-wide
{
    width: 620px;
}

.column.half-col
{
    width: 460px;
}

.last
{
    margin-right: 0;
}


/* CONTENT BLOCKS ============================================================================= */
.content-block
{
    margin-bottom: 20px;
}
    
    .content-block .section-header
    {
        margin-bottom: 14px;
        padding-top: 20px;
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/large-dots.png) no-repeat center top;
    }
        
        .svg .content-block .section-header
        {
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/large-dots.svg) no-repeat center top;
            background-size: 940px 7px;
        }
        
    .content-block .section-header h1
    {
        margin: 0;
        font-family: "House Slant", cursive;
        font-size: 40px;
        font-size: 4rem;
        text-transform: uppercase;
        line-height: 1em;
        color: #009fde;
    }
    
    .content-block .sub-header
    {
        position: relative;
        margin-bottom: 12px;
    }
        
        .content-block .sub-header h2
        {
            font-size: 18px;
            font-size: 1.8rem;
            text-transform: uppercase;
            line-height: 1em;
            letter-spacing: 0.05em;
            color: #009fde;
        }
        

/* VIDEOS ============================================================================= */
.video-wrapper
{
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 25px;
	height: 0;
}

.video-wrapper iframe,
.video-wrapper object,
.video-wrapper embed
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-block
{
    background: #414042 url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/loading.gif) no-repeat 240px 133px;
}

.video-container
{
    float: left;
    width: 480px;
}

.related-videos
{
    float: right;
    height: 295px;
    width: 140px;
}
    
    .related-videos h2
    {
        margin: 10px;
        margin-bottom: 6px;
        font-size: 14px;
        font-size: 1.4rem;
        text-transform: uppercase;
        text-align: center;
        color: #fff;
    }

.related-video
{
    display: block;
    margin: 0 10px;
    margin-bottom: 5px;
    color: #fff;
}

.related-video-newwindow
{
    display: block;
    margin: 0 10px;
    margin-bottom: 5px;
    color: #fff;
}

.related-video-newwindow p
{
    margin-bottom: 0;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 16px;
    color: #fff;
    transition: color 0.2s ease;
	letter-spacing:1px;
}



    
    .related-video:last-of-type
    {
        margin-bottom: 0;
    }
    
.related-video img
{
    margin-bottom: 5px;
}

.related-video p
{
    margin-bottom: 0;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 16px;
    color: #fff;
    transition: color 0.2s ease;
	
}
    
    .related-video:hover p
    {
        color: #009fde;
    }
       .related-video-newwindow:hover p
    {
        color: #009fde;
    }
.related-coming-soon
{
    margin-top: 10px;
    font-size: 12px;
    font-size: 1.2rem;
    line-height: 72px;
    text-transform: uppercase;
    text-align: center;
    color: #969696;
    border: 2px dotted #969696;
}


/* SOCIAL MEDIA FEED ============================================================================= */    
.social-media-feeds li
{
    float: left;
    position: relative;
    margin-bottom: 8px;
    margin-right: 8px;
    width: 150px;
    height: 150px;
    perspective: 1500px;
}
    
    .social-media-feeds li:nth-child(6n)
    {
        margin-right: 0;
    }
    
.social-media-feeds li .user-item.tweeted
{
    width: 150px;
    height: 150px;
    overflow: hidden;
    background-color: #009fde;
}
    
    .social-media-feeds li .user-item.tweeted p
    {
        margin-bottom: 0;
        padding: 10px 8px 0px 8px;
        font-size: 11px;
        font-size: 1.1rem;
        line-height: 14px;
        color: #bfe8f7;
    }
        
        .social-media-feeds li .user-item.tweeted p a
        {
            color: #23426a;
        }
        
    .social-media-feeds li .user-item.tweeted time
    {
        position: absolute;
        left: 9px;
        bottom: 13px;
        display: block;
        font-size: 10px;
        font-size: 1rem;
        color: #bfe8f7;
    }
    
.social-media-feeds li .user-item:after
{
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: block;
    content: '';
}
    
    .social-media-feeds li .user-item.instagramed:after
    {
        width: 22px;
        height: 22px;
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-instagram-white.png) no-repeat;
    }
        
        .svg .social-media-feeds li .user-item.instagramed:after
        {
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-instagram-white.svg) no-repeat;
            background-size: 22px 22px;
        }
        
    .social-media-feeds li .user-item.tweeted:after
    {
        width: 23px;
        height: 19px;
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-twitter-white.png) no-repeat;
    }
        
        .svg .social-media-feeds li .user-item.tweeted:after
        {
            opacity: 0.3;
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-twitter-white.svg) no-repeat;
            background-size: 23px 18px;
        }
        
.csstransforms3d .social-media-feeds li .card.flipped
{
    transform: rotatex(-180deg);
}
    
.social-media-feeds li .card
{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform-style: preserve-3d;
    transition: 1s;
}

.social-media-feeds li .face
{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    backface-visibility: hidden;
    z-index: 2;
}

.social-media-feeds li .front
{
    z-index: 1;
}

.csstransforms3d .social-media-feeds li .back
{
    display: block;
    transform: rotatex(-180deg);
}

.-ms-.csstransforms3d .social-media-feeds li .card.flipped
{
    transform: rotatex(0deg);
}
    
    .-ms-.csstransforms3d .social-media-feeds li .card.flipped .front
    {
        opacity: 0;
        transition: opacity 1s ease;
    }
    
    .-ms-.csstransforms3d .social-media-feeds li .card.flipped .back
    {
        opacity: 1;
        transition: opacity 1s ease;
    }
    
.-ms-.csstransforms3d .social-media-feeds li .back
{
    transform: rotatex(0deg);
    opacity: 0;
}


/* MODAL EFFECT ============================================================================= */
.video-wrapper
{
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 25px;
	height: 0;
}

.video-wrapper iframe,
.video-wrapper object,
.video-wrapper embed
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-modal
{
    position: relative;
    margin: 0 auto;
    padding: 10px;
    max-width: 80%;
    background-color: #fff;
}

.my-mfp-slide-bottom .zoom-anim-dialog
{
    opacity: 0;
    transition: all 0.2s ease-out;
    transform: translateY(-20px) perspective( 600px ) rotateX( 10deg );
}

.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog
{
    opacity: 1;
    transform: translateY(0) perspective( 600px ) rotateX( 0 ); 
}

.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog
{
    opacity: 0;
    transform: translateY(-10px) perspective( 600px ) rotateX( 10deg ); 
}

.my-mfp-slide-bottom.mfp-bg
{
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.my-mfp-slide-bottom.mfp-ready.mfp-bg
{
    opacity: 0.8;
}

.my-mfp-slide-bottom.mfp-removing.mfp-bg
{
    opacity: 0;
}


/* RECIPE BOXES ============================================================================= */
.recipe
{
    margin-bottom: 20px;
    background-color: #fff;
}

.recipe-details
{
    padding: 26px 20px 10px 20px;
}
    
    .recipe-details h1
    {
        margin-bottom: 25px;
        font-size: 21px;
        font-size: 2.1rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        text-align: center;
        color: #23426a;
    }
    
    .recipe-details small
    {
        display: block;
        font-size: 11px;
        font-size: 1.1rem;
        text-align: center;
        color: #c2c2c2;
    }
    
.recipe-info li
{
    float: left;
    width: 120px;
    text-align: center;
}
    
    .recipe-info li:first-child
    {
        width: 70px;
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/recipe-info-sep.png) no-repeat right 5px;
    }
    
    .recipe-info li:last-child
    {
        width: 70px;
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/recipe-info-sep.png) no-repeat left 5px;
    }
    
    .recipe-info em
    {
        display: block;
        margin-bottom: 8px;
        font-size: 11px;
        font-size: 1.1rem;
      /*  letter-spacing: 0.05em;*/


		letter-spacing: 0.01em;
        font-style: normal;
        text-align: center;
        text-transform: uppercase;
        color: #c2c2c2;
    }
    
    .recipe-info p
    {
        margin: 0;
        font-size: 28px;
        font-size: 2.8rem;
        line-height: 1em;
        letter-spacing: 0.05em;
        text-align: center;
        color: #009fde;
    }
    
.recipe-type
{
    display: inline-block;
}
    
.chicken .recipe-type
{
    width: 40px;
    height: 46px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-chicken.png) no-repeat;
}
    
    .svg .chicken .recipe-type
    {
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-chicken.svg) no-repeat;
        background-size: 40px 46px;
    }
    
.fish .recipe-type
{
    width: 46px;
    height: 40px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-fish.png) no-repeat;
}
    
    .svg .fish .recipe-type
    {
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-fish.svg) no-repeat;
        background-size: 46px 40px;
    }
    
.lamb .recipe-type
{
    width: 44px;
    height: 38px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-lamb.png) no-repeat;
}
    
    .svg .lamb .recipe-type
    {
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-lamb.svg) no-repeat;
        background-size: 44px 38px;
    }
    
.veg .recipe-type
{
    width: 44px;
    height: 47px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-veg.png) no-repeat;
}
    
    .svg .veg .recipe-type
    {
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-veg.svg) no-repeat;
        background-size: 44px 47px;
    }
    
.beef .recipe-type
{
    width: 46px;
    height: 34px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-beef.png) no-repeat;
}
    
    .svg .beef .recipe-type
    {
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-beef.svg) no-repeat;
        background-size: 46px 34px;
    }
    
.pork .recipe-type
{
    width: 46px;
    height: 34px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-pork.png) no-repeat;
}
    
    .svg .pork .recipe-type
    {
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-pork.svg) no-repeat;
        background-size: 46px 34px;
    }
    
.share-buttons
{
    margin: 8px auto;
    width: 160px;
}
    
    .share-buttons li
    {
        float: left;
        padding: 0 8px;
    }
        
        .share-buttons li a
        {
            display: block;
            width: 24px;
            height: 24px;
            text-indent: -9999em;
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/share-icons.png) no-repeat;
        }
            
            .share-buttons li .share-twitter
            {
                background-position: left top;
            }
                
                .share-buttons li .share-twitter:hover
                {
                    background-position: left bottom;
                }
                
            .share-buttons li .share-facebook
            {
                background-position: -41px top;
            }
                
                .share-buttons li .share-facebook:hover
                {
                    background-position: -41px bottom;
                }
                
            .share-buttons li .share-pinterest
            {
                background-position: -81px top;
            }
                
                .share-buttons li .share-pinterest:hover
                {
                    background-position: -81px bottom;
                }
                
            .share-buttons li .share-generic
            {
                background-position: -122px top;
            }
                
                .share-buttons li .share-generic:hover
                {
                    background-position: -122px bottom;
                }
                
.share-buttons.small
{
    position: absolute;
    bottom: 8px;
    right: 0;
    margin: 0;
    width: 65px;
}
    
    .share-buttons.small li
    {
        padding: 0 5px;
    }
        
        .share-buttons.small li:first-child
        {
            padding-left: 0;
        }
        
        .share-buttons.small li:last-child
        {
            padding-right: 0;
        }
        
        .share-buttons.small li a
        {
            width: 15px;
            height: 15px;
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/share-icons-small.png) no-repeat;
        }
            
            .share-buttons.small li .share-twitter
            {
                background-position: left top;
            }
                
                .share-buttons.small li .share-twitter:hover
                {
                    background-position: left bottom;
                }
                
            .share-buttons.small li .share-facebook
            {
                background-position: -25px top;
            }
                
                .share-buttons.small li .share-facebook:hover
                {
                    background-position: -25px bottom;
                }
                
            .share-buttons.small li .share-pinterest
            {
                background-position: -49px top;
            }
                
                .share-buttons.small li .share-pinterest:hover
                {
                    background-position: -49px bottom;
                }
                
            .share-buttons.small li .share-generic
            {
                background-position: -75px top;
            }
                
                .share-buttons.small li .share-generic:hover
                {
                    background-position: -75px bottom;
                }
                
.recipe-separator
{
    margin: 13px 0;
    height: 4px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/small-grey-dots.png) repeat-x 2px top;
}
    
    .recipe-separator hr
    {
        display: none;
    }
    
.recipe-links
{
    margin-bottom: 5px;
}
    
    .recipe-links a
    {
        font-size: 14px;
        font-size: 1.4rem;
        line-height: 1em;
        text-transform: uppercase;
		padding-top:2.5px;
    }
        
        .recipe-links a:first-child
        {
            float: left;
        }
        
        .recipe-links a:last-child
        {
            float: right;
        }
        

/* TIP OF THE DAY ============================================================================= */
.tip-of-the-day
{
    margin-bottom: 20px;
    padding-bottom: 17px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/large-dots.png) no-repeat 2px bottom;
}
    
    .svg .tip-of-the-day
    {
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/large-dots.svg) no-repeat 2px bottom;
        background-size: 940px 7px;
    }
    
    .tip-of-the-day h2
    {
        margin: 0 auto;
        margin-bottom: 28px;
        width: 300px;
        height: 78px;
        text-indent: -9999em;
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/tip-of-the-day.png) no-repeat;
    }
        
        .svg .tip-of-the-day h2
        {
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/tip-of-the-day.svg) no-repeat;
            background-size: 300px 78px;
        }
        
    .tip-of-the-day q
    {
        display: block;
        margin: 0 10px;
        margin-bottom: 8px;
        font-size: 14px;
        font-size: 1.4rem;
        line-height: 28px;
        text-align: center;
        color: #23426a;
    }
    
    .tip-of-the-day cite
    {
        display: block;
        margin-bottom: 30px;
        font-size: 15px;
        font-size: 1.5rem;
        text-align: center;
        text-transform: uppercase;
        color: #009fde;
    }
    

/* OTHER ============================================================================= */
.buy-book
{
    display: block;
    margin-top: 20px;
}

.social-media-feed-icons
{
    position: absolute;
    top: -5px;
    right: 0;
}
    
    .social-media-feed-icons li
    {
        float: left;
        margin-left: 10px;
    }
    
    .social-media-feed-icons a
    {
        display: block;
        height: 24px;
        text-indent: -9999em;
    }
    
    .social-media-feed-icons a.link-instagram
    {
        width: 24px;
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-instagram.png) no-repeat;
    }
        
        .svg .social-media-feed-icons a.link-instagram
        {
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-instagram.svg) no-repeat;
            background-size: 24px 48px;
        }
        
    .social-media-feed-icons a.link-instagram:hover
    {
        background-position: left bottom;
    }
    
    .social-media-feed-icons a.link-twitter
    {
        width: 28px;
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-twitter.png) no-repeat;
    }
        
        .svg .social-media-feed-icons a.link-twitter
        {
            background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/icon-twitter.svg) no-repeat;
            background-size: 28px 48px;
        }
        
    .social-media-feed-icons a.link-twitter:hover
    {
        background-position: left bottom;
    }
    

/* SPLASHES ============================================================================= */
.splash
{
    margin-bottom: 20px;
}

.splash.save
{
    position: relative;
    top: -20px;
    margin-bottom: 0;
    width: 300px;
    height: 316px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/splash-save.png) no-repeat center;
}
    
    .svg .splash.save
    {
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/splash-save.svg) no-repeat center;
        background-size: 300px 316px;
    }
    
.splash.thrifty
{
    width: 300px;
    height: 260px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/splash-thrifty.png) no-repeat center;
}
    
    .svg .splash.thrifty
    {
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/splash-thrifty.svg) no-repeat center;
        background-size: 300px 133px;
    }
    
.splash.book-text
{
    width: 300px;
    height: 260px;
    background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/splash-book-text.png) no-repeat center;
}


/* USEFUL LINKS ============================================================================= */
.useful-links
{
    border: 4px dotted #009fde;
    padding: 15px;
    padding-top: 10px;
    text-align: center;
}
    
    .borderimage .useful-links
    {
        border: 5px solid transparent;
        border-image: url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/useful-link-border.png) 5 5 5 5 repeat;
    }
    
    .useful-links h2
    {
        margin-bottom: 15px;
        font-family: "House Slant", cursive;
        font-size: 26px;
        font-size: 2.6rem;
        text-transform: uppercase;
        color: #23426a;
    }
    
    .useful-links h3
    {
        font-size: 16px;
        font-size: 1.6rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0;
        color: #009fde;
    }
    
    .useful-links p
    {
        margin-bottom: 18px;
        font-size: 12px;
        font-size: 1.2rem;
        text-align: center;
    }
        
        .useful-links p a
        {
            color: #7d7d7d;
        }
            
            .useful-links p a:hover
            {
                color: #23426a;
            }
            
    .useful-links .foundation h4
    {
        margin-top: 17px;
        margin-bottom: 4px;
        font-size: 14px;
        font-size: 1.4rem;
        text-transform: uppercase;
        color: #23426a;
    }
        
    .useful-links .foundation p
    {
        margin-bottom: 10px;
        font-size: 13px;
        font-size: 1.3rem;
        line-height: 18px;
        color: #7d7d7d;
    }
    
    
/* TWEET BOX ============================================================================= */
.tweet-box
{
    position: relative;
    margin-bottom: 20px;
    height: 60px;
    background-color: #23426a;
}
    
    .tweet-box:before, .tweet-box:after
    {
        position: absolute;
        top: 0;
        display: block;
        content: '';
        width: 20px;
        height: 60px;
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/tweet-box-caps.png) no-repeat;
    }
    
    .tweet-box:before
    {
        left: 0;
    }
    
    .tweet-box:after
    {
        right: 0;
        background-position: right top;
    }
    
    .tweet-box form
    {
        padding: 12px 40px;
    }
        
        .tweet-box form label
        {
            position: relative;
            top: 1px;
            display: inline-block;
            font-size: 17px;
            font-size: 1.7rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #fff;
            font-smoothing: antialiased !important;
        }
        
        .tweet-box form input
        {
            padding: 0 15px;
            padding-right: 45px;
            width: 500px;
            height: 36px;
            font-size: 14px;
            font-size: 1.4rem;
            line-height: 39px;
            border: none;
            background-color: #fff;
            outline: none;
        }
            
            .lt-ie9 .tweet-box form input
            {
                width: 510px;
            }
            
        .tweet-box form button
        {
            position: relative;
            top: 1px;
            display: inline-block;
            font-size: 17px;
            font-size: 1.7rem;
            font-weight: normal;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #fff;
            background: transparent;
            appearance: none;
            transition: color 0.3s ease;
        }
            
            .tweet-box form button:hover
            {
                color: #009fde;
            }
        
    .tweet-box .counter-wrapper
    {
        position: relative;
        display: inline-block;
        margin: 0 20px;
    }
    
    .tweet-box .counter
    {
        position: absolute;
        right: 15px;
        top: 0;
        height: 36px;
        font-size: 15px;
        font-size: 1.5rem;
        line-height: 41px;
        color: #23426a;
    }
    
.-ms- .tweet-box form label, .-ms- .tweet-box form button
{
    top: -1px;
}

.-ms- .tweet-box form input
{
    line-height: 34px;
}

.-ms- .tweet-box .counter
{
    line-height: 36px;
}


/* FORUM BOX ============================================================================= */
.forums
{
    padding: 15px 20px;
    padding-bottom: 5px;
    background-color: #fff;
}
    
    .forums header
    {
        position: relative;
        margin-bottom: 20px;
        padding-bottom: 15px;
        background: transparent url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/small-blue-dots.png) repeat-x left bottom;
    }
    
    .forums h1
    {
        margin: 0;
        font-family: "House Slant", cursive;
        font-size: 38px;
        font-size: 3.8rem;
        text-transform: uppercase;
        color: #23426a;
    }
    
    .forums .blue-button
    {
        position: absolute;
        right: 0;
        top: 7px;
    }
    
    .forums p
    {
        margin-bottom: 15px;
        font-size: 13px;
        font-size: 1.3rem;
        line-height: 20px;
        color: #808080;
    }

.forum-table
{
    margin: 0;
}
        
    .forum-table th
    {
        padding-bottom: 10px;
        font-family: "House Slant", cursive;
        font-size: 16px;
        font-size: 1.6rem;
        text-transform: uppercase;
        color: #23426a;
        text-align: left;
        border-bottom: 1px solid #ededed;
    }
    
    .forum-table td
    {
        padding: 8px 0;
        padding-top: 10px;
        font-size: 12px;
        font-size: 1.2rem;
        color: #808080;
        border-bottom: 1px solid #ededed;
        vertical-align: middle;
    }
        
        .forum-table tr:last-child td
        {
            border: none;
        }
        

/* SHARE TIPS ============================================================================= */
.share-tips
{
    position: relative;
    padding: 15px 40px;
    padding-bottom: 10px;
    background-color: #009fde;
    border-radius: 18px;
}
    
    .share-tips header
    {
        margin-bottom: 15px;
    }
    
    .share-tips h1
    {
        margin: 0;
        font-family: "House Slant", cursive;
        font-size: 38px;
        font-size: 3.8rem;
        text-transform: uppercase;
        color: #fff;
    }
    
    .share-tips .tweeted-tips > li
    {
        position: relative;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #078cc7;
    }
        
        .share-tips .tweeted-tips > li:last-child
        {
            border: none;
            margin: 0;
        }
        
    .share-tips .tweeted-tips p
    {
        margin-bottom: 5px;
        font-size: 12px;
        font-size: 1.2rem;
        line-height: 20px;
        color: #fff;
    }
    
    .share-tips .tweeted-tips small
    {
        display: block;
        font-size: 12px;
        font-size: 1.2rem;
        color: #fff;
    }
    
    .share-tips .tweeted-tips time, .share-tips .tweeted-tips small a
    {
        color: #23426a;
    }
        
        .share-tips .tweeted-tips small a:hover
        {
            color: #fff;
        }
        

/* PLUGINS ============================================================================= */
/*
 * jQuery Nivo Slider v3.1
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* The Nivo Slider styles */

.nivoSlider {
	position:relative;
	width:100%;
	max-height:320px;
	overflow: hidden;
	background:url(http://jamieoliverprod.s3.amazonaws.com/savewithjamie/images/loading.gif) no-repeat 50% 50%;
}
.slider img {
	position:absolute;
	top:0px;
	left:0px;
	max-width: none;
	display:none;
}
.slider a {
    border:0;
    display:block;
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
	top:0;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
	overflow:hidden;
}
.nivo-box img { display:block; }


/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }

.mfp-preloader a {
  color: #cccccc; }

.mfp-preloader a:hover {
  color: white; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  padding: 0;
  z-index: 1046; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

.mfp-arrow:active {
  margin-top: -54px; }

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1; }

.mfp-arrow:before, .mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent; }
.mfp-arrow:after,
.mfp-arrow .mfp-a {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px; }
.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 21px;
  border-bottom-width: 21px; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after,
  .mfp-arrow-left .mfp-a {
    border-right: 17px solid white;
    margin-left: 31px; }
  .mfp-arrow-left:before,
  .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after,
  .mfp-arrow-right .mfp-a {
    border-left: 17px solid white;
    margin-left: 39px; }
  .mfp-arrow-right:before,
  .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3f3f3f; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black; }

.mfp-iframe-holder .mfp-close {
  top: -40px; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444444; }

.mfp-figure {
  line-height: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-break: break-word;
  padding-right: 36px; }

.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
   * Remove all paddings around the image on small screen
   */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }

  .mfp-img-mobile img.mfp-img {
    padding: 0; }

  /* The shadow behind the image */
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0; }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }

  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; } }
@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }
.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }