@charset "UTF-8";
/* ============================FLUID FONT SCALING============================ */
* {
  box-sizing: border-box;
}

h1 {
  font-size: 1em;
}

@media screen and (min-width: 20em) {
  h1 {
    font-size: calc(1em + 0.3382255776 * (100vw - 20em) / 48.75);
  }
}
@media screen and (min-width: 68.75em) {
  h1 {
    font-size: 1.3382255776em;
  }
}
h2 {
  font-size: 0.95em;
}

@media screen and (min-width: 20em) {
  h2 {
    font-size: calc(0.95em + 0.31247696 * (100vw - 20em) / 48.75);
  }
}
@media screen and (min-width: 68.75em) {
  h2 {
    font-size: 1.26247696em;
  }
}
h3, #modelSeg h3 {
  font-size: 0.9025em;
}

@media screen and (min-width: 20em) {
  h3 {
    font-size: calc(0.9025em + 0.288516 * (100vw - 20em) / 48.75);
  }

  #btnA1 {
    font-size: calc(0.9025em + 0.288516 * (100vw - 20em) / 200);
  }
}
@media screen and (min-width: 68.75em) {
  h3 {
    font-size: 1.191016em;
  }
}
@media screen and (min-width: 20em) {
  #modelSeg h3 {
    font-size: calc(0.8025em + 0.218516 * (100vw - 20em) / 48.75);
  }
}
@media screen and (min-width: 68.75em) {
  #modelSeg h3 {
    font-size: 1.191016em;
  }
}
h4 {
  font-size: 0.857375em;
}

.column input, .column select {
  font-size: 0.857375em;
}

@media screen and (min-width: 20em) {
  h4 {
    font-size: calc(0.857375em + 0.266225 * (100vw - 20em) / 48.75);
  }

  .column input, .column select {
    font-size: calc(0.857375em + 0.266225 * (100vw - 20em) / 48.75);
  }
}
@media screen and (min-width: 68.75em) {
  h4 {
    font-size: 1.1236em;
  }

  .column input, .column select {
    font-size: 1.1236em;
  }
}
h5, .buttonText {
  font-size: 0.81450625em;
}

@media screen and (min-width: 20em) {
  h5, .buttonText {
    font-size: calc(0.81450625em + 0.24549375 * (100vw - 20em) / 48.75);
  }
}
@media screen and (min-width: 68.75em) {
  h5, .buttonText {
    font-size: 1.06em;
  }
}
h6 {
  font-size: 0.7737809375em;
}

@media screen and (min-width: 20em) {
  h6 {
    font-size: calc(0.7737809375em + 0.2262190625 * (100vw - 20em) / 48.75);
  }
}
@media screen and (min-width: 68.75em) {
  h6 {
    font-size: 1em;
  }
}
/* ========================================================================== */
/* ============================ GRADIENT MIXIN ============================== */
/* ========================================================================== */
body, html {
  min-height: 100%;
}

.buttonRow {
  justify-content: space-around;
}

body {
  font-family: "Avenir Next W05", "Avenir Next W01", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: scroll;
  background-color: #222;
}

.popTarget {
  z-index: 1;
}
.popTarget.infoActive:before {
  position: relative;
  top: -2px;
  content: "ⓘ";
  padding-right: 0.3em;
}

#resultDisp {
  justify-content: flex-start;
}

canvas#specCan {
  display: block;
}

.hover {
  transition: background 0.5s;
  background-color: #828895;
  width: 99.5%;
}

#moreInfoTog, #formulaTog, #saveBtn, #deleteBtn, #stateSelect, #pointScanPinholeBtn, #pointScanAXPinholeBtn {
  height: 30px;
  position: relative;
  background: #444;
  border: 1px solid;
  border-color: #555 #444 #333 #444;
  flex: 6;
}

s #moreInfoTog, #formulaTog, #saveBtn, #deleteBtn {
  margin: 10px;
}

.customSub {
  position: relative;
  top: 4px;
  font-size: 0.6em;
  pointer-events: none;
}

