/*
Theme Name: HM Systems
Description: A custom theme designed especially for HM Systems
Version: 1.0
Author: BinaryM Inc.

*/

/* @group GLOBALS */

body {
	margin: 0;
	padding: 0;
	font-family: arial, helvetica, sans-serif;
	font-size: 85%;
	color: #333333;
	background: #9b9b9b url(images/bg.png) repeat-x center top; }
	
#main, #footer, .content_bottom { 
	position: relative;
	width: 906px;
        overflow:hidden; }
	
#content {
	position: relative;
	width: 880px;
	background: #FFF url(images/top.png) no-repeat center top;
	margin: 0 auto 0 auto;
	padding: 0 13px;
	overflow: hidden; }
	
*:first-child+html  #content {
	position: relative;
	width: 880px;
	background: #FFF url(images/top.png) no-repeat center top;
	margin: 0 auto 0 auto;
	padding: 0 13px;
	overflow: visible; }
	
.content_top {
	background: url(images/top.jpg) no-repeat;
	height: 20px;
	padding: 0;
	margin: 0;	}
	
#content_bottom {
	padding: 0 0 10px 0;
	margin: 0 0 10px 0;
	background: #FFF url(images/bottom.png) no-repeat center bottom;
	clear: both;	}
	

#content_bottom .nav a:link, #content_bottom .nav a:visited {
	color: #666; !important }

#content_bottom p {
	font-size: .9em;
	padding: 2px 0px 0px 80px;
	line-height: 1.4em;
	color: #999;
	margin: 0; }
	
	/* @end */	
	

/* @group TYPOGRAPHY */
	
a:link {
	text-decoration: underline;
	font-weight: normal;
	color: #325c92; }
	
a:visited {
	text-decoration: underline;
	font-weight: normal;
	color: #294b77; }
	
a:hover {
	text-decoration: none;
	font-weight: normal;
	color: #ad8158; }
	
h1 {
	font-size: 2.9em;
	font-weight: bold;
	margin-top: 0em;
	margin-bottom: 0em;
	font-style: italic;
	letter-spacing: .055em; }
	
h2 { /* posts */
	font-size: 1.7em;
	text-decoration: none;
	margin: 1.0em 0em 0px 0em;
	padding: 0 0 0px 0;
	line-height: 1.7em;
	border-bottom: 1px solid #ccc;
	padding: 0px 0px 0px 0px; }

h2 a:link, h2 a:visited { /* posts */
	text-decoration: none;
	font-weight: normal;
	color: #333; }
	
h2 a:hover { /* posts */
	text-decoration: underline; }
	
h3 {
	font-size: 1.4em;
	margin: 1.2em 0em 1.2em 0em;
	font-weight: normal;	}
	
h4 { /*sidebar news*/
	font-size: 1.2em;
	margin: 1.2em 0em -10px 0em;
	font-weight: bold;	}
	
h5 {
	font-size: 1.1em;
	margin: 10px 0 3px 0; }

h5 a:link, h5 a:visited {
	color: #5e0e11;
	font-weight: bold;
	text-decoration: none; }
	
h6 {
	font-size: 0.8em;
	margin: 1.2em 0em 1.2em 0em;
	font-weight: bold;	}
	
img {
	border: 0;	}
	
ol, ul, li {
	font-size: 1.0em;
	line-height: 1.8em; 	}
	
p {
	font-size: 1.0em;
	line-height: 1.6em;
	margin: 1.2em 0em 1.2em 0em;	}
	
strong, b {
	font-weight: bold;	}
	
.smalltext {
	font-size: .9em;
	color: #666; }
	
	/* @end */
	
	
/* @group MAIN ELEMENTS */

#header { 
	position: relative; }
	
#contact {
	position: relative;
	width: 886px;
	padding: 15px 0 0 0;
	height: 33px;
	margin: 0 auto;
	text-align: right;
	color: #CCC; }

#contact .contact_us {
        padding-right: 10px;
	border-right: 1px solid #ccc;
	margin-right: 10px; }

#contact img {
	margin: -5px 5px;
	padding: 0px 0; }

#contact_switch {
	padding-left: 10px;
	border-left: 1px solid #ccc;
	margin-left: 5px;
        width:130px;
        float:right;
        text-align:center; }

#contact_switch strong {
        font-weight:normal;
}
#contactlink {
    width:350px;
    float:right;
}

.logo {
	position: relative;
	float: left;
	width: 310px;
	height: 337px;
	background: url(images/logo.png) no-repeat; }
	
.photo {
	position: relative;
	float: right;
	width: 570px;
	height: 337px;
	background: url(images/headers/home.jpg);
	z-index: 100; }

