/*
	--------------------------------------------------
	SITE CONTENT STYLES
	--------------------------------------------------

	Author:	eSolutionsGroup.ca
		
*/


/* ===================================================================================== STYLES FOR ALL PAGES */

/* Text Stylings */

body  {
    font: 14px/18px 'Raleway', Arial, Helvetica, sans-serif;
    color: #000;
}

#printArea,
#printArea .none {
    font-size: 14px;
    line-height: 18px;
}

#printArea h1 {
    margin: 0 0 5px 0;
	padding: 0 0 5px 0;
    font-size: 30px;
    line-height: 40px;
	font-weight: normal;
	color: #2c3284;
	border-bottom: 1px solid #cbcfdc;
}

#printArea h2 {
    margin: 15px 0;
    font-size: 24px;
    line-height: 30px;
	font-weight: normal;
}

.homepage #printArea h2 {
	color: #2c3284;
}

#printArea h3 {
    margin: 15px 0;
    font-size: 20px;
    line-height: 26px;
	font-weight: normal;
}

#printArea h4,
#printArea h5,
#printArea h6 {
    margin: 15px 0;
    font-size: 16px;
    line-height: 22px;
}

#printArea .intro {
    font-size: 14px;
    font-weight: bold;
    line-height: 18px;
}
#printArea .caption {
    font-size: 12px;
    font-style: italic;
    line-height: 15px;
}

#printArea table{
	padding: 0 !important;
}

#printArea p{
	margin: 0 0 15px 0;
}

.eSolutionsGroupPhotoGalleryV2PlaceholderDiv .ad-image-description{
    margin: 0px !important;
}


/* Link Colors */

a, a:link, a:visited {
    color: #2c3284;
	font-weight: bold;
    text-decoration: none;
}

a:hover, a:active, a:focus {
    text-decoration: underline;
}


/* Ensuring content-related lists display properly in content areas */
 /* list-style-position:inside; for IE */
#contentInt ul, #printArea ul { margin: 10px 0px 10px 30px; }
#contentInt ol, #printArea ol { margin: 10px 0px 10px 30px; }
#contentInt li, #printArea li { margin: 10px 0px 10px 0px; }

/* fix for showing bullets on photo gallery images */
#contentInt .ad-nav ul li {list-style:none !important; }

/* Image Placement */
img.ImageLeft, img.Left {
	float: left;
	margin: 0 20px 20px 0;
}

img.ImageRight, img.Right {
	float: right;
	margin: 0 0 20px 20px;
}

.Center { text-align: center;}
.Left { text-align: left;}
.Right { text-align: right;}

img.Center {
  	display: block;
  	margin-left: auto;
  	margin-right: auto;
  	clear: both;
}

/* Tabular Data Table */

.datatable {
	margin: 0px 0px 15px 0px;
	padding: 0;
}

.datatable td { padding: 7px 10px; color: #333; }

.datatable th {
    text-align: left;
	padding: 7px 10px;
}

.datatable .titlerow {
	background: #3b3b89;
	text-align: left;
	font-weight: bold;
	color: #FFF; /* Change Below */
}

.datatable .titlerow td{
	color: #FFF;
}

.datatable .titlerow h2 {
	color: #FFFFFF !important;
	margin: 5px !important;
}

.datatable caption {
	text-align: left;
/*	height: 0px;
    visibility: hidden;
    display: none; */
}

.datatable .row { background: #e5eaf9; }

.datatable .altrow { background: #FFF; }

.datatable td p, #printArea .datatable td p, td p, #printArea td p{ margin: 7px 0 0 0; }
.datatable td p:first-child, #printArea .datatable td p:first-child, .datatable th p:first-child, #printArea .datatable th p:first-child { margin: 0 !important; }
td p:first-child, #printArea td p:first-child, th p:first-child, #printArea th p:first-child { margin: 0 !important; }

sub { font-size:80%; }
sup { font-size:80%; }


/* Accordion Table */

table.AccordionTable
{
	margin: 2px 0px 2px 0px;
	padding: 0;
	width: 100%;
	overflow: hidden;
	background-color: #e5eaf9;
	border-spacing: 0;
	border-collapse: collapse;
}
table.AccordionTable  caption { display:none;}
.AccordionTable td { padding: 10px 20px; color: #333; }
.AccordionTable tr.firstRow:hover{ cursor: pointer; }
.AccordionTable tr.firstRow td, .AccordionTable tr:first-child td{	
	background: #3b3b89;
	text-align: left;
	border-top: 1px solid #cbcfdc;
	border-bottom: 1px solid #cbcfdc;
}

.AccordionTable tr.firstRow td.firstChild{
	border-left: 1px solid #cbcfdc;
	width: 75%;
}

.AccordionTable tr.firstRow td.lastChild{
	border-right: 1px solid #cbcfdc;
}

.AccordionTable tr.lastRow td.firstChild{}

.AccordionTable tr.lastRow td.lastChild{}

.AccordionTable tr.lastRow td.onlyChild{}

.AccordionTable caption {
	text-align: left;
}

.AccordionTable.closed tr{ display: none; }
.AccordionTable.closed tr.firstRow, .AccordionTable.closed tr:first-child{ display: block;}
.AccordionTable.closed tr.firstRow, .AccordionTable.closed tr:first-child{ display: table-row;}

table.AccordionTable tr td.AccordionTitle.lastChild, #printArea table.AccordionTable tr td.AccordionTitle.lastChild {
	color: #FFF;
	font-size: 18px !important;
	line-height: 22px !important;
	font-weight: bold !important;
	padding: 10px 50px 10px 20px !important;
	background: url(../images/structure/table-bullet-open.png) #3b3b89 right 18px no-repeat !important;
	vertical-align: top;
}

table.AccordionTable.closed tr td.AccordionTitle.lastChild, #printArea table.AccordionTable.closed tr td.AccordionTitle.lastChild {
	background: url(../images/structure/table-bullet-closed.png) #3b3b89 right 14px no-repeat !important;
	vertical-align: top;
}
table.AccordionTable .AccordionTitle h2, table.AccordionTable .AccordionTitle h3, table.AccordionTable .AccordionTitle h4, table.AccordionTable .AccordionTitle h5, table.AccordionTable .AccordionTitle h6, table.AccordionTable .AccordionTitle p{ margin: 0 !important; font-weight: 600 !important; color: #FFF !important; }
.AccordionTable td p, #printArea .AccordionTable td p, td p, #printArea td p{ margin: 7px 0 0 0; }
.AccordionTable td p:first-child, #printArea .AccordionTable td p:first-child { margin: 0 !important; padding: 0; }
td p:first-child, #printArea td p:first-child { margin: 0 !important; }


/* ===================================================================================== STYLES HOME PAGE */




/* ===================================================================================== STYLES FOR CONTENT PAGES */

/* For .Net pages */
.headingBackgroundColour
{
    background-color: #3b3b89 !important; /* Must pass colour contrast when text colour is white */
}

/* Image Link Outlines*/
a:focus img{ outline: 1px solid #3b3b89; } /* Same colour as above (.headingBackgroundColour) */

/* Mobile */

a[href^=tel] { color: #000; } /* Adjust color to make iOS auto phone number link visible. */


/* ----- END OF TEMPLATE ----- */