/* colors:
dark blue = rgb(0, 45, 78)
light blue = rgb(227, 240, 248)
maroon = rgb(136, 38, 87)
*/
html {
	padding: 0;
	margin: 0;
}

body {
	padding: 0;
	margin: 0;
	color: rgb(0, 45, 78);
	background-color: #FFFFFF;
	background-image: url(../img/bg-nw.png);
	background-repeat: no-repeat;
	background-position: top left;
	font-family: Arial, sans-serif;
}

#background-se {
	position: fixed;
	bottom: 0px;
	right: 0px;
	height: 376px;
	width: 675px;
	z-index: -100;
	background-image: url(../img/bg-se.png);
	background-repeat: no-repeat;
	background-position: bottom right;
}

html {
	font-size: 1em;
}

body {
	font-size: 100%;
}

h1,h2,h3,h4,h5,h6 {
	margin: 0px;
	padding: 0px;
}

h1.title {
	color: rgb(136, 38, 87);
	text-decoration: underline;
	text-align: center;
	margin-bottom: 0.5em;
}

a img,img {
	border: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a {
	color: rgb(0, 45, 78);
}

#header {
	margin-bottom: 4em;
}

#logo {
	position: absolute;
	top: 25px;
	left: 70px;
}

.rounded {
	-moz-border-radius: 10px; /* Firefox */
	-webkit-border-radius: 10px; /* Safari and chrome */
	-khtml-border-radius: 10px; /* Linux browsers */
	border-radius: 10px; /* CSS3 */
}

.shadow {
	-moz-box-shadow: 2px 2px 5px #999;
	-webkit-box-shadow: 2px 2px 5px #999;
	box-shadow: 2px 2px 5px #999;
}

#top-links {
	position: absolute;
	font-size: 15pt;
	color: rgb(136, 38, 87);
	font-style: italic;
	right: 15px;
	top: 15px;
}

#top-links ul {
	margin: 0px;
}

#top-links a {
	text-decoration: none;
	color: rgb(136, 38, 87);
}

#top-links ul li {
	display: block;
	float: left;
	height: 30px;
	line-height: 34px;
	margin-right: 2em;
}

#link-contact {
	background-image: url(../img/icon-contact.png);
	background-repeat: no-repeat;
	background-position: left top;
	padding-left: 20px;
}

#link-staff {
	background-image: url(../img/icon-staff.png);
	background-repeat: no-repeat;
	background-position: left top;
	padding-left: 14px;
}

#link-home {
	background-image: url(../img/icon-home.png);
	background-repeat: no-repeat;
	background-position: left top;
	padding-left: 14px;
}

#global-menu {
	position: relative;
	background-color: rgb(0, 45, 78);
	height: 30px;
	margin-top: 120px;
	margin-left: 220px;
	margin-right: 20px;
	min-width: 576px; z-index : 2;
	-moz-border-radius: 10px; /* Firefox */
	-webkit-border-radius: 10px; /* Safari and chrome */
	-khtml-border-radius: 10px; /* Linux browsers */
	border-radius: 10px;
	z-index: 2; /* CSS3 */
}

#global-menu ul {
	margin: 0px;
	padding: 0px;
}

#global-menu li.menu-title {
	position: relative;
	float: left;
	list-style-type: none;
	width: 192px;
	text-align: center;
}

#global-menu a.menu-title {
	display: block;
	color: #FFFFFF;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 30px;
}

#global-menu a.title {
	
}

.menu {
	display: none;
	position: absolute;
	top: 30px;
	left: 0px;
	text-align: left;
	font-style: italic;
	background-color: rgb(231, 243, 255);
	color: rgb(0, 45, 78);
	border-left: 2px solid rgb(214, 211, 214);
	border-right: 2px solid rgb(214, 211, 214);
	border-bottom: 2px solid rgb(214, 211, 214);
	z-index: 200;
	padding: 0 0.25em 0 0.5em;
	width: 16em;
	list-style-type: none;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

.menu a {
	color: rgb(0, 45, 78);
	text-decoration: none;
}

.menu li {
	padding: 0px;
	padding-bottom: 0.25em;
	padding-left: 0.5em;
	padding-top: 0.25em;
	border-top: 2px solid rgb(214, 211, 214);
}

.menu li:hover {
	background-color: rgb(246, 243, 255);
}

.menu>li:first-child {
	border-top: none;
}

a.m {
	display: block;
}


#global-menu li.menu-title:hover .menu {
	display: block;
}

