/* Styles used for forms*/
.smart-green {
    margin-left:10px;
    margin-right:auto;

    max-width: 800px;
    background: #F8F8F8;
    padding: 30px 30px 20px 30px;
    font: 14px Arial, Helvetica, sans-serif;
    color: #666;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.smart-green h1 {
    font: 24px "Trebuchet MS", Arial, Helvetica, sans-serif;
    padding: 20px 0px 20px 40px;
    display: block;
    margin: -30px -30px 10px -30px;
    color: #FFF;
    background: #9DC45F;
    text-shadow: 1px 1px 1px #949494;
    border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    border-bottom:1px solid #89AF4C;

}

.smart-green p {
    color: #555;
    height: 30px;
    line-height:15px;
    width: 100%;
    padding: 7px 10px 10px 10px;
    margin-top: 2px;
    border: 1px solid #E5E5E5;
    background: #FBFBFB;
    outline: 0;
    -webkit-box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    font: normal 14px/14px Arial, Helvetica, sans-serif;
}

.smart-green h1>span {
    display: block;
    font-size: 11px;
    color: #FFF;
}

.smart-green label {
    display: block;
    margin: 0px 0px 5px;
}
.smart-green label:p {
    margin-top: 10px;
    color: #5E5E5E;
}
.smart-green input[type="text"], .smart-green input[type="email"], .smart-green textarea, .smart-green select {
    color: #555;
    height: 30px;
    line-height:15px;
    width: 100%;
    padding: 0px 0px 0px 10px;
    margin-top: 2px;
    border: 1px solid #E5E5E5;
    background: #FBFBFB;
    outline: 0;
    -webkit-box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    font: normal 14px/14px Arial, Helvetica, sans-serif;
}
.smart-green input[type="number"] {
    display: inline;
    color: #555;
    height: 30px;
    line-height:15px;
    width: 70px;
    padding: 0px 0px 0px 10px;
    margin-top: 2px;
    border: 1px solid #E5E5E5;
    background: #FBFBFB;
    outline: 0;
    -webkit-box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    font: normal 14px/14px Arial, Helvetica, sans-serif;
}
.smart-green textarea{
    height:100px;
    padding-top: 10px;
}
.smart-green select {
/*    background: url('down-arrow.png') no-repeat right, -moz-linear-gradient(top, #FBFBFB 0%, #E9E9E9 100%);
    background: url('down-arrow.png') no-repeat right, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FBFBFB), color-stop(100%,#E9E9E9));*/
   appearance:none;
    -webkit-appearance:none;
   -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width: fit-content;
	padding: 0px 10px 0px 10px;
    height:30px;
}
.smart-green .button {
    background-color: #9DC45F;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-border-radius: 5px;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    text-shadow: 1px 1px 1px #949494;
}
.smart-green .button:hover {
    background-color:#80A24A;
}

input.smartfield:focus {
    outline: 0;
    background: #eee
}

input.smartfield:focus + label {
    outline: 0;
 /*   background: rgb(100, 156, 212);*/
}

input.smartfield:valid { 
    background: url('../images/ASWtick.png');
    background-size: 28px;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
}

input.smartfield:valid + label{
    opacity: 0;
}

input.smartfield:invalid:not(:focus):not(:placeholder-shown){
    background: url('../images/ASWcross.png');
    background-size: 28px;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
}

input.smartfield:invalid:not(:focus):not(:placeholder-shown) + label{
    opacity: 0;
}

input.smartfield:invalid:not(:focus):not(:placeholder-shown) ~ .requirements{
    margin-top: 5px;
    max-height: 200px;
    padding: 5px 10px 5px 20px;
    border-top: 1px dashed #333;
    background-color: lightcoral;
}
   
.requirements {
 padding: 0 30px 0 50px;
 color: #3D3D3C;
 max-height: 0;
 transition: 0.28s;
 overflow: hidden;
 font-style: italic;
 font-size: 1.2em;
}

.field-icon {
    float:inherit;
    margin-left: -22px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
  }