.about {
	background: url(images/headers/about.jpg);
}
.request {
	background: url(images/headers/request.jpg);
}
.career {
	background: url(images/headers/career.jpg);
}
.contact {
	background: url(images/headers/contact.jpg);
}
.recent-news {
	background: url(images/headers/recent-news.jpg);
}




	
.photo .photo_img {
	position: relative;
	width: 570px;
	height: 337px;
	background: url(images/photo_cover.png) no-repeat right top;
	 }

h1.title {
	position: absolute;
	text-indent: -1000em; overflow:hidden; }
	
#main {
	position: relative;
	padding: 0;
	margin: 0; }
	
.blog {
	position: relative;
	float: left;
	width: 480px;
	padding: 0px 40px 0px 10px;
	margin: 0px 0 0 0; }

.services {
	margin: 15px 0 0 0; }
	
.services img {
	float: left;
	padding: 0 10px 10px 0; }

.services h3 {
	padding: 0;
	margin: 0 0 -10px 0;
	font-size: 1.2em; }

.services h3 a {
	font-weight: bold; }
	
#sidebar {
	position: relative;	
	float: left; 
	margin: 0em 0 0 0;
	padding: 0 0px 0 0px; 
	width: 335px; }

#sidebar ul {
    list-style:none;
    margin:0;
    padding:0;
}
#sidebar ul li {
    border-bottom:1px solid #eee;
}

a.more-link {
    display:block;
    background:transparent url(images/readmore.png) center left no-repeat;
    padding-left:6px;
    font-size:90%;
}

p.date {
	font-weight: bold;
	padding-top: 7px;
	padding-bottom: 0;
	margin-bottom: -12px; }
	
img.newsphoto {
	padding-top: 10px; }
	
p.readmore {
	background: url(images/readmore.png) no-repeat left center;
	padding-left: 8px;
	font-weight: bold; }
	
.byline {
	font-size: 1.0em;
	line-height: 1.3em;
	padding: 6px 10px;
	margin: 8px 0 0 0;
	color: #666; }
	
	/* @end */

	
/* @group NAV */

#navContainer {
	position: relative;
	width: 880px;
	background: url(images/nav.png) no-repeat;
	height: 51px;
	padding: 0;
	margin: 10px auto; }

.nav {
	position: relative;
	padding: 12px 0px 0px 0px;
	margin: 0;
	line-height: normal;
	text-align: center;	}
	
.nav ul {
	margin: 0;
	padding: 0;   }
  
.nav li {
	font-size: 1.1em;
	display: inline;
	padding: 0px 10px 0px 10px;
	margin: 0;
	border-left: 2px solid #999;
	text-transform: uppercase; }
	
.nav li:first-child {
	border-left: none; }
  
.nav li a:link {
	text-decoration: none;
	color: #EEE; }
	
.nav li a:visited {
	text-decoration: none;
	color:#EEE;	 }
  
.nav li a:hover {
	text-decoration: underline;
	color:#CCC; }

.nav li.current_page_item a:link, .nav li.current_page_item a:visited, .nav li.current_page_item a:hover {
	color: #cbcbfe;
	font-weight: bold;
	text-decoration: none; }

  	/* @end */
  	
	
/* @group FOOTER */

#footer {
	color: #000;
	margin: 0 auto;
	padding: 0px 0 0 0; }
	
#footer a:link, #footer a:visited {
	color: #000; }
	
#footer p {
	font-size: .9em;
	padding: 0;
	margin: 0; }
	
	/* @end */

/* @group Wordpress */

.textwidget {
	margin-bottom:20px;
	margin-top:20px; }
                
.clear {
	clear: both; 
	height:1px;
	width:1px;}
	
/*hr {
	clear:both;
	border:0;
	height:1px;
	width:1px;
	overflow:hidden;
}*/

#tags {
    margin-bottom:35px; }

.alignright {
    float:right;
}
.alignleft {
    float:left;
}
.pointer {
    cursor:pointer;
  }
/* @end */

/* @group cForms */

/*                                                    */
/*  main 'top-level' form elements                    */
/*                                                    */
.cform { 
	margin:10px auto 0 auto; 
	width: 410px; 
}

.cform fieldset	{ 
	margin-top:10px; 
	padding:5px 0 15px 0; 
	border:1px solid #adadad; 
	border-left-color:#ececec; 
	border-top-color:#ececec; 
	background:#D0D0D0; 
}

.cform .cf_hidden {
	display:none; 
	border:none!important;
	background:none!important;
	padding:0!important;
	margin:0!important;
}

.cform legend { 
	margin-left:10px;
        margin-top:17px;
	padding: 0 2px; 
	font:normal 20px Times;
	color:#666666;
}

ol.cf-ol { 
	margin:0!important; 
	padding:0!important;
}

ol.cf-ol li	{
	background:none!important; 
	margin:5px 0!important;
	padding:0; 
	list-style:none!important; 
	text-align:left;
	line-height:1.3em;
}


