*{
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  box-sizing:border-box;
}

#background{
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: -100000;
}

.night_mode_text{  
  color: white;
}

.night_mode_background{
  background-color: #4C4C4E;
}

.night_mode_background2{
  background-color: #575757;
}

.knap{
  position: fixed;
  right: 0px;
  bottom: 0px;
  z-index: 5;
  margin: 25px;
}

.form{
  position: fixed;
  right: 0px;
  bottom: 0px;
  z-index: 5;
  margin: 25px;
}

/*SWITCH-KNAPPER*/
.switch-title {
  margin-bottom: 6px;
}

.switch-field input {
  display: none;
}

.switch-field label {
  float: left;
}

.switch-field label {
  display: inline-block;
  width: 60px;
  background-color: #e4e4e4;
  
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 14px;
  color: black;
}

.switch-field label:hover {
    cursor: pointer;
}

.switch-field input:checked + label {
  background-color: #4BD763;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.switch-field label:first-of-type {
  border-radius: 10px 0 0 10px;
}

.switch-field label:last-of-type {
  border-radius: 0 10px 10px 0;
}

.button{
  /*opacity: 0;*/
  z-index: 10;
  float: right;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.button:active {
  background: yellow;
}

.buttons{
  opacity: 100;
  float: right;
  width: 50px;
  height: 50px;

  cursor: pointer;
  background-color: blue;
}

.btn-clicked{
  background-color: yellow;
}

#peter{
  font-size: 50px;
}

.day{

}
/*CLEAR FIX*/
.clearfix:before, .clearfix:after{
  content:"";
  display:table;
}

.clearfix:after{
  clear:both;
}

/*NAV COLOR*/

/*CHANGE ME*/
.nav{
  /*background-color: #4282A5;*/
  z-index: 1;
  /*position: absolute;*/
}

/*CHANGE ME*/
.ekstra{

}

.ekstra_projekt_day{
  background-color: #4282A5;
  height: 80px;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: -2;
}

.ekstra_projekt_night{
  background-color: #3A3A3A;
  height: 80px;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: -2;
}

/*REST OF BODY*/

/*PROJECTS_TITLE*/
.projects_title{
  width: 100%;
  text-align: center;
  font-size: 25px;
  text-transform: uppercase;
  color: #656565;
  width: 300px;
  margin: 0 auto;
}

.projects_title p{
  margin: 50px 0 0 0;
/*  padding-bottom: 20px;
  border-bottom: 1px solid #656565;*/
}

/*TITLE*/
.titles_container{
  padding-top: 20px;
  border-top: 1px solid #656565;
  width: 300px;
  margin: 0 auto;
  margin-bottom: 50px;
  margin-top: 25px;
  font-size: 19px;
  text-align: center;
}

.titles{
  text-transform: uppercase;
  color: #656565;
  float: left;
}

#search2nd{
  float: right;
  font-size: 12px;
  padding: 10px;
  width: 100%;
margin-top: 20px;

}

#search2nd:focus{
  outline:none;
  border-color: #008ACA;
  border-style: solid;
}

/*PROJECTS*/
.projects{
  width: 90%;
  margin: 0 auto;
}

/*PROJECT*/
.project{
  width: 100%;
  background-color: white;
  border-radius: 10px;
  margin-bottom: 40px;

  box-shadow: 0 0px 35px rgba(0,0,0,0.06);

/*  transition: box-shadow 0.3s ease-in-out:
*/  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;

/* -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);*/
  cursor: pointer
}


.project:hover:active:focus{
  box-shadow: 0px 10px 35px rgba(0, 0, 0, 0.2);

  -webkit-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);


/*  transition: all 0.3s ease;
*/
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.project_container{
  border-radius: 10px;
}

.left{
  width: 100%;

  float: left;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.left_titel_day{
  color: #4F4F4F;
}

.left_titel_night{
  color: white;
}

.left h1{
  font-size: 25px;  
  /*text-transform: uppercase;*/
  /*color: #4F4F4F;*/
  font-weight: 400;
  te
}

.left p{
  font-size: 16px;
  margin-top: 5px;
  font-weight: 300;
  line-height: 1.5;
  /*color: #4F4F4F;*/
}

.image_container{
  height: 150px;
  width: 100%;
  position: relative;
  float: right;
}

.image{
  height: 100%;
  width: 100%;
  /*background-image: url("avocado.png");*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; 
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 0px;

  outline: none;
  border-style: none; 
  pointer-events: none
}

#frame{
  -moz-transform: scale(0.2);
    -moz-transform-origin: 0 0;
    -o-transform: scale(0.2);
    -o-transform-origin: 0 0;
    -webkit-transform: scale(0.2);
    -webkit-transform-origin: 0 0;
}

/*Forslag input*/

.datalist {
  list-style: none;
  display: none;
  background: white;
  box-shadow: 0 2px 2px #999;
  position: absolute;
  left: 0;
  top: 0;
  max-height: 300px;
  overflow-y: auto;
}
.datalist:empty {
  display: none !important;
}
.datalist li {
  padding: 3px;
  font: 13px "Lucida Grande", Sans-Serif;
}
.datalist li.active {
  background: #3875d7;
  color: white;
}
