html{
  overflow-x: hidden;
}
body {
  background-color:#FFF;
  color:#FFF;
  font-family: sans-serif;
  padding:0;
  margin:0;
  text-align:center;
  overflow-x: hidden;
}

#top {
  padding:20px 0;
  display:inline-block;
  width: 100%;
  height: 100%;
  background-color: #fafcff;
}
h1 {
  font-family: 'Open Sans', sans-serif;
  font-size:30px;
  margin:0 0 10px 0;
}
input[type="submit"], input[type="button"], a.button {
    background-color: #EA5870;
    color: #FFF;
    padding: 5px;
    border: 0px solid #FFF;
    text-decoration: none;
    display: inline-block;
    height: 40px;
    font-size: 15px;
    font-family: 'Open Sans';
    margin: 0 0 0 10px;
    text-transform: uppercase;
    font-weight: 600;
    width: 150px !important;
    border-radius: 6px;
    cursor: pointer;
}
input[type="submit"]:hover, input[type="button"]:hover, a.button:hover {
  border: 5px solid #e0b1b9;
}
input[type="text"] {
  display:inline-block;
  font-size: inherit;
  padding: 10px;
  border: 0;
}
input[type="text"]:focus {
  outline: 0;
  background-color:#EEE;
}
#function {
  margin-bottom:20px;
}
#function label {
  display:inline-block;
  height:40px;
  line-height:40px;
  margin-right:5px;
}
#function input[type="text"] {
  margin:0;
  width:25%;
  display:inline-block;
  height:20px;
  background: #FFF;
  border: 7px solid #DEE1E6; 
  font-family: 'Open Sans';
  text-align: center;
  letter-spacing: 2px;
}
#range {
  color: #9AB;
}
#range input[type="text"] {
  width:30px;
  height:15px;
  text-align:center;
  color: #9AB;
  background-color:#2c3e50;
}
#range input[type="text"]::-webkit-input-placeholder{
  color: #9AB;
}
#range input[type="text"]:-moz-placeholder{
  color: #9AB;
}
#range input[type="text"]::-moz-placeholder {
  color: #9AB;
}
#range input[type="text"]:-ms-input-placeholder {
  color: #9AB;
}
#range input[type="text"]:focus {
  background-color:#2e4052;
}
.rangeSection {
  display:inline-block;
}
#graph {
  margin:20px auto 0 auto;
  width: 100%;
  height:50px;
}
#result {
  margin-top:10px;
  border-top:20px solid #2c3e50;
  border-bottom:20px solid #2c3e50;
  overflow:hidden;
  background-color:#2c3e50;
  text-align:center;
  max-height:0;
  margin-bottom:20px;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.open #result {
  max-height:2000px;
  padding:20px;
  color:#FFF;
}
canvas {
  margin-bottom: 50px;
}
canvas:last-child {
  margin-bottom: 10px;
}
.answer {
  clear:both;
  text-align:center;
}
.final {
  color:#FFF;
  font-size:60px;
  text-align:left;
  font-family: 'Open Sans', sans-serif;
}
.error {
  background-color:#6B1010;
  padding:10px;
  opacity:0.7;
  display:inline-block;
  width:500px;
  text-align:left;
}

/* Pretty formula styles */
.formula {
  font-family: 'Open Sans', sans-serif;
  padding:0 10px;
  margin-bottom:10px;
}
.group {
  display:inline-block;
  vertical-align:baseline;
  text-align:center;
  margin:1px 1px 0 0;
  padding:0;
}
.division {
  vertical-align: middle;
}
.operator {
  padding:5px;
}
.exponent {
  font-size: 0.7em;
  vertical-align:super;
}
.denom {
  clear:both;
  display:block;
  border-top:1px solid #FFF;
  padding:0 20px;
}

@media all and (max-width:700px) {
  #github {
    position:relative;
    width:auto;
    display:block;
  }
  h1 {
    font-size:24px; 
  }
  #function input[type="text"] {
    width:60%;
  }
  .plot{
    float: left;
    width: 95% !important;
  }
  .resultado{
    width: 100% !important;
    float: left;
  }
}

@media all and (max-width:500px) {
  #top {
    display:block;
    position:relative;
  }
  #function input[type="text"] {
    width:70%;
  }
  #function label {
    width:10%;
    text-align:right;
  }
  #function input[type="text"] {
    width:70%;
  }
  .rangeSection {
    display:block;
    margin-bottom:5px;
  }

  .plot{
    float: left;
    width: 95% !important;
  }
  .resultado{
    width: 100% !important;
    float: left;
  }
}




span.math{
  color: #0E1D32 !important;
}

.logo{
    width: 210px;
    margin: 40px 0;
    cursor: pointer;
}

h1{
  font-family: Open Sans !important;
  color: #4C6380 !important;
  margin-top: 20px;
  font-weight: 400;
  margin-bottom: 0px;
}

h5{
  font-family: Open Sans !important;
  font-weight: 400;
  color: #545454 !important;
  font-family: Open Sans !important;
  color: #545454 !important;
  padding: 15px 0;
  margin: 0 0 40px 0;
}

#wrapper .MathJax_Display{
    min-width: 70% !important;
    margin: 0 !important;
    width: auto !important;
}

.MathJax_Display{
    min-width: 25% !important;
    display: inline-block !important;
    min-height: 20px;
    background: #eef0f4;
    border: 1px solid #DEE1E6;
    font-family: 'Open Sans';
    text-align: center !important;
    letter-spacing: 2px;
    margin: 15px !important;
    padding: 15px;
    width: auto !important;
}

#barra_resultado{
    background: #4BD787 !important;
    height: 25px;
    color: #fff;
    font-family: 'Open Sans';
    font-size: 17px;
    text-align: center;
    width: 100%;
    padding: 15px 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.circulo{
  width: 30px;
  height: 24px;
  background: #e85971;
  padding: 10px;
  border-radius: 60px;
  float: left;
  padding-top: 8px;
  font-family: 'Open Sans';
  font-weight: 600;
  font-size: 22px;
  padding-bottom: 17px;
}

.titulo{
  float: left;
  color: #464646;
  font-family: 'Open Sans';
  font-weight: 600;
  font-size: 18px;
  padding-top: 12px;
  padding-left: 16px;
}

.header_y{
    width: 100%;
    float: left;
    margin: 40px;
}

.plot{
  float: left;
  width: 50%;
}
.resultado{
  margin-right: 3%;
  width: 45%;
  float: left;
}

#container-resultado{
  display: none;
  height: auto;
  width: 100%;
  float: left;
  margin-bottom: 50px;
}

footer{
    color: #949494;
    font-size: 13px;
    font-family: 'Open Sans';
    background: #efefef;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}
footer a{
    color: #949494;
    text-decoration: none;
}
footer a:hover{
    color: #EA5870;
    text-decoration: none;
}

#pretty{
  opacity: 0;
  min-height: 86px;
}