@font-face {font-family: 'AvenirNextLTPro-Regular';src: url('http://code.ionicframework.com/assets/fonts/28882F_0_0.eot');src: url('http://code.ionicframework.com/assets/fonts/28882F_0_0.eot?#iefix') format('embedded-opentype'),url('http://code.ionicframework.com/assets/fonts/28882F_0_0.woff') format('woff'),url('http://code.ionicframework.com/assets/fonts/28882F_0_0.ttf') format('truetype');}


@font-face {font-family: 'AvenirNextLTPro-Medium';src: url('http://code.ionicframework.com/assets/fonts/28882F_1_0.eot');src: url('http://code.ionicframework.com/assets/fonts/28882F_1_0.eot?#iefix') format('embedded-opentype'),url('http://code.ionicframework.com/assets/fonts/28882F_1_0.woff') format('woff'),url('http://code.ionicframework.com/assets/fonts/28882F_1_0.ttf') format('truetype');}


@font-face {font-family: 'AvenirNextLTPro-UltLt';src: url('http://code.ionicframework.com/assets/fonts/29CC36_0_0.eot');src: url('http://code.ionicframework.com/assets/fonts/29CC36_0_0.eot?#iefix') format('embedded-opentype'),url('http://code.ionicframework.com/assets/fonts/29CC36_0_0.woff') format('woff'),url('http://code.ionicframework.com/assets/fonts/29CC36_0_0.ttf') format('truetype');}

html, body {
  height: 100%;
}

body {
  background-color: #242A31;
  font-family: 'AvenirNextLTPro-Regular', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
h2 {
  color: #fff;
  font-family: 'AvenirNextLTPro-Regular', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
}

h2 a {
  font-size: 14px;
  color: #727a87;
  text-decoration: none;
}

.dropdown {
  height: 100%;
  position: relative;
}
.dropdown-toggle {
  color: #858D9B;
  display: block;
  height: 100%;
  background: none;
  border: none;
  font-size: 13px;
  cursor: pointer;
  padding-left: 15px;
  font-weight: bold;
  outline: none;
  font-family: 'AvenirNextLTPro-Medium', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
}
.dropdown-menu {
  display: none;
  position: absolute;
  z-index: 999;
  width: 150px;
  right: -10px;
  background-color: white;
  box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0px 6px rgba(0,0,0,.05);
}
.dropdown-menu > li {
  padding: 6px 5px;
}
.dropdown:hover .dropdown-toggle {
  /* increase the hit box when hovering */
  /*padding-left: 100px;*/
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown li {
  list-style: none;
}
.dropdown ul {
  margin: 0;
  padding: 0;
}
.dropdown-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;

  border-top: 5px solid #858D9B;
  display: inline-block;
}
.dropdown-menu input {
  cursor: pointer;
  background-color: #4D82E9;
}
.dropdown-menu label {
  font-size: 13px;
  margin-left: 5px;
  color: #858D9B;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#header {
  width: 100%;
  height: 50px;
  background-color: #151A21;
  box-shadow: 0px 1px 3px rgba(0,0,0, 0.15);
}
#header a {
  color: #858D9B;
  font-family: 'AvenirNextLTPro-Medium', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}
#header .icon {
  display: inline-block;
  font-size: 22px;
  vertical-align: middle;
  margin-bottom: 3px;
  margin-left: 3px;
}
#header .dropdown {
  display: inline-block;
}

