
/*  
	
	#005389 - Dark Blue header background, background of menu bar behind buttons (was 3B5 999)
	#538AC6 - Medium Blue dropdown item selection highlight
	#00375B - Dark Blue (very) bottom of gradient menu buttons (black->blue)

*/

/* General page settings */

* {
	box-sizing: border-box;
}
img {
	max-width: 100%;
}
html {
	margin: 0 auto;
	max-width: 1500px;
	min-width: 320px;
}
body { 
	font-family: "myriad-pro", Helvetica, Arial, sans-serif; 
	font-size: 14px;
font-size: 12pt; 
line-height:16pt;
	color: #19324d;
	padding: 0px;
	padding-top:100px; /* to make header visible */
	margin: 0px;
    	background-image: url("/_assets/blue_barLG.png");
    	background-repeat: repeat-x;
	background-attachment: scroll;
	background-color: #FFF;
    /* background-attachment: fixed; */
}
a, a:hover, a:link, a:focus {
    color: #19324d;
    text-decoration: underline dotted;
}
header {
	height: 100px;
	position: fixed;
	top:0;
	width: 100%;
	background: #005389;
	max-width:1500px;
}
/* added by Jane */

h6{font-size:14pt;
line-height: 24px;}

a.page-links{color:#046EB7;
	font-weight:600;}
	
a.page-links-red, p.page-links-red, h6.page-links-red{color:#EF3742;
	font-weight:600;}
	
a.page-links-white{color:#ffffff;}

.thumb-nail-header{
	font-size: 15px;
	line-height:1.2em;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 8px;
}
.thumb-nail-arrow{
	color: #006eb6;
}
ul.vendor {
	padding-left:0;
	margin-top:0
}
ul.vendor li{
	font-size:15px;
	list-style-type:none;
	border-bottom: 1px dotted #ddd;
}

ul.vendor li:last-child{

	border-bottom: none;
}

.footer-space{padding:0.2em 16px}

.online {text-align:center;}

.display-background{background:#E7E3DC;
	padding:5px 15px;
	border-radius:10px;}


/* added by Ter */
footer {
	/* height: 150px; */
	width: 100%;
	/* background-color: #005389; */
	background-color: #FFF;
	margin: 20px 0;
	font-size: 11pt;
}


.footer-content ul{width:20%;
	float:left;
	list-style-type:none;
	border-left: 1px solid #ddd;
	padding-left:10px;}
	
.footer-content ul:first-child{width:20%;

	border-left: 0px solid #ddd;}

img.footer-enews {
	width: 85px;
}

nav {
	background: #005389;
}
main, nav {
	position: relative;
}
main {
	display: block;
	background-color: #FFF;
	/* margin: 10px; */
	padding: 10px;
}

/* Scroll to Top */

.scrollup{
	width:40px;
	height:40px;		
	text-indent:-9999px;
	opacity:0.3;
	position:fixed;
	bottom:40px;
	right:0px; /* was 100 */
	display:none;			
	background: url('/_assets/icon_top.png') no-repeat;
}

/* Search box */
/* http://helplogger.blogspot.ca/2014/10/6-custom-search-boxes--for-blogger.html */

#searchbox {
	position: absolute; /* was relative */
	z-index:21474836467;  /* the largest value! Cool effect having logo scroll */	
	right: 190px;
	top:10px;
	background: #FFF;
	width: 208px;
width: 250px;  /* ACCESSIBILITY 20161123 - larger font required more room */
    	height: 29px;
	border-radius:5px;
}
#searchbox input {
    outline: none;
}
#searchbox input[type="text"] {
	background: transparent;
	margin: 3px 0px 0px 20px;
	padding: 3px 0px 5px 0px;
	border-width: 0px;
	font-size: 12px;
