﻿/*
* fix for jQueryMobile; needed when using the .js without the .css
*/
.ui-loader {
  display: none;
}

/*
* General
*/
html,
body {
  margin: 0;
  background-color: gray;
  font-size: calc(14px + (20 - 14) * ((100vw - 320px) / (480 - 320)));
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  -webkit-overflow-scrolling: auto;
}
h4 {
  font-size: calc(16px + (24 - 16) * ((100vw - 320px) / (480 - 320)));
}
.btn {
  font-size: calc(16px + (20 - 16) * ((100vw - 320px) / (480 - 320)));
}

@media (max-width: 320px) {
  html,
  body {
    font-size: 14px;
  }
  h4 {
    font-size: 16px;
  }
  .btn {
    font-size: 16px;
  }
}
@media (min-width: 480px) {
  html,
  body {
    font-size: 20px;
  }
  h4 {
    font-size: 24px;
  }
  .btn {
    font-size: 20px;
  }
}

.btn-primary,
.btn-primary[disabled],
.btn-primary[disabled]:active,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover {
  background-color: #396785;
  border-color: #396785;
  border-radius: 0;
}
.btn-primary:hover,
.btn-primary:active {
  background-color: #204e6c;
  border-color: #204e6c;
}
.btn-primary:focus {
  background-color: #204e6c;
  border-color: #204e6c;
}
.btn-primary:active:focus,
.btn-primary:active:hover {
  background-color: #204e6c;
  border-color: #204e6c;
}
.alertify-button {
  position: relative;
}
.alertify-button:before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  bottom: -10px;
  right: -10px;
}

.form-group {
  color: #396785;
  font-size: 24px;
}
.form-group > label {
  font-weight: normal;
}

.mloading {
  /*Can use when loading modal contents; prettier than .loading*/
  background-image: url("/images/rb-load.gif");
  background-repeat: no-repeat;
  background-position: center;
  min-height: 80px;
}

/*
* EmTime Header
*/
#body nav.navbar {
  /*position: fixed;*/
  width: 100%;
  max-width: 100%;

  background: #396785;

  border: 0;
  margin-bottom: 0;

  min-height: 50px;
  height: 50px;

  z-index: 9999;
}
#body nav > h3 {
  color: whitesmoke;
  /*text-shadow: 1px 1px 2px black;*/

  font-size: 24px;
  /*font-weight: bold;*/
  /*letter-spacing: -1px;*/

  margin: 0;
  /*margin-left: 10px;*/
  line-height: 50px;

  text-align: center;
}

/*
* Panel Adjustments
*/
.panel.panel-default {
  border-radius: 5px;
  border: 2px solid white;
  margin-bottom: 0;
}
.panel.panel-default > .panel-heading {
  color: #396785;
  background-color: white;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  position: relative;
}
.panel.panel-default > .panel-heading > .panel-title {
  /*font-weight: bold;*/
  font-size: 24px;
}
.panel.panel-default > .panel-heading > .panel-close-button {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: 4px;
  width: 36px;
  background: none;
  color: #d9534f;
  border: 0;
  font-size: 28px;
}
.panel.panel-default > .panel-heading > .panel-close-button:hover {
  background: lightgray;
}
.panel.panel-default > .panel-heading > .panel-close-button > .fa-times {
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  /*text-shadow: 1px 1px 2px #660000;*/
}

.panel.panel-primary {
  border-color: #396785;
}
.panel.panel-primary > .panel-heading {
  color: black;
  border-color: #396785;
  background-color: #396785;
}
.panel.panel-primary > .panel-heading > .panel-title {
  /*font-weight: bold;*/
  /*text-shadow: 1px 1px 1px #9b905b;*/
  color: white;
}

.list-group > button {
  height: 44px;
}
.list-group > .trade-button {
  height: 88px;
}

#content .panel-default,
#content .panel-heading {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
#content input,
#content button {
  height: 44px;
  font-size: 24px;
  font-size: calc(20px + (24 - 20) * ((100vw - 400px) / (800 - 400)));
  line-height: 24px;
}

.blink {
  animation: blinker 3s ease-in-out infinite;
}

@keyframes blinker {
  50% {
    opacity: 0.8;
  }
}

.hidden {
  display: none !important;
}
#notice {
  box-sizing: border-box;
  color: #f3b775;
  width: 100%;
  position: absolute;
  display: block;
  padding: 0px 10px;
  left: 0;
  background-color: #333333;
}
#noticeText {
  font-weight: bold;
}
