@font-face {
  font-family: 'URW Form Bold';
  src: url('fonts/URWForm-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'URW Form Regular';
  src: url('fonts/URWForm-Regular.woff2') format('woff2');
}


html, body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #efefef;
  scroll-behavior:smooth;
}

.bodycontainer {
  min-height: 100vh;
}

header {
    padding-top: 1rem;
}





.mainbody{
    padding: 1em;
    min-height: 100%;
    
}




h1, h2, h3, h4, h5, h6 {
  font-family: 'URW Form Bold', sans-serif;
  color: #304C5A;
}

h1{
  margin-top: 0em;
}

h1.title{
  color: #fff !important;
  font-family: 'URW Form Bold', sans-serif;
  font-size: 1.5rem;
  text-align: center;
  padding-top: 1.5rem;
  
}

h2 {
  text-align: center;
}

h3 {
    margin: 1em;
    text-align: left;
}

h4 {
    text-align: left;
}


img {
  padding: 1px;
  max-width: 100%;
  width: auto;
  
}

@media screen and (max-width: 599px) {
  .imgIcon {
	  padding: 1px;
	  max-width: 30%;
	  width: auto;
  }
}

.radio {
    display: inline;
    padding-right: 20px;
}

.numinput {
    display: inline;
    
}

input.numinput {
    width: 30%;
}



#validation-container {
  border: 1px solid;
  border-radius: 0px;
  border-color: #D53C1B;
  background-color: #FFE1DB;
  text-align: center;
}
/*This controls the BG of the calculator*/
#page-container {
  /*background-color: #4ddceb;*/
  background-color: rgba(255,255,255, 0.96);
  /*background-color: rgba(255, 255, 255, 1);*/
  border: 1px solid;
  border-color: #304c5a;
  border-radius: 0px;
  padding: 25px;

}


input[type="number"] {
  border-radius: 5px;
  outline: none;
}

input[type="range"] {
  border-radius: 50px;
  outline: none;
}

p {
    font-size: 0.9em;
}

p, label {
  font-family: 'URW Form Regular', sans-serif;
  color: #304C5A;
}

p a {
  color: #1f2e50;
  font-weight: 700;
}

p a:hover {
  color: #798296;
}

p.small {
    font-size: 14px;
}

small {
  font-family: 'URW Form Regular', sans-serif;
  color: #1f2e50;
}

hr {
  background-color: white;
  height: 1px;
  width: 75%;
  margin: 2em auto;
  border: 0;
}

.mt {
  margin-top: 2em;
  background: #304c5a;
  height: 40px;
}


.p-t-1 {
  padding-top: 1em;
}

.p-b-1 {
  padding-bottom: 1em;
}

.dk-blue {
  background-color: #304C5A;
  color: #fff;
}

.dk-white {
  background-color: #ffffff;
  color: #fff;
}

.red {
    color: #e1523e;
}

.row.prod {
    border-top: 1px solid #eaeaea;
    border-left: 5px solid #fff;
}

