/* pw edit link that appears when you are logged in. AG VERSION 16 Dec 14 : Mod for IE. Oct 2019 tel num updated line 448 - see also footer-ag1.inc file - corrected 21/9/23 */
#editpage {
	position: absolute;
	top: 25;
	left: 0; 
	padding: 5px 6px; 
	background: #db1174; 
	color: #fff; 
	display: block;
	font-weight: bold;
	text-decoration: none;	
	z-index: 50;
}
	#editpage:hover {
		background: #ffffcc;
		color: #000; 
	}
	

/*css for PW text/HTML editor */

.align_right {float: right; margin-left: 5px;}
.align_left {float: left; margin-right: 5px;}
.align_center {display: block; margin-left: auto; margin-right: auto;}	

 #ag-gallery-narrow-body .col-md-8 img {
	max-width: 100%;
	height: auto;
	margin-bottom: 5px;

}
/* home page text column - mobiles to standard */
	#ag-home .col-2 {
	padding: 0;
	font-size: 1.2em;
	line-height: 1.3;
	}	
/* slideshow column - mobiles to standard*/
	#ag-home .col-1 {
	padding: 0;
	}
/* slideshow - all devices */
	.fotorama__wrap { margin: auto; }
	.fotorama {
	width: 100%;
	height: auto;
	margin: 0 auto;
	
}
article img{
	max-width: 100%;
	height: auto;
	margin-bottom: 5px;

}

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

a.homelink {
text-decoration: none;
	background-color: transparent;
	
  position: relative;
  display: block;
			   padding: 10px 15px;
			   padding-left: 20px;
  line-height: 20px;
	}
	/* NAVIGATION BAR home link hover and focus, see also .nav > li > etc. a, below 
	background-color: #00ddcc;*/
a.homelink:hover,
a.homelink:focus {
  text-decoration: none;
  color: #2a6496;
  
  }
  
  
  
	a.homelink:hover  {
	text-decoration: none;
   position: relative;
  display: block;
  
   
  }
  a.homelink:focus{
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
  }
  /* NAVIGATION BAR - SITE SPECIFIC - active home page - see also below  */
  #ag-home a.homelink, #ag-home a.homelink:hover, #ag-home a.homelink:focus{
  
	color: #bbb;
	background-color: transparent;
	cursor: text;
	text-shadow: none;
    
  
  }

html,
body {
margin:0;
padding:0;
height:100%;

}
#wrapper {
min-height:100%;
position:relative;
background-image: url(/site-ag1/assets/files/dark-verts.png);
}
#foot{
	height: 80px;
	width: 100%;
	padding: 2% 1% 1% 2%;
	color: #333;
	background-color: #aaa;
	position: absolute;
	bottom: 0; 
	left: 0;
	clear: both;
	font-size: 1em;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: left;
	z-index: 40;
 	
	}
	 #foot a{
	 color: white;
	}
#footpad { 
	padding-bottom: 80px;
	}
/********** Bootstrap mods and navbar fixed*/

body {
 
  color: #fff;
  background-color: #dddddd;
   padding-top: 50px;
}
/* Unfix navbar - mobile first - overcomes zoom of navbar - see media queries*/
.navbar-fixed-top {
position: absolute;
padding-left: 20px;
top: -50px;
}

/* NAVIGATION BAR text .navabar added for a: elements*/
.navbar a {
	color: #333;
  text-decoration: none;

}

.navbar a:hover,
.navbar a:focus {
  color: #777;
  text-decoration: none;
    
}
.navbar a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.container-fluid {
font-size: 1.0em;
line-height: 1.428571429;

}
/* Navigation text size exc. brand*/
header > .container-fluid {
font-size: 1.4em;
}
.row{
width: 95%;
margin: 0 auto;
}
.navbar-brand {
  float: left;
  padding: 15px 15px;
  font-size: 22px;
  line-height: 20px;
  height: 20px;
}
.navbar-brand:link,
.navbar-brand:hover,
.navbar-brand:focus {
  text-decoration: none;
}
.collapse {
  display: none;
  margin-top: 5px;
  }

/* NAVIGATION BAR mobile menu background */
.collapse.in {
  display: block;
  background: transparent;
  border-top: 2px ridge #ddd;

  
 }

.navbar {
 
  min-height: 50px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  background: #fff;
  border-bottom: 1px dotted #333;
}
 
 /* NAVIGATION BAR DROPDOWN - first level text colour */
.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.428571429;
  color: #333;
  white-space: nowrap;
}
/* NAVIGATION BAR first level hover colours
*/
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  text-decoration: none;
  color: #777;
  background-color: transparent;
}
/* NAVIGATION BAR first level current page colours
background-color: #666;*/
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
	color: #aaa;
	text-decoration: none;
	outline: 0;
	
}
/* NAVIGATION BAR dropdown background */ 
.dropdown-menu {
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: .9em;
  background-color: #fff;
  }
