md-toolbar:not(.md-menu-toolbar) {
  background-color: inherit;
  color: inherit;
}

md-toolbar:not(.md-menu-toolbar) md-icon {
  color: inherit;
}

.home-header {
  font-size: 2.2rem;
  font-weight: bold;
  font-family: Roboto Slab, Arial, Helvetica, sans-serif;
  text-align: center;
  color: #333;
}

@media (max-width: 600px) {
  .home-header {
    font-size: 1.6rem;
  }
}
@media (min-width: 600px) {
  .embed {
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    overflow: initial;
  }
  .embed #io-container {
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    overflow: initial;
  }
  .embed #inputs, .embed #outputs {
    box-sizing: border-box;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .embed #inputs {
    border-right: 1px solid rgb(66, 66, 66);
  }
  .embed .list-input-container > .item > .content-row {
    margin-left: 50px;
  }
  .embed .list-input-container {
    /* Because of the border on #inputs */
  }
  .embed .list-input-container .item-prototype {
    margin-right: -19px;
  }
}
@media (max-width: 1024px) {
  #published {
    top: 10vh;
  }
  md-sidenav {
    min-width: 20vw;
    max-width: 70%;
  }
  .topnavhome .menu-item, .topnav .menu-item {
    display: none;
  }
  .burger {
    display: inline-block;
  }
  #features-table .plan {
    display: table-row;
    margin: 0 auto;
  }
  #features-table .price-container {
    display: table;
    margin: 0 auto;
    margin-bottom: 4%;
  }
  .calcinfo {
    height: auto;
    max-height: 80vh;
    width: 90vw;
  }
  #script {
    max-height: 30vh;
  }
  .accinfo {
    width: 90vw;
  }
  .overallfooter {
    display: none;
  }
  .settings {
    max-height: 80vh;
  }
}
@media (min-width: 1280px) {
  .burger {
    display: none;
  }
  .calcinfo {
    height: auto;
    max-height: 70vh;
    width: 70vw;
  }
  .pricing-table {
    flex-direction: row;
  }
  #features-table .plan {
    display: table-cell;
  }
  #features-table .price-container {
    display: inline-table;
    margin: 0 4%;
  }
  .accinfo {
    width: 60%;
  }
  .welcome h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }
  .welcome .description {
    padding: 130px 0 60px;
  }
  .welcome .item {
    max-width: 400px;
    min-width: 400px;
  }
  #toolbar-source md-tabs {
    margin-left: 37px;
  }
  #cheat-sheet {
    display: block;
    border-left: 1px solid rgb(66, 66, 66);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  #link {
    padding-right: 19px;
    border-right: 1px solid rgb(66, 66, 66);
  }
  .settings {
    max-height: 70vh;
  }
  #published {
    top: 6em;
  }
  #io-container {
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    overflow: initial;
  }
  #inputs, #outputs {
    box-sizing: border-box;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  #inputs {
    border-right: 1px solid rgb(66, 66, 66);
  }
  .list-input-container > .item > .content-row {
    margin-left: 50px;
  }
  .list-input-container {
    /* Because of the border on #inputs */
  }
  .list-input-container .item-prototype {
    margin-right: -19px;
  }
}
body {
  margin: 0;
  padding: 0;
}

.burger {
  cursor: pointer;
  margin-top: 1.5rem;
}

.bun1, .bun2, .bun3 {
  width: 35px;
  height: 5px;
  background-color: #fff;
  margin: 6px 0;
  transition: 0.4s;
}

.bun1 .change {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

.bun2 .change {
  opacity: 0;
}

.bun3 .change {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}

.welcome-toolbar {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: auto;
  background-color: rgba(0, 0, 0, 0.4) !important;
}

#features-table {
  margin: 0 auto;
  text-align: center;
  width: 80%; /* total computed width = 222 x 3 + 226 */
  position: relative;
  padding: 5%;
}

#features-table .plan {
  font: 1.2rem "Roboto", Arial, Helvetica;
  color: #333;
  padding: 10px;
  min-width: 180px; /* plan width = 180 + 20 + 20 + 1 + 1 = 222px */
  width: 25%;
  height: 90%;
  position: relative;
  text-align: justify;
}

#features-table .feature-item:first-child {
  text-align: left;
}

#features-table .feature-item {
  display: table-row;
  padding: 10px;
  text-align: left;
  font-size: 15px;
  margin: auto;
}

#features-table .feature-text {
  display: table-row;
  padding: 10px;
  text-align: center;
  font-size: 15px;
  margin: auto;
}

#features-table .feature-icon {
  float: center;
  text-align: center;
}

