﻿#pageBody p, 
.cke_editable p {
	font-weight: normal;
	padding: 0;
	color: #000;
	line-height: 150%;
	margin-top: 2px;
	margin-bottom: 4px;
}

#pageBody p:empty:after, 
.cke_editable p:empty:after {
	content: "\00a0";
}

#pageBody a:not(.btnb, .btnbsmall),
#pageBody a:not(.btnb, .btnbsmall):visited,
.cke_editable a,
.cke_editable a:visited {
    text-decoration: underline;
    color: var(--maintheme);
    cursor: pointer;
}

#pageBody a:not(.btnb, .btnbsmall):hover,
.cke_editable a:hover {
    color: var(--mainthemelight);
}

#pageBody img,
.cke_editable img {
	border: 0;
	float:none;
}

#pageBody h1,
#pageBody .clsH1,
.cke_editable h1,
.cke_editable .clsH1 {
    padding: 15px 0 10px 0;
    margin: 0;
    font-size: 2em;
    font-weight: normal;
    color: var(--mainthemedark);
}

#pageBody h2,
#pageBody .clsH2,
.cke_editable h2,
.cke_editable .clsH2 {
    margin-bottom: 0px;
    margin-left: 0px;
    font-size: 1.7em;
    font-weight: normal;
    color: var(--mainthemedark);
}

#pageBody h3,
#pageBody .clsH3,
.cke_editable h3,
.cke_editable .clsH3 {
    font-size: 1.4em;
    margin-left: 0px;
    margin-bottom: 0px;
    font-weight: normal;
    color: var(--mainthemedark);
}

#pageBody h4,
#pageBody h5,
#pageBody .clsH4,
.cke_editable h4,
.cke_editable h5,
.cke_editable .clsH4 {
    font-size: 1.2em;
    margin-left: 0px;
    margin-bottom: 0px;
    font-weight: normal;
    color: var(--mainthemedark);
}

#pageBody table label,
.cke_editable table label {
	margin:0;
}

#pageBody ul.plain,
.cke_editable ul.plain {
	list-style-type:none;
}


#pageBody li,
.cke_editable li {
	font-weight: normal;
    padding: 4px 0;
}


/*customFroms*/
#customForm  input {line-height: 24px;}
#customForm  select {height: 32px;}
#customForm  .cf_formInputLabel {
    display: inline-block;
    font-style: italic;
    width: 187px;
    box-sizing:border-box;
    vertical-align: top;
}
#customForm .cf_formInputLabel {
    margin-left:13px;
}
#customForm fieldset {
    width: 700px;
}
#customForm fieldset .cf_formInputLabel {
    margin-left:0;
}
#customForm .cf_formInputField {
    display: inline-block;
    margin-bottom: 2px;
    box-sizing:border-box;
    max-width:500px;
	width:100%;
}
#customForm .cf_formSectionLeft {
    width: 100%;
    float: left;
    margin-bottom: 1em;
}

.cf_formDescription:empty{display:none;}
.cf_formDescription {
    width: calc(100% - 50px);
    overflow-wrap: break-word;
    background-color: var(--lightorange);
    font-weight: 600;
    display: inline-block;
    padding: 5px 20px;
    border: solid 1px lightgrey;
    box-shadow: lightgrey 1px 1px;
    margin-bottom: 10px;
}

.cf_groupedControls {
    border:solid 1px lightgray;
    margin: 0 2px 10px 2px;
    padding: 4px 10px;
}
.cf_groupedControls legend {
    font-size: 1.2em;
    padding: 0 10px;
    color: var(--mainthemedark);
}
.cf_sectionHeading {
    display: inline-block;
    width:100%;
    font-weight: bold;
    border-bottom: 2px solid gray;
    margin-bottom: 5px;  
	margin-top: 5px; 
}
#customForm .cf_inputRow {
    line-height:24px;
}
#customForm input[readonly],textarea[readonly]
{
    border:none;
    resize: none;
}

#customForm a
{
    text-decoration: none!important;
}

#customForm  .validation{
    font-style: italic;
    color: var(--red);
}
#customForm .ui-autocomplete {
    max-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    line-height: 25px;
    border:1px solid grey;
    box-shadow: 0 0 1px 1px rgba(2,116,186,0.8);
}
#customForm .ui-autocomplete .ui-menu-item{
    padding-left: 5px;
    padding-left: 5px;
}

#customForm #lblInfo {
    width: calc(100% - 50px);
    padding-left: 3px;
    color: var(--white);
    background: #0274ba;
    display: inline-block;
    line-height: 24px;
    font-weight: bold;
    padding: 2px;
}

.cf_fieldDescription{
    font-style:italic;
    color:var(--gray);
    display: block;
}

.cf_section:has(.cf_sectionContent:empty) {
    display: none;
}