/* Spaaractie default(s) */
html {
	min-height: 100%;
	color: #999;
	font-family: 'RockwellRegular';
	font-size: 14px;
	background-color: #82ccff;
	background-image: url('/img/layout/bg.png'), url('/img/layout/bg_grass.png');
	background-repeat: no-repeat, repeat-x;
	background-position: center bottom, center bottom;
}

body {
	margin:	0;
	overflow-x: hidden;
}

@font-face {
	font-family: 'RockwellBold';
	src: url('/css/fonts/Rockwell-Bold.eot');
	src: url('/css/fonts/Rockwell-Bold.eot?#iefix') format('embedded-opentype'),
	url('/css/fonts/Rockwell-Bold.woff') format('woff'),
	url('/css/fonts/Rockwell-Bold.ttf') format('truetype'),
	url('/css/fonts/Rockwell-Bold.svg#RockwellBold') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'RockwellRegular';
	src: url('/css/fonts/Rockwell-Regular.eot');
	src: url('/css/fonts/Rockwell-Regular.eot?#iefix') format('embedded-opentype'),
	url('/css/fonts/Rockwell-Regular.woff') format('woff'),
	url('/css/fonts/Rockwell-Regular.ttf') format('truetype'),
	url('/css/fonts/Rockwell-Regular.svg#RockwellRegular') format('svg');
	font-weight: normal;
	font-style: normal;
}

.clouds {
	display: none;
}

a {
	color: #0ba0ff;
	font-family: 'RockwellRegular';
	font-size:14px;
	text-decoration: underline;
}

#flashMessage {
	font-family: 'RockwellBold';
	font-size: 14px;
	position: absolute;
	top: 100px;
	left: 0px;
	width: 100%;
	z-index: 1001;
}

#flashMessage .message{
	padding:5px;
	margin:	0 auto;
	width: 700px;
	text-align:center;
	color:	#ffffff;
	border-radius: 5px;
	cursor:	pointer;
	background-color:#559AE4;
}

#flashMessage .flasherror {
	background-color: #eb1818;
}

#flashMessage .flashsuccess {
	background-color: #33BE07;
}

#flashMessage .flashwarning {
	background-color: #EB5C18;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
	outline-color: #dcf1ff;
}

input[type='text'],
input[type='textfield'],
input[type='password'] {
	font-family: 'RockwellRegular';
	font-size:14px;
	color: #999999;
	margin: 0 0 9px 0;
	padding:12px;
	border: 1px solid #d8d8d8;
	border-radius:  5px;
	width: 269px;
}

input[type='text']:disabled,
input[type='password']:disabled {
	background-color: #f0f0f0;
}

input[type='submit'],
button {
	-webkit-appearance: none;
	color: #ffffff;
	font-family: 'RockwellRegular';
	font-size:14px;
	background-color: #0ba0ff;
	border-radius: 5px;
	border: 0;
	padding:12px 27.5px;
	margin: 0;
	cursor: pointer;
}

input[type='submit']:disabled {
	opacity: 0.4;
}

input[type='submit']:hover {
	background-color:#008AE2;
}

input[type='submit'].cancel:hover,
input[type='submit'].cancel {
	background-color: #c7c7c7;
}

label {
	display:block;
	font-family: 'RockwellBold';
	font-size:14px;
	color: #333333;
	margin-bottom: 9px;
}

button > i.fa {
	position: relative;
	margin-left: 18px;
}

button > i.fa::before {
	position: absolute;
	left: -35px;
	font-size: 30px;
	top: -20px;
	color: #ffffff;
}

#top-back {
	background-color:rgba(255, 255, 255, 0.4);
	height: 79px;
	width: 100%;
	margin-bottom: 59px;
}

#top-back.hidden {
	visibility: hidden;
}

#top {
	position: absolute;
	top: 0;
	z-index:1;
	height: 79px;
	width: 100%;
}

#top #center {
	width: 660px;
	margin: 0 auto;
	position: relative;
}


#top #center #voucher-count {
	width: 130px;
	color: #000000;
	border-radius: 0 0 5px 5px;
	padding-top: 10px;
	left: 0px;
	top: 0px;
	position: absolute;
	text-align: center;
	background-color: #f4f4f4;
}

#top #center #voucher-count > div {
	background-color: #ffffff;
	margin: 8px;
	border-radius: 5px;
	line-height: 50px;
	font-size: 24px;
}

#top #center #description-button {
	width: 110px;
	height: 30px;
	color: #ffffff;
	border-radius: 0 0 5px 5px;
	right: 0px;
	top: 0px;
	position: absolute;
	text-align: center;
	line-height: 30px;
	background-color: #b1b1b1;
	cursor: pointer;
}

