/*
	Theme Name: Berensson
*/

/* Innehållsförteckning ---------------------

1. Reset
    
2. Struktur
    2.1 Grundläggande struktur
        2.1.1 Flexbox
    2.2 Återkommande designelement
    2.3 Typografi

3. Sidhuvud
    3.1 Navigation

3. Innehåll
    3.1 Sidor och poster

4. Sidfot
    4.1 Navigation

5. Plugins

6. Responsivitet

7. Print styles
------------------------------------------*/

/*** 1.0 Reset ***/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}


@font-face {
    font-family: 'spktr';
    src: url('https://andersberenssonarchitects.com/wp-content/themes/berensson/font/spktr-regular.eot');
    src: url('https://andersberenssonarchitects.com/wp-content/themes/berensson/font/spktr-regular.ttf') format('truetype'),
		 url('https://andersberenssonarchitects.com/wp-content/themes/berensson/font/spktr-regular.woff') format('woff'),
		 url('https://andersberenssonarchitects.com/wp-content/themes/berensson/font/spktr-regular.woff2') format('woff2'),        
         url('https://andersberenssonarchitects.com/wp-content/themes/berensson/font/spktr-regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
	font-stretch: normal;
}

@font-face {
    font-family: 'spktr bold';
    src: url('https://andersberenssonarchitects.com/wp-content/themes/berensson/font/spktr-bold.eot');
	src: url('https://andersberenssonarchitects.com/wp-content/themes/berensson/font/spktr-bold.ttf') format('truetype'),
		 url('https://andersberenssonarchitects.com/wp-content/themes/berensson/font/spktr-bold.woff') format('woff'),
		 url('https://andersberenssonarchitects.com/wp-content/themes/berensson/font/spktr-bold.woff2') format('woff2'),        
         url('https://andersberenssonarchitects.com/wp-content/themes/berensson/font/spktr-bold.svg') format('svg');
    font-weight: normal;
    font-style: normal;
	font-stretch: normal;
}



/* 2.0 Struktur */

/* 2.1 Grundläggande struktur */
html {
    font-size: 10px;
	font-family: sans-serif;
}

div,
a.block,
section{
    box-sizing: border-box;
    position: relative;
}

.wrap {
    width: 115rem;
	margin: auto;
}

.top-image,
main article,
.single-work .top-image .single{
	margin-bottom: 3rem;
}

/* 2.1.1 Flexbox */
.flex {
    display: flex;
    flex-wrap: wrap;
}

.grid {
    margin: 0 -1.5rem;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-center {
    align-items: center;
}

.center-text {
    justify-content: center;
}

.flex-reverse {
    flex-direction: row-reverse;
}

.justify-space {
    justify-content: space-between;
}

/* Block */
.block {
    display: block;
    padding: 1.5rem;
}

/* Tvåspalt */
.grid-2 .block {
    width: 50%;
}

/* Trespalt */
.grid-3 .block {
    width: 33.33%;
}

/* Fyr-spalt */
.grid-4 .block {
    width: 25%;
}

/* 5-spalt */
.grid-5 {
	margin: 0;
}

.grid-5 .block {
    width: 20%;
}

/* Masonry */
.masonry-container {
	margin-bottom: 4rem;
}

.masonry-container.grid-5 .block:nth-child(2) .circle,
.masonry-container.grid-5 .block:nth-child(4) .circle{
	margin-top: 50%;
}

.masonry-container .block {
	padding: 1rem 0;
	/*margin: 0 -1rem;*/
}

.uplink {
	justify-content: flex-end;
}

.uplink .triangle {
	transform: rotate(270deg);
	margin-right: 0.5rem;
}

/* 2.2 Återkommande designelement */
.embed-container { 
    position: relative; 
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 2.3 Allmänna klasser */
.clear {
    clear: both;
}

.hidden,
.small-show{
    display: none;
}

.pointer {
    cursor: pointer;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sticky {
    position: fixed;
    top: 0!important;
    width: calc(100% - 20rem);
    left: 10rem;
}

.center {
    text-align: center;
}

.aligncenter {
    margin: auto;
}

.alignleft {
    float: left;
}

.alignright {
    float:right;
}

.pos-rel {
    position: relative;
}

.pos-abs {
    position: absolute;
}

.fixed {
    position: fixed;
}

.overflow-hidden {
    overflow: hidden;
}

.abs-center {
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.nowrap {
    white-space: nowrap;
}

hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: black;
    border-image: none;
    border-style: solid none none;
    border-width: 3px 0 0;
    height: 0;
}

.circle {
	border-radius: 50%;
	overflow: hidden;
	/*margin: -1rem;
	padding: 2rem;*/
}

.triangle {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 7px;
	border-color: transparent transparent transparent #ffffff;
}

.triangle.black {
	border-color: transparent transparent transparent #000;
}

/*.share {
	margin: 2rem 0;
}*/

.share .icon {
	display: inline-block;
	position: relative;
	width: 3rem;
	height: 3rem;
	margin-right: 0.5rem;
}

.share .icon.circle {
	width: 2.6rem;
	height: 2.6rem;
}

.share .icon i {
	font-size: 2rem;
}

.share .circle {
	transition: all 0.1s ease;
}

.share .circle:hover {
	background: black;
	color: white;
}

/* Färgkoder */
.text-white{
    color: white;
}

.text-black {
    color: black;
}

.bg-white {
    background: white;
}

.bg-black {
    background: black;
}

.border-black {
	border: 2px solid black;
}

/* 2.4 Typografi **/
h1, h2, h3, h4, h5, p {
	font-weight: normal;
	font-style: normal;
}
h1 {
	font-family: 'spktr bold';
}

h2 {
	font-family: 'spktr bold';
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
}

h3 {
	font-family: 'spktr bold';
	font-size: 2.8rem;
	margin-bottom: 1rem;
}

h4 {
	font-family: 'spktr bold';
	font-size: 2rem;
}

h5 {
	font-family: 'spktr';
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 1.4rem;
}

h5.bold {
	font-family: 'spktr bold';
}

h6 {
	font-family: 'spktr bold';
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 1.3rem;
}

p {
	font-family: 'spktr';
	font-size: 1.9rem;
	line-height: 1.34em;
	margin-bottom: 1.5rem;
}

p a {
	border-bottom: 2px solid black;
	padding: 0 0.2rem;
	margin: 0 -0.1rem;
}

p a:hover {
	background: black;
	color: white;
}

p strong {
	font-family: "spktr bold";
}

p em {
	font-style: italic;
}

a {
	text-decoration: none;
	color: inherit;
}

/* 2.5 Bilder */
.block img,
#toggle img,
#toggle-mobile img,
.top-image img,
.sidebar img,
.post img,
.content .maincol img{
	width: 100%!important;
	height: auto;
}

/* Bildtexter */
.wp-caption {
	width: auto!important;
	text-align: right;
}

.wp-caption img,
.maincol img{
	width: 100%;
	height: auto;
	margin: 2rem 0 1rem;
}

.wp-caption-text {
	max-width: 25rem;
	padding-bottom: 1rem;
	display: inline-block;
	text-align: left;
	border-bottom: 3px solid black;
	margin-bottom: 3rem;
}

.caption p, 
.wp-caption-text,
.flexslider .caption{
	font-size: 1.5rem;
	line-height: 1.38em;
	margin: 0;
}


/* 3.0 Sidhuvud */
header {
	padding: 1rem 0;
}

header .flex {
	align-items: flex-end;
	margin-bottom: 1rem;
}

header h1 {
	font-size: 3rem;
}

/* 3.1 Navigation */
#toggle {
	width: 6rem;
	height: 5rem;
	cursor: pointer;
	margin-bottom: 1rem;
}

#toggle img,
#toggle-mobile img{
	position: absolute;
}

/*#toggle .triangel {
	transition: all 0.3s ease-out;
}

#toggle:hover {
	margin: 1rem 0 0 0;
}

#toggle:hover .smoke {
	display: none;
}

*/

#toggle-mobile {
	transition: all 0.3s ease-in-out;
	width: 7.5rem;
	height: 54px;
	margin: auto;
}

/* Huvudmeny */
header nav {
	/*display: none;*/
	position: absolute;
	/*top: calc(100% + 1rem);*/
	padding: 4rem 4rem 6rem 6rem;
	z-index: 2;
	right: 0;
	/*height: 0;*/
	transform: scaleY(0);
	transform-origin: top;
	overflow: hidden;
	width: 40rem;
	transition: all 0.3s ease-out;
	transition-delay: 0.3s; /* Hover out */
}

.hover-area {
	margin-bottom: -1rem;
}

.hover-area:hover nav {
	/*display: block;*/
	/*height: auto;*/
	transform: scaleY(1);
	transition-delay: 0;	
}

.hover-area:hover #toggle .smoke,
.hover-area #toggle .triangel{
	opacity: 0;
}

