/*
Theme Name: Björnekulla by Resultify
Theme URI: http://www.bjornekulla.se
Description: Theme for Björnekulla AB.
Author: Iseqqavoq
Author URI: http://www.iqq.se
Version: 0.1

License:
License URI:

This theme was developed by Iseqqavoq based on a design by The Fan Club.
*/

/* ============================== */
/* ! Imports   */
/* ============================== */

@import url(//yui-s.yahooapis.com/3.11.0/build/cssnormalize/cssnormalize-min.css);

@import url(//fonts.googleapis.com/css?family=Miniver|Noto+Sans:400,700,400italic,700italic|Lato:400,700,400italic,700italic);

@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);

/* ============================== */
/* ! Clearfix   */
/* ============================== */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	position: relative;
	height: 0;
}
 
.clearfix {
	display: block;
	width: 100%;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

/* ============================== */
/* ! Typography   */
/* ============================== */

html {
	-webkit-font-smoothing: antialiased;
}

body {
	font-family: Lato, Arial, Helvetica, sans-serif;
	font-size: 16px;
}

p {
	font-size: 1em;
	line-height: 1.6em;
}

h1, h2, h3 {
	font-family: Miniver, cursive;
	font-weight: normal;
}

h1, h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.125em;
}

strong {
	font-weight: bold;
}

i {
	font-style: italic;
}

a {
	color: #055a31;
	text-decoration: underline;
}

a:visited {
	color: #65aa87;
}

ol li {
    margin: 8px 0;
}

@media screen and (max-width: 1124px) {
    
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.5em;
        margin: 20px 0 10px 0;
    }
    
    ol {
        padding: 0 0 0 20px;
        margin: 0;
    }

    #menu-huvudmeny a {
        font-size: 10px !important;
        width: 95px !important;
    }
}

/* ============================== */
/* ! Specific Typography (In order of appearance) */
/* ============================== */

/*------ Typography: Main navigation ------*/

#menu-specialmeny a {
    color: #4b4b4b;
    display: inline-block;
    font-family: Lato, sans-serif;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 5px;
}

#menu-specialmeny a:hover {
    text-decoration: underline;
}

#menu-huvudmeny a {
    font-size: 1.125em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

#menu-huvudmeny a:visited {
	color: #055a31;
}

#menu-huvudmeny a span {
    color: #000;
    display: block;
    font-size: 0.75em;
    font-weight: normal;
    text-transform: none;
}

/*------ Typography: Breadcrumbs ------*/

#breadcrumbs,
#breadcrumbs a {
    color: #444;
    display: inline-block;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 5px;
}

#breadcrumbs {
    display: block;
    margin: 20px 0 10px 0;
}

#breadcrumbs a {
	color: #666;
	font-weight: normal;
	text-decoration: none;
}

#breadcrumbs a:hover {
    text-decoration: underline;
}

#breadcrumbs .active a {
    color: #444;
    font-weight: bold;
}

/*------ Typography: Widgets ------*/

.widget h2 {
    margin: 0 0 10px 0;
}

.widget_barker_widget .widget-title {
	font-size: 1.375em;
	margin: 0;
}

.widget_barker_widget a {
	color: #1b1e22;
	text-decoration: none;
}

.widget_barker_widget a:after {
	content: '»';
	margin-left: 5px;
}

.widget_barker_widget a:hover {
	text-decoration: underline;
}

/*------ Typography: Masonry ------*/

.masonry-item a {
	text-decoration: none;
}

.masonry-item a h3,
.masonry-item a p {
	color: #1b1e22;
	margin: 0;
	text-align: center;
	text-decoration: none;
}

.masonry-item a h3 {
    font-size: 1.4em;
}

.masonry-item a p {
    font-size: 0.875em;
}

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

    .masonry-item a h3 {
        font-size: 1em;
    }
    
    .masonry-item a p {
        font-size: 0.75em;
    }
}

/*------ Typography: Footer Call to Actions ------*/

#cta-footer-list p {
	font-size: 0.75em;
}

