/*

MOBILE SIZE
	These are the mobile styles.
*/

/* typography */
body{
	background:#fff;
	color:#212327;
	font-family:Nunito, sans-serif; 
	font-size:1.2em;
	line-height:1.8em; 
	font-weight:normal;
	max-width: 100%;
    overflow-x: hidden;
	
}

h1 { font-family: Nunito, sans-serif;  font-weight:normal; line-height:1.4em;
	margin:.45em 0;
	padding:0;
	font-size: 2em;
}

h2 {
	font-weight:normal;
	font-family:Nunito, sans-serif; 
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
	font-size: 1.7em;
} 
h3 {
	font-weight:normal;
	font-family:Nunito, sans-serif; 
	line-height:1.4em;
	margin:.45em 0;
	padding:0;
	font-size: 1.7em;
} 

h4, h5, h6{
	font-weight:normal;
	font-family:Nunito, sans-serif; 
	line-height:1.3em;
	margin:.45em 0;
	padding:0;
} 

/* links */
#footer a,
a:visited,
a:active,
a:hover{color:#a2cbea;}
a:hover{ text-decoration:none;}

h1, h2 a,
a:visited,
a:active,
a:hover{color:#413834;}
a:hover{ text-decoration:none;}

a,
a:visited,
a:active { color:#1a97a2; text-decoration: none; font-weight: 500; }
a:hover{color:#137ccd; text-decoration:none; font-weight: 500;}


/* Box sizing */
*{	box-sizing:border-box;
	-moz-box-sizing:border-box;}

  
/* structure */   
.wrapper{
	width: 92%; 
	margin: 0 auto;
}

header p { 
	margin:0!important;
}

#hero{
	z-index: 9;
	width: 100%;
	/*margin-bottom: -80px;*/
	background: #2f414f;
}

#hero1{
	background: #2f414f;
	padding:10px 0 20px 0;
	color: #fff;
}
#hero1a{
	background: #234e6e;
	padding:10px 0 20px 0;
	color: #fff;	
}

#hero3{
	background: #d8e1e8;
	padding:10px 0 20px 0;
}

#hero h1{ 
	line-height:1.5em;
	margin-top:10px;
	margin-bottom:10px;
	color: #c7cbbb; }
	
#hero h2{ 
	font-size: 2em;
	line-height:1.5em;
	margin-top:5px;
	color: #d3e9ec; }
	
#hero1 h1 { color: #e5eeef; }
#hero1 h2 { color: #e5eeef; }
#hero1 h3 { color: #e5eeef; }

.dots { border-bottom: dotted 1px #ccc; }

ul.listy
{
	list-style-type: disc;
	text-align: center;  list-style-position:inside;
}	

.ccm-image-slider-text { padding-top: -0!important; margin-top: -2px;}
.rslides { margin: -1px auto!important; }

/* Opacity #1 */
.hover11 figure img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	
}
.hover11 figure:hover img {
	opacity: .7;
} 

ul.listlist
{
	list-style-type: none;
	text-align: left; display: inline-block;
}

ul.icon li
{
	text-indent: -1.4em;
}
	
ul.listlist li:before
{
	font-family: 'FontAwesome';
	content: "\f046";
	font-size: 1.2em;
	list-style:none;
	line-height: 1.8em;
	margin:0 0.2em 0 -1.2em;
}