#features-table #most-popular {
  z-index: 2;
  top: -13px;
  border-width: 3px;
  padding: 30px 20px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 20px 0 10px -10px rgba(0, 0, 0, 0.15), -20px 0 10px -10px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 20px 0 10px -10px rgba(0, 0, 0, 0.15), -20px 0 10px -10px rgba(0, 0, 0, 0.15);
  box-shadow: 20px 0 10px -10px rgba(0, 0, 0, 0.15), -20px 0 10px -10px rgba(0, 0, 0, 0.15);
}

/* --------------- */
#features-table h3 {
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: uppercase;
  display: inline;
}

#features-table #most-popular h3 {
  background-color: #ddd;
  background-image: -moz-linear-gradient(#eee, #ddd);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ddd));
  background-image: -webkit-linear-gradient(#eee, #ddd);
  background-image: -o-linear-gradient(#eee, #ddd);
  background-image: -ms-linear-gradient(#eee, #ddd);
  background-image: linear-gradient(#eee, #ddd);
  margin-top: -30px;
  padding-top: 30px;
  -moz-border-radius: 5px 5px 0 0;
  -webkit-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}

#features-table h3 span {
  display: block;
  float: right;
  text-align: left;
}

/* --------------- */
#features-table ul {
  margin: 20px 0 0 0;
  padding: 0;
  list-style: none;
}

#features-table li {
  border-top: 1px solid #ddd;
  padding: 10px 0;
}

/* --------------- */
#features-table .signup {
  position: relative;
  padding: 8px 20px;
  margin: 20px 0 0 0;
  color: #fff;
  font: bold 14px Arial, Helvetica;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  background-color: #72ce3f;
  background-image: -moz-linear-gradient(#72ce3f, #62bc30);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#72ce3f), to(#62bc30));
  background-image: -webkit-linear-gradient(#72ce3f, #62bc30);
  background-image: -o-linear-gradient(#72ce3f, #62bc30);
  background-image: -ms-linear-gradient(#72ce3f, #62bc30);
  background-image: linear-gradient(#72ce3f, #62bc30);
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 0 rgba(0, 0, 0, 0.7);
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 0 rgba(0, 0, 0, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 0 rgba(0, 0, 0, 0.7);
}

#features-table .signup:hover {
  background-color: #62bc30;
  background-image: -moz-linear-gradient(#62bc30, #72ce3f);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#62bc30), to(#72ce3f));
  background-image: -webkit-linear-gradient(#62bc30, #72ce3f);
  background-image: -o-linear-gradient(#62bc30, #72ce3f);
  background-image: -ms-linear-gradient(#62bc30, #72ce3f);
  background-image: linear-gradient(#62bc30, #72ce3f);
}

#features-table .signup:active, #features-table .signup:focus {
  background: #62bc30;
  top: 2px;
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.7) inset;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.7) inset;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.7) inset;
}

/* --------------- */
.clear:before, .clear:after {
  content: "";
  display: table;
}

.clear:after {
  clear: both;
}

.clear {
  zoom: 1;
}

.price-container {
  border-radius: 24px;
  border: 5px solid #cfcfcf;
  width: 250px;
  height: auto;
  padding: 20px;
  color: rgb(59, 59, 59);
  background-color: #f0f0f0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.price-container .account-type {
  text-transform: uppercase;
  font-weight: 600;
  font-family: "Roboto Slab", Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
}
.price-container b {
  color: #1d89e4;
  font-size: 2.2rem;
}
.price-container .plan-action {
  background-image: linear-gradient(to top, #111, #232323, #4f4f4f, #4f4f4f);
  color: #fff;
  border-radius: 10px;
}
.price-container .plan-action:hover {
  background-image: linear-gradient(#111, #7a7a7a);
  cursor: pointer;
}

.price-container div {
  width: 100%;
  height: auto;
  text-align: center;
  border-bottom: 2px solid #ccc;
  line-height: 2rem;
  padding: 10px 0;
}

.price-container div:last-child {
  border-bottom: none;
  margin-top: 5px;
}

.accbutton {
  width: 150px;
  text-align: center;
}

.currentedit {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  text-shadow: 2px 2px 4px #000000;
  text-align: center;
}

.md-button {
  font-size: 1rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  text-transform: unset;
  font-weight: normal;
}

.topnavhome {
  list-style-type: none;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border-bottom: 1px #ffffff solid;
}

.topnavhome ul {
  display: table-row;
  vertical-align: middle;
}

.topnavhome li {
  float: left;
  display: table-cell;
  line-height: 30px;
  font-size: 1.2rem;
  color: #fff;
}

.topnavhome li.right {
  float: right;
  display: table-cell;
}

.topnavhome li a {
  display: block;
  color: #333;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none;
  padding: 12px;
}
.topnavhome li a md-icon:hover {
  color: inherit;
}

.topnavhome .active {
  background-color: rgba(255, 255, 255, 0.25);
  font-weight: bold;
}

.topnavhome li a:hover, .dropdown:hover, .topnavhome .md-button:hover {
  background-color: rgb(189, 189, 189);
}

.topnavhome li.dropdown {
  color: #333;
  display: inline-block;
}

.topnavhome .boxed-button {
  border-radius: 4px;
  border: 2px solid #fff;
  font-size: 1rem;
  margin: 6px 8px;
  padding: 12px;
}

.dropdown-contenthome {
  display: none;
  position: absolute;
  background-color: #fff !important;
  color: #333;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.dropdown-contenthome a {
  color: #333 !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  z-index: 10;
}

.dropdown-contenthome a:hover {
  font-weight: bold;
}

.dropdownhome:hover .dropdown-contenthome {
  display: block;
}

.topnav {
  background-color: rgb(231, 231, 231);
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px #000 solid;
}

.topnav li {
  float: left;
}

.topnav li.right {
  float: right;
}

.topnav li a.md-button, .topnav li a, .dropbtn {
  display: block;
  color: #111;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  text-align: center;
  padding: 18px 16px;
  text-decoration: none;
}

.topnav .new-calculator-icon, .topnav .burger {
  color: #111 !important;
}

.topnav li a:hover, .dropdown:hover .dropbtn {
  outline: 1px solid #111;
}

.topnav li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: #000000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  color: #1d89e4;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.topnav .boxed-button {
  border-radius: 4px;
  border: 2px solid #111;
  color: #111 !important;
  font-size: 1rem;
  margin: 6px 8px;
  padding: 12px;
}

.bigbutton {
  display: block;
  width: 60%;
  border: none;
  background-color: #fff;
  color: #333;
  padding: 15px 20px;
  font-size: calc(8px + 1vw);
  cursor: pointer;
  text-align: center;
  margin: auto;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 4px 8px rgba(31, 31, 31, 0.8);
}

.bigbutton:hover {
  box-shadow: none;
  background-color: #333;
  color: #fff;
  outline: 2px solid #ccc;
}

.trybutton {
  display: block;
  width: 30%;
  border: none;
  background-color: rgb(21, 153, 241);
  color: #333;
  padding: 15px 10px;
  font-size: calc(8px + 1vw);
  cursor: pointer;
  text-align: center;
  margin: auto;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 4px 8px rgba(31, 31, 31, 0.8);
}

.trybutton:hover {
  box-shadow: none;
  background-color: #333;
  color: #fff;
  outline: 2px solid #ccc;
}

.trycalcbutton {
  display: block;
  margin-left: 10px;
  width: 20%;
  border: none;
  background-color: rgb(21, 153, 241);
  color: #333;
  padding: 5px 5px;
  font-size: 15px;
  cursor: pointer;
  text-align: center;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 4px 8px rgba(31, 31, 31, 0.8);
}

.trycalcbutton:hover {
  box-shadow: none;
  background-color: #333;
  color: #fff;
  outline: 2px solid #ccc;
}

.accbackdrop {
  background-image: url(/img/images/jscalc-bg2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0;
  width: auto;
  height: 100vh;
}

.accinfo {
  background-color: #fff;
  color: #333;
  height: auto;
  margin: auto;
  margin-top: 120px;
  margin-bottom: 5%;
  border: 1px solid #000;
  padding: 2.4rem 0;
  box-sizing: border-box;
  box-shadow: 0px 2px 10px 1px #333;
  border-radius: 10px;
  min-height: 50vh;
  overflow: auto;
}

.form-label {
  font-weight: bold;
  font-size: 1rem;
  display: table-cell;
  width: 40%;
  min-width: 90px;
  box-sizing: border-box;
  text-align: right;
}

.pricehead {
  font-weight: bold;
  text-align: center;
  font-size: 50px;
  padding-top: 110px;
}

.pricehead {
  font-weight: bold;
  text-align: center;
  font-size: 50px;
  padding-top: 110px;
}

.paymethod {
  text-align: center;
  font-size: 15px;
  padding-top: 5px;
}

.perfectcms {
  text-align: center;
  font-size: 20px;
  padding: 10px;
}

.footerdiv {
  text-align: center;
  font-size: 10px;
  padding: 1px;
}

.overallfooter {
  bottom: 0px;
  position: relative;
  background-color: #000 !important;
  width: 100%;
}

.overallfooter ul {
  list-style-type: none;
}

.overallright {
  float: right;
}

.overallleft {
  float: left;
}

.overallfooter li {
  height: 40px;
  display: block;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  padding: 10px;
}

a {
  position: relative;
  color: initial;
}
a.active {
  color: #999;
  font-weight: bold;
}

.userpageheader {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  padding: 5px;
  margin: auto;
  margin-top: 120px;
}

.usertable {
  display: inline-table;
  vertical-align: top;
  margin: 1rem;
  max-width: 100%;
}

.usertable th {
  color: #111;
  font-weight: bold;
  padding: 1rem 1.4rem;
}

.usertable td.active {
  background-color: #111;
  color: rgb(255, 255, 255);
}

.usertable td, th {
  padding: 8px;
}
.usertable td md-icon, th md-icon {
  display: block;
  font-size: 1rem;
  vertical-align: sub;
  color: inherit;
}

.usertable tr:nth-child(even) {
  background-color: #f2f2f2;
}

.usertable tr:hover, .usertable td.active:hover {
  color: rgb(231, 231, 231);
  background-color: #333;
}
.usertable tr:hover th, .usertable td.active:hover th {
  color: rgb(231, 231, 231);
  background-color: #333;
}
.usertable tr:hover .md-button, .usertable td.active:hover .md-button {
  color: #333;
}

.usertable td .md-button {
  border: 1px solid #111;
  background-color: #ccc;
  font-size: 14px;
  padding: 0 2rem;
}
.usertable td .md-button:hover {
  color: #fff;
  background-color: #999;
}
.usertable td .md-button:hover md-icon {
  color: #fff;
}

.userdetail {
  text-align: left;
  padding: 3px;
}

.actiontable {
  text-align: center;
  width: 80px;
  padding: 1px;
}

.usertable1 {
  font-family: arial, sans-serif;
  border-collapse: collapse;
}

.usertable1 th {
  color: white;
  font-weight: bold;
  background-color: #737373;
  padding-top: 12px;
  padding-bottom: 12px;
}

.usertable1 td, th {
  border: 1px solid #dddddd;
  padding: 8px;
}

.usertable1 tr:nth-child(even) {
  background-color: #f2f2f2;
}

.usertable1 tr:hover {
  background-color: #ddd;
}

.overall-layout {
  margin: 0;
  padding: 0;
}

.warningred {
  color: red;
  font-weight: bold;
  font-style: normal;
}

.other-toolbar {
  position: absolute;
  width: 100%;
  color: #000000 !important;
  background-color: #b3b3b3 !important;
}

.calc-toolbar {
  color: #999 !important;
  background-color: #fff !important;
  width: 70%;
  display: table-cell;
  z-index: 0;
}
.calc-toolbar p {
  padding-left: 20px;
}

.calc-toolbar1 {
  color: #111;
  background-color: #fff !important;
  border-bottom: 1px solid #333;
}

md-tabs .md-tab.md-active, md-tabs.md-tab.md-focused {
  color: #111;
  font-weight: bold;
}

md-tabs md-ink-bar, md-tabs md-ripple-container {
  background-color: #111;
  color: #000000;
}

.calcbackdrop {
  background-image: url(/img/images/jscalc-bg2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0;
  width: auto;
  height: 100vh;
  overflow: hidden;
}

.calcinfo {
  padding: 20px;
  background-color: rgb(255, 255, 255);
  color: #333;
  margin: auto;
  margin-top: 120px;
  margin-bottom: 5%;
  border: 1px solid #000;
  padding: 20px 0;
  box-sizing: border-box;
  box-shadow: 0px 2px 10px 1px #333;
  border-radius: 10px;
  overflow-y: auto;
}

.sidenav-container {
  padding: 0 20px;
}

/* Calculator description */
.calctext {
  border: 1px solid;
  box-shadow: 5px 10px #e6e6e6;
}

.pricingcontainer {
  margin: 0 auto;
  padding: 5px 0 80px;
  max-width: 960px;
  width: 100%;
}

.panel {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px 25px;
  position: relative;
  width: 100%;
  z-index: 10;
}

.pricing-table {
  box-shadow: 0px 10px 13px -6px rgba(0, 0, 0, 0.08), 0px 20px 31px 3px rgba(0, 0, 0, 0.09), 0px 8px 20px 7px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.pricing-table * {
  text-align: center;
  text-transform: uppercase;
}

.pricing-plan {
  border-bottom: 1px solid #e1f1ff;
  padding: 25px;
}

.pricing-plan:last-child {
  border-bottom: none;
}

@media (min-width: 900px) {
  .pricing-plan {
    border-bottom: none;
    border-right: 1px solid #e1f1ff;
    flex-basis: 100%;
    padding: 25px 50px;
  }
  .pricing-plan:last-child {
    border-right: none;
  }
}
.pricing-img {
  margin-bottom: 25px;
  max-width: 100%;
}

.pricing-header {
  color: #888;
  font-weight: 600;
  letter-spacing: 1px;
}

.pricing-features {
  color: #016FF9;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 50px 0 25px;
}

.pricing-features-item {
  text-align: center;
  list-style-type: none;
  border-top: 1px solid #e1f1ff;
  font-size: 12px;
  line-height: 1.5;
  padding: 15px 0;
}

.pricing-features-item:last-child {
  border-bottom: 1px solid #e1f1ff;
}

.pricing-price {
  color: #016FF9;
  display: block;
  font-size: 32px;
  font-weight: 700;
}

.pricing-button {
  border: 1px solid #9dd1ff;
  border-radius: 10px;
  color: #348EFE;
  display: inline-block;
  margin: 25px 0;
  padding: 15px 35px;
  text-decoration: none;
  transition: all 150ms ease-in-out;
}

.pricing-button:hover,
.pricing-button:focus {
  background-color: #e1f1ff;
}

.pricing-button.is-featured {
  background-color: #48aaff;
  color: #fff;
}

.pricing-button.is-featured:hover,
.pricing-button.is-featured:active {
  background-color: #269aff;
}

.backback {
  background-color: #fff;
  background-image: url(/img/images/jscalc-bg2.jpg);
}

.left {
  float: left;
}

.right {
  float: right;
}

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

.info {
  background-color: #fff;
  padding: 5% 5%;
  text-align: center;
  background-image: url(/img/images/jscalc-bg1.jpg);
}

.info1 {
  background-color: #fff;
  padding: 5% 5%;
  text-align: center;
}

.footerinfo {
  background-color: rgb(39, 39, 39);
  text-align: center;
  color: #FFF;
}

table {
  width: 900px;
}

h4 {
  text-align: center;
}

.navlinks a {
  display: inline-block;
  text-align: center;
}

table, form {
  margin-left: auto;
  margin-right: auto;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
}

/* Specific styling for your special table */
.special-table, .special-table th, .special-table td {
  text-align: left; /* Override text-align */
  vertical-align: top; /* Ensure vertical alignment at the top */
  height: 100%; /* Make sure height adjusts to content */
  width: 95%;
  border: 0px solid rgb(255, 255, 255);
  font-weight: normal;
}

/* Class for setting background color of a specific row */
.bg-highlight {
  background-color: rgb(231, 231, 231); /* Replace with your desired color */
}

/* Class for setting background color of a specific row */
.footer-highlight {
  background-color: rgb(39, 39, 39);
  text-align: center;
  color: #FFF;
  font-size: 12px;
}

code, pre, .code, .ace_editor {
  font-family: "Roboto Mono", Monaco, Menlo, "Ubuntu Mono", Consolas, source-code-pro, monospace;
  font-size: 0.8rem;
}

md-checkbox {
  line-height: 1.4rem;
}

md-menu-item > a.md-button span {
  line-height: 48px;
}

a, .link-button, a md-icon {
  color: #999;
  text-decoration: none;
  font-weight: 400;
  outline: none;
  cursor: pointer;
}
a:focus, .link-button:focus, a md-icon:focus {
  background-color: rgba(175, 175, 175, 0.2) !important;
}
a:hover, .link-button:hover, a md-icon:hover {
  color: #1d89e4;
}

.link-button {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-weight: normal;
}

.fade-in.ng-enter {
  -webkit-transition: 0.5s ease-in all;
  -moz-transition: 0.5s ease-in all;
  -o-transition: 0.5s ease-in all;
  transition: 0.5s ease-in all;
  opacity: 0;
}

.fade-in.ng-enter.ng-enter-active {
  opacity: 1;
}

md-sidenav {
  background-color: #333;
  float: right;
}

md-content.md-alternative-theme {
  background-color: #333;
}

.md-sidenav-left md-content {
  padding: 12px 0;
}
.md-sidenav-left a, .md-sidenav-left .section, .md-sidenav-left button {
  display: block;
  text-decoration: none;
  line-height: 44px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: transparent;
  color: inherit;
  border: none;
  margin: 0;
  padding: 0 20px;
  position: relative;
  font-weight: 500;
}
.md-sidenav-left a.indent, .md-sidenav-left .section.indent, .md-sidenav-left button.indent {
  padding-left: 55px;
}
.md-sidenav-left .section {
  color: rgba(255, 255, 255, 0.5);
}
.md-sidenav-left .section a {
  color: #fff;
}
.md-sidenav-left button {
  width: 100%;
  text-align: left;
  outline: none;
}
.md-sidenav-left button:focus {
  background-color: #333 !important;
}
.md-sidenav-left .new-calculator-icon {
  color: #fff;
  height: 1rem;
}

.new-calculator-label {
  display: inline;
}

#app-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 24px;
}

.rotatable-container {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  width: 24px;
  height: 24px;
}

.rotatable-container md-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  margin-left: -12px;
  margin-top: -12px;
}

.rotating md-icon {
  -webkit-animation: spin 4s linear infinite;
  -moz-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;
}

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
#inputs, #outputs, #cheat-sheet, #link, #embed {
  padding: 0 20px;
}
#inputs .frame-title, #outputs .frame-title, #cheat-sheet .frame-title, #link .frame-title, #embed .frame-title {
  font-weight: bold;
}
#inputs .md-button, #inputs md-menu, #outputs .md-button, #outputs md-menu, #cheat-sheet .md-button, #cheat-sheet md-menu, #link .md-button, #link md-menu, #embed .md-button, #embed md-menu {
  margin: 6px 8px;
  margin-left: -6px;
  margin-right: 12px;
}
#inputs .md-button, #outputs .md-button, #cheat-sheet .md-button, #link .md-button, #embed .md-button {
  padding: 0 6px;
}
#inputs .md-menu, #outputs .md-menu, #cheat-sheet .md-menu, #link .md-menu, #embed .md-menu {
  padding: 0;
}
#inputs md-menu > .md-button, #outputs md-menu > .md-button, #cheat-sheet md-menu > .md-button, #link md-menu > .md-button, #embed md-menu > .md-button {
  margin: 0;
}

.style-label {
  font-weight: bold;
  line-height: 2rem;
}

#inputs .frame-title, #outputs .frame-title, #cheat-sheet .frame-title, #link .frame-title, #embed .frame-title, .published-aside .frame-title {
  margin: 20px 0px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6rem;
}
#inputs #inputs-label, #inputs #outputs-label, #outputs #inputs-label, #outputs #outputs-label, #cheat-sheet #inputs-label, #cheat-sheet #outputs-label, #link #inputs-label, #link #outputs-label, #embed #inputs-label, #embed #outputs-label, .published-aside #inputs-label, .published-aside #outputs-label {
  border: 1px solid #ccc;
}

