/* BEGIN MEDIA QUERIES */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Smartphones */

/* The parameters of this media query will work on the majority of smartphones. It will not affect iPad's or iPad Mini's.
It will also affect some of the other smaller tablets available. */
@media only screen  
and (max-device-width : 767px) {

	/* make half, third and quarter box layouts in to slingle full width layouts for small screens / smartphones */
	.box-half, .box-half-last, .box-third, .box-third-2nd, .box-third-last, .box-quarter, .box-quarter-2nd, .box-quarter-3rd,
	.box-quarter-last, .box-three-quarters, .box-two-thirds, .box-three-quarters-last, .box-two-thirds-last,
	.box-two-fifths, .box-three-fifths, .box-four-fifths, .box-five-sixths, .box-two-fifths-last, .box-three-fifths-last,
	.box-four-fifths-last, .box-five-sixths-last {
		width:100%; }

	/* Increase size of .box-fifth and .box-sixth layouts on small screens / smartphones */
	.box-fifth, .box-fifth-2nd, .box-fifth-3rd, .box-fifth-4th, .box-fifth-last, .box-sixth, .box-sixth-2nd, .box-sixth-3rd,
	.box-sixth-4th, .box-sixth-5th, .box-sixth-last {
		width:50%; }

	.footer-logo {
		width:80%; }

	.logo img {width:280px; padding:5px 10px 0;}

	.home {background: url(/img/home-bg.jpg) no-repeat;
		background-size:100% auto;
		min-height:180px;
	}

	.mobile-map-link {display:inline;}

	.map {display:none;}

	.announcements {padding:15px 10% 40px;}

	.home h1 {display:none;}

	.fixed-img-1 {background: url(/img/yoga-meditation-newquay.jpg) no-repeat;
		background-size:170% auto; height: 200px;
		background-position: 35%;}

	.about {background:url(/img/about.jpg) no-repeat;
		background-size:100% auto; height: 200px;}

	.therapy {background:url(/img/synergystudio.jpg) no-repeat;
		background-size:170% auto; height: 200px;
		background-position: 30%;}

	#row-one-container .box-half-last {padding:3% 7% 5% 7%;}

	.fixed-img-1 h2 {display:none;}

	.backdrop {background:#cecdb9;}

	.info-link p, .contact {font-size:2.2em; line-height:1.2em;}

	.arrow-right {width:30px;}

	.responsive-nav-tab {top:15px;}

	.address {font-size:1.5em; line-height:1.4em; padding:10px 50px;}

	.copyright {padding:0 25px;}

	.responsive-nav li {font-size:2em;}

	.mon-morning, .mon-midday, .mon-afternoon, .mon-evening, .tues-morning, .tues-midday, .tues-afternoon, .tues-evening, .wed-morning, .wed-midday, .wed-afternoon, .wed-evening, .thurs-morning, .thurs-midday, .thurs-afternoon, .thurs-evening, .fri-morning, .fri-midday, .fri-afternoon, .fri-evening, .sat-morning, .sat-midday, .sat-afternoon, .sat-evening, .sun-morning, .sun-midday, .sun-afternoon, .sun-evening {width:50%; float:left; min-height:260px; display:inline-block; border-top:1px dotted #d6df97; border-right:1px dotted #d6df97; padding:5px;}

	.tues-morning, .tues-midday, .tues-afternoon, .tues-evening, .thurs-morning, .thurs-midday, .thurs-afternoon, .thurs-evening, .sat-morning, .sat-midday, .sat-afternoon, .sat-evening {
		border-top:1px dotted #e9eec6; border-right:1px dotted #e9eec6;}

	.mon-midday, .mon-evening, .tues-midday, .tues-evening, .wed-midday, .wed-evening, .thurs-midday, .thurs-evening, .fri-midday, .fri-evening, .sat-midday, .sat-evening, .sun-midday, .sun-evening {
		border-right:0;}

	.time-of-day {display:none;}

	.monday, .tuesday, .wednesday, .thursday, .friday, .saturday, .sunday {width:100%;}

	.monday h2, .tuesday h2, .wednesday h2, .thursday h2, .friday h2, .saturday h2, .sunday h2 {margin:0;}

	#class-table p {text-align: center; display: inline-block; font-size:1.1em;}

	#class-table strong {font-size: 1.3em; }

	#class-table img {
	transform:rotate(90deg);
	-ms-transform:rotate(90deg);
	-webkit-transform:rotate(90deg);
	}

	.blog-post {padding:3% 7%;}

	fieldset {margin:0; width:240px; padding-left:40px; margin-left:-4.5%;}

	input, textarea {width:240px; margin-left:10px;}

	input[type="submit"] {-webkit-appearance: none; margin-left:-10px !important;}

	fieldset label {margin-left:-10px;}

	.blog-post img {width:92.5%;}

	.btn {margin-bottom:50px;}

}
/* End Smartphones */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* iPad & iPad Mini in portrait & landscape orientation */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {

	#class-table p {font-size:1.1em;}

	#class-table strong {font-size: 1.4em; }

	.mon-morning, .mon-midday, .mon-afternoon, .mon-evening, .tues-morning, .tues-midday, .tues-afternoon, .tues-evening, .wed-morning, .wed-midday, .wed-afternoon, .wed-evening, .thurs-morning, .thurs-midday, .thurs-afternoon, .thurs-evening, .fri-morning, .fri-midday, .fri-afternoon, .fri-evening, .sat-morning, .sat-midday, .sat-afternoon, .sat-evening, .sun-morning, .sun-midday, .sun-afternoon, .sun-evening, .monday, .tuesday, .wednesday, .thursday, .friday, .saturday, .sunday {padding:5px; min-height:280px;}

	.announcements {padding:15px 10% 40px;}

	input[type="submit"] {-webkit-appearance: none; }

	.fixed-img-1 {background: url(/img/yoga-meditation-newquay.jpg) no-repeat;
		background-size:100% auto; height: 400px; background-position: 0 -50px;}

	.about {background:url(/img/about.jpg) no-repeat;
		background-size:100% auto; height: 400px;}

	.therapy {background:url(/img/synergystudio.jpg) no-repeat;
		background-size:120% auto; height: 400px; background-position: -20px 0;}

	.fixed-img-1 h2 {margin-top:150px;}

}
/* End iPad & iPad Mini in portrait & landscape orientation */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* iPad & iPad Mini in landscape orientation */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {

/* Styles Go Here */

}
/* End iPad & iPad Mini in landscape orientation */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* iPad & iPad Mini in portrait orientation */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {

/* Styles Go Here */

}
/* End iPad & iPad Mini in portrait orientation */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* Desktops and laptops */
@media only screen 
and (min-width : 1224px) {

/* Styles Go Here */

}
/* End Desktops and laptops */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* large screens (bigger than a standard desktop screen or laptop)*/
@media only screen 
and (min-width : 1824px) {

/* Styles Go Here */

}
/* End Large screens */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* End MEDIA QUERIES */
