/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
Base styles: opinionated defaults
========================================================================== */

html,
button,
input,
select,
textarea {
	color: #222;
}

body {
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
Chrome Frame prompt
========================================================================== */

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
Author's custom styles
========================================================================== */

/* Sticky Footer by Ryan Fait http://ryanfait.com/ */
* {
	margin: 0;
}
html, body {
	height: 100%;
}
.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -140px; /* the bottom margin is the negative value of the footer's height */
}
footer, .push-footer {
	height: 140px; /* .push must be the same height as .footer */
}

/* Responsive Youtube embed */
.video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Fonts */
@font-face {
	font-family: 'salamander_script_bold_regular';
	src: url('../font/salamander-script-bold/salamander_script_bold.eot');
	src: url('../font/salamander-script-bold/salamander_script_bold.eot?#iefix') format('embedded-opentype'),
		 url('../font/salamander-script-bold/salamander_script_bold.woff') format('woff'),
		 url('../font/salamander-script-bold/salamander_script_bold.ttf') format('truetype'),
		 url('../font/salamander-script-bold/salamander_script_bold.svg#salamander_script_bold_regular') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'always_forever_regular';
	src: url('../font/always-forever/always_forever.eot');
	src: url('../font/always-forever/always_forever.eot?#iefix') format('embedded-opentype'),
		 url('../font/always-forever/always_forever.woff') format('woff'),
		 url('../font/always-forever/always_forever.ttf') format('truetype'),
		 url('../font/always-forever/always_forever.svg#always_forever_regular') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'ammys_handwriting_regular';
	src: url('../font/ammys-handwriting/ammys_handwriting.eot');
	src: url('../font/ammys-handwriting/ammys_handwriting.eot?#iefix') format('embedded-opentype'),
		 url('../font/ammys-handwriting/ammys_handwriting.woff') format('woff'),
		 url('../font/ammys-handwriting/ammys_handwriting.ttf') format('truetype'),
		 url('../font/ammys-handwriting/ammys_handwriting.svg#ammys_handwriting_regular') format('svg');
	font-weight: normal;
	font-style: normal;
}

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

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

/* elena.i.jau styles */
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #D1E2E9;
	background-image: url('/img/bg.jpg');
	background-repeat: no-repeat;
	background-position: center top;
}

a {
	color: #3A91FC;
}

.social-icons, .lang-icons {
	position: relative;
	top: 20px;
	margin: 0 auto;
	text-align: center;
}

.social-icons a {
	text-decoration: none;
}

.lang-icons img {
	cursor: pointer;
}

header .title {
	font-family: 'salamander_script_bold_regular';
	font-size: 4.5em;
	font-weight: normal;
	padding: 17px;
}

#pennants {
	background-image: url('/img/pennants.png');
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% auto;
	width: 100%;
	height: 103px;
}

#grass {
	background-image: url('/img/grass.png');
	background-repeat: no-repeat;
	background-position: center bottom;
	width: 100%;
	height: 140px;
}

#base {
	margin-top: 10px;
}

#base > div.row, header > div.row {
	margin: 0;
}

.main {
	margin: 0;
	min-height: 360px;
}

.menu li {
	background-image: url('/img/menu_ribbon.png');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	max-width: 170px;
	height: 45px;
	overflow: hidden;
}

.menu li a {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 0.9em;
	color: white;
}

.menu li a span {
	position: relative;
	left: 15%;
	top: 11px;
}

.white-box {
	border-radius: 5px;
	background-color: white;
}

.white-box-content {
	padding: 20px;
	font-family: 'birdie_regular';
	font-size: 1.2em;
	font-stretch: wider;

}

.home .title {
	font-family: 'smoothie_regular';
	font-size: 4.5em;
	font-weight: normal;
	margin: 15px auto 25px;
		line-height: 70%;
}

.home .title span {
	font-size: 1.25em;
}

.home .video-container {
	margin: 20px auto;
}

.form.container-fluid {
	padding: 0;
}

form {
	text-align: left;
	font-family: 'birdie_regular';
}