/*------ Typography: Recipe listing ------*/

#recipe-cat-list figcaption {
    font-family: Miniver, cursive;
    font-size: 1.5em;
}

.tax-recipe-category #recipe-cat-list figcaption {
    color: #000;
    font-size: 1em;
}

/*------ Typography: Product listing: category ------*/

#product-cat-list a, #product-cat-list a:visited, #product-cat-list a:hover, #product-cat-list a:active {
    text-decoration: none;
    color: #055a31;
}

#product-cat-list a:visited {
    text-decoration: none;
}

#product-cat-list .product-title h2 {
    font-family: Lato, Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    text-align: center;
}

/*------ Typgraphy: Single Product ------*/

#single-product-content h1 {
	font-size: 1.5em;
}

#product-data h2 {
    color: #0b623c;
    font-family: Lato, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0;
}

#product-data p {
    
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    margin: 0;
    padding: 10px 0;
}

#product-data strong {
    font-weight: bold;
}

/*------ Typography: Search Results ------*/

#page.search article a h2 {
    font-size: 1.5em;
    margin: 20px 0 0 0;
}

#page.search article p {
    margin-top: 0;
}

@media screen and (min-width: 768px) {
    #page.search article p {
        float: right;
        margin-top: 8px;
        width: 480px;
    }
}

@media screen and (min-width: 1125px) {
    #page.search article p {
        width: 437px;
    }
}

@media screen and (min-width: 1350px) {
    #page.search article p {
        width: 560px;
    }
}

/*------ Typography: Pagination ------*/

.page-numbers a,
.page-numbers span {
    background-color: #055a31;
    color: #fff;
    display: block;
    padding: 5px;
}

.page-numbers span {
    background-color: #65aa87;
}

/*------ Typography: Site Footer ------*/

#menu-footer a {
	color: #1b1e22;
	font-family: Miniver, cursive;
	font-size: 1.5em;
	text-decoration: none;
}

#menu-footer a:hover {
	text-decoration: underline;
}

#site-footer address p {
	font-size: 0.875em;
	font-style: normal;
}


/* ============================== */
/* ! Layout   */
/* ============================== */

html {
	background: #fff url(assets/images/background.jpg) top left repeat;
	overflow-x:hidden;
}

body {
	margin: 0 auto;
	max-width: 1320px;
	min-width: 320px;
	padding: 0;
	width: 320px;
}

img {
    height: auto;
    max-width: 100%;
}

@media screen and (min-width:1350px) {
	body {
		width: 1320px;
	}
}

@media screen and (min-width: 1125px) and (max-width: 1349px) {
	body {
		width: 1100px;
	}
}

@media screen and (min-width: 768px) and (max-width: 1124px) {
	body {
		width: 656px;
	}
}

@media screen and (min-width: 768px) {
#main-navigation .clearfix:before,
    #main-navigation:before {
        background: transparent url(assets/images/ribbon-map.png) 0 0 no-repeat;
        content: '';
        display: block;
        height:41px;
        left: -56px;
        position: absolute;
        top: 235px;
        width: 56px;
    }

    #main-navigation:before {
        background-position: -56px 0;
        left: auto;
        right: -56px;
    }   
}

@media screen and (min-width: 1125px) {
    #main-navigation .clearfix:before,
    #main-navigation:before {
        top: 154px;
    }
}

/*------ Layout: Searchform ------*/

#searchform {
    background-color: #fff;
    height: 0;
    line-height: 150px;
    padding: 0;
    text-align: center;
    -webkit-transition-property: height, padding;
    -webkit-transition-duration: .4s;
    -webkit-transition-timing-function: ease;
    -moz-transition-property: height, padding;
    -moz-transition-duration: .4s;
    -moz-transition-timing-function: ease;
    -o-transition-property: height, padding;
    -o-transition-duration: .4s;
    -o-transition-timing-function: ease;
    transition-property: height, padding;
    transition-duration: .4s;
    transition-timing-function: ease;
}

