input {
  -webkit-appearance: none;
  
}

body {
  font-family: Arial;
  margin: 0;
}


.header{
  width: 100%;
  position: relative;
  z-index: 999;
}
.container {
  
  display: flex;
  flex-direction: column;
  
}

.container :nth-child(1) { order: 3; }
.container :nth-child(2) { order: 1; width: auto; text-align: center}
.container :nth-child(3) { order: 2; width: auto; text-align: center}
.container :nth-child(4) { order: 4; display: none }


@media (min-width:600px){
  .header{
    width: 100vw;
    min-width: 1200px;
    position: relative;
    z-index: 999;
  }
  .container {
    display: flex;
    flex-direction: row-reverse;
    
    
  }
  .container :nth-child(1) { order: 1; }
  .container :nth-child(2) { order: 3;  width: 150px; text-align: left}
  .container :nth-child(3) { order: 2;  width: 150px; text-align: left}
  .container :nth-child(4) { order: 4; }
  

}

.navbar {
  overflow: hidden;
  background-color:  #333;   
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.topnavbtn{
	font-size: 16px;  
	border: none;
	outline: none;
	color: white;
	padding: 14px 16px;
	background-color:  #333; 
	font-family: inherit;
  margin: 0;
}

.topnavbtn:hover{
	background-color: #e3051b; 
}

.subnav {
  float: left;
  overflow: hidden; 
}

.subnav .subnavbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color:  #333; 
  font-family: inherit;
  margin: 0;
 

}

.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: #e3051b;
}

.subnav-content {
  display: none;
  position: absolute;
  z-index: 9999;
  left: 0;
  background-color: #e3051b;
  width: 100%;
  position: absolute;
  z-index: 999;
  
  
  

}

.subnav-content a {
  float: left;
  color: white;
  text-decoration: none;

}

.subnav-content a:hover {
  background-color: #eee;
  color: black;
}

@media (min-width:600px){
  .subnav:hover .subnav-content {
    display: block;
  
  }
}

.subnavbutton:hover {
  background-color: #eee;
  color: #333;
}
.subnavbutton {
	font-size: 16px;  
	border: none;
	outline: none;
	color: white;
	padding: 14px 16px;
	background-color: #e3051b;
	font-family: inherit;
  margin: 0;
  float: left;
  text-decoration: none;
  


}
.plus {
	font-size: 33px;
  padding: 4px 16px;

}

.topnav-right {
  float: right;

}


form{
	margin-bottom:0;
	margin-top:0;
}

.textbox {
	float: right;
    display: block;
    text-align: left;
    width: 100%;
    margin: 5;
	padding: 6px;
	margin-top: 8px;
	font-size: 17px;
	border: none;
  width: 150px;
 
	
}
.topnavbtnright {
	float: right;
	font-size: 16px;  
	border: none;
	outline: none;
	color: white;
	padding: 14px 16px;
	background-color:  #333; 
	font-family: inherit;
  margin: 0;
  
}
.topnavbtnright:hover{

	background-color: #e3051b; 

}
.login-container a{
  float: right;
}
.navbar .error:hover{
  background-color:  #333; 
}






/* Hide the link that should open and close the topnav on small screens */
.navbar .icon {
  display: none;
  font-size: 18px;
  margin: -5px;
}

/* When the screen is less than 500 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  
  
  
  .navbar a.icon {
    float: right;
    display: block;
  }
  .subnav {
    float: left;
    overflow: hidden;
  }
  
  .subnav-content .subnavbutton {
    float: none;
    text-decoration: none;
    display: none;
    text-align: left;
  }

  .navbar div:not(:first-child){
    display: none;
  }
   #id {
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .navbar.responsive {position: relative;}
  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .navbar.responsive div {
    float: none;
    display: block;
    width: 100%;
    text-align: left;
  }

  .navbar.responsive .topnavbtn {
    float: none;
    display: block;
    width: 100%;
    text-align: left;
  }
  .navbar.responsive .subnav {float: none;}
  .navbar.responsive .subnav-content {position: relative;}
  .navbar.responsive .subnav .subnavbtn {
    display: block;
    width: 100%;
    text-align: left;
  }


  

  
  .subnav:hover .subnavbutton {
    display: block;
    width: 100%;
    text-align: left;
  }

  
  

}