#io-container {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.input-row, .output-row, .button-row {
  margin-top: 30px;
  margin-bottom: 42px;
}
.input-row .comment, .output-row .comment, .button-row .comment {
  font-size: 1rem;
  margin-top: 1.2rem;
}

.button-row-inner {
  margin: -17px 0px;
  display: inline-block;
}

.input-container-row {
  margin-bottom: -26px;
}

.config-icons {
  display: inline-block;
  white-space: nowrap;
}
.config-icons .md-button {
  margin: -12px 12px -12px -6px !important;
  width: 36px;
  height: 36px;
  line-height: 36px;
}
.config-icons .md-button md-icon {
  vertical-align: top;
  color: #333;
  margin-top: 6px;
}

.title-row .title {
  display: inline-block;
  margin-right: 26px;
  font-weight: 500;
}

.input-row .content-row {
  padding-top: 2px;
}
.input-row md-slider {
  margin-left: 0;
  margin-right: 20px;
  margin-bottom: 10px;
}
.input-row md-radio-group {
  margin-bottom: -15px;
}
.input-row md-radio-button, .input-row .md-switch-thumb {
  margin: 10px;
}

.hidden-indicator {
  display: inline-block;
  background-color: rgb(231, 231, 231);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #FFF;
  padding: 0px 7px;
  margin: -1px 3px;
}

