
@font-face {
    font-family: "MonaLisa";
	src: url("../webfonts/monalisa/monalisa-solid.woff2") format("woff2"),
	url("../webfonts/monalisa/monalisa-solid.woff") format("woff"),
	url("../webfonts/monalisa/monalisa-solid.otf") format("opentype");
	font-style: normal;
	font-weight: 400;
}
@font-face {
    font-family: "Zapfino";
	src: url("../webfonts/zapfino/ZapfinoExtraLT-One.woff2") format("woff2"),
	url("../webfonts/zapfino/ZapfinoExtraLT-One.woff") format("woff"),
	url("../webfonts/zapfino/ZapfinoExtraLT-One.otf") format("opentype");
	font-style: normal;
	font-weight: 400;
}

body {
	background-color: #000000;
	color: #A1A1A1;
	background-image: url("../images/layout/background.jpg");
	background-repeat: repeat-x;
	padding: 64px 0 128px 0;
}
h1 {
	font-family: "Zapfino";
	color: #756D58;
	font-size: 128px;
	margin: 72px 0 16px 0;
	line-height: 64px;
}
a {
	color: #756D58;
}
a:hover {
	color: #A1A1A1;
}
.layout {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-top: 64px;
}
nav.primary {
	font-family: "MonaLisa";
	font-size: 24px;
	padding-top: 80px;
	z-index: 2;
	background-image: url("../images/layout/swish.png");
	background-repeat: no-repeat;
	background-position-x: 30px;
	line-height: 48px;
	white-space: nowrap;
}
nav.primary ul {
	list-style: none;
	padding: 0 0 0 20px;
}
nav.primary li.current a {
	color: #A1A1A1;
}
nav.primary li.current:before {
	content: '\1D11E\0020';
	font-size: 30px;
}
nav.primary li:nth-child(1) {
	margin-left: 30px;
}
nav.primary li:nth-child(2) {
	margin-left: 0px;
}
nav.primary li:nth-child(3) {
	margin-left: -10px;
}
nav.primary li:nth-child(4) {
	margin-left: 0px;
}
nav.primary li:nth-child(5) {
	margin-left: 20px;
}
nav.primary li:nth-child(6) {
	margin-left: 40px;
}
nav.primary a {
	text-decoration: none;
}
.main {
	z-index: 2;
}
.robert {
	background-repeat: no-repeat;
	height: 480px;
}
#ID_1 .robert {
	background-image: url(../images/layout/robert-index.png?3);
	margin-left: -120px;
}
#ID_2 .robert { /* curriculum */
	background-image: url(../images/layout/robert-cv.png);
	margin-left: -100px;
}
#ID_6 .robert { /* verkförteckning */
	background-image: url(../images/layout/robert-biography.png);
	margin-left: -150px;
}
#ID_3 .robert { /* utmärkelser */
	background-image: url(../images/layout/robert-awards.png);
	margin-left: -130px;
}
#ID_8 .robert { /* bildarkiv */
	background-image: url(../images/layout/robert-gallery.png);
	margin-left: -90px;
	margin-top: 50px;
}
#ID_7 .robert { /* kontakt */
	background-image: url(../images/layout/robert-contact.png);
	margin-left: -270px;
}

h2 {
	color: #FFFFFF;
	font-size: 1.2rem;
}
table th {
	white-space: nowrap;
	vertical-align: top;
	padding-right: 16px;
}
table h2 {
	margin: 2rem 0 1rem 0;
}

.gallery .image {
	min-width: 80px;
	height: 128px;
	border: 1px solid #FFFFFF;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	margin-bottom: 1rem;
}

.modal-dialog {
	max-width: 800px;
	margin: 30px auto;
}
.modal-body {
	position:relative;
	padding:0px;
	border: 1px solid #FFFFFF;
	background-color: #000000;
	text-align: center;
}
.close {
	position:absolute;
	right:-30px;
	top:0;
	z-index:999;
	font-size:2rem;
	font-weight: normal;
	color:#fff;
	opacity:1;
}
#image {
	min-height:200px;
}


@media (max-width: 991px) {
	body {
		padding: 64px 0 128px 0;
		background-position-y: -56px;
	}
	h1 {
		font-size: 96px;
		margin: 32px 0 16px 0;
		text-align: center;
	}
	nav.primary {
		padding-top: 5px;
		background-image: none;
	}
	nav.primary ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
		padding: 0;
	}
	nav.primary li {
		margin: 0 0.5rem !important;
	}
	.robert {
		margin: 0 !important;
		background-position-x: center;
	}
	#ID_9,
	#ID_10 {
		text-align: center;
	}
}