/* Encorp Pacific (Canada) 2018 Site Design (2015 Responsive Revision) - Logo Request App CSS */
/* Last Updated: 2020.07.13 ET */

@import url('encp_boilerplate.css');

p.cba {
	font-size: 1.2em;
	font-weight: bold;
}

p.cba::before {
	content: 'Check:';
	font-weight: normal;
	font-size: 0.8em;
	text-transform: uppercase;
}

p.instruction span.contextintro {
	display: inline-block;
	font-weight: bold;
	margin-right: 1em;
}

table.datalist td.date {
	white-space: nowrap;
}

table.logoreqform {
	width: 44em;
	margin: 1em 2em 1em 0em;
}

table.logoreqform th {
	width: 14em;
}

table.logoreqform.shortquestion th {
	width: 8em;
}

table.logoreqform.longquestion th {
	width: 18em;
}

table.logoreqform th.optioncount {
	width: 1em !important;
}

table.logoreqform th[colspan] {
	width: auto;
}

table.logoreqform + h2 {
	margin-top: 1em;
}

table.logoreqform ol,
table.logoreqform ul {
	padding: 0;
	margin: 0 0 1em 0;
}

table.logoreqform ol li,
table.logoreqform ul li {
	margin-left: 1.5em;
}

table.logoreqform ul {
	list-style: none;
}

table.logoreqform ul li input[type="radio"] {
	position: absolute;
	margin-left: -1.5em;
}

table.logoreqform tr.hidden {
	display: none;
}

input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label {
	font-weight: bold !important;
}

div.hidden,
p.hidden {
	display: none;
}

ul.logolist li {
	display: inline-block;
	vertical-align: middle;
	margin-bottom: 1em;
}

ul.logolist li label > * {
	display: inline-block;
	vertical-align: middle;
	margin: 0 0.5em;
}

ul.logolist li label span small {
	display: block;
}

ul.logolist input[disabled] {
	opacity: 0;
}

ul.logolist input[disabled] ~ label {
	opacity: 0.5;
}

ul.logolist input[disabled] ~ label span::after {
	content: 'Ineligible';
	display: block;
	color: red;
	padding: 0.2em 0.5em;
	border: 1px solid red;
	text-align: center;
}

ul.filelist {
	padding: 0;
	margin: 1em 1em 1em 0;
}

ul.filelist li {
	font-size: 1.2em;
	line-height: 1em;
	padding: 0;
	margin-left: 1.5em;
}

ul.filelist a {
	font-weight: bold;
}

ul.filelist span.filedetails {
	font-style: italic;
	font-size: 0.8em;
}

form section {
/*	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap; */
}

form section + section {
	margin-top: 2em;
	border-top: 3px solid rgb(220,220,220);
	padding-top: 1em;
}

form section > h2,
form section > h3,
form section > p {
	width: 100%;
	min-width: 100%;
	-webkit-flex: 0 0 100%;
	flex: 0 0 100%;
}

form section + h2 {
	margin-top: 2em;
}

form section > h3 {
	margin-bottom: 0;
}

aside.guidelines {
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
/*	width: 50%; */
	max-width: 50em;
	border: 6px solid rgb(206,218,237);
	padding: 1em;
	margin: 1em 0;
	-webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
/*    -webkit-flex: 1 1 auto;
	flex: 1 1 auto; */
}

aside.additional {
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	background: rgba(255,159,0,0.2);
	max-width: 50em;
	padding: 1em;
}

aside.hidden {
	opacity: 0;
	height: 0;
	padding: 0;
}

aside.guidelines h4 {
	margin-bottom: 0.5em;
}

aside.guidelines ul {
	list-style: none;
	padding: 0;
	margin: 1em -2em 0 0;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

aside.guidelines ul > li {
	width: calc(50% - 2em);
	min-width: 15em;
	padding: 0;
	margin: 1em 2em 1em 0;
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
}

aside.guidelines ul > li h4::after {
	display: block;
	margin-top: 0.5em;
	border: 1px solid rgb(185,203,229);
}

#gl-sign-colr h4::after {
	content: '';
	background: url(../images/encp_grfx_brand-colours.png) no-repeat center center;
	background-size: contain;
	height: 140px;
}

#gl-sign-posi h4::after {
	content: '';
	background: url(../images/encp_grfx_brand-signage.png) no-repeat center center;
	background-size: contain;
	height: 140px;
}

#gl-online-plac h4::after {
	content: '';
	background: url(../images/encp_grfx_brand-example-twitter.jpg) no-repeat center center;
	background-size: contain;
	height: 180px;
}

#gl-logo-size h4::after {
	content: '';
	background: url(../images/encp_grfx_brand-width.png) no-repeat center center;
	background-size: contain;
	height: 180px;
}

#gl-logo-plac h4::after {
	content: '';
	background: url(../images/encp_grfx_brand-clearance.png) no-repeat center;
	background-size: contain;
	height: 180px;
}

#gl-logo-back h4::after {
	content: '';
	background: rgb(118,116,116) url(../images/encp_grfx_brand-background.png) no-repeat center center;
	background-size: cover;
	height: 130px;
	width: auto;
	max-width: 25em;
}

#fpo-logos {
	list-style: none;
	text-align: center;
	padding: 0;
	margin: 0;
}

#fpo-logos li {
	display: inline-block;
	text-align: center;
	padding: 0;
	margin: 1em;
}

#fpo-logos li.ineligible {
	display: none;
}

#fpo-logos img {
	display: block;
}

#fpo-logos a::after {
	content: 'Download "FPO" Image';
	display: inline-block;
	margin-top: 1em;
	padding: 0.6em 1em 0.4em;
	background-color: rgb(0,53,173);
	color: white;
	font-family: DIN, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
}

#fpo-logos a:hover::after {
	background-color: rgb(144,144,144);
}

/* Drag-drop Files */

#preview-row {
	position: relative;
	width: auto;
	padding: 12px;
	border: 1px solid #ccc;
}

#preview {
	width: auto;
	min-height: 100px;
	background-color: white;
	padding: 12px;
	border: 3px dashed #ccc;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
}

#canvas {
	display: none;
}

#fileprompt {
	text-align: center;
}

@media only screen and (max-width : 780px) {

	table.logoreqform {
		width: auto;
	}

	table.logoreqform tr,
	table.logoreqform th,
	table.logoreqform td {
		display: block;
		width: auto;
	}

	table.logoreqform.logochoices tr.ineligible td:first-child::before {
		border-bottom: none;
		padding-bottom: 0;
		margin-top: 1em;
	}

}
