body {
	margin:0;
	padding:0;
  height:100%;
}

#wrapper {
	min-height:100%;
	position:relative;
}

#logo {
  text-align: center;
  margin-bottom: 10px;
  padding-top: 10px;
  height: 58px;
}

#aller_logo {
  width: 100px;
  position: relative;
  right: 330px;
  top: 16px;
}

#panela_logo {
  width: 160px;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
}

#login_button {
  color: white;
  background-color: black;
  padding: 8px;
  position: relative;
  left: 350px;
  top: 16px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-top: 6px;
  font-family: Roboto;
}

#login_mobile_icon {
  display: none;
  position: absolute;
  right: 18px;
  top: 15px;
  font-size: 30px;
  color: black;
}

#login_mobile_text {
  display: none;
  font-family: Roboto;
  font-weight: 400;
  position: absolute;
  top: 44px;
  right: 12px;
  color: black;
  font-size: 12px;
  letter-spacing: 0.5;

}

a {
  text-decoration: none !important;
}

#topbanner {
	background-image: url('topbanner.png');
  background-size: cover; 
	height: 350px;
  position: relative;
  border-top: 2px solid #f9ad81;
}

h1 {
  color: white !important;
  font-family: Roboto;
  font-size: 40px !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 65px !important;
  padding: 0 20px;
}

.mobile-header {
  display: none;
}

.sub-header {
  color: white !important;
  font-family: Roboto;
  font-size: 30px !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  text-align: center;
  padding: 0 20px;
  /* margin-bottom: 50px !important; */
}

h3 {
  font-family: Roboto;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
}

.italic {
  font-family: Roboto;
  text-align: center;
  color: white;
  text-align: center;
  font-size: 18px;
  font-style: italic;
}

.medlem_button {
  color: white;
  font-family: Roboto;
  font-size: 28px;
  font-weight: 900 !important;
  background-color: #f9ad81;
  width: 300px;
  text-align: center;
  margin: 0 auto 15px auto;
  padding: 10px;
}

.container {
  margin: 0 auto;
	width: auto;
  /* max-width: 840px; */
	/* margin-bottom: 20px; */
	position: relative;
	overflow: auto;
  background-color: #fff;
  padding-bottom: 90px;
}

.first-row {
  margin-top: 15px;
}

ul {
  padding-left: 15px !important;
  color: #000 !important;
  line-height: 26px !important;
}

hr {
  border: 1px solid #aaa !important;
}

.link {
  color: #f9ad81 !important;
  text-decoration: underline !important;
  font-weight: 900 !important;
}

.box {
  margin: 15px;
  padding: 0 10px 20px 10px;
  min-height: 350px;
}

.box p {
  font-family: Roboto;
  font-weight: 400 !important;
  line-height: 26px;
  color: #000;
  margin-bottom: 20px !important;
}

.panel-grey {
  border: 4px solid #f4f6f7 !important;
}

.panel-orange {
  border: 4px solid #fae5d9 !important;
  position: relative;
  padding: 0;
}

.panel-orange h3, .panel-orange hr, .panel-orange p {
  margin-right: 10px !important;
  margin-left: 10px !important;
}

.panel-orange img {
  max-width: 100%;
  position: absolute;
  bottom: 0;
}

.icon-div {
  display: inline-block;
}

.icon-p {
  line-height: 22px !important;
  width: -webkit-calc(100% - 54px);
  width:    -moz-calc(100% - 54px);
  width:         calc(100% - 54px);
  float: right;
}

.last-icon-p {
  height: 44px;
  line-height: 44px !important;
}

.icon {
  width: 44px;
  height: 44px;
  float: left;
  margin-right: 10px;
  font-size: 44px;
  text-align: center;
}

.last-icon {
  width: 42px !important;
  height: 42px !important;
  margin-right: 12px;
}

#vind-splash {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 80px;
}

footer {
  background-color: #4e5b7d;
  text-align: center;
  color: white;
  padding: 20px 25px;
  height: 70px;
  width:100%;
	position:absolute;
	bottom:0;
  left:0;
  font-family: Roboto;
  font-size: 12px;
  letter-spacing: 1px;
}

@media screen and (min-device-width: 992px) and (max-device-width: 1200px) {
  .box {
    height: 360px;
  }
}

@media screen and (min-device-width: 826px) {
  .sub-header {
    margin-bottom: 30px !important;
  }
}

/* Ipad and smaller */
@media screen and (max-device-width: 826px) {
  #aller_logo {
    right: 240px;
  }
  #login_button {
    left: 240px;
  }
  .sub-header {
    display: none;
  }
  h1 {
    margin-bottom: 40px !important;
  }
  .panel-orange {
    height: auto;
  }
  .panel-orange img {
    position: relative;
  }
}  

/* Smartphones */
@media screen and (max-device-width: 420px) {
  #panela_logo {
    position: relative;
  }
  #aller_logo{
    position: absolute;
    width: 70px;
    left: 15px;
    top: 36px;
  }
  #login_mobile_icon, #login_mobile_text {
    display: inline;
  }
  #login_button {
    display: none;
  }

  h1 {
    font-size: 30px !important;
    padding: 0 10px !important;
    margin: 30px 0 !important;
  }

  .mobile-header {
    display: block;
  }

  .desktop-header {
    display: none;
  }

  #topbanner {
    height: 300px;
  }

  .italic {
    font-size: 16px !important;
  }
  .medlem_button {
    width: 230px;
    font-size: 22px !important;
    padding: 10px;
  }


  .container {
    padding: 0 0 70px 0 !important;
  }
  .box {
    margin: 0;
  }
  h3 {
    padding-right: 50px !important;
  }
  .col-md-6 {
    padding: 0 !important;
  }
  .last-icon-p {
    line-height: 20px !important;
  }
  #vind-splash {
    right: 0;
    top: 0;
  }
  footer {
    padding: 15px 10px !important;
    font-size: 11px;
    line-height: 18px;
  }
  footer p {
    padding: 0;
  }
}