$default-font: "Lato", Arial, sans-serif;

$countdown-item-background-color: #000000;
$countdown-item-color: #ffffff;
$countdown-title-color: #ffffff;

$event-title-color: #ffffff;
$event-description-color: #ffffff;

$overlay-background-color: rgba(0,0,0,0.5);

$link-color: #ffffff;
$link-background-color: #222222;

$link-color-hover: #ffffff;
$link-background-color-hover: lighten( $link-background-color, 10% );

@font-face {
    font-family: 'finlandica';
    src: url('../fonts/finlandica-boldWeb.woff2') format('woff2'),
         url('../fonts/finlandica-boldWeb.woff') format('woff'),
         url('../fonts/finlandica-boldWeb.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'finlandica';
    src: url('../fonts/finlandica-bolditalicWeb.woff2') format('woff2'),
         url('../fonts/finlandica-bolditalicWeb.woff') format('woff'),
         url('../fonts/finlandica-bolditalicWeb.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'finlandica';
    src: url('../fonts/finlandica-italicWeb.woff2') format('woff2'),
         url('../fonts/finlandica-italicWeb.woff') format('woff'),
         url('../fonts/finlandica-italicWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'finlandica';
    src: url('../fonts/finlandica-regularWeb.woff2') format('woff2'),
         url('../fonts/finlandica-regularWeb.woff') format('woff'),
         url('../fonts/finlandica-regularWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.default .event-portlet {
	position: relative;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,0.5);
	width: 100%;
	height: 100%;
	/*z-index: -1;*/
}

.default .event-portlet .event-overlay {
	background-color: $overlay-background-color;
}

.default .event-portlet .event-information {
	width: 80%;
	margin: 0 auto;
	padding: 80px 0px;
	box-sizing: border-box;
}

.default .event-portlet .event-information .event-title-container h1 {
	font-size: 2rem;
	font-weight: bold;
	color: $event-title-color;
}

.default .event-portlet .event-information .event-description {
	color: $event-description-color;
	font-size: 1.1rem;
	margin-bottom: 30px;
}

.default .event-portlet .event-information .event-description p {
	color: $event-description-color;
	font-size: 1.1rem;
}

.default .event-portlet .event-information .event-countdown {
	display: flex;
	margin: 40px 0;
	font-size: 1.5rem;
	color: $event-title-color;
	font-family: $default-font;
}

.default .event-portlet .event-information .event-countdown .event-countdown-item {
	margin-right: 20px;
	display: flex;
	flex-direction: column;
	text-align: center;
}

.default .event-portlet .event-information .event-countdown .event-countdown-item .event-countdown-item-value {
	font-size: 3.5rem;
	margin-bottom: 20px;
	background-color: $countdown-item-background-color;
	color: $countdown-item-color;
	line-height: 1;
	border-radius: 5px;
	padding: 25px 10px;
	font-weight: bold;
	font-family: $default-font;
	display: flex;
	justify-content: center;
	align-items: center;
}

.default .event-portlet .event-information .event-countdown .event-countdown-item .event-countdown-item-title {
	font-size: 1.5rem;
	color: $countdown-title-color;
}

.default .event-portlet .event-information .event-time-info {
	display: flex;
	margin-bottom: 30px;
}

.default .event-portlet .event-information .event-time-info .info-item {
	display: flex;
	align-items: center;
	margin-right: 30px;
}

.default .event-portlet .event-information .event-time-info .info-item .info-item-icon {
	margin-right: 15px;
	height: 100%;
}

.default .event-portlet .event-information .event-time-info .info-item .info-item-icon img {
	height: 100%;
}

.default .event-portlet .event-information .event-time-info .info-item .info-item-icon svg {
	height: 100%;
	width: 22px;
	color: white;
}


.default .event-portlet .event-information .event-time-info .info-item .info-item-text {
	color: $countdown-item-color;
	font-size: 1.5rem;
	font-weight: bold;
	font-family: $default-font;
}

.default .event-portlet .event-information .event-navigation-container {
	width: 100%;
	margin-bottom: 30px;
}

.default .event-portlet .event-information .event-navigation-container .event-navigation-wrapper {
	display: flex;
	justify-content: left;
	align-items: center;
}

.default .event-portlet .event-information .event-navigation-container .event-navigation-wrapper .event-action {
	font-size: 1.2rem;
	font-weight: bold;
	color: $link-color;
	background-color: $link-background-color;
	text-decoration: none;
	padding: 10px 40px;
	border-radius: 4px;
	font-family: $default-font;
}

.default .event-portlet .event-information .event-navigation-container .event-navigation-wrapper .event-action:not(:last-child) {
	margin-right: 15px;
}

.default .event-portlet .event-information .event-navigation-container .event-navigation-wrapper .event-action:HOVER {
	color: $link-color-hover;
	background-color: $link-background-color-hover;
}

.default .event-portlet .event-information .event-navigation-container .event-register-mail {
	font-size: 2em;
	margin-right: 10px;
}

.default .event-portlet .event-information .event-navigation-error,
.default .event-portlet .event-information .event-navigation-success {
	width: 310px;
	background: #ccc;
	border: 1px solid #777;
	border-radius: 6px;
	visibility: hidden;
	margin-bottom: 15px; 
	height: 0;
	padding: 0px;
	display: flex;
	align-items: stretch;
}

.default .event-portlet .event-information .event-navigation-error .error-note-icon,
.default .event-portlet .event-information .event-navigation-success .success-note-icon {
	width: 50px;
	z-index: 99999;
	background: #757777;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30px;
	background-image: ''; 
	flex: 1; 
}	
	
.default .event-portlet .event-information .event-navigation-error .error-note-body,
.default .event-portlet .event-information .event-navigation-success .success-note-body {
	font-size: 16px; 
	padding: 10px;
	flex: 6;
}

.default .event-portlet .event-information .error-note-error {
	background: #fff5f5;
	border: 1px solid #ff0000;
}

.default .event-portlet .event-information .success-note-success {
	background: #fff5f5;
	border: 1px solid #00ff00;
}

.default .event-portlet .event-information .error-note-error > .error-note-icon {
	background: #ff0000;
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/14179/error.svg); 
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30px;
}

.default .event-portlet .event-information .success-note-success > .success-note-icon {
	background: #00ff00;
	background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/14179/success.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30px;
}

.default .event-portlet .event-login-wrapper {
	display: flex;
	flex-direction: column;
}

.default .event-portlet .event-login-wrapper .event-login-field {
	display: block;
	margin: 5px 0;
}

.default .event-portlet .event-login-wrapper .event-login-field label {
	color: #ffffff;
	margin: 5px 0;
}

.default .event-portlet .event-information .event-navigation-container .event-login-wrapper .event-action {
	font-size: 1.2rem;
	font-weight: bold;
	color: $link-color;
	background-color: $link-background-color;
	text-decoration: none;
	padding: 10px 40px;
	border-radius: 4px;
	font-family: $default-font;
	display: inline-block;
	cursor: pointer;
}

.default .event-portlet .event-information .event-navigation-container .event-login-wrapper .event-action:not(:last-child) {
	margin-right: 15px;
}

.default .event-form-container label {
	width: 100%;
	display: block;
	color: white;
	text-transform: none;
	font-size: 22px;
	font-family: "Gilroy", "Open Sans";
	margin: 15px 0;
}

.default .event-form-container .form-field-required {
	color: red;
	font-size: 30px;
	vertical-align: middle;
}

.default .event-form-container .form-field-required-message {
	color: red !important;
	margin: 5px 0;
}

.default .event-form-container input.alert {
	border-color: red !important;
}

.default .event-form-container button {
	font-size: 1.2rem;
	font-weight: bold;
	color: $link-color;
	background-color: $link-background-color;
	text-decoration: none;
	padding: 10px 40px;
	border-radius: 4px;
	font-family: $default-font;
	border: none;
	margin: 20px 0;
}

.default .event-form-container button:hover {
	color: $link-color-hover;
	background-color: $link-background-color-hover;
}

.default .event-form-container button:focus {
	color: $link-color-hover;
	background-image: none;
	background-color: $link-background-color-hover;
}

.default .event-form-container input {
	max-width: 720px;
	width: 100% !important;
	border-radius: 4px;
	border: 1px solid #fff !important;
	padding: 10px !important;
}

.default .event-form-container input[type="checkbox"] {
	float: left;
}

.default .event-form-container .checkbox {
	/*width: calc(100% * (1/2) - 20px);*/
	margin: 10px;
	min-height: 50px;
	/*float: left;*/
	box-sizing: border-box;
	/*padding: 20px;*/
}

.default .event-form-container .checkbox-container {
	display: block;
	position: relative;
	padding-left: 35px !important;
	/*margin-bottom: 12px;*/
	cursor: pointer;
	user-select: none;
}

.default .event-form-container .checkbox-container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.default .event-form-container .checkmark {
	position: absolute;
	top: 0;
	left: -10px;
	height: 25px;
	width: 25px;
	background-color: #fff;
	border-radius: 4px;
}

.default .event-form-container .checkmark.alert {
	border: 1px solid red;
}

.default .event-form-container .checkbox-container:hover input ~ .checkmark {
	background-color: #ccc;
}

.default .event-form-container .checkbox-container input:checked ~ .checkmark {
	background-color: #2196F3;
}

.default .event-form-container .checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.default .event-form-container .checkbox-container input:checked ~ .checkmark:after {
	display: block;
}

.default .event-form-container .checkbox-container .checkmark:after {
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* TICKET */
.default .event-portlet .event-btn,
.default .event-portlet .event-btn:hover,
.default .event-portlet .event-btn:focus,
.default .event-portlet .event-btn:active {
	font-size: 1.2rem;
	font-weight: bold;
	color: $link-color;
	background-color: $link-background-color;
	text-decoration: none;
	padding: 10px 40px;
	border-radius: 4px;
	font-family: $default-font;
	border: none;
	margin: 0;
	background-image: none;
	text-transform: none;
}
.default .event-portlet .event-btn:hover {
	color: $link-color-hover;
	background-color: $link-background-color-hover;
}
.default .event-portlet .event-btn:disabled {
	color: $link-color-hover;
	background-color: $link-background-color-hover;
	cursor: not-allowed;
}
.default .ticket-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 40px 0;
	padding-top: 10px;
	/*background-color: rgba(255,255,255,0.1);*/
	margin-bottom: 30px;
}
.default .ticket-buy {
	margin-right: 100px;
	margin-top: 30px;
}
.default .ticket-enter {
	display: flex;
	flex-direction: column;
	margin-top: 30px;
}
.default .ticket-enter label {
	display: block;
	color: white;
	text-transform: none;
	font-size: 22px;
	font-family: "Gilroy","Open Sans";
	margin: 0;
	margin-bottom: 10px;
}
.default .ticket-enter .form-control input {
	border-radius: 4px;
	margin-right: 20px;
}
.default .ticket-enter label {
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
}
.default .form-control {
	display: flex;
	align-items: center;
}
@media only screen and (max-width: 450px) {
	.default .form-control {
		flex-wrap: wrap;
	}
	.default .ticket-enter .form-control input {
		margin-bottom: 30px;
	}
}
/* END OF TICKET */

@media only screen and (max-width: 560px) {

	.default .event-portlet .event-information .event-navigation-container .event-navigation-wrapper {
		display: flex;
		justify-content: left;
		align-items: center;
		flex-wrap: wrap;
	}

	.default .event-portlet .event-information .event-navigation-container .event-navigation-wrapper .event-action {
		font-size: 1.5rem;
		font-weight: bold;
		color: $link-color;
		background-color: $link-background-color;
		text-decoration: none;
		padding: 10px 50px;
		border-radius: 45px;
		font-family: $default-font;
	}

	.default .event-portlet .event-information .event-navigation-container .event-navigation-wrapper .event-action:not(:last-child) {
		margin-right: 0;
		margin-bottom: 15px;
	}
	
}

@media only screen and (max-width: 500px) {

	.default .event-portlet .event-information .event-countdown {
		display: flex;
		margin: 40px 0;
		flex-wrap: wrap;
		justify-content: center;
	}

	.default .event-portlet .event-information .event-countdown .event-countdown-item {
		margin-right: 20px;
		display: flex;
		flex-direction: column;
		text-align: center;
		margin-bottom: 20px;
	}
	
}

/* FOOTER STYLES */
.footer-nav {
	/* how are you supposed to determine the height of this footer? or are you supposed to? */
	display: flex;
	justify-content: start;
	align-items: center;
	flex-wrap: wrap;
	padding: 25px 0;
	margin-top: 50px;
	/* sane defaults? */
	background-color: transparent;
	color: $event-description-color;
	font-size: 16px;
	text-transform: uppercase;
}

.footer-nav .footer-nav-item {
	color: inherit;
	font-size: inherit;
	text-transform: inherit;
	padding-top: 10px;
}

.footer-nav .footer-nav-item a {
	color: inherit;
	font-size: inherit;
	text-transform: inherit;
	text-decoration: underline;
}

.footer-nav .footer-nav-item:not(:last-child) {
	margin-right: 25px;
}

.footer-btn,
.footer-btn:active,
.footer-btn:hover,
.footer-btn:focus {
	background: transparent !important;
	color: inherit;
	text-decoration: underline;
	display: inline-block;
	transition: none;
	text-align: left;
	font-weight: normal;
	text-transform: inherit;
	font-size: inherit;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	vertical-align: inherit;
	line-height: 15px;
	border: none !important;
	overflow: visible;
	font-family: inherit;
}

/* MODAL STYLES */

.event-modal {
	align-items: center;
	display: none;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	right: 0;
	bottom:0;
}

.event-modal-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom:0;
	background-color: rgba(10,10,10,0.86);
}

.event-modal-content {
	margin: 0 auto;
	max-height: calc(100vh-40px);
	width: 95%;
	overflow: auto;
	position: relative;
	border-radius: 4px;
	padding: 1rem;
	background-color: rgba(23,23,23,1);
	color: #ffffff;
	scrollbar-width: thin;
	line-height: 1.4;
}

.event-modal-close {
	height: 32px;
	max-height: 32px;
	min-height: 32px;
	width: 32px;
	max-width: 32px;
	min-width: 32px;
	position: fixed;
	right: 20px;
	top: 20px;
	background-color: transparent !important;
	background-image: none !important;
	border: none !important;
	padding: 0;
	margin: 0;
	color: #ffffff;
	font-size: 24px;
}

.event-modal-close:hover {
	height: 32px;
	max-height: 32px;
	min-height: 32px;
	width: 32px;
	max-width: 32px;
	min-width: 32px;
	position: fixed;
	right: 20px;
	top: 20px;
	background-color: transparent !important;
	background-image: none !important;
	border: none !important;
	padding: 0;
	margin: 0;
	color: #ffffff;
	font-size: 24px;
}

.event-modal-close:active {
	height: 32px;
	max-height: 32px;
	min-height: 32px;
	width: 32px;
	max-width: 32px;
	min-width: 32px;
	position: fixed;
	right: 20px;
	top: 20px;
	background-color: transparent !important;
	background-image: none !important;
	border: none !important;
	padding: 0;
	margin: 0;
	color: #ffffff;
	font-size: 24px;
}

.event-modal-close:focus {
	height: 32px;
	max-height: 32px;
	min-height: 32px;
	width: 32px;
	max-width: 32px;
	min-width: 32px;
	position: fixed;
	right: 20px;
	top: 20px;
	background-color: transparent !important;
	background-image: none !important;
	border: none !important;
	padding: 0;
	margin: 0;
	color: #ffffff;
	font-size: 24px;
}

.event-modal-close svg {
	fill: #ffffff;
	max-width: 24px; 
}

.event-modal-content a {
	color: inherit;
	/*font-family: inherit !important;*/
}

.event-modal-content h1,
.event-modal-content h2,
.event-modal-content h3,
.event-modal-content h4 {
	color: inherit !important;
	font-weight: bold;
	margin-bottom: 16px;
	/*font-family: inherit !important;*/
}

.event-modal-content h1 {
	font-size: 24px !important;
}
.event-modal-content h2 {
	font-size: 18px !important;
}
.event-modal-content h3 {
	font-size: 16px !important;
}
.event-modal-content h4 {
	font-size: 16px !important;
}

.event-modal-content p {
	color: inherit !important;
	font-weight: normal;
	font-size: 16px !important;
	/*font-family: inherit !important;*/
	margin-bottom: 10px;
}

@media screen and (min-width: 769px) {
	.event-modal-content {
		width: 640px;
	}
}

/* language select */
#languageSelect {
	/*padding: 5px !important;*/
	display: inline-block;
	width: auto !important;
	margin-left:15px;
	position: absolute;
	top: 20px;
	right: 20px;
}
.select-css {
	display: block !important;
	font-size: 12px !important;
	font-family: sans-serif !important;
	font-weight: 700 !important;
	color: #444 !important;
	line-height: 1.3 !important;
	padding: .6em 1.3em .5em .7em !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	/*border: 1px solid #aaa;*/
	border: none !important;
	/*box-shadow: 0 1px 0 1px rgba(0,0,0,.04);*/
	box-shadow: none !important;
	border-radius: 4px !important;
	-moz-appearance: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	background-color: #fff !important;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23222222%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
	  linear-gradient(to bottom, #ffffff 0%,#efefef 100%) !important;
	background-repeat: no-repeat, repeat !important;
	background-position: right .7em top 50%, 0 0 !important;
	background-size: .65em auto, 100% !important;
}
.select-css::-ms-expand {
	display: none !important;
}
.select-css:hover {
	border-color: #888 !important;
}
.select-css:focus {
	border-color: #aaa !important;
	box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7) !important;
	box-shadow: 0 0 0 3px -moz-mac-focusring !important;
	color: #222 !important;
	outline: none !important;
}
.select-css option {
	font-weight:normal !important;
}