/* !!! html elements */

/* ??? reduce to user area via user class */

input {
 border:solid 1px #CCCCCC;
}

textarea {
 border:solid 1px #CCCCCC;
}

/* !!! additional */

.textAreaWidth {
 width:350px;
}

.inputFullWidth {
 width:350px;
}

.inputHalfWidth {
 width:200px;
}

.inputQuarterWidth {
 width:100px;
}

.formErrorMsg {
    color:#B22222;
    border-bottom:solid 1px #B22222;
    text-align: center;
}

.formessential {
 color: #B22222 !important;
}

.formcomment {
 color: #666666;
 font-size:90%;
}

.attachment {
    font-size: 80%;
}

/* !!! combined  */

.user table {
 width:80%;
 margin-left:10%;
 margin-right:10%;
}

.user .userTableFrameCol {
 width: 50%;
}

.user .topHeightSpacer30px {
 height: 30px;
}

.user .topHeightSpacer50px {
    height: 50px;
}

.advFunctions {
    padding:5px; width:550px; height:200px; border:1px solid #CCCCCC;
    background-color:#f5f3f3;
}

form.newUserForm * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

form.newUserForm > div {
    clear: both;
    overflow: hidden;
    padding: 1px;
    margin: 0 0 10px 0;
}

form.newUserForm > div > label,
legend {
    width: 25%;
    float: left;
    padding-right: 10px;
    text-align: right;
}

form.newUserForm label {
    font-size: 90%;
    color: #666666;
}

form.newUserForm > div > p {
    margin: 0;
    padding: 0;
}

form.newUserForm > div > div {
    margin-left: 25%;
}

p.submitBut, div.submitBut {
    width: 75%;
    text-align: center;
    padding-top: 1em;
}

/*
form.newUserForm label {
 text-wrap: none;
 color: #666666;
 font-size:90%;
}
*/

@media screen and (max-width: 959px) {

    form.newUserForm > div > div {
        margin-left: 0;
    }

    form.newUserForm > div {
        margin: 0 0 15px 0;
    }
    form.newUserForm > div > label,
    legend {
        width: 100%;
        float: none;
        margin: 0 0 5px 0;
    }

    form.newUserForm > div > div {
        margin-left: 0;
    }

    input[type=file],
    input[type=text],
    input[type=email],
    input[type=url],
    input[type=password],
    textarea,
    select {
        width: 100%;
    }

    p.submitBut, div.submitBut {
        width: 100%;
    }

    .advFunctions {
        width: auto;
        height: 100px;
    }

    .user .topHeightSpacer30px {
        display: none;
    }

    .user .topHeightSpacer50px {
        display: none;
    }

    .user .userTableFrameCol {
        display: none;
    }

    .user table {
        width:100%;
        margin-left:0%;
        margin-right:0%;
    }

    .textAreaWidth {
        width:100%;
    }

    .inputFullWidth {
        width:100%;
    }

    .inputHalfWidth {
        width:100%;
    }

    .inputQuarterWidth {
        width:100%;
    }
}
