/**
 * Define some neutral defaults. These can be overridden in a theme
 * specific submission_theme css file. 
 */
@keyframes shake {
	0% { background: #CCC; }
	100% { background: #FFF; }
	
}


:root {
	--title-font: "Trebuchet MS", Helvetica, sans-serif;
	--text-font: Tahoma, Geneva, sans-serif;
	--title-color: #000;
	--text-color: #444;
	--text-gray: #666;
	--button-color: #3872AD;
	--button-text-color: #FFF;
}
.hidden {
	display: none;	
}

html, body {
	margin: 0;
	padding: 0;
	color: var(--text-color);
	font-family: var(--text-font);
	font-size: 17px;
}
h1,h2,h3,h4,h5 {
	font-size: 100%;
	font-weight: normal;
	margin: 0;
	padding: 0;
}
h3  {
	font-weight: bold;	
}
.hr hr {
	display: none;	
}
.hr {
	height: 1px;
	margin: 20px 0;
	background: #E2E2E2;	
}
figure {
	margin: 50px 0;
	padding: 0;
}
figure img {
	width: 100%;
	height: auto;
	vertical-align: top;
}
.struct, .struct li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.inline > dt, .inline > dd,
.inline > li {
	display: inline-block;	
}

fieldset {
	margin: 0;
	padding: 30px 0;
	border: 0;
	border-bottom: 1px solid #E2E2E2;
		
}
.t1,.t2 {
	font-size: 30px;
	font-weight: bold;
	color: var(--title-color);
	font-family: var(--title-font);
}
.t1 {
	font-size: 40px;	
}
.sectiontitle {
	text-align: center;	
}

.markdown {
	text-align: left;
	line-height: 1.6;	
}	


div.warning {
	border: 1px solid #E2E2E2;
	padding: 10px 20px;
	background: #FBFBFB;
	border-radius: 3px;
	margin-bottom: 20px;	
}
div.warning.error {
	color: #FF4C59;
	border-color: #FF9696;
	background: #FFE1E1;
}
div.warning p {
	line-height: 23px;
	margin: 0;
	padding: 0;	
}

.indicator {
	height: 6px;
	margin: 20px 0;
	background: #E2E2E2;
	border-radius: 3px;
	overflow: hidden;
}
.indicator span {
	min-width: 20px;
	background: var(--title-color);
	display: block;
	height: 100%;
	border-radius: 3px;
}
.indicator span i {
	display: none;	
}
/**
 * Step navigation header
 */
.stepbar {
	position: relative;
}
.stepbar .indicator {
	margin: 20px 0;	
}

.stepbar li {
	position: relative;
	width: 25%;
	float: left;
	text-align: center;
}
.stepbar li a {
	display: block;
	line-height: 48px;
	border: 1px solid #E2E2E2;
	margin-left: -1px;
	color: #E2E2E2;
	color: rgba(0,0,0,0.3);
	text-decoration: none;
}
.stepbar li.before a {
	color: var(--title-color);
	text-decoration:line-through;
}
.stepbar li.current {
	z-index: 1;	
}
.stepbar li.current a {
	color: var(--title-color);
	border-color: var(--title-color);
	border-width: 2px;
	line-height: 46px;
}
.stepbar li a[href]:hover {
	border-color: var(--title-color);
	background: var(--title-color);
	color: #FFF;
	text-decoration: none;
}
.stepbar li:first-child a {
	margin-left: 0;	
}
.stepbar ul {
	overflow: hidden;	
}

@media (max-width: 680px) {
	.stepbar ul {
		counter-reset: steps;
	}
	.stepbar ul a:before {
		counter-increment: steps;
		content: counter(steps);
	}
	.stepbar ul a span {
		display: none;	
	}
	.stepbar .current a span {
		display: inline;	
	}
	.stepbar .current a:before {
		content: "";	
	}
	.stepbar li {
		width: 50px;
	}
	.stepbar li.current {
		width: calc(100% - 200px);	
	}
}	


/**
 * Form layout
 */
fieldset > .struct {
	display: flex;
	flex-wrap: wrap;
	flex-shrink: 1;
	justify-content: space-between;
}
fieldset > .struct > li {
	width: 100%;
	flex-shrink: 1;
	flex-basie: 0;
}
fieldset li.disabled {
	display: none;	
}

#fs_options li {
	width: 15%;	
}

.field_locationid label {
	display: none;	
}
@media (max-width: 800px) {
	fieldset > .struct > li {
		width: 100%;
	}
	#fs_options li {
		width: 30%;
		padding-bottom: 5%;	
	}
}