#searchform.visible {
    height: 150px;
    padding: 0 40px;
}

#searchform input[type="text"],
#searchform-in-page input[type="text"] {
    border: 1px solid #65aa87;
    border-radius: 5px;
    outline: none;
    padding: 10px;
    width: 50%;
}

#searchform input[type="submit"],
#searchform-in-page input[type="submit"] {
    background-color: #65aa87;
    border-radius: 0 5px 5px 0;
    border: 1px solid #65aa87;
    color: #fff;
    margin: 0 0 0 -10px;
    padding: 10px;
}

#searchform-in-page input[type="text"] {
    width: auto;
}

/*------ Layout: Main navigation ------*/

#main-navigation {
	background-color: #fff;
	display: block;
	padding: 0 8px;
	position: relative;
	text-align: center;
	z-index: 9;
}

#main-navigation:after {
    background:transparent url(assets/images/ribbon.jpg) 0 -7px repeat;
    bottom: -13px;
    box-shadow: inset 0 -12px 5px -10px rgba(0,0,0,.5), 0 3px 5px rgba(0,0,0,.3);
    content: '';
    display: block;
    height: 33px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 20;
}

#main-navigation #menu-specialmeny {
    border-bottom: 1px dashed #ccc;
    margin: 0 0 30px 0;
    padding: 10px 0;
    text-align: right;
}

#main-navigation #menu-specialmeny > li {
    display: inline-block;
    position: relative;
}

#main-navigation #menu-specialmeny > li:after {
    /*content: '|';*/
    margin: 0 5px;
}

#main-navigation #menu-specialmeny > li.menu-item-language {
    border: 1px solid #fff;
    border-bottom: 0;
    padding: 0 5px 0 0;
    z-index: 22;
}

#main-navigation #menu-specialmeny > li.menu-item-language:hover {
    border-color: #ccc;
}

#main-navigation #menu-specialmeny > li.menu-item-language:after {
    color: #666;
    content: '\f0d7';
    font-family: FontAwesome;
    margin: 0;
}

#main-navigation #menu-specialmeny > li.menu-item-language:hover:after {
    color: #000;
}

#main-navigation #menu-specialmeny > li.menu-item-language:hover > ul {
    display: block;
}

#main-navigation #menu-specialmeny li ul {
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    display: none;
    left: -1px;
    margin: 0;
    padding: 0;
    position: absolute;
    text-align: left;
    top: 27px;
    width: 100%;
}

.ie8 .menu-item-language img.iclflag {
	display: none;
}

#menu-huvudmeny {
    padding: 0;
    margin: 20px 0 40px 0;
    position: relative;
}

#menu-huvudmeny li {
    font-size: 14px;
    display: inline-block;
    margin: 0 8px 8px 8px;
	position: relative;
}

.ie8 #menu-huvudmeny li {
	z-index: -1;
}

#menu-huvudmeny .description {
    display: none;
}