/* ============================= ELEMENTS =================================== */
.infoBox {
  margin-bottom: 10px;
  box-shadow: 2px 2px 5px #262626;
}
.infoBox .plus-minus-toggle {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-height: 25px;
  background: #444;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  height: 21px;
  position: relative;
}
.infoBox .plus-minus-toggle:before {
  background: rgba(255, 255, 255, 0.65);
  content: "";
  height: 2px;
  left: 5px;
  position: absolute;
  top: 10px;
  width: 16px;
  transition: transform 500ms ease;
}
.infoBox .plus-minus-toggle:after {
  background: rgba(255, 255, 255, 0.65);
  content: "";
  height: 2px;
  left: 5px;
  position: absolute;
  top: 10px;
  width: 16px;
  transition: transform 500ms ease;
  transform-origin: center;
}
.infoBox .plus-minus-toggle.collapsed {
  border-radius: 4px 4px 4px 4px;
}
.infoBox .plus-minus-toggle.collapsed:after {
  transform: rotate(180deg);
}
.infoBox .plus-minus-toggle.collapsed:before {
  transform: rotate(90deg);
}
.infoBox .infoContents {
  background: #111;
  display: flex;
  flex-direction: column;
  padding: 0.2em 0.5em;
  color: #cecdcc;
  border-radius: 0 0 4px 4px;
}
.infoBox .infoContents .row {
  min-height: 1.4em;
  height: 1.4em;
}

.radioGroup {
  position: relative;
  width: 100%;
  height: 42px;
  display: flex;
}
.radioGroup .radioButton {
  display: flex;
  flex: 1;
  background: #232831;
  background: linear-gradient(#333, #222);
  color: #cecdcc;
  padding: 2px;
}
.radioGroup .radioButton #objectiveInput {
  display: none;
  width: 50%;
}
.radioGroup .radioButton * {
  align-self: center;
  flex: 1;
}
.radioGroup .radioButtonSelected {
  background: #2b2d2d;
  background: linear-gradient(#d3ffa4, #ceff57, #e2ff88);
  color: #333;
}

.buttonText {
  width: 100% !important;
  left: 0 !important;
  text-shadow: none;
  color: #cecdcc;
}

#popup {
  background: #232831;
  background: linear-gradient(#333, #222);
  border: 2px solid #000;
  border-radius: 5px;
  z-index: 1;
  visibility: hidden;
  top: 0px;
  color: #cecdcc;
  position: absolute;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  left: 0px;
}
#popup .popRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5px 10px;
}
#popup #popClose {
  height: 30px;
  width: 30px;
  position: absolute;
  box-sizing: border-box;
  line-height: 30px;
  display: inline-block;
  right: 10px;
  top: 10px;
}
#popup #popClose:before {
  transform: rotate(-45deg);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -3px;
  margin-left: -15px;
  display: block;
  height: 6px;
  width: 30px;
  background-color: #b39200;
}
#popup #popClose:after {
  transform: rotate(-45deg);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -3px;
  margin-left: -15px;
  display: block;
  height: 6px;
  width: 30px;
  background-color: #b39200;
  transform: rotate(-135deg);
}
#popup #popClose:hover:before, #popup #popClose:hover:after {
  background-color: rgba(255, 255, 255, 0.65);
}
#popup #popTitle {
  position: relative;
  top: 10px;
}
#popup #popContent {
  flex: 1;
}

