#calculator-wrapper {
    font-family: UniversLTStd, sans-serif;
}

#calculator-wrapper .info-button {
    padding: 15px 25px 12px;
}

#calculator-wrapper tspan {
    font-family: UniversLTStd, sans-serif !important;
}

#calculator-wrapper .pure-g [class *="pure-u"] {
    font-family: UniversLTStd, sans-serif;
}

#wheelset-spoke-entry-wrapper select {
    font-size: 16px;
}

#wheelset-spoke-entry-wrapper select.spoke-count {
    font-family: UniversLTStd-Bold;
}

.pure-control-group label,
.pure-control-group fieldset legend {
    display: inline-block;
    padding-left: 0;
    width: 5em;
    font-family: UniversLTStd-Bold, sans-serif;
}

.pure-form-aligned .pure-control-group label,
.pure-form-aligned .pure-control-group fieldset legend {
	text-align: right;
}

#wheelset-calculator-wheelset .pure-form-aligned .pure-control-group label,
#wheelset-calculator-wheelset .pure-form-aligned .pure-control-group fieldset legend {
	width: 16.6666%;
}

.pure-control-group fieldset legend {
    padding: 0;
    color: #585858;
    font-size: 16px;
    float: left;
    margin: 0 1em 0 0;
    border-bottom: none;
}

.pure-control-group fieldset label {
    width: 30%;
    font-family: UniversLTStd, sans-serif;
    text-align: left;
}

.pure-control-group fieldset label:after {
    content: none;
}

@media only screen and (max-width: 1023px) {
	#wheelset-calculator-wheelset .pure-form-aligned .pure-control-group label,
    #wheelset-calculator-wheelset .pure-form-aligned .pure-control-group fieldset legend {
	    width: 12.5%;
	}

	#wheelset-wheelset-data textarea {
		height: 5em !important;
	}
}

@media only screen and (max-width: 567px) {
	#calculator-wrapper #wheelset-calculator-wheelset .pure-control-group label,
    #calculator-wrapper #wheelset-calculator-wheelset .pure-control-group fieldset legend,
	.pure-form-aligned .pure-control-group label {
		margin-bottom: .3em;
		text-align: left;
		display: block;
		width: 100%;
	}
}

#calculator-form input[type=number] {
    width: 80px;
}

.variance {
	display: inline-block;
	width: 60%;
	float: left;
	margin-top: 10px;
}

[class*="wheel-refresh"] {
    display: inline-block;
    width: 100%;
    clear: both;
    text-align: right;
}

.wheel-refresh-top {
	width: 40%;
}

@media (min-width: 1280px) {
	[class*="wheel-refresh"] button,
	[class*="wheel-refresh"] button:hover {
		margin-right: 7px;
	}

	#wheelset-spoke-entry table {
		min-width: 277px;
	}
}

#spinner {
    text-align: center;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.85);
    display: block;
    height: 100%;
    position: absolute;
    z-index: 1000;
}

#spinner #chain-animation {
    position: relative;
    top: 20%;
    left: 0;
}

.instructions {
    float: right;
    padding-top: 22px;
}

.instructions .info-button {
    margin-left: 15px;
}

.instructions i {
	vertical-align: bottom;
}

#calculator h4,
#calculator h3,
#calculator h2 {
    margin-top: 3em;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.fa-check-circle {
    color:#009900;
}

.fa-warning {
    color:#ff0000;
}

.fa-2x {
    font-size:18px;
}

.highcharts-tooltip {
    text-align:center;
}

.highcharts-tooltip h4 {
    color:#0070BA!important;
    margin:2px!important;
}

.highcharts-tooltip h4.Right {
    color:#ff8a3c!important;
}

.note-toggle {
    color: #0070BA;
    cursor: pointer;
    font-size: 0.9em;
}

.notes {
    color: #aaa;
    display: none;
    font-size: 0.9em;
    margin: 0;
}

.clear-calculator {
    clear: both;
    display: block;
    text-align: right;
    margin-bottom: 15px;
}

#wheelset-wheelset-description h5 {
    font-size: 36px;
    padding: 0;
    margin: 0;
    color: #0070ba;
}

#wheelset-wheel-settings {
    padding: 12px;
    display: table;
}