#container {
	position: relative;
	padding-left: 240px;
	padding-right: 3em;
}

#leftnav {
	position: absolute;
	width: 192px;
	top: 0px;
	left: 0px;
	/*border-right: 4px ridge rgb(136, 38, 87);*/
	padding: 0px 24px 1em 24px;
}

#content {
	min-height: 32em;
}

#content p,
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
#content ul
{
	max-width: 720px;
}

#footer {
	text-align: center;
	font-size: 8pt;
	color: rgb(136, 38, 87);
	height: 2em;
	margin: 2em 0px 0px 0px;
	clear: both;
}

#d1mg-store {
	width: 180px;
	height: 52px;
	font-style: italic;
	margin: 0px auto 2em auto;
	background-color: rgb(231, 243, 255);
	border: 2px solid rgb(214, 211, 214);
}

#d1mg-store a {
	text-decoration: none;
}

#d1mg-store h4 {
	margin-top: 0.5em;
	margin-left: 40px;
	font-size: 10pt;
}

#d1mg-store h2 {
	margin-left: 40px;
	font-size: 14pt;
}

#store-tag {
	position: absolute;
	top: -10px;
}

.quick-links {
	margin: 0em auto 0px auto;
}

#featured-item  {
	margin: 2em auto 0px auto;
}

#icon-quick-links {
	position: absolute;
	top: -4px;
	right: 8px;
}

#icon-featured-item {
	position: absolute;
	top: -4px;
	left: 8px;
}

#featured-item h4,.quick-links h4 {
	position: relative;
	background-color: rgb(0, 45, 78);
	color: #FFFFFF;
	padding: 4px 0px 4px 8px;
	font-style: italic;
}

.quick-links h4 a {
	color: #FFFFFF;
	text-decoration: none;
}

#featured-item {
	background-color: rgb(231, 243, 255);
}

#featured-item h4 {
	padding-left: 3em;
}

.right-feature {
	float: right;
}


.quick-links li {
	list-style-image: url("/img/blue-bullet.png");
	color: rgb(0, 45, 78);
}

.special {
	overflow: hidden;
}

#socal-media {
	margin-top: 1em;
	overflow: hidden;
}

#socal-media img {
	float: left;
	margin-right: 4px;
}

#homepage-circles img {
	display: block;
	margin: 0px auto;
}

#homepage-circles {
	width: 510px;
	height: 462px;
	margin: 2em auto 0px auto;
	padding: 0px;
}

.circle0 {
	background-image: url(../img/circle0.png);
	background-repeat: no-repeat;
}

.circle1 {
	background-image: url(../img/circle1.png);
	background-repeat: no-repeat;
}

.circle2 {
	background-image: url(../img/circle2.png);
	background-repeat: no-repeat;
}

.circle3 {
	background-image: url(../img/circle3.png);
	background-repeat: no-repeat;
}

.circle4 {
	background-image: url(../img/circle4.png);
	background-repeat: no-repeat;
}

.circle5 {
	background-image: url(../img/circle5.png);
	background-repeat: no-repeat;
}

.circle6 {
	background-image: url(../img/circle6.png);
	background-repeat: no-repeat;
}

.circle7 {
	background-image: url(../img/circle7.png);
	background-repeat: no-repeat;
}

.circle8 {
	background-image: url(../img/circle8.png);
	background-repeat: no-repeat;
}

.circle9 {
	background-image: url(../img/circle9.png);
	background-repeat: no-repeat;
}

.service-summary {
	width: 40em;
	margin-left: 1em;
	margin-top: 2em;
}

.service-summary p {
	overflow: hidden;
}

.service-summary .icon {
	float: left;
	margin: 0px 1em 1em 0px;
}

.slideshow img {
	border: 1px solid #000000;
}

.demo-thumb {
    float: left;
    clear: left;
    margin: 0px 2em 1em 2em;
}

.video-popup {
    display: none;
}


@media all and (max-width: 840px) {
#leftnav {
	display: none;
}

#global-menu {
	margin-left: 1em;
	margin-top: 160px;
	min-width: inherit;
	width: inherit;
}

#global-menu li.menu-title {
	width: 140px;
}

#header {
    margin-bottom: 1em;
}

#container {
	margin: 0px;
	padding: 1em;
}

#top-links {
	right: 5px;
	top: 5px;
}

#top-links ul li {
	margin-right: 1em;
}

#logo {
	position: absolute;
	top: 25px;
	left: 10px;
}

}