@media screen and (min-width: 768px) {
    
	a#brand {
	    display: inline-block;
	    float:left;
	    height: 90px;
	    margin: 0 0 0 20px;
	    width: 300px;
	    
	}
	
	a#brand img {
	    height: auto;
	    width: 100%;
	}
	
	#menu-huvudmeny {
	    float:right;
	    font-size: 0;
	    list-style: none;
	    margin: 0;
	    padding: 0;
	}
	
	#menu-huvudmeny li {
	    margin: 20px 0 0 -10px;
	}
	
	#menu-huvudmeny a {
	    background: #f5f5f5; /* Old browsers */
	    background: -moz-linear-gradient(top,  #f5f5f5 59%, #e0e0e0 100%); /* FF3.6+ */
	    background: -webkit-gradient(linear, left top, left bottom, color-stop(59%,#f5f5f5), color-stop(100%,#e0e0e0)); /* Chrome,Safari4+ */
	    background: -webkit-linear-gradient(top,  #f5f5f5 59%,#e0e0e0 100%); /* Chrome10+,Safari5.1+ */
	    background: -o-linear-gradient(top,  #f5f5f5 59%,#e0e0e0 100%); /* Opera 11.10+ */
	    background: -ms-linear-gradient(top,  #f5f5f5 59%,#e0e0e0 100%); /* IE10+ */
	    background: linear-gradient(to bottom,  #f5f5f5 59%,#e0e0e0 100%); /* W3C */
	    display: inline-block;
	    padding: 18px 0 32px 0;
	    width: 143px;
	}
	
    #menu-huvudmeny .description {
        display: block;
    }
    
    #menu-huvudmeny .current-menu-item a,
    #menu-huvudmeny .current-product-category-ancestor a,
    #menu-huvudmeny .current-recipe-category-ancestor a,
    #menu-huvudmeny .current-product-ancestor a,
    #menu-huvudmeny .current-recipe-ancestor a {
        box-shadow: inset 0  16px 0 -10px #be1e29;
    }
}

@media screen and (max-width: 1124px) {
    
    a#brand {
        display: block;
        float: none;
        text-align:center;
        margin: 0 auto 0px auto;
        width: 300px;
    }
    
    #menu-huvudmeny {
        clear:both;
        float:none;
        text-align:center;
    }
    
    #menu-huvudmeny a {
        font-size: 1em;
        width: 125px;
    }
}

/*------ Layout: Content ------*/

.content {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 8px;
    position: relative;
}

.content:after {
    background: transparent url(assets/images/content-shadow.png) 0 0 no-repeat;
    background-size: 100% auto;
    bottom: -26px;
    content: '';
    display: block;
    height: 26px;
    left: 0;
    position: absolute;
    width: 100%;
}

#header-home + .content {
    padding-bottom: 4px;
}

/*------ Layout: Orbit Slider ------*/

.custom-slider-huvudbildspel {
    float:left;
    height: 158px;
    margin-bottom: 4px;
    overflow:hidden;
    width: 100%;
}
    
.custom-slider-huvudbildspel ul li img {
    height: auto;
    width: 100%;
}

.custom-slider-huvudbildspel div.slider-nav span.left,
.custom-slider-huvudbildspel div.slider-nav span.right {
      background: transparent url(assets/images/arrow-map.png) 0 0;
      height: 84px;
      cursor: pointer;
      margin-top: -42px;
      top: 50%;
      width: 29px;
}

.custom-slider-huvudbildspel div.slider-nav span.left:hover {
    background-position: -29px 0;
}

.custom-slider-huvudbildspel div.slider-nav span.right {
    background-position: -87px 0;
}

.custom-slider-huvudbildspel div.slider-nav span.right:hover {
    background-position: 58px 0;
}

@media screen and (min-width:1350px) {
    .custom-slider-huvudbildspel {
        height: 680px;
		/*height: 509px;*/
        margin-bottom: 0;
        /*width: 978px;*/
    }
}

@media screen and (min-width: 1025px) and (max-width: 1349px) {
    .custom-slider-huvudbildspel {
        height: 572px;
		/*height: 422px;*/
        margin-bottom: 0;
        /*width: 812px;*/
    }
}

@media screen and (min-width:768px) and (max-width: 1124px) {
    .custom-slider-huvudbildspel {
        height: 333px;
        margin-bottom: 0;
        width: 100%;
    }
}

/*------ Layout: History Slider ------*/

#history-slideshow {
    margin: 20px 0 20px 0;
}

#history-slideshow #history-slideshow-main {
    border: 1px inset #000;
    line-height: 0;
    max-width: 100%;
}

#history-slideshow #history-slideshow-main img {
    width: 100%;
}

#history-slideshow ul.thumbs {
    counter-reset: thumb;
    list-style: none;
    margin: 10px 0 0 0;
    overflow:hidden;
    padding: 0;
}

#history-slideshow ul.thumbs li {
    border: 1px solid #000;
    counter-increment: thumb;
    float:left;
    line-height: 0;
    margin-left:8px;
    padding: 0;
    position: relative;
    width: 174px;
}

