
body{
  height:auto;
}
.main-div{
  position: fixed;
  top: 0;
  width: 100%;
  background: #0099ed;
  z-index: 1111;
  -webkit-font-smoothing: antialiased;
}
.main-wrap{
    font-size: 0;
    margin: auto;
    padding: 0px 15px;
}
.mpsg-demo-info {
  padding: 11px 0px;
  width: 70%;
  display: inline-block;
  text-align: center;
  margin: 0px;
}
.tab-button{
  position: absolute;
  background-color: #0099ed;
  right: 8%;
  z-index: 9999999;
  height: 20px;
  width: 25px;
  cursor: pointer;
  border-radius: 0px 0px 15px 15px;
  padding: 3px 0px 0px 2px;

}
.text{
  display:inline-block;
  }
.links{
  width: 30%;
  font-size: 15px;
  vertical-align: middle;
  text-align: center;
  display: inline-block;
}
.mpsg-demo-info p {
    font-size: 14px;
    color: #fff;
    margin:0;
    font-weight: 200;
    display: inline-block;
    vertical-align: middle;
    font-family: sans-serif;
    -webkit-font-smoothing: antialiased;
}
.read-button{
  background-color:#0099ed ;
  border: 2px solid #89cdf6;
  border-radius: 2px;
  color:white;
  padding:0px 20px;
  margin-right: 3px;
  vertical-align: middle;
  display: inline;
}
.read-button:hover{
  border: 2px solid white;
  color:white;
  background-color:#0099ed ;
}
.buy-button{
    background-color:#ffd858 ;
    border-radius: 2px;
    padding:2px 20px;
    color:black;
    vertical-align: middle;
    display: inline;
}
.buy-button:hover{
  background-color:#ffdc6b ;
}
.site-logo{
  background-image: url('../images/sprite.png');
  background-repeat: no-repeat;
  background-position: -14px 1px;
  height: 25px;
  width: 158px;
  border-right: 1px solid #23aef1;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

#link::before{
  content:"";
  background-image: url('../images/sprite.png');
  background-repeat: no-repeat;
  height: 11px;
  width:18px;
  vertical-align: top;
  display: inline-block;
  background-position: 4px -9px;
}
#link.close::before{
  content:"";
  background-position:4px 2px ;
  background-repeat: no-repeat;
}
#link.open::before{
  content:"";
  background-position:4px -9px ;
  background-repeat: no-repeat;
}
@media screen and ( max-width: 768px ) {
  .wrap{
  text-align: center;
  }
  .links{
    width:100%;
  }
  .site-logo{
  border: none;
  }
  .mpsg-demo-info{
    text-align: center;
    margin-bottom: 5px;
  }
  .links{
      margin-bottom: 5px;
  }
  .mpsg-demo-info p {
    width:100%;
  }
}
@media (min-width: 768px) and ( max-width: 980px ) {
.mpsg-demo-info{
  text-align:left;
}
.links{
  vertical-align: middle;
}
}
