/* General Demo Style */
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);

@font-face {
  font-family: "questa_sansregular";
  src: url("2-Questa_Sans_Regular-webfont.eot");
  src: url("2-Questa_Sans_Regular-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("2-Questa_Sans_Regular-webfont.woff2") format("woff2"),
    url("2-Questa_Sans_Regular-webfont.woff") format("woff"),
    url("2-Questa_Sans_Regular-webfont.ttf") format("truetype"),
    url("2-Questa_Sans_Regular-webfont.svg#questa_sansregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

html {
  height: 100%;
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-color: #b6b6b6;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

.main {
  background-color: #b6b6b6;
  font-family: "questa_sansregular";
  color: white;
  text-align: center;
}

.main h1 {
  color: #ffffff;
  font-size: 2.3em;
}

.main h3 {
  font-weight: 100;
  color: #2cb6ea;
}

.main h2 {
  font-weight: 100;
  color: #95d8f2;
}
#stage {
  width: 100%;
  height: auto;
  background-color: #b6b6b6;
  margin: 0 auto;
}

.modalDialog {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999;
  opacity: 0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}

.modalDialog:target {
  opacity: 1;
  pointer-events: auto;
}

.modalDialog h2 {
  color: #ccc;
  padding-bottom: 10px;
}
.modalDialog > div {
  width: 600px;
  position: relative;
  margin-top: 20%;
  margin-left: 35%;
  padding: 15px 25px 13px 20px;
  border-radius: 10px;
  color: white;
}

.redBackground > div {
  background: #c02033;
}

.greenBackground > div {
  background: #43ad49;
}

.yellowBackground > div {
  background: #fcee23;
  color: #176e8e;
}

.orangeBackground > div {
  background: #f15a25;
}

.blueBackground > div {
  background: #2cb6e9;
}

.close {
  background: #606061;
  color: #ffffff;
  line-height: 25px;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none;
  font-weight: bold;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
}

.close:hover {
  background: #00d9ff;
}

#btnA,
#btnB,
#btnC,
#btnD,
#btnE,
#btnF,
#btnG,
#btnG-2,
#btnH {
  cursor: pointer;
}

svg {
  width: 100%;
  height: 1000px;
}

@media only screen and (max-width: 768px) {
  svg {
    width: 100%;
    height: 500px;
  }
  .modalDialog {
    display: none;
  }
}
@media only screen and (max-width: 425px) {
  svg {
    width: 500px;
    height: 500px;
    position: absolute;
    transform: rotate(90deg);
    left: 0;
    top: 0;
  }
}