font-size: 12pt;  /* ACCESSIBILITY 20161123 */
	color: #000;
	width: 70%;
	display: inline-table;
	vertical-align: top;
}
#search-button-submit {
    background: url(/_assets/magnifier.png) no-repeat;
    border-width: 0px;
    cursor: pointer;
    margin-left: 10px;
    margin-top: 4px;
    width: 21px;
    height: 22px;
}
#search-button-submit:hover {
    background: url(/_assets/magnifier-hover.png) no-repeat;
}
#search-button-submit:active {
    background: url(/_assets/magnifier-hover.png) no-repeat;
    outline: none;
}
#search-button-submit::-moz-focus-inner {
    border: 0;
}

.PosRelative {
	position: relative;
}

/* Social Media Sprites */

.socialBlock {
	z-index:21474836467;
	position: absolute;
	display: inline-block;
	height: 25px;
	right: 10px;
	top: 12px;
}

.socialSprite {
	display: inline-block;  
	width: 25px;  
	height: 25px;  
	margin-left: 2px;
	overflow: hidden;  
	position: relative;  
	left: 0;  
	top: 0; 
}
.socialSprite img {
	position: absolute;  
	width: 25px;  
	height: 50px;  
	-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
	-o-transition: all 0.1s linear;
	transition: all 0.1s linear;  
}
.socialSprite:hover img {
	top: -25px;  
}

/* LEFT MENU NAVIGATION ************************************************************************** */
/* http://stackoverflow.com/questions/10646775/active-menu-highlight-css */

#cowleft .w3-container {
    padding: 0;
}

#left-nav {
	display: block;
	text-decoration: none;
}
#left-nav ul {
	font-size: 14px;
font-size: 12pt; /* ACCESSIBILITY 20161123 */
	margin: 0px;
	padding: 0px;
	/**list-style-image: url("/_assets/sidebullet.png");**/
	list-style-position: outside;
	list-style-type:none;
}
#left-nav a {
	display: block;  /* make the entire cell clickable */
	text-decoration: none;
	border-left:3px solid #005389;
	padding-left:7px;
	margin-bottom:3px;
}

blockquote{margin-left:20px;margin-right:0}

#left-nav ul li:hover{ background-color: #005389;}
#left-nav ul li:hover a{ color: #FFF; }
#left-nav ul li.active{	background-color: #cce6ff; }
#left-nav ul li.active:hover a {color: #000;}  			/* hover over current page link */

/* MENU SYSTEM ************************************************************************** */
/* Main Menu - based on menu.cool.com drop-down-menu template 3 */

#ddmenu
{
	display:block;
	font-family: "myriad-pro", Helvetica, Arial, sans-serif; 
	text-align:center; 
	letter-spacing:normal; 
}


/* This is the entire menu bar */
#ddmenu ul
{ 
	margin:0 auto;
	padding:0;
	text-align:left; /* Alignment top-level menu group within the UL */
	padding-left:208px;    /* Moves menus to the right of the logo */
	width:100%;
	font-size:0;
	background:#005389; /* Menubar background dark blue  */
	display:inline-block;
	list-style:none;
	position:relative;
	z-index:999999990; 
	padding-top:2px;
}

/* The menu buttons */
#ddmenu li
{
	margin: 8px 6px 8px 6px; /* top right bottom left */ 
	padding:0;
	font-size:15px;
font-size: 12pt;
	display:inline-block;   
	*display:inline;
	zoom:1; /*for IE6-7*/
	position:relative;
	color:#fff;  /* Menubar text colour (white) */
	line-height:30px; /*This determines the height of the menu - menu bar */
	transition:background-color 0.2s;
	outline:none; 
	-moz-user-select:none;
	-webkit-user-select: none;
	-ms-user-select: none;
	background: #000; /* black */
}

#ddmenu .full-width {
	position:static;
}

/* Hover over a menu button */
#ddmenu .over
{
	color:#FFF; /* Menubar text colour white  */
	background: #005389;  /* Background dark blue */
}

#ddmenu .top-heading
{
	font-weight: 700;  /* Bold weight */
	white-space:nowrap;
	margin:0 20px;      /* Margin for space around text in a menu button */
	color:inherit;
	text-decoration:none;
	display:inline-block; 
	outline:0;
	cursor:pointer;
}

