/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
* Site Styles by Web Intrigue, 2015 customised for Ontrack Rail Users' Association
* Last updated 8 May 2019
================================================== */
@font-face {
	font-family:'WebSymbolsRegular';
	src:url('../fonts/websymbols/websymbols-regular-webfont.eot');
	src:url('../fonts/websymbols/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/websymbols/websymbols-regular-webfont.woff') format('woff'),
		url('../fonts/websymbols/websymbols-regular-webfont.ttf') format('truetype'),
		url('../fonts/websymbols/websymbols-regular-webfont.svg') format('svg');
}

/* source: open licence from socicon.com */
@font-face {
    font-family:'SocIcon';
    src: url('../fonts/socicon/socicon-webfont.eot');
    src: url('../fonts/socicon/socicon-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/socicon/socicon-webfont.woff') format('woff'),
         url('../fonts/socicon/socicon-webfont.ttf') format('truetype'),
         url('../fonts/socicon/socicon-webfont.svg#sociconregular') format('svg');
    font-weight:normal;
    font-style:normal;
    /*text-transform:initial;*/
}

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* Restrict the visibility of the Google privacy terms to only pages with contact form 7 embedded */
body:not(.page-id-15):not(.page-id-256) .grecaptcha-badge {
	display:none;
}

.grecaptcha-badge { 
    bottom:95px !important; 
}


/* band styling */
/* default */
.band {
	background:#ECECDF;	
}

.band.header {
	background:#FFF;
}

.band.navigation {
	background:#6B717A;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #fff;
}

.band.imagery {
	width:100%;	
}