fieldset label {
	display: block;
	line-height: 24px;
	padding: 12px 0;
}
.selectbox,
fieldset textarea,
fieldset input {
	width: 100%;
	background: #FFF;
	border: 1px solid #E2E2E2;
	border-radius: 2px;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 100%;
	color: var(--text-gray);
}
.selectbox {
	position: relative;
}
select:-moz-focusring {
	color: transparent;
	text-shadow: 0 0 0 var(--text-gray);
}
.selectbox select:-moz-focusring * {
	color: var(--text-gray);
	text-shadow:none;
}
.selectbox select:option {
	outline: none;	
}
form .selectbox select {
	display: block;
	font-family: inherit;
	font-size: 100%;
	outline: none;
	position: relative;
	width: 100%;
	height: 48px;
	line-height: 48px;
	border: 0;
	padding: 0 32px 0 10px;
	background: transparent;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	color: var(--text-gray);;
}
.selectbox:before {
	content: "";
	display: block;
	position: absolute;
	right: 20px;
	top: 20px;
	background: transparent;
	border-top: 5px solid var(--title-color);
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
}


.witherror textarea,
.witherror textarea input {
	border-color: #FF4C59;
}
fieldset .errors li {
	color: #FF4C59;
	padding: 5px 0;	
}
fieldset textarea.richtext {
	font-family: "Lucida Console", Monaco, monospace;	
}
fieldset input {
	height: 48px;
	line-height: 48px;
	padding: 0 10px;
}
fieldset input.combo {
	background: blue;
	background: url("search.svg") right 10px center no-repeat;
}
fieldset input.combo.valid {
	color: #FFF;
	background: #007017 url("checkmark_white.svg") right 10px center no-repeat;	
}
fieldset textarea {
	padding: 6px;
	height: 100px;	
}
fieldset .bool label input {
	display: none;	
}
fieldset .bool label span {
	color: var(--text-gray);
}

.bool.icon label {
	border: 1px solid #E2E2E2;
	border-radius: 2px;
	position: relative;
	padding: 0;
}
.bool.icon label:before {
	content: "";
	display: block;
	padding-top: 100%;	
}
.bool.icon label i {
	position: absolute;
	top: 8px;
	right: 0;
	z-index: 10;
	border: none;
	background: transparent;
}
.bool.icon label i svg {
	fill: #FFF;	
}
.bool.icon label .icon {
	display: inline-block;
	width: 30px;
	height: 30px;
	fill: var(--title-color);
	position: absolute;
	bottom: 50%;
	left: 50%;
	transform: translate(-50%,0);
	z-index: 10;
}
.bool.icon input:checked ~ .bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--title-color);
	z-index: 0;
}
.bool.icon input:checked ~ .icon {
	fill: #FFF;	
}
.bool.icon input:checked ~ span {
	color: #FFF;	
}
.bool.icon label span {
	font-size: 90%;
	position: absolute;
	top: 50%;
	padding-top: 5px;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 10;
}	


.sizeselector {
	text-align: center;
	padding: 20px 0 40px;
}
.sizeselector li {
	display: inline-block;
}

.sizeselector label {
	cursor: pointer;
	position: relative;
	display: block;
	background: #FFF;
	border: 2px solid #E2E2E2;
	line-height: 30px;
	padding: 10px 20px;
	margin-left: -2px;	
}
#checkbanner:checked ~ .sizeselector label[for=checkbanner],
#checkleader:checked ~ .sizeselector label[for=checkleader] {
	border: 2px solid var(--title-color);
	z-index: 2;
}

#checkbanner ~ form #size_banner, #checkbanner ~ form #size_leaderboard {
	display: none;	
}
#checkbanner:checked ~ form #size_banner {
	display: block;	
}
#checkleader:checked ~ form #size_leaderboard {
	display: block;	
}

#bannerform {
	display: block;
}
.bannerlist li {
	position: relative;
}
.bannerlist li label input {
	display: none;
}
.bannerlist img {
	
	width: 100%;
	height: auto;
	vertical-align: top;
}
.bannerlist li label {
	display: block;
	cursor: pointer;
}
.bannerlist li label div {
	opacity: 0.7;
	border-radius: 5px;
	overflow: hidden;
}
.bannerlist li label div .cm {
	display: none;
}
.bannerlist li label input:checked ~ div {
	opacity: 1;
	position: relative;
}
.bannerlist li label input:checked ~ div .cm {
	display: block;
	content: "";
	width: 22px;
	height: 16px;
	padding: 7px 4px;
	background: #FFF;
	fill: var(--title-color);
	position: absolute;
	bottom: 0;
	right: 0;
	text-align: center;
}

@media(max-width: 800px) {
	.buttons .button {
		width: 100%;
		padding: 0;
	}
	
	#bannerform {
		display: block;
		width: auto;
		margin: 0 auto;	
	}
}