.hover-area:hover #toggle .triangel {
	opacity: 1;
}

.menu-header {
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.hover-area:hover .menu-header {
	opacity: 1;
	transition-delay: 0.6s; /* Hover in */
}

.menu-header.on,
.b-side .wrap.on{
	opacity: 1;
}

.menu-header ul li {
	margin: 1rem 0;
}

.menu-header ul li a {
	font-family: 'spktr bold';
	font-size: 2.8rem;
	padding: 0.4rem 0.2rem;
	display: inline-block;
	position: relative;
}

.menu-header ul li.current-menu-item a {
	border-bottom: 2px solid;
}

.menu-header .triangle {
	position: absolute;
	top:50%;
	left: -2rem;
	transform: translateY(-50%);
	opacity: 0;
}

.menu-header ul li a:hover .triangle,
.menu-header ul li .sub-menu li a:hover .triangle{
	opacity: 1;
}

/* Sub menu */
.menu-header ul li.menu-item-has-children {
	margin-bottom: 2rem;
}

.menu-header ul li.menu-item-has-children a {
	margin-bottom: 0.5rem;
}

.menu-header ul li.menu-item-has-children .sub-menu a {
	margin-bottom: 0;
}

.menu-header ul li .sub-menu li{
	margin: 0.5rem 0;
}

.menu-header ul li.current-menu-item .sub-menu a {
	border-bottom: 2px solid black;
}

.menu-header ul li:hover .sub-menu .triangle {
	opacity: 0;
}

.menu-header ul li .sub-menu .triangle {
	/*transform: none;
	top: auto;*/
}

.menu-header ul li .sub-menu a {
	font-family: 'spktr bold';
	font-size: 1.8rem;
	padding: 0.2rem;
	display: inline-block;
}

/* 3.1 Sidor och poster */

/* Standardmall */
.page-default .maincol,
.page-default .content hr{
	margin-bottom: 4rem;
}

.page-default .content hr {
	width: 100%;
}

.page-default .content p {
	margin-bottom: 2rem;
}

.content {
	margin-bottom: 6rem;
}

.content .top {
	width: 100%;
}

.content .maincol {
	width: 65%;
	padding-right: 8rem;
}

.content .sidebar {
	width: 35%;
	padding-left: 5rem;
}

.sidebar .illustration {
	padding: 0 2rem 2rem;
	box-sizing: border-box;
}

.sidebar .textbox {
	padding: 2.5rem;
}

.textbox p {
	font-size: 1.5rem;
	line-height: 1.33em;
	margin-bottom: 1rem;
}


/* Projektarkiv */
.filter {
	justify-content: flex-end;
	margin: -0.5rem 0 2rem;
}

.filter h5 {
	margin: 0 0 0 2.5rem;
	position: relative;
	cursor: pointer;
}

.filter h5 span {
	padding: 1px 0.3rem;
}

.filter h5.active span {
	background: black;
	color: white;
}

.filter .triangle {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 7px;
	border-color: transparent transparent transparent #000;
	position: absolute;
	left: -8px;
	top:50%;
	transform: translateY(-50%);
	opacity: 0;
	transition: all 0.2s ease-out;
}

.filter h5.active:hover .triangle {
	opacity: 0;
}

.filter h5:hover .triangle {
	opacity: 1;
}

/* Rollover illustrationer */
.rollover {
	opacity: 0;
	width: 100%;
	height: 100%;
	transition: all 0.2s ease-out;
	border-radius: 50%;
	z-index: 1;
}

.rollover.on {
	opacity: 1;
}

.rollover .overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.2);
	border-radius: 50%;
}

