body {
  font-size: 1em;
  font-family: "Arial CE", "Helvetica CE", Arial, helvetica, sans-serif;
  padding: 0;
  margin: 0;
}

#flags {
  position: absolute;
  top: 35px;
  right: 30px;
}
#flags p {
  margin: 0;
  padding: 0;
}
#flags .flag {
  margin: 5px 0;
}
#flags .spacer {
  margin: 0 15px;
}

#content {
  padding: 35px 20px;
}
#fileupload {
  display: none;
}
#line1R {
  float: right;
  width: 20px;
  height: 48px;
  line-height: 48px;
}
#line1R img {
  margin-top: 14px;
}
#line1 {
  margin-right: 21px;
}
#line1 h1, #line1 div, #line1 p, #line1 label {
  display: inline;
}
#line1 #flags {
  position: relative;
  top: 0;
  right: 0;
  margin: 0 50px;
}
#import span, #export a, #example a {
  position: relative;
  top: -10px;
  display: inline-table;
  height: 48px;
  line-height: 48px;
  border: 1px solid #C5EAD5;
  border-radius: 4px;
  background: #C5EAD5;
  padding: 0 15px;
  text-decoration: none;
  color: black;
}
#import span img, #export a img, #example a img {
  position: relative;
  top: 7px;
}
#import span {
  cursor: pointer;
}
#export {
  margin: 0 30px;
}
#export a, #example a {
  background: transparent;
  border: none;
}

#line2 {
  background: #F2F2F2;
  height: 30px;
  margin-top: 15px;
  padding: 15px 0;
}
#line2 form#filter {
  padding: 0;
  margin: 0 25em 0 0;
}
#line2 form#filter select, #line2 form#filter input {
  margin-left: 15px;
  height: 30px;
}
#line2 form#filter input[type="submit"], #actionGenerateLabel, #actionSetStatus {
  background: #059377;
  color: white;
  letter-spacing: 30%;
  font-family: "Arial CE", "Helvetica CE", Arial, helvetica, sans-serif !important;
  font-size: 1em !important;
  line-height: 15px;
  height: 40px;
  border: 1px solid #059377;
  border-radius: 4px;
  padding: 7px 15px;
  position: relative;
  top: -3px;
}
/*#line2 select {
  background: green;
  color: red;
}*/
#actionSetStatus {
  background: #747474;
  border-color: #747474;
  margin-left: 1em;
}
#line2 #num_rows {
  float: right;
  width: 24em;
  text-align: right;
  padding-right: 1em;
  line-height: 30px;
}


#line3 {
  margin-top: 30px;
}
#line3 table {
  border-collapse: collapse;
}
#line3 thead tr {
  background: #33776B;
  color: white;
}
#line3 th, #line3 td {
  font-weight: normal;
  font-size: 0.9em;
  padding: 15px 12px;
  vertical-align: top;
  text-align: left;
  border: 1px solid #DBDBDB;
}
#line3 td {
  vertical-align: middle;
  padding: 8px 12px;
}
#line3 th:nth-child(5) {
  min-width: 30em;
}
#line3 .even {
  background: #F1F1F1;
}
#line3 input[type="checkbox"] {
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
  padding: 15px;
}

#center {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -55%);
  transform: translate(-50%, -55%);
}
#wrap600 {
  width: 600px;
  margin: 0 auto;
}
#wrap600 #logo {
  width: 320px;
  margin: 0 auto;
}
#login_message {
  margin-top: 2em;
  padding: 0.5em 0.8em;
  text-align: center;
  background: #F4A1AB;
  border: 1px solid #F4A1AB;
  border-radius: 5px;
}
#loginf {
  background: #F7F7F7;
  border: 1px solid #E5E5E5;
  border-radius: 5px;
  margin-top: 3em;
}
#loginf label {
  float: left;
  width: 100px;
  padding-left: 50px;
  line-height: 50px;
}
#loginf input {
  background: white;
  border: 1px solid #E4E4E4;
  width: 370px;
  height: 50px;
  padding: 0 15px;
}
#loginf input[type="submit"] {
  background: #059377;
  color: white;
  letter-spacing: 30%;
  font-family: "Arial CE", "Helvetica CE", Arial, helvetica, sans-serif !important;
  font-size: 1em !important;
  border: 1px solid #059377;
  border-radius: 4px;
  padding: 0;
  width: 402px;
}
#loginf input[type="submit"]:hover {
  background: #046E5A;
  cursor: pointer;
}
#loginf form {
  margin: 2em 0;
}
#loginf form h3 {
  margin-left: 150px;
}

#pages {
  margin-top: 50px;
  color: #CDCDCD;
}
#pages a, #pages span {
  display: inline-block;
  text-decoration: none;
  color: #CDCDCD;
  padding: 7px 9px;
  border: 1px solid transparent;
}
#pages a:hover {
  border-color: #CDCDCD;
}
#pages a:first-child, #pages a:last-child {
  border: 1px solid #CDCDCD;
}
#pages span {
  color: black;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}
.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 1.7em;
  border-radius: 4px;
  width: 500px;
}
.close-button {
  float: right;
  font-size: 28px;
  font-weight: bold;
  line-height: 28px;
  margin-top: -10px;
}
.close-button:hover,.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.open-button {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.alert {
  color: #CE1A1A;
}
.red {
  color: #CD0000;
}