#wheelset-wheel-settings input {
	display: inline-block;
	margin: 0;
}

.pure-control-group label:after,
.pure-control-group fieldset legend:after {
    content: ':';
}

#wheelset-tension-table table {
    width: 100%;
    text-align: center;
}

#wheelset-tension-table th {
    background-color: #0070ba;
}

#wheelset-tension-table td {
    background-color: #eee;
}

#wheelset-wheel-chart-wrapper {
    margin-top: 140px; /* 200 */
}

#wheelset-spoke-entry {
    font-size: 14px;
}

#wheelset-spoke-entry table {
    font-size: 1em;
	text-align: center;
}

#wheelset-spoke-entry-sides {
    display: table;
    width: 100%;
	clear: both;
}

#wheelset-spoke-entry-sides table th {
	word-break: keep-all;
}

.spoke-entry-side {
    margin-bottom: 20px;
    width: 30%;
    display: table-cell;
    padding-right: 40px;
}

@media (max-width: 1279px) {
    .spoke-entry-side {
        width: 100%;
        display: block;
        padding-right: 0;
    }
}

.spoke-entry-side caption {
    font-size: 18px;
    text-transform: uppercase;
    text-align: left;
    padding: .3em 0;
    margin-bottom: .5em;
    border-bottom: 1px solid #e5e5e5;
}

.spoke-entry-side caption strong {
    padding-top: 0;
    position: relative;
    top: 3px;
    font-weight: normal;
    font-family: UniversLTStd-Black;
}

.spoke-entry-side-name strong,
.spoke-entry-side-name span {
    font-size: 1.11em;
}

.spoke-entry-side-name strong {
	font-family: UniversLTStd-Bold, sans-serif;
	font-weight: normal;
}

.spoke-entry-side-name {
    padding-bottom: 10px;
}

#wheelset-spoke-summary table th {
	background: inherit;
	font-family: UniversLTStd-Bold, sans-serif;
	color: #585858;
	text-transform: none;
	padding-left: 1em;
	text-align: left;
}

#wheelset-spoke-summary table td {
	padding-right: 1em;
	text-align: right;
}

#wheelset-spoke-entry-side-left caption {
    color: #0070BA;
}
#wheelset-spoke-entry-side-right caption {
    color: #ff8a3c;
}

[id^="wheelset-spoke-entry-side-"] .pure-control-group {
	display: inline-block;
}

#wheelset-spoke-summary .legend-left {
    text-transform: uppercase;
    color: #0070BA;
}
#wheelset-spoke-summary .legend-right {
    text-transform: uppercase;
    color: #ff8a3c;
}

#wheelset-spoke-summary-left > * {
	padding-right: .75em;
}

#wheelset-spoke-summary-right > * {
	padding-left: .75em;
}

@media (max-width: 767px) {

    #wheelset-spoke-summary-left > * {
        padding-right: 0;
    }

    #wheelset-spoke-summary-right > * {
        padding-left: 0;
    }

}

#wheelset-wheelset-data #wheelset-wheelset-notes .pure-control-group {
    display: block;
    width: 100%;
}
#wheelset-wheelset-data .wheelset-sides {
    display: table-row;
}

#wheelset-wheelset-data h5 {
    margin: 20px 0 10px 0;
    font-size: 18px;
}
#wheelset-wheelset-data #wheelset-side-left h5 {
    color:#0070BA;
}
#wheelset-wheelset-data #wheelset-side-right h5 {
    color:#ff8a3c;
}

#wheelset-wheelset-data .wheelset-side .pure-control-group {
    display: block;
}
#wheelset-wheelset-data textarea {
    height: 9em;
	max-width: 100%;
}
#wheelset-calculator-wheelset {
    background: #e8e8e8;
    padding: 20px;
}

#wheelset-calculator-wheelset .fancy-select-wrap,
#wheelset-calculator-wheelset .fancy-checkbox-wrap,
#wheelset-calculator-wheelset .fancy-radio-wrap {
	top: .1875em;
	margin-right: 5px;
}

#firefox-notice {
    display: none;
    vertical-align: middle;
}

