:root {
  --link-button-color: #00A4B5;
  --link-color: #008E9D;
  --button-color: #00A4B5;
  --button-hover-color: #008E9D;
  --custom-accent-color: #F39;
}

a,
a:link,
a:visited {
	text-decoration: none;
}

h2,
.infobox > h3 {
	color: var(--custom-accent-color);
}

header h2 {
	text-transform: uppercase;
	color: #aaa;
	font-weight: normal;
}

.home .infobox h2 {
    text-transform: none;
    font-size: 1.2em;
    font-weight: 700;
    border: none;
}

.info a.button {
    margin: 1em 0;
    display: inline-block;
}

/* form */

.submitted {
    background: #226622;
    color: #fff;
    border: 2px solid #005500;
    padding: 1em;
    margin: 1em 0;
}

form label.error {
	width: auto;
	padding: 3px;
}

form input {
	padding: 3px;
}

form input.error {
	padding: 3px;
	background: #fff;
	margin: 0;
}

form .upload_or_link {
	margin-bottom: 5px;
}

button.text-close {
	padding: 6px 10px;
}

.has-link button.text-close {
	position: absolute;
	right: 30px;
}

.image-right {
	float: right;
	margin: 1em 0 1em 1em;
	display: none;
}

li.has-link {
	position: relative;
}

/* Hide link button for rep list */
#m1_wrap .link_label_button {
	display: none;
}

.infoarea h3 {
	margin: 2em 0 1em;
}

.infobox-inner {
	border: 2px solid var(--custom-accent-color);
	padding: 1em;
	border-radius: 1em;
}

#infoforapplicants li {
	margin: 1em 0;
}

.field-work_samples_instruction li.composers:not(:last-child):after,
.field-work_samples_instruction li.performers:not(:last-child):after {
    content: "";
    width: calc(100% + 40px);
    height: 5px;
    background: #fff;
    display: block;
    margin: 8px 0 8px -20px;
}

.field-discipline .form_input {
	float: left;
}

.form_section label.field_label.above {
    margin-top: 1em;
}

.form-before_field p:last-child {
    margin-bottom: 0;
}

.form_section.field-work_samples .field label {
    text-align: right;
}

.form_section.field-work_samples .field-description label {
    display: inline-block;
}

.form_section.field-pastyears label,
.form_section.field-ordernum label {
    width: auto;
}

span.field-item-separator {
    display: none;
}

.payment_howto {
    padding: 20px;
    font-weight: bold;
    background: #ffffcc;
    border: 2px solid #ffff44;
    display: none;
}

/* admin */

.app_review .field-description label {
    display: none;
}

.app_review .heading > h3,
.app_review h4.discipline,
.app_review h4.inst1,
.app_review h4.inst2,
.app_section.section-further_heading h4,
.app_section.section-pastyears_heading h2 {
	text-transform: uppercase;
    color: var(--custom-accent-color);
    font-weight: normal;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.3em;
    font-size: 1.6em;
    font-weight: normal;
    margin: 1.33em 0 0.83em;
}

.app_review .section-personal_heading h4,
.app_review h4.addr1,
.app_review h4.email {
	text-transform: uppercase;
	margin: 0;
}

.app_review .section-personal_heading .app_field:nth-child(n+2) h4 {
	margin-top: 0.5em;
}

.app_review .disc_heading {
	display: block;
}

.app_review .disc_heading,
.app_review h4.m1 {
    display: none;
}

.app_section.section-disc_heading {
    display: flex;
    column-gap: 30px;
}

.app_section.section-disc_heading > div {
    width: 33%;
}

/* .third */
.section-disc_heading .form_section {
	display: inline-block;
	vertical-align: top;
	width: calc( 33% - 5px );
	padding-right: 30px;
	padding-bottom: 20px;
	box-sizing: border-box;
}

.app_review #city,
.app_review #state,
.app_review #zip {
    display: inline;
    padding-right: 3px;
}

.app_review h4.ccountry {
    display: inline-block;
    font-weight: normal;
    padding-right: 3px;
}

/* .half */
.app_section.section-addr1,
.app_section.section-personal_heading {
	display: inline-block;
	vertical-align: top;
	width: calc( 50% - 5px );
	padding-right: 30px;
	padding-bottom: 20px;
	box-sizing: border-box;
}

.app_section.section-pastyears_heading {
    clear: both;
}

.app_review .media-item{
	display: flex;
	flex-direction: column;
}

.app_review .media-item h3{
	order: 0;
}

.app_review .media-item .field{
	order: 1;
}

.app_review .media-item-file {
    order: 2;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (min-width: 490px) {
	.image-right {
		display: block;
	}
}

@media only screen and (min-width: 768px) {

	.infoarea {
		margin-bottom: 3em;
	}
}

@media only screen and (min-width: 1140px) {

	header{
		margin-top: 0;
	}

	.infobox {
		width: 80%;
		margin-bottom: 1em;
	}
	body.admin .wrapper {
		width: 1260px;
		padding: 0 10px;
	}
}
