.tools .icon-save 
{
	line-height: 29px;
}

.tools button {
    background: #1d5998 none repeat scroll 0 0;
    border-radius: 100%;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    width: 35px;
    border:none;
}



/* to bottom align within a row */
.myrow {
    font-size: 0;
}
.myrow > * {
    float: none;
    display: inline-block;
    font-size: 14px; /* if using LESS it's quicker to just use @font-size-base */
    vertical-align: bottom;
}
.myrow > *:last-child {
    vertical-align: bottom;
}
.myrow p:last-child {
    margin-bottom: 0; /* optional */
}

/* don't let placeholder text turn error color */
.error *::-moz-placeholder {
    color: #9aa0a4;
    font-style: italic;
}

.error *::-webkit-input-placeholder {
    color: #9aa0a4;
    font-style: italic;
}

.error *:-ms-input-placeholder {
    color: #9aa0a4;
    font-style: italic;
}


.error .error-msg{display:none;}
/*order of validation rules is VERY important */
/* STEP 1 */
.postback .error input[type="text"],
.postback .error input[type="email"],
.postback .error input[type="password"],
.postback .error textarea,
.postback .error div.multi,
.postback .error .jcf-select {
    border-left: 2px solid #f00;
}

.postback .error div.bit{
    border-left: 2px solid #f00;
    padding-left:5px;
}

