/*
Theme Name: MillsComm
Description: A custom theme designed especially for Mills Communications
Version: 1.0
Author: BinaryM Inc.

*/



/* @group RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

hr {
  border:0;
  width:0;
  height:0;
  overflow:hidden;
  clear:both;
}

/* @end */

/* @group GLOBALS */

body {
	margin: 0;
	padding: 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 76%;
	color: #333333;
	background-color: #6d6d6d; }
	
.content, .main, .content_bottom { 
	position: relative;
	width: 970px; }
	
.content {
	background: url(images/bg.jpg) repeat-y center top;
	margin: 0 auto 0 auto;
	padding: 0; }
	
.content_bottom {
/*	background: url(images/bottom.jpg); */
	clear: both;
	height: 10px; 	}
	
	/* @end */	
	

/* @group TYPOGRAPHY */
	
a:link {
	text-decoration: underline;
	font-weight: normal;
	color: #000; }
	
a:visited {
	text-decoration: underline;
	font-weight: normal;
	color: #333; }
	
a:hover {
	text-decoration: none;
	font-weight: normal;
	color: #666; }
	
h1 {
	font-size: 2.9em;
	font-weight: bold;
	margin-top: 0em;
	margin-bottom: 0em;
	font-style: italic;
	letter-spacing: .055em; }
	
h2 { /* posts */
	font-size: 2.1em;
	text-decoration: none;
	margin: 1.0em 0em 0em 0em;
	padding: 0;
	line-height: 1.2em;
	color: #333;
	letter-spacing: -.05em; }

h2 a:link, h2 a:visited { /* posts */
    color:#fff;
	text-decoration: none;
	font-weight: bold; }
	
h2 a:hover { /* posts */
	text-decoration: underline; }
	
h3 {
	font-size: 1.6em;
	margin: 1.2em 0em .2em 0em;
	font-weight: normal;
    border-bottom:1px solid #b57774;
    	}
	
h4 {
	font-size: 1.2em;
	margin: 1.2em 0em 1.2em 0em;
	font-weight: bold;	}
	
h5 { /*authors */
	font-size: 1.1em;
	margin: 10px 0 3px 0; }

h5 a:link, h5 a:visited { /*authors */
	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.8em;
	margin: 1.2em 0em 1.2em 0em;	}
	
strong, b {
	font-weight: bold;	}
	
.smalltext {
	font-size: .8em;
	color: #666; }
	
	/* @end */
	
	
/* @group MAIN ELEMENTS */

.header { 
	position: relative;
	width: 970px; }

.logo {
	position: relative;
	width: 970px;
	height: 79px;
	background: url(images/header.png) no-repeat; }

.logo h1 a {
    display:block;
    width:500px;
    height:75px;
    text-indent: -1000em;
    overflow:hidden; }
	
.top_links {
	color: #b89e70;
	position: absolute;
	right: 30px;
	top: 40px; }
	
.top_links a:link, .top_links a:visited {
	color: #b89e70; }
	

.main {
	position: relative;
	padding: 0;
	margin: 0; }
	
.blog {
	position: relative;
	width: 880px;
	padding: 0px 15px 0px 15px;
	margin: 0 auto;
	border: 1px solid #a7413c; }

.blog h2 {
	color: #FFF;
	font-size: 1.5em;
	padding: 5px 15px 8px 15px;
	margin: 0 -15px;
	background-color: #8a1f1b;
    clear:both;
 }

.blog ul, .blog ol {
    padding-left:30px;
}

	/* @end */ 
	
/* @group SIDEBAR */

.sidebar {
	position: relative;	
	float: left;
 }
	
.sidebar {
	margin: 0em 0 0 0;
	padding: 195px 0px 0 30px; 
	width: 377px; }
	
	/* @end */
  
  
/* @group NAV */

.navContainer {
	position: relative;
	width: 950px;
	background: url(images/nav.jpg);
	height: 51px;
	padding: 0;
	margin: 0 auto; }

.nav {
	position: relative;
	padding: 0px 0px 0px 0px;
	margin: 0;
	line-height: normal;
	text-align: center;	}
	
#superfish {
	margin: 0;
	padding: 0 0 0 10px;   }

#superfish li {
	font-size: 1.1em;
	padding: 11px 23px 0 12px;
	margin: 0px 7px 0 0;
	background: url(images/nav_divider.jpg) no-repeat top right;
	height: 42px;
	display: block;
	float: left; }
  
#superfish li a {
    font-weight:bold;
    font-size:.9em;
	text-decoration: none;
	color: #8a1f1b; }
  
#superfish li a:hover {
	color:#333;
	text-decoration: underline; }

#superfish li.current_page_item {	 }
	
#superfish li.current_page_item a:link, #superfish li.current_page_item a:visited {
	color: #333;
	font-weight: bold;	
	text-decoration: none; } 

#superfish ul {
    border:1px solid #fff;
    margin:0;
    padding:0;
	position:		absolute;
	top:			-999em;
	width:			10em; /* left offset of submenus need to match (see below) */
}
#superfish ul li {
    height:auto;
    width: 100%;
    padding:0 !important;
    margin:0 !important;
}
#superfish ul li a {
    font-weight:normal;
    display:block;
    font-size:.7em;
    padding:0 !important;
    margin:0 !important;
    background: #8a1f1b;
    color: #FFF;
    border-bottom:1px solid #fff;
}
#superfish ul li a:hover {
    background:#EEE;
}
#superfish li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
#superfish li {
	float:			left;
	position:		relative;
}

