/*

Old Barn House - Responsive Stylesheet
https://oldbarnhousehereford.co.uk/
Handwritten by Oliver Coningham

*/


@media screen and (max-width: 1815px) {

	#branding li a {
		text-indent: -999999px;
		}
		
}


@media screen and (max-width: 1550px) {

	#navigation li a {
		font-size: 15px;
		line-height: 25px;
		padding: 12px 10px;
		}
	
	#slideshow .logo {
		background-size: 70% auto;
		}
		
}


@media screen and (max-width: 1425px) {

	#footer {
		padding-bottom: 170px;
		}
		
}


@media screen and (max-width: 1300px) {

	#locations-icons .location-icon {
		width: calc(50% - 15px);
		}

	#locations-icons a:last-child .location-icon {
		margin-right: 30px;
		}
	
	#locations-icons a:nth-child(2n+2) .location-icon {
		margin-right: 0;
		}

	#plan-your-stay .locations .location {
		padding: 30px;
		}

}


@media screen and (max-width: 1250px) {

	#slideshow .slide-caption .title {
		font-size: 40px;
		line-height: 45px;
		}
	
	#gallery #gallery-thumbnails .thumbnail {
		width: calc(20% - 8px);
		}

	#gallery #gallery-thumbnails a:nth-child(6n+6) .thumbnail {
		margin-right: 10px;
		}
	
	#gallery #gallery-thumbnails a:nth-child(5n+5) .thumbnail {
		margin-right: 0;
		}
		
}


@media screen and (max-width: 1150px) {

	#information .expand-blocks {
		padding: 0;
		}
	
	#risk-free-booking p {
		margin: 30px 0 0 0;
		}
	
	#covid-19 p {
		margin: 30px 0 0 0;
		text-align: left;
		}

	#covid-19 .expand-blocks {
		padding: 0;
		}

	#newsletter div.clear {
		display: block;
		margin-top: 30px;
		width: 100%;
		}	
		
}


@media screen and (max-width: 1050px) {

	#the-property.content {
		padding-right: 90px;
		padding-left: 90px;
		}
	
	#the-property #the-property-slider-nav a {
		height: 45px;
		width: 30px;
		}

	#the-property #the-property-slider-nav li:first-child a {
		background: url("../img/icon-prev-small.png") no-repeat 0 0;
		}

	#the-property #the-property-slider-nav li:last-child a {
		background: url("../img/icon-next-small.png") no-repeat 0 0;
		}

	#the-property #the-property-slider-nav li:first-child a:hover,
	#the-property #the-property-slider-nav li:last-child a:hover {
		background-position: 0 -45px;
		}
		
}


@media screen and (max-width: 1000px) {

	#floor-plans .column {
		float: none;
		margin: 60px 0 0 0;
		width: 100%;
		}
	
	#map .google-maps {
		padding-bottom: 400px;
		}

}


@media screen and (max-width: 980px) {

	#branding .logo img {
		height: auto;
		width: 350px;
		}
	
	.content h1 {
		font-size: 50px;
		line-height: 55px;
		}
	
	#newsletter div.mc-field-group {
		display: block;
		padding-bottom: 20px;
		width: 100%;
		}
	
	#newsletter div.mc-field-group label {
		display: inline-block;
		width: 150px;
		}

	#newsletter div.clear {
		margin-top: 10px;
		}
		
}


@media screen and (max-width: 900px) {

	#footer {
		text-align: center;
		}
	
	#footer .footer {
		float: none;
		margin: 0 0 40px 0;
		width: 100%;
		}
	
	#footer .footer:last-child {
		margin: 0;
		}
	
	#footer #social {
		display: inline-block;
		font-size: 0;
		line-height: 0;
		margin: 30px auto 0 auto;
		width: auto;
		}
	
}