.checkbox-input-container md-checkbox {
  display: inline-block;
  margin: 0 26px 0 0;
}

/* Text styled to align with inputs that are on the same line */
.form-text {
  line-height: 26px;
  padding: 6px 2px 14px;
}

.form-text:first-child {
  padding-left: 0;
}

.form-text:last-child {
  padding-right: 0;
}

jscalc-date-input .content {
  height: 37px;
}
jscalc-date-input .md-button {
  font-size: 12px;
  margin-left: -6px !important;
  margin-right: -6px !important;
  margin-top: -3px !important;
  margin-bottom: -14px !important;
}

.list-input-container .item {
  margin-top: 24px;
}
.list-input-container > .item > .content-row {
  margin-left: 20px;
}
.list-input-container .item-prototype {
  background-color: #F4F4F4;
  padding: 15px 20px;
  margin: 0 -20px;
}
.list-input-container .item-prototype .button-row {
  margin-bottom: 0;
}

.debug-comment {
  font-size: 12px;
  margin-top: -22px;
  margin-bottom: 30px;
}

.outputs-warning {
  display: inline-block;
  height: 48px;
  width: 48px;
  margin-right: 12px;
  color: rgb(231, 231, 231);
}

.value-output-container .content-row {
  margin-top: 14px;
  font-size: 16px;
}