.slider {
  align-self: flex-end;
  position: relative;
  width: 100%;
}
.slider .sliderHandleBorder {
  background: rgba(0, 0, 0, 0.5);
  top: 2px;
  width: 15px;
  border-radius: 2px;
}
.slider .sliderHandleBorder .sliderHandleFill {
  width: 11px;
  height: 30px;
  top: 0px;
  border-radius: 2px;
}
.slider .sliderHandleBorder .sliderHandleFillUp {
  background: #454b53;
  background: linear-gradient(#CCC, #666);
  border-radius: 2px;
}
.slider .sliderTrack {
  background: #666;
  border-bottom: none;
  height: 15px;
}
.slider .sliderTrack .sliderTrackThresh {
  background: #222;
  height: 3px;
  margin: 6px auto;
}

/* ========================================================================== */
/* ========================= FLEXBOX STRUCTURE ============================ */
.mainRow {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: calc(100vh - 205px);
  color: rgba(255, 255, 255, 0.65);
}

.column {
  padding: 10px;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
}
.column select {
  padding-left: 7px;
}
.column input, .column select {
  border: 1px solid #999;
  color: #cecdcc;
  width: 100%;
  height: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #232831;
  background: linear-gradient(#333, #222);
  border-radius: 4px;
}
.column input option, .column select option {
  background: #515660;
}
.column input {
  text-align: center;
  width: 40px;
}
.column input[name=objective] {
  width: 70%;
  margin-left: 0px !important;
}
.column input[type=number] {
  -moz-appearance: textfield;
}
.column input[type=number]::-webkit-inner-spin-button, .column input[type=number]::-webkit-outer-spin-button {
  -moz-appearance: none;
  -webkit-appearance: none;
  margin: 0;
}
.column input:invalid {
  box-shadow: none;
}
.column .select {
  width: 100%;
  position: relative;
  display: block;
}
.column .select:after {
  content: "▼";
  position: absolute;
  right: 10px;
  top: 8px;
}

.row {
  display: flex;
  align-items: center;
  min-height: 50px;
  height: 50px;
}
.row .first {
  padding-top: 15px;
}

.col-lbl:nth-child(1) {
  height: inherit;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: stretch;
  flex: 2.8;
  margin-right: 10px;
  text-align: right;
}

.col-ctrl {
  flex: 6;
}

.col-input {
  flex: 3.7;
}

.col-sldr {
  flex: 4.7;
}

/* ========================================================================== */
.hide {
  display: none;
}

#nikonRow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#333, #222);
  height: 105px;
}
#nikonRow #nikonLinks {
  position: absolute;
  bottom: 21px;
  right: 15px;
  padding: 0;
  margin: 0;
}
#nikonRow #nikonLinks li {
  list-style: none;
  display: inline-block;
  padding-left: 16px;
  padding-right: 6px;
  position: relative;
}
#nikonRow #nikonLinks li a, #nikonRow #nikonLinks li a:link, #nikonRow #nikonLinks li a:visited {
  text-decoration: none;
}
#nikonRow #nikonLinks li a::before, #nikonRow #nikonLinks li a:link::before, #nikonRow #nikonLinks li a:visited::before {
  content: url(../images/arrow_ext_simple_white.svg);
  display: block;
  width: 12px;
  height: 12px;
  position: absolute;
  left: 0;
  top: 0;
}

#nikHeader {
  font-size: 32px;
  justify-content: center;
  text-align: center;
  margin-right: 0;
  text-indent: -5000px;
  background: url(../images/uTools-Rez-Calc_logo.png) no-repeat center 0;
  background-size: auto 100%;
}

#nikLogo {
  position: absolute;
  left: 21px;
  top: 21px;
  width: 63px;
  height: 63px;
}

/* ========================= MEDIA QUERIES ================================== */
@media only screen and (max-width: 20em) {
  #popup {
    width: 60vw;
  }
}
@media only screen and (min-width: 20em) {
  .col-lbl {
    flex: 2.6;
  }

  .col-input {
    flex: 2.3;
  }

  .col-sldr {
    flex: 3.7;
  }
}
@media only screen and (min-width: 48em) {
  .mainRow {
    flex-direction: row;
  }

  .column {
    width: 50%;
  }

  .col-lbl {
    flex: 3;
  }
}
a:visited, a:link {
  color: rgba(255, 255, 255, 0.65);
}

.sectionHeader {
  color: rgba(255, 255, 255, 0.65);
}

.noEvents {
  pointer-events: none;
}

.twoLine {
  white-space: nowrap;
}

/* David Hahn Add Ins */
html {
  background: #333;
}

body {
  -webkit-perspective: none;
  background-color: transparent !important;
  color: #eee !important;
}

#body {
  margin: 0 auto;
  max-width: 1400px;
  border-left: 1px solid #444;
  border-right: 1px solid #444;
  box-shadow: 0px 0px 1px 2px #2a2a2a;
  background-color: #222;
}

.mainRow {
  visibility: hidden;
}

.loader-container {
  display: table;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.loader-content {
  font-size: 2em;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding-top: 60px;
  /* nav height */
}

.popTarget.infoActive:before, #popup #popClose, #stateSelect {
  cursor: pointer;
}

#popup {
  cursor: move;
  border-width: 1px;
  padding: 10px 20px 20px 20px;
}

#formula-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  overflow-y: scroll;
  background-color: rgba(0, 0, 0, 0.5);
  visibility: hidden;
}

#formula-wrapper {
  padding: 0 20px;
}

#formula-content {
  position: relative;
  width: auto;
  max-width: 1000px;
  background: #000;
  margin: 60px auto;
  padding: 0 30px;
  border: 1px solid #666;
}
#formula-content p:not(.formulaMenu) {
  margin: 20px 0;
}

#formula-close {
  color: #f00;
  position: absolute;
  right: 4px;
  top: 1px;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
}