.postback .error .error-msg{color: #f00;display:block; text-align:left;}

/* for wrapping things */
.postback .error .error-div{padding-left:5px; border-left: 2px solid #f00;display:block;}
.postback .error .error-div-iframe{padding-left:5px; border-left: 2px solid #f00;display:block;}

/*STEP 2 ajax_save no show validation */
.ajax_save .error input[type="text"],
.ajax_save .error input[type="email"],
.ajax_save .error input[type="password"],
.ajax_save .error textarea,
.ajax_save .error .jcf-select{
    border-left: 1px solid #dfe1df;
}

.ajax_save .error div.multi{
    border-left: none;}

.ajax_save .error div.bit {
    border-left: none;
}

.ajax_save .error .error-msg{display:none;}

/* for wrapping things */
.ajax_save .error .error-div{display:none;}
.ajax_save .error .error-div-iframe{padding-left: 0px;display: block;border-left: none;}

/* STEP 3 */
.fixed_save .error input[type="text"],
.fixed_save .error input[type="email"],
.fixed_save .error input[type="password"],
.fixed_save .error textarea,
.fixed_save .error .jcf-select{
    border-left: 2px solid #f00;
}

.fixed_save .error .error-msg{color: #f00;display:block;}

/* for wrapping things */
.fixed_save .error .error-div{padding-left:5px; border-left: 2px solid #f00;display:block;}
.fixed_save .error .error-div-iframe{padding-left:5px; border-left: 2px solid #f00;display:block;}


/* I copied this from Stephen's read-only guide - it was in Bootstrap.css but not in ours ??? */
button[disabled],
html input[disabled],
textarea[disabled] {
  cursor: default;
  background: #fff;
  padding: 8px 0;
  height: auto;
  line-height: 16px;
  border-width: 1px 0 0 0;
}

div.disabled {
	border-top: 1px solid #dfe1df;
	cursor: default;
	line-height: 16px;
	padding: 8px 0;
	overflow-wrap: break-word;
	white-space: pre-line;
}

/* to make div and table sections alike */
.form-section label {
    margin: 0 0 6px 0;
}

textarea {
resize: vertical;
min-height: 65px;
}

.noborder {border-style:none;}

.validationmsg {padding: 0 0 0 15px; font-size:14px; margin-bottom: 15px}


/* in custom.css this is fixed height overflow hidden, but we need to see all the text */
/* in a span of a label for example */
.form-table label{
	height: auto;
	overflow: auto;
	}
	
	
/* below is attempt to separate controls from inputs */
.controls td, .controls div {vertical-align:top;}

.form-table tr.labels td {
    padding-bottom: 0px;
    vertical-align:bottom;}
    
.block .labels {
    margin-bottom: 0px;}
    
.note-block .box-success{
    border: 2px solid #7ab345;
    padding: 12px;
}

.note-block .box-success p {
    line-height: 22px;
    margin: 0;
}

.green {color: #7ab345}
	


*::-moz-placeholder  {
    color: #9aa0a4;
    font-style: italic;
}

*::-webkit-input-placeholder {
    color: #9aa0a4;
    font-style: italic;
}

*:-ms-input-placeholder  {
    color: #9aa0a4;
    font-style: italic;
}


.page-heading 
				{
					font-weight: bold;
					color: #1d5998; 
					font-size: 20px;
					text-transform: none;
					margin: 0 0 24px 0;
				}
				
				.info-text 
				{
					font-size: 15px;
					line-height: 24px;
				}
				/*removed extra .subtitle class styling - it now resides under Resources (header-leftmenu.css)*/
				
.note-block .box-info{
    border: 2px solid #1D5998;
    padding: 12px;
    font-weight: normal;
    font-size: 14px;
}

/* standalone block needs top border */
.block {
    border-width: 1px 1px 1px 1px;
}

.openCloseSectionHolder .block {
    border-width: 0px 1px 1px 1px;
}

.form-section .tools .icon-delete{
	width: 29px;
	height: 29px;
   line-height: 29px;
   margin: 27px 0 0;
}

.form-section tr.controls  .tools .icon-delete 
{
    margin: 5px 0 0;
}

.form-section.add-section{
	border: none;
    margin: -30px -16px 0;
}

.form-table .total-row td {padding-bottom:0}


 .nohover > thead > tr > td.active, .table .nohover > tbody > tr > td.active, .nohover  > tfoot > tr > td.active, .nohover  > thead > tr > th.active, .nohover  > tbody > tr > th.active, .nohover  > tfoot > tr > th.active, .nohover  > thead > tr.active > td, .table > tbody > tr.active > td, .nohover   > tfoot > tr.active > td, .nohover   > thead > tr.active > th, .nohover   > tbody > tr.active > th, .nohover   > tfoot > tr.active > th, .nohover   > thead > tr:hover > td, .nohover   > tbody > tr:hover > td, .nohover   > tfoot > tr:hover > td, .nohover   > tbody > tr:hover > th {
    background-color: white;
}


/* take away all the borders and only add them when there are labels */
div.OneLineOpenCloseSectionHolder div.disabled {border:none;}
div.OneLineOpenCloseSectionHolder table tr:nth-child(2) div.disabled {border-top: 1px solid #dfe1df;}
div.OneLineOpenCloseSectionHolder div > div:last-child > table tr:last-child div.disabled {border-top: 1px solid #dfe1df;}




.jqcounter {text-align: right;}

.popup h2 {text-transform:none;}

.heading-block .number{
	background: #0495CB
}


.jcf-file .jcf-fake-input {
	display: inline-block;
	text-overflow:ellipsis;
	white-space: nowrap;
	vertical-align: top;
	overflow: hidden;
	padding: 0 8px;
	font-size: 13px;
	line-height: 26px;
	height: 26px;
	width: 125px;
	color: #1d5998;
}
.jcf-file .jcf-upload-button {
	/* btn-primary*/
	color: #fff;
background-color: #1d5998;
border-color: #1d5998;
text-transform: uppercase;
font-weight: 700;
letter-spacing: 2px;

	/* btn */
	display: inline-block;
    padding: 8px 20px 8px;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid #1d5998;
        border-top-color: rgb(29, 89, 152);
        border-right-color: rgb(29, 89, 152);
        border-bottom-color: rgb(29, 89, 152);
        border-left-color: rgb(29, 89, 152);
    border-radius: 6px;
    height: auto;
    text-decoration: none;
}

.jcf-file .jcf-fake-input {margin-top:5px;}

.side-label div.disabled 
{
	border-top:none;
	border-left: 1px solid #dfe1df;
	padding-left: 8pt;
	}
	
span.counterNumber + div.disabled {padding-left:3px;}

h3 .tools a.icon-pdf-file, .heading-block .tools a.icon-pdf-file, .info-table .tools a.icon-pdf-file {
    line-height: 40px;
    font-size: 28px;
    text-decoration: none;
}

h3 .tools a.icon-pdf-file {
  margin: -9px -6px 0 4px;
}

.block .jcf-checkbox + label {
    font-weight: normal;
}

.block .table tfoot {
	font-size: inherit;
}