/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.5;
}
h1, h2, h3 {
	line-height: 1.1;
	font-weight: normal;
	margin: 0.3em 0;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Bram portfolio styles 000==================================================
   Author: Casper Bram - Roger.dk
   ========================================================================== */

body {
	font: 14px/26px "proxima-nova","Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
    color: #444444;
    background-color: #dddddd;
}

ul {
	list-style: none;
	padding: 0;
}


.foldout-content {
	position: relative;
	overflow: hidden;
	max-height: 120px;
	transition: max-height .5s ease-in-out;
}
:not(.show-foldout) > .foldout-content > *:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}
.foldout-content:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: -moz-linear-gradient(top, rgba(221,221,221,0) 0%, rgba(221,221,221,.9) 80%, rgba(221,221,221,1) 100%);
	background: -webkit-linear-gradient(top, rgba(221,221,221,0) 0%,rgba(221,221,221,.9) 80%, rgba(221,221,221,1) 100%);
	background: linear-gradient(to bottom, rgba(221,221,221,0) 0%,rgba(221,221,221,.9) 80%, rgba(221,221,221,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00dddddd', endColorstr='#dddddd',GradientType=0 );
	
	opacity: 1;
	transition: opacity .5s;
}
.show-foldout .foldout-content:after {
	opacity: 0;
}
.show-foldout .foldout-content {
	max-height: 1200px;
}


/* ==============
    MOBILE: Menu
   ============== */

h1 {
	position: relative;
	width: 100%;
	max-width: 100%;
	/*text-indent: -999px;*/

	top: 0;
	font-weight: 800;
	font-size: 22px;
	color: #fff;
	background-color: #949494;
	height: 100px;
	padding: 10px;
	margin: 0;
	display: block;
	box-sizing: border-box;
}
ul#menu {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 1em 0 0 0;
    padding: 0;
	/*text-indent: -999px;*/
	font-weight: 700;
	font-size: 1em;
}
.clearfix,
ul#menu:after {
	content: "";
	display: table;
	clear: both;
}
ul#menu li {
	width: 40%;
	min-width: 100px;
	float: left;
}
ul#menu li.unfolded ul {
	display: none;
}

/* ==============
    MOBILE: Main
	  ============== */
	  
ul {
	width: 100%;
	float: none;
}


/* ==============
    INTERMIDIATE: Main
   ============== */

ul {
	position: relative;
	width: 80%;
	margin-right: 2%;
	float: right;
	padding: 0;
}
ul ul {
	width: 100%;
	float: none;
}
li {
	line-height: 1.15em;
	padding: 0.3em 10px;
	
	text-align: center;
}
ul ul li {
	padding: 0.3em 0;
}
ul#menu li {
	text-align: left;
}
ul#menu ul li {
	padding: 0.3em 10px;
}
ul#menu ul {
	font-size: 0.8em;
	font-weight: 400;
	display: none;
}
ul#menu li.unfolded ul {
	display: block;
}
a {
	color: black;
	text-decoration: none;
}
a.selected {
	color: #990000;
}

img {
	max-width: 100%;
	margin-bottom: 1em;
}


/* ===============
    ALL: IE Fixes
   =============== */


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#campaigns,
#instorestudio,
#julekal {
	width: 60%;
	margin: 2em auto;
	cursor: pointer;
}
#campaigns a,
#instorestudio a,
#julekal a {
	color: #d54;
}
#campaigns:hover h3,
#instorestudio:hover h3,
#julekal:hover h3 {
	color: #d54;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 600px) {

	/* ==============
	    INTERMIDIATE: Menu
	   ============== */
	
	h1 {
		position: fixed;
		width: 120px;
	}
	.hidescrollbar {
		position: fixed;
		left: 0;
		top: 100px;
		bottom: 0;
		width: 120px;
		max-width: 20%;
		font-weight: 700;
		font-size: 1em;
	    padding: 0;
	    margin: 0;
	    /*background-color: #fff;*/
	    z-index: 100;
		box-sizing: border-box;
		overflow: hidden;
	}
	.hidescrollbar:after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 20px;
		background: -moz-linear-gradient(top, rgba(221,221,221,1) 0%, rgba(221,221,221,.9) 20%, rgba(221,221,221,0) 100%);
		background: -webkit-linear-gradient(top, rgba(221,221,221,1) 0%,rgba(221,221,221,.9) 20%, rgba(221,221,221,0) 100%);
		background: linear-gradient(to bottom, rgba(221,221,221,1) 0%,rgba(221,221,221,.9) 20%, rgba(221,221,221,0) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dddddd', endColorstr='#00dddddd',GradientType=0 );
		
		opacity: 1;
		transition: opacity .5s;
		
		pointer-events: none;
	}
	ul#menu {
		margin: 0;
		padding-top: 10px;
		width: 100%;
		top: 0;
		bottom: 0;
		overflow-x: hidden;
		overflow-y: scroll;
		padding-right: 17px;
		box-sizing: content-box;
		position: absolute;
		padding-bottom: 100px;
	}
    
}

@media only screen and (min-width: 600px) {
	.sm-max-width * {
		max-width: 400px;
	}
}


@media only screen and (min-width: 900px) {
	.md-max-width * {
		max-width: 700px;
	}
}

@media only screen and (min-width: 1100px) {
	ul {
		width: 75%;
		margin-right: 5%;
	}
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}