@media screen and (max-width: 850px) {

	#branding p {
		clear: both;
		display: block;
		padding-top: 30px;
		position: static;
		top: auto;
		right: auto;
		width: 100%;
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
		}
	
	#branding .button a {
		display: block;
		width: 100%;
		}
	
	#branding ul {
		display: none;
		}
	
	#navigation ul {
		display: none;
		margin: 0;
		width: 100%;
		}
	
	#navigation li {
		display: block;
		width: 100%;
		}
	
	#navigation p {
		background-color: #00968d;
		color: #fff;
		cursor: pointer;
		display: block;
		font-family: 'Montserrat', sans-serif;
		font-size: 16px;
		font-weight: 500;
		line-height: 26px;
		padding: 12px 20px;
		width: 100%;
		}
	
	#navigation p span {
		background: url("../img/icon-menu.png") no-repeat left center;
		display: inline-block;
		padding-left: 30px;
		}
	
	#slideshow .logo {
		background-size: 50% auto;
		}
	
	#slideshow .slide-caption .title {
		padding: 0 20% 20px 20%;
		}	
	
	.content {
		padding: 40px 30px;
		}
	
	#key-features-icons {
		padding-top: 20px;
		}
	
	#key-features-icons .feature {
		width: 100%;
		}
	
	#gallery #gallery-thumbnails .thumbnail {
		width: calc(25% - 7.5px);
		}

	#gallery #gallery-thumbnails a:nth-child(5n+5) .thumbnail {
		margin-right: 10px;
		}
	
	#gallery #gallery-thumbnails a:nth-child(4n+4) .thumbnail {
		margin-right: 0;
		}
	
	#the-property .property-slide-text {
		width: calc(65% - 20px);
		}

	#the-property .property-slide-image {
		width: calc(35% - 2	0px);
		}
	
	#the-property .slick-dotted.slick-slider {
		margin-bottom: 0;
		}

	#the-property .property-slide a.button-next {
		margin-top: 10px;
		}
	
	#the-property .slick-dots {
		margin-top: 40px;
		}
	
	#availability {
		height: 900px;
		}
	
	#availability-text h1 {
		margin-bottom: 10px;
		}
	
	#availability-text {
		float: none;
		width: 100%;
		}
	
	#availability-calendar {
		float: none;
		margin-top: 40px;
		width: 100%;
		}
	
	#reviews {
		height: 900px;
		}
	
	#reviews-text h1 {
		margin-bottom: 10px;
		}
	
	#reviews-text {
		float: none;
		width: 100%;
		}
	
	#reviews-widget {
		float: none;
		margin-top: 40px;
		width: 100%;
		}
	
	#floor-plans .column {
		margin: 40px 0 0 0;
		}
	
	#plan-your-stay .locations .location {
		width: 50%;
		}

	#plan-your-stay .locations .location:nth-child(3n+3) {
		border-right: 1px solid #dadbdb;
		}

	#plan-your-stay .locations .location:nth-child(2n+2) {
		border-right: none;
		}

	#plan-your-stay .locations .location:nth-child(3) {
		border-top: 1px solid #dadbdb;
		}
	
	#plan-your-stay .locations {
		margin-top: 40px;
		}
	
	#locations-icons {
		padding-top: 20px;
		}	
	
	#contact-us h1 {
		margin-bottom: 10px;
		}

	#contact-us ul {
		padding-top: 0;
		}
	
	#trevase-img {
		width: calc(35% - 20px);
		}

	#trevase-copy {
		width: calc(65% - 20px);
		}
		
	#bettws-img {
		width: calc(35% - 20px);
		}

	#bettws-copy {
		width: calc(65% - 20px);
		}
		
}


@media screen and (max-width: 800px) {

	#furniture {
		font-size: 14px;
		line-height: 19px;
		text-align: center;
		}
	
	#copyright {
		float: none;
		display: block;
		padding-bottom: 10px;
		text-align: center;
		width: 100%;
		}
	
	#credit {
		float: none;
		display: block;
		text-align: center;
		width: 100%;
		}
	
}


@media screen and (max-width: 725px) {

	#the-property .property-slide-text {
		float: none;
		padding-left: 0;
		width: 100%;
		}
	
	#the-property .property-slide-image {
		float: none;
		margin: 0;
		width: 100%;
		}
	
	#the-property .property-slide-image img {
		margin: 10px 0 30px 0;
		}
	
}
	
	
@media screen and (max-width: 675px) {

	#slideshow .logo {
		display: none;
		}
	
	#slideshow .slick-dots {
		display: none !important;
		}
	
	#slideshow .slide-caption .title {
		font-size: 35px;
		line-height: 40px;
		padding: 0 30px 20px 30px;
		}
	
	#slideshow .slide-caption .sub-title {
		font-size: 14px;
		line-height: 19px;
		}
		
	.content h1 {
		font-size: 40px;
		line-height: 45px;
		}
	
	#gallery #gallery-thumbnails .thumbnail {
		width: calc(33.3333333333% - 6.66666666667px);
		}

	#gallery #gallery-thumbnails a:nth-child(4n+4) .thumbnail {
		margin-right: 10px;
		}
	
	#gallery #gallery-thumbnails a:nth-child(3n+3) .thumbnail {
		margin-right: 0;
		}
	
	#locations-icons .icon {
		height: 80px;
		width: 80px;
		}
	
	#locations-icons .location-icon p {
		padding: 0 0 0 100px;
		}
	
	#map .google-maps {
		padding-bottom: 300px;
		}

	#footer .logo {
		background-size: auto 70%;
		}
	
}


