
html, body {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
	overflow: hidden;
}

h1 {
	font-size: 3em;
	text-transform: uppercase;
	margin-bottom: 5px;
}

h3 {
	font-weight: bold;
}

h2 {
	margin: 0;
}

#join input {
	margin: 5px 0px 5px 0px;
}

input[type=text] {
	background: rgba(255,255,255, 0.7);
	border: none;
	width: 190px;
	height: 30px;
	padding: 0px 10px 0px 10px;
	color: rgb(255, 255, 255);
	font-size: 1em;
	border-radius: 5px;
	box-sizing: border-box;
}

input[type=submit] {
	width: 120px;
	height: 30px;
	border: none;
	color: white;
	font-size: 1em;
	border-radius: 5px;
	cursor: pointer;
}

::-webkit-input-placeholder {
   color: white;
}

:-moz-placeholder { /* Firefox 18- */
   color: white;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: white;  
}

:-ms-input-placeholder {  
   color: white;  
}

input:focus {
    outline:none;
}

select {
	font-size: 1.1em;
	height: 30px;
	margin: 5px 0px 5px 0px;
	color: white;
	background-color: rgba(255,255,255, 0.7);
	border: none;
}

select:focus {
	outline: none;
}

textarea {
	background: rgba(255,255,255, 0.7);
	border: none;
	width: 100%;
	height: 200px;
	padding: 7px 11px;
	color: rgb(255, 255, 255);
	font-size: 1em;
	margin: 0;
	border-radius: 5px;
	box-sizing: border-box;
	resize: none;
}

textarea:focus {
	outline: none;
}

input#bookus_submit {
	background-color: #ff33af;
}
input#bookus_submit:hover {
	background-color: #FF62C2;
}
input#bookus_submit:active {
	background-color: #E52E9E;
}


input#join_submit {
	background-color:#834C19;
}
input#join_submit:hover {
	background-color:#94561D;
}
input#join_submit:active {
	background-color:#704116;
}

.nomargin {
	margin: 0;
}

.nolineheight {
	line-height: 1;
}

.displaynone {
	display: none;
}

.gallery {
	width:12.5%;
	margin: 5px 5px 0px 0px;
	border: 5px solid #fff;
}

.fancybox {
	text-decoration: none;
}

#top-bottom {
	position: absolute;
	bottom: 50px;
	left: 0;
	width: 100%;
	z-index: 8000;
}

#top-bottom #logo-container {
	width: 400px;
	margin: 0 auto;
	background-color: rgba(20,20,20, 1);
	padding: 20px;
}

#top-bottom #logo-container img {
	width: 100%;
}

header {
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	height: 50px;
	z-index: 7500;
	text-align: center;
}

header ul#menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 20px;
	text-transform: uppercase;
	margin-top: 10px;
}

header.sticky ul#menu {
	margin-left: 15px;
	margin-top: 15px;
}

header ul#menu li {
	display: inline-block;
	padding: 0px 10px 0px 10px;
	background-color: rgb(20,20,20);
}

header ul#menu li.active {
	font-weight: 700;
}

header ul#menu li a {
	text-decoration: none;
	color: white;
}

.sticky {
	text-align: left;
	position: fixed;
	top:0;
}

section {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

section#top {
	position: relative;
	overflow: hidden;
}

section#top #top-bg {
	position: absolute;
  	width: 100%;
  	top: 0;
  	bottom: 0;
	background-image: url('../img/hero/hero3_mq.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center 8%;

/*
-webkit-transition: all 0.4s;
-moz-transition: all 0.4s;
-ms-transition: all 0.4s;
-o-transition: all 0.4s;
transition: all 0.4s;
*/
}

section#top #top-bg.nr2 {
	background-image: url('../img/hero/hero4_mq.jpg');
}

section#top #top-bg.nr3 {
	background-image: url('../img/hero/hero5_mq.jpg');
	background-position: center 20%;
}

section#aboutus {
	position: relative;
	background-color: rgb(238, 77, 63);
	color: white;
	min-height: 100vh;
	height: auto;
}

