input, textarea, select, button, .button
{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

fieldset
{
    border: 0 none;
    margin: 10px 0 !important;
    padding: 0;
}

fieldset:first-child
{
    margin-top: 0;

}

input, 
textarea, 
select
{
    outline: none;
    -moz-outline: none;
    padding: 5px;
    display: inline-block;
    border: 1px solid #001825;
    border-radius: 1px;
    box-shadow: 0 0 0 #fff;
    line-height: 40px;
    height: 42px;
    *display: inline;
    *zoom: 1;
    background-color: #EFECEA;
}

select
{
    padding: 12px 8px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAQCAYAAABQrvyxAAAAPklEQVR42mNgGAUDDSRU/9MFD2lPDOmYGNLJaUjniSGdsYd06TSki9ghXU8M6cpuSNfYQ7rZMaTbTqOAOgAA+BDgqQvxM64AAAAASUVORK5CYII=);
    background-repeat: no-repeat;
    background-size: auto 8px;
    background-position: right center;
}

select[multiple]
{
    min-height: 7.5rem;
    background-image: none;
}

::-ms-expand
{
    visibility: hidden;
    opacity: 0;
    display: none;
}

input[type="text"], 
select, 
textarea
{
    display: block;
    width: 100%;
    box-shadow: 0px 1px 2px RGBA(0,0,0,0.1) inset;
}

.input.mandatory label:after
{
    font-size: 85%;
    opacity: 0.8;
    content: "  (Required)";
}

optional label:after
{
    font-size: 85%;
    opacity: 0.8;
    content: "  (Optional)";
}

select, input[type="file"] 
{
    height: 42px;
    line-height: normal;
    display: block;
}


textarea
{
    resize: vertical;
    height: 6em;
    min-height: 4em;
    line-height: 1.3em;
    display: block;
    width: 100%;
}

input:focus, 
textarea:focus, 
select:focus,
form .input 
input:focus+a.button
{
    border: 1px solid #001825;
    outline: none;
    background-color: #fff;
}

form 
{
    padding: 0; 
    margin: 0; 
    display: block; 
}

form label
{
    display: block;
    
    font-weight: 400;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 21px;
    color: #000;
    margin-top: 1em;
}


form.group
{
    padding-top: 6px;
    padding-left: 6px;
}


input[type~="radio"], 
input[type~="checkbox"]
{
    width: auto;
    height: 1.3em;
    display: inline-block;
    border: 0;
    box-shadow: none;
    padding: 0;
    vertical-align: text-bottom;
}


button, 
.button
{
    background: #001825;
    border-radius: 1px;
    color: #fff;
    border: 0;
    display: inline-block;
    font-family: inherit;
    font-weight: 400;
    height: 42px;
line-height: normal;
padding: 0 1rem;

}

a.button{
    line-height: 42px; padding: 0 1em;
}

.button:hover, 
button:hover
{
    text-decoration: none;
    z-index: 200;
    background-color: #E27A89;
    color: #fff;
}

.button:active, 
button:active
{
    text-decoration: none;
    box-shadow: 0px 5px 10px RGBA(0,0,0,0.2) inset,
                0px -1px 2px RGBA(0,0,0,0.2) inset;
}

.buttons
{
    text-align: center;
}

form#searchBar
{
    padding-bottom: 0.5em;
}

form#searchBar td
{
    vertical-align: bottom;
    padding-left: 0.5em;
}

form#searchBar td:first-child
{
    padding-left: 0;
}

form#searchBar button
{
    display: block;
    width: 100%;
}


.htmlform
{
padding: 1em;
background: #EFECEA;
border: 1px solid #001825;
box-shadow: 0px 0px 0px 1px #fff inset;
text-shadow: 0px 1px 0px #fff;
}

.htmlform-title
{
    font-size: 166%;
    font-weight: 300;
    color: #001825;
}

.htmlform>fieldset:first-child
{
    margin-top: 0 !important;
}


.htmlform>fieldset.submit
{
    margin-top: 0 !important;
}

.htmlform .form-field
{
    margin: 0.75em 0;
}

.htmlform .checkbox-label
{
    font-weight: 400;
    display: block;
    line-height: 1.4em;
    margin: 0.5em 0;
    padding-left: 0em;
}

.htmlform .helptext
{
    display: block;
    font-weight: 400;
    color: #777;
    font-size: 90%;
    margin-bottom: 0.2em;
}

.htmlform input[type="checkbox"]:checked + span
{
    color: #000;
	font-weight: 700;
}

.htmlform-validation-failed input
{
	background-color: #ffeeee;
}

a.button.square,
button.square
{
    height: auto;
    text-align: center;
    line-height: 1.5;
    display: block;
    width: 100%;
    padding: 1em 0;
}

a.button.square i,
button.square i
{
    font-size: 200%;
}

div.contentRegion+.htmlform
{
    margin-top: 1.5em;
}

div.capcha label
{
    margin-top: 0;
}

div.capcha
{
    margin-top: 1em;
}

#searchBar .row,.searchForm .row
{
    margin-left: -0.25rem;
    margin-right: -0.25rem;
}

#searchBar  .row>.column, .searchForm .row>.column
{
    padding: 0 0.25rem;
    margin-bottom: 0.5em;
}

#searchBar button, .searchForm button
{
    margin-top: 21px;
    display: block;
    width: 100%;
}

#searchBar label, .searchForm label
{
    margin-top: 0;
}

select[multiple]
{
    min-height: 9em;
}

#bsrPanel ul.tabs
{
    font-size: 125%;
    margin-top: 0;
}

[data-template-id="21"] form.htmlform
{
    padding: 0;
    background: transparent;
    border: 0;
    margin-top: 2rem;
    max-width: 600px;
}