@media (max-width: 767px) {

    .instructions {
        float: none;
    }

    .instructions .info-button {
        margin-left: 0;
    }

}

@media only screen and (max-width: 480px){

    .pure-form button[type=submit] {
        margin: 0;
    }

	.wheel-refresh-top button {
		margin: 10px 0 !important;
	}

    #wheelset-wheel-chart-wrapper {
        display: none;
    }

	#calculator-wrapper .variance.pure-control-group label {
		min-width: 75px;
	}

	#wheelset-save-data button {
		margin: 5px 0;
	}

	#wheelset-calculator-wheelset {
		margin-top: 5px;
	}

}

@media print {

    body.menu-active,
    body.overlay {
        overflow: visible!important;
    }

    .header-container,
	.header,
    .internal-contextual-nav,
    .instructions,
    .subhead,
    .reset,
	.wheel-refresh-top,
	.wheel-refresh-btm,
    .action-button,
    .info-button,
	.highcharts-tooltip,
    footer,
	#wheelset-tension-table,
    #wheelset-wheelset-data
    {
        display: none;
    }

	h1 {
		font-size: 240%;
	}

	#wheelset-spoke-entry-wrapper .pure-u-1-2 {
		width: 100%!important;
	}

    #wheelset-spoke-entry-sides {
        page-break-before: always;
    }

    .spoke-entry-side
	{
		width: 50%!important;
		display: inline-block;
    }

	#wheelset-spoke-entry-side-left,
	#wheelset-spoke-summary-left
	{
		padding-right: 2%;
	}

	#wheelset-spoke-entry-side-right,
	#wheelset-spoke-summary-right
	{
		padding-left: 2%;
	}

	#wheelset-wheel-chart-wrapper {
		page-break-before: always;
		position: relative;
        width: 100%;
        margin: 0!important;
    }

	#wheelset-wheel-chart {
		position: relative;
		top: 0;
		left: 50%;
		margin-left: -300px;
	}

	#wheelset-spoke-summary {
		display: table;
		width: 100%;
	}

	#wheelset-spoke-summary-left,
	#wheelset-spoke-summary-right
	{
		width: 50%;
		display: table-cell;
	}

    #calculator {
        font-size: 13px!important;
    }

    #calculator input {
        border: 0;
        outline: none;
        border-color: inherit;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    #calculator .fancy-select-wrap:before {
        content: '';
    }

}

/* ----------Table Flip---------- */
/* ------------------------------ */
.dataTable {
	display: block;
	width: 100%;
}

.dataTable thead, .dataTable tbody, .dataTable thead tr, .dataTable th {
	display: block;
}

.dataTable thead {
	float: left;
}

.dataTable tbody {
	width: auto;
	position: relative;
	overflow-x: auto;
}

.dataTable td, .dataTable th {
	padding: .625em;
	line-height: 1.5em;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
}

.dataTable th {
	min-height: 2.75em;
}

.dataTable tbody tr:first-child th,
.dataTable tbody tr:first-child td {
	border-right: 1px solid #F6F6F6;
	border-bottom: none;
}

.dataTable tbody tr {
	display: table-cell;
	width: 33%;
}

.dataTable tbody tr:last-child td {
	border-bottom: none;
}

.dataTable tbody td {
	display: block;
}

@media screen and (max-width: 767px) {
	.dataTable {
		font-size: 0.778em;
	}
}

@media screen and (min-width: 600px) {

	.dataTable {
		display: table;
	}

	.dataTable thead {
		display: table-header-group;
		float: none;
	}

	.dataTable tbody {
		display: table-row-group;
	}

	.dataTable thead tr, .dataTable tbody tr {
		display: table-row;
	}

	.dataTable tbody tr:first-child th,
	.dataTable tbody tr:first-child td {
		border-bottom: 1px solid #F6F6F6;
		border-right: none;
	}

	.dataTable th, .dataTable tbody td {
		display: table-cell;
	}

	.dataTable td, .dataTable th {
		width: auto;
	}

}

@media screen and (max-width: 599px) {
	.dataTable th {
		min-height: 4.25em;
		display: table;
		width: 100%;
	}

	.dataTable th span {
		display: table-cell;
		height: 3em;
		vertical-align: middle;
	}
}
