/* MEDIA QUERIES */
/* --------------*/

/* Big screens ----------- */
@media (min-width: 1200px) {
/* Styles */
  
}

@media (max-width: 1167px) {
/* Styles */

}

/* Up to small screens ----------- */
@media (max-width: 979px) {
/* Styles */
	.fr #donation-box .donate-btn {
		font-size: 16px;
		margin-top: 15px;
	}
	#menu-main-nav .menu-item a {
		padding: 0 49px;
	}
	#menu-main-nav-french .menu-item a {
		padding: 0 20px;
	}
	#menu-main-nav-french li:nth-child(even) {
		padding: 0 20px !important;
	}
	#menu-main-nav-french .menu-item {
		min-width: 120px;
	}
	.fr #site-links {
		max-width: 323px;
	}
	#donation-bottom #donate-now {
		margin-right: 9px;
	}
	#header-banner {
		background-position: top center;
		background-size: 100% 565px;
	}
	#read-more-articles .container-fluid {
		background-position: 18em 10px, 42em 10px;
		background-size: 190px 140px;
	}
	.slider_wrap {
		max-width: 532px;
		margin: 15px 11px 30px 24px;
	}
	#prev-btn {
		left: 24px;
	}
	#next-btn {
		right: 25px;
	}
	#nav_menu-2 {
		margin-left: 20px;
	}
	#site-links {
		margin-right: 20px;
	}
	#donation-container {
		width: 900px;
	}
	#donation-dollar {
		width: 450px;
	}
	#donation-rep {
		width: 450px;
	}
	.visible-desktop {
		display: none !important;
	}
	#menu-main-nav-french .menu-item a span {
		font-size: 11px;
	}
	.fr .twitter-feed li button, .fr .fb-feed li button {
		width: 121px;
		bottom: -11px;
	}
	#thousand-top {
		width: 100%;
		margin: 0;
		padding: 10px;
		box-sizing: border-box;
	}
	#twitter-box.challenge, #fb-box.challenge {
		width: 100%;
		padding-right: 0;
	}
	#twitter-box.challenge h2, #fb-box.challenge h2,
	#twitter-box.challenge p, #fb-box.challenge p,
	#twitter-box.challenge .donate-btn, #fb-box.challenge .donate-btn {
		width: 90%;
		position: relative;
		margin: 10px auto;
		float: none;
		left: 0;
		right: 0;
		bottom: 0;
	}

	#drop-down-donation {
		top: 0px;
		left: -35px;
	}

	#drop-down-donation a {
		font-size: 11px;
	}

	#puck-challenge-top #donation-box:before, #puck-challenge-top #donation-box:after {
		display: none;
	}

	#puck-challenge-top .parallelogram {
		max-width: 290px;
		margin:0 auto;	
	}

	#puck-challenge-top .parallelogram p {
		font-size: 14px;
	}
}
/* up to tablets ----------- */
@media (max-width: 767px) {
/* Styles */
	#header-banner {
		background-size: 1600px 565px;
	}
	#social-area {
		background-size: 1600px 192px;
	}
	#donate-callout img {
		width: 90px;
	}

}

/* up to landscape phone ----------- */
@media (max-width: 480px) {
/* Styles */
	body {
		padding: 0px;
	}
	#homepage-video object embed {
		width: 470px !important;		
		height: 320px !important;
	}
	#homepage-video .container-fluid div {
		width: 470px;
		height: 320px;
	}
	#header-banner {
		background-size: 1600px 565px !important;
	}
	#social-area {
		background-size: 1600px 192px;
	}
	#donate-callout img {
		width: 90px;
	}
	#puck-challenge-top .span4 {
		margin-top: 0;
	}
	#donation-box.leaderboard img:last-child {
		width: 100%;
	}
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
/* Styles */
	#graph-kids {
		bottom: 47px;
		font-size: 80px;
		width: 210px;
	}
	.popover {
		height: auto !important;
	}

}

