body {
/*   background-color: #ddd;
 */  background-color: #fff;
}

#toc {
  max-width: 300px;
}

#install-button {
  visibility: hidden;
  position: fixed;
  color: #FF8340;
  width: 30px;
  top: 14px;
  right: 80px;
  z-index: 99999999;
}

.no-ads .google-auto-placed {
  display: none !important;
}

#page-container {
  position: relative;
  padding-bottom: 60px;
  min-height: 100vh;
}

.page-header {
  padding-top: 60px;
  background-color: #fff;
}

#history-wrapper {
  /* margin-right: 60px;
  margin-left: auto!important;
  width: 80px;
  z-index: 9999999; */

  position: fixed;
  width: 80px;
  top: -2px;
  right: 120px;
  z-index: 99999999;
}

.navbar-toggler {
  margin-right: 1rem!important;
}

#clear-history {
  margin-left: 8px;
}

.btn.focus,
.btn:focus {
  outline: 0;
  box-shadow: none;
}

/*  SECTIONS  */
.section {
  clear: both;
  padding: 0px;
  margin: 0px;
}

/*  COLUMN SETUP  */
.col {
  display: block;
  float: left;
  margin: 1% 0 1% 1.6%;
}

.col:first-child {
  margin-left: 0;
}

/*  GROUPING  */
.group:before,
.group:after {
  content: "";
  display: table;
}

.group:after {
  clear: both;
}

.group {
  zoom: 1;
  /* For IE 6/7 */
}

/*  GRID OF FIVE  */
/* .span_5_of_5 {
	width: 100%;
} */
.span_5_of_5 {
  width: 100%;
}

.span_4_of_5 {
  width: 79.68%;
}

.span_3_of_5 {
  width: 59.36%;
}

.span_2_of_5 {
  width: 39.04%;
}

/* .span_1_of_5 {
	width: 18.72%;
} */
.span_1_of_5 {
  width: 18.72%;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
/* @media only screen and (max-width: 480px) {
	.col {  margin: 1% 0 1% 0%; }
	.span_1_of_5, .span_2_of_5, .span_3_of_5, .span_4_of_5, .span_5_of_5 { width: 100%; }
}  */

.info {
  z-index: 9999;
  position: absolute;
  top: 3px;
  left: 10px;
}

#addToHome {
  color: #733339;
  font-size: x-large;
  font-weight: bold;
}

.save {
  /* color: #2ECC40; */
  color: #3D9970;
  font-weight: bold;
}

.icon {
  font-size: 22px;
}

.calc-button {
  cursor: pointer
}

.navbar {
  min-height: 36px;
  margin-bottom: 0px;
}

.navbar .navbar-brand {
  padding: 0 12px;
  font-size: 16px;
  line-height: 36px;
  height: 36px;
}

.navbar .navbar-nav>li>a {
  padding-top: 0px;
  padding-bottom: 0px;
  line-height: 36px;
}

.navbar .navbar-toggle {
  margin-top: 3px;
  margin-bottom: 0px;
  padding: 8px 9px;
}

.navbar .navbar-form {
  margin-top: 2px;
  margin-bottom: 0px
}

.navbar .navbar-collapse {
  border-color: #A40303;
}

.close {
  /* position: fixed; */
  top: 3px;
  left: 7px;
}

.close-savings {
  margin-right: 35px;
  margin-top: 5px;
}

#discount {
  position: absolute;
  z-index: 9999;
  top: 60px;
  left: 35px;
}

#savings {
  z-index: 999;
  /* font: 25px "Roboto-Regular", Roboto-Regular, Arial, helvetica, sans-serif; */
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
  max-width: 480px;
  margin-right: 20px;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  border: none;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  color: rgba(0, 0, 0, 0.9);
  -o-text-overflow: clip;
  text-overflow: clip;
  background: rgba(252, 230, 143, 1.0);
  /* background: rgba(133, 20, 75, 0.78);  */

  -webkit-box-shadow: 0 0 9px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 9px 4px rgba(0, 0, 0, 0.5);
}

#calculator {
  font: 24px "Roboto-Regular", Roboto-Regular, Arial, helvetica, sans-serif;
  margin: 0;
  padding: 5px;
  min-width: 250px;
}

#calculator h1 {
  font-size: 22px;
}

#calculator p {
  font: 14px Arial, Sans-Serif;
}

#calculator a {
  color: black;
  outline: none;
  text-decoration: none;
}

#calculator input:disabled {
  color: #000000;
}

#calculator textarea:disabled {
  color: #000000;
}

#calculator #display {
  border-radius: 5px;
  border: 1px solid #828EAB;
  background: #f6f6f6;
  background-image: linear-gradient(to bottom, rgba(128, 214, 218, 0.67), rgba(181, 230, 181, 0.65));
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.42);
  line-height: 45px;
  height: 45px;
  font-size: 26px;
  padding-top: 8px;
  padding-right: 10px;
  text-align: right;
  cursor: text;
  z-index: 999;
  font: 24px "Roboto-Regular", Roboto-Regular, Arial, helvetica, sans-serif;
 /*  overflow-x: auto;
  overflow-y: hidden; */
  overflow-x: auto;
  overflow-y: hidden;
  overflow-wrap: unset;
  max-width: 80vw;
}

 /* #calculator #display::-webkit-scrollbar:horizontal {
  height: 0;
  width: 0;
  display: none;
}
#calculator #display::-webkit-scrollbar-thumb:horizontal {
  display: none;
}  */

