* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 300;
  letter-spacing: .02em;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  float: left;
  display: block;
  font-family: "Roboto Slab", serif;
  font-size: 1rem;
}

body {
	
  background: -webkit-linear-gradient(90deg, #c2c2c2 10%, #f7f7f7 90%); /* Chrome 10+, Saf5.1+ */
  background:    -moz-linear-gradient(90deg, #c2c2c2 10%, #f7f7f7 90%); /* FF3.6+ */
  background:     -ms-linear-gradient(90deg, #c2c2c2 10%, #f7f7f7 90%); /* IE10 */
  background:      -o-linear-gradient(90deg, #c2c2c2 10%, #f7f7f7 90%); /* Opera 11.10+ */
  background:         linear-gradient(90deg, #c2c2c2 10%, #f7f7f7 90%); /* W3C */

  color: #888;
}

.bg {
    background-image: url("/img/bg.jpg");

    /* Full height */
    height: 100%; 

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;	
}

.brand {
	background-color: rgba(0,0,0,.7);
    color: #fff;
    padding: .3em;
    font-size: 3em;
    letter-spacing: .2em;
}
.caption {
    background-color: rgba(0,0,0,.7);
    color: #fff;
    padding: .3em;
    font-size: 2em;
    letter-spacing: .2em;
}

a {
  color: #222;
  font-size: 120%;
}

.wrapper {
  padding: 2em 1em;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  float: left;
  display: block;
  text-align: center;
}

.wrapper .header {
  height: auto;
  margin-top: 7em;
  width: 100%;
  float: left;
}

.wrapper .header .title {
  color: #888;
  font-size: 2.875em;
}

.wrapper .content {
  height: auto;
  margin-top: 1.5em;
  width: 100%;
  float: left;
}
.wrapper .content .info p {
  color: #888;
  font-size: 1.25em;
}
.wrapper .content .button {
  margin: 1.5em auto;
}

.wrapper .footer {
  height: auto;
  margin-top: 1em;
  width: 100%;
  float: left;
  bottom: 1em;
  position: absolute;
  font-size: .9rem;
}
.wrapper .footer .link {
  color: #aaa;
  text-decoration: none;
}
.wrapper .footer .link:hover {
  color: #aaa;
}
.wrapper .footer .link:hover:after {
  color: #aaa;
}
.wrapper .footer .link:not(:last-child):after {
  content: ' - ';
  font-weight: bold;
  color: #aaa;
}
.btn {
  margin-bottom: 1em;
  display: inline-block;
  margin: auto .5em;
  padding: .5em 1.2em;
  border: .1em solid;
  border-radius: 5px;
  color: #bbb;
  text-decoration: none;
  background-color: rgba(0,0,0,.7);
}

.btn.genBtn{
	background-color: rgba(255,255,255,.0);
}
.btn:hover.genBtn:hover, .lblSpn:hover{
  border-color: #333;
  color: #333;
}

.btn:hover{
  border-color: #ddd;
  color: #ddd;
}

@media all and (max-width: 40em) {
  html, body {
    font-size: .85rem;
    line-height: 22px;
  }
}

@media all and (max-width: 60em) {
  html, body {
    font-size: .9rem;
    line-height: 24px;
  }
}

label {
	margin-top:9px;
	display: inline-block; 
	text-align: center;
}

option, select {
	background-color: #eee;
	color: #888;
	margin: 0.3em;
}

input[type="checkbox"] {
	display: none; /* visibility: hidden works too */
}

:checked + span {
   font-weight: bold;
   background-color: rgba(255,255,255,.5);
}

span.lblSpn{
	
	border:0.1em solid #888;
	padding:8px;
	border-radius: 4px;
}

select, textarea, input[type="text"]{
	border:0.15em solid #888;
	border-radius: 5px;
	padding:8px;
	background-color: rgba(255,255,255,.1);
}

select {
	height: 100%;
}

span.lblSpn :hover {
 background:#eee;
 cursor:pointer;
}

textarea, input[type="text"]{
	display: inline-block; 
	width:90%;
	margin: 0 auto;
	text-align: center;
}

table:not(.ab_rung){
	margin: 0 auto;
}table.ab_rung {		padding-bottom: 10px;		border-bottom: 1px solid rgba(0,0,0,.1);		}
input:invalid {
  background-color: pink;
}
div.full-width{
	width:100%;
	padding: 0.5em 0.5em;
}
input.gen{
	height: 34px;
	font-size: 150%;
}
input#get{
	width:100%;
}
tr.tr_clone td {
	margin-top: 0.6em;
}
th {
	font-size: 110%;
	font-weight: 600;
}
li {
	text-align: left;
}
.error{
	color:red;
}
#stats-table th, #stats-table td{
	padding: 0 0.5em;
}
#output{
	margin-top: 0.3em;
}
#desc{
	font-size: 1.15em;
	max-width: 600px;
	margin: 1em auto 0 auto;
}
#result-container{
	margin: 1em;
}
.overLimit{
	background-color: rgba(255,0,0,.07);
	border: 0.1em solid rgba(255,0,0,.2);	
	border-radius: 5px;
}
.search-wrapper {
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top:3em;
    right:3em;
}
.search-wrapper.active {}