/* Ipad landscape ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape), only screen and (device-width:961px) and (orientation : landscape), only screen and (max-width: 1024px) {
/* Styles */
	#menu-main-nav .menu-item a {
		padding: 0 49px;
	}
	#menu-main-nav-french .menu-item a {
		padding: 0 20px;
	}
	#menu-main-nav-french li:nth-child(even) {
		padding: 0 20px !important;
	}
	#menu-main-nav-french .menu-item {
		min-width: 120px;
	}
	.fr #site-links {
		max-width: 323px;
	}
	#donation-bottom #donate-now {
		margin-right: 9px;
	}
	#header-banner {
		background-position: top center;
		background-size: 1600px 565px;
	}
	#read-more-articles .container-fluid {
		background-position: 18em 10px, 42em 10px;
		background-size: 190px 140px;
	}
	.slider_wrap {
		max-width: 532px;
		margin: 15px 11px 30px 24px;
	}
	#prev-btn {
		left: 24px;
	}
	#next-btn {
		right: 25px;
	}
	#nav_menu-2 {
		margin-left: 20px;
	}
	#site-links {
		margin-right: 20px;
	}
	#donation-container {
		width: 900px;
	}
	#donation-dollar {
		width: 450px;
	}
	#donation-rep {
		width: 450px;
	}
	#donation-box p {
		font-size: 12px;
		padding-top: 10px;
		margin-bottom: 0px;
	}
	#donation-box img:last-child {
		width: 70px;
	}
	#donation-box .hockeylines {
		margin-top: 10px;
	}
	.visible-desktop {
		display: none !important;
	}
	#menu-main-nav-french .menu-item a span {
		font-size: 11px;
	}
	.fr .twitter-feed li button, .fr .fb-feed li button {
		width: 121px;
		bottom: -11px;
	}
	.post-blurb {
		height: 525px;
	}
	.fr .post-blurb {
		height: 560px;
	}
	#site-links {
		max-width: 366px;
	}
	#donate-callout p {
		max-width: 170px;
	}
	.wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
		display: block;
		position: relative;
		text-align: left;
		float: left;
		width: 293px;
		margin-top: 0px;
	}
	span.wpcf7-not-valid-tip {
		display: none;
	}
	.popover-content .span9 {
		height: 430px;
	}

	.social_btns {
		margin-right: 20px;
	}
	
	/* Video Gallery */
	
	.video_holder {
		display: block;
		width: 400px;
		float: left;
	}
}

