html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Arvo', Georgia, serif;
    color: #2595C4;
    font-weight: 400;
    font-size: 13px;
    background-color: #F2F1E6;
    margin: 0;
}

section {
    text-align: left;
    min-height: 100%;
    margin: 140px auto 0px auto;
}

header {
    text-align: center;
    margin: 25px auto;
    top: 105px;
    position: relative;
}

hr {
    color: #D4D2C7;
    border-style: solid;
    margin-bottom: 30px;
    margin-top: 15px;
}

footer {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    height: auto;
    width: 100%;
    text-align: center;
}


/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    height: 100px;
    margin: 0 auto;
    background-color: white;
    z-index: 90;
}

.logo {
    margin: auto;
}

.logo img {
    display: inline-block;
    width: 275px;
    margin: 18px 25px;
    float: left;
}

.about-tab {
    height: 30px;
    width: 60px;
    background-color: #2595C4;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 13px;
    font-family: 'Arvo', Georgia, serif;
    padding: 47px 20px 0px 20px;
    margin-right: 25px;
    float: right;
    z-index: 85;
    position: fixed;
    right: 0;
    top: 70px;
}

.about-tab:hover,
.about-tab:active {
    background-color: #C64331;
}

a {
    color: white;
    font-size: 13px;
    text-decoration: none;
}


/* Text */
h1 {
    font-weight: 400;
    font-size: 24px;
    color: #C64331;
}

h2.tagline {
    color: #2595C4;
    font-weight: 400;
    font-style: italic;
    font-size: 18px;
    line-height: 65px;
    letter-spacing: 1px;
    float: right;
    margin-right: 20px;
    position: fixed;
    right: 0;
}

h3 {
    color: #2595C4;
    font-weight: 400;
    font-size: 20px;
    margin: 20px 0px;
    line-height: 25px;
    position: relative;
    text-align: center;
}


.small {
    font-size: 11px;
    line-height: 15px;
}


/* Images */
.shirt {
    position: relative;
    display: inline-block;
    float: right;
    top: -350px;
    padding-left: 20px;
}

.item1 {
    display: inline;
    width: 300px;
}


/* Output */
.outputarea {
    margin-left: 400px;
}

#bmiImp {
    position: relative;
    width: 195px;
    top: -70px;
    margin: -200px;
    left: 200px;
    text-align: center;
}

#descImp {
    position: relative;
    width: 195px;
    top: 120px;
    text-align: center;
}

#bmiMet {
    position: relative;
    width: 195px;
    top: -70px;
    margin: -200px;
    left: 200px;
    text-align: center;
}

#descMet {
    position: relative;
    width: 195px;
    top: 120px;
    text-align: center;
}


/* Form Area */
.form-area {
    width: 710px;
    height: 440px;
}

form {
    padding: 25px;
    height: 325px;
    border-left: 1px solid #D4D2C7;
    border-right: 1px solid #D4D2C7;
    border-bottom: 1px solid #D4D2C7;
    /*width: 400px;
    background-color: white;
    border: 1px solid #D4D2C7;
    display: inline-block;*/
}

input {
    border: 1px solid #D4D2C7;
    border-radius: 4px;
    height: 25px;
    width: 300px;
    margin: 5px 0;
    padding: 4px;
    font-size: 13px;
    font-family: 'Arvo', Georgia, serif;
    color: black;
    display: block;
}

input:focus {
    color: black;
}

.inputblack {
    color: black;
}

label {
    font-size: 15px;
    display: block;
}

#heightft {
    width: 50px;
    display: inline-block;
}

#heightin {
    width: 50px;
    display: inline-block;
}

#weightlbs {
    width: 90px;
    display: inline-block;
}

#heightcm {
    width: 90px;
    display: inline-block;
}

#weightkg {
    width: 90px;
    display: inline-block;
}

.measure-text {
    margin: 0 5px;
}


/* Submit */
#submit {
    height: 40px;
    width: 200px;
    background-color: #2595C4;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 13px;
    font-family: 'Arvo', Georgia, serif;
    padding: 0 10px;
    margin-top: 10px;
}

#submit:hover,
#submit:active {
    background-color: #C64331;
}