.radiobox i,
.bool i {
	display: inline-block;
	vertical-align: baseline;
	margin-right: 10px;
	position: relative;
	text-align: center;
	width: 16px;
	height: 16px;
	line-height: 16px;
	background: #FFF;
	border: 1px solid #E2E2E2;
	border-radius: 2px;
	fill: transparent;
}
.radiobox input:checked  + i,
.bool input:checked + i {
	fill: var(--title-color);
}
.radiobox i svg, 
.bool i svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

.radiobox input {
	display: none;	
}
.radiobox  {
	display: inline-block;
	cursor: pointer;
}

/**
 * Button styling
 */
.button {
	text-decoration: none;
	display: inline-block;
	font-style: normal;
	font-weight: normal;
	border-radius: 3px;
	border: none;
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;
	cursor: pointer;
	color: var(--button-text-color);
	background: var(--button-color);
	height: 48px;
	line-height: 48px;
	padding: 0 20px;
	text-align: center;
	min-width: 120px;
}
.button:hover {
	color: #FFF;
	background: var(--title-color);
}
.button.next:after {
	font-family: 'submissionicons' !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: "\e91a";
	display: inline-block;
	margin-left: 10px;
	font-size: 12px;
	transform: translate(0,-2px);
	transition: transform 0.2s ease;
}
.button.next:hover:after {
	transform: translate(4px,-2px);
}
.button.prev:before {
	font-family: 'submissionicons' !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: "\e91b";
	display: inline-block;
	margin-right: 10px;
	font-size: 12px;
	transform: translate(0,0);
	transition: transform 0.2s ease;
}
.button.prev:hover:after {
	transform: translate(-4px,0);
}
.button.preview {
	color: #FFF;
	background: var(--title-color);
}
.button.preview:hover {
	color: var(--button-text-color);
	background: var(--button-color);
}
.button.preview:before {
	font-family: 'submissionicons' !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: "\e91e";
	display: inline-block;
	margin-right: 10px;
}
.buttons {
	text-align: center;	
}
@media(max-width: 500px) {
	.buttons .button {
		width: 100%;
		padding: 0;
	}
}

#header {
	text-align: center;
	padding: 20px;
	height: 120px;
	position: relative;
}
#header a {
	display: block;
	height: 48px;
	line-height: 48px;
	position: absolute;
	top: 60px;
	color: var(--text-gray);
	text-decoration: none;
}
#header a.back {
	left: 60px;
}
#header a.preview {
	right: 60px;
}
@media(max-width: 1000px) {
	#header a.back {
		left: 0;
	}
	#header a.preview {
		right: 0;
	}
}

@media(max-width: 800px) {
	#header a span {
		display: none;

	}
}

#header a.back i {
	display: inline-block;
	position: relative;
	border: 1px solid;
	border-color: var(--title-color);
	fill: var(--title-color);
	border-radius: 50%;
	width: 46px;
	height: 46px;
	text-align: center;
	line-height: 46px;
	margin: 0 20px;
	vertical-align: middle;
}
#header a.back i svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

#header a.back:hover i {
	fill: #FFF;
	background: var(--title-color);
}

#errormodal {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	padding: 0 20px;
	z-index: 1000;
	background: rgba(0,0,0,0.5);
}
#errormodal #errorscreen {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 94%;
	max-width: 400px;
	color: #FF4C59;
	border: 2px solid #FF9696;
	border-radius: 3px;
	padding: 20px;
	background: #FFE1E1;
	font-size: 90%;
}
#errorscreen button {
	width: 26px;
	border: none;
	border-radius: 2px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	background: #FFF;
	color: var(--title-color);
	position: absolute;
	top: -12px;
	right: -12px;
	cursor: pointer;	
}
#errorscreen button:before {
	content: "\e903";
	font-family: 'submissionicons' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-size: 9px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
#errorscreen div + div {
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px solid #FFF;	
}
#errorscreen button:hover {
	color: #FFF;
	background: var(--title-color);
}

#placewidget .ctintro {
	margin-bottom: 50px;
}	

#placewidget textarea {
	background: transparent;
	color: inherit;
	font: inherit;
	border: none;
	display: block;
	width: 100%;
	font-size: 90%;
	height: auto;
	resize: none;
	height: 100px;
	line-height: 20px;
}
#placewidget textarea:focus {
	outline: none;	
}

.embedbox {
	padding: 30px;
	background: #FFF;
	border: 1px solid #E2E2E2;
}
.embedbox.copied {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}
.embedbox .button {
	width: 100%;
	display: block;	
}