#superfish li:hover ul,
#superfish li.sfHover ul {
	left:			0;
	top:			3.5em; /* match top ul list item height */
	z-index:		99;
}
#superfish li.page-item-8:hover ul,
#superfish li.page-item-8.sfHover ul {
	left:			-160px;
}

ul#superfish li:hover li ul,
ul#superfish li.sfHover li ul {
	top:			-999em;
}
ul#superfish li li:hover ul,
ul#superfish li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
ul#superfish li li:hover li ul,
ul#superfish li li.sfHover li ul {
	top:			-999em;
}
ul#superfish li li li:hover ul,
ul#superfish li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}


/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}



  /* @end */

/* @group NAV2 */

#subnav {
	list-style-type: none;
	padding: 0 0 0 20px;
	margin: 0;
	height: 80px;
}

ul.cta {
	display:none;
}
	
#subnav li {
    float: left;
}
	
#subnav li a {
    display:block;
    height:50px;
    font-size: 1.1em;
    padding-top: 24px;
    background-image:url(images/subnav.png);
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding-left: 85px; }
	 

#subnav li a:hover {
    text-decoration: underline; 
    color: #000;
}

#subnav li.page-item-9 a {
    width: 92px;
    background-position:0 0;
}

#subnav li.page-item-10 a {
	width: 108px;
        background-position:-177px 0;
}

#subnav li.page-item-11 a {
    width: 100px;
    background-position:-370px 0;
}

#subnav li.page-item-12 a {
	width: 100px;
        background-position:-555px 0;
}

#subnav li.page-item-468 a {
    width: 125px;
    padding-left:70px;
    background-position:-740px 0;
}


/*
#subnav li.page-item-9 {
	width: 178px;
	background: url(images/services.jpg) no-repeat; }

#subnav li.page-item-10 {
	width: 198px;
	background: url(images/mitel.jpg) no-repeat; }
	
#subnav li.page-item-11 {
	width: 189px;
	background: url(images/about.jpg) no-repeat; }
	
#subnav li.page-item-12 {
	width: 222px;
	background: url(images/contact.jpg) no-repeat; }
*/

	/* @end */

/* misc stuffs */

#flashhome, #flashtestimonials {
	width:800px;
	margin:0 auto;
}

#testimonials {
    width:910px;
    margin:0 auto;
}
#testimonials h4 {
    background:transparent url(images/testimonials-h4.png) top left repeat-y;
    font-weight:normal;
    color:#fff;
    padding:3px 15px;
    font-size:110%;
}
#testimonials ul {
    list-style:none;  
    height:130px;
    overflow:hidden;
}
#testimonials ul li {
    height:130px;
    width:455px;
    float:left;
    list-style:none;
}
#testimonials ul li span {
    width:120px;
    display:block;
    float:left;
    text-align:center;
    margin:5px;
    font-size:90%;
    text-transform:uppercase;
    color:#666;
    font-weight:bold;
}
#testimonials ul li p {
    background:transparent url(images/quote.png) top left no-repeat;
    margin:0;
    padding:5px 0 0 30px;
    float:left;
    width:290px;
    font-size:90%;
}

ul.icons {
    list-style-image: url(images/arrow.png);
}
.sideBox {
    float:right;
    text-align:center;
    margin:6px 0 0 6px;
    padding:4px 10px;
    border:1px solid #ccc;
    text-transform:uppercase;
}
.sideBox h4, .sideBox p {
    margin:4px;
    padding:0;
}
.sideBox h4 a {
    font-weight:bold;
    text-decoration:none;
    color: #a20018;
}
.sideBox a {
    color:#933;
    text-decoration:none;
}
.sideBox a:hover {
    text-decoration:underline;
}
.contactBox {
	float:left;
	width:200px;
}
.product {
    margin:10px 0 5px 20px;
    width:380px;
    border:1px solid #cdce01;
    float:left;
}
.product p {
    margin:10px;
    padding:0;
}
.product p a {
    font-weight:bold;
}
.product p img {
    float:right;
}