/* Reset */
#resetI {
    height: 40px;
    width: 100px;
    background-color: #F2F1E6;
    border: none;
    border-radius: 4px;
    color: grey;
    font-size: 13px;
    font-family: 'Arvo', Georgia, serif;
    padding: 0 10px;
    margin-top: 75px;
}

#resetI:hover,
#resetI:active {
    background-color: #D4D2C7;
    color: black;
}

#resetM {
    height: 40px;
    width: 100px;
    background-color: #F2F1E6;
    border: none;
    border-radius: 4px;
    color: grey;
    font-size: 13px;
    font-family: 'Arvo', Georgia, serif;
    padding: 0 10px;
    margin-top: 75px;
}

#resetM:hover,
#resetM:active {
    background-color: #D4D2C7;
    color: black;
}


/* Validation Styles */
label.error {
    font-size: 12px;
    color: #C64331;
    display: inline-block;
    float: left;
}

input {
    margin-bottom: 17px;
}


/* Tabbed Menu */
#tabs {
    width: 710px;
    height: 407px;
    display: inline-block;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.ui-tabs .ui-tabs-panel {
    padding: 0;
}

.ui-widget-header {
    border: none;
    border-bottom: 1px solid #D4D2C7;
    background: #F2F1E6;
}

.ui-tabs .ui-tabs-nav {
    padding: 0;
}

.ui-tabs {
    padding: 0;
    color: #2595C4;
}

.ui-widget-content {
    border: none;
    color: #2595C4;
}

.ui-widget {
    font-size: 13px;
    font-family: 'Arvo', Georgia, serif;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-size: 13px;
    font-family: 'Arvo', Georgia, serif;
}

*:focus {
    outline: none;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    background: white;
    border: 1px solid #D4D2C7;
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #2595C4;
}

.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}


/* Categories Tab */
#categories {
    padding: 25px;
    height: 325px;
    border-left: 1px solid #D4D2C7;
    border-right: 1px solid #D4D2C7;
    border-bottom: 1px solid #D4D2C7;
}

#bmiNumbers {
    width: 48%;
    float: left;
    text-align: left;
    padding: 0px 5px;
}

#bmiNumbers > h3 {
    text-align: left;
    margin-top: 0px;
}

#bmiNumbers > p {
    color: black;
    padding: 15px;
}

#classification {
    width: 48%;
    float: right;
    text-align: left;
    padding: 0px 5px;
}

#classification > h3 {
    text-align: left;
    margin-top: 0px;
}

#classification > p {
    color: black;
    padding: 15px;
}

#yellow {
    background-color: gold;
}

#green {
    background-color: yellowgreen;
}

#orange {
    background-color: orange;
}

#red {
    background-color: salmon;
}


/* Dialog Box */
.ui-widget-overlay {
    background: #000;
}

.ui-state-focus {
    outline: none;
}

.ui-widget-header {

}

.ui-widget-content {
    font-size: 13px;
    font-family: 'Arvo', Georgia, serif;
    color: #2595C4;
    line-height: 20px;
}

.ui-dialog-buttonset > .ui-button {
    background-color: #2595C4;
    color: white;
    font-size: 13px;
    font-family: 'Arvo', Georgia, serif;
    height: 40px;
    width: 60px;
    border-radius: 4px;
    border: none;
    margin-top: 10px;
}

.ui-dialog-buttonset > .ui-button:hover {
    background-color: #C64331;
}

.ui-dialog .ui-dialog-buttonpane {
    padding: 5px;
}

.ui-dialog .ui-dialog-content {
    padding: 5px 13px 0px 13px;
}


/* Arrows in Form Fields */
input[type=number] {
    height: 30px;
    line-height: 30px;
    padding: 3px 8px;
}
input[type=number]::-webkit-inner-spin-button { 
    -webkit-appearance: none;
    cursor:pointer;
    display:block;
    width:6px;
    color: #333;
    text-align:center;
    position:relative;
}

input[type=number]:hover::-webkit-inner-spin-button { 
    background: #eee url('http://i.stack.imgur.com/YYySO.png') no-repeat 50% 50%;  
    width: 12px;
    height: 12px;
    padding: 4px;
    position: relative;
    right: -6px;
    border-radius: 28px;
}


/* Validation Styles */
.error {
    border: 2px solid salmon;
}

.valid {
    border: 2px solid yellowgreen;
}
