/*
Theme Name: Cube Theme
Author: Edi & P
Author URI: http://edip.se/
Description: Huvudtema för Cube
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('https://fonts.googleapis.com/css?family=Source+Serif+Pro:400,600,700');

@font-face {
  font-family: 'DidotLTPro-Roman';
  src: url('./assets/fonts/DidotLTPro-Roman.eot');
  src: url('./assets/fonts/DidotLTPro-Roman.eot?#iefix') format('embedded-opentype'),
      url('./assets/fonts/DidotLTPro-Roman.woff2') format('woff2'),
      url('./assets/fonts/DidotLTPro-Roman.woff') format('woff'),
      url('./assets/fonts/DidotLTPro-Roman.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
} 

@font-face {
  font-family: 'DidotLTPro';
  src: url('./assets/fonts/DidotLTPro-Bold.eot');
  src: url('./assets/fonts/DidotLTPro-Bold.eot?#iefix') format('embedded-opentype'),
      url('./assets/fonts/DidotLTPro-Bold.woff2') format('woff2'),
      url('./assets/fonts/DidotLTPro-Bold.woff') format('woff'),
      url('./assets/fonts/DidotLTPro-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

.ad {
	text-align:center;
}

.ad iframe {
	display: block;
	float: none;
	margin: 0 auto;
}

h1 {
	font-size: 47px;
	font-family: 'DidotLTPro', serif;
	text-align: center;
	letter-spacing: -1px;
	overflow-wrap: break-word;
	hyphens: auto;
}

h3 {
	font-size: 11px;
	font-family: 'Source Serif Pro', serif;
	text-transform: uppercase;
	letter-spacing: 2px;
}

h5 {
	font-size: 11px;
	font-family: 'Source Serif Pro', serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 auto;
	display: block;
	text-align: center;
	margin-bottom: 25px;
}

.main-content p a {
	color: #ad8e8a;
	display: inline-block;
}

.gallery img {
	border: none !important;
}
.content p {
  font-family: 'Source Serif Pro', serif;
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 0px;
  padding-right: 0px;
}

.menu-open {
	width: 80px;
	height: 80px;
	text-align: center;
	position: absolute;
	top: -11px;
	left: 0px;
	padding-top: 32px;
	cursor: pointer;
}

.header-top-fixed {	
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: 999;
	background: #fff;
	width: 100%;
	height: 60px;
	border-bottom: 1px solid #E6E6E6;
}

.sp-container.is-fixed {
	top: 60px;
}

.header-top-fixed .col-xs-4 {
	padding: 0px;
}

.header-top-fixed .top-logo {
	width: 276px;
	height: auto;
	display: block;
	float: none;
	margin: 0 auto;
	margin-top: 16px;
}

.header-content {
	position: relative;
	text-align: center;
	margin-top: 0px;
}

.header-top-fixed .top-social {
	float: right;
	color: #AD8E8A;
	font-size: 18px;
	margin-right: 50px;
	margin-top: 15px;
}

.header-top-fixed .top-social i {
	margin-left: 7.5px;
	margin-right: 7.5px;
}

.top-cube-logo {
	width: 25px;
  height: 25px;
  float: right;
  margin-top: 15px;
}

.top-hh-logo {
	width: 100px;
	height: auto;
	margin-top: 22px;
	margin-left: 15px;
}

.sp-container.is-fixed {
		background: #f7ed92;
		border-bottom: 1px solid #f7ed92;
}

.fold-out {
	color: #000 !important;
	font-weight: 600 !important;
}

#comments p {
	text-align: left;
	padding-left: 0px;
	padding-right: 0px;
}

.content p {
	padding-left: 120px;
	padding-right: 120px;
}

.content p img {
	width: 140%;
	margin-left: -20%;
}

.content .petratungarden-strossle-widget img {
  height: 100%;
  margin-bottom: 3px;
  margin-top: 0px;
}

.category-row {
	background: #fff;
	border-bottom: 1px solid #e6e6e6;
	height: 40px;
	margin-top: -40px;
	padding-top: 7px;
}

.main-container {
	margin-top: 100px;
}

.main-content {
	padding-top: 10px;
}

.herhour-wrapper {
	margin-top: 20px;
	padding-left: 50px;
	padding-right: 50px;
}

.herhour-container {
	padding: 0px;
}

.herhour-container .owl-nav .owl-prev {
	position: absolute;
	bottom: 50%;
	left: -50px;
}

.herhour-container .owl-nav .owl-next {
	position: absolute;
	bottom: 50%;
	right: -50px;
}

.herhour-container .owl-nav .owl-prev img,
.herhour-container .owl-nav .owl-next img {
	width: 50px;
  height: 50px;
}

.herhour-single .image-wrapper {
	padding: 0px;
}

.herhour-single .image {
	height: 270px;
	padding: 0px;
}

.herhour-single .text {
	padding: 0px;
}

.herhour-single .text span {
	font-family: 'DidotLTPro', serif;
	font-size: 11px;
	text-transform: uppercase;
	display: block;
	margin-top: 16px;
	margin-bottom: 0px;
}

.herhour-single h4 {
	font-family: 'DidotLTPro', serif;
	font-size: 14px;
	line-height: 20px;
	margin-top: 4px;
}

.herhour-single .load-img {
	background: #fff;
	width: 100%;
	height: 100%;
	position: relative;
	text-align: center;
}

.herhour-single .load-img i {
	position: relative;
	font-size: 20px;
	margin-top: 60%;
}

.footer {
	background: #d8cabf;
	border-top: 10px solid #c9b8ab;
}

.menu-container,
.overlay {
	top: 60px;
}

.categories-box, .archives-box {
	z-index: 2;
}

.categories-box .children {
	list-style: none;
	padding-left: 0px;
}

.fromtheshop-container .item .brand {
		font-size: 14px;
		color: #000;
		padding-left: 0px;
		padding-right: 0px;
}

.fromtheshop-container .item .brand p {
		padding-left: 0px;
		padding-right: 0px;
}

.fromtheshop-container .item h4 {
	font-family: 'DidotLTPro', serif;
	font-weight: 400;
	font-size: 15px;
	margin-top: 10px;
	margin-bottom: 0px;
	text-transform: uppercase;
	text-align: center;
	color: #000;
}

.relatedposts .related-title {
	word-break: break-word;
  color: #000000;
  text-align: center;
  text-transform: none;
  font-family: 'DidotLTPro', serif;
  font-size: 18px;
  font-weight: bold;
}

.relatedposts .related-excerpt {
	margin: 3px 0 5px;
	word-break: break-word;
	color: #000000;
	text-align: center;
	text-transform: none;
	font-family: 'Source Serif Pro', serif;
	font-size: 14px;
	font-weight: normal;
}

@media (min-width: 768px) {
	.gallery-columns-2 .gallery-item:first-of-type {
		padding-right: 5px;
	}
	
	.gallery-columns-2 .gallery-item:last-of-type {
		padding-left: 5px;
	}
}


@media (min-width: 576px) {
	.strossle .col-sm-3 {
		flex: 0 0 24.5% !important;
		max-width: 24.5% !important;
	}	
}

@media(max-width: 980px) {
	.desktop {
		display: none;
	}
	
	.category-row {
		display: none;
	}
	
	.mobile {
		display: block;
	}
	.header-top-fixed .top-logo {
		margin-left: 80px;
	}
	.header-top-fixed .top-social {
		float: none;
		color: #000;
		font-size: 18px;
		margin-right: 50px;
		margin-top: 25px;
	}
	.top-hh-logo {
		margin-left: 80px;
	}
	
	.top-cube-logo {
		margin-right: 24px;
	}
	
	.search-container {
		right: 0px;
	}
	
	.herhour-wrapper {
		margin-top: 0px;
	}
}

@media(max-width: 980px) {
	.main-content {
		width: 100%;
	}

	
	.content .real-content img {
		width: 100%;
		padding-left: 15px;
		padding-right: 15px;
		margin-left: 0px;
		margin-right: 0px;
	}
	
	.content .real-content p img {
		width: 100%;
		padding-left: 0px;
		padding-right: 0px;
		margin-left: 0px;
		margin-right: 0px;
	}
}

@media(max-width: 900px) {

	.content .date {
		margin-bottom: 30px;
	}
	.content .pinterest-button {
		display: inline-block;
		float: right;
		margin-top: -70px;
		margin-right: 40px;
	}
	h1 {
		font-size: 32px;
	}

}

@media(max-width: 767px) {
	.herhour-wrapper {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.main-container {
		margin-top: 75px;
	}
	.relatedposts .relatedthumb {
		margin-bottom: 60px;
	}
}

@media(max-width: 730px) {
	.content p {
		width: 100%;
	}
		.content p {
		padding-left: 15px;
		padding-right: 15px;
	}

	.content p img {
		width: 100%;
		margin-left: 0px;
	}

}

@media(max-width: 641px) {
	.instagram-feed {
		display: none;
	}
	
	.top-hh-logo {
		display: none;
	}
	
	.header-top-fixed .col-xs-6 {
		padding: 0px;
	}
	
	.header-top-fixed .top-logo {
    width: 100%;
    height: auto;
    margin: 0px;
    margin-top: 20px;
	}
	
	.herhour-wrapper {
		padding-left: 7.5px;
		padding-right: 7.5px;
	}
	
	.herhour-single .image {
		height: 30vh;
	}
	
	.herhour-single {
		padding-left: 7.5px;
		padding-right: 7.5px;
	}
	
	body,
	.main-container,
	.main-content,
	.main-wrapper {
		overflow-x: hidden;
	}
}


@media(max-width: 414px) {
	.content .petratungarden-strossle-widget .col-xs-12:nth-child(odd) {
		display: none;
	}
	
	.header {
	  height: 300px;
		min-height: 300px;
		margin-top: 40px;
  }
    
	h1 {
		font-size: 32px;
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.content p {
		padding-left: 15px;
		padding-right: 15px;
	}

	.content p img {
		width: 100%;
		margin-left: 0px;
	}
	
	.relatedposts {
		display: none;
	}
	
	.fold-ossut {
		display: none;
	}
	
	.comment-list, .comment-respond {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.comment-respond textarea {
		width: 95%;
	}
	
	.top-social-media-link {
		display: none;
	}
}