.table-output-container table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-top: 10px;
}
.table-output-container th, .table-output-container td {
  text-align: left;
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #DDD;
}
.table-output-container th {
  color: #111;
  font-weight: 500;
  font-size: 12px;
  vertical-align: bottom;
  border-bottom: 2px solid #333;
  border-top: 0;
}

#script {
  position: relative;
}

#cheat-sheet p {
  line-height: 1rem;
}
#cheat-sheet pre {
  margin-left: 0px;
  font-weight: bold;
}

.ace_editor {
  position: relative;
  min-height: 50vh;
}

md-input-focused {
  color: #1d89e4;
}

#link .link, #embed .link {
  padding-top: 22px;
}
#link .description-title, #embed .description-title {
  padding-top: 22px;
  margin-bottom: 2px;
}
#link .textarea-container, #embed .textarea-container {
  display: flex;
  position: relative;
  flex-direction: column;
}
#link a, #embed a {
  font-size: 24px;
  word-wrap: break-word;
}
#link md-checkbox, #embed md-checkbox {
  margin-left: 0;
  margin-top: -1px;
  margin-bottom: 16px;
}
#link md-checkbox .md-checked, #embed md-checkbox .md-checked {
  background-color: inherit;
}
#link textarea, #embed textarea {
  border: 1px solid rgb(66, 66, 66);
  padding: 8px;
  outline: none;
  height: 6rem;
  display: block;
  border-radius: 0;
  resize: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}