#top #center #logo {
	height: 79px;
	cursor: pointer;
	background-image:url('/img/views/site/logo.png');
	background-repeat: no-repeat;
	background-position: center center;
	margin: 0 auto;
}

#top #center #name {
	font-family: 'RockwellBold';
	color: #ffffff;
	font-size:14px;
	line-height: 25px;
	float: right;
}

#wrapper{
	width: 100%;
}

#wrapper #header {
	height:	36px;
	font-family: 'RockwellBold';
	color:	#ffffff;
	font-size:24px;
	max-width: 700px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin:	0 auto;
	text-align: center;
	padding: 0 5px;
}

#wrapper #header .item {
	max-width:	700px;
	text-align: center;
}

#wrapper #header .items {
	max-width: 350px;
	text-align: center;
	float: left;
}

#wrapper #container {
	font-family: 'RockwellRegular';
	background-color: #ffffff;
	border-radius: 5px;
	overflow: hidden;
	margin: 20px auto;
	min-height: 200px;
	padding: 20px;
	width: 620px;
}

#wrapper #container #center {
	margin:	0 auto;
}

#wrapper #container #center hr {
	border:	0;
	height:	1px;
	background-color:#efefef;
}

#wrapper #container .centerbar {
	width:	1px;
	background-color:#efefef;
	float:	left;
	margin:	27.5px 0;
}

#wrapper #container .item-broad {
	width:	294.5px;
	margin:	0 auto;
	padding: 27.5px;
}

#wrapper #container .item-half {
	width:	294.5px;
	float:	left;
	padding: 27.5px;
}

#wrapper #container .item-one-third,
#wrapper #container .item-two-third {
	width: 392.66px;
	float: left;
	padding: 27.5px;
}

#wrapper #container .item-one-third {
	width: 196.33px;
}

#wrapper #container .login_item {
	width:	295px;
	padding:27.5px;
	margin:	0 auto;
	overflow:auto;
}

#wrapper #container .register_item {
	width:	700px;
	padding:27.5px;
	margin:	0 auto;
	overflow:auto;
	position: relative;
}

#wrapper #container .register_item input[type='text'],
#wrapper #container .register_item input[type='password']  {
	width:	349px;
}

#wrapper #container .edit_item {
	width:	700px;
	margin:	0 auto;
	overflow:auto;
	position: relative;
}
#wrapper #container .edit_item input[type='text'],
#wrapper #container .edit_item input[type='password']  {
	width:	280px;
	float:	left;
}

#wrapper #footer {
	margin: 17px 0;
	width: 100%;
	text-align: center;
	font-family: 'RockwellBold';
	font-size: 14.3px;
	color: #ffffff;
	display: block;
	text-decoration: none;
}

.dropdown {
	background-image: url('/img/views/site/dropdown_icon.png');
	background-position: 95% 50%;
	background-repeat: no-repeat;
	cursor: pointer;
}

/* New */
#spaaractie-logo {
	width: 227px;
	height: 27px;
	background-image: url('/img/views/site/logo.png');
	margin: 0 auto;
}

label {
	font-family: 'RockwellRegular';
}

a.gray-link {
	color: #b4b4b4;
}

a.underline {
	text-decoration: underline;
}

a.v-align-btn {
	line-height: 42px;
}

div.barcode-input {
	position: relative;
}

div.barcode-input > input {
	text-align: center;
	letter-spacing: 10px;
}

div.barcode-input > div.validation {
	width: 9px;
	height: 9px;
	position: absolute;
	right: -25px;
	bottom: 22px;
	border: 3px solid #CFCFCF;
	border-radius: 50%;
}

div.barcode-input > div.validation.valid {
	border-color: #60960B;
}

div.barcode-input > div.validation.error {
	border-color: #eb1818;
}

/* Custom select input */
select {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	font-family: "RockwellRegular";
	font-size: 14px;
	color: #999;
	margin: 0px 0px 9px;
	padding: 12px;
	border: 1px solid #D8D8D8;
	border-radius: 5px;
	width: 295px;
	background-color: #ffffff;
}

select::-ms-expand { /* Dropdown arrows IE */
	display: none;
}

i.fa.fa-plus {
	width: 8px;
	text-align: center;
	border: 2px solid #D8D8D8;
	border-radius: 25px;
	height: 8px;
	padding: 2px;
	margin-right: 10px;
	line-height: 9px;
	font-size: 10px;
}

/* Points boxes */
div.points-box,
div.divided-points-box {
	position: relative;
	border: 8px solid #E1E1E1;
	border-radius: 5px;
	margin-bottom: 10px;
	background-color: #E1E1E1;
}

