@charset "UTF-8";
body, nav, ul, li, a  {margin: 0; padding: 0;}
.body {
	clear: both; 
	margin: 0 auto;
	font-family:Verdana, Arial, Helvetica, sans-serif; 
}

img {
    max-width: 100%;
    height: auto;
}

.red_text {
	font-family:Verdana, Geneva, sans-serif;
	color: #F00;
}


/* ===========================
   ======= Back to Top ======== 
   =========================== */
a.back-to-top {
	display: none;
	width: 50px;
	height: 50px;
	text-indent: -9999px;
	position: fixed;
	z-index: 999;
	right: 20px;
	bottom: 20px;
	background: #006666 url("https://www.cycletourer.co.uk/images/up-arrow.png") no-repeat center 43%;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
a:hover.back-to-top {
	background-color: #d35400;
}   
 
/* ===========================
   ========= Tunnel  ========= 
   =========================== */
.tunnelprint {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	width: 100%;
	background-color: #FFFFFF;
}
.tunnelsearch {
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: #333333;
	padding-top: 10px;
	padding-left: 15px;
}
li.f2jnag {
	display:none;
}
/* ===========================
   ======= Anchor style ====== 
   =========================== */
a {
	outline: 0;
	}


a:link, a:visited {
	color: #0080FF;
	padding: 0 1px;
	text-decoration: none;
}

a:hover, a:active {
	color: #E62919;
	text-decoration: none;
}


/* ===========================
   ======= Content Area ====== 
   =========================== */

.mainContent {
	overflow: hidden;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin: 20px 10px;
	max-width: 1232px;
}

.fp1content {
	background-color: #FFF;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	padding: 3% 5%;	
	margin-bottom: 3%;
}

.fp2content {
	background-color: #FFF;	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	padding: 3% 5%;
	margin-bottom: 3%;
}

.fp3content {
	background-color: #FFF;	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	padding: 3% 5%;
	margin-bottom: 3%;
}

.fp3content img {
	margin: 10px 10px 10px 10px;
}

.fp4content {
	background-color: #FFF;
	height:160px;	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	padding: 3% 5%;
	margin-bottom: 3%;
}

.fontcontent p li {
	width: 96%;
	padding-left: 2%;
	padding-right: 2%;
}

.content {
	width: 68%;
	float: left;
	line-height: 20px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
}

.content_image_run {
	width: 100%;
}

.content_image_run li {
	list-style:none;
	float: left;
	display: block;
}
.pagearticle {
	width: 100%;
	float: left;
	background-color:#FFF;
	padding-bottom: 20px;
	line-height: 20px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.pagearticle img {
	margin: 10px 10px 10px 10px;
}
.imgright {
	float: right;
	font-size: 9px;
	font-style:italic;
	text-align: center;
}
.pagearticle tb img {
    height: auto !important;
    width: auto !important;
    max-width: 100%;
}

.pagearticle table {
    width: 100%;
    table-layout: fixed;
}
.pagearticle ul {
	padding-left: 8%;
	padding-right: 6%;	
}

.pagearticle ol {
	padding-left: 8%;
	padding-right: 6%;	
}

.pagearticle p {
	padding-left: 4%;
	padding-right: 4%;
}

.pagearticle td {
	padding-left: 4%;
	padding-right: 4%;	
}

.travelogue {
	width: 100%;
	float: left;
	background-color:#FFF;
	padding-bottom: 20px;
	line-height: 20px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.travelogue p {
	padding-left: 4%;
	padding-right: 4%;
}

.thumbs {
	font-size: 9px;
	font-style:italic;
	text-align: left;
	padding-left: 2%;
}

img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  vertical-align: middle;
}

.clear {
	clear:both;
}

.contentimage {
	float: right;
	max-width: 350px;	
}

.halfpage {
	max-width: 350px;
	float: left;
}

.contentleft {
	float: left;
	min-width: 350px;
}

.contentright {
	float: left;
	width: 40%;
	padding-right: 2%;
	padding-left: 2%;
	margin-bottom: 2%;
	text-align: center;
}

.contentright img {
	vertical-align:middle;
	padding-right: 2%;
	min-width: 350px;
}

.contentbottom {
	float: left;
	width: 100%;
	margin-top: 2%;
}

.article_content {
	float: left;
	width: 60%;
}

.article_img {
	float: left;
	width: 40%;
}

.imgtitle {
	font-size: 9px;
	font-style: italic;
	text-align: center;
	padding-left: 2%;
	padding-right: 2%;
}
.article_left {
	float: left;
	width: 50%;
}



/* ===========================
   ====== Media Queries ====== 
   =========================== */

@media only screen and (min-width : 150px) and (max-width : 780px)
{
	.body {
		clear: both; 
		margin: 0 auto; 
		width: 90%;
		font-size: 90%;
	}
	
	.mainContent {
		overflow: hidden;
		line-height: 25px;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		margin-top: 4%;
		margin-bottom: 2%;
	}
	
	.fp1content {
		background-color: #FFF;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;	
		padding: 2% 5%;
		margin-bottom: 4%;
	}
	
	.fp2content {
		background-color: #FFF;	
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;	
		padding: 2% 5%;
	}	
	.fp3content {
		background-color: #FFF;	
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;	
		padding: 2% 5%;
		margin-bottom: 4%;
	}
	
	.fp4content {
		background-color: #FFF;	
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;	
		padding: 2% 5%;
	}
		
	.content {
		width: 100%;
		float: left;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;	
	}	

	.post-info {
		display: none;
	}
	
	.top-sidebar {
		width: 86%;
		float: left;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;	
		background-color: #FFF;	
		margin-top: 4%;
		margin-left: 0;
		padding: 0 7%;
		margin-bottom: 0;		
	}
	
	.top-sidebar p {
		width: 90%;
	}


	.middle-sidebar {
		width: 86%;
		float: left;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;	
		background-color: #FFF;	
		margin-top: 4%;
		margin-left: 0;
		padding: 0 7%;
		margin-bottom: 0;	
	}
	
	.middle-sidebar p {
		width: 90%;
	}
	
	.bottom-sidebar {
		width: 86%;
		float: left;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;	
		background-color: #FFF;	
		margin-top: 4%;
		margin-left: 0%;
		padding: 0 7%;
		margin-bottom: 1%;
	}
	
	.bottom-sidebar p {
		width: 90%;
	}
		
	.mainFooter {
		width: 100%;
		float: left;
		margin: 2% 0;
		padding-left: 0;
		background-color: #006666;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;	
		color: #FFF;	
	}
	
	.map {
		width: 350px;	
	}
	.mainFooter p {
		width: 86%;
		margin: 2% auto;
	}

}

.bottom {
	height:60px;
	display:block;
}

.photocredit {
	font-size:9px;
	text-align:center;
}
	
/* ===========================
   ======= tunnelprinttable_table ======== 
   =========================== */
#tunnelprinttable {
	margin-left: 4%;
	margin-right: 4%;	
}
#tunnelprinttable td, th { 
	padding: 6px; 
	border: 1px solid #ccc; 
	text-align: left;
}