.offset300 {
    left:300px;
	right:auto;
}

/* Items in drop down columns - working out bullet positioning */
.dd-inner .column a
{
	padding-left: 10px;
	text-indent: -10px;
}

/* White bullet */

.dd-inner .column a::before 
{
    background-color: #FFF;  /* White bullet */
    content: " ";
    display: inline-block;
	height: 0.85em;
    margin-right: 6px;
    width: 0.35em;
	width: 0.3em;
}

/* links of top-heading */
#ddmenu a, #ddmenu a:link, #ddmenu a:hover
{
    color:inherit;
    text-decoration:none;
    display:block;
}

#ddmenu a:focus
{
    outline:1px dotted #09F;  /* when you hit the tabs this shows */
}

/* caret(arrow icon) */
#ddmenu .caret
{
    color:inherit;
    left:-18px;
    width: 0;
    height: 0;
    overflow:hidden;/*for IE6*/
    vertical-align:middle;
    margin-bottom:2px;
    border-top: 4px solid;/*caret size is 4px now*/
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    display: inline-block;
    position:relative;
}  
        
/* sub-menu layout
----------------------------*/

#ddmenu .dropdown
{
	width:auto;    
	left:0px; 
	color: #FFF;  /* Colour of text in drop down before override = white */
	padding:0;
	margin:0;
	display:none;
	position:absolute;
	top:100%;    
	border-top:none;
	/* Shadow box under the drop down */ 
	-webkit-box-shadow: 0px 8px 8px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 8px 8px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 8px 8px 0px rgba(0,0,0,0.5);
}

#ddmenu .full-width .dropdown {
    width:100%;
    padding:0;
    margin:0; 
}

#ddmenu .over .dropdown
{
    display:block;
}

#ddmenu .dd-inner {
	text-align:center;  /* this centers the entire submenu block */
	padding: 20px 10px 10px; /* a little tighter was 20px */
	margin:0px;
	background-color:#005389;  /* Entire drop-down background colour */
	white-space:nowrap;
	font-size:15px;
font-size: 12pt; /* ACCESSIBILITY 20161123 */
	line-height:1.35;  /* seems to only effect total drop down block */
}
  
/* links in sub menu
----------------------------*/

#ddmenu .dropdown a
{  
	display:table-row;
	*display:block;
	line-height:22px; 
	text-decoration:none;
	padding:0;
}

/* hovered links for the dropped down items */

#ddmenu .dropdown a:hover, #ddmenu .dropdown a:focus
{
	*display:block;
	color:#000;
	background-color: #FFF;
}

/* blocks within the sub-menu */
#ddmenu .column
{
    text-align:left;
    vertical-align:top; /*or middle*/
    display:inline-block;
    *display:inline;*zoom:1;
    white-space:normal;
    width: 18%;   /* was 200px; */
    padding:0 18px;    /* was padding:0 30px; */
    border-left:1px solid rgba(266,266,266,.2);  /* white line at right of column for separation */
}

#ddmenu div.dd-inner div:first-child
{
    border-left:none;  /* hide the separator for the last column */
}

#ddmenu .column h3 {
	font-weight: 700; /* bold */
	line-height: 1.1;
	margin-top: 10px;  /* was 12px */
	margin-bottom: 8px;
	font-size: 18px;  /* was 24px */
font-size: 14pt; /* ACCESSIBILITY 20161123 - pt to keep it consistent */
	margin-left:-10px; /* Indent to match the bullets */
}

#ddmenu .column p {
	display: block;
	margin-left:-10px;  /* Indent to match the bullets */
}

/* */