.block .circle img {
	box-sizing: border-box;
	padding: 3.5rem;
}

.block:hover .rollover,
.related .rollover,
.related .rollover:hover .title {
	opacity: 1;
}

.block .title {
	width: 100%;
	transition: all 0.2s ease-out;
	padding: 1.5rem;
}

.block .title h3 {
	margin-bottom: 1.5rem;
	font-size: 2.3rem;
}

.block .title  hr {
    border-color: white;
    border-width: 4px 0 0;
	width: 2rem;
	margin-bottom: 1.5rem;
}

/* Singel projekt */
.single-work .top-image {
	margin-bottom: 0;
}

.single-work h2 {
	font-size: 3.8rem;
	margin-bottom: 0.6rem;
}

.single-work .b-side h2 {
	font-size: 3.4rem;
	margin-bottom: 0.3rem;
}

.single-work .top h3,
.single-work .b-side .maincol h3{
	margin-bottom: 2rem;
}

.single-work .maincol h3 {
	font-size: 2.2rem;
	margin-bottom: 0.5rem;
}

.single-work .maincol h4 {
	margin-bottom: 0.2rem;
}

.flexslider img {
	margin-bottom: 0.5rem;
}

.flexslider .caption {
	text-align: right;
	margin-right: 0.3rem;
	/*top: calc(100% + 1rem);*/
	/*-webkit-backface-visibility: hidden;*/
}