form input[type="checkbox"], form input[type="radio"] {
	margin-top: -2px;
}

form ul label {
	margin-right: 15px;
}

.white-box .form-horizontal .control-group .control-label {
	width: 262px;
	cursor: default;
}

.white-box .form-horizontal .control-group .controls {
	margin-left: 50%;
	margin-top: 5px;
}

.white-box .form-horizontal textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
}

.white-box .form-ok br {
	margin: 30px auto;
}

.personal-text {
	font-family: 'smoothie_regular';
	font-size: 3.6em;
	text-transform: uppercase;
	text-align: left;
	margin: 0;
}

.us img, .proposal img {
	margin: 25px 2.5%;
	width: 200px;
}

.place-schedule img {
	height: 236px;
	width: auto;
	margin: 0 2.5%;
}

.accommodation ul li {
	list-style: disc;
}
.accommodation ul li {
	margin: 12px 0 12px 30px;
}

.links img {
	width: 300px;
}

.links img.spaced {
	margin-top: 25px;
}

.countdown label {
	color: #EA7371;
	font-weight: bold;
	display: inline;
	position: relative;
	bottom: 30px;
}

.countdown input {
	cursor: default;
}

/* ==========================================================================
Author's custom helper classes
========================================================================== */
.centered {
	text-align: center;
	margin: 0 auto;
}

.left {
	text-align: left;
}

.right {
	text-align: right;
}

.no-margin {
	margin: 0;
}

.d-none {
	display: none;
}

.d-inline, .d-inline li {
	display: inline-block;
	vertical-align: middle;
}

ul, ol, form {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none outside none;
}

/* ==========================================================================
Helper classes
========================================================================== */

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
EXAMPLE Media Queries for Responsive Design.
Theses examples override the primary ('mobile first') styles.
Modify as content requires.
========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (min-resolution: 144dpi) {
	/* Style adjustments for high resolution devices */
}

@media (min-width: 768px) and (max-width: 979px) {
	header.container, #base {
	   width: 95%;
	}

	#pennants {
		height: 81px;
	}

	.menu li a {
		font-size: 0.7em;
	}

	.white-box .form-horizontal .control-group .controls {
		margin-left: 67%;
	}

	.us img, .proposal img {
		margin: 1.5%;
	}

	.countdown {
		text-align: center;
	}

	.countdown label {
		display: inherit;
		position: inherit;
		text-align: center;
	}
}

@media (max-width: 767px) {
	header .row-fluid [class*="span"] {
		float: left;
	}

	header .row-fluid .span2 {
		width: 20%;
	}

	header .row-fluid .span8 {
		width: 60%;
	}

	.social-icons, .lang-icons {
		top: 10px;
	}

	#pennants {
		height: 63px;
	}

	.main, .countdown {
		margin-top: 5%;
	}

	.menu, .countdown {
		text-align: center;
	}

	.menu li {
		display: inline-block;
		min-width: 170px;
	}
	.menu li a {
		text-align: left;
	}

}

@media (min-width: 481px) and (max-width: 767px) {
	.white-box .form-horizontal .control-group .control-label {
		width: 50%;
	}

	.white-box .form-horizontal .control-group .controls {
		margin-left: 55%;
	}
}

@media (max-width: 480px) {
	body {
		padding-left: 10px;
		padding-right: 10px;
	}

	header .title {
		font-size: 3em;
		padding-left: 0;
		padding-right: 0;
	}

	.social-icons img, .lang-icons img {
		width: 40%;
	}

	#pennants {
		height: 40px;
	}

	.white-box .form-horizontal .control-group .controls {
		margin-left: 10%;
	}
}

@media (min-width: 1200px) {
	.white-box .form-horizontal .control-group .control-label {
		width: 275px;
	}

	.white-box .form-horizontal .control-group .controls {
		margin-left: 45%;
	}
}

/* ==========================================================================
Print styles.
Inlined to avoid required HTTP connection: h5bp.com/r
========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links for images, or javascript/internal links
	 */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}