div.points-box > div,
div.divided-points-box > div {
	background-color: #ffffff;
	border-radius: 5px;
	height: 110px;
	text-align: center;
	line-height: 126px;
	font-size: 60px;
}

div.divided-points-box > div {
	height: 47px;
	width: 71px;
	line-height: 62px;
	font-size: 30px;
	display: inline-block;
}

div.divided-points-box > i {
	display: inline-block;
	height: 47px;
	line-height: 47px;
	position: absolute;
	top: 0;
	margin-left: 20px;
}

div.points-box i,
div.divided-points-box i {
	text-decoration: none;
	font-style: normal;
}

div.points-box > div > i.points-label {
	font-size: 40px;
	position: relative;
	left: -12px;
	top: -20px;
}

div.divided-points-box > div > i.points-label {
	font-size: 20px;
	position: relative;
	left: -5px;
	top: -10px;
}

/* Participant boxes */

div.participants-holder {
	overflow: hidden;
}

div.participants-holder .participants-title {
	float: left;
	margin: 3.5px;
	width: 148px;
	padding-top: 20px;
}

div.participants-holder .participants-title h3 {
	color: #333333;
	font-size: 24px;
	font-weight: 100;
	margin: 0;
}

div.participants-holder div.participant-option {
	background-color: #f4f4f4;
	border-radius: 5px;
	font-size: 16px;
	width: 148px;
	height: 108px;
	float: left;
	margin: 3.5px;
	position: relative;
	cursor: pointer;
}

div.participants-holder div:nth-child(1),
div.participants-holder div:nth-child(4n+1) {
	margin-left: 3px;
}

div.participants-holder div:nth-child(4n) {
	margin-right: 3px;
}

div.participants-holder div.participant-option.selected {
	box-shadow: 0px 0px 2px 1px #2cb1db;
}

div.participants-holder div.participant-option div.participant-name {
	display: table;
	padding: 5px;
	height: 74px;
	box-sizing: border-box;
	text-align: center;
	width: 100%;
}

div.participants-holder div.participant-option div.participant-name > div {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

div.participants-holder div.participant-option div.participant-name > div > p {
	height: 83px;
	margin: 15px 0 0 0;
	width: 136px;
	color: #333333;
}

div.participants-holder div.participant-option div.participant-money {
	height: 34px;
	position: absolute;
	bottom: 0px;
	width: 100%;
	background-color: #e8eaea;
	border-radius: 0px 0px 5px 5px;
	line-height: 34px;
	text-align: center;
	color: #1bbc00;
}

div.participants-holder div.participant-option div.participant-money i {
	float: right;
	margin: 0 5px 0 0;
	line-height: 25px;
	color: #000000;
}

/* Dialog custom */

div#participant-select-dialog {
	font-family: "RockwellRegular";
}

div#participant-select-dialog div.dialog-helper-content div.dialog-helper-footer {
	background-color: #ffffff;
}

.dialog-helper-popup .dialog-helper-title > span {
	font-family: "RockwellBold";
}

#description-dialog.dialog-helper-popup .dialog-helper-title > span {
	padding-left: 10px;
}

#description-dialog #description {
	font-size: 15px;
	line-height: 25px;
	padding: 0px 20px;	
}

div#participant-select-dialog span#club-title {
	display: block;
	border-bottom: 1px solid #ecf0f1;
	line-height: 29px;
	font-family: 'RockwellBold';
	font-size: 16px;
	color: rgb(0, 0, 0);
	padding-bottom: 7px;
	margin: 0 20px 0 20px;
	text-align: center;
}
div#participant-select-dialog div.amount {
	border-top: 1px solid #ecf0f1;
	margin: 0px 20px 0 20px;
	padding-top: 20px;
}

div#participant-select-dialog div.amount .amount-chooser {
	width: auto;
	margin-top: 20px;
}

div#participant-select-dialog div.amount .amount-chooser input {
	width:  20px;
	text-align: center;
	border: 0;
}

div#participant-select-dialog div.amount .amount-chooser a {
	width: 40px;
	text-align: center;
	line-height: 40px;
	border-radius: 5px;
	color: #ffffff !important;
	text-decoration: none;
	display: inline-block;
}
div#participant-select-dialog div.amount .amount-chooser .plus-amount {
	background: #1bbc00;
}

div#participant-select-dialog div.amount .amount-chooser .minus-amount {
	background: #ee365b;
}


div#participant-select-dialog p#club-motivation {
	font-size: 15px;
	line-height: 25px;
	padding: 0 20px;
}