fieldset.webadmin {
	padding-top: 0;
}
fieldset.webadmin input {
	flex-shrink: 1;
	margin-right: 20px;	
}
.helpbox {
	padding: 30px;
	border-radius: 5px;
	position: relative;
}
.helpbox:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--text-color);
	opacity: 0.1;
}
.helpbox a {
	color: var(--button-color);	
}
.helpbox p,
.helpbox form {
	position: relative;
	z-index: 10;	
}
.helpbox fieldset {
	padding: 0 0 20px 0;	
}
form#wm li,
.helpbox form li {
	width: calc(50% - 20px);
}

@media (max-width: 600px) {
	form#wm li,
	.helpbox form li {
		width: 100%;
	}
}



#wrapper {
	width: 960px;
	margin: 0 auto;
}
.intro {
	padding: 20px;
	max-width: 560px;
	text-align: center;
	margin: 0 auto;	
}
.ctintro {
	padding: 0 0 40px 0;
	text-align: center;
	border-bottom: 1px solid #E2E2E2;
}
.introtitle {
	text-align: center;
}
.contentpane {
	background: #FBFBFB;
	padding: 50px 20px;
}
.contentpane .contentwrap {
	margin: 0 auto;
	max-width: 760px;
}
.canvas {
	padding: 50px 20px;
	background: #FBFBFB;
	border-radius: 3px;
}

.cvwrap {
	max-width: 760px;
	margin: 0 auto;
}
@media(max-width: 1000px) {
	#wrapper {
		width: auto;
		margin: 0 20px;
	}
	.canvas { 
		margin: 0 -20px;	
	}
}

#exampletoggle {
	text-align: center;
	margin: 50px 0 -70px;	
}
#exampletoggle a {
	border-radius: 3px;
	background: #FFF;
	cursor: pointer;
	display: inline-block;
	height: 40px;
	line-height: 40px;
	width: 40px;
	border: 1px solid var(--title-color);
	box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}
#exampletoggle a.mobile,
#exampletoggle.mobile a {
	border-color: #CCC;	
}
#exampletoggle.mobile a.mobile {
	border-color: var(--title-color);
}
#exampletoggle.mobile a.mobile svg,
#exampletoggle a svg {
	fill: var(--title-color);
	vertical-align: middle;	
}
#exampletoggle.mobile svg,
#exampletoggle a.mobile svg {
	fill: #CCC;
}

#example {
	height: 400px;
	overflow: hidden;
	margin: 50px auto;
	background: #FFF;
	border-radius: 8px;
	box-shadow: 2px 2px 8px rgba(0,0,0,0.1);	
}
#example img {
	width: 100%;
	height: auto;
	vertical-align: top;
}
#example div {
	border-radius: 5px;
}
#exheader {
	background: #e3e3e3;
	border: 20px solid #F8F8F8;
	border-radius: 5px;
	margin: 20px;
	height: 80px;
}
#mobiletgt {
	display: none;	
}
#exsidebar {
	float: right;
	width: 180px;
	margin-right: 20px;
	background: #F8F8F8;
	min-height: 300px;	
}
#exsidebar div {
	margin: 10px;
	background: #e3e3e3;
	overflow: hidden;	
}
#exsidebar div:empty {
	height: 120px;
}
#excontent {
	margin: 0 220px 0 20px;
	padding: 20px;
	background: #F8F8F8;
	min-height: 300px;	
}
#exleadertarget {
	background: #e3e3e3;
	padding: 6px;
	margin-bottom: 20px;
}
#exleadertarget:empty {
	margin-right: 50px;
}
#excontent .exbox {
	background: #e3e3e3;
	width: 200px;
	height: 160px;
	margin: 0 20px 20px 0;
	float: left;
}
#excontent i {
	display: block;
	background: #e3e3e3;
	padding: 3px;
	border-radius: 4px;
	margin: 14px 0 0 0;
}
#excontent i:nth-child(4n) {
	margin: 14px 75px 24px 0;
}
#excontent p {
	margin-left: 220px;	
}

#example.mobile {
	max-width: 300px;
}
#example.mobile #exheader {
	height: 50px;
	border-width: 10px;
}
#example.mobile #mobiletgt {
	display: block;
	background: #F8F8F8;
	min-height: 40px;
	padding: 10px;
	margin: 0 20px 20px 20px;
}
#example.mobile #exleadertarget img,
#example.mobile #exsidebar {
	display: none;
}
#example.mobile #excontent {
	margin: 0 20px;
}
#example.mobile .exbox {
	display: block;
	width: 80px;
	height: 80px;
	margin: 0;
}
#example.mobile p {
	margin-left: 100px;	
}
@media (max-width: 799px) {
	#excontent .exbox {	
		display: none;	
	}
	#excontent p {
		margin-left: 0;	
	}
}
@media (max-width: 560px) {
	#exsidebar {
		width: 100px;
	}
	#exsidebar div:empty {
		height: 60px;	
	}
	#excontent {
		margin: 0 120px 0 20px;
	}
}

#debugpane {
	display: none;	
}