.infoBox .plus-minus-toggle {
  padding: 4px;
}
.infoBox .plus-minus-toggle:before, .infoBox .plus-minus-toggle:after {
  top: 12px;
}
.infoBox .infoContents {
  padding: 10px;
}

#MathJax_MenuFrame {
  z-index: 1000 !important;
}

#popContent, #infoContent {
  line-height: 22px;
}

#cameraSel, .popTarget.infoActive {
  cursor: pointer;
}

/* ie flex fix */
.radioGroup .radioButton {
  align-items: center;
  justify-content: center;
}

.column input, .column select {
  color: #fff;
}

#cameraSel optgroup {
  background: #515660;
}

.popTarget.infoActive:before {
  content: "";
  /* remove info icon */
  padding-right: 0;
}

.parameter-label {
  color: rgba(255, 255, 255, 0.65);
}
.parameter-label span {
  color: #fff;
}

.openseadragon-canvas:focus {
  outline: 0;
}

/* white theme */
.white-theme #body, .white-theme #controlDisp {
  background: #ddd;
}
.white-theme #resultDisp {
  background: #ccc;
}
.white-theme .infoActive, .white-theme .mainRow {
  color: #222;
}
.white-theme .infoBox .plus-minus-toggle:before, .white-theme .infoBox .plus-minus-toggle:after {
  background: #ddd;
}
.white-theme .plus-minus-toggle {
  color: #ddd;
}
.white-theme .infoContents {
  background: #aaa !important;
}
.white-theme .parameter-label {
  color: #222;
}
.white-theme .column .select:after {
  color: #fff;
}
.white-theme .infoBox {
  box-shadow: none;
}
.white-theme .infoBox .infoContents {
  color: #eee;
}
.white-theme .ucalc-hr {
  background: #bbb;
}
.white-theme #nikTrademark {
  color: #333;
}
.white-theme #nikonRow {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
}
.white-theme #nikHeader {
  color: rgba(255, 255, 255, 0.65);
  text-shadow: 1px 1px 0 #000;
}
.white-theme .loader-content {
  color: #444;
}
.white-theme #body {
  border-left: 1px solid #c6c6c6;
  border-right: 1px solid #c6c6c6;
  box-shadow: none;
}

/* was #ffd100 */
/* was #ffd100 */
/* was dark */
/* was dark gradient */
/* was #ffd100 */
/* was black */
/* was darker */
/* bg was black text was white */
html.white-theme, .white-theme body {
  background: #fff !important;
}

/* white theme */
.slider .sliderHandleBorder {
  top: 0;
  height: 34px;
}
.slider .sliderHandleBorder .sliderHandleFill {
  top: 2px;
}

.ucalc-hr {
  height: 1px;
  background: #444;
  margin: 20px 10px 16px 10px;
}

#nikTrademark {
  position: absolute;
  /*left: 58px;
  * *top: 42px;
  * *font-size: 15px; */
  left: 58px;
  top: 43px;
  font-size: 12px;
  color: #ddd;
}

#themeSwitchContainer {
  position: absolute;
  right: 5px;
  top: 7px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  display: none;
}

#themeSwitch {
  font-size: 34px;
  cursor: pointer;
}

.white-theme #themeSwitchContainer {
  color: #333;
}

.social-media-container {
  margin: 10px;
}
.social-media-container .fa {
  padding: 10px;
  font-size: 20px;
  width: 40px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  background: #232831;
  background: linear-gradient(#333, #222);
  margin-right: 10px;
  color: #fff;
}

/* large */
@media only screen and (min-width: 48em) {
  #resultDisp .social-media-container {
    display: none;
  }

  #controlDisp .social-media-container {
    display: block;
  }
}
/* small */
@media only screen and (max-width: 48em) {
  #resultDisp .social-media-container {
    display: block;
  }

  #controlDisp .social-media-container {
    display: none;
  }
}
#MathJax_Message {
  display: none;
}

/* ie fix remove custom select drop down icon */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .column .select:after {
    content: "";
  }
}
/* ie flex fix for mobile stacking */
@media only screen and (max-width: 48em) {
  .column {
    display: block;
    flex: none;
  }
}
ol.refList {
  list-style-type: decimal;
}

.equationNum {
  margin-left: 10em;
  color: rgba(255, 255, 255, 0.65);
}

#pointScanPinholeInput, #pointScanAXPinholeInput, #zoomText {
  width: 65px;
}

