.gone { display: none !important; }

/*Fills its container horizontally while maintaining aspect ratio. You should set a max width though*/

img.fill-width {
  width: 100%;
  height: auto;
  margin: auto;
  text-align: center;
}

@font-face {
  font-family: 'Arial Narrow';
  src: url("fonts/ARIALN.TTF");
}

.invertable {
  /* -webkit-filter: brightness(.5); */
  -moz-filter: brightness(.5);
  /* filter: brightness(.4); */
}

html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  font-family: 'FontAwesome', helvetica, arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0px;
  width: 100%;
  background-color: #DDD;
  color: #444;
  position: relative;
  /* height: 100%; */
  z-index: 0;
}

.boxHeader {
  font-weight: bold;
  font-size: .5in;
  color: #666;
  text-align: center;
}

.userForm {
  background-color: white;
  padding: .1in;
  border: .02in solid #aaa;
  /*  border-radius: .25in;*/
  /*  box-shadow: 0px 4px 10px rgba(0, 0, 0, .2);*/
  position: relative;
  /*  flex:1;*/
  width: 100%;
  text-align: center;
  max-width: 5in;
  margin: auto;
}

button {
  border: .03in solid #666;
  /* background-color: #999; */
  /* color: white; */
  border-radius: .1in;
  transition: background-color .2s;
  font-size: 13pt;
}

button:hover {
  background-color: #BBB;
}

button:active {
  background-color: #444;
}

.errorMessage {
  color: #f66;
  font-size: .15in;
  text-align: center;
  opacity: 1;
  transition: opacity 1s;
  font-weight: bold;
  text-transform: capitalize;
}

.main {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  margin: .2in;
}

form.userForm > * {
  display: flex;
  justify-content: center;
}

.overlayArea {
  flex: 1;
  /*  display: flex;*/
  justify-content: center;
}

.overlayArea > * {
  margin: auto;
}

.submit {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  background-color: #f0f0f0;
  height: .4in;
  transition: background-color .1s, color .3s;
  cursor: pointer;
}

.submit:hover {
  background-color: #DDD;
}

.submit:active {
  background-color: #08C;
  color: white;
}

.uiBox {
  min-height: .3in;
  border: 1px solid darkgrey;
  border-radius: 4px;
  /* box-shadow: 0px 2px 5px rgba(0, 0, 0, .2); */
  margin-top: .1in;
  flex: 1;
  font-size: 80%;
  width: 100%;
  box-sizing: border-box;
}

.uiBox[type='text'],
.uiBox[type='password'] {
  /*  box-shadow: inset 0px 2px 3px #DDD;*/
  padding: .05in;
}

.uiBox[type='text']:focus,
.uiBox[type='password']:focus {
  /*  box-shadow: 0px 0px 15px rgba(0, 135, 204, .6);*/
}

.hor-fields { display: flex; }

.hor-fields * {
  display: flex;
  width: 0px;
}

#footer {
  background-color: #f9f9f9;
  line-height: 150%;
  font-size: 80%;
  /*  box-shadow: 0 -1px 6px rgba(0, 0, 0, .7);*/
  z-index: -1;
  bottom: 0px;
  border-top: 1px solid #AAA;
  padding: .05in;
  height: .2in;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

#button-filter {
  padding: .08in;
  font-size: 90%;
}

.text-button {
  text-transform: uppercase;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: bold;
}

.header {
  background-color: white;
  /* z-index: 2; */
  width: 100%;
  padding-top: .1in;
  height: .5in;
  border-bottom: 1px solid #aaa;
}

.small-header {
  max-height: 1.5in;
  width: 2in;
  /*  max-width: 50%;*/
}

.anchor {
  position: relative;
}

.banner {
  text-align: center;
  width: 100%;
  /* z-index: 2; */
}

.fader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background-color .5s;
}

.fader.active {
  background-color: rgba(0, 0, 0, .3);
}

.blurable {
  transition: -webkit-filter .5s filter .5s;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blurable.active {
  -webkit-filter: blur(10px);
  filter: blur(10px);
}


/* The switch - the box around the slider */

.switch {
  position: relative;
  display: flex;
  font-size: .2in;
  align-items: center;
  margin-bottom: .1in;
}


/* Hide default HTML checkbox */

.switch input {
  display: none;
}


/* The slider */

.slider {
  margin-right: .1in;
  display: inline-block;
  cursor: pointer;
  background-color: #999;
  transition: .4s;
  min-width: .5in;
  height: .3in;
}

.slider:before {
  position: absolute;
  content: "";
  height: .24in;
  width: .24in;
  margin-top: .03in;
  background-color: white;
  transition: .4s;
  left: .03in;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  left: .22in;
}


/* Rounded sliders */

.slider.round {
  border-radius: 10in;
}

.slider.round:before {
  border-radius: 50%;
}

ul {
  margin:0px;
}

#terms {
  margin-top: .1in;
  font-size: .1in;
  color: #888;
}
#terms a {
  color: #888;
  text-decoration: underline;
}

.banner-button {
    height: .4in;
    background-color: #DDD;
}

.uiBox.danger { border-color: red; }