#tunnelprinttable table { 
	width: 100%; 
	border-collapse: collapse; 
}
/* 
	Max width before this PARTICULAR table gets nasty
	This query will take effect for any screen smaller than 760px
	and also iPads specifically.
	*/
	@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {
	
		/* Force table to not be like tables anymore */
		#tunnelprinttable table, thead, tbody, th, td, tr { 
			display: block; 
		}
		
		/* Hide table headers (but not display: none;, for accessibility) */
		#tunnelprinttable thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
			font-weight: bold;
			background-color:#8FB8BC;
		}
		
		#tunnelprinttable tr { border: 1px solid #ccc; }
		
		#tunnelprinttable td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50%; 
		}
		
		#tunnelprinttable td:before { 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 6px;
			left: 6px;
			width: 45%; 
			padding-right: 10px; 
			white-space: nowrap;
		}
		
		/*
		Label the data
		*/
		#tunnelprinttable td:nth-of-type(1):before { content: "Status"; }
		#tunnelprinttable td:nth-of-type(2):before { content: "District"; }
		#tunnelprinttable td:nth-of-type(3):before { content: "Name"; }
		#tunnelprinttable td:nth-of-type(4):before { content: "Road"; }
		#tunnelprinttable td:nth-of-type(5):before { content: "Length"; }
		#tunnelprinttable td:nth-of-type(6):before { content: "Open"; }
		#tunnelprinttable td:nth-of-type(7):before { content: "Lights"; }
		#tunnelprinttable td:nth-of-type(8):before { content: "Alt. Route"; }
		#tunnelprinttable td:nth-of-type(9):before { content: "comment"; }
	}
	
	/* Smartphones (portrait and landscape) ----------- */
	@media only screen
	and (min-device-width : 320px)
	and (max-device-width : 480px) {
		#tunnelprinttable body { 
			padding: 0; 
			margin: 0; 
			width: 320px; }
		}
	
	/* iPads (portrait and landscape) ----------- */
	@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
		#tunnelprinttable body { 
			width: 495px; 
		}
	}


