.touch #top{
  background-image: url('https://cdn.jsdelivr.net/gh/opcalc/v2-assets/images/touch/head.gif'); /* absolute-url */
}
.touch .content_columns {
  display: block;
}
.touch #top_menu{
  padding-left:3px;
}
.touch #content_holder{
  float: none;
  margin-left: 0;
  width:100%;
}
.touch #tab_holder{
 float: none;
 position: static;
}
.mobile #tab_holder{
 width: 100%;
}
.tablet #tab_holder{
 width: 55%;
}
.touch .menu_group h3{
  padding-left:10px;
}
.touch #tab_holder .dialog_tab_selected{
  background-image: url('https://cdn.jsdelivr.net/gh/opcalc/v2-assets/images/button-bg-blu-mid.gif'); /* absolute-url */
  background-position: left top;
  background-repeat: repeat;
}
.touch #tab_holder .dialog_tab_selected div{
  background-image: none;
}
.touch #tab_holder .dialog_tab_selected img{
  display:none;
}
.touch .stratTab a{
  color:#333;
}
.touch .stratTab .minor{
  color:#333;
  font-weight:normal;
}
.touch #current_calc_header {
  /* Copied from .button */
  color:#FFF;
  text-decoration:none;
  padding:2px 8px;
  margin-bottom: 2px;
  font-size:1.2em;
  font-weight:bold;

  border:none;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;

  background: -moz-linear-gradient(top, rgba(76, 76, 76, 1) 0%, rgba(89, 89, 89, 1) 26%, rgba(44, 44, 44, 1) 50%, rgba(0, 0, 0, 1) 51%, rgba(43, 43, 43, 1) 76%, rgba(19, 19, 19, 1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(76, 76, 76, 1)), color-stop(26%,rgba(89, 89, 89, 1)), color-stop(50%,rgba(44, 44, 44, 1)), color-stop(51%,rgba(0, 0, 0, 1)), color-stop(76%,rgba(43, 43, 43, 1)), color-stop(100%,rgba(19, 19, 19, 1)));
  background: -webkit-linear-gradient(top, rgba(76, 76, 76, 1) 0%,rgba(89, 89, 89, 1) 26%,rgba(44, 44, 44, 1) 50%,rgba(0, 0, 0, 1) 51%,rgba(43, 43, 43, 1) 76%,rgba(19, 19, 19, 1) 100%);
  background: -o-linear-gradient(top, rgba(76, 76, 76, 1) 0%,rgba(89, 89, 89, 1) 26%,rgba(44, 44, 44, 1) 50%,rgba(0, 0, 0, 1) 51%,rgba(43, 43, 43, 1) 76%,rgba(19, 19, 19, 1) 100%);
  background: -ms-linear-gradient(top, rgba(76, 76, 76, 1) 0%,rgba(89, 89, 89, 1) 26%,rgba(44, 44, 44, 1) 50%,rgba(0, 0, 0, 1) 51%,rgba(43, 43, 43, 1) 76%,rgba(19, 19, 19, 1) 100%);
  background: linear-gradient(top, rgba(76, 76, 76, 1) 0%,rgba(89, 89, 89, 1) 26%,rgba(44, 44, 44, 1) 50%,rgba(0, 0, 0, 1) 51%,rgba(43, 43, 43, 1) 76%,rgba(19, 19, 19, 1) 100%);
  /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d4d4d', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
  background-image:url('https://cdn.jsdelivr.net/gh/opcalc/v2-assets/images/button-bg.gif'); /* absolute-url */

  -webkit-appearance:none;
  display:block; /* for old ie */
  display:inline-block; /* for newer browsers */
}
.touch #current_calc_header:after {
  content: '▾';
  margin-left: 0.5em;
}
.touch #tab_holder_tabs {
  box-sizing: border-box;
  position: absolute;
  z-index: 4;
  width: calc(100vw - 20px);
  padding: 1em;
  margin-top: 0;
  background-color: #fff;
  box-shadow: 0px 0px 4px #00000080;

  /*display: -ms-grid;*/
  display: none;
  -ms-grid-template-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  -ms-grid-column-gap: 5px;
  grid-column-gap: 5px;
  -ms-grid-row-gap: 3px;
  grid-row-gap: 3px;
  border-radius: 3px; }

