/*
File:			custom.css
Description:	Custom styles for Thesis

BASIC USAGE:

If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag 
will be appended with the "custom" class, like so: <body class="custom">. You can use 
the "custom" class to override *any* CSS declarations contained in the style.css file.

For example, if you wish to change the default link color to green, you would add the 
following declarations to this file:

	.custom a, .custom a:visited { color: #090; }	<--- This makes links green
	.custom a:hover { color: #00f; }	<--- This makes links blue when you mouse over them

WHY THIS WORKS:

By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!

More information about styling your Thesis installation using this file can be found
in the User's Guide:
	http://diythemes.com/thesis/rtfm/customizing-thesis-with-customcss/
*/

/*---:[ responsive resets ]:---*/

.format_text img,
.format_teaser img,
.format_text iframe,
.format_text object {
	max-width: 100%
}

.format_text img,
.format_teaser img {
	height: auto
}

/* Custom removing white space above the Header */
.custom #page {
padding-top: 0;
}

/* Custom Container area */
body.custom { background: #33332f; font-size: 11px; }

/* Custom header area */
.custom #header a {border-bottom: none; }
.custom .header  { float: none; width:auto; }
.custom .logo { float: left; }
.custom .header_text { float: right; color: #acacac; font-size: 16px; margin: 0 25px 0 10px;}
.custom .headshot { float: right; margin: 0 25px 0 10px; }
.custom .call_header { float: right;}
.custom .social_header { float: right;}
img {
    height: auto;
    max-width: 100%;
}

/*---:[ headlines and bylines ]:---*/
.custom h1, h2, h3, h6 { font-weight: 700; }

/* Custom footer area */
.custom #footer  {
background-color: #dbdbdb;

}

.custom #footer a {border-bottom: none;
color:  #5f5a59;
}

/* Custom nav area */
.custom #nav_area {background:#55615D; border-bottom:1px solid #DBD4B7; clear:both;}
	.custom #nav_area .page {background:transparent;}
		.custom ul#tabs {border-bottom:0; border-color:#DBD4B7;}
			.custom ul#tabs li {border-color:#DBD4B7; background-color:#E6DEC0;}
			.custom ul#tabs li.current_page_item, .custom ul#tabs li.current-cat {background:#fff;}

/* Search box in Navigation Bar */
.custom .menu-item.menu-item-search { float:right; width:290px; margin-right: 3px; }
.custom .menu-search-form { float:right; padding-top:3px; width:250px; }
.custom form.menu-search-form { width:auto; }
.custom form.menu-search-form #s { background:#fff; border:1px solid #000; font-size:15px; margin:0 2px 0 0; padding:2px; width:190px; float:left; }
.custom .menu-search-form input#searchsubmit.my-wp-search { background:#000; color:#fff; cursor:pointer; float:right; padding:2px; text-transform:uppercase; }


/* Category recent posts on sidebar 1 */
.custom .category-recent-posts { padding:1.0em; margin-bottom:1.8em; }
	.custom .category-recent-posts h3 { margin-bottom:1.0em; font-size: 1.5em; margin-top: 20px; }
	.custom .category-recent-posts a { border-bottom:1px dotted #fff; text-decoration:none; font-size:1.4em; }
		.custom .category-recent-posts a:hover { color: #00f; text-decoration:underline; }

/*Custom link decoration */
.custom  a:hover { color: #00f; text-decoration: underline; }

/* Custom Social buttons on Pages */
.custom .social-box {
    float: right;
    position: relative;
    margin-top: 7px;
    width: 425px;
	vertical-align: bottom;
}
.linkedin {
    float: right;
    }
.tweet {
  float:right;
  margin-right: 20px;
}
.fb {
    float: right;
	margin-right: 20px;
    }
.fbshare {
    float: right;
	margin-right: 20px;
    }
.plusone {
	float: right;
	margin-right: 20px;
	}

/* Custom Quoter on right sidebar */

#pq2wrapper {
				width: 250px;
}
/* Custom disability insurance lead form */
#diform {
	background:#ccc;
	border:1px solid #000;
	font-size:18px;
	margin:0 2px 2px 2px;
	padding:2px;
	width:370px;
}
#diform .close {
  float: right;
  font-size: 20px;
  font-weight: bold;
  line-height: 18px;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}
#diform .close:hover {
  color: #000000;
  text-decoration: none;
  opacity: 0.4;
  filter: alpha(opacity=40);
  cursor: pointer;
}
#diform .alert {
  padding: 8px 35px 8px 14px;
  margin-bottom: 18px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #c09853;
}
#diform .alert .close {
  position: relative;
  top: -2px;
  right: -21px;
  line-height: 18px;
}
#diform .alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #468847;
}
#diform .alert-waiting {
  background-color: yellow;
  border-color: #610A0A;
  color: #465A88;
}
#diform button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
	background-color: #ff3108;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	font-weight: 700;
	padding: 8px 24px;
	text-transform: uppercase;
	width: auto;
}

#diform button,
#diform input[type="button"],
#diform input[type="reset"],
#diform input[type="submit"],
#diform .button {
	background-color: #ff3108;
	color: #fff;
}

#diform button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"],
.button:hover {
	background-color: #000096;
	color: #fff;
}

#diform .button:hover {
	background-color: #000096;
	color: #fff;
}
/* Archive Intro */
.custom #archive_intro { background: #fff; border: 1px solid #ddd; width: auto; margin: 0 0 30px; padding: 20px 30px 18px; margin-right: 23px; }
.custom #archive_intro h1 { border-bottom: 2px dotted #ddd; font-weight: bold; }
.custom.author #archive_intro h1 { margin: 0; padding: 0; border: 0; text-transform: uppercase; font-size: 20px; font-weight; bold; }
.authorarchive { background: #fff; border: 1px solid #ddd; padding: 30px 30px 10px; margin-right: 23px; margin-bottom: 20px; font-size: 14px; }
.authorarchive h4 { font-size: 30px; font-weight: bold; border-bottom: 2px dotted #ddd; margin-bottom: 20px; padding-bottom: 3px; }
.authorarchive img { float: left; padding: 8px; background: #fff; border: 1px solid #ddd; border-left: 1px solid #eee; border-top: 1px solid #eee; margin-right: 15px; margin-bottom: 15px; }
.authorarchive p { font-size: 14px; margin-bottom: 20px; line-height: 1.4em; }
.authorarchive p.hlight { font-weight: bold; }
.authorarchive p.hlight span { color: #073d9f; }

/* Media Enquiries */
@media only screen and (max-width: 600px) {

	.header_text, .headshot {
		display: none;
	}
}