.row.prodlast {
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.fa-circle-info.block, .fa-circle-exclamation.block {
    display: block !important;
    margin: auto !important;
    line-height: 2em;
    color: #304c5a;
}

.alert.info {
    border-left-color: #3ccbda;
    background-color: #d0f3f6;
}

.alert.warn {
    border-left-color: #e1523e;
    background-color: #f9dbd7;
}


.row.prod.alert.warn {
    margin: 0 -8px;
    padding: 0 !important;
}


.formheader label,
.formbody label {
    font-family: 'URW Form Regular', sans-serif;
    
}

.formheader label {
    font-weight: 900;
    font-size: 0.9rem;
}

.formheader input, 
.formbody input,
.formbody select {
    border: 1px solid silver;
    color: #304c5a;
    border-radius: 5px;
}

.formbody .input-group input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.formbody .input-group span {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 0.75em;
}

.formheader textarea {
    border: 1px solid silver;
    color: #304c5a;
    border-radius: 5px;
    background: #fff;

}

.formheader input:focus, 
.formbody input:focus,
.formbody select:focus,
.formheader textarea:focus,
.formend input:focus {
    outline-width: 1px;
    outline-color: #47a23f;
}

.formbody input[type="number"]:focus {
    border-width: 1px;
    border-color: #47a23f;
}

.formbody h4 {
    margin: 0;
    font-size: 0.9rem
}

.formbody p {
    font-size: 0.8rem;
}

.formbody label {
    font-size: 0.7rem;
    font-weight: 600;
}

.white {
    color: #fff;
}

.prodrow {
    margin: 1em 0;
}


.row.topm {
    margin-top: 1rem;
}
.fa-circle-info.block, .fa-circle-exclamation.block {
    text-align: center;
}

footer {
  background-color: #304c5a;
  color: #E5E1E6;
  font-size: 14px;
  width: 100%;
  height: 2.5rem;
    margin-top: 0 !important;

}

footer p, footer small {
  color: #E5E1E6;
}

footer .white {
  color: #fff;
}

footer a {
  color: #E5E1E6;
  text-decoration: none;
}

a.aflink {
  display: block;
  background-color: #1f2e50;
  color: #fff;
  text-decoration: none;
  padding: 1em;
}

a.aflink:hover {
  display: block;
  background-color: #121d37;
  color: #fff;
  text-decoration: none;
  padding: 1em;
}

.imgcontainer {
  position: relative;
  position: relative;
  width: 100%;
}

.imgoverlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #ffffff;
}

.imgcontainer:hover .imgoverlay {
  opacity: 0.2;
}

p span.left {
  text-align: left !important;
}

p span.right {
  text-align: right !important;
}

/*This controls the BG of the main BG*/
.page-cont {
  position: relative;
  min-height: 100vh;
  background-color: #ffffff;

}
.content-wrapper {
  padding-bottom: 2.5rem;
}

a.button {
    background: #41943a;
    display: block;
    color: #fff;
    border: 0px solid;
    display: block;
    margin:0 auto;
    padding: 15px 20px;
    min-width: 35%;
    max-width: 50%;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

a.button:hover {
    background: #304c5a;
}

a.select-button {
    background: #E5E1E6;
    display: block;
    color: #304C5A;
    display: block;
    margin:1em auto;
    padding: 1em;
    width: 100%;
    font-size: 0.8em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
}

a.select-button:hover, a.selected-button {
    background: #47a23f;
    color: #fff;
    display: block;
    display: block;
    margin:1em auto;
    padding: 1em;
    width: 100%;
    font-size: 0.8em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
}

textarea {
    margin: 1em auto;
    background: #E5E1E6;
    border: none;
    border-radius: 5px;
    font-size: 0.8em;
    color: #304C5A;
    font-family: 'URW Form Bold', sans-serif;
}


.pleft {
    text-align: right !important;
}

@media screen and (max-width: 992px) {
    .pleft {
        text-align: center !important;
    }
    
    a.select-button,
    a.select-button:hover,
    a.selected-button {
        margin: 1em auto 0 auto;
    }
    input[type=submit] {
        width: 80%;
    }
}

.results {
    background: #304c5a !important;
    margin-top: 40px;
    padding: 20px;
}

.results h2, .results h3, .results p {
    color: #304c5a;
}

.results h2 {
    padding-bottom: 0;
    margin: 0;
}

.results h3 {
    margin-top: 10px;
}

p.error {
    color: red;
    margin: 0;
    font-size: 14px;
}

input[type=submit] {
    background: #E1523E;
    color: #fff;
    display: block;
    display: block;
    margin:1em auto;
    border: none;
    padding: 1em;
    height: 3rem;
    width: 50%;
    font-weight: bold;
    font-size: 0.8em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: 'URW Form Bold', sans-serif;
}

input[type=submit]:hover {
    background: #47A23F;
    display: block;
    color: #fff;
    display: block;
    margin:1em auto;
    border: none;
    padding: 1em;
    height: 3rem;
    width: 50%;
    font-weight: bold;
    font-size: 0.8em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: 'URW Form Bold', sans-serif;
}




header,
body header .container {
    background: #304C5A;
}

body .container {
    background-color: #fff;
}