.af_file-image--container {
	padding-top: 20px;
}

.af_form input[type=submit],
.af_form input[type=button],
.af_form input[type=text],
.af_form input[type=tel],
.af_form input[type=email],
.af_form input[type=date],
.af_form input[type=number],
.af_form textarea,
.af_form label {
	font-family: "Open Sans", sans-serif;
	font-size: 18px;
	color: #1b0404;
}
.af_form label {
	display:block;
	margin-bottom: 10px;
}
.af_form label > span{
	display: inline-block;
	float: left;
	width: 250px;
}
.af_form label > span.af_help{
	display: inline-block;
	float: right;
	width: 24px;
}
p.af_tabbed-form-item__help
{
	margin-bottom: 0px;
}
.af_form input[type=text],
.af_form input[type=tel],
.af_form input[type=date],
.af_form input[type=email], 
.af_form input[type=number] 
{
	background: #f4f4f4;
	border: none;
	border-bottom: 1px dashed rgb(96, 96, 96);
	width: 450px;
	outline: none;
	padding: 0px 0px 0px 0px;
}
.af_form textarea{
	background: #f4f4f4;
	padding: 0px 0px 0px 0px;
	outline: none;
	border-bottom: 1px dashed rgb(96, 96, 96);
	width: 450px;
	overflow: scroll;
	height:200px;
}
.af_form input:disabled,
.af_form .af_form textarea:disabled
{
	background-color: rgb(177, 177, 177);
	cursor: not-allowed;
}

.af_form--wordcount-wrapper
{
	text-align: right;
    width: calc(100% - 30px);
	margin-right: 6px;
	font-size: 16px;
	margin-bottom: 20px;
}

.af_form textarea:focus, 
.af_form input[type=text]:focus,
.af_form input[type=email]:focus,
.af_form input[type=email] :focus,
.af_form input[type=date] :focus, 
.af_form input[type=number]:focus
{
	background: #ffffff;
	box-shadow: 0 0 3px 0 rgb(133, 247, 131);
	--formfieldbordercolor: rgb(133, 247, 131);
}
textarea.af_form--full-width
{
    width: calc(100% - 30px);
	margin-right: 6px;
}
textarea.af_form--full-width-nohelp
{
    width: 100%;
}

.af_form_submit
{
    padding-bottom: 5px;
}
.af_form_submit--admin
{
	margin-right: 96px;
}

.af_form input[type=submit]{
    float: right;
}

.af_form input[type=submit],
.af_form input[type=button]{
	background: rgb(225, 156, 27);
	border: none;
	padding: 8px 10px 8px 10px;
	border-radius: 5px;
	color: #1f2226;
}
.af_form input[type=submit]:hover,
.af_form input[type=button]:hover{
    background: rgb(224, 185, 114);
}

input {
	border: none;
	border-bottom: 1px dashed rgb(225, 156, 27);
}

.af_form input.af_master_submit[type=submit]{
    float: none;
	background: rgb(133, 247, 131);
}
.af_form input.af_master_submit[type=submit]:hover{
	background: rgb(133, 247, 131);
}