/* Ipad portrait ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait){
/* Styles */
	.nav-container {
		height: 150px;
	}
	.nav-collapse.collapse {
		height: 150px;
	}
	.headline {
		font-size: 37px;
		margin: 55px 0 20px 250px;
	}
	.fr .headline {
		font-size: 27px;
		margin: 58px 0 20px 230px;
	}
	.hyundai_logo {
		margin: 5px 20px 20px 0;
		height: 70px;
	}
	#menu-main-nav li:nth-child(even) a, #menu-main-nav-french li:nth-child(even) {
		padding: 0 15px !important;
	}
	#menu-main-nav, #menu-main-nav-french {
		margin-left: 235px;
		margin-bottom: 0px;
		float: left;
	}
	#menu-main-nav-french {
		margin-left: 225px;
	}
	#menu-main-nav .menu-item, #menu-main-nav-french .menu-item {
		min-width: 100px;
		float: left;
	}
	#menu-main-nav-french .menu-item {
		min-width: 60px;
	}
	#menu-main-nav .menu-item a, #menu-main-nav-french .menu-item a {
		padding: 0 10px;
	}
	#menu-main-nav-french .menu-item a span {
		font-size: 10px;
	}
	#menu-main-nav-french .menu-item a {
		margin: 10px 1px;
	}
	#donation-values {
		width: 387px;
	}
	#donation-values li {
		height: 65px;
		width: 65px;
	}
	#donation-container {
		width: 100%;
	}
	#donation-dollar {
		background-size: 730px;
		width: 730px;
	}
	#donation-dollar span {
		color: #9a9cab;
		position: relative;
		z-index: 1000;
	}
	#bump-down{
		margin-top: 143px;
	}
	#donation-rep {
		width: 730px;
	}
	.slider_wrap {
		max-width: 591px;
		margin: 22px 17px 24px 18px;
	}
	#prev-btn {
		left: 17px;
		top: 110px;
	}
	#next-btn {
		right: 16px;
		top: 110px;
	}
	#header-banner {
		background-size: auto;
		background-position: top center;
	}
	#kids-helped {
		font-size: 52px;
	}
	.fr #kids-helped {
		font-size: 42px;
		line-height: 42px;
	}
	#donation-box {
		padding: 30px 20px;
	}
	#donation-box img {
		width: 100px;
	}
	#donation-box p {
		line-height: 22px;
	}
	#donation-box .donate-btn {
		width: 160px;
		font-size: 20px;
		margin: 15px 0;
	}
	.fr #donation-box .donate-btn {
		font-size: 11px;
	}
	#read-more-articles .container-fluid {
		background: none;
	}
	.post-blurb .parallelogram {
		width: 207px;
		left: -13px;
	}
	.post-blurb .parallelogram p {
		font-size: 15px;
	}
	.post-blurb p {
		padding: 0 20px 0 17px;
		word-wrap: break-word;
	}
	#social-box .nav-tabs > li > a {
		height: 52px;
		width: 52px;
	}
	.twitter-btn, .fb-btn, .youtube-btn {
		background-size: 52px 52px;
	}
	.youtube-btn:hover, .youtube-btn.active, .youtube-btn:active, .nav-tabs li.active .youtube-btn,
	.fb-btn:hover, .fb-btn.active, .fb-btn:active, .nav-tabs li.active .fb-btn,
	.twitter-btn:hover, .twitter-btn.active, .twitter-btn:active, .nav-tabs li.active .twitter-btn {
		background-size: 52px 52px;
	}
	#social-area .span4 {
		margin-left: 13%;
	}
	#menu-hyundai a {
		background-size: contain;
		width: 295px;
	}
	#contact-information .span9, #payment-information .span9 {
		width: 100%;
	}
	#button-holder {
		width: 515px;
	}
	#twitter-box div, #fb-box div {
		width: 320px;
	}
	.twitter-feed {
		width: 315px;
	}
	.twitter-feed li, .fb-feed li {
		width: 315px;
	}
	.twitter-header {
		font-size: 18px;
	}
	.small-donate, .small-donate:hover, .small-donate:active {
		width: 125px;
		height: 50px;
	}
	.navbar .btn-navbar {
		display: none;
	}
	.popover-content .span3 {
		display: none;
	}
	.popover-content .span9 {
		width: 100%;
	}
	#homepage-popover {
		min-height: 700px;
	}
	#hyundai_footer, #hyundai_footer_fr {
		width: 250px;
		height: 26px;
		background-size: contain;
	}
	#site-links {
		max-width: 250px;
	}
	.fr #site-links {
		max-width: 310px;
	}
	.fr .post-blurb .parallelogram p {
		font-size: 12px;
	}
	.post-blurb {
		height: 525px;
	}
	#donate-callout p {
		max-width: 200px;
		margin: 0 auto;
		float: none;
	}
	#donate-callout img {
		margin: 0 auto;
		float: none;
	}
	.wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
		display: block;
		position: relative;
		text-align: left;
		float: left;
		width: 240px;
		margin-top: 0px;
	}
	span.wpcf7-not-valid-tip {
		display: none;
	}
	.popover-content .span9 {
		height: auto;
	}
	.social_btns {
		margin-right: 0px;
	}
	
	/* Video Gallery */
	
	.video_slider {
		width: 518px;
		height: 200px;
		max-height: 200px;
		background: #fff;
		box-shadow: none;
		margin: 0;
		float: right;
	}
	
	.gallery_title {
		display: none;
	}
	
	.video_holder {
		float: right;
		width: 100%;
	}
}