#history-slideshow ul.thumbs li:first-child {
    margin-left: 0;
}

#history-slideshow ul.thumbs li:after {
    background-color: #0c623c;
    border-radius: 40px;
    bottom: 3px;
    box-shadow: 0 0 0 1px #fff;
    color: #fff;
    content: counter(thumb);
    display: block;
    font-weight: bold;
    height: 38px;
    line-height: 38px;
    position: absolute;
    right: 3px;
    text-align: center;
    width: 38px;
}

#history-slideshow ul.thumbs li a {
    display: block;
    height: 100%;
    width: 100%;
}

#history-slideshow ul.thumbs li img {
    opacity: .5;
    width: 100%;
    -webkit-transition: opacity .3s ease;
}

#history-slideshow ul.thumbs li .active img {
    opacity: 1;
}

@media screen and (min-width: 1125px) and (max-width: 1349px) {
    #history-slideshow ul.thumbs li {
        margin: 0 0 0 9px;
        width: 143px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1124px) {
    #history-slideshow ul.thumbs li {
        width: 152px;
    }
}

@media screen and (max-width: 767px) {
	#history-slideshow {
	    margin: 0;
	}
	
	#history-slideshow ul.thumbs li {
	    margin-bottom: 8px;
	    width: 146px;
	}
    
    #history-slideshow ul.thumbs li:nth-child(2n+1) {
        margin-left: 0;
    }
    

}

/*------ Layout: Call to Actions ------*/

#cta-list {
    float: right;
    font-size: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

#cta-list li {
    margin: 0 0 4px 0;
    width: 100%;
}

#cta-list li a {
    display: block;
    width: 100%;
}

#cta-list li a:hover {
    -webkit-box-shadow: 0 0 0 1px #ccc;
    -moz-box-shadow: 0 0 0 1px #ccc;
    -o-box-shadow: 0 0 0 1px #ccc;
    box-shadow: 0 0 0 1px #ccc;
}

#cta-list li a img {
    height: auto;
    width: 100%;
}

#cta-footer-title {
    margin: 0;
}

#cta-footer-list {
    font-size: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

#cta-footer-list li {
    display: inline-block;
    height: 150px;
    margin-left: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

#cta-footer-list li a:after {
    background-color: #fff;
    background-color: rgba(255,255,255,.85);
    border-radius: 100px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.3);
    color: #1b1e22;
    content: 'Läs mer';
    display: block;
    font-family: Miniver, cursive;
    font-size: 16px;
    height: 100px;
    left: 50%;
    line-height: 100px;
    margin: -50px 0 0 -50px;
    opacity: 0;
    position: absolute;
    text-align:center;
    top: -100%;
    width: 100px;
    -webkit-transition: all .3s ease-out;
}

#cta-footer-list li a:hover:after {
    opacity: 1;
    top: 40%;
}


#cta-footer-list li:first-child {
    margin-left: 0;
    margin-bottom: 0;
}

#cta-footer-list li img {
    height: auto;
    width: 100%;
}

#cta-footer-list figcaption {
    background-color: #fff;
    background-color: rgba(255,255,255,.8);
    bottom: 0;
    font-size: 16px;
    left: 0;
    padding: 10px 0;
    position: absolute;
    width: 100%;
}

#cta-footer-list figcaption h3,
#cta-footer-list figcaption p {
    color: #1b1e22;
    margin: 0 0 0 0;
    text-align:center;
}

@media screen and (min-width:1350px) {
    #cta-list {
        width: 323px;
    }
    #cta-list li:last-child {
        margin-bottom: 0;
    }
    #cta-footer-list li {
        height: 250px;
        margin-bottom: 0;
        width: 429px;
    }
}

@media screen and (min-width: 1125px) and (max-width: 1349px) {
    #cta-list {
        width: 268px;
    }
    #cta-footer-list li {
        height: 200px;
        margin-bottom: 0;
        width: 356px;
    }
}