/* @group FOOTER */
	
.footer {
    font-size:90%;
	color: #999;
	margin: 0 auto;
	width: 970px;
	padding: 0px 0 0px 0;
	height:  67px;
	background: url(images/footer.jpg) no-repeat; }
	
.footer a:link, .footer a:visited {
    text-decoration:none;
	color: #666; }

.footer ul {
    float:right;
    list-style:none;
    width:320px;
    margin:15px 20px 0 0;
}
.footer ul li {
    float:left;
}
.footer ul li a {
    padding-right:10px;
}
.footer ul li a:hover {
    color:#333;
    text-decoration:underline;
}

.footer p {
	padding: 10px 0 0 0;
	margin: 0 0 0 30px; }

.testimonial {
    border-bottom:1px solid #D8B12E;
    padding:4px;
    float:left;
    width:100%;
}

.textright {
    text-align:right;
}

#binarym {
    padding-top:0;
    font-size:90%;
}
#binarym a {
    color:#ccc;
}
#binarym a strong {
    color:#eee;
}
#binarym a strong span {
    color:#999;
}
#binarym a:hover {
    color:#666;
}
#binarym a:hover strong {
    color:#444;
}
#binarym a:hover strong span {
    color:#c00;
}

	/* @end */

/* @group Wordpress */

.textwidget {
	margin-bottom:20px;
	margin-top:20px; }
                
.clear {
	clear: both; }
	
#tags {
    margin-bottom:35px; }
    
.alignright {
	float:right;
}
.alignleft {
	float:left;
}
.aligncenter {
	display:block;
	text-align:center;
}

/* @end */

/*                                                    */
/*  main 'top-level' form elements                    */
/*                                                    */
.cform { 
	margin:10px auto 0 auto; 
	width: 510px; 
}
#cformsform, #cforms2form {
    margin-left:200px;
}

.cform fieldset	{ 
	margin-top:10px; 
	padding:5px 0 10px 0; 
	border:none;
}

.cform .cf_hidden {
	display:none; 
	border:none!important;
	background:none!important;
	padding:0!important;
	margin:0!important;
}

.cform legend { 
	color:#353c40;
	margin:0;
	line-height:2em;
	padding: 0; 
	font-size:20px; 
	font-variant:small-caps;
}

ol.cf-ol { 
	margin:0!important; 
	padding:0!important; 
}
ol.cf-ol li	{
	background:none!important; 
	margin:2px 0!important; /*some themes may interfere otherwise*/
	padding:0; 
	list-style:none!important; 
	text-align:left;
}


/*                                                    */
/* just for text-only fields (no input)               */
/*                                                    */

ol.cf-ol li.textonly {
	padding:4px 0; 
	text-align:left;
	font: bold 14px Arial;
}


/*                                                    */
/* global definitions for field labels                */
/*                                                    */

.cform label {

	background:#eee none repeat scroll 0%;
	color:#000000;
	font:12px Arial;
	margin:0 10px 0 0;
	padding:5px 5px 5px;
	width:150px;

	display:-moz-inline-box; /*for mozilla*/
	display:inline-block; /*for Opera & IE*/
	vertical-align:top;
}
.cform label span {
	width:150px; /* must be the same as above!*/
	display:block; 
}

label.cf-before {
	margin:0 10px 0 0; 
}

label.cf-after 	{
	margin:2px 1px 0pt 3px !important;
	width:90px;
	text-align:left;
	background:none;
	padding:2px;
	line-height:1.3em;
}

label.cf-after span {
	width:90px;
	display:block;
}

label.cf-group-after {
	margin:2px 0 0 3px!important;
	width:100px;
	text-align:left;
	padding:2px;
	background:none;
	line-height:1.3em;
}
label.cf-group-after span {
	width:100px;
	display:block;
}

/*                                                    */
/*   FORM FIELDS general formatting                   */
/*                                                    */

.cform input,
.cform textarea,
.cform select {
	font:12px Arial;
	margin:0;
	border:1px solid #CCCCCC;
	color:#666666;
	padding:4px 5px;
	width:270px;
	vertical-align:top;
}
.cform input:hover,
.cform textarea:hover,
.cform select:hover	{
	border:1px solid #999999;
	color:#000000;
	width:270px;
}
.cform .cf_date {
	width:250px!important;
}

.cform select,
.cform select:hover {
	width:282px; /* attempt to have equal length */
	padding: 3px 5px;
}  

.cform select.cfselectmulti	{ 
	height:7.5em; 
}

.cform textarea {
	overflow:auto;
	height:8em;
}

