.form{
    background: #ffffff;
    border-radius: 2px;
    border:1px solid #e3e3e3;
    background: -moz-linear-gradient(top, #ffffff 0%, #e3e3e3 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e3e3e3));
    background: -webkit-linear-gradient(top, #ffffff 0%,#e3e3e3 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#e3e3e3 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#e3e3e3 100%);
    background: linear-gradient(to bottom, #ffffff 0%,#e3e3e3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e3e3e3',GradientType=0 );
    padding-bottom: 15px;
    max-width: 800px;
    margin: 0 auto;
}
.form > div{
    padding: 7px 13px 0;
    margin-bottom: 3px;
}
.form > div > div{
    padding: 3px 0 0;
}
.form > div > div > div{
    padding-top: 2px;
}
.form label span.starrequired{
    color: red;
    font-size: 12px;
    margin-left: 2px;
}
.form select,
.form input[type='text'],
.form textarea{
    background: #fff;
    border: 1px solid #c1c5c8;
    border-radius: 2px;
    color: #000;
    box-sizing: border-box;
    box-shadow: inset 2px 2px 2px -1px rgba(180,188,191,0.5);
    display: inline-block;
    outline: none;
    font-size: 14px;
    padding: 6px 8px;
    margin-bottom: 3px;
    width: 100%;
}
.form input[type='file']{
    width: 100%;
}
.form textarea{
    resize: vertical;
}
.form .field-error input, .form .field-error textarea, .form .field-error select{
    border-color:red;
}
.field-error__text{
    color: #fff;
    background: #0099CC;
    padding:2px 8px;
    font-size: 13px;
    position: relative;
    margin-top: 4px;
}
.field-error__text:before{
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width:7px;
    border-color: transparent transparent #0099CC;
    position: absolute;
    top: 0;
    left: 50%;
    margin:-14px 0 0 -7px;
}
.form table{
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
}
.form table td{
    vertical-align: top;
    padding: 7px 13px 5px;
}
.form table td:first-child{
    width: 40%;
    font-size: 15px;
}
.form table td[colspan]{
    text-align: center;
}

.g180,
.g128{display: none;}
.group-row.visible{display: table-row;}
.form-block-title{
    font-weight: bold;
    text-align: left !important;
    padding-top: 16px !important;
}
@media screen and (max-width:600px){
    .form table td{
        display: block;
        padding-bottom: 0;
    }
    .form table td:first-child{
        width:auto;
    }
}