@media screen and (min-width:768px) and (max-width: 1124px) {
    #cta-list {
        width: 100%;
    }
    
    #cta-list li {
        float:left;
        margin-top: 4px;
        width: 211px;
    }
    
    #cta-list li:nth-child(2) {
        margin-left: 3px;
        margin-right: 3px;
    }
    
    #cta-footer-list {
        overflow: hidden;
    }

    #cta-footer-list li {
        display: table-cell;
        float:left;
        height: 200px;
        margin-bottom: 0;
        vertical-align: bottom;
        width: 208px;
    }
    
    #cta-footer-list li p {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    #cta-footer-list li {
        margin-left: 0;
    }
}

/*------ Layout: Widgets ------*/

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

ul#main-sidebar > li {
    margin-bottom: 20px;
}

.widget_barker_widget {
    background-color: #dde9e3;
    padding: 20px;
}

.widget_barker_widget ul {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
}

.widget_barker_widget ul li {
    margin: 8px 0;
}

.textwidget {
    margin-top: 20px;
}

.widget_suggested_recipes_widget a {
    display: inline-block;
    position: relative;
    width: 100%;
}

.widget_suggested_recipes_widget img {
    height: auto;
    width: 100%;
}

.widget_suggested_recipes_widget figcaption {
    background-color: #fff;
    background-color: rgba(255,255,255,.8);
    bottom: 0;
    box-sizing: border-box;
    padding: 10px;
    position: absolute;
    width: 100%;
}

.widget_suggested_recipes_widget figcaption h3,
.widget_suggested_recipes_widget figcaption p {
    color: #1b1e22;
    margin: 0 0 0 0;
}

@media screen and (min-width:1350px) {
    ul#main-sidebar {
        float:left;
        width: 29%;
    }
}

@media screen and (min-width:1125px) and (max-width: 1349px) {
    ul#main-sidebar {
        float:right;
        width: 33%;
    }
}

@media screen and (max-width:1124px) {
    .widget_suggested_recipes_widget a {
        float: left;
        margin-right: 5px;
        width: 210px
    }
    
    .widget_suggested_recipes_widget > a:nth-child(4) {
        margin-right: 0;
    }
}

@media screen and (max-width: 767px) {
    .widget_suggested_recipes_widget a {
        width: 100%;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1349px) {

}

/*------ Layout: Masonry ------*/

.masonry-item {
    font-size: 0;
    margin: 0 0 4px 0;
    overflow:hidden;
    width: 150px;
}

.masonry-item.small-noshow {
	display: none;
}

.masonry-item.w50 {
    width: 304px;
}

.masonry-item a {
    display: inline-block;
    width: 100%;
}

.masonry-item figure {
    position: relative;
    width: 100%;
}

.masonry-item figure img {
    width: 100%;
}

.masonry-item figcaption {
    background-color: #fff;
    background-color: rgba(255,255,255,.85);
    bottom: 0;
    padding: 10px 0;
    position: absolute;
    font-size: 16px;
    left: 0;
    width: 100%;
}

.masonry-item a:after {
    background-color: #fff;
    background-color: rgba(255,255,255,.85);
    border-radius: 100px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.3);
    color: #1b1e22;
    content: 'Läs mer';
    display: block;
    font-family: Miniver, cursive;
    font-size: 16px;
    height: 100px;
    left: 50%;
    line-height: 100px;
    margin: -50px 0 0 -50px;
    opacity: 0;
    position: absolute;
    text-align:center;
    top: -100%;
    width: 100px;
    -webkit-transition: all .3s ease-out;
}

.masonry-item a:hover:after {
    opacity: 1;
    top: 40%;
}

@media screen and (min-width:1350px) {
    .masonry-item {
        width: 323px;
    }
    .masonry-item.w50 {
        width: 648px;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1349px) {
    .masonry-item {
        width: 268px;
    }
    .masonry-item.w50 {
        width: 538px;
    }
}

@media screen and (min-width:768px) and (max-width: 1124px) {
    .masonry-item {
        width: 157px;
    }
    .masonry-item.w50 {
        width: 316px;
    }
}

/*------ Layout: Single Page ------*/

@media screen and (min-width: 1125px) {
    article#page {
        float:left;
        margin: 0 5%;
        width: 56%;
    }
    .blog article#page,
    article#page.single-post {
        float:none;
        padding: 20px 0;
    }
}