.custom-file-container__image-preview {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.af_file-image--container {
	max-width: 10%;
	position: relative;
	background: white;
	padding: 10px;
	margin: 2px;
}

.af_rotate-right {
	transform: rotate(2deg);
}

.af_rotate-left {
	transform: rotate(357deg);
}

.af_file-image--container > img,
.af_file-image--container > a > img {
	max-width: 100%;
	height: auto;
}

.af_file-delete {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 16px;
	height: 16px;
	border-radius: 8px;
	background: black;
	color: white;
	line-height: 1;
}

.af_image-filename {
	width : 100%;
	background: white;
	color: black;
	text-align: center;;
}

.af_form textarea.af_warning,
.af_form input.af_warning,
.af_form textarea.af_error--soft,
.af_form input.af_error--soft
{
	border: 2px solid rgb(225, 156, 27) !important;
}

.af_form textarea.af_error,
.af_form input.af_error,
.af_tabbed-form-tab.af_error
{
	border: 2px solid rgb(255, 1, 1) !important;
}

.af_form-errors
{
	padding: 6px;
	margin: 6px 0;
	border: 1px solid rgb(255, 1, 1);
	background: rgb(239, 189, 189);
	border-radius: 6px;
	color: black;
	text-align: center;
	display: none;
}

.af_showPanel
{
	display: block;
}

.clearfix::after {
	content: "";
	clear: both;
	display: table;
}

hr.af-hr {
	color: rgb(225, 156, 27);
}

.casenote__container
{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	max-height: 350px;
}
.casenote__history
{
	font-size: 1.1em;
	flex-grow: 1;
	overflow-y: scroll;
	border: 1px solid lightgray;
	margin: 2px;
}
textarea.casenote__input
{
	height: auto;
}









.cf:before,.cf:after{content:"";display:table}.cf:after{clear:both}.cf{zoom:1}

.af_all-status {
	padding-bottom: 20px;
}

.af_exb-button {
    float: left;
}
.af_exb-button input {
    display: none;
}
.af_exb-button label {
    background: #ccc;
    border: 1px solid #888;
    color: #666;
    padding: 5px 10px;
}
.af_exb-button label:hover {
    background-color: #ddd;
}
.af_exb-button label:active,
.af_exb-button input:focus + label {
    background-color: #aaa;
}
.af_exb-button input:checked + label {
    background-color: #b4b4b4;
}

.af_exb-button label {
    background-color: #f5f5f5;
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
    background-image: linear-gradient(top, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border: 1px solid #cccccc;
    border-bottom-color: #b3b3b3;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #333333;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 0;
    margin-left: -1px;
    padding: 4px 10px;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
}
.af_exb-button label:hover {
    background-color: #e6e6e6;
    background-position: 0 -15px;
    color: #333333;
    text-decoration: none;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -ms-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}
.af_exb-button label:active,
.af_exb-button input:focus + label {
    background-color: #d9d9d9;
    background-image: none;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    outline: 0;
}

.af_exb-button input:checked + label {
    -webkit-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15), 0 1px 2px  rgba(0, 0, 0, 0.05);
}
.af_exb-button-invited input:checked + label {
    background: #a1bdf1;
}
.af_exb-button-applied input:checked + label {
    background: #f8de8a;
}
.af_exb-button-funded input:checked + label,
label.magic-selection {
    background: #97edc6;
}
.af_exb-button-rejected input:checked + label {
    background: #e893b4;
}
.af_exb-button-completed input:checked + label {
    background: #b9b9b9;
}
.af_exb-button:first-child label {
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-bottom-left-radius: 4px;
  margin-left: 0;
}
.af_exb-button:last-child label {
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  border-bottom-right-radius: 4px;
}
label.magic-selection
{
  cursor: not-allowed;
}


.af-form-table label
{
	max-width: 1250px;
}
.af-form-table input.af-table-cell
{
	max-width: 100px;
	text-align: right;
}
.af-form-table input.af-table-cell--js
{
	max-width: 100px;
	text-align: right;
	margin-right: 5px;
}
.af-form-table .af-year-header
{
	max-width: 110px;
}
.af-form-table input.af-table-cell--name
{
	max-width: 240px;
	margin-right: 10px;
	text-align: left;
}
.af_delete-row-trigger
{
	background-color: rgb(244, 141, 68);
	padding: 0 5px;
	border-radius: 4px;
}


form.af_inline
{
	display: inline-block;
}

/* The switch - the box around the slider */
.af_switch {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 22px;
}

/* Hide default HTML checkbox */
.af_switch input.af_switch-input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.af_slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.af_slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input.af_switch-input:checked + .af_slider {
	background-color: rgb(27, 225, 86);
}

input.af_switch-input:focus + .af_slider {
	box-shadow: 0 0 1px rgb(225, 156, 27);
}

input.af_switch-input:checked + .af_slider:before {
	-webkit-transform: translateX(18px);
	-ms-transform: translateX(18px);
	transform: translateX(18px);
}

.af_slider.af_slider-round
{
	border-radius: 20px;
}

.af_slider.af_slider-round:before
{
	border-radius: 50%;
}

.af_pdf_link
{
	float: right;
}

.af_pdf_link img
{
	width: auto;
	height: 50px;
}
.af_pdf_link img.word
{
	margin-right: 200px;
}