/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
@font-face {
    font-family: 'AvenirBold';
    src: url('/localprojects/happystrasbourg/fonts/AvenirBold/AvenirNextLTPro-BoldCn.eot');
    src: url('/localprojects/happystrasbourg/fonts/AvenirBold/AvenirNextLTPro-BoldCn.eot#iefix') format('embedded-opentype'),
         url('/localprojects/happystrasbourg/fonts/AvenirBold/AvenirNextLTPro-BoldCn.woff') format('woff'),
         url('/localprojects/happystrasbourg/fonts/AvenirBold/AvenirNextLTPro-BoldCn.ttf') format('truetype'),
         url('/localprojects/happystrasbourg/fonts/AvenirBold/AvenirNextLTPro-BoldCn.svg#AvenirNextLTPro-BoldCn') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'AvenirNextMedium';
    src: url('/localprojects/happystrasbourg/fonts/AvenirNextMedium/AvenirNextLTPro-MediumCn.eot');
    src: url('/localprojects/happystrasbourg/fonts/AvenirNextMedium/AvenirNextLTPro-MediumCn.eot#iefix') format('embedded-opentype'),
         url('/localprojects/happystrasbourg/fonts/AvenirNextMedium/AvenirNextLTPro-MediumCn.woff') format('woff'),
         url('/localprojects/happystrasbourg/fonts/AvenirNextMedium/AvenirNextLTPro-MediumCn.ttf') format('truetype'),
         url('/localprojects/happystrasbourg/fonts/AvenirNextMedium/AvenirNextLTPro-MediumCn.svg#AvenirNextLTPro-MediumCn') format('svg');
    font-weight: normal;
    font-style: normal;
}
body{
	background: #fff;
	font-family: 'AvenirNextMedium';
}
section#main{
	background: #ffd202;
	border-bottom: 12px solid #fff5c5;
	padding-bottom: 22px;
}
article#hero{
	text-align: center;
	width: 65%;
	margin:0 auto;
	max-width:1140px;
	padding: 2% 0;
	max-width:1140px;
}
article#hero>h1{
	font-size: 230px;
	font-family: 'AvenirBold';
	text-transform:uppercase;
}
article#hero>h2{
	font-size: 24px;
	text-transform:uppercase;
	max-width: 850px;
	margin: 0 auto;
}
h2.separator{
	background: url(/localprojects/happystrasbourg/img/separator.gif) left center repeat-y, 
	url(/localprojects/happystrasbourg/img/separator.gif) right center repeat-y;
}
h1{
	font-size: 24px;
	font-family: 'AvenirNextMedium';
	text-transform:uppercase;
	max-width: 850px;
	margin: 0 auto;
	text-align: center;
}
button{
	display: block;
	margin: 15px auto 15px;
	border-radius: 10px;
	width: 123px;
	height: 47px;
	background: #000;
	border: none;
	color: #fff;
	cursor:pointer;
	outline: none;
}
button:hover{
	-webkit-animation:bounce 0.3s ease-in;
	-moz-animation:bounce 0.3s ease-in;
	-ms-animation:bounce 0.3s ease-in;
	-o-animation:bounce 0.3s ease-in;
	animation:bounce 0.3s ease-in;
}
section#social>h1{margin: 60px auto 20px;}
article#video{
	max-width:1140px;
	margin: 0 auto;
	padding: 2%;
}
article#twitter{
	display: block;
	margin: 0 auto 60px;
	max-width: 1140px;
	text-align: center;
}
article#twitter>iframe{
	max-width: 100%;
}
footer{
	position: relative;
	display: block;
	width: 100%;
	bottom: 0;
	text-align: center;
	font-size: 15px;
	background: #FFFAE0;
	height: 60px;
	border-top: 12px solid #ffe881;
	padding-top: 10px;
}
footer>a:link,
footer>a:active,
footer>a:visited{
	color: #000;
	text-decoration: none;
	display: inline-block;
	margin-right: 22px;
}
footer>a:last-child{
	margin-right: 0;
}
footer>a:hover{
	text-decoration: underline;
}
/*instafeed*/
article#instafeed{
	max-width: 1140px;
	margin: 0 auto;
	text-align: center;
	overflow: hidden;
	height: 320px;
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
article#instafeed.instabig{
	height: 100%;
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.item{
	height: 150px;
	width: 150px;
	display: inline-block;
	margin: 0;
	padding: 5px 6px;
}
div#share{
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	margin-top: 20px;
	position: relative;
}
iframe#twitter-widget-0{
	width: 87px;
	height: 20px;
	position: absolute;
	top:0;
	z-index: 1;
	margin-left: -90px;
}
div.fb-share-button.fb_iframe_widget{
	display: inline-block;
	margin: 0;
	padding: 0;
	position:absolute;
	top:0;
	z-index: 1;
	margin-left: 18px;
}
/*animations*/
@-webkit-keyframes bounce{
	0%   {width: 123px;}
	50%   {width: 132px;}
	100% {width: 123px;}
}
@-moz-keyframes bounce{
	0%   {width: 123px;}
	50%   {width: 132px;}
	100% {width: 123px;}
}
@-ms-keyframes bounce{
	0%   {width: 123px;}
	50%   {width: 132px;}
	100% {width: 123px;}
}
@-o-keyframes bounce{
	0%   {width: 123px;}
	50%   {width: 132px;}
	100% {width: 123px;}
}
@keyframes bounce{
	0%   {width: 123px;}
	50%   {width: 132px;}
	100% {width: 123px;}
}
/*queries*/
@media screen and (max-width: 1280px){
	article#hero{width: 70%;}
}
@media screen and (max-width: 890px){
	div#halfback{height: 60%;}
}
@media screen and (max-width: 640px){
	div#halfback{height: 55%;}
}
@media screen and (max-width: 480px){
	article#hero{width: 79%;}
	div#halfback{height: 45%;}
	footer{height: 175px;}
	footer>a{
		display: block!important;
		padding-top: 5px;
		margin-right: 0!important;
	}
}
@media screen and (max-width: 320px){
	div#halfback{height: 30%;}
}