/*------ Layout: Search Results ------*/

article.search-result {
    border-bottom: 1px dashed #ccc;
    padding: 0 0 10px 0;
}

article.search-result .thumbnail {
    display: none;
}

@media screen and (min-width: 768px) {
    
    article.search-result {
        overflow: hidden;
        padding: 20px 0 20px 0;
    }
    
    article.search-result .thumbnail {
        display: block;
        float:left;
        height: 220px;
        margin: 0 10px 0 0;
        overflow: hidden;
        text-align:center;
        width: 150px;
    }
    
    article.search-result .thumbnail img {
        height: auto;
        max-height: 100%;
        max-width: 100%;
        width: auto;
    }
}

@media screen and (min-width: 1125px) {
    article.search-result .thumbnail {
        margin-right: 20px;
    }
}

/*------ Layout: Pagination Results ------*/

.page-numbers {
    list-style: none;
    margin: 5px 0 0 0;
    overflow: hidden;
    padding: 0;
}

.page-numbers li {
    float:left;
    margin: 0 5px 0 0;
}

@media screen and (min-width: 768px) {
    .page-numbers {
        margin-top: 20px;
    }
}

/*------ Layout: Product listing: category ------*/

#product-cat-list {
    list-style: none;
    margin: 20px 0 0 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

#product-cat-list li {
    display: inline-block;
    margin: 1%;
    width: 30%;
}

#product-cat-list li img {
    height: auto;
    width: 100%;
}

#product-cat-list li .product-title {
    height: 66px;
    overflow: hidden;
}

@media screen and (min-width: 1125px) {
    #product-cat-list li {
        margin: 0 2% 20px 0;
        width: 20%;
    }
}

/*------ Layout: Recipe listing: category ------*/

#recipe-cat-list {
    list-style: none;
    margin: 20px 0 0 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

#recipe-cat-list li {
    display: inline-block;
    height: 200px;
    margin: 0 0 8px 0;
    overflow: hidden;
    width: 100%;
    position: relative;
}

#recipe-cat-list li figcaption {
    background-color: #fff;
    background-color: rgba(255,255,255,.7);
    bottom: 0;
    left: 0;
    padding: 10px 0;
    position: absolute;
    text-align: center;
    width: 100%;
}

@media screen and (min-width: 768px) {
    #recipe-cat-list li {
        float:left;
        margin: 0 8px 8px 0;
        width: 202px;
    }
}

@media screen and (min-width: 1025px) {
    #recipe-cat-list li {
        width: 290px;
    }
}

@media screen and (min-width: 1350px) {
    #recipe-cat-list li {
        width: 357px;
    }
}

/*------ Layout: Single Product ------*/

.single-product #featured-image {
    font-size: 0;
    margin: 0 auto;
    width: 250px;
}

.single-product #featured-image img {
    height: auto;
    max-width: 100%;
}

.ie8 .single-product #featured-image img {
	max-width: 100%;
	height: auto;
	width: inherit;
}

@media screen and (min-width: 1025px) {
    .single-product #featured-image {
        float:left;
        margin: 0 30px 10px 0;
    }
    
    #product-data {
        float: none;
        clear: both;
        margin-top: 60px;
    }
}

/*------ Layout: Single Recipe ------*/

#ingredients-widget {
    background: #f6f1e7 url(assets/images/paper.jpg) top left repeat;
}

#ingredients-widget h2 {
    padding: 20px 20px 10px 20px;
}

#ingredients-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

#ingredients-widget ul:after {
    bottom: -40px;
    display: block;
    content: url(assets/images/coffee-stain.png);
    position: absolute;
    right: -50px;
    z-index: 0;
}