.fadein {
	opacity: 0;
	transition: 0.2s ease-out;
}

.single-work .toolbar {
	margin-top: 3rem;
	width: 100%
}

.related .rollover .title {
	opacity: 0;
}

.toggle-bside {
	position: absolute;
	/*bottom:0;*/
	right: 0;
}

.toggle-bside img {
	height: 2.6rem;
}

.b-side {
	padding: 5rem 0;
	display: none;
}

.b-side .wrap {
	opacity: 0;
	transition: all 0.3s ease-in;
	transition-delay: 0.5s;
}

.b-side .wp-caption-text {
	border-bottom: 3px solid white;
}

.b-side .triangle,
#toggle-mobile .triangle{
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 2.5rem 2.5rem 2.5rem;
	margin-bottom: 2rem;
	border-color: transparent transparent #ffffff transparent;
}

.single-work .files {
	margin-bottom: 1rem;
}

.single-work .files h5 {
	line-height: 1.3em;
}

.single-work .files .triangle {
	transform: rotate(90deg);
	margin-right: 0.5rem;
}

/* Nyhetsarkiv */
.blog .maincol {
	padding-right: 4rem;
}

.blog .maincol h3 {
	margin-bottom: 0.5rem;
}

.blog .content .sidebar {
	padding: 4.5rem 0 0 4rem;
}

.blog .sidebar p a {
    border-bottom: none;
    padding: 0 0.2rem;
    margin: 0 -0.2rem;
}

.blog .sidebar h4 {
	margin-bottom: 1rem;
}

.blog .sidebar .archive-year {
	margin-bottom: 2.2rem;
}

.blog .sidebar p {
	font-size: 1.7rem;
}

.blog .post .post-content,
.blog .post .toolbar {
	/*width: 70%;*/
}

.blog .maincol .post h3 {
	margin-bottom: 1rem;
}

article.post {
	margin-bottom: 6rem;
}

.post .wp-post-image{
	margin-bottom: 3rem;
}

.post .post-content {
	margin-bottom: 3rem;
}

.post .share {
	margin-bottom: 2rem;
}

.post h3 {
	margin-bottom: 1.2rem;
}

.date {
	margin-bottom: 1.5rem;
}

.post .triangle {
	display: inline-block;
	margin-right: 1rem;
}

.tags {
	flex-wrap: nowrap;
	margin-bottom: 1rem;
}

.tags .bm {
	margin-right: 0.5rem;
}

.tags h6 {
	display: inline-block;
	margin-left: 0.5rem;

}

.tags h6:hover {

}

.tag.archive h4 {
	margin-bottom: 2rem;
}

/* 4.0 Sidfot */
footer {
	padding: 3rem 0;
}

/* 5.0 Plugins */
/*
 * jQuery FlexSlider v2.7.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 */
/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/
@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0 0 2rem;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
  position: relative;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}

.flexslider.loading .slides > li:first-child { opacity: 1 !important; }
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
  position: relative;
  zoom: 1;
}
.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  margin-right: 5px;
}
.flex-direction-nav {
  *height: 0;
  position: absolute;
  bottom: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 25px;
  height: 50px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;

}
.flex-direction-nav a:before {
  display: inline-block;
}
.flex-direction-nav a.flex-next:before {
  
}
.flex-direction-nav .flex-prev {
	left: -7rem;
	background: url('images/prev.svg') no-repeat;
}
.flex-direction-nav .flex-next {
  right: -7rem;
  text-align: right;
  background: url('images/next.svg') no-repeat;
}
.flexslider:hover .flex-direction-nav .flex-prev {

}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
 
}
.flexslider:hover .flex-direction-nav .flex-next {

}
.flexslider:hover .flex-direction-nav .flex-next:hover {

}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}