#header-left {
  float: left;
  line-height: 50px;
}
#header-left #menu-toggle {
  margin-left: 13px;
}
#header a:hover {
  opacity: 1;
}
#header-right {
  float: right;
  margin-right: 15px;
  height: 100%;
}
#footer {
  width: 100%;
  border-top: 1px solid rgba(0,0,0,0.06);
  background-color: #151A21;
}
#footer-left {
  float: left;
  padding: 14px 0 14px 15px;
  font-size: 13px;
}
#app-info {
  color: #828080;
}
#footer-right {
  float: right;
  padding: 14px 15px 14px 5px;
  font-size: 13px;
}
#footer-right a {
  margin-left: 10px;
  color: #a2a9b4;
  text-decoration: none;
  font-family: 'AvenirNextLTPro-Medium', 'Helvetica Neue', 'Helvetica', Arial, sans-ser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Pkusm1ZRJhb28iWnOEXjeWhARI4QyKHUhqQIodUEEEsgM95Y3XxLA93kGz38CG60BwakAKnUpHuD8gTlcSlGoj/ovHmqDkYmInL+YjNrQ4NEAfdIA/FH5AiDwNMuoFmARRWku0jhPuUbMuGAVxuCw3Iu7Pb5Q8glzNjcvFHYCR6BERA+v8GiPHKxz8H/hDnQMUC4s8CM3oW6IFDIPkDZPIQEzF7Z9eB4xR9EprkofoDNPIwxScVvRIqgWlY8AcYgTb5zu4FakiA+6NMmRwa/AGe4yOZoij23fD+snfDLHwFGkoD3IJkAZwWez2wB8ypiPWAu3bWUxJJah7BABhakkjOmlaqFHdFtOQUmMMUEUAa4qwHkIq9JkyBmX8wMoB0+Jj+ABM+epxVsXCXOHJfU3SAv8CQ/QGyryAb67lAeAfMzUfKBVDKgM1MS+QPoGS+GKfEejISlGtgjlJpAPmpegEwcqpEIZQsazDz2VS8Z0Nh/Tkwlzqq8Hh+26djkXkG3F6qw/4A1zUC7iuiau6Q7KAo2wxwP0tE9dgjau6/CW6ik6gOu2RLnzoD4fceojrsE74wDMtPSaKa7pSuau1+XOyUWo621HqvePTsVbjOP1fX3fIbg511fV+gb6znG5OhGr4xERKdu6x3RiZ7ZzTQW+13Rg11VveA/wDc7Jb5d/SIFAAAAABJRU5ErkJggg==);
}

#logo img {
  max-width: 100%;
}

preview {
  flex: 1;
  width: 100%;
  display: flex;
  vertical-align: middle;
  overflow: auto;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
}

.phone {
  display: inline-block;
  margin: 0px 20px 0 20px;
  vertical-align: middle;
}
.phone h2 {
  text-align: left;
  vertical-align: middle;
  margin-top: 0;
}
.phone-icon {
  display: inline-block;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAABgCAYAAAB8InCYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABFlJREF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8SQjMLvw7wWXDQoYBG7fVoLLogCwhzHmTbqp7rJTMJqjf1UexGwxGp4C+LXTvDWjHpewBHSXTEsQ4wQltokSMFG1HrKvOicdhlY3OZAtPSvSXnCL0K53kO9bwH7hfIBD/W+klNbL+ay3j5SXVa8wfQw09PQgzMtIl0ohxLj0YklvarzOgRiJ5R654OxKp24mQOqV0Kp1jTeCfFliZw+h/xeiR8BK4KQLBAQCAgE/NcCyBOu83AcvaTYZzX8n8i3gKcejvvBIrTcgQoPx9FqWKRjNQwmYSAgEBAIaBRrwWqr4T1PiD+7xluAvHOQLCUm6UK5owkBsn22Gv6ie9Omri0LecIpeJ0gsp0uAU72yfr3x8S9TMRSeAjT+VMkWZcAJ3vP2L3i7yLMM3FYQ38EGAB86eMs4sfk/QAAAABJRU5ErkJggg==');
  width: 16px;
  height: 16px;
  background-size: 100%;
}
#iphone .phone-icon {
  background-position: 0px 0px;
}
#android .phone-icon {
  background-position: 0px -16px;
}
#windows .phone-icon {
  background-position: 0px -32px;
}
.frame {
  border: none;
}
.phone-frame-wrap {
  position: relative;
  width: 375px;
  height: 667px;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08), 0 0px 6px rgba(0,0,0,.1);
  overflow: hidden;
}
.phone-frame-wrap iframe {
  width: 100%;
  height: 100%;
}
.statusbar {
  position: absolute;
  top: 0;
  width: 375px;
  height: 10px;
  padding: 5px 0;
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: center;
  border-radius: 3px 3px 0 0;
}
#iphone-frame .statusbar {
  background-image: url(../img/ios-statusbar.png);
}
#android-frame .statusbar {
  background-image: url(../img/android-statusbar.png);
}
#windows-frame .statusbar {
  background-image: url(../img/wp-statusbar.png)
}