#link textarea:focus, #embed textarea:focus {
  border-color: #333;
}

.settings {
  overflow-y: auto;
  position: absolute !important;
  right: 304px;
  padding: 5px 20px !important;
  top: 120px;
}
.settings h2 {
  margin: 15px 0 24px;
  line-height: 24px;
}
.settings .warning {
  color: #e51c23;
  font-size: 14px;
}
.settings .choice, .settings .column {
  margin-bottom: 20px;
}
.settings .button-row {
  margin: 20px -14px;
}
.settings .checkbox-row {
  padding-bottom: 20px;
}
.settings .checkbox-row md-checkbox {
  margin-left: 0;
}
.settings .checkbox-row .comment {
  font-size: 12px;
  line-height: 17px;
  margin-left: 28px;
  color: #999;
}
.settings .checkbox-row .comment a {
  color: #1d89e4;
}
.settings md-input-container {
  padding-left: 0;
  padding-right: 0;
}

#auth-dialog {
  min-width: 300px;
  width: 30%;
  max-width: 80%;
}
#auth-dialog md-content {
  padding: 12px;
}
#auth-dialog .text-rows {
  margin-top: 1.4rem;
}
#auth-dialog .text-row {
  margin-top: 12px;
  font-size: 14px;
}
#auth-dialog .row-error {
  color: #e51c23;
}
#auth-dialog md-progress-circular {
  margin-right: -16px;
}
#auth-dialog md-input-container {
  padding-left: 0;
  padding-right: 0;
}