.flex-control-nav {
  /*width: 100%;
  position: absolute;
  bottom: -40px;
  text-align: center;*/
  display: none;
}

.flex-control-nav li {
  margin-right: 10px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}

.flex-control-paging li a {
  width: 10px;
  height: 10px;
  display: block;
  cursor: pointer;
  text-indent: -9999px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  border: 1px solid black;
}

.flex-control-paging li a:hover {
	background:black;
}

.flex-control-paging li a.flex-active {
  background: black;
  cursor: default;
}

/*
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f003';
}

.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}*/
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
}


/* 6.0 Responsivitet */

@media only screen and (max-width : 1400px){
	.wrap {
		width:105rem;
	}
	
	p {
		font-size: 1.8rem;
	}
	
	.content .maincol {
		padding-right: 5rem;
	}

	.content .sidebar {
		/*padding-left: 0;
		padding-right: 3rem;*/
		padding: 0 2rem;
	}
	
	/* Projektsida */
	.content .maincol,
	.content .top,
	.single-work .toolbar {
		padding-left: 3rem;
	}
}

/*
@media only screen and (max-width : 1300px){
}*/

@media only screen and (max-width : 1200px){
	.wrap {
		width: auto;
		margin: 0 3rem;
	}
	
	.content .maincol {
		padding-right: 2rem;
	}
	
	.flexslider {
		margin-bottom: 4rem;
	}
	
	.flex-direction-nav .flex-prev,
	.flex-direction-nav .flex-next{
		display: none;
	}
	
	.flex-control-nav {
		display: block;
		margin-left: 3.1rem;
	}
	
	.flex-viewport {
		margin-bottom: 0.3rem;
	}
}


@media only screen and (max-width : 1050px){
	
	p {
		font-size: 1.7rem;
	}
	
	.maincol p {
		font-size: 1.6rem;
	}
	
	.textbox p {
		font-size: 1.4rem;
	}
	
	/* Projektsida */
	.content .maincol,
	.content .top,
	.single-work .toolbar {
		padding-left: 0;
	}
	
	.content .maincol {
		padding-right: 1rem;
	}
	
	.content .sidebar {
		padding-right: 0;
	}
	
	.flex-control-nav {
		margin-left: 0;
	}
	
}

/* Surfplatta*/
@media only screen and (max-width : 900px){
	
	/* Struktur */
	.grid-4 .block {
		width: 50%;
	}
	
	.grid-5 .block {
		width: 33.33%;
	}
	
	/* Masonry */
	.masonry-container.grid-5 .block:nth-child(4) .circle {
		margin-top: 0;
	}
	
	.masonry-container.grid-5 .block:nth-child(2) .circle{
		margin-top: 50%;
	}
	
	/* Återkommande designelement */
	.filter {
		justify-content: flex-start;
	}
	
	.filter h5 {
		margin: 0 1.4rem 1rem 0;
	}
	
	/* Typografi */
	p {
		font-size: 1.6rem;
	}
	
	.maincol p {
		font-size: 1.5rem;
	}
	
	.textbox p {
		font-size: 1.3rem;
	}
	
	
	/* Sidor */
	.page-default .content .maincol {
		width: 70%;
	}
	
	.page-default .content .sidebar {
		width: 30%;
		padding-left: 1rem;
	}
	
	/* Projekt */
	.sidebar .textbox {
		padding: 2rem;
	}
	
	.sidebar .illustration {
		padding: 0;
	}
	
	.related .grid-4 .block {
		width: 33.33%;
	}
	
	.related .grid-4 .block:last-child {
		display: none;
	}
	
	/* Nyhetsarkiv */
	.blog .content .maincol {
		padding: 0 3rem;
	}
	
	.blog .post .post-content, 
	.blog .post .toolbar {
		width: 90%;
	}
}