section#aboutus #img_gallery {

}

section#join {
	position: relative;
	background-image:url('../img/hero/hun2.jpg');
	background-size: 900px;
	background-position: 60% 100%;
	background-repeat: no-repeat;
}

section#join .position_bar {
	height: 100%; 
	float: left; 
	width: 100px;
	margin-right: 0px;
	cursor: pointer;
}

section#join .position_bar:hover {
	
}

section#join .section-box {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 370px;
	height: 100%;
	background-color: rgba(255, 148, 32, 1); 
	padding: 60px 10px 10px 10px;
	box-sizing: border-box;
	color: white;
}

section#stjorn {
	height: auto;
	min-height: 115vh;
	padding-bottom: 20px;
	position: relative;
	background-color: rgb(85, 180, 81);
}

section#stjorn .stjornarmedlimur {
	text-align: left;
	color: white;
	width: 42%;
	position: relative;
	display: inline-block;
	vertical-align: top;

}

section#stjorn .stjornarmedlimur .stjornarmedlimur_mynd {
	width: 200px;
	height: 200px;
	border-radius: 100px;
	background-size: 150%;
	background-repeat: no-repeat;
	border: 5px solid white;
	float: right;

}

section#stjorn .stjornarmedlimur .stjornarmedlimur_mynd.helga {
	background-image: url('../img/stjorn/helga.jpg');
	background-position: 1% 10%;
	margin-right: 20px;
	width: 250px;
	height: 250px;
	border-radius: 150px;
}

section#stjorn .stjornarmedlimur .stjornarmedlimur_mynd.medleikari {
	background-position: 50% 0%;
	margin-right: 20px;
	width: 110px;
	height: 110px;
	border-radius: 150px;
	border: 3px solid white;
}

section#stjorn .stjornarmedlimur img.stjornarmedlimur_mynd_small {
    width: 100px;
    border-radius: 60px;
    margin: 3px;
    border: 3px solid white;
    cursor: pointer;
}

section#stjorn .stjornarmedlimur img.stjornarmedlimur_mynd_small:hover {
	box-shadow: 0px 0px 14px rgba(255,255,255,1);
}

section#stjorn .stjornarmedlimur #stjorn_info {
	width: 0px;
	height: 0px;
	box-sizing: border-box;
	padding: 0px;
}

section#stjorn .stjornarmedlimur #stjorn_info.shown {
width: auto;
height: auto;
text-align: center;
margin: 10px 0;
padding: 10px;
border: 5px dashed black;
}

section#stjorn .stjornarmedlimur a {
	color: white;
	text-decoration: none;
}

section#stjorn .stjornarmedlimur a:hover {
	text-decoration: underline;
}

section#stjorn .stjornarmedlimur #stjorn_info a {
	text-decoration: none;
	color: white;
	font-size: 12px;
	line-height: 1;
}

section#stjorn .stjornarmedlimur #stjorn_info a:hover { 
	text-decoration: underline;
}

section#members {
	background-color: rgb(25, 136, 209);
	height: auto;
}

section#bookus {
	background-image: url('../img/hero/hero2_mq.jpg');
	color: white;
	background-position: 0% 50%;
	background-size: cover;
}

section#bookus .section-box {
	background-color: rgb(180, 25, 209);
	width: 402px;
	height: 100%;
	padding: 20px 15px 0px 15px;
}

.wrap {
	padding: 30px 50px 0 50px;
	margin: 0 auto;
	height: inherit;
}

.hidden {
	display: none;
}

.member {
    float: left;
    width: 12.5%;
}

.member img {
	opacity: 0.5;
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1) contrast(10); /* Google Chrome, Safari 6+ & Opera 15+ */
}

#member-info {
    position: absolute;
    border: 15px solid #000;
    padding-top: 15px;
    z-index: 8000;
    background-image: url('../img/flag_border2.png');
    background-size: 100%;
    color: white;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
}

#member-info .info-text {
	background-color: rgb(0,0,0);
	padding: 5px;
	width: 100%;
	box-sizing:border-box;
	text-align: center;
}

