*{
  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: #0B77A9;*/
  z-index: 1;
  position: absolute;
}

/*CHANGE ME*/

.ekstra_projekt{
  height: 80px;
  width: 100%;
  z-index: -1;
  overflow: hidden;
  
}



.ekstra_projekt_day{
  background-color: #4282A5;
}

.ekstra_projekt_night{
  background-color: #3A3A3A;
}

/*REST OF BODY*/


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

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

/*TOGGLE SWITCH*/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

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

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

/*PROJECTS*/
.projects{
  width: 960px;
  margin: 0 auto;
}

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

  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease-in-out:
  border-top-right-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::after{
  box-shadow: 0px 7px 35px rgba(0, 0, 0, 0.2);

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

  transition: all 0.25s ease;

  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  opacity: 0;
}

.project:hover::after {
  opacity: 1;
}
*/

.project {
  margin-bottom: 30px;
  position: relative;
  display: inline-block;

  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1);
 -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


}

/* Pre-render the bigger shadow, but hide it */
.project::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 100%;  
  height: 100%;
  top: 0;
  opacity: 0;
  border-radius: 10px;
  box-shadow: 0px 7px 35px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease-in-out;
}

.project:hover{
  -webkit-transform: scale(1.04, 1.04);
  transform: scale(1.04, 1.04);
}

/* Transition to showing the bigger shadow on hover */
.project:hover::after {
  opacity: 1;
}

.project_container{
  border-radius: 10px;
}

.left{
  width:480px;
  height: 150px;
  float: left;
  padding: 25px;
  display: flex;
/*  justify-content: space-between;
*/  flex-direction: column;
}

.left_titel_day{
  color: #4F4F4F;
}

.left_titel_night{
  color: white;
}

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

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

.image_container{
  height: 150px;
  width: 400px;
  margin-left: 80px;
  position: relative;
  float: right;
  overflow: hidden;
  border-radius: 0 10px 10px 0;
  pointer-events: none;
  cursor: default;
}

.image{
  height: 360px;
  width: 960px;
  zoom:0.4166666667;
  /*background-image: url("avocado.png");*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; 
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;

  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*/

#search {
  border: 1px solid silver;
  outline: none;
  margin: 0;
  background: #ffffff;
  font-size: 15px;
  padding: 10px;
}

#search_list {
  position: absolute;
  cursor: default;
  border: solid silver;
  border-width: 1px; 
  border-top: 0;
  background: #ffffff;
  z-index: 1;
  transition: opacity .10s ease-in-out;
  -moz-transition: opacity .10s ease-in-out;
  -webkit-transition: opacity .10s ease-in-out;
}

#search, #search_list {
  width: 200px;
}

#search_list {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

#search_list p {
  font-size: 13px;
  padding: 4px;
  display:block;
  padding: 4px 8px;
  line-height: 1.5;
}

.hover {
  margin: -1px;
  border: 1px solid #999999; 
  background: #dadada;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px; 
}

#search:focus{
  border-color: #999999;
  border-style: solid;
}

.search{
  float: right;
}