div#participant-select-dialog button#participant-form-cancel,
div#participant-select-dialog button#participant-form-cancel:hover {
	background-color: #bbbbbb;
}

div#participant-select-dialog div.dialog-helper-footer div.dialog-helper-inner-footer button:first-child {
	margin-left: 20px;
}

div#participant-select-dialog div.dialog-helper-footer div.dialog-helper-inner-footer button:last-child {
	margin-right: 20px;
}

/* Succes page */
div.success-thumb {
	width: 100%;
	background-image: url("/img/views/site/small_thumb_up.png");
	background-repeat: no-repeat;
	background-position: 50% 0px;
	position: absolute;
	top: 100px;
	text-align: center;
	height: 90px;
}

div.success-thumb + div {
	text-align: center;
	width: 620px;
	height: auto;
	overflow: auto;
	padding: 20px;
	border-radius: 5px;
	background-color: #ffffff;
	position: absolute;
	left: 50%;
	margin-left: -330px;
	top: 220px;
	height: 290px;
}

div.success-thumb + div > span {
	color: #333333;
	font-size: 72px;
	display: block;
	font-family: "RockwellBold";
	margin-top: 45px;
}

div.success-thumb + div > span + span {
	font-size: 24px;
	font-weight: normal;
	color: #666666;
	font-family: "RockwellRegular";
	margin: 10px 0px 10px 0px;
}

div.success-thumb + div > span + span > span {
	font-family: "RockwellBold";
	color: #333333;
}

div.success-thumb + div div.facebook-bar {
	width: 100%;
	max-width: 380px;
	height: 20px;
	margin: 0 auto;
	margin-top: 20px;
}

div.success-thumb + div div.facebook-bar div.share-button {
	cursor: pointer;
	background-repeat: no-repeat;
	float: left;
	width: 44px;
	height: 0px;
	background-color: #f4f4f4;
	padding: 25px;
	background-image: url('/img/social_media/share_button.png');
	background-size: 54px 20px;
	background-position: 50% 50%;
	border-radius: 5px;
}

div.success-thumb + div div.facebook-bar div.like-button-holder {
	background-color: #f4f4f4;
	float: right;
	padding: 15px 20px;
	border-radius: 5px;
}

.fb-like.like-button.fb_iframe_widget {
	float: right;
	background-color: #f4f4f4;
	border-radius: 2px;
	overflow: hidden;
}

/* Smaller buttons on small screens */
@media screen and (max-device-width: 320px) {
		div#participant-select-dialog div.dialog-helper-footer div.dialog-helper-inner-footer button:last-child {
			margin-right: 10px !important;
		}
		
		div.dialog-helper-popup button {
			padding: 6px 6px 6px 6px !important;
		}
		
		div#participant-select-dialog div.dialog-helper-footer div.dialog-helper-inner-footer button:first-child {
			margin-left: 10px !important;
		}
}
/* Small viewports, mobile */
@media screen and (min-device-width: 0px) and (max-device-width: 700px) {
	div.barcode-input > div.validation {
		right: -17px;
		margin-top: 3px;
	}
	
	
	html {
		background-image: url('/img/layout/bg.png');
		background-repeat: no-repeat;
		background-position: center bottom;
		background-size: 100%;
	}

	#wrapper #container {
		border-radius: 0;
		box-sizing: border-box;
		width: 100%;
	}

	#top-back {
		margin-bottom: 50px;
	}

	#top-back.hidden {
		height: 40px;
		width: 100%;
		margin-bottom: 0;
	}

	#wrapper #header {
		font-size: 16px;
	}

	div.participants-holder .participants-title {
		width: 284px;
	}

	/*div#top div#center div#spaaractie-logo {
		display: none;
	}*/

	#participant-select-dialog {
		box-sizing: border-box;
		left: 0;
		margin-left: 0 !important;
		margin-top: 0 !important;
		top: 100px;
		width: 100% !important;
	}

	#participant-select-dialog > .dialog-helper-inner-popup {
		width: 100% !important;
	}

	#wrapper #container input[type='text'],
	#wrapper #container input[type='password'],
	#wrapper #container select {
		width: 100%;
		box-sizing: border-box;
	}

	#wrapper #container .item-broad,
	#wrapper #container .item-half,
	#wrapper #container .item-one-third,
	#wrapper #container .item-two-third {
		float: none;
		padding: 0;
		width: 100%;
	}

	div.barcode-input > input {
		width: 9.4%;
		box-sizing: content-box;
	}

	#top #center {
		width: 100%;
	}

	div.participants-holder div.participant-option {
		margin: 1% 2% 2% 1%;
		width: 47%;
	}

	div.participants-holder div.participant-option div.participant-name > div > p {
		width: auto;
	}

	div.participants-holder div.participant-option:nth-child(2n+1) {
		margin-right: 0px!important;
	}

	div.participants-holder div.participant-option:nth-child(3n) {
		margin-right: 2%;
	}

	div.success-thumb + div > span:first-child {
		font-size: 60px;
		overflow: hidden;
		display: block;
		margin-top: 10px;
	}

	div.success-thumb + div {
		width: 100%;
		box-sizing: border-box;
		border-radius: 0px;
		margin: 0px 0px 0px 0px;
		left: 0%;
		overflow: hidden;
	}

	#flashMessage > div {
		width: auto;
	}

	#flashMessage .message {
		box-sizing: border-box;
		margin: 0 5px;
		width: auto;
	}

	/* space issues with big buttons */
	div.dialog-helper-popup button > i {
		display: none;
	}

	div.dialog-helper-popup button {
		padding: 12px 12px 12px 12px;
	}

	div.participants-holder .participants-title {
		padding-top: 0px;
		padding-bottom: 20px;
	}
}

