* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #049cec;
}

/* Style the topnav links */
.topnav a{
  float: right;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.topnav u{
  float: left;
  display:block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.topnav title{
  float: left;
  display:block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {

  color: #045cb3;
}

/* Create three equal columns that floats next to each other */
.column1{
  float: left;
  width: 20%;
  padding: 15px;
}

.column2{
  float: right;
  width: 80%;
  padding: 15px;
 
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.container {
  border-radius: 5px;
  padding: 20px;
}

.col-register {
  float: left;
  width: 80%;
  margin-top: 6px;
}

.col-login {
  float: left;
  width: 100%;
  margin-top: 6px;
}

input[type=text], input[type=password], select {
  width: 100%;
  padding: 12px;
  padding-top: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

input[type=sample]{
  float: left;
  width: 562px;
  padding: 12px;
  padding-top: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}



input[type=submit] {
  background-color: #045cb3;
  color: white;
  padding: 1% 10%;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  font-weight:bolder;
  font-size: large;
}

input[type=submit]:hover {
  background-color: #049cec;
  
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
  .column1 .column2  {
    width: 100%;
  }
}

@media screen and (max-width:300px) {
  .topnav {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .col-75, input[type=submit], input [type=sample] {
    width: 100%;
    margin-top: 0;
  }
}
/* capslock cek*/
#text {
  display:none;
  color:red;

}

/* The message box is shown when the user clicks on the password field */
#message {
  display:none;
  color: #000;
  position: relative;
  padding: 3px;
  margin-top: 3px;
}

#message p {
  padding: 0px 35px;
  font-size: 15px;
}

/* Add a green text color and a checkmark when the requirements are right */
.valid {
  color: green;
}

.valid:before {
  position: relative;
  left: -35px;
  content: "✔";
}

/* Add a red text color and an "x" when the requirements are wrong */
.invalid {
  color: red;
}

.invalid:before {
  position: relative;
  left: -35px;
  content: "✖";
}
.sample {  
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}



.sample input {
  vertical-align: middle;
  margin: 5px 10px 5px 0;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
}




@media screen and (max-width: 600px) {
  .sample input {
    width: 100%;
  }
  
  .sample {
    flex-direction: column;
    align-items: stretch;
  }
}