/* Iphone4 portrait ----------- */
@media only screen and (-webkit-min-device-pixel-ratio : 1.5) and (max-width: 480px), only screen and (min-device-pixel-ratio : 1.5) and (max-width: 480px), only screen and (max-width: 480px), only screen and (min-width : 600px) and (max-width : 603px) and (orientation: portrait) {
/* Styles */
	span.wpcf7-not-valid-tip {
		display: none;
	}
	#header-banner {
		min-height: 555px;
	}
	#donate-callout p {
		max-width: 200px;
	}
	.popover {
		height: auto !important;
	}
	#homepage-video object embed {
		width: 300px !important;		
		height: 320px !important;
	}
	#homepage-video .container-fluid div {
		width: 300px;
		height: 320px;
	}
	#widget-footer .span4, #site-links {
		width: 300px;
		margin: 5px auto;
		float: none !important;
	}
	#menu-hyundai a {
		background-size: contain;
		width: 300px;
		margin: 0 auto;
	}
	#menu-kidsport a {
		margin: 0 auto;
	}
	#menu-social-links {
		width: 276px;
		margin: 5px auto;
	}
	.navbar .btn-navbar {
		margin-top: 15px;
		margin-right: 15px;
	}
	#logo, .fr #logo {
		height: 140px;
		width: 130px;
		background-size: 130px 140px;
		left: 30px;
		top: -25px;
	}
	.headline {
		display: none;
	}
	.hyundai_logo {
		display: none;
	}
	.nav-collapse.in.collapse {
		float: right
	}
	#menu-main-nav, #menu-main-nav-french {
		width: 150px;
		margin-left: 0px;
	}
	#menu-main-nav .menu-item, #menu-main-nav-french .menu-item {
		-webkit-transform: skew(0deg);
		-moz-transform: skew(0deg);
		-o-transform: skew(0deg);
	}
	#menu-main-nav .menu-item a, #menu-main-nav-french .menu-item a {
		-webkit-transform: skew(0deg);
		-moz-transform: skew(0deg);
		-o-transform: skew(0deg);
		padding: 9px 15px;
	}
	#menu-main-nav li:nth-child(even) a, #menu-main-nav-french li:nth-child(even) {
		padding: 0 !important;
	}
	#french-lang {
		margin-right: 15px;
	}
	#omgtable #fixed-cell {
		width: 100%;
		background-size: cover;
		background-position: center bottom;
	}
	#omgrow div:first-child, #omgrow div:last-child {
		display: none;
	}
	#donate-bottom {
		background-size: cover;
		height: 141px;
	}
	#widget-footer ul {
		margin: 0 auto;
	}
	#dashed-line {
		display: none;
	}
	#button-holder, #donation-thanks {
		width: 290px;
	}
	#button-holder .donate-btn {
		width: 200px;
		margin: 10px auto !important;
		display: block;
		position: relative;
	}
	#donation-values {
		width: 300px;
	}
	#twitter-box, #fb-box {
		width: 100%;
		padding: 25px 0;
		height: auto;
	}
	#twitter-box div, #fb-box div {
		width: 100%;
	}
	#fb-box div {
		margin: 25px auto 0;
	}
	#dashed-line {
		display: none;
	}
	#contact-form #email-list, #contact-form textarea {
		width: 100%;
	}
	.twitter-feed li, .fb-feed li {
		width: 300px;
/*		margin: 10px auto;*/
	}
	.twitter-feed {
		width: 100%;
	}
	.twitter-header {
		font-size: 16px;
	}
	.read-more-btn {
		padding-bottom: 20px;
	}
	.body-text.top_content {
		width: 290px;
		margin: 40px auto 10px !important;
		text-align: justify;
	}
	.body-text.top_content h2 {
		line-height: 26px;
	}
	h2.body_heading, .body-text {
		margin-left: 20px;
		width: 280px;
	}
	#contact-form-donate input, #contact-form-donate select, 
	#cc-info-form input, #cc-info-form select, 
	#contact-form input, #contact-form #email-list, #contact-form textarea {
		width: 250px;
		margin: 5px auto !important;
		display: block;
		position: relative;	
	}
	#contact-form-donate select, #cc-info-form select {
		width: 292px;
	}
	#contact-form textarea, #contact-form #email-list, #contact-form input {
		float: none !important;
		clear: none !important;
	}
	.social-glyph {
		margin-left: 10px;
	}
	#read-more-articles .container-fluid {
		background-image: none;
	}
	#homepage-popover {
		box-sizing: border-box;
		height: auto;
	}
	#popover-header {
		border-radius: 10px;
	}
	#popover-footer {
		position: relative;
		padding-bottom: 25px;
	}
	#popover-footer ul {
		width: 300px;
		position: relative;
		margin: 0 auto;
		display: block;
	}
	#popover-footer ul li {
		width: 80px;
		margin: 20px 30px;
	}
	#popover-footer ul li a, 
	#popover-footer:hover ul li a, #popover-footer.active ul li a, #popover-footer:active ul li a {
		width: 80px;
		height: 80px;
		background-size: 80px 80px !important;
	}
	#popover-footer ul li span {
		width: 80px;
		height: 20px;
	}
	.popover-content h2,
	.popover-content h3,
	.popover-content p {
		padding: 0;
		text-align: center;
	}
	.popover-content p {
		text-align: justify;
	}
	.post-blurb p {
		padding: 0 48px 0 45px;
		font-size: 12px;
	}
	#hyundai_footer, #hyundai_footer_fr {
		width: 300px;
		height: 26px;
		background-size: cover;
	}
	#kidsport_footer, #kidsport_footer_fr {
		margin: 0 auto;
	}
	#site-links {
		max-width: 290px;
	}
	.fr #site-links {
		max-width: 310px;
	}
	#widget-footer #site-links li.menu-item:last-child {
		border-left: 1px solid #727070;
	}
	#widget-footer #site-links li.menu-item {
		float: left !important;
		padding-left: 3px;
	}
	#widget-footer #site-links li.menu-item a {
		font-size: 10px;
	}
	.top-section .parallelogram {
		max-width: 289px;
	}
	.popover-content .span9 {
		height: auto;
	}
	.social_btns {
		margin-right: 46px;
		margin-top: 0px;
		background-color: #EFEFEF;
	}
	
	/* Video Gallery */
	
	.video_slider {
		width: 100%;
		height: 200px;
		max-height: 200px;
		background: #fff;
		box-shadow: none;
		margin: 0;
		float: right;
	}
	
	.gallery_title {
		display: none;
	}
	
	.video_holder {
		float: right;
		width: 100%;
	}
	
	.item_holder {
		width: 41%;
		height: 112px;
		display: inline-block;
		float: left;
		border-radius: 20px;
		margin: 8px;
		position: relative;
		background-color: rgba(255, 255, 255, 0.3);
		overflow: hidden;
		border: none;
	}
	
	.item_holder p {
		padding: 15px 8px;
		font-size: 12px;
	}
	
	.video_slider .slides img {
		border-radius: 13px 13px 0 0;
	}
	
	.selected_video p {
		padding: 9px 10px;
	}
	
	.selected_video #video_status {
		display: none;
	}
}

