form {
   margin-top: 4px;
}
a.title_option {
    font-size: 11px;
    margin-left: 4px;
}

fieldset {
    border: 1px solid #CCCCCC;
}

fieldset a.inline_link {
    margin-left: 8px;
}

fieldset p.readonly {
    font-size: 12px;
    min-width: 14em;
}

fieldset.collapse h2 span {
    display: inline-block;
    height: 15px;
    width: 15px;
    margin-right: 10px;
}
fieldset.collapse h2 {
    background: var(--header-bg);
}
div.selector-chosen h2 {
    background: var(--header-bg);
}
fieldset.collapsed h2 {
    font-weight: 400 !important;
	display: block !important;
}
fieldset.collapsed i.collapse-toggle {
    color: white;
}

fieldset.hide {
    display: none !important;
}

fieldset .field-box {
    float: left;
    margin-right: 13px;
}

fieldset .field-box:nth-child(2) p {
    display: inline-block;
    margin-left: 0;
    min-height: 24px;
}

fieldset .field-box:nth-child(2) label {
    display: inline-block;
    min-width: 8em;
    width: auto;
    line-height: normal;
}

fieldset .related_container {
    max-height: 400px;
    overflow: auto;
}

form .aligned p {
    padding: 3px 10px 0;
	margin-left: 0;
}
.aligned .form-row input {
    margin-bottom: inherit;
}

form p.cert_extensions {
    padding-left: 30px;
}

form p.historylink-box {
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
    position: relative;
    top: 14px;
    left: 10px;
}

form ul.radiolist {
    margin: 0;
}

.radiolist label {
    margin-left: 0;
}
.tabular.inline-related tr td.original {
    display: none;
}
.inline-group {
    margin: 0;
}
.inline-group .tabular tr.has_original td,
.inline-group .tabular td {
    padding: 5px 12px;
}
.inline-group div.add-row, .inline-group .tabular tr.add-row td {
    background: white;
    padding: 8px 5px;
}
h2.title, .inline-group > h2 {
	font-size: 15px;
	padding: 8px 0 4px 12px;
	text-align: left;
	color: var(--header-color);
	font-weight: 400;
	margin: 2px 0;
}

h2.title .tool_sprite {
    margin: 0 5px;
    padding: 0;
}

h3.subtitle {
    border-bottom: 1px solid #EEEEEE;
    padding: 4px 0 4px 12px;
    margin: 0;
}

input.dn {
    width: 40em;
}

label.inline {
    display: inline;
    float: none;
    line-height: 24px;
}

table.ro {
    border: none;
    margin-left: 20px;
    padding: 0;
}

table.ro tbody {
    display: block;
    padding: 10px 0;
}

table.ro td, table.ro th {
    border: none;
    font-size: 12px;
    min-width: 200px;
}

table.ro tr.l2 td:first-child {
    text-indent: 2em;
}

table.ro tr.l3 td:first-child {
    text-indent: 4em;
}

table.formset_tabular {
    width: 100%;
}

table.formset_tabular td, 
table.formset_tabular th {
    line-height: 22px;
    padding: 3px 12px;
}

table.formset_tabular td.actions a {
    padding-left: 5px;
}

table.formset_tabular th.counter,
table.formset_tabular td.counter {
    text-align: center;
}

table.formset_tabular th.counter {
    width: 30px;
}

.fld-addon {
    font-size: 11px;
    color: #444444;
    display: inline-block;
    padding: 0 5px;
}

.form-row {
    padding: 2px 12px;
}


.form-row.highlight {
    background: #FFFFCC;
}

.form-row li {
    list-style-type: none;
}

.form-row p {
    padding-top: 1px;
    padding-bottom: 1px;
    margin-top: 1px;
    margin-bottom: 1px;
}

.form-row p span.tabbed1 {
    margin-left: 2em; 
}

.form-row.level2,
.form-row .level2 {
    padding-left: 30px !important;
}

.form-row.level3,
.form-row .level3 {
    padding-left: 48px;
}

.form-row.level4,
.form-row .level4 {
    padding-left: 66px;
}


