div.form-container
{
/*
  margin-top:.5rem;
  margin-bottom:.5rem; 
*/ 
}

div.form-container input[type=checkbox] 
{
  margin-right:1rem;transform:scale(2, 2); 
} 

div.form-container input[type=text], div.form-container select, div.form-container textarea 
{
    width: 90% !important;
    padding: .5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

div.form-container label 
{
    padding: .7rem .7rem .7rem 0;
    display: inline-block;
}

/*
div.form-container input[type=submit] 
{
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}

div.form-container input[type=submit]:hover 
{
    background-color: #45a049;
}
*/

div.form-container 
{
/*    border-radius: 5px; */
/*    background-color: #f2f2f2; */
/*    padding: 20px; */
}

div.form-container div.form-col-25 
{
    float: left;
    width: 25%;
    margin-top: .3rem;
    text-align:right;
}

div.form-container div.form-col-75 
{
    float: left;
    width: 75%;
    margin-top: .3rem;
    text-align:left;
}

div.form-container div.form-col-100
{
    margin-top: .3rem;
    text-align:center;
}

/* Clear floats after the columns */
div.form-container div.form-row:after 
{
    content: "";
    display: table;
    clear: both;
}

div.form-container span.error
{
  color:#ff0000; 
/*  background:url(cross.png) 0px -3px no-repeat;  */
  background:url(cross.png) 0px 0px no-repeat; 
  padding-left:25px; 
  padding-top:5px;
  padding-bottom:5px;
/*  vertical-align:text-top; */
}
div.form-container .notice_box 
{
  padding-top:4px;font-weight:bold;
}
div.form-container .notice_box div 
{
  padding:5px 10px 5px 36px; 
  line-height:1.5em;
  border-radius: 6px;
}
div.form-container .alert 
{
  background:url(error.png) 10px 6px no-repeat #fffbcc; 
  color:#666452;
}
div.form-container .success 
{
  background:url(success.png) 10px 6px no-repeat #e5ffce; 
  color:#6a6668;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
div.form-container  div.form-col-25, div.form-container  div.form-col-75, div.form-container  input[type=submit] 
{
    width: 100%;
    margin-top: 0;
    text-align:left;
  }
div.form-container input[type=text], div.form-container textarea 
{
    width: 85% !important; /* room for error icon */
}
}