#calculator #statusContainer {
  color: rgba(92, 184, 92, 0.89);
  height: 5px;
  overflow: visible;
  z-index: -9;
  /* position:absolute; */
  max-width: 80vw;
}

#calculator #status {
  font-weight: bold;
  margin-top: 0px;
  font: 22px "Courier New", Courier, Sans-Serif;
  min-height: 25px;
  overflow-x: auto;
  text-align: right;
}

#calculator .num-button {
  background-image: -webkit-linear-gradient(top, rgba(213, 219, 227, 0.4), rgba(213, 219, 227, 0.9));
  border-radius: 5px;
  border: 1px solid #C1C7D4;
  box-shadow: #b3b3b3 2px 2px 2px;
  /*  height: 5%; */
  padding: 3.7%;
  text-align: center;

}

#calculator .clear-button {
  background-image: -webkit-linear-gradient(top, rgba(217, 83, 79, 0.4), rgba(217, 83, 79, 0.81));
  border-radius: 5px;
  border: 1px solid #828eab;
  box-shadow: #b3b3b3 2px 2px 2px;
  padding: 3.85%;
  text-align: center;
}

#calculator .del-button {
  background-image: -webkit-linear-gradient(top, rgba(217, 83, 79, 0.4), rgba(217, 83, 79, 0.81));
  border-radius: 5px;
  border: 1px solid #828eab;
  box-shadow: #b3b3b3 2px 2px 2px;
  /* padding: 2.8%; */
  padding: 3.2%;
  text-align: center;
}

#calculator.large .del-button {
  padding: 2.8%;
}

#calculator.large .clear-button {
  padding: 3.64%;
}

#calculator .modifier-button {
  background-image: -webkit-linear-gradient(top, rgba(95, 196, 220, 0.5), rgba(95, 196, 220, 0.9));
  border-radius: 5px;
  border: 1px solid #6f7ea0;
  box-shadow: #b3b3b3 2px 2px 2px;

  padding: 3.7%;
  text-align: center;
}

#calculator .function-button {
  background-image: -webkit-linear-gradient(top, rgba(95, 149, 220, 0.24), rgba(95, 149, 220, 0.9));
  border-radius: 5px;
  border: 1px solid #6f7ea0;
  box-shadow: #b3b3b3 2px 2px 2px;
  padding: 3.7%;
  text-align: center;
}

#calculator .percent-button {
  /* background-image: -webkit-linear-gradient(top, rgba(241, 11, 22, 0.24), rgba(241, 11, 22, 0.9)); */
  background-image: -webkit-linear-gradient(top, rgba(252, 230, 143, 0.24), rgba(252, 230, 143, 0.9));
  border-radius: 5px;
  border: 1px solid #6f7ea0;
  box-shadow: #b3b3b3 2px 2px 2px;
  font-size: 21px;
  padding: 2%;
  text-align: center;
}


#calculator .equals-button {
  background-image: -webkit-linear-gradient(top, rgba(66, 139, 202, 0.24), rgba(66, 139, 202, 0.9));
  border-radius: 5px;
  border: 1px solid #6f7ea0;
  box-shadow: #b3b3b3 2px 2px 2px;
  color: #fefefe;

  padding: 3.7%;
  text-align: center;
}

[data-calculator] {
  cursor: pointer;
}

/* [data-calculator] + .popover {
  max-width: 305px;
} */
#calculatorFooter {
  bottom: 5px;
  left: 5px;
  position: absolute;
}

#calculatorFooter #linangdata {
  color: #337ab7;
  font-size: medium;
  outline: none;
  text-decoration: underline;
}

#calculator .num-button:hover,
#calculator .num-button:focus,

#calculator .percent-button:hover,
#calculator .percent-button:focus,
#calculator .function-button:hover,
#calculator .function-button:focus {
  background: #bfc2d4;
  border: 1px solid #bfc2d4;
  color: #23527c;
  text-decoration: none;
}

#calculator .clear-button:hover,
#calculator .clear-button:focus,
#calculator .del-button:hover,
#calculator .del-button:focus,
#calculator .equals-button:hover,
#calculator .equals-button:focus,
#calculator .modifier-button:hover,
#calculator .modifier-button:focus {
  background: #bfc2d4;
  border: 1px solid #bfc2d4;
  color: #23527c;
  text-decoration: none;
}


@media (max-width: 960px) {
  #calculator .del-button {
    padding: 2.7%;
  }
}

@media (max-width: 621px) {
  .adslot_desktop_only {
    display: none;
  }

  #calculator .del-button {
    padding: 2.6%;
  }
}

@media (max-width: 400px) {
  #calculator .del-button {
    padding: 2.4%;
  }
}

@media (max-width: 300px) {
  #calculator .del-button {
    padding: 2.2%;
  }
}