*{
  box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
    font-size: 16px;
    font-family: Helvetica;
    color:#3F3A3E;
  }

  .bg {
    /* The image used */
    background-image: url("images/bg_small.jpg");
    height: 100vh;
    position: relative;
  
    /* Full height */
    height: 100%; 
  
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
  }

  @media screen and (max-width: 576px)
  {
    .bg .box {
      width: 100%;
      height: 100%;
      background-color: rgba(228, 228, 228, 0.9);
   }
    
    .boxhead{
     position: relative;    
     /*width: 100%;*/
     height: 110px;
     background-color: rgba(20,15, 20, 0.8);
     padding: 20px 20px 20px 20px;
     box-shadow: 0px 0px 10px 1px #ffffff;  
    }

    .navbar_icon{
      float: right;
      width: 10px;
      margin-top: 10px;
      margin-right: 20px;
    }

    .head_right{     
      color: #fff;
      font-size: 12px;
      }

    .input_box{
      width:100%;
      height: calc(100vh - 110px)
    }

    .nav_hidden{
      width:50%;
      /*height:100%;*/
      background-color: #78B833;
      position: relative;
      left: -50%;   
      /*transform:translate(-100%,0);*/
      transition: .5s;
      transition-timing-function: ease-out;
    }

    .nav_shown{
      width:50%;
      /*height:100%;*/
      background-color: #78B833;
      visibility: visible;
      left:0px;
      /*display: block;*/
      /*transform:translate(0%,0);*/
      transition: .5s;
      transition-timing-function: ease-out;
    }

    .nav4{
      display:block;
      width:100%;
      border:1px solid #a7c587;;
      padding:10px;     
    }

    .nav4:hover{
      background-color:#3F3A3E;    
      color:#FEFEFE;  
    }
    
    .nav4 a{
      color:inherit;
      text-decoration: none;
      text-transform: none;
    }

    .page_content{
      position: absolute;
      top: 110px;
    }

    .input {
      font-size: 16px;
      font-size: max(16px, 1em);
      font-family: inherit;  
      background-color: #fff;
      border: 2px solid var(--input-border);
      border-radius: 4px;
      outline: none;  
      text-align: right;
      box-shadow: 0px 0px 5px 3px #bbb;
      float:right;
      width: 30%;
      padding: 5px ;
      }
    
      .page_title{
        margin: 0 auto;
        width: 200px;
        text-align: center;
        padding: 20px 0; 
        font-weight: bold;
      }
    
      .page_half{
        width: 100%;
        float: left;
        padding: 10px 25px 10px 25px;
      }
    
      .input_block{
        padding: 10px 0;
      }

      .button_block{
        width: 50%;
        float: left;
      }
    
      .select_input {
      font-size: 16px;
      font-size: max(16px, 1em);
      font-family: inherit;
      padding: 0.25em 0.5em;
      background-color: #fff;
      border: 2px solid var(--input-border);
      border-radius: 4px;
      outline: none;
      width: 95px;
      text-align: right;
      box-shadow: 0px 0px 5px 3px #bbb;
      }
    
    
      .button {
      font-size: 16px;
      font-size: max(16px, 1em);
      font-family: inherit;  
      background-color: #fff;
      border: 2px solid var(--input-border);
      border-radius: 4px;
      outline: none;
      width: 150px;
      height: 28px;
      text-align: center;
      transition: 0.5s;
      cursor: pointer;
      box-shadow: 0px 0px 5px 3px #bbb;
      margin: 10px 5px;
      position: relative;
      left: calc(50% - 80px);
      }
    
      .button:hover {
      background-color: #78B833;
      }
    
    
      .button:active {
      transition: 0s;
      color: #ffffff;
      }
  }

  @media screen and (min-width: 577px) and (max-width: 1200px)
  {
    .bg .box {
      margin: 0;
      position: absolute;
      top: 50%;
      left: 50%;
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      width: 100%;
      height:100%;
      background-color:rgba(228, 228, 228, 0.9);
      box-shadow: 0px 0px 10px 5px #ffffff;
      max-height:100%;
      }

   .boxhead{
    position: relative;
    /*top: 25px;    */
    width: 100%;
    height: 110px;
    background-color:rgba(20,15, 20, 0.8);
    padding: 20px 20px 20px 20px;
    box-shadow: 0px 0px 10px 5px #ffffff;
    margin: 0 auto;
    }

    .head_right{
    position: relative;
    bottom:35px;
    float: right;
    width: 100px;
    height: 60px;   
    padding: 20px 20px 20px 20px;
    text-align: right;
    line-height: 105px;
    vertical-align: bottom;    
    color: #fff;
    font-size: 12px;
    }

  .navbar_icon{
    display:none;
  }

 .input_box{
    position: relative;       
    width: 100%;
    height: 100%;   
    /*padding: 20px 20px 20px 30px;*/
    box-shadow:  0px 0px 5px 0px #fff;
    /*text-shadow: 0px 0px 5px #ffffff;*/
    /*max-height: calc(90vh - 150px);*/
    margin: 0 auto;
    min-height: 300px;
    }

  #navigation{
    height: 40px;
  }

  .nav4{
    display:block;
    width:25%;
    float:left;
    border:1px solid #a7c587;;
    padding:10px 0;    
    background-color: #78B833; 
    text-align: center;
    }

  .nav4 a{
    color:inherit;
    text-decoration: none;
    text-transform: none;
    
  }

  .nav4:hover{
    background-color:#3F3A3E;    
    color:#FEFEFE; 
    transition: .2s; 
    transition-timing-function: ease-in-out;
    }

  .input {
  font-size: 16px;
  font-size: max(16px, 1em);
  font-family: inherit;  
  background-color: #fff;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  outline: none;  
  text-align: right;
  box-shadow: 0px 0px 5px 3px #bbb;
  float:right;
  width: 30%;
  padding: 5px ;
  }

  .page_title{
    margin: 0 auto;
    width: 200px;
    text-align: center;
    padding: 20px 0; 
    font-weight: bold;
  }

  .page_half{
    width: 50%;
    float: left;
    padding: 10px 10px 10px 15px;
  }

  .input_block{
    padding: 10px 0;
  }

  .button_block{
    padding: 3px 0;
  }

  .select_input {
  font-size: 16px;
  font-size: max(16px, 1em);
  font-family: inherit;
  padding: 0.25em 0.5em;
  background-color: #fff;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  outline: none;
  width: 95px;
  text-align: right;
  box-shadow: 0px 0px 5px 3px #bbb;
  }


  .button {
  font-size: 16px;
  font-size: max(16px, 1em);
  font-family: inherit;  
  background-color: #fff;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  outline: none;
  width: 150px;
  height: 28px;
  text-align: center;
  transition: 0.5s;
  cursor: pointer;
  box-shadow: 0px 0px 5px 3px #bbb;
  margin-top:5px;
  position: relative;
  left: calc(50% - 75px);
  }

  .button:hover {
  background-color: #78B833;
  }


  .button:active {
  transition: 0s;
  color: #ffffff;
  }
  }

  @media screen and (min-width: 1201px)
  {   
    .bg .box {
      margin: 0;
      position: absolute;
      top: 50%;
      left: 50%;
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      width: 600px;
      height:800px;
      background-color:rgba(228, 228, 228, 0.9);
      box-shadow: 0px 0px 10px 5px #ffffff;
      max-height:100%;
      }

   .boxhead{
    position: relative;
    top: 25px;    
    width: 510px;
    height: 110px;
    background-color:rgba(20,15, 20, 0.8);
    padding: 20px 20px 20px 20px;
    box-shadow: 0px 0px 10px 5px #ffffff;
    margin: 0 auto;
    }

    .head_right{
    position: absolute;
    top: 5px;
    left: 400px;
    width: 100px;
    height: 60px;   
    padding: 20px 20px 20px 20px;
    text-align: right;
    line-height: 105px;
    vertical-align: bottom;    
    color: #fff;
    font-size: 12px;
    }

  .navbar_icon{
    display:none;
  }

 .input_box{
    position: relative;
    top: 50px;    
    width: 510px;
    height: 590px;   
    /*padding: 20px 20px 20px 30px;*/
    box-shadow: 0px 0px 10px 5px #ffffff;
    /*text-shadow: 0px 0px 5px #ffffff;*/
    max-height: calc(90vh - 150px);
    margin: 0 auto;
    min-height: 300px;
    }

  #navigation{
    height: 40px;
  }

  .nav4{
    display:block;
    width:25%;
    float:left;
    border:1px solid #a7c587;;
    padding:10px 0;    
    background-color: #78B833; 
    text-align: center;
    }

  .nav4 a{
    color:inherit;
    text-decoration: none;
    text-transform: none;
    
  }

  .nav4:hover{
    background-color:#3F3A3E;    
    color:#FEFEFE; 
    transition: .2s; 
    transition-timing-function: ease-in-out;
    }

  .input {
  font-size: 16px;
  font-size: max(16px, 1em);
  font-family: inherit;  
  background-color: #fff;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  outline: none;  
  text-align: right;
  box-shadow: 0px 0px 5px 3px #bbb;
  float:right;
  width: 30%;
  padding: 5px ;
  }

  .page_title{
    margin: 0 auto;
    width: 200px;
    text-align: center;
    padding: 20px 0; 
    font-weight: bold;
  }

  .page_half{
    width: 50%;
    float: left;
    padding: 10px 10px 10px 15px;
  }

  .input_block{
    padding: 10px 0;
  }

  .button_block{
    padding: 3px 0;
  }

  .select_input {
  font-size: 16px;
  font-size: max(16px, 1em);
  font-family: inherit;
  padding: 0.25em 0.5em;
  background-color: #fff;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  outline: none;
  width: 95px;
  text-align: right;
  box-shadow: 0px 0px 5px 3px #bbb;
  }


  .button {
  font-size: 16px;
  font-size: max(16px, 1em);
  font-family: inherit;  
  background-color: #fff;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  outline: none;
  width: 150px;
  height: 28px;
  text-align: center;
  transition: 0.5s;
  cursor: pointer;
  box-shadow: 0px 0px 5px 3px #bbb;
  margin-top:5px;
  position: relative;
  left: calc(50% - 75px);
  }

  .button:hover {
  background-color: #78B833;
  }


  .button:active {
  transition: 0s;
  color: #ffffff;
  }
}

  

 

 /*.head_right{

    position: absolute;
    top: 5px;
    left: 400px;
    width: 100px;
    height: 60px;
   
    padding: 20px 20px 20px 20px;
    text-align: right;
    line-height: 105px;
    vertical-align: bottom;
    
    color: #fff;
    font-size: 12px;


 }

 .input_box{

    position: absolute;
    top: 150px;
    left: 25px;
    width: 500px;
    height: 590px;
   
    padding: 20px 20px 20px 30px;
    box-shadow: 0px 0px 10px 5px #ffffff;
   text-shadow: 0px 0px 5px #ffffff;
  }

.input {
  font-size: 16px;
  font-size: max(16px, 1em);
  font-family: inherit;
  padding: 0.25em 2em 0.25em 0.5em ;
  background-color: #fff;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  outline: none;
  width: 56px;
  text-align: right;
  box-shadow: 0px 0px 5px 3px #bbb;
}

.select_input {
  font-size: 16px;
  font-size: max(16px, 1em);
  font-family: inherit;
  padding: 0.25em 0.5em;
  background-color: #fff;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  outline: none;
  width: 95px;
    text-align: right;
    box-shadow: 0px 0px 5px 3px #bbb;
}


.button {
  font-size: 16px;
  font-size: max(16px, 1em);
  font-family: inherit;
  
  background-color: #fff;
  border: 2px solid var(--input-border);
  border-radius: 4px;
  outline: none;
  width: 150px;
  height: 30px;
  text-align: center;
  transition: 0.5s;
  cursor: pointer;
  box-shadow: 0px 0px 5px 5px #bbb;
}

.button:hover {
  background-color: #909f31;
}


.button:active {
  transition: 0s;
  color: #ffffff;
}
*/