.form-row.radio-select ul label.opt {
    display: inline-block;
    width: 10em;
}
.form-row img {
    vertical-align: baseline;
}
.form-row.root_dn img {
    vertical-align: middle;
}
.form-row img.ui-datepicker-trigger {
    vertical-align: middle;
}

.iblock {
    display: inline-block;
}

.s-error {
    vertical-align:middle;
    display:inline-block;
    width:350px;
}

.s-error img {
    padding-right: 5px;
}

.s-error table {
    border: none !important;
}

.s-error table td {
    border: none !important;
    vertical-align: middle;
}
form .aligned ul.errorlist{
    display: block;
}
div .wider label{
	width: 	22em;
}

div .wide label{
	width: 	15em;
}

.selector label {
    width: 16px;
    margin: 0;
}

.submit-row {
    text-align: center;
}

.submit-row input {
    float: none;
}

.submit-row p.deletelink-box {
    float: right;
}

form .aligned ul {
    margin-left: 0;
    padding-left: 0;
    display: inline-block;
}

.wide ul.selector-chooser {
    margin-left: 5px;
}

table.preview {
    border: none;
    margin: 10px 2em;
}

table.preview td,
table.preview th {
    border: none;
}

table.preview th {
    width: 5em;
}

table.preview.wide th {
    width: 15em;
}

table.preview pre {
    margin: 0;
}


/* jQuery UI */
ul.ui-autocomplete {
    background: #EFEFEF;
}

ul.ui-autocomplete li {
    list-style: none;
}

form .aligned .security_token label {
    display: block;
    padding: 3px 10px 0 0;
    float: left;
    
}
form .aligned .ft_200 ul {
    float: left;
    width: 18em;
}

#content .selector label.vCheckboxLabel {
	width: 70px;
}

.aligned .vCheckboxLabel {
    vertical-align: 0;
	padding: 0 0 0 4px !important;
}

.aligned label:not(.vCheckboxLabel):after {
    content: none;
    display: block;
}
fieldset.collapsed {
    border: none;
}

fieldset.collapsed .collapse-toggle {
    background-color: var(--header-bg-collapse);
    display: inline;
    color: var(--header-color);
}

h2 fieldset.collapsed .collapse-toggle {
    background: inherit;
}

input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number],
input[type=tel],
div.iti__selected-dial-code,
textarea, select, .vTextField {
    font-family: Lato, Helvetica,Arial,sans-serif;
    font-size: 12px;
    border-radius: 3px;
	padding: 2px 3px;
}

input[id="id_auth_hsts_expiry"]{
    margin-left: 17px;
}

#content fieldset.module .form-row a.downloadButton {
	padding: 4px;
    color: #008b10;
    background: var(--body-bg);
    border-color: #ccc;
	border-style: solid;
	border-width: 1px;
	border-radius: 4px !important;
	margin: 0;
	font-size: 12px;
	cursor: pointer;
    vertical-align: middle;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial;
    font-weight: normal;
    width: 9em;
    text-align: center;
    transition: 0.3s;
    display: inline-block;
}
#content fieldset.module .form-row a.downloadButton:hover {
	opacity: 0.75;
	background: var(--navbar-hover-background) !important;
	color: #fff !important;
}  
#content fieldset.module .form-row a.downloadButton:active{
	background: #fff;
	position: relative;
    left: 1px;
    top: 1px;
}

.form-row label input[type="checkbox"] {
    vertical-align: middle;
}

/* Checkbox expand button*/
.checkbox-plusMinusIcon {
    display:none;
}

.checkbox-plusMinusIcon + label:before {
    font-family: "FontAwesome";
    font-size: 19px;
    content: "\f055";
    margin-left: 0;
    padding-right: 8px;
    cursor: pointer;
}

.checkbox-plusMinusIcon:checked + label:before {
    content: "\f056";
}

.highlight-field {
    background: #FFFFCC;
    margin-left: -12px;
    padding: 4px 3px 4px 12px;
}

.preview_image img {
    max-width: 70%;
    border-radius: 5px;
    border: 1px solid lightgrey;
}