#member-info .name {
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: 700;
    color: white;
    text-align: center;
}

#member-info a {
    border: none;
}

.flag-red {
	background-color: #da0019;
}
.flag-orange {
	background-color: #e27b33;
}
.flag-yellow {
	background-color: #fdfd61;
}
.flag-green {
	background-color: #487f30;
}
.flag-blue {
	background-color: #221cef;
}
.flag-purple {
	background-color: #700077;
}

#mute {
	position: absolute;
	bottom: 5px;
	right: 10px;
	width: 35px;
	height: 35px;
	background-image: url('../img/unmuted.png');
	background-size: 35px;
	background-repeat: no-repeat;
	cursor: pointer;
}

#mute.muted {
	background-image: url('../img/muted.png');
}

.rotate {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);

  /* also accepts left, right, top, bottom coordinates; not required, but a good idea for styling */
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;

  /* Should be unset in IE9+ I think. */
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

  width: 100%;
  text-align: center;
  font-size: 4em;
  color: white;
  margin-top: 250px;
  text-transform: uppercase;
  cursor: pointer;

          -moz-transition: all 0.5s ease;
          -webkit-transition: all 0.5s ease;
          -o-transition: all 0.5s ease;
          transition: all 0.5s ease;

}

.rotate_0 {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);

  margin-top: 100px;
  font-weight: 700;
  font-size: 2em;
}

.rodd {
	margin: 0px 10px 0px 10px;
	color: white;
	display: none;
}

table#stjornlisti {
	border-collapse: collapse;
}

table#stjornlisti td, th {
	padding: 3px 6px 3px 6px;
}

table#stjornlisti tr:hover {
	background-color: rgb(20,20,20);
	cursor: pointer;
}

table#stjornlisti tr:first-child:hover {
	background-color: transparent;
	cursor: default;
}

.email_href {
	text-decoration: none;
	color: white;
}

.email_href:hover {
	color: #eaeaea;
	text-decoration: underline;
}

.social {
	position: absolute;
	bottom: 5px;
	left: 5px;
}

.social-icons {
	margin: 0;
	width:25px;
	display:inline-block;
}

#loader {
    margin: 0 auto;
    position: absolute;
    top:0;
    right:0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background-color: rgb(238, 77, 63);
}

.loader_colorchange {
	display: none;
    position: absolute;
    top:0;
    right:0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    background-color: rgb(255, 148, 32);
}

#loader-content {
    font-family: 'Open Sans', sans-serif;
    color: white;
    font-weight: 700;
    position:relative;
    width:300px;
    margin:20% auto;
    font-size: 40px;
    line-height: 1;
    z-index: 99999999;
}

.elskumhelgu {
	position: absolute;
	bottom: -60px;
	right: -60px;
	width: 170px;
}

@media screen and (max-width: 680px) {

	header ul#menu {
		display: none;
	}

	#top-bottom #logo-container {
		width: 80%;
		padding: 15px;
	}

	section#top {
		height: 100vh;
	}
	section {
		height: auto;
	}

	.bladagrein {
		display: none;
	}

	.stjornarmedlimur {
		width: 100% !important;
		margin: 0 !important;
	}

	section#stjorn {
		padding-bottom: 100px;
	}

	section#stjorn .stjornarmedlimur img.stjornarmedlimur_mynd_small {
		width: 70px;
	}

	section#join .section-box {
		width: 100% !important;
	}

	section#bookus .section-box {
		width: 100% !important;
		box-sizing: border-box;
	}

	.wrap {
		padding: 0 10px;
	}

	h1 {
		line-height: 1.2;
	}

	.gallery {
		width: 45%;
	}

	#mute {
		display: none;
	}

	#bookus_form input, select {
		width: 100% !important;
		margin: 3px 0;
	}

	#join input {
		width: 100%;
	}

	textarea {
		margin: 3px 0;
	}

	input, select {
		height: 40px !important;
	}

	section#bookus .section-box, section#aboutus {
		padding-bottom: 60px;
	}
	
	.elskumhelgu {
		right: -10px;
	}
}
