html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

#main {
	margin: 0 auto;
	width: 1000px;
}

img { margin-top: 5px; }

a {
	text-decoration: underline;
	color: #000080;
	background-color: transparent;
}

a:hover { text-decoration: none;}
	
a:link.head { color: #000080; text-decoration: none}

a:visited.head { color: #000080; text-decoration: none}

a:active.head { color: #326464; text-decoration: underline}

a:hover.head { color: #778899; text-decoration: none}

/*tag classes*/

table { width:100%}
	
body {
  margin: 0;
	background-color: #fff;
	font-family: Verdana, Arial, sans-serif;
  font-size: 16px;
}
	
li {
	color: #000;
	list-style-type: circle;
}

p {
	color: #000;
}

h3 { 
	font-size: 22px;
  font-weight: normal;
	color: #000;
}
	
/*applied classes*/

.smaller { 
	font-size: 12px;
	color: 000000;
	line-height: 12px;
	background-color: transparent;
}
	
/*form classes*/

select, textarea, input[type="text"], input[type="email"], input[type="number"], input[type="tel"],
.worldline-input {
	font-size: 16px;
	font-family: Verdana, Arial, sans-serif;
  color: #000;
  background-color: #fff;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 4px;
  margin-top: 4px;
}

.worldline-input {
  width: 100px;
}

#card-number {
  width: 200px;
}

input[type="submit"], input[type="button"], button {
  border-radius: 4px;
  background: #2e708c;
  color: #fff;
  font-size: 16px;
  padding: 12px;
  border: none;
  cursor: pointer;
  border: 1px solid #2e708c;
}

input[type="submit"]:hover, input[type="button"]:hover, button:hover {
  background: #fff;
  color: #2e708c;
}

input[type="radio"], input[type="checkbox"], input[type="range"] {
  accent-color: #2e708c;
}

textarea { color: #333; }
		
.reg_info {
  border: thin solid #ccc;
  background-color: #fff;
}

/* Other */

img#cruise_image {
  width: 250px;
  float: right;
  margin-bottom: 10px;
}

table#cruise_table {
  border-collapse: collapse;
  border: 1px solid #888;
}

table#cruise_table td, table#cruise_table th {
  padding: 8px;
  border: 1px solid #888;
}

.req::before {
  display: inline;
  content: '*';
  color: #f00;
}

.cc-valid {
  background: #cfc !important;
}

.cc-invalid {
  background: #f88 !important;
}

.lowrange, .hirange {
  display: inline-block;
  width: 50px;
}

.hirange {
  display: inline-block;
  margin-left: 410px;
  text-align: right;
}

input[type="range"] {
  display: block;
  width: 500px;
}

table.formtable th {
  background: #ccc;
  font-weight: normal;
  font-size: 22px;
  padding: 8px;
  text-align: left;
}

table.receiptable {
  border: 1px solid #ccc;
  border-collapse: collapse;
  max-width: 600px;
  margin: 0 auto;
}

table.receiptable td,
table.receiptable th {
  padding: 12px;
}

table.receiptable th {
  text-align: center;
  background: #2e708c;
  color: #fff;
  font-size: 18px;
  font-weight: normal;
}

#receipt-container {
  text-align: center;
}

.error-notify {
  font-weight: bold;
  color: #f00;
}

@media (max-width: 1000px) {
  #main {
    width: 100%;
    padding: 8px;
  }

  img { 
    max-width: 100%;
  }

  select {
    max-width: 100%;
  }
}

@media (max-width: 750px) {
  table.formtable {
    width: 100%;
    display: block;
  }

  table.formtable td,
  table.formtable th,
  table.receiptable td,
  table.receiptable th {
    display: block;
  }

  .hirange {
    margin-left: calc(100% - 110px);
  }

  input[type="range"] {
    width: 100%;
  }
}