.search-wrapper .input-holder {
    overflow: hidden;
    height: 70px;
    background: rgba(255,255,255,0);
    border-radius:6px;
    position: relative;
    width:70px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.search-wrapper.active .input-holder {
    border-radius: 50px;
    width:450px;
    background: rgba(0, 0, 0, 0.5);
    -webkit-transition: all .5s cubic-bezier(0.000, 0.105, 0.035, 1.570);
    -moz-transition: all .5s cubic-bezier(0.000, 0.105, 0.035, 1.570);
    transition: all .5s cubic-bezier(0.000, 0.105, 0.035, 1.570);
}

.search-wrapper .input-holder .search-input {
    width:100%;
    height: 50px;
    padding:0px 70px 0 20px;
    opacity: 0;
    position: absolute;
    top:0px;
    left:0px;
    background: transparent;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border:none;
    outline:none;
    font-family:"Open Sans", Arial, Verdana;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color:#FFF;
    -webkit-transform: translate(0, 60px);
    -moz-transform: translate(0, 60px);
    transform: translate(0, 60px);
    -webkit-transition: all .3s cubic-bezier(0.000, 0.105, 0.035, 1.570);
    -moz-transition: all .3s cubic-bezier(0.000, 0.105, 0.035, 1.570);
    transition: all .3s cubic-bezier(0.000, 0.105, 0.035, 1.570);

    -webkit-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    transition-delay: 0.3s;
}
.search-wrapper.active .input-holder .search-input {
    opacity: 1;
    -webkit-transform: translate(0, 10px);
    -moz-transform: translate(0, 10px);
    transform: translate(0, 10px);
}

.search-wrapper .input-holder .search-icon {
    width:70px;
    height:70px;
    border:none;
    border-radius:6px;
    background: #FFF;
    padding:0px;
    outline:none;
    position: relative;
    z-index: 2;
    float:right;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.search-wrapper.active .input-holder .search-icon {
    width: 50px;
    height:50px;
    margin: 10px;
    border-radius: 30px;
}
.search-wrapper .input-holder .search-icon span {
    width:22px;
    height:22px;
    display: inline-block;
    vertical-align: middle;
    position:relative;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all .4s cubic-bezier(0.650, -0.600, 0.240, 1.650);
    -moz-transition: all .4s cubic-bezier(0.650, -0.600, 0.240, 1.650);
    transition: all .4s cubic-bezier(0.650, -0.600, 0.240, 1.650);

}

.search-wrapper .input-holder .search-icon span::before, .search-wrapper .input-holder .search-icon span::after {
    position: absolute;
    content:'';
}
.search-wrapper .input-holder .search-icon span::before {
    width: 4px;
    height: 11px;
    left: 9px;
    top: 18px;
    border-radius: 2px;
    background: #888;
}
.search-wrapper .input-holder .search-icon span::after {
    width: 14px;
    height: 14px;
    left: 0px;
    top: 0px;
    border-radius: 16px;
    border: 4px solid #888;
}

.search-wrapper .close {
    position: absolute;
    z-index: 1;
    top:24px;
    right:20px;
    width:25px;
    height:25px;
    cursor: pointer;
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    transform: rotate(-180deg);
    -webkit-transition: all .3s cubic-bezier(0.285, -0.450, 0.935, 0.110);
    -moz-transition: all .3s cubic-bezier(0.285, -0.450, 0.935, 0.110);
    transition: all .3s cubic-bezier(0.285, -0.450, 0.935, 0.110);
    -webkit-transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
.search-wrapper.active .close {
    right:-50px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all .6s cubic-bezier(0.000, 0.105, 0.035, 1.570);
    -moz-transition: all .6s cubic-bezier(0.000, 0.105, 0.035, 1.570);
    transition: all .6s cubic-bezier(0.000, 0.105, 0.035, 1.570);
    -webkit-transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    transition-delay: 0.5s;
}
.search-wrapper .close::before, .search-wrapper .close::after {
    position:absolute;
    content:'';
    background: #111;
    border-radius: 2px;
}
.search-wrapper .close::before {
    width: 5px;
    height: 25px;
    left: 10px;
    top: 0px;
}
.search-wrapper .close::after {
    width: 25px;
    height: 5px;
    left: 0px;
    top: 10px;
}
.search-wrapper .result-container {
    width: 100%;
    position: absolute;
    top:80px;
    left:0px;
    text-align: center;
    font-family: "Open Sans", Arial, Verdana;
    font-size: 14px;
    display:none;
    color:#eee;
}


@media screen and (max-width: 560px) {
    .search-wrapper.active .input-holder {width:200px;}
}

.overLimitTxt {
	color:red;
}

#ab-instructions {
	margin-top: 1em;
}