html, body {
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
}

body {
  margin: 60px 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

#container {
  width: 500px;
  margin: 0 auto;
}

#ex1 {
  margin: auto;
  display: block;
}

#logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.main-table {
  display: table;
  height: 100%;
  width: 100%;
  position: relative;
}

.main-wrapper,
.left-button-container,
.right-button-container {
  display: table-cell;
  vertical-align: middle;
}

.main-wrapper {
  width: 100%;
}

.right-button-container {
  vertical-align: middle;
}

.img-button-table {
  display: table;
  height: 100%;
  width: 100%;
}

.img-button-row {
  display: table-row;
}

.img-button-cell {
  display: table-cell;
  vertical-align: middle;
}

.img-button-cell-date {
  display: table-cell;
  vertical-align: middle;
  position: relative;
  right : 0;
}

.img-button {
  display: block;
  height: 80px;
  width: 80px;
}

.img-button-date {
  display: block;
  height: 50px;
  width: 120px;
  margin : 5px;
}

.img-appstore {
  display: block;
  height: 50px;
  width: 150px;
}

.img-google-play {
  display: block;
  height: 55px;
  width: 150px;
}

.img-ad {
  display: block;
  height: 50px;
  width: 135px;
}

.adBox{
	position : absolute;
	bottom : 10px;
	right : 23px;
	display : none;
}

.right {
}

.Style5 {
    position:absolute;
	left : 25px;
    /*font-family: Gabriola, "Gentium Basic", Georgia;*/
	font-family: Arial;
    font-size: 14px;
    color:#FFFFFF;
}

.Style6 {
    position:absolute;
	left : 43px;
	top : 17px;
    /*font-family: Gabriola, "Gentium Basic", Georgia;*/
	font-family: Arial;
    font-size: 17px;
    color:#FFFFFF;
}

	
@media (max-width: 690px) {
  .left-button-container {
    display: none;
  }
  .right-button-container {
    display: none;
  }
  .adBox{
	display: none;
  }
}

@media only screen and (max-width: 520px) {

  #logo {
    display: none;
  }

  #container {
    width: auto;
  }

  body {
    margin: 0;
    padding: 0;
  }

}

@media only screen and (orientation: landscape) {
  body {
    overflow: auto;
  }
}