.main-nav-scrolled {
	position: fixed;
	top:0;
	width: 100%;
	z-index:999999999; 
	max-width:1500px;
}
.main-scrolled {
	padding-top: 70px;  /* keeps the main text from jumping when nav sticks */
}
.logoimg {
	position: absolute; /* was relative */
	z-index:999999999;
	z-index:21474836467;  /* the largest value! Cool effect having logo scroll */	
	left:25px;
	top:-90px;
}
.logonav {
	z-index:999999998;
	position: absolute;  
	left:30px;
	top:8px;
}
.slogan {
	position: absolute;
	z-index:21474836467;  /* the largest value! Cool effect having logo scroll */
	left:210px;	
	top:-35px;
}

.backgroundSM {
	background-image: url("/_assets/blue_barSM.png");
	background-repeat: repeat-x;
	background-attachment: fixed;
}	

/* useful when http://www.menucool.com/ddmenu/one-menu-for-all-pages */
#ddmenuLink {display:none;} 

/*######## add additional styles for mobile-friendly responsive menu ########*/

#ddmenu .menu-icon   
{
    display:none; /* hide menu icon initially */
}

@media print {
	body {
		padding-top:10px;
	}
	header {
		display: none;
	}
	.slogan {
		display: none;
	}
	#searchbox {
		display: none;
	}
	.socialBlock {
		display: none;
	}
	.logoimg {
		display: none;
	}
	nav {
		display: none;
	}
	#left-nav {
		display: none;
	}
	footer {
		display: none;
	}
}

/*styles for mobile*/

@media only screen and (max-width: 600px) 
{
	.slogan {
		display: none;
	}
	#searchbox {
		display: block;
		position: static;
		left: auto;
		top: -110px; 
		margin: 5px 5px 10px 5px;
	}
	.socialBlock {
		display: block;
		position: static;
		margin: 5px 5px 10px 5px;
	}
	
}

@media only screen and (max-width: 768px) 
{
	

	.logoimg {position: static;
		display: block;
		margin-left: 10px; 
		margin-top: 5px;
		padding-bottom: 10px;
	} 
	.logonav {display:none;
	}
	body {
		padding-top: 0px;
	}
	header {
		height: 0px;
	}
	
    #ddmenu .column.mayHide {
        display:none;
    }

    /*override the original settings*/
    #ddmenu ul {
        width: 100%; 
        /* display: none; SHOW THE MAIN MENU ITEMS WHEN SCREEN SHRINKS */
        border-radius:0; 
		padding-left:0px;  /* remove the indent for the logo */
		margin-top: 5px;
    }
	
    #ddmenu li {
        position:relative;
	display:block;
	font-size:14px;  /* was 20 */
font-size: 12pt;  /* ACCESSIBILITY 20161123 */
        text-align:left;
        border-bottom: 1px solid rgba(0,0,0,0.2); 
	margin: 4px 3px 4px 3px; /* top right bottom left */ 
	line-height:25px; /*This determines the height of the menu - menu bar */		
    }

    #ddmenu .full-width {
       position:relative;
    }
    
    #ddmenu .dropdown {
        position:relative;
        *top:auto;/*for IE7*/
        border:none;
        border-radius:0;
        box-shadow:none;
        text-align:left;
    }

    #ddmenu .full-width .dropdown{
        width:auto;
    }
    
    #ddmenu .dd-inner
	{
        margin:0;
        background:none;
        text-align:left;
    }
    
    /*turn each column to list vertically instead of horizontally */
    #ddmenu .column {
        width:auto;
        padding:0;
        border:none;
        display:block;
    }

    /*move the arrow icon to right*/
    #ddmenu .caret {
        position:absolute;
        left:auto;
        right:14px;
        top: 19px;
        border-width:5px;
    }

    /* All the following are for the .menu-icon (pure CSS) */
    #ddmenu .menu-icon {
        font-size:32px;  /*icon size*/
	display: block;
	display: none; /* KEEP ICON HIDDEN */

        position: relative;
	width: 40px;
	height:36px;
        text-align:center;
	cursor: pointer;
	-moz-user-select:none;		
        -webkit-user-select: none;
	background-color: #fff;
        /* border-radius: 3px; */

        margin-bottom:6px;	
        /*align the icon to the left*/
	margin-left: 20px;
	margin-top: 5px;
        margin-right: auto;
    }

    #ddmenu .menu-icon::before {
        content: "";
        position: absolute;
        top: 0.25em;
        left: 4px;
        width: 1em;
        height: 0.125em;
        border-top: 0.375em double #333333;
        border-bottom: 0.125em solid #333333;
        box-sizing:content-box;
    }

    #ddmenu .menu-icon-active {
        background-color: #333333;
    }

    #ddmenu .menu-icon-active::before {
      border-color: #eeeeee;
    }