@media screen and (max-width: 600px) {

	#plan-your-stay .locations .location {
		border-top: 1px solid #dadbdb !important;
		border-right: none !important;
		float: none;
		padding: 30px 0;
		width: 100%;
		}

	#plan-your-stay .locations .location:nth-child(1) {
		border-top: none !important;
		}
	
	#plan-your-stay .locations {
		margin-top: 10px;
		}
	
	#locations-icons .icon {
		height: 60px;
		width: 60px;
		}
	
	#locations-icons .location-icon p {
		font-size: 16px;
		line-height: 21px;
		padding: 0px 0 0 80px;
		}
	
}


@media screen and (max-width: 550px) {

	#availability {
		height: 1000px;
		}
	
	#reviews {
		height: 1000px;
		}
	
	#newsletter div {
		width: 100%;
		}
	
	#newsletter div.mc-field-group label {
		display: block;
		margin-bottom: 10px;
		width: 100%;
		}
	
	#newsletter .mc-field-group input {
		margin: 0;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		}
	
	#newsletter.content .button {
		width: 100%;
		}
	
	#floor-plans .dots {
		display: none;
		}
	
	#trevase-copy {
		float: none;
		margin-bottom: 40px;
		width: 100%;
		}
	
	#trevase-copy a.button {
		margin-top: 30px;
		}
	
	#trevase-img {
		width: 100%;
		}

	#trevase h1 {
		margin-bottom: 40px;
		}
		
	#bettws-copy {
		float: none;
		margin-bottom: 40px;
		width: 100%;
		}
	
	#bettws-copy a.button {
		margin-top: 30px;
		}
	
	#bettws-img {
		width: 100%;
		}

	#bettws h1 {
		margin-bottom: 40px;
		}
	
}


@media screen and (max-width: 500px) {

	#slideshow .slide-caption .title {
		font-size: 30px;
		line-height: 35px;
		margin-bottom: 10px;
		padding-bottom: 10px;
		}
	
	#gallery #gallery-thumbnails .thumbnail {
		width: calc(50% - 5px);
		}

	#gallery #gallery-thumbnails a:nth-child(3n+3) .thumbnail {
		margin-right: 10px;
		}
	
	#gallery #gallery-thumbnails a:nth-child(2n+2) .thumbnail {
		margin-right: 0;
		}
	
	#the-property.content {
		padding-right: 60px;
		padding-left: 60px;
		}
	
	#the-property #the-property-slider-nav a {
		height: 30px;
		width: 20px;
		}

	#the-property #the-property-slider-nav li:first-child a {
		background: url("../img/icon-prev-tiny.png") no-repeat 0 0;
		}

	#the-property #the-property-slider-nav li:last-child a {
		background: url("../img/icon-next-tiny.png") no-repeat 0 0;
		}

	#the-property #the-property-slider-nav li:first-child a:hover,
	#the-property #the-property-slider-nav li:last-child a:hover {
		background-position: 0 -30px;
		}
	
	#the-property #the-property-slider-nav {
		padding: 0 20px;
		}
	
	#locations-icons .location-icon {
		margin: 20px 0 0 0;
		width: 100%;
		}
	
	#contact-us a {
		background-position: top center;
		height: auto;
		font-size: 16px;
		line-height: 19px;
		padding: 80px 0 0 0;
		word-break: break-word;
		}
		
}


@media screen and (max-width: 450px) {

	#branding .logo img {
		float: left;
		height: auto;
		width: 100%;
		}
	
	#key-features-icons {
		padding-top: 10px;
		}
	
	#key-features-icons .feature {
		margin-top: 30px;
		text-align: center;
		}
	
	#key-features-icons .icon {
		float: none;
		margin: 0 auto;
		}	
	
	#key-features-icons .feature p {
		clear: both;
		padding: 10px 0 0 0;
		position: static;
		top: auto;
		left: auto;
		-webkit-transform: translateY(0);
		-ms-transform: translateY(0);
		transform: translateY(0);
		}	

	#footer .logo {
		background-size: auto 50%;
		}

	#key-features-icons .icon {
		height: 85px;
		width: 85px;
		}
		
}


@media screen and (max-width: 400px) {
	
	#slideshow .slide-caption .title {
		font-size: 25px;
		line-height: 30px;
		margin-bottom: 0;
		padding-bottom: 10px;
		}

	#slideshow .slide-caption .sub-title {
		display: none;
		}
	
	#availability {
		height: 1150px;
		}
	
	#reviews {
		height: 1150px;
		}
		
}