@media only screen and (-webkit-min-device-pixel-ratio : 1.5) and (min-width: 480px) and (max-width: 767px), only screen and (min-device-pixel-ratio : 1.5) and (min-width: 480px) and (max-width: 767px), only screen and (min-width: 480px) and (max-width: 767px) {
	#header-banner { 
		min-height: 345px;
	}
	span.wpcf7-not-valid-tip {
		display: none;
	}
	.wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
		width: 260px;
	}
	.popover {
		height: auto !important;
	}
	#omgtable{
		display: none;
	}
	#kids-helped {
		min-width: 250px;
	}
	.body-text {
		padding: 0 20px;
	}
	#button-holder .donate-btn {
		width: 200px;
	}
	#donation-values {
		width: 447px;
	}
	#contact-form-donate input, #contact-form-donate select, #cc-info-form input, #cc-info-form select, #contact-form input {
		margin: 5px auto;
		display: block;
	}
	#twitter-box, #fb-box {
		width: 100%;
		padding: 25px 0;
		height: auto;
	}
	#dashed-line {
		display: none;
	}
	#contact-form-donate input, #cc-info-form input,  
	#contact-form input, #contact-form #email-list, #contact-form textarea {
		width: 370px;
	}
	#contact-form-donate select, #cc-info-form select {
		width: 412px;
	}
	.body_heading {
		padding: 0 15px;
	}
	#button-holder, #donation-thanks {
		width: 100%;
	}
	.body-text.top_content {
		width: 400px;
	}
	h2.body_heading, .body-text {
		width: 400px;
	}
	#donation-amount .body_heading {
		margin-bottom: 35px;
	}
	#donation-box .donate-btn {
		margin: 30px 0 0 10px;
	}
	#homepage-popover {
		height: auto;
	}
	#popover-header {
		height: 40px;
	}
	#popover-footer ul {
		width: 400px;
		position: relative;
		margin: 0 auto;
		display: block;
	}
	#popover-footer ul li {
		width: 93px;
		margin: 0 20px;
	}
	#popover-footer ul li a, 
	#popover-footer:hover ul li a, #popover-footer.active ul li a, #popover-footer:active ul li a,
	#popover-footer ul li span {
		width: 80px;
		height: 80px;
		background-size: 80px 80px !important;
	}
	#popover-footer {
		position: relative;
	}
	.footer-links, #site-links, .fr #site-links {
		width: 330px;
		margin: 5px auto;
	}
	.post-blurb {
		height: 370px;
	}
	.popover-content .span9 {
		height: auto;
	}

	#header-banner { 
		min-height: 345px;
	}
}

/*Iphone 5 landscape ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
	.social_btns {
		margin-right: 96px;
		margin-top: 20px;
		background-color: #EFEFEF;
	}
}