body {
        padding: 0;
        margin: 0;
        /*top: 0;
        left: 0;
        z-index: 0;*/
        background: 
		linear-gradient(rgba(255, 255, 255, 0.5), 
      				rgba(255, 255, 255, 0.5)),
				url("../img/illustration/fisk_xl.jpg") no-repeat center center fixed;
	/* ../img/bg1.jpg */
        /*background-image: url("../bilder/sbg1.jpg");
        background-repeat: no-repeat;*/
        background-position: center center;
        /*position: center fixed;*//*center fixed;*/
        /*background-color: #000000 center top;*/
	/*background-color: rgba(113,166.3,224.6,0.5);*/
        width: 100%;
        height: 100%;
        -webkit-background-size: cover; /* For WebKit*/
	-moz-background-size: cover;    /* Mozilla*/
	-o-background-size: cover;      /* Opera*/
 	background-size: cover;         /* Generic*/
        filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg1.jpg', sizingMethod='scale');
	-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg1.jpg', sizingMethod='scale')";
        /*display: table;*/
}

html {
	font-family: Arial, sans-serif;
}
.inline-block {
   display: inline-block;
}
div.mainframe
{
        background-color: rgba(113,166.3,224.6,0.5);
	max-width: 1000px;
	min-height: 94vh;
	margin: auto;
	box-shadow:
        0 2.8px 2.2px rgba(0, 0, 0, 0.034),
        0 6.7px 5.3px rgba(0, 0, 0, 0.048),
        0 12.5px 10px rgba(0, 0, 0, 0.06),
        0 22.3px 17.9px rgba(0, 0, 0, 0.072),
        0 41.8px 33.4px rgba(0, 0, 0, 0.086),
        0 100px 80px rgba(0, 0, 0, 0.12);
}
div.header {
	font-size: 60px;
	font-family: 'Arial black', sans-serif;
	text-transform: uppercase;
	max-width: 750px;
	margin: auto;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
	background: -webkit-linear-gradient(#0e327a, #5c90f6);
  	-webkit-background-clip: text;
  	-webkit-text-fill-color: transparent;
}
div.show {
	 justify-content: center;
	 text-align: center;
	 padding-top: 20px;
}
div.main {
	margin: auto;
	padding-top: 50px;
        text-align: center;
	font-size: 25px;
	font-weight: bold;
	font-family: 'Arial', sans-serif;
	color: #0a43b2; /*#5c90f6;*/
	text-transform: uppercase;
}
div.books {
	margin: auto;
	text-align: center;
	font-family: 'Arial', sans-serif;
	font-size: 16px;
	color: #0e327a;
}

ol,ul {
  list-style: none;
}

span.stretch {
  display: inline-block;
  margin: 35px;
  -webkit-transform: scale(2, 1);
  -moz-transform: scale(2, 1);
  -o-transform: scale(2, 1);
  transform: scale(2, 1);
}

#nav {
    /*position: absolute;*/
    left: 0px;
    height: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}
#nav ul {
    margin: 0;
    padding: 0;
}
#nav ul li {
	margin: 0;
	padding: 0;
	float:left;
}
#nav ul li a {
	border-radius: 20px;
	font-size: 20px;
	background-color: #5c90f6;
    	text-decoration: none;
	padding: 10px 30px;
	margin-right: 10px;
	margin-left: 10px;
	display: block;
	color: #FFF;
	text-align: center;
	min-width: 170px;
}
#nav ul li a:hover {
	background-color: #fff;
	border: 2px solid #5c90f6;
	color: #5c90f6;
	min-width: 166px;
	padding: 8px 30px;
}

#nav ul li a.selected {
	background-color: #0e1167;
	color: #fff;
}

#topmenu a {
        border-radius: 20px;
        font-size: 20px;
        background-color: #5c90f6;
        text-decoration: none;
        padding: 10px 30px;
        margin-right: 10px;
        margin-left: 10px;
        display: block;
        color: #FFF;
        text-align: center;
        min-width: 170px;
}
#topmenu {
        padding-top: 20px;
        margin: auto;
        text-align: center;
}
#topmenu a.selected {
        background-color: #0e1167;
        color: #fff;
}
.round {
	text-align: center;
	margin: auto;
	background-color: #ffffff;
	border-radius: 85px;
	max-width: 170px;
	min-height: 170px;
	cursor: pointer;
}