@media screen and (min-device-width: 700px) {
	.clouds {
		background-image: url("/img/layout/cloud.png");
		background-size: cover;

		-webkit-animation: clouds 60s infinite linear;
		-moz-animation: clouds 60s infinite linear;
		-ms-animation: clouds 60s infinite linear;
		-o-animation: clouds 60s infinite linear;
		animation: clouds 60s infinite linear;

		border-radius: 10px;
		margin: 33px 0 0 0;
		width: 549px;
		height: 285px;
		display: block;
		position: absolute;
		z-index: -100;
	}

	.clouds.tiny {
		-moz-transform: scale(0.3, 0.3);
		-ms-transform: scale(0.3, 0.3);
		-webkit-transform: scale(0.3, 0.3);
		transform: scale(0.3, 0.3);
	}
	.clouds.small {
		-moz-transform: scale(0.5, 0.5);
		-ms-transform: scale(0.5, 0.5);
		-webkit-transform: scale(0.5, 0.5);
		transform: scale(0.5, 0.5);
	}
	.clouds.normal {
		-moz-transform: scale(0.7, 0.7);
		-ms-transform: scale(0.7, 0.7);
		-webkit-transform: scale(0.7, 0.7);
		transform: scale(0.7, 0.7);
	}
	.clouds.large {
		-moz-transform: scale(0.9, 0.9);
		-ms-transform: scale(0.9, 0.9);
		-webkit-transform: scale(0.9, 0.9);
		transform: scale(0.9, 0.9);
	}

	.clouds#cloud-1 {
		top: 100px;
		left: 100px;

		-webkit-animation-duration: 101s;
		-moz-animation-duration: 101s;
		-ms-animation-duration: 101s;
		-o-animation-duration: 101s;
		animation-duration: 101s;
		margin-left: 20%;
	}

	.clouds#cloud-2 {
		top: 70px;
		right: 100px;
		-webkit-animation-duration: 99s;
		-moz-animation-duration: 99s;
		-ms-animation-duration: 99s;
		-o-animation-duration: 99s;
		animation-duration: 99s;
		margin-left: 90%;
	}

	.clouds#cloud-3 {
		top: 300px;
		left: 400px;
		-webkit-animation-duration: 142s;
		-moz-animation-duration: 142s;
		-ms-animation-duration: 142s;
		-o-animation-duration: 142s;
		animation-duration: 142s;
		margin-left: 50%;
	}

	.clouds#cloud-3 {
		top: 150px;
		left: 400px;
		-webkit-animation-duration: 116s;
		-moz-animation-duration: 116s;
		-ms-animation-duration: 116s;
		-o-animation-duration: 116s;
		animation-duration: 116s;
		margin-left: 5%;
	}

	.clouds#cloud-5 {
		top: 250px;
		left: 400px;
		-webkit-animation-duration: 200s;
		-moz-animation-duration: 200s;
		-ms-animation-duration: 200s;
		-o-animation-duration: 200s;
		animation-duration: 200s;
		margin-left: 5%;
	}

	@-webkit-keyframes clouds {
		0% {
			left: -100%;
		}
		100% {
			left: 120%;
		}
	}
	@-moz-keyframes clouds {
		0% {
			left: -100%;
		}
		100% {
			left: 120%;
		}
	}
	@-ms-keyframes clouds {
		0% {
			left: -100%;
		}
		100% {
			left: 120%;
		}
	}
	@keyframes clouds {
		0% {
			left: -100%;
		}
		100% {
			left: 120%;
		}
	}	
}