/* NAVIGATION BAR mobile button*/
.navbar-toggle {
  position: relative;
  float: right;
  margin-right: 15px;
  padding: 9px 10px;
  margin-top: 8px;
  margin-bottom: 8px; 
  background-color: black;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #888888;
}
/*button 3 lines*/
.navbar-toggle .icon-bar {
    border-radius: 1px;
    display: block;
    height: 2px;
    width: 22px;
	 background-color: #44aa44;
}

.nav {
  margin-bottom: 0;
  
  list-style: none;
}
.nav > li {
  position: relative;
  display: block;
}
.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 8px;
}
/* NAVIGATION BAR menu hover and focus - also see homelink above */
.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  /* block colour for hovering - over-rides bootstrap css*/
  background-color: transparent;
	
}
/* NAVIGATION BAR drop-down menu heading hover background */
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
	background-color: transparent;
  border-color: #428bca;
}
/* NAVIGATION BAR menu active link  - see also homelink*/
.nav  .active > a,
.nav .active > a:hover,
.nav .active > a:focus {
	color: #777;
	background-color: transparent;
	cursor: auto;
	text-shadow: none;
	}

small { 
display: block;
line-height: 1.2; 
color: #777;
padding-bottom: 3px;
border-bottom: 1px solid #000;
}
/************ end BS  BUT media queries later*/
	.gallery1 {
	position: relative;
	margin: 0;
	padding-bottom: 5px;
}

	.gal-figcapt {
	display: inline;
	}
	figure.gal-figs {
	position: relative;
	display: inline-block;
	padding: 1em 0 1.5em 0;
	}
	figcaption.gal-figcapt {
	position: absolute;
	bottom: 0;
	left:0;
	display: inline;
	margin-left: 0.5em;
	font-size: 0.75em;
	}
	#banner {
	width: 100%;
	margin: 0 auto;
	padding: 0 2em;
	/**/
	background-color: #fff;
	}
	#banner h1{
	margin: 0;
	padding: 10px 0;
	color: #333;
	text-shadow: 3px 3px 2px #aaa;
	}
	#banner a {
	text-decoration: none;
	color: #000;
	text-shadow: 3px 3px 2px #326bb0;
	}
	.panel {
	color: #000;
	}
	
	
	/*dialling for phones, with wrap */
	.phone::before, .email::before{
	 content: "\000A";
	 white-space: pre;
	 	}
	.email, .phone {
	white-space: nowrap;
	 }
	/**** MEDIA QUERIES  **/
	/* Extra small devices (phones, up to 480px) */
/* No media query since this is the default in Bootstrap */

/*dialling for tablets, no wrap*/
@media screen and (min-width: 480px ) { 
	.email::before, .phone::before{
	content: normal;
	}
	.phone::after{
	 content: "\a0\b7\a0";
	 }
	.dot::after {
		content: "\a0\b7\a0";
	}
	
  }
/* Small devices (tablets, 768px and up) @screen-tablet */
@media screen and (min-width: 768px ) {

	figure.gal-figs {
	padding: 1em 0 1.5em 0;
	margin: 0 .5em;
		}
 #foot{
	
	letter-spacing: 0.2em;
	text-align: left;
		}
	/* NEW slideshow column - tablets and screens*/
	#ag-home .col-1 {
	padding: 0 15% 0 15%;
	}	
		
}
/* Medium devices (desktops, 992px and up) @screen-desktop */
@media screen and (min-width: 992px) { 

/* home page text column  */
	#ag-home .col-2 {
	padding: 0;
	font-size: 1.6em;
	line-height: 1.5;
	}
	
/* fixed nav on computers - position: fixed;*/
.navbar-fixed-top {
position: fixed;
padding-left: 40px;
top: 0;
}
/** END fixed nav */
		
	.navbar-brand {
	font-size: 36px;
		}
	#foot{
		letter-spacing: 0.35em;
		}
	.phone {
	display: none;
	}
	.email::before{
	 content: "Tel: 07421 117987\a0\b7\a0";

	}
	
.nav > li > a {
  	padding: 10px 15px; 
 	}
	/* NEW slideshow column - tablets and screens*/
	#ag-home .col-1 {
	padding: 0 7.5% 0 7.5%;
	}
	}
/* Large devices (large desktops, 1200px and up) @screen-large-desktop*/
@media screen and (min-width:1200px ) { 

	#foot{
		letter-spacing: 0.5em;
		}
/*slideshow column*/
	#ag-home .col-1 {
	padding: 0 10% 0 10%;
	}
  
}


	
	