#ingredients-widget ul li {
    border-bottom: 1px solid rgba(0,0,0,.1);
    margin: 0 0 0 0;
    padding: 10px 20px;
    position: relative;
    z-index: 1;
}

#ingredients-widget ul li:last-child {
    border-bottom: none;
}

/*------ Layout: Site Footer ------*/

#site-footer {
    background: #e8e4dc url(assets/images/ribbon-whole.png) center 100% no-repeat;
    -webkit-box-shadow: inset 0 0 0 8px #fff;
    -moz-box-shadow: inset 0 0 0 8px #fff;
    -o-box-shadow: inset 0 0 0 8px #fff;
    box-shadow: inset 0 0 0 8px #fff;
    margin: 0 0 20px 0;
    overflow:hidden;
    padding: 30px 0 60px 0;
}

#site-footer ul.menu {
    border-bottom: 1px dashed #7d6f55;
    list-style: none;
    margin: 0 auto;
    padding: 0 0 20px 0;
    text-align:center;
    width: 90%;
}

#site-footer ul.menu li {

}

#site-footer address {
    float:left;
    margin: 0;
    text-align: center;
    width: 100%;
}

#site-footer address p:first-child {
    font-size: 1.3em;
    font-family: Miniver;
    float:none;
    margin: 10px 0 0 0;
}

#site-footer #offer {
    margin: 20px auto 20px auto;
    width: 80%;
}

@media screen and (min-width:768px) {
    #site-footer {
        background-position: left bottom;
    }
    #site-footer ul.menu {
        border-bottom: none;
        float:left;
        list-style: none;
        margin: 0 0 0 8px;
        padding: 0;
        text-align: left;
        width: 20%;
    }

    #site-footer ul.menu li {
        margin: 10px 0 0 40px;
    }

    #site-footer address {
        border-left: 1px dashed #7d6f55;
        border-right: 1px dashed #7d6f55;
        float:left;
        margin: 0;
        padding: 0 40px 0 40px;
        text-align: left;
        width: 35%;
    }

    #site-footer address p {
        float:left;
    }

    #site-footer address p:last-child {
        float:right;
    }
    
    #site-footer #offer {
        float: right;
        margin: 10px 25px 0 0;
        width: 180px;
    }
}

@media screen and (min-width: 1125px) and (max-width: 1349px) {
    #site-footer ul.menu {
        padding: 0;
        margin: 0;
        width: 17%;
    }
    
    #site-footer address {
        width: 40%;
    }
    
    #site-footer address p:first-child {
        font-size: 1.4em;
    }
    
    #site-footer #offer {
        margin: 10px 40px 0 0;
        width: 320px;
    }
}

@media screen and (min-width:768px) and (max-width: 1124px) {
    #site-footer ul.menu {
        width: 23%;
    }
    
    #site-footer address {
        padding: 0 20px;
    }
    
    #site-footer address p {
        float:none;
    }

    #site-footer address p:last-child {
        float:none;
    }
}

@media screen and (min-width: 1349px) {
    
    #site-footer #offer {
        margin-right: 50px;
        width: 400px;
    }
}


/* ============================= */
/* ! WordPress Core   */
/* ============================= */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

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

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

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

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

a img.alignnone {
    margin: 5px 20px 20px 0;
}

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

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* ============================= */
/* ! Printing	   */
/* ============================= */
	
body .stButton .stBubble {
    position: relative;
}
body .stButton .stBubble .stBubble_count {
	background-color: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 0;
    bottom: 3px;
    background-image: none;
    font-size: 12px;
    height: 32px;
    line-height: 32px;
    padding: 0;
    position: absolute;
}

.facebook, .instagram {
    width: 30px;
}

@media (min-width: 1125px) and (max-width: 1349px) {
    #menu-huvudmeny li {
        margin: 20px 0 0 -16px;
    }
    a#brand {
        width: 150px;
    }
}

.safari-mac #product-cat-list li {
    vertical-align: text-bottom;
}