#card-errors {
  color: #e51c23;
  padding: 5px 20px;
  margin-top: 1rem;
}

.account-settings-content {
  text-align: center;
}
.account-settings-content md-input-container {
  display: table-cell;
  box-sizing: border-box;
  margin-left: 20px;
  padding-left: calc(25px + 2vw);
  text-align: left;
  width: 60%;
}
.account-settings-content md-input-container input {
  min-width: 25%;
  display: inline;
}
.account-settings-content md-input-container label {
  top: -1.6rem;
  position: absolute;
}
.account-settings-content .column {
  box-sizing: border-box;
  margin-left: 0;
  padding-left: calc(25px + 2vw);
  text-align: left;
  width: 60%;
}
.account-settings-content .column md-input-container {
  padding-left: 0;
  margin-left: 0;
}

.account-settings-field {
  display: table;
  width: 100%;
  align-items: center;
  vertical-align: baseline;
}

.doc {
  padding: 80px 2vw 80px;
}
.doc .content {
  max-width: 70vw;
  margin-left: auto;
  margin-right: auto;
}
.doc h2 {
  margin-top: 30px;
  font-weight: bold;
}

md-progress-circular {
  display: inline-block;
  -webkit-transform: scale(0.5) !important;
  transform: scale(0.5) !important;
  margin-top: -12px;
  margin-bottom: -11px;
}

iframe {
  border-style: ridge;
}

.md-input {
  min-height: 1.4rem;
}

.md-toolbar-tools .md-menu {
  padding: 0;
}

/* Actually the toolbar doesn't have 'flex' on it, but in Chrome it still
shrinks (in Safari doesn't shrink). */
md-toolbar {
  flex-shrink: 0;
}

/* See https://github.com/angular/material/issues/4381 */
.md-toolbar-tools h1, .md-toolbar-tools h2, .md-toolbar-tools h3 {
  font-weight: 500;
}

md-toolbar .new-calculator-icon {
  position: relative;
}