.touch #tab_holder_tabs.--show {
  display: -ms-grid;
  display: grid;
}
.touch #tab_holder .dialog_tab {
  width: auto;
}
.touch #tab_holder .stratTab{
  width: 100%;
  box-sizing: border-box;
  text-decoration:none;
  padding:2px 8px;
  margin:0 2px 2px 0;
  font-size:1.2em;
  font-weight:bold;

  border:none;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;

  background: -moz-linear-gradient(top, rgba(76, 76, 76, 1) 0%, rgba(89, 89, 89, 1) 26%, rgba(44, 44, 44, 1) 50%, rgba(0, 0, 0, 1) 51%, rgba(43, 43, 43, 1) 76%, rgba(19, 19, 19, 1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(76, 76, 76, 1)), color-stop(26%,rgba(89, 89, 89, 1)), color-stop(50%,rgba(44, 44, 44, 1)), color-stop(51%,rgba(0, 0, 0, 1)), color-stop(76%,rgba(43, 43, 43, 1)), color-stop(100%,rgba(19, 19, 19, 1)));
  background: -webkit-linear-gradient(top, rgba(76, 76, 76, 1) 0%,rgba(89, 89, 89, 1) 26%,rgba(44, 44, 44, 1) 50%,rgba(0, 0, 0, 1) 51%,rgba(43, 43, 43, 1) 76%,rgba(19, 19, 19, 1) 100%);
  background: -o-linear-gradient(top, rgba(76, 76, 76, 1) 0%,rgba(89, 89, 89, 1) 26%,rgba(44, 44, 44, 1) 50%,rgba(0, 0, 0, 1) 51%,rgba(43, 43, 43, 1) 76%,rgba(19, 19, 19, 1) 100%);
  background: -ms-linear-gradient(top, rgba(76, 76, 76, 1) 0%,rgba(89, 89, 89, 1) 26%,rgba(44, 44, 44, 1) 50%,rgba(0, 0, 0, 1) 51%,rgba(43, 43, 43, 1) 76%,rgba(19, 19, 19, 1) 100%);
  background: linear-gradient(top, rgba(76, 76, 76, 1) 0%,rgba(89, 89, 89, 1) 26%,rgba(44, 44, 44, 1) 50%,rgba(0, 0, 0, 1) 51%,rgba(43, 43, 43, 1) 76%,rgba(19, 19, 19, 1) 100%);
  /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d4d4d', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
  background-image:url('https://cdn.jsdelivr.net/gh/opcalc/v2-assets/images/button-bg-blu-lt.gif'); /* absolute-url */
  background-size: contain;

  -webkit-appearance:none;
  display:block; /* for old ie */
  display:inline-block; /* for newer browsers */
}
.touch #tab_holder .stratTab#strat_F_button {
  display: none;
}
.touch #tab_holder .dialog_tab_selected{
  background-image:url('https://cdn.jsdelivr.net/gh/opcalc/v2-assets/images/button-bg-blu-mid.gif'); /* absolute-url */
  background-position: left top;
  background-repeat: repeat;
}
.touch .tab_fade_top,
.touch .tab_fade_bot{
 display: none;
}
.mobile .strat-info{
 min-width: 0;
 width: auto;
}
.touch .sharePanel{
 width: auto;
}
.touch .ui-dialog .ui-dialog-content{
  padding:0.2em 0.1em;
}
.touch .ui-dialog{
  padding:0;
}
body.mobile{
 min-width: 0;
 width: auto;
}
.touch #supertop{
 margin: 0;
 width: auto;
}
.touch #top{
 /*shorter background*/
 margin-top: 0;
 min-height: 46px;
 width: auto;
}
.touch #menu{
 top: 0;
 left: 0;
 margin-top: 25px;
 width: auto;
}
/* .touch #home_menu .menu_group ul li{
  width: 100%
} */
.touch .follow{
 display: none;
}
.touch .tab_fade_top,
.touch .tab_fade_bot{
 display: none;
}

.touch #menu .jq_exclusive_target ul{
 width:auto;
}
.touch #main{
 width:auto;
 min-width:0;
}
/* !!! #menu top should be margin-top ??? or ie reason its not
 tab_holder ... * { width: auto }
 /* !!! change sub-text to not use br

*/
.touch #tab_holder {
  padding-bottom: 20px;
}
.touch #tab_holder .vertical_ad{
 display:none;
}
.tablet #resultsAd{
  margin-top: 0;
  margin-left: 0;
}
.touch #status_messages {
  margin-left: initial;
}
.touch .msg {
  padding-right: 2.25em;
}

.touch .main-col {
  width: auto;
  max-width: 100%;
  overflow-x: auto;
}
.touch #strat_F_button {
  display: none;
}
.touch .google_chart_holder {
  padding-bottom: 6px;
}
.touch .options_set.options_set_active table tr:nth-child(1) th {
  top: -3px;
}
.touch .options_set.options_set_active table tr:nth-child(2) th {
  top: 15px;
}

.touch input:not([disabled=disabled]) {
  padding-left: 1.25ch;
  padding-right: 0;
}
.touch input.inputNumeric:not([disabled=disabled]) {
  padding-right: 1.25ch;
  padding-left: 0;
}

.touch input, .touch .inputReadOnly {
  padding-top: 4px;
  padding-bottom: 4px;
  margin-top: 0;
  margin-bottom: 0;
}
.touch select.input:not(.subtle) {
  padding-top: 3px;
  padding-bottom: 3px;
  margin-top: 0;
  margin-bottom: 0;
}
.touch select {
  height: 26px;
}