.roundXL {
        text-align: center;
        margin: auto;
        background-color: #ffffff;
        border-radius: 200px;
        max-width: 400px;
        min-height: 400px;
}

#logoimg {
	margin-top: 35px;
	display: inline-block;
	vertical-align: middle;
	/*height: 50%;*/
}

#logoimgXL {
        margin-top: 85px;
        display: inline-block;
        vertical-align: middle;
        /*height: 50%;*/
}

#submenu a {
	border-radius: 20px;
	font-size: 20px;
	background-color: #5c90f6;
	text-decoration: none;
	padding: 10px 30px;
	margin-right: 10px;
	margin-left: 10px;
	display: block;
	color: #FFF;
	text-align: center;
	min-width: 170px;
}
#submenu {
	padding-top: 20px;
	margin: auto;
        text-align: center;
}
#submenu a.selected {
	background-color: #0e1167;
        color: #fff;
}
#project {
	padding-top: 20px;
        margin: auto;
        text-align: center;
}
#illustration {
        padding-top: 20px;
        margin: auto;
        text-align: center;
}
#artcarousel {
	/*padding-top: 40px;*/
	width: 800px;
	height: 300px;
	display: relative;
	/*position: absolute;*/
	text-align: center;
	margin: auto;
	/*max-width: 300px;*/
	/*background-color: #fff;*/
}
#artcarousel img {
	display: hidden;
	cursor: pointer;
}

#top1 {
	padding-top: 25px;
}
.video {
	padding-top: 30px;
	text-align: center;
	margin: auto;
}
.designproject {
	font-size: 22px;
	color: #0e1167;
	font-weight: bold;
}
.artdefault {
	display: none;
	margin: auto;
        text-align: center;
	max-height: 460px;
	margin-top: 80px;
}
.artimg {
	max-height: 440px;
}
.cimg {
	max-height: 300px;
}
div.hide {
	display: none;
}
img.cell {
	max-height: 100%;
	max-width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}
img.cell140 {
        max-height: 140px;
        /*max-width: 100%;*/
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
}

img.cellDesign {
	max-height: 166px;
        margin: auto;
}
img.cellArt {
        max-height: 250px;
        /*max-width: 300;*/
        /*position: absolute;*/
        /*top: 0;
        bottom: 0;
        left: 0;
        right: 0;*/
        margin: auto;
}
img.cellProject {
	max-height: 250px;
	margin: auto;
	padding-left: 32px;
	padding-right: 35px;
}
img.cellArt6 {
        max-height: 316px;
        margin: auto;
}
img.cellArt5 {
	max-height: 185px;
        margin: auto;
}
img.cellArt4 {
        max-height: 170px;
        margin: auto;
}
img.cellArt3 {
        max-height: 180px;
        margin: auto;
}
img.cellArt3a {
        max-height: 258px;
        margin: auto;
}
.imgframe {
	width: 140px;
        height: 200px;
        margin: 2px;
        border: 1px solid #5c90f6;
        position: relative;
	background-color: #ffffff;
}

.side-crop {
	width: 140px;
	height: 188px;
	margin: 2px;
	/*overflow: hidden;*/
}
.art-landscape {
	height: 188px;
	/*width: 100%;*/
	margin: 2px;
}

.art-landscape img {
        height: 188px;
        max-width: 100%;
}

.side-crop img { 	
		max-width: 100%;
		height: 188px;
		object-fit: cover;
		/*height: 186px;
		overflow: hidden;
		text-indent: -50%;*/
	}