#pBtnCon, #pAXBtnCon {
  margin-left: 25px;
}

/* DAVE */
.radioButton, select, .col-input, .buttonText {
  font-family: "Avenir Next W05", "Avenir Next W01", "Helvetica Neue", Arial, sans-serif;
}

#radio-nosepiece {
  height: 60px;
}

#nosepiecePositionSeg {
  height: 60px;
  border-radius: 0;
}
#nosepiecePositionSeg .radioButton {
  border-radius: 60px 60px 0 0;
  height: 60px;
  width: 60px;
  max-width: 60px;
  margin-right: 4px;
}
#nosepiecePositionSeg .radioButton h3 {
  border: 2px solid #999;
  max-width: 40px;
  width: 40px;
  height: 40px;
  padding-top: 11px;
  border-radius: 40px;
  color: #999;
  transition: all 0.25s ease-out;
}
#nosepiecePositionSeg .radioButton.radioButtonSelected {
  background: #444;
  box-shadow: none;
}
#nosepiecePositionSeg .radioButton.radioButtonSelected h3 {
  background: rgba(255, 255, 255, 0.75);
  color: #333;
}

#radio-illumination {
  height: 50px;
}

#illumSeg {
  height: 50px;
  border-radius: 0;
}
#illumSeg .radioButton {
  border-radius: 6px 6px 0 0;
  height: 50px;
  margin-right: 4px;
}
#illumSeg .radioButton h3 {
  background: rgba(255, 255, 255, 0.3);
  height: 30px;
  padding-top: 6px;
  border-radius: 4px;
  color: #333;
  margin: 0 0.5em;
}
#illumSeg .radioButton.radioButtonSelected {
  background: #444;
  box-shadow: none;
}
#illumSeg .radioButton.radioButtonSelected:firstchild {
  box-shadow: none;
}
#illumSeg .radioButton.radioButtonSelected h3 {
  background: rgba(255, 255, 255, 0.75);
}

.input-group {
  background: #444;
  margin: 0 0 0.5em 0;
  border-radius: 4px;
  padding: 0.5em;
}

.horizontalRadioGroup.radioButtonSelected {
  box-shadow: none;
}
.horizontalRadioGroup.radioButtonSelected:first-child {
  box-shadow: none;
}

#footer {
  display: block;
  width: 100%;
  position: relative;
  margin: 2em 0 0 0;
  padding: 1em 1em 0 1em;
  bottom: 2em;
  clear: both;
}
#footer a, #footer a:link, #footer a:visited {
  text-decoration: none;
  color: #eee;
}
#footer li {
  display: inline;
  margin-right: 12px;
}
#footer li a:before {
  content: "›";
  font-weight: bold;
  font-size: 1.25em;
  margin-right: 4px;
}
#footer li.ext a::before {
  content: url(/images/ext-arrow-grey.svg);
  display: inline-block;
  width: 12px;
  height: 12px;
}
#footer .cilogo {
  margin: 0;
  font-weight: 400;
  font-size: 1.28571em;
}
#footer .cilogo span {
  display: inline-block;
  white-space: nowrap;
}
#footer #copyright {
  position: relative;
  right: 1em;
  clear: both;
  text-align: right;
  padding-top: 0.5em;
}
#footer #footerMenu li.ext a::before {
  content: url(/images/arrow_ext_simple_blue.svg);
}

@media (max-width: 1200px) {
  #radio-nosepiece {
    height: 50px;
  }

  #nosepiecePositionSeg {
    height: 50px;
  }
  #nosepiecePositionSeg .radioButton {
    border-radius: 40px 40px 0 0;
    height: 50px;
    width: 50px;
    max-width: 50px;
  }
  #nosepiecePositionSeg .radioButton h3 {
    max-width: 30px;
    width: 30px;
    height: 30px;
    padding-top: 4.5px;
    border-radius: 30px;
  }
}
@media (max-width: 1000px) {
  #nikHeader {
    text-align: left;
    padding-left: 100px;
  }
}
@media (max-width: 620px) {
  #nikHeader {
   background-position: 100px 0;
    padding-left: 100px;
  }
  #nikHeader {
    height: 26px;
    margin-top: -18px;
  }
}
#pointScanPinhole {
  height: 110px;
}

#psAXInputCon {
  margin-right: 10px;
}

#formula-container img {
  width: 100%;
  height: auto;
}

/*# sourceMappingURL=ResCalc.css.map */