/* Android and windows don't make space for the statusbar like iOS does */
#android-frame iframe, #windows-frame iframe {
  height: 647px;
  margin-top: 20px;
}

#view-popup {
  display: none;
  opacity: 0;
  transition: 400ms linear opacity;
  position: fixed;
  bottom: 15px;
  left: 15px;
}
#view-popup .view-popup-wrapper {
  position: relative;
}
#view-popup .ionitron {
  background: url('../img/popup-ionitron.png') no-repeat transparent;
  width: 90px;
  height: 90px;
  background-size: 100%;
}
#view-popup .content {
  box-sizing: border-box;
  background: url('../img/popup-view-bubble.png') no-repeat transparent;
  width: 350px;
  height: 350px;
  background-size: 100%;
  margin-bottom: -50px;
  padding-top: 25px;
  text-align: center;
  color: white;
}
#view-popup .content a {
  color: #fff;
  font-weight: bold;
}
#view-popup .content h2 {
  margin-bottom: 5px;
}
#view-popup .content p {
  font-size: 13px;
  max-width: 220px;
  margin: auto;
}

#view-popup .close {
  cursor: pointer;
  background: url('../img/popup-close.png') no-repeat transparent;
  position: absolute;
  right: 35px;
  top: 20px;
  width: 60px;
  height: 60px;
  background-size: 100%;
  position: absolute;
}

#main {
  display: flex;
  flex-direction: row;
  flex: 1;
}

#sidebar {
  position: relative;
  z-index: 1;
  background-color: #141A21;
  height: 100%;
  width: 300px;
  box-sizing: border-box;
  padding: 15px;
  overflow: auto;
}

#sidebar.hidden {
  display: none;
}

#sidebar .close {
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
  color: #a2a9b4;
  font-size: 24px;
}

#sidebar .title {
  font-size: 20px;
  margin-top: 5px;
  color: white;
}

.menu {
  padding: 0;
  margin: 0;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
   -khtml-user-select: none; /* Konqueror HTML */
     -moz-user-select: none; /* Firefox */
      -ms-user-select: none; /* Internet Explorer/Edge */
          user-select: none; /* Non-prefixed version, currently
                                supported by Chrome and Opera */
}
.menu li {
  list-style: none;
  margin: 15px 0;
}
.menu li a {
  color: #a2a9b4;
  text-decoration: none;
  cursor: pointer;
}
.menu > li > ul {
  display: none;
  padding: 0;
  margin: 0;
}
.menu > li > ul li {
  padding-left: 15px;
}
.menu > li.expanded > ul {
  display: block;
}
.menu hr {
  height: 1px;
  border: 0;
  background-color: #2b3642;
}
.menu .version {
  color: #a2a9b4;
  opacity: 0.5;
  font-size: 12px;
}

#menu {
}

.ad {
  background-color: #232A31;
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid #3f4650;
  font-size: 13px;
  color: white;
  padding: 10px;
  display: flex;
  margin-top: 55px;
}
.ad .logo {
  display: block;
  margin-right: 15px;
}
.ad .content {
  flex: 1;
}
.ad a {
  color: #308EFD;
}

@media screen and (max-height: 800px) {
  #header {
    height: 40px;
  }
  #header-left {
    line-height: 40px;
  }
  #logo {
    width: 50px;
    height: 22px;
  }
  #footer-left {
    float: left;
    padding: 7px 0 7px 15px;
    font-size: 12px;
  }
  #app-info {
    color: #828080;
  }
  #footer-right {
    float: right;
    padding: 7px 15px 7px 5px;
    font-size: 13px;
  }
  #footer-right .view-link {
    color: #4D82E9;
  }
  .phone-frame h2 {
    display: none;
  }

  @media screen and (max-width: 500px) {
    #footer {
      display: none;
    }
  }
}

@media screen and (max-height: 780px) {
  .statusbar {
    width: 340px;
  }
  .phone-frame-wrap {
    width: 340px;
    height: 605px;
  }
  #android-frame iframe, #windows-frame iframe {
    height: 585px;
    margin-top: 20px;
  }
}
@media screen and (max-height: 680px) {
  .statusbar {
    width: 325px;
  }
  .phone-frame-wrap {
    width: 325px;
    height: 578px;
  }
  #android-frame iframe, #windows-frame iframe {
    height: 558px;
    margin-top: 20px;
  }
}