ol.breadcrumb li { display: inline; }
ol.breadcrumb li+li:before {
  padding: 8px;
  color: #ccc;
  content: "/\00a0";
}
ol.breadcrumb { margin-bottom: 20px; padding: 10px; border-bottom: 1px dotted #ccc; font-size: .9em; }

.breadcrumb a { color: #c9f3fb; text-decoration: none;  }
.breadcrumb a:visited { color: #c9f3fb; text-decoration: none; }
.breadcrumb a:hover { color: c9f3fb; text-decoration: underline; }

	
.undisplay {display: none; }
.undisplaymob {display: block; }

.calltoaction { background: #546668; text-align:center; max-width: 361px; margin: 0 auto; }
.calltoaction h2 { color: #fff; padding-top: 10px; }

.imageContainer {
   margin-left:0;
/*   display: inline-block;*/
   position: relative;
   text-align: center;
   color: #fff;
}
.caption{
   font-size: 1.4em; background-color:  rgba(85,93,107,0.7); padding: 0; line-height: 1.5em; width: max-content;
   }
.centre {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}


/* RESPONSIVE IMAGES */
img{ max-width:100%; height:auto;}

header {
    position: fixed;
    top: 0px;
    align-items: center;
    width: 100%;
    padding: 5px 0 0 0;;
    transition: padding 300ms ease;
}

header.sticky {
    padding: 10px 0 0 0;
}
header.sticky img { max-width: 70px!important;
transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;  
  margin-top: 0; } 


/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.grid_1,
.grid_2,
.grid_3,
.grid_3a,
.grid_3b,
.grid_6a,
.grid_4,
.grid_4a,
.grid_4b,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-bottom:10px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

	/*For mobile header nav*/	
	.grid_7a { margin-bottom:-10px;	
		/*positioning and padding*/	
		position: relative;	
	    min-height: 1px;	
	    padding-left: 15px;	
	    padding-right: 15px; }	

/*For mobile header nav*/	
	.grid_8a { margin-bottom:-10px;	
		/*positioning and padding*/	
		position: relative;	
	    min-height: 1px;	
	    padding-left: 15px;	
	    padding-right: 15px; }	
	

div#ccm-highlighter {z-index:100!important;}

.ineditmode { margin-top: 0; position: relative; }

.ccm-toolbar-visible header {
  position: relative;
}

table { width: 100%; }

table td { border: 1px solid #ccc; padding: 4px; }

tbody tr:nth-child(even) { background: #f3f2f1; }

.button { display: none; }
.buttonmob { display: inline-block; float: right; margin-right: 5%; }

a.buttonlink{
border: solid 1px #fff;
background: url(../images/tartanbg.jpg) #536567; 
color:#fff;
	margin:20px 10px; 
	padding: 10px 20px;
	text-decoration:none; text-align: center;
	display: inline-block;
	font-size: 1.2em;
	transition: background .6s ease-in-out,color .2s ease-out,border .2s ease-in-out;
}
a.buttonlink:hover{
	color:#fff;
	border: solid 1px #fff;
	background:url(../images/tartanbg1.jpg) #536567; 	
}

a.buttonlink1{
	color:#fff;
	margin:20px 10px; 
	padding: 10px 20px;
	text-decoration:none; text-align: center;
	display: inline-block;
	font-size: 1.2em;
	transition: background .6s ease-in-out,color .2s ease-out,border .2s ease-in-out; 	
}
a.buttonlink1:hover{
	color: #8ea8a5;
}

.buttonlinkmob{	
	border: solid 1px #d17c4f;
background:#d17c4f; 
color:#fff;
		margin:20px 10px; 	
		padding: 5px 10px;	
		text-decoration:none; text-align: center;	
		display: inline-block;	
		font-size: 1em;	
		transition: background .6s ease-in-out,color .2s ease-out,border .2s ease-in-out; 		
		font-family: Lora, serif;		
	}	
	a.buttonlinkmob:hover{	
		color:#d17c4f;
	border: solid 1px #eabb63;
	background:#fff;
	}
a.buttonlinkbook{
	border: solid 1px #fff; 
	color:#fff;
	margin:20px 10px 20px 0; 
	padding: 10px 20px;
	text-decoration:none; text-align: center;
	font-size: 1.2em;
	transition: background .6s ease-in-out,color .2s ease-out,border .2s ease-in-out; 
	
	white-space: nowrap;
	
}
a.buttonlinkbook:hover{
	background:#8c7e70;
}

a.buttonlinksmallmarg{
border: solid 1px #beab6b; 
	color:#beab6b;
	margin:10px 10px 20px; 
	padding: 10px 20px;
	text-decoration:none; text-align: center;
	display: inline-block;
	font-size: 1.2em;
	transition: background .6s ease-in-out,color .2s ease-out,border .2s ease-in-out; 	
	font-family: Lora, serif;	
}
a.buttonlinksmallmarg:hover{
	background:#beab6b;
	color: #fff;
}
.paddingtophead { padding-top: 0; display: none; }
.paddingtophead1 { padding-top: 0; }

.anchor a {
  position: absolute;
  left: 0px;
  top: -240px;
}

.anchor {
  position: relative;
}

.list-inline li { display: inline-block; list-style-type: none; padding: 10px; margin: 0; font-size: 1.5em; }


/*FOOTER*/
footer{  
	clear:both;
	padding:25px 0 0 0;
	background: #2c3c4b url(../images/footer.jpg) no-repeat top right;
	min-height: 470px;
		
}
footer ul{
	margin:0;
	padding:0;
}

footer p { line-height: 1.5em; color: #fff; }
footer h1 { color: #fff; }
footer h2 { color: #fff; }

/*colors and backgrounds*/


h1 {
	color:#679eb3;
}

h2, h3 { color: #679eb3; line-height: 1.5em; }
h4, h5, h6 { color: #ac572a; }
.white h1 { color: #fff; font-size: 1.6em; margin-top: 35%; margin-left: 3%; line-height: 1.5em; }

#logo { margin-top: 0; }
#logo img { max-width:100px; height:auto; padding: 0; }
#logo p { margin: 0; padding: 0; }

/*footer{ 
	margin-top: 50px;
}*/

footer ul{
	margin:0 0 20px 0;
}
/*footer ul li { list-style: none; display: inline; }
footer li+li:before {
  padding: 8px;
  content: "/\00a0";
}
footer p { font-size: .9em!important; }*/

/* Contain floats*/ 
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after,
.row:after{
  clear: both;
}

a.link2:link { color: #fff; text-decoration: none;  }
a.link2:visited { color: #fff; text-decoration: none; }
a.link2:hover { color: #b8d2d4; text-decoration: none; }

.clear { clear: both; }

.slider { background-color:transparent!important;  }
.slider img { display: block; margin-top: 110px; }
.slider p { margin: 0!important; }
/*Responsive Nav*/
* { box-sizing: border-box;
}
.book { display: none; }
.bookmob { display: inline-block; margin-left: -30px; }

.content {
   /* margin-top: 220px;*/
    padding: 20px 0 0;
    color: #202020;
}
}
/*End Responsive Side Nav*/

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width:820px) {

.wrapper{
	max-width: 92%; 
	margin: 0 auto;
}

header{
	padding:0;
}

.slider img { display: block; margin-top: 80px; }

header.sticky img { max-width: 80px!important;
transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;  
  margin-top: 0; }  
header.sticky .paddingtophead { padding-top: 10px; transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out; }
  
#logo img { max-width:120px; height:auto; }

.smallimg { max-width: 35%; }

.paddingtophead { padding-top: 20px; display: block; }
}
	
	@media only screen and (min-width: 991px) {
	
	/*GRID*/
/*
 & Columns : 12 

 */
 .row{
	 margin-left: -15px;
     margin-right: -15px;
}
 
.grid_1 { width: 8.33333333%; }
.grid_2 { width: 16.66666667%; }
.grid_3 { width: 25%; }
.grid_3a { width: 25%; }
.grid_3b { width: 25%; }
.grid_4 { width: 33.33333333%; }
.grid_4a { width: 33.33333333%; }
.grid_5 { width: 41.66666667%; }
.grid_6 { width: 50%; }
.grid_6a { width: 50%; }
.grid_7 { width: 58.33333333%; }
.grid_8 { width: 66.66666667%; }
.grid_9 { width: 75%; }
.grid_10 { width: 83.33333333%; }
.grid_11 { width: 91.66666667%; }
.grid_12 { width: 100%; }
.grid_7a { width: 58.33333333%; }	
.grid_8a { width: 66.66666667%; }	
	

.grid_1,
.grid_2,
.grid_3,
.grid_3b,
.grid_4,
.grid_4a
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	float: left;
	display: block;
}

header {
     position: fixed;
	/*position: -webkit-sticky;  Safari */ 
    top: 0px;
    align-items: center;
    width: 100%;
    padding: 10px 10px 0 10px;
    transition: padding 300ms ease;
}

header.sticky {
    padding: 10px 10px 0;
}
header.sticky img { max-width: 70px!important;	
	transition: all 0.5s ease-in-out;	
	  -moz-transition: all 0.5s ease-in-out;	
	  -webkit-transition: all 0.5s ease-in-out;	
	  -o-transition: all 0.5s ease-in-out;  	
	  margin-top: 0; }	
		
	.slider img { display: block; margin-top: 120px; }	
	.button { display: inline-block; white-space: nowrap; }	
	.buttonmob {display: none; }	
	.book { display: inline-block; padding-top: 15px; }	
	.bookmob { display: none; }	
		
	a.buttonlinkmob{	
	border: solid 1px #beab6b; 	
		color:#beab6b;	
		margin:20px 10px; 	
		padding: 10px 20px;	
		text-decoration:none; text-align: center;	
		display: inline-block;	
		font-size: 1.2em;	
		transition: background .6s ease-in-out,color .2s ease-out,border .2s ease-in-out; 		
		font-family: Lora, serif;		
	}	
	a.buttonlinkmob:hover{	
		background:#beab6b;	
		color: #fff;	
	}	
	.smallimg { 	max-width: 100%; }
	.paddingtop { padding-top: 0; }
.paddingtop1 { padding-top: 20px; }
.paddingtophead { padding-top: 20px;  display: block; }
}
/*
DESKTOP
This is the average viewing window. Desktops, Laptops etc
*/
@media only screen and (min-width: 1030px) {
.nodisplay { display: block; }

.book { display: inline-block; padding-top: 15px; }
.bookmob { display: none; }

#logo img {max-width:110px; height:auto; }
h2 { font-size: 2em; }
h1 { font-size: 2.5em; }
  
.paddingtopmob { padding-top: 0; }
.paddingtophead { padding-top: 20px; display: block; }

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {
.nodisplay { display: block; }

#hero1{
	background: #2f414f;
	padding:10px 0 20px 0;
	color: #fff;
}

} 

/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {
.nodisplay { display: none; }

.book { display: none; }
.bookmob { display: inline-block; }
.paddingtophead { padding-top: 0; }
} 

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 

  .nodisplay { display: none; }
.grid_8 {
	margin-bottom:0;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 0;
    padding-right: 0;
}
.book { display: none; }
.bookmob { display: inline-block; }
.buttonmob { display: inline-block; float: right; margin-right: 0; }	
.paddingtophead { padding-top: 0; }
		
@media only screen and (min-device-width: 374px) and (max-device-width: 376px)  and (-webkit-min-device-pixel-ratio: 2) {
 .buttonmob { display: inline-block; float: right; margin-right: 0; }
}

/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}