/* LESS mixins */
/* LESS variables */
/* Main CSS starts */
body {
  background-color: #45a8b1;
  padding-top: 20px;
}
#sidebar {
  margin-top: 0;
  float: left;
}
#scales {
  width: 960px;
  margin-left: 220px;
  /* Cork image from Fuzzimo: http://www.fuzzimo.com/free-hi-res-corkboard-texture-seamless/ */

  background: #ca8d64 url(../images/cork.jpg) repeat;
  height: 800px;
  border: 12px solid white;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  box-shadow: 4px 4px 32px #000000;
  -moz-box-shadow: 4px 4px 32px #000000;
  -webkit-box-shadow: 4px 4px 32px #000000;
  position: relative;
}
#main {
  width: 780px;
  height: 480px;
  margin: 0 auto;
}
#tabs ul {
  margin-left: 20px;
  overflow: hidden;
}
#tabs ul li {
  float: left;
  background-color: #bbb;
  margin: 4px 4px 0 4px;
  padding: 4px 4px 0px 8px;
  width: 150px;
  height: 24px;
  border-radius: 6px 6px 0 0;
  -webkit-border-radius: 6px 6px 0 0;
  -moz-border-radius: 6px 6px 0 0;
  border-width: 1px 1px 0px 1px;
  border-style: solid;
  border-color: white;
}
#tabs ul li.active {
  background-color: white;
}
#tabs ul li a {
  text-decoration: none;
  color: #333;
  display: block;
}
#tabs ul li.active a {
  color: black;
}
#tabs ul li a:hover,
#tabs ul li.active a {
  text-decoration: underline;
}
#converter {
  background: white;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border: 4px solid white;
  box-shadow: inset 0px 0px 8px #000000;
  -moz-box-shadow: inset 0px 0px 8px #000000;
  -webkit-box-shadow: inset 0px 0px 8px #000000;
  height: 400px;
  /* height: 100%; */

}
#panels h3 {
  font-size: 38px;
  margin-bottom: 18px;
}
.panel {
  display: none;
  padding: 20px;
}
#panel-0 {
  display: block;
}
/* Conversion charts */
#charts {
  height: 300px;
  overflow: scroll;
  overflow-x: hidden;
}
table#frompounds {
  float: left;
  margin-left: 44px;
}
table#fromkilos {
  float: right;
  margin-right: 44px;
}
table {
  border: 1px solid #ddd;
  font-size: 16px;
  border-collapse: collapse;
  font-family: Garamond, "Times New Roman", serif;
}
th.main-title {
  font-size: 20px;
  padding-bottom: 8px;
}
th,
td {
  text-align: left;
  border-right: 1px solid #ddd;
  padding: 4px 4px;
}
td {
  margin: 0;
}
tr.even {
  background-color: #888;
}
tr.odd {
  background-color: transparent;
}
th {
  background-color: black;
  color: white;
}
/* Form styling */
form label,
form input {
  font-size: 22px;
}
form label {
  display: block;
  width: 100px;
  float: left;
  text-align: right;
  line-height: 1em;
  margin-right: 8px;
  margin-top: 4px;
}
.convertform {
  position: relative;
}
form {
  margin-top: 46px;
}
form div {
  margin-top: 26px;
}
form input {
  vertical-align: baseline;
  margin-left: 4px;
  display: block;
  width: 100px;
}
form input[type="submit"] {
  position: absolute;
  left: 250px;
  top: 0px;
  margin-top: 0;
  width: 105px;
  border: 1px solid #777;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  padding: 6px 36px 6px 8px;
  font-size: 18px;
  font-family: Garamond, "Times New Roman", serif;
  color: black;
  font-weight: bold;
  background: #dddddd url(../images/arrow.png) no-repeat right center;
  cursor: pointer;
  /* background: saturate(@cork, 20%) url(../images/arrow.png) no-repeat right center; */

}
#stones form input[type="submit"] {
  top: 30px;
}
/* Results styling */
/*
<div class="results">
	<dl id="stonesresults">
		<dt><span id="stonesdt"></span></dt>
		<dd>
			<ul>
				<li id="stonesresultpounds"></li>
				<li id="stonesresultkilos"></li>
			</ul>
		</dd>
	</dl>
</div>
*/
.results {
  position: absolute;
  top: 0px;
  left: 400px;
}
.results dt,
.results dd ul li {
  font-family: Garamond, "Times New Roman", serif;
  font-size: 26px;
}
.results dd {
  margin-top: 24px;
  margin-left: 44px;
}
.results dd ul li {
  margin-top: 12px;
  font-weight: bold;
}
#arrow {
  font-size: 28px;
}
#header {
  margin: 40px auto;
  width: 300px;
  /* height: 140px; */

  /* background: white url(../images/inlay.png) no-repeat; */

}
#header,
#ios {
  background-color: white;
  box-shadow: inset 0px 0px 8px #000000;
  -moz-box-shadow: inset 0px 0px 8px #000000;
  -webkit-box-shadow: inset 0px 0px 8px #000000;
  border: 4px solid white;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
}
h1,
h2,
h3,
h4 {
  font-style: italic;
}
body,
p,
ul {
  font-size: 18px;
}
h1,
h2,
h3,
h4,
body,
p,
ul,
form,
label {
  font-family: Garamond, "Times New Roman", serif;
}
input {
  font-family: Verdana, "Helvetica Neue", Helvetica, Ariel, sans-serif;
}
#scales {
  position: relative;
}
#ios {
  position: absolute;
  height: auto;
  padding: 10px;
  width: 140px;
  top: 40px;
  right: 20px;
}
#ios p {
  font-size: 14px;
}
#header h1 {
  text-align: center;
  margin: 8px 0;
  font-size: 38px;
}
#header h2 {
  text-align: center;
  margin: 8px 20px;
  font-size: 22px;
  line-height: 1.2em;
}
#footer {
  text-align: center;
  margin: 20px auto;
  width: 170px;
  padding: 6px 10px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border: 2px solid white;
  box-shadow: inset 0px 0px 4px #000000;
  -moz-box-shadow: inset 0px 0px 4px #000000;
  -webkit-box-shadow: inset 0px 0px 4px #000000;
  /* Generated by Ultimate CSS Gradient Generator http://www.colorzilla.com/gradient-editor/ */

  background: #fafafa;
  /* Old browsers */

  background: -moz-linear-gradient(top, #fafafa 0%, #dedede 40%, #b6b6b6 100%);
  /* FF3.6+ */

  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(40%, #dedede), color-stop(100%, #b6b6b6));
  /* Chrome,Safari4+ */

  background: -webkit-linear-gradient(top, #fafafa 0%, #dedede 40%, #b6b6b6 100%);
  /* Chrome10+,Safari5.1+ */

  background: -o-linear-gradient(top, #fafafa 0%, #dedede 40%, #b6b6b6 100%);
  /* Opera11.10+ */

  background: -ms-linear-gradient(top, #fafafa 0%, #dedede 40%, #b6b6b6 100%);
  /* IE10+ */

  background: linear-gradient(top, #fafafa 0%, #dedede 40%, #b6b6b6 100%);
  /* W3C */
}
