.pageform{
    width: 100%;
    /*background-color: #E9E9E9;*/
    /*font-size: 16px; /* Primary font size of form. Contained elements' font size are all relative to this setting */
}

.pageform ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2.30em;
}
.pageform ul li {
    display: inline-block;
    width: 30%;
}
.pageform input[type="text"], .pageform textarea{
    width: 95%;
    background: transparent url('../images/input-background.png') 0px 0px no-repeat;
    border: 1px solid #6b1b50;
    padding: 0.4166666666666667em; /* 10px, or 24px x 0.4166666666666667 */
}

.pageform textarea{
    resize:vertical; /* allow vertical resize of textarea */
    /*height: 200px;*/
}


.pageform input:focus, .pageform textarea:focus{
    box-shadow: 0 0 5px gray inset;
}

.pageform input[type="radio"], .pageform input[type="checkbox"]{
    padding: 0;
    width: auto;
    height: auto;
}

.pageform select{
}

.pageform .formcolumn{ /* column div inside form */
    width: 49%;
    float: left;
}

.pageform .formcolumn:first-of-type{
    margin-right: 2%; /* 2% margin after first column */
}

.pageform .formcolumn label, .pageform .formcolumn fieldset{
    font-size: 0.95em;
/*    display: block;*/
    margin-top: 2em;
    margin-bottom: 3px;
    margin-left: 0.25em;
}

.pageform fieldset{
    width: 98%;
}

.pageform .formcolumn label:first-child, .pageform .formcolumn fieldset:first-child{
    margin-top: 0; /* first label or fieldset within each column should not no top margin */
}

.pageform textarea {
    margin-top: 0;
}
.pageform fieldset ul{
    list-type: none;
    margin: 0;
    padding: 0;
}

.pageform fieldset ul li{
    display: inline-block;
    margin-bottom: 5px;
    margin-right: 1em;
}

.pageform div.buttons{
    clear: both;
    text-align: right;
}

.pageform input.button{
    margin-top: 1.5em;
    width: 20%;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 2px;
    background: none;
    background-color: #6b1b50;
    height: 30px;
    color: #fff;
    font-weight: bold;
    padding: 0px 3em;
    text-transform: uppercase;
}

.pageform input.button:active{
}

@media screen and (max-width: 480px){ /* responsive form settings, when window width is 480px or less */

    .pageform{
    }

    .pageform .formcolumn{
        width: 100%;
        float: none;
    }

    .pageform .formcolumn:first-of-type{
        margin-right: 0; /* remove right margin from first form column */
    }

    .pageform .formcolumn:nth-of-type(2){
        padding-top: 2em; /* add padding to top of 2nd form column, so there is a gap between the 1st and 2nd column */
    }

    .pageform select{
        width: 98%;
    }

}