/*                                                    */
/* just for text-only fields (no input)               */
/*                                                    */

ol.cf-ol li.textonly {
	background:#F0F0F0 !important;
	letter-spacing:1px;
	margin:10px 0pt !important;
	padding:5px 0pt;
	text-align:center;
}


/*                                                    */
/* global definitions for field labels                */
/*                                                    */

.cform label {
	width:90px; 
	margin:4px 10px 0 0; 
	display:-moz-inline-box; /*for mozilla*/
	display:inline-block; /*for Opera & IE*/
	text-align:right;
	vertical-align:top;
}

.cform label span {
	width:90px; /* must be the same as above!*/
	display:block; 
}

label.cf-before {
	margin:4px 10px 0 0; 
}

label.cf-after 	{
	margin:4px 15px 0pt 6px;
	text-align:left;
	width:115px;
}

label.cf-after span {
	width:115px;
	display:block;
}

label.cf-group-after {
	margin:3px 4px 0 2px;
	width:72px;
	text-align:left;
}
label.cf-group-after span {
	width:72px;
	display:block;
}

/*                                                    */
/*   FORM FIELDS general formatting                   */
/*                                                    */

.cform input,
.cform textarea,
.cform select { 
	padding:3px;
	background: #f9f9f9; 
	border: 1px solid #888888; 
	vertical-align:top;
}
.cform input:hover,
.cform textarea:hover,
.cform select:hover	{
	background:#CEDDDF; 
}

.cform input:focus,
.cform textarea:focus,
.cform select:focus	{ 
	background:#F3F8F8; 
}

.cform textarea,
.cform input {
	width:150px; 
}
.cform select {
	width:158px; /* attempt to have equal length */
	padding:2px 0;
}  

.cform select.cfselectmulti	{ 
	height:7.5em; 
}

.cform textarea {
	font-family: arial;
	font-size: 0.9em;
	overflow:auto;
}

/*                                                    */
/*   radio button title                               */
/*                                                    */

ol.cf-ol li.cf-box-title {
	font-weight:bold;
	letter-spacing:1px;
	padding:8px 0 0 100px; /* check with label 'width' incl. */
}

/*                                                    */
/*   check boxes                                      */
/*                                                    */

.cform input.cf-box-a,
.cform input.cf-box-b 	{ 
	margin:2px 0 0 0; 
	width:14px;
	height:22px;
	border:none!important;
	background:none!important; 
}

.cform input.cf-box-a 	{ 
	margin-left:100px; /* check with label 'width' incl. */
} 


/*                                                    */
/* check box groups                                   */
/*                                                    */

ol.cf-ol li.cf-box-group {
    margin:10px 0pt 0px !important;
    padding-left: 100px; 
}

ol.cf-ol li.cf-box-group label {
    margin:0 0 0 5px;
    width:275px;

}

ol.cf-ol li.cf-box-group label span {
    width:275px;
}

/*                                                    */
/* formatting for text:  "(required)"  & other        */
/*                                                    */

span.reqtxt,
span.emailreqtxt { 
	margin:3px 0 0 3px;
	font-size:0.9em;
	display: -moz-inline-box; 
	vertical-align:top;
}

/*                                                    */
/*   FORM submit button                               */
/*                                                    */

p.cf-sb {
	text-align:right;
	padding: 0!important;
	margin: 0;
}
.cform input.backbutton,
.cform input.resetbutton,
.cform input.sendbutton	{ 
	width:92px;
        height:25px;  
	padding:0; 
	margin: 10px 0 0 20px;
	font-size:0.8em;
	background:url(images/submit.png) no-repeat;
	border:1px solid #adadad!important;
	border-left-color:#ececec!important; 
	border-top-color:#ececec!important;
}
.cform input.resetbutton {
	width: auto;
	padding:5px 1em;
}
.cform input.backbutton {
	width: auto;
	padding:5px 1em;
}

/*                                                    */
/*   FORM FIELDS enhanced error display               */
/*                                                    */
ol.cf-ol li.cf_li_err {
	background:#FFDFDF url(images/li-err-bg.png) repeat!important;
	border-color:#DF7D7D;
	border-style:solid;
	border-width:1px 0pt;
	padding:5px 0!important;
	margin:5px 0!important;
}

ol.cf-ol li ul.cf_li_text_err {
	height:1%;
	min-height:1%;
	margin:0 0 0 100px;
	padding:0;
	color:#333;
}

ol.cf-ol ul.cf_li_text_err li {
	background:url(images/icon-alert.png) no-repeat left 1px!important;
	list-style:none!important;
	font-weight:bold;
	text-indent:0;
	margin:0 0 2px!important;
	padding-left:15px;
}
ol.cf-ol ul.cf_li_text_err li:before {
	content:'';
}