.cform input.fldrequired,
.cform input.fldrequired:hover{
	border-right:3px solid #ebc2c2; 
	width:268px;
}

.cform select.fldrequired,
.cform select.fldrequired:hover {
	border-right:3px solid #ebc2c2; 
	width:242px;
}

/*                                                    */
/* formatting for text:  "(required)"  & other        */
/*                                                    */

span.reqtxt,
span.emailreqtxt { 
	display:none;
}


/*                                                    */
/*   radio button title                               */
/*                                                    */

ol.cf-ol li.cf-box-title {
	font-weight:bold;
	margin:8px 0pt 0pt !important;
	padding-left:160px; /* check with label 'width' incl. */
}

/*                                                    */
/*   check boxes                                      */
/*                                                    */

.cform input.cf-box-a:hover,
.cform input.cf-box-b:hover,
.cform input.cf-box-a,
.cform input.cf-box-b 	{ 
	vertical-align:top;
	margin:2px 0 0 0; 
	width:14px!important;
	height:22px;
	border:0!important;
	background:none!important;
}

.cform input.cf-box-a 	{ 
	margin-left:160px!important; /* check with label 'width' incl. */
} 

/*                                                    */
/* check box groups                                   */
/*                                                    */

ol.cf-ol li.cf-box-group {
	font-weight:bold;
	margin:10px 0pt 0px !important;
	padding-left:180px; 
} 
ol.cf-ol li.cf-box-group label, ol.cf-ol li.cf-box-group label span  {
    width:300px;    
    padding:0 0 0 2px;
    margin:0;
}

/*                                                    */
/*   FORM submit button                               */
/*                                                    */

p.cf-sb {
	padding: 0!important;
	margin: 0;
	text-align:right!important;
}
.cform input.backbutton,
.cform input.resetbutton,
.cform input.sendbutton	{ 	
	border:none!important;
	background:transparent url(images/grey_block_submit.jpg) no-repeat 0 0;
	color:#FFFFFF;
	cursor:pointer;
	font:14px Arial;
	height:31px;
	line-height:31px;
	margin: 0px 7px 10px 0px;
	padding: 0 0 5px;
	width:72px;
}
.cform input.sendbutton:hover	{ 
	background-position:0 -31px;
}
.cform input.resetbutton {
}
.cform input.backbutton {
}


/*                                                    */
/*   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:10px 0!important;
	margin:5px 0!important;
}

ol.cf-ol li ul.cf_li_text_err {
	margin:0 0 0 160px;
	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              */
/*                                                    */

#cforms_captcha6,
#cforms_captcha5,
#cforms_captcha4,
#cforms_captcha3,
#cforms_captcha2,
#cforms_captcha {
	width:50px!important;
	padding: 4px 4px;
	margin: 0;
}

img.captcha	{
	vertical-align:top;
	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;
}
img.imgcalendar {
/*	
	position:relative;
	top:4px;
*/
}

/*                                                    */
/* 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:#d13d3d!important;
	text-decoration:underline!important;
}
div.success {
	background:#F5F5F5 none repeat scroll 0%;
	color:#888888;
	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 input.cf_error,
.cform input.cf_error:hover {
	color:#d13d3d;
	border-right:6px solid #d13d3d; 
	width:225px;
}
.cform select.cf_error,
.cform select.cf_error:hover {
	color:#d13d3d;
	border-right:6px solid #d13d3d; 
}

div.mailerr {
	display:block;
}
.mailerr,
.cform .cf_errortxt {
	color:#d13d3d;
}
/*                                                    */
/* 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:242px;
	background: #f9f9f9;
	border:1px solid #888888;
}
html:root .cform input.cf_upload { 			/* FF only */ 
	margin-top:4px;
}
.cform input.cf_upload:hover  {
	width:242px!important;	
}

/*                                                    */
/*  Other: browser hacks                              */
/*                                                    */
* html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
*+html .cform fieldset {
	position: relative;
	margin-top:15px;
	padding-top:25px; 
}
* html .cform legend { 
	position:absolute; 
	top: -10px; 
	left: -8px; 
}
*+html .cform legend { 
	position:absolute; 
	top: -10px; 
	margin-left:-8px;
}

* html ol.cf-ol,
* html ol.cf-ol li	{
	display: inline-block;  /*for ie6*/
}
*+html ol.cf-ol,
*+html ol.cf-ol li	{
	display: inline-block;  /*for ie7*/
}
* html .cform select {
	margin-top:3px;
}
*+html .cform select {
	margin-top:3px;
}
* html img.captcha {
	margin-top:1px!important;
}
*+html img.captcha {
	margin-top:1px!important;
}

* html .cform label {
	margin-top:1px;
}
*+html .cform label {
	display: inline-block; /*for ie7*/
	margin-top:1px;
}