/* Smartphone */
@media only screen and (max-width : 650px){
	
	html {
		font-size: 9px;
	}
	
	.small-show {
		display: block;
	}
	
	/* Struktur */
	.grid {
		margin: 0 -2rem;
	}
	
	.grid-5 .block {
		width: 50%;
		margin: 0;
	}
	
	.masonry-container.grid-5 .block:nth-child(2) .circle{
		margin-top: 0;
	}
	
	.masonry-container .block {
		padding: 1rem 2rem;
	}
	
	.single-berensson_projekt .content .maincol,
	.page-news .content .maincol,
	.content .maincol,
	.content .sidebar,
	.page-default .content .maincol,
	.page-default .content .sidebar {
		padding: 0;
		width: 100%;
	}
	
	p,
	.maincol p{
		font-size: 1.8rem;
	}

	.textbox p {
		font-size: 1.6rem;
	}
	
	/* Sidhuvud */
	header nav {
		position: fixed;
		top: auto;
		display: block;
		bottom: 0;
		left: 0;
		width: auto;
		text-align: center;
		padding: 0.5rem 1rem 1rem;
		transition: all 0.4s ease-in-out;
		transform: scale(1);
		text-align: center;
	}
	
	header nav .triangle {
		margin:0 auto!important;
		transition: all 0.3s ease-in-out;
	}
	
	header nav .rotate .triangel,
	header nav .smoke{
		opacity: 1;
	}
	
	header nav .rotate .smoke,
	header nav .triangel {
		opacity: 0;
	}
	
	#toggle-mobile img {
		left: 0;
		top: 0;
	}
	
	.menu-header,
	#toggle-mobile{
		transition: none;
	}
	
	#toggle,
	nav .menu-header{
		display: none;
	}
	
	nav .menu-header {
		/*padding-top: 2rem;*/
	}

	/* Projekt */
	.filter h5 {
		margin: 0.3rem 0;
		width: 33.33%;
	}
	.top-image {
		margin: 0 -3rem 3rem;
	}
	
	.sidebar .illustration {
		padding: 0;
	}
	
	.flex-control-nav {
		margin-left: 3rem;
	}
	
	.flexslider .caption {
		margin-right: 1rem;
	}
	
	.related .grid-4 .block {
		width: 50%;
	}
	
	.related .grid-4 .block:last-child {
		display: block;
	}
	
	.related .rollover .title {
		opacity: 1;
	}
	
	.related .block .title h3 {
		font-size: 2rem;
	}
	
	.related .block .title h4 {
		font-size: 1.6rem;
	}

	/* nyhetsarkiv */
	.blog .content .maincol {
		padding: 0;
	}
	
	.blog .post .post-content, 
	.blog .post .toolbar {
		width: 100%;
	}
	
}

@media only screen and (max-width : 450px){
	
	.wrap {
		margin: 0 2rem;
	}
	
	.grid-5 .block {
		width: 100%;
	}
	
	.block .circle img {
		padding: 7rem;
	}
	
	.masonry-container .block .title h3 {
		font-size: 3.4rem;
	}
	
	.masonry-container .block .title h4 {
		font-size: 2.5rem;
	}
	
	/* Header */
	header {
		padding-top: 1.5rem;
	}
	
	header .justify-space {
		justify-content: center;
	}	
	
	header h1 {
		font-size: 2.3rem;
	}
	
	.top-image {
		margin: 0 -2rem 2rem;
	}
	
	.filter h5 {
		width: 50%;
	}
	
	.flexslider {
		height: 100vw;
		margin-bottom: 6rem;
	}
	
	.flex-control-nav {
		margin-left: 2rem;
		position: absolute;
		bottom:10px;
	}

	.flex-control-nav li {
		margin-bottom: 5px;
	}

	.flex-control-paging li a {

	}
	
	/*.flexslider .caption {
		margin-right: 2rem;
	}*/
	
}

/* 6. Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r ***/

@media print,
    (-o-min-device-pixel-ratio: 5/4),
    (-webkit-min-device-pixel-ratio: 1.25),
    (min-resolution: 120dpi) {
/* Style adjustments for high resolution devices */
}

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
/** END HTML5 Spektra CSS **/

/** START WP CSS **/
.aligncenter { display:block; margin:0 auto }
.alignleft { float:left }
.alignright { float:right }

div, ul, li { position:relative }
br.clear { clear:both; display:block; height:1px; margin:-1px 0 0 0 } /* Use this br class to clear your floated columns */

/*.wp-caption-text{}
.gallery-caption{}
.bypostauthor{}
.sticky{}
#access li {
	float: left;
	position: relative;
}*/
/*#access ul ul {
	display: none;
	float: left;
	position: absolute;
	top: 3.333em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul li:hover > ul {
	display: block;
}*/
/** END Spektra starter **/