.welcome {
  background-color: #000;
  background-image: url(/img/home_img1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0;
  z-index: 0;
}
.welcome .foreground {
  position: relative;
  background-color: rgba(84, 84, 84, 0.78);
}
.welcome .centered {
  margin-left: auto;
  margin-right: auto;
}
.welcome a {
  color: inherit;
}
.welcome .description {
  padding: 82px 0 18px;
}
.welcome .item {
  text-align: left;
  margin: 20px;
}
.welcome h2 {
  margin-top: -2px;
  margin-bottom: 13px;
  font-size: 49px;
  font-weight: 300;
  line-height: 1.15em;
  text-transform: uppercase;
  font-family: "Oswald";
  text-align: center;
}
.welcome .heading-1 {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #fff;
}
.welcome .content {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.4em;
  font-weight: 500;
  color: rgb(231, 231, 231);
}
.welcome .content a {
  text-decoration: none;
  font-weight: inherit;
  border-bottom: 1px solid;
}
.welcome .footer {
  text-align: center;
  margin-top: 10px;
}
.welcome .footer p {
  margin-bottom: 5px;
}
.welcome .footer .social-icon {
  margin: 0 7px 5px;
  display: inline-block;
}
.welcome .footer .social-icon md-icon {
  width: 36px;
  height: 36px;
  color: #fff;
}
.welcome .limit-width {
  max-width: 901px;
}
.welcome .demo-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.welcome .demo-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 507px;
}

.published-aside {
  background-color: rgb(255, 255, 255) !important;
  color: rgb(31, 31, 31);
  /* Prevents margins from collapsing. */
  overflow: auto;
  padding: 1em;
  border: 1px solid rgb(255, 255, 255);
}
.published-aside md-icon {
  color: rgb(31, 31, 31);
}
.published-aside a, .published-aside .link-button {
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
}
.published-aside .section {
  margin: 31px 0 0;
  line-height: 19px;
}
.published-aside .section:first-child {
  margin-top: 15px;
}
.published-aside .section.description {
  word-wrap: break-word;
  margin-bottom: 20px;
  font-weight: 500;
}
.published-aside .section.share {
  font-weight: 500;
}
.published-aside .footer {
  margin-bottom: 24px;
  font-weight: 500;
}
.published-aside .footer .md-button {
  margin: -12px 0;
  width: 36px;
  height: 36px;
  line-height: 36px;
  top: 1px;
}
.published-aside .footer .md-button md-icon {
  vertical-align: top;
  margin-top: 6px;
}
.published-aside .share-buttons {
  margin-left: -19px;
  margin-top: -2px;
}

#published-sidebar {
  min-width: 175px;
  padding: 1em;
}

.powered-by {
  display: none;
  font-size: 12px;
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 1px 7px;
  color: #111;
  background-color: #fff;
  border: 1px solid rgb(66, 66, 66);
  border-bottom: none;
  border-right: none;
}
.powered-by a {
  color: #1d89e4 !important;
  font-weight: 500;
}

.embed {
  overflow: auto;
}
.embed .powered-by {
  display: block;
}

.action-row md-progress-circular {
  display: block;
}

@-moz-document url-prefix() {
  .layout-fill {
    min-height: 0;
  }
  md-input-container {
    min-width: 0;
  }
}
/* Safari has default margin */
md-input-container input {
  margin-left: 0;
  margin-right: 0;
}

.pagination {
  margin-top: 2rem;
  text-align: center;
}

.page-item {
  display: inline-block;
}

.pagination a {
  text-decoration: none;
  color: #333;
  padding: 0.5rem;
  border: 1px solid #333;
  margin: 0 1rem;
}

.pagination a:hover {
  background: #333;
  color: #fff;
}

a.page-link.active {
  background-color: #ccc;
  font-weight: bold;
}

.helper-table {
  display: table;
}
.helper-table .helper-row {
  display: table-row;
}
.helper-table .helper-button {
  display: table-cell;
  width: 25%;
  padding: 1rem;
  color: #111;
  background-color: #fff;
  font-family: "Roboto Mono", Monaco, Menlo, "Ubuntu Mono", Consolas, source-code-pro, monospace;
  font-weight: bold;
  margin: 0 auto;
}

div.helper-output {
  border: 1px solid #111;
  min-height: 2rem;
  resize: both;
  width: 100%;
  max-width: 100%;
  min-height: 4rem;
  display: block;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.helper-blue-button {
  color: #1d89e4;
  margin: 0 4px;
}

.helper-blue-button:hover {
  color: #111;
}

.helper-input-button {
  padding: 2px 8px;
  background-color: #1d89e4;
  color: #fff;
  display: inline-block;
}

.helper-input-button:hover {
  color: #111;
}

.helper-input-button::after {
  content: "x";
  vertical-align: super;
  margin-left: 1rem;
}

.helper-wrapper {
  display: inline-block;
  margin: 0 auto;
  margin-left: 1rem;
  margin-right: 1rem;
}

.helper-col {
  display: table-column;
}

.inline {
  display: inline;
}

.auto-width {
  width: auto !important;
}

.hint {
  color: #999;
}

.centered-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}