/*                                                    */
/* 'visitor verification' related styles              */
/*                                                    */

label.secq,
label.seccap {
	vertical-align:text-bottom;
	margin-bottom:4px;
}

input.secinput {
	vertical-align:text-bottom;
}

#cforms_captcha6,
#cforms_captcha5,
#cforms_captcha4,
#cforms_captcha3,
#cforms_captcha2,
#cforms_captcha {
	height:15px;
	width:50px;
	padding: 4px 4px;
	margin: 0;
}

img.captcha	{
	vertical-align:text-bottom;
	margin:0 0 0 10px!important;
	padding:0!important;
	border:none!important;
	float:none!important;
}

img.captcha-reset {
	vertical-align:text-bottom;
	background:	url(images/captcha_reset_grey.gif) no-repeat;
	margin:0 0 2px 3px;
	width:21px;
	height:21px;
	border:none;
}

img.imgcalendar {
	border:none;
}

/*                                                    */
/* change formatting of response msgs here            */
/*                                                    */

div.cf_info {
	color:#333;
	display:none;
	padding:10px 15px!important;
	width:380px;
	line-height:1.3em;
	margin:10px auto;
}
div.cf_info ol {
	margin:0;
	padding:5px 15px 0 30px;
}
div.cf_info ol li {
	padding:1px 0;
	margin:2px 0;
}
div.cf_info a	{
	color:#ad2929!important;
	text-decoration:underline!important;
}
div.success {
	background:#F7F7F7 none repeat scroll 0% 50%;
	color:#444444;
	display:block;
}
div.failure {
	display:block;
	background:#FFDFDF url(images/li-err-bg.png) repeat!important;
	border-color:#DF7D7D;
	border-style:solid;
	border-width:1px 0pt;
}
div.waiting {
	background:#F9F9F9;
	color:#AAAAAA;
	display:block;
}
/*                                                    */
/*   formatting for invalid user inputs               */
/*                                                    */
.cform .cf_error { 
	color:#ad2929; 
	border:1px solid #ad2929; 
}
div.mailerr {
	display:block;
}
.mailerr,
.cform .cf_errortxt {
	color:#ad2929; 
}

/*                                                    */
/* disabled fields [disabled] does not work on IE!    */
/*                                                    */

[disabled] {
	color:#dddddd;
	border-color:#dddddd!important;
	background:none!important;
}
.disabled {
	border-color:#dddddd!important;
}

/*                                                    */
/* upload box styling                                 */
/*                                                    */
.cform input.cf_upload  {
	width:220px;
	background: #f9f9f9;
	border:1px solid #888888;
}

/*                                                    */
/*  Other: link love                                  */
/*                                                    */
.linklove {
	width:410px;
	margin:0 auto 10px!important;
	padding:0!important;	
	text-align:center!important;
}
.linklove a,
.linklove a:visited {
	font-size: 0.8em;
	font-family: Tahoma;
	color:#aaaaaa!important;
}

/*                                                    */
/*  Other: browser hacks                              */
/*                                                    */
* html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
* html .cform legend { 
	position:absolute; 
	top: -10px; 
	left: 10px; 
	margin-left:0;
}
*+html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
*+html .cform legend { 
	position:absolute; 
	top: -10px; 
	left: 10px; 
	margin-left:0;
}

* html ol.cf-ol,
* html ol.cf-ol li,
* html span.reqtxt,
* html span.emailreqtxt { 
	display: inline-block;  /*for ie6*/
}
*+html .cform label,
*+html ol.cf-ol,
*+html ol.cf-ol li,
*+html span.reqtxt,
*+html span.emailreqtxt {
	display: inline-block; /*for ie7*/
}

* html img.captcha {
	margin-bottom:1px!important;
}
*+html img.captcha {
	margin-bottom:1px!important;
}

/* @end */

/* @group Sidebar Form */

#sidebar .cform {
    background:transparent url(images/sidebar-form.png) top left no-repeat;
    width:300px;
}
#sidebar .cform fieldset {
    background:transparent;
    border:0;
}
#sidebar .cform fieldset legend {
    color:#333;
}
#sidebar label, #sidebar label span {
    width:50px;
}
#sidebar input {
    width:110px;
}
#sidebar .emailreqtxt {
    display:none;
}
#sidebar .cf-sb {
    width:120px;
    margin:-56px 5px 0 0;
    float:right;
}

#sidebar .cform #sendbutton {
    display:block;
    width:90px;
    hieght:30px;
    text-indent:-1000em;
    background:transparent url(images/submit.png) center center no-repeat;
    border:0 !important;
}
#sidebar .cform .cf_li_err {
    border:0;
    background:transparent none !important;
}
#sidebar .cform .cf_error {
    background:#fee;
}

/* @end */

/* @group Sidebar Form */
.pointer {
    cursor:pointer;
  }
/* @end */
