/**
*** SIMPLE GRID
*** (C) ZACH COLE 2016
**/

/*@import url(https://fonts.googleapis.com/css?family=Lato:400,300,300italic,400italic,700,700italic);*/

/* UNIVERSAL */

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  font-size: 110%;
}

/* ROOT FONT STYLES */

* {
  font-family: 'Lato', Helvetica, sans-serif;
  /*color: #333447;*/
  line-height: 1.5;
}

/* TYPOGRAPHY */

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 0.2em;
}

h3 {
  font-size: 1.275rem;
  margin-bottom: 0.1em;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  font-size: 1.1rem;
  font-weight: 200;
  line-height: 1.4;
}

.smaller {
  font-size: 85%;
}

.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-heavy {
  font-weight: 700;
}

/* POSITIONING */

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.justify {
  text-align: justify;
}

/* ==== GRID SYSTEM ==== */

.container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.row {
  position: relative;
  width: 100%;
}

.row [class^="col"] {
  float: left;
  margin: 0.5rem 2%;
  min-height: 0.125rem;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  width: 96%;
}

.col-1-sm {
  width: 4.33%;
}

.col-2-sm {
  width: 12.66%;
}

.col-3-sm {
  width: 21%;
}

.col-4-sm {
  width: 29.33%;
}

.col-5-sm {
  width: 37.66%;
}

.col-6-sm {
  width: 46%;
}

.col-7-sm {
  width: 54.33%;
}

.col-8-sm {
  width: 62.66%;
}

.col-9-sm {
  width: 71%;
}

.col-10-sm {
  width: 79.33%;
}

.col-11-sm {
  width: 87.66%;
}

.col-12-sm {
  width: 96%;
}

.row::after {
	content: "";
	display: table;
	clear: both;
}

.hidden-sm {
  display: none;
}


#apilimit,
#importlimit {
    font-weight: bold;
    color: red;
    /*text-decoration-style: dashed;
    text-decoration-line: underline;
    text-decoration-color: gray;*/
    border-bottom: 1px dashed gray;

}


/*Fieldset*/
fieldset{
  background: rgb(238,238,238); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(238,238,238,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,238,238,1)), color-stop(100%,rgba(238,238,238,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(238,238,238,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(238,238,238,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(238,238,238,1) 100%); /* IE10+ */
  background: linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(238,238,238,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
  margin:10px 0;
    padding: 5px;
}

legend{
  font-size:15px;
  font-weight:bold;
  border:1px solid #a1a1a1;
  padding:10px;
  background:#ffffff;
}
/*End Fieldset*/

/*Input label*/
label{
  width:220px;
  display: inline-block;
}
fieldset.fieldset_fb label{
    width:180px;
}
fieldset.fieldset_idok label{
    width:120px;
}
/*End input label*/

/*Submit Button Styles*/
button{
  padding:10px;
    margin-right:20px;
  font-weight:bold;
  font-size:20px;
  background-color: limegreen;
}
button:hover{
  background:#eee;
  cursor:pointer;
}
/*End Submit Button*/

/*Input types*/
/*input[type="text"]{
  width:300px;
}*/
fieldset.fieldset_fb input {
    width:220px;
}
fieldset.fieldset_idok input {
    width:270px;
}
input[type="checkbox"] + label {
  width:90%;
}

input[type="checkbox"] {
  vertical-align: text-top;
}

fieldset.results p,
fieldset.results ul {
  font-size:80%;
  margin: 4px 3px 4px 3px;
}

.showResults {
  font-weight:bold;
  color: blue;
}
.inline {
  display: inline;
}

/*
input:focus{
  border: 2px solid #29b8e5;
  width:300px;
  -webkit-transition: width 300ms linear;
  -moz-transition: width 300ms linear;
  -o-transition: width 300ms linear;
  transition: width 300ms linear;
}*/
/*End Input Types*/





@media only screen and (min-width: 33.75em) {  /* 540px */
  .container {
    width: 80%;
  }
}

@media only screen and (min-width: 45em) {  /* 720px */
  .col-1 {
    width: 4.33%;
  }

  .col-2 {
    width: 12.66%;
  }

  .col-3 {
    width: 21%;
  }

  .col-4 {
    width: 29.33%;
  }

  .col-5 {
    width: 37.66%;
  }

  .col-6 {
    width: 46%;
  }

  .col-7 {
    width: 54.33%;
  }

  .col-8 {
    width: 62.66%;
  }

  .col-9 {
    width: 71%;
  }

  .col-10 {
    width: 79.33%;
  }

  .col-11 {
    width: 87.66%;
  }

  .col-12 {
    width: 96%;
  }

  .hidden-sm {
    display: block;
  }
}

@media only screen and (min-width: 60em) { /* 960px */
  .container {
    width: 75%;
    max-width: 60rem;
  }
}