.imgframephoto {
        width: 140px;
        height: 200px;
        /*margin: 2px;*/
        /*border: 1px solid #5c90f6;*/
        position: relative;
}
.imgframedesign {
        width: 138px;
        height: 190px;
        /*margin: 2px;*/
        /*border: 1px solid #5c90f6;*/
        position: relative;
}
.imgframeportraite {
        width: 118px;
        height: 167px;
        margin: 2px;
        border: 1px solid #5c90f6;
        position: relative;
        /*background-color: #ffffff;*/
}
.imgframelandscape {
	width: 237px;
        height: 167px;
        margin: 2px;
        border: 1px solid #5c90f6;
        position: relative;
        /*background-color: #ffffff;*/
}
.imgframeDesign {
	 height: 180px;
}
.imgframeArt {
        /*width: 300px;*/
        height: 265px;
        margin: 2px;
        /*border: 1px solid #5c90f6;*/
        /*position: relative;*/
        /*background-color: #ffffff;*/
}
.imgframeArt6 {
        height: 316px;
        margin: 2px;
}
.imgframeArt5 {
        height: 185px;
        margin: 2px;
}
.imgframeArt4 {
        height: 180px;
        margin: 2px;
}
.imgframeArt3 {
	height: 190px;
}

.footer {
	background-color: #91B0F9; /*#85ABBC;*/
	color: #ffffff;
	font-size: 14px;
	line-height: 40px;
	margin: auto;
	text-align: center;
	max-width: 1000px;
	/*margin-bottom: 10px;*/
}

.roundXL img {
	max-width: 300px;
}

#video1 video {
	height: 310px;
	/*max-width: 480px;*/
}
#video2  video{
	 height: 310px;
	 /*width: 480px;*/
}

#photoline {
	display: flex;
	flex-wrap: wrap;
	/*max-width: 750px;*/
	justify-content: center;
   /* Prevent vertical gaps */
   padding: 0 4px;
   -webkit-column-count: 5;
   /*-webkit-column-gap:   0px;*/
   -moz-column-count:    5;
   -moz-column-gap:      0px;
   column-count:         5;
   /*column-gap:           0px;*/
}

#photoart {
	margin: auto;
	text-align: center;
}

@media screen and (max-width: 480px), screen and (orientation: portrait) {
    body {
	    background:
                linear-gradient(rgba(255, 255, 255, 0.5),
                                rgba(255, 255, 255, 0.5)),
                                url("../img/illustration/8_MM_m.jpg") no-repeat center center fixed;
    }
}
@media screen and (max-width: 855px) {
	#photoline {
		max-width: 650px;
		-moz-column-count: 4;
		-webkit-column-count: 4;
		column-count: 4;
	}
}
@media screen and (max-width: 520px) {
	#photoline {
		flex: 400px;
		/*max-width: 400px;*/
		/*-moz-column-count: 2;*/
		-webkit-column-count: 2;
		column-count: 2;
	}
	#topmenu a {
		border-radius: 15px;
    		font-size: 16px;
		background-color: #5c90f6;
		text-decoration: none;
    		padding: 5px 10px;
    		margin-right: 4px;
    		margin-left: 4px;
    		display: block;
    		color: #FFF;
    		text-align: center;
    		min-width: 85px;
	}
	#submenu a {
		border-radius: 15px;
		font-size: 16px;
		padding: 5px 10px;
		min-width: 85px;
		margin-right: 4px;
		margin-left: 4px;
	}
	#submenu {
		padding-top: 12px;
	}
	#artcarousel
	{
		display: none;
	}
	.artdefault {
		display: block;
		max-width: 360px;
		margin-top: 20px;
	}
	#video1 video {
		max-width: 306px;
		height: 544px;
	}
	#video2 video {
                max-width: 306px;
		height: 173px;
        }

	div.header {
		font-size: 30px;
		font-family: 'Arial black', sans-serif;
		text-transform: uppercase;
		max-width: 400px;
		margin: auto;
		text-align: center;
		padding-top: 5px;
		padding-bottom: 5px;
		/*background: -webkit-linear-gradient(#0e327a, #5c90f6);
    		-webkit-background-clip: text;
    		-webkit-text-fill-color: transparent;*/
	}
	.roundXL {
		text-align: center;
		margin: auto;
		background-color: #ffffff;
		border-radius: 160px;
		max-width: 320px;
		min-height: 320px;
	}
	.roundXL img {
		max-width: 220px;
	}
}
