html {
	-ms-text-size-adjust:100%;
	-webkit-text-size-adjust:100%
}

body {
	font-family: Georgia,serif;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
	background-color:#EFEFEC;	
	/* overflow-y:auto; */
}

h1, h2, h3 {
			font-family: "Gotham SSm A","Gotham SSm B",Verdana,sans-serif;
			font-weight: 700;
			line-height: 1.2;
}
				
h1 {
	text-align: center;			
	font-size: 40px;
	margin: 0 0 25px 0;
}	
		
h2 {
	text-align: center;			
	font-size: 24px;
	margin: 0 0 9px 0;
}
		
h3 {
	font-size: 18px;
	margin: 18px 0 9px 0;
}
		
p {
	font-size: 18px;			
	line-height: 1.7;
	margin: 0 0 18px 0;
}
		
a {				
	font-size: 18px;
	color: #069;			
	text-decoration: none;			
	font-weight: 300;
}
	
#container {
	margin: 0 auto;
	width: 60%; 
	padding: 0;		
}		
		
#banner {
	width: 100%;
	background-color: white;
	margin-bottom: 0.6%;
}
		
#bannerlogo {
	width: 50%;
	margin: 3%;
}
		
#mainbox {
	background-color: white;
	padding: 20px;
	min-height:400px;
	overflow: auto;
}

#infobox {
	width: 100%;
}

#msform {
	margin-top: 4%;
}

#deskfigure {
  float: right;
  width: 30%;
  text-align: center;
  font-style: italic;
  font-size: smaller;
  text-indent: 0;
  border-radius: 6px;
  border: thin silver solid;  
  padding: 1%;
}

#deskfigurecaption {
	margin-top: 8px;
}
		
#infopic_desktop, #infopic_mobil { 
	width: 100%;
	border-radius: 6px;
}

#mobfigure_landscape, #mobfigure_portrait {
	display: none;
}
	
.inputgroup {
	float: left;
	clear: left;
	width: 40%;
	max-width: 400px;
	min-width: 300px;
	margin-bottom: 30px;
}

input {
	width: 100%;
}

input[type="radio"] {
	width: auto;
}
		
.labeltext {		
	font-size:14px;
	font-weight: bold;
	margin-bottom: -2px;
	padding-bottom: 0;
}

.requiredtext {
	font-size:12px;
	font-weight: normal;
	color: red;
}

fieldset {
	display:inline-block;
	float: left;
	clear: left;
}

legend {		
	font-size:14px;
	font-weight: bold;			
}
		

#footer {
	float: left;
	width: 100%;
	background-color: white;
	margin-bottom: 10px;
}

#footer p {
	margin: 0;
}

#pageeditor {
	font-size: 9px;
	color: grey;
	padding: 20px;
}

#pageeditor a {
	font-size: 9px;
}

textarea {
	width: 100%;
}

#submitbutton {
	width: auto;
	float: left;
	clear: both;
	margin-top: 50px;
}

				
@media only screen and (max-width: 768px) {
	
	#container {
	margin: 0 auto;
	width: 100%; 
	padding: 0;		
	}

	h1 {	
		font-size: 24px;
		margin: 0 0 25px 0;
	}

	h2 {	
		font-size: 20px;
		margin: 0 0 9px 0;
	}
	
	h3 {	
		font-size: 18px;
		margin: 18px 0 9px 0;
	}
	
	p {	
		font-size: 18px;
		margin: 0 0 18px 0;
	}
		
	#banner {
		margin-bottom: 1%;
	}	
		
	#bannerlogo {
		width: 96%;
	}
			
	#deskfigure {
		display: none;
	}
	
	#mobfigure_landscape, #mobfigure_portrait {
		float: left;
		clear: both;
		display: initial;
		width: 50%;
		text-align: center;
		font-style: italic;
		font-size: smaller;
		text-indent: 0;
		border-radius: 6px;
		border: thin silver solid;  
		margin: 0 0 10% 0;
		padding: 2%;
	}
	
	#mobfigure_landscape {
		width: 95%; 
	}
	
	#mobfigure_portrait {
		width: 50%;
	}
		
	#mobfigurecaption {
		margin-top: 8px;
	}
	
	#infopicmobil_portrait {
		width: 100%;
		margin: 0 0 18px 0;
		float: left;
		clear: both;
	}
			
	#infopicmobil_landscape {
		width: 100%;
	}

	.inputgroup {
		width: 100%;
		max-width: 300px;
		min-width: auto;
	}

	input {
		width: 100%;
	}
	
	#submitbutton {
		width: 100%;
		font-size: 18px;
		height: 10%;
		min-height: 50px;
	}
}



/* Förstora bild, från https://www.w3schools.com/howto/howto_css_modal_images.asp */

/* Style the Image Used to Trigger the Modal */
#infopic_desktop, #infopic_mobil {
  /* border-radius: 5px; */
  cursor: pointer;
  transition: 0.3s;
}

#infopic:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}