.band.imagery .main-image-home {
	position:relative;
	float:left;
	width:100%;
	/* For Safari 5.1 to 6.0 */
	background:-webkit-linear-gradient(#074169,#5BC1DA);
	/* For Opera 11.1 to 12.0 */
	background:-o-linear-gradient(#074169,#5BC1DA);
	/* For Firefox 3.6 to 15 */
	background:-moz-linear-gradient(#074169,#5BC1DA);
	/* Standard syntax */
	background:linear-gradient(#074169,#5BC1DA);
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #fff;
}

.band.imagery .main-image-home .sizing {
    width: 100%;
    padding-bottom:31.4%;
    visibility: hidden;
}
.band.imagery .main-image-home .content {
    width: 100%;
    height: 100%;
    position: absolute;
    margin-top:-31.4%; /* important this is the negatation of the .sizing padding-bottom */
}

.band.imagery .main-image-page {
	position:relative;
	float:left;
	width:100%;
	padding-top:14px;
	/* For Safari 5.1 to 6.0 */
	background:-webkit-linear-gradient(#5A93E2,#AEDCFD);
	/* For Opera 11.1 to 12.0 */
	background:-o-linear-gradient(#5A93E2,#AEDCFD);
	/* For Firefox 3.6 to 15 */
	background:-moz-linear-gradient(#5A93E2,#AEDCFD);
	/* Standard syntax */
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #fff;
}

.band.imagery .main-image-page .sizing {
    width: 100%;
    padding-bottom:14.5%;
    visibility: hidden;
}
.band.imagery .main-image-page .content {
    width: 100%;
    height: 100%;
    position: absolute;
    margin-top:-14.5%; /* important this is the negatation of the .sizing padding-bottom */
	-webkit-background-size:contain;
	-moz-background-size:contain;
	-o-background-size:contain;
	background-size:contain;
	border-radius: 0 0 10px 10px;
}


.band.footer {
	background: #FFF;
	padding: 28px 0 14px 0; 
	color:#e0e0e0;	
}

.band.bottom {
	background-color: #074169;
	padding: 28px 0 7px 0;
	color:#e0e0e0;
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #680000;
}

.band.bottom img {
	margin-top:14px;	
}

.chief .container {
	padding-bottom:21px;
}


/* Heading */
header.main {
	padding:7px 0 0px;	
}

.band.header img {
	float:left;
	width:34px;	
	height:34px;
}

header h2.logo, header h1.logo, h2 {
	margin:0;
	text-align:left;
	font-family:arial,sans-serif;
	font-size:27px;
	line-height:32px;
	letter-spacing: 0.05em;
}


header h3.logo {
	margin:7px 0 0px;
	text-align:left;
	font-family:arial,sans-serif;
	font-size:21px;
	line-height:21px;
	letter-spacing:0.05em;
}

header h2.logo a, header h1.logo a { 
	text-decoration:none;
	color:#FD1600;
}

header h3.logo a {
	text-decoration:none;
	color:#680000;	
}

header .phone p {
	float:right;	
	letter-spacing: 0.05em;
	font-size:21px;
	margin-top:5px;
	margin-bottom:7px;
}

header .phone a {
	color:#FD1600;	
}

a[href^="tel"]:link,
a[href^="tel"]:visited, 
a[href^="tel"]:hover {
    text-decoration:none;
	cursor:default;
}

/* Navigation */
nav.primary{
	padding-top:0px;
}
nav.secondary {
	padding-top:0px;
	padding-bottom:0px;
	margin-bottom:7px;
	background-color:transparent;
}

nav.primary ul {
	/*float:left;	*/
}

/* This is for use with smaller screen esp mobile only */
nav.primary ul.mobile {
	display:none;
}

nav.secondary ul {
	float:right;	
}

nav.primary ul, nav.primary ul li, nav.secondary ul, nav.secondary ul li {
	margin:0;	
}

nav.primary ul li, nav.secondary ul li {
	display: inline;
	float:left;
	position:relative;	
}

nav.primary ul li:first-child {
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #D5D5B5;	
}

nav.primary ul li {
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #D5D5B5;
}


nav.primary ul li a, nav.secondary ul li a {
	display:inline-block;
	line-height:42px;
	padding:0 20px;
	color:#EEF0EF;
	text-decoration:none;
	font-weight:normal;
	letter-spacing:0.08em;
}

nav.secondary ul li a {
	color:#800000;
}

nav.secondary ul li a {
	padding: 0 10px;	
}

nav.secondary ul li a {
	text-transform: none;	
	font-weight:normal;
}

nav.primary ul li a:hover, nav.secondary ul li a:hover {
	background:#5BC1DA;
	color:#292929;
	cursor:pointer;
}

nav.secondary ul li a:hover { 
	background:#800000;
	color:#EEF0EF;
}

/* sub menu - primary navigation */
nav.primary ul ul {
	opacity:0;
	filter:alpha(opacity:0);
	position: absolute;
	z-index:999;
	min-width:220px;
	background:#6B717A;
	height:0;
	overflow:hidden;
	-webkit-box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	-moz-box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-o-transition: opacity 0.5s ease-out;
	-ms-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
}

nav.primary ul li:hover ul { /* make sub menu element visible */
	height:auto; 
	overflow:auto;
	opacity:10;
	filter:alpha(opacity:100);
}

nav.primary ul ul li {
	clear:both;
	width:100%;
	max-width:220px;
	float:none;
	display:list-item;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D5D5B5;
}

nav.primary ul ul li a {
	display:block;
	line-height:42px;
	font-weight:normal;	
}

nav.primary ul li:hover > a {
}

/*nav.primary li.menu-item-20 a {
	color:#FFCC33;
}*/


/* Slider styling */
ul.slides img {
	width:100%;
	height:auto;
}	

/* imagery band */
.topleft h4, .topmiddle h4, .topright h4{
	color:#680000;
	font-size: 19px; line-height: 21px;
}

.topleft img {
	width:100%;	
	height:auto;
}

.main-image-page .topright {
	float:right;
}

.topright img {
	width:45%;
	height:auto;
}
.topleft img.alignleft, .topmiddle img.alignleft, .topright img.alignleft {
	float:left;	
	margin-right:5px;		
}

.topleft img.alignright, .topmiddle img.alignright, .topright img.alignright {
	float:right;	
	margin-left:5px;		
}

/* blog post and other article styling */
.chief .two-thirds {
	margin-top:-49px;
	background-color:#E0E0C9;
	min-height:30px;
	border-radius:6px;
	padding:7px 5px 21px;
	border: 3px solid #FFF;
}

.articles h1, .articles h2 {
	color:#680000;
	line-height:35px;
	margin-bottom: 0px;	
}

.articles h3, .articles h4 {
	color:#FD1600;	
}

.articles p,  .articles ul {
	color:#181818;
}

.articles ul {
	margin-top:0;
	padding-top:0;	
}

.articles li {
	margin-bottom: 7px;
	list-style-type: square;
	list-style-position: inside;
	line-height: 21px;
}

.articles h3 {
	font-size: 21px; line-height: 28px; margin-bottom: 7px;	
}

.articles img {
	width:390px;
	max-width:65%;
	margin-bottom:7px;
	border: 3px solid #EEF0EF;
}

/*.articles .addtoany_share_save_container img {
	width:32px;	
}*/

.articles .fullsizeimg img, .articles img.fullsizeimg  {
	max-width:100%;
	width:100%;
}

.articles figure img {
	margin-bottom:0;	
}

.articles img.alignleft {
	float:left;	
	margin-right:15px;
}

.articles img.alignright {
	float:right;
	margin-left:15px;
}

/* more article styling */
article {
	margin-top:7px;
}

article img {
	width:100%;
	height:auto;
}


article .breadcrumbs, article .meta {
	margin-bottom:7px;	
}

article	a[href^="tel"]:link,
article	a[href^="tel"]:visited, 
article	a[href^="tel"]:hover {
    text-decoration:none;
	cursor:default;
}

/* links inside articles */
.articles a, .articles a:visited {
	color:#0C3F86;
	text-decoration:none;
}

.articles a:hover {
	text-decoration:underline;
	color:#680000;	
}

/* Contact Forms inside articles */
.articles form p {
	margin-top:0px;
	margin-bottom:0px;	
}

.articles form img {
	width:auto;	!important
}

.articles form textarea {
	width:96%;	
}

.comments li {
	line-height:21px;	
}

.comment-author, .comment-meta {
	margin-bottom:7px;	
}

/* Sidebar (aside) styling */
aside {
	background-color:#074169;
	margin-top:-49px;
	border-radius:6px;
	padding:14px 5px;
	min-height:30px;
	border: 3px solid #FFF;	
}

aside a, aside a:visited {
	color:#FFCC33;
	text-decoration:none;
	font-weight:normal;
}

aside a:hover {
	color:#FFCC33;
	text-decoration:underline;	
}

aside p, aside h1, aside h2, aside h3, aside h4, aside li {
	color:#EEF0EF;
}

aside h3 {
	margin-bottom:10px;	
}

aside li {
	margin-top:2px;
	margin-bottom:2px;	
}

aside img {
	width:100%;
	max-width:100%;
	height:auto;
	border: 3px solid #EEF0EF;		
}



hr {
	margin:14px 0 28px;
	border-bottom-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: dashed;
	border-left-style: none;
	border-bottom-color: #B1BAB6;
}


/* pagination for blog posts */
nav.pagination ul {
	width:100%;
	text-align:center;
	margin:21px 0 35px 0;
}

nav.pagination li {
	display:inline;
}

nav.pagination li a, nav.pagination li span {
	display:inline-block;
	line-height:35px;
	width:35px;
	height:35px;
	text-align:center;
	padding:0 7px;
	text-decoration:none;
	font-weight:bold;
	border-bottom: 3px solid #EEF0EF;	
}

nav.pagination li a.selected, nav.pagination li span.current, nav.pagination li a:hover{
	border:none;
	color:#fff;
	background-color: #313128;
}

/* footer  and bottom (footer) */
.footer .one-third, .footer .two-thirds {
	background:#ECECDF;
	min-height:30px;
	padding:5px;
	border-top-left-radius:6px;
	border-top-right-radius:6px;	
}

.footer header {
	background:#0C3F86;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	padding:0 4px;
}

.footer header h4 {
	color:#EEF0EF;
	text-transform:uppercase;
}

.bottom p, .bottom h1, .bottom h2, .bottom h3, .bottom h4, .bottom h5 {
	color:#EEF0EF;
}

footer p {
	padding-top:10px;	
}

footer ul {
	padding-top:10px;	
}

footer .last-credit p.webcred {
	font-size:14px;	
}

footer li {
	margin: 0 0 21px 0;
	color: #181818;	
}

footer.main a,
footer.main a:visited {	
	color:#0C3F86;
	text-decoration:none;
}

footer.main a:hover {
	color:#0C3F86;
	text-decoration:underline;
}

footer a,
footer a:visited {	
	color:#FFCC33;
	text-decoration:none;
}

footer a:hover {
	color:#FFCC33;
	text-decoration:underline;
}

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

/* mobile nav */
img.menuicon {
	margin:0;
	max-height:15px;
	width:auto;	
}

/* figures */
figure {
	padding:4px;
	border:none;
	background:transparent;
	line-height:0;
}

.articles figure img {
	border:none;	
}

figure.video {
	padding:0px;
	border:none;
}

figcaption {
	font-size:13px;
	color:#3F0000;
	text-align:left;
	padding:0 5px 14px;
	font-style:italic;
}

.thumbnail img {
	max-width:100%;	
}

/* by default, <input type="search" /> renders like a "native" search field on Mac OS X (rounded corners, clear button, etc.). - this clears that styling */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

input[type="search"] {
	-webkit-appearance:	textfield;
}

input[type="search"]:focus {
	outline:none;	
}

/* icons */
/*.icon2 {
	font-family:WebSymbolsRegular;	
	font-size:28px;
	line-height:1em;
}*/

.icon {
	font-family:SocIcon;	
	font-size:25px;
	line-height:1em;
}

.icon.menu {
	clear:both;
	color:#fff;
	display:inline;
	margin-left:0;
	font-size:21px;	
}

.icon.rss {
	color:#FD1600;	
	line-height:42px
}

.icon.twitter{
	color:#39bae6;		
}

.icon.google {
	color:#d73e00;
}

.icon.facebook {
	color:#3C599F;	
	line-height:42px
}

nav.secondary a:hover .icon.facebook {
	color:#EEF0EF;
}

/* subscribe text */
.subscribe a {	
	text-decoration:none;
}

.subscribe table {
	margin-top:14px;
	width:100%;
	text-align:center;
}

.subscribe table td {
	width:25%;
}

/* flexible embeds */
.embed {
	position:relative;
	padding:0;
	padding-bottom:56.25%; /* 16/9 ration */
	/* extra for cross browser assurance */
	height:56.25%;
	overflow:hidden;
	margin-bottom:7px;
}

.embed iframe,
.embed object,
.embed embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;		
}

div.wpcf7-response-output {
	background-color:#EEF0EF;	
}

div.cff-wrapper {
 	overflow-y:scroll;
	height:1193px;		
}

.footer .two-thirds .scrollable {
	height:1193px;	
}

/* flowpaper */
.flowpaper-logo-bg {
	margin-bottom:14px;
}

/* #Media Queries
================================================== */
/* largest screen sizes browsers */
@media only screen and (min-width: 1600px) {
.slidecontainer  { position: relative; width:100%; max-width:1600px; margin: 0 auto; padding: 0; }
.band.imagery .main-image-home .sizing {
    width: 100%;
    padding-bottom:31.4%;
    visibility: hidden;
}
.band.imagery .main-image-home .content {
    width: 100%;
    height: 100%;
    position: absolute;
    margin-top:-31.4%; /* important this is the negatation of the .sizing padding-bottom */
}		

.band.imagery .main-image-page .topright {
	margin-top:-48px;	
}	

}


/* Smaller than widescreen desktop browsers */
@media only screen and (min-width: 960px) and (max-width: 1199px) {
.band.header {
}

header h3.logo {
	margin:7px 0 21px 5px;
	font-size:18px;
	line-height:21px;
}

.band.imagery .main-image-page .sizing {
    padding-bottom:16%;
}
.band.imagery .main-image-page .content {
    margin-top:-16%; /* important this is the negatation of the .sizing padding-bottom */
}

}

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
.band.header {

}
.band.imagery .main-image-page .sizing {
    padding-bottom:21%;
}
.band.imagery .main-image-page .content {
    margin-top:-21%; /* important this is the negatation of the .sizing padding-bottom */
}

.topright img {
	width:45%;	
}

header h2.logo, header h1.logo {
	margin:0 0 0 5px;
	font-size:27px;
	line-height:32px;
}

header h3.logo {
	font-size:21px;
	line-height:21px;
	/*margin:7px 0 108px 5px;*/
}

header .phone {
	padding-top:14px;	
}

header .phone p {
	font-size:21px;
}


nav.primary ul {
	display:none;
}

nav.primary ul.mobile {
	display:inline;
}

/* sub menu - mobile 'menu' navigation */
nav.primary ul.mobile ul {
	opacity:0;
	filter:alpha(opacity:0);
	position: absolute;
	z-index:10000;
	background:#6B717A;
	min-width:240px;
	height:0;	/* initially hide element */
	overflow:hidden; /* initially hide element */
	-webkit-box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	-moz-box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	box-shadow: 0px 2px 2px rgba (0,0,0,0.3);
	-webkit-transition: opacity 0.5s ease-out;
	-moz-transition: opacity 0.5s ease-out;
	-o-transition: opacity 0.5s ease-out;
	-ms-transition: opacity 0.5s ease-out;
	transition: opacity 0.5s ease-out;
	display:block;
}

nav.primary ul.mobile li:hover ul { /* make sub menu element visible */
	height:auto; 
	overflow:auto;
	opacity:10;
	filter:alpha(opacity:100);
}

nav.primary ul.mobile ul li {
	clear:both;
	width:100%;
	max-width:240px;
	float:none;
	display:list-item;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D5D5B5;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #D5D5B5;	
}

nav.primary ul.mobile ul li:first-child {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #D5D5B5;		
}

nav.primary ul.mobile ul li a {
	display:block;
	line-height:42px;
	color:#EEF0EF;
}

/*nav.primary ul.mobile ul li.menu-item-31 a {
	color:#FFCC33;
}*/

nav.primary ul.mobile li:hover > a {
    color:#373211;
}	

nav.secondary {
	margin-top:7px;	
}	
	
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {

}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
.band.header {
}

.topleft img {
	display:none;	
}

.topright img {
	width:45%;	
}

.band.imagery .main-image-page .sizing {
    padding-bottom:61%;
}
.band.imagery .main-image-page .content {
    margin-top:-61%; /* important this is the negatation of the .sizing padding-bottom */
	border-radius:0 0 5px 5px;
}

.flex-caption {top: 14px; font-size: 14px; line-height: 14px; }

.band.footer {
	padding-top:14px;
}

.band.header img {
	float:left;
	width:26px;	
	height:26px;
}

header h2.logo, header h1.logo {
	font-size:24px;
	line-height:24px;
}


header h3.logo {
	margin-bottom:7px;
	font-size:16px;
	line-height:21px;	
}

/*header .phone {
	padding-bottom:96px;		
}*/

nav.secondary {
	margin-top:0;
	background:transparent;
}

/*nav.secondary ul li a {
	color:#fff;	
}*/

.chief .two-thirds, .chief aside {	
	margin-top:14px;
	margin-bottom:14px;		
}

article .two.thumbnail, article .three.thumbnail { /* don't show blog thumbnail on mobiles */
	display:none;	
}

/* Correcting text overspill */ 
.articles .blog p, .articles .blog a h1, .articles .blog a .h2, .articles .blog a h3, .articles .blog a h4 {
	padding-right:20px;
}
.blog p, .blog h1, .blog .h2, .blog h3, .blog h4{
	padding-right:20px;
}
.blog h2 a {
	padding-right:20px;
}
/* End style correction */

aside img {
	width:100%;	
}

article .fullsizeimg img {
	max-width:98%;
}
	
.articles img.size-full {
	width:100%;	
	max-width:100%;
}

a[href^="tel"]:link,
a[href^="tel"]:visited {
	/*color: #FF9900;*/
	cursor:pointer;
} 

a[href^="tel"]:hover,
a[href^="tel"]:focus {
	/*color:#181818;*/
	text-decoration:underline;
	cursor:pointer;	
}

div.first-credit, div.second-credit, div.last-credit {
	text-align:center;	
}

.footer .one-third, .footer .two-thirds {
	border-radius:0;	
}

.footer header {
	border-top-left-radius:0;
	border-top-right-radius:0;
}
	
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {	
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */

@media only screen and (max-width: 479px) {
.band.header {
}

.band.imagery .main-image-home {
	position:relative;
	float:left;
	width:100%;
	/*background:url(../images/bg-seashells-3.jpg) no-repeat center top #fff;*/
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
}

/*.band.imagery .main-image-home .sizing {
    width: 100%;
    padding-bottom:45%%;
    visibility: hidden;
}
.band.imagery .main-image-home .content {
    width: 100%;
    height: 100%;
    position: absolute;
    margin-top:-45%; /* important this is the negatation of the .sizing padding-bottom */
/*}*/

.topright img {
	width:50%;	
}

.band.imagery .main-image-page .sizing {
    padding-bottom:82%;
}
.band.imagery .main-image-page .content {
    margin-top:-82%; /* important this is the negatation of the .sizing padding-bottom */
	border-radius:0 0 5px 5px;
}

.flex-direction-nav li a {
	top:50%;	
}

.articles .fullsizeimg img {
	max-width:95%;
}
}