/* used for buttons on main pages */

.ex1 {
    margin-bottom: .1cm;
    background-color:#006EB6;
font-size: 115%;
}
.ex2 {
    margin-bottom: .1cm;
    background-color:#00375B;
font-size: 115%;
}
.ex3 {
    margin-bottom: .1cm;
    background-color:#EF3742;
font-size: 115%;
}
.ex4 {
    margin-bottom: .1cm;
    background-color:#005389;	
    }

.ex21 {margin-bottom: .1cm;background-color:#006EB6;}  
.ex22 {margin-bottom: .1cm;background-color:#00375B;}
.ex23 {margin-bottom: .1cm;background-color:#8D8471;}
.ex24 {margin-bottom: .1cm;background-color:#E7E3DC;} 

.borderleft {border-left: 0px solid #ddd;}
#left-nav {
    display: none;
    text-decoration: none;
}

/* Ter/Jane */
h1 {
	margin: 10px;
	font-weight:700;
    }
h2, h3, h4, h5, h6, p {
		margin: 10px;	
	}
	
/* footer for tablet */	
.footer-content ul {
    width: 100%;
    float: left;
    list-style-type: none;
    border-left: 0px solid #ddd;
    padding-left: 10px;
}

	.footer-address{width: 100%;margin:5px 0;border-left:none;}
	.footer-address li{display:inline;}
	.hide{display:none!important}

/*for side menu - not used*/
.sidebar1 {height:100%;width:200px;background-color:#fff;position:fixed!important;z-index:1;overflow:auto}
.sidebar1 a{padding:4px 2px 4px 16px}.sidebar1 a:hover{background-color:#ccc}.sidebar1 a,.w3-dropnav a{display:block}
.sidebar1 .w3-dropdown-hover:hover,.sidebar1 .w3-dropdown-hover:first-child,.sidebar1 .w3-dropdown-click:hover,.w3-dropnav a:hover{background-color:#ccc;color:#000}
.sidebar1 .w3-dropdown-hover,.sidebar1 .w3-dropdown-click {width:100%}.sidebar1 .w3-dropdown-hover .w3-dropdown-content,.sidebar1 .w3-dropdown-click .w3-dropdown-content{min-width:100%}

/* testing vertical-line */
div.vertical-line{
  width: 2px; /* Line width */
  background-color: black; /* Line color */
  height: 100%; /* Override in-line if you want specific height. */
  float: left; /* Causes the line to float to left of content. 
    You can instead use position:absolute or display:inline-block
    if this fits better with your design */
}

/* for accordian buttons to be responsive with text */
button.accordion {
    background-color: #006EB6;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
	margin-bottom: .1cm;
}

button.accordion.active, button.accordion:hover {
    background-color: #00375B;
}

button.accordion:before {
    content: '\25BC';
    font-size: 13px;
    color: white;
    float: left;
	padding: 0 5px;
    margin-left: 5px;
}

button.accordion.active:before {
    content: "\25BA";
}

div.panel {
    padding: 5px 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: 0.6s ease-in-out;
    opacity: 0;
}

div.panel.show {
    opacity: 1;
   max-height: none; 
}


}

@media only screen and (max-width: 600px) 
{
	.hide-phone{display:none;}
}

/* added for skip to */
#skip a { 
	position:absolute; 
	left:-10000px; 
	top:auto; 
	width:1px; 
	height:1px; 
	overflow:hidden;
} 
 
#skip a:focus { 
	position:static; 
	width:auto; 
	height:auto; 
} 