/*

Theme Name: Juicy Framework
Theme URI: http://www.juicyresults.com
Description: Custom framework for Juicy Clients
Version: 1.0
Author: Juicy Results

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html

-------------------------------------------------------------- */

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 {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
overflow-x: hidden;
min-width: 100%;
height: 100%;}

body {
	line-height: 1;
	font-family: Arial, Helvetica, Sans-serif;
	font-size: 14px;
	line-height: 24px;
	color: #7a7a7a;
}

#main ul {
	margin-left: 40px;
}

#main ul li {
	margin-bottom: 5px;
	list-style-type: disc;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	margin-bottom: 10px;
	outline: 2;
	padding: 15px 0 0 0;
	background-clip:;
	margin-top: 15px;
	letter-spacing:;
	font-family: 'Signika', Sans-serif;
	font-weight: 300;
	color: #515253;	
}

body.home h1 {
	color: #515253;
}

h1 {
	color: #5186c1;
	font-size: 30px;
	line-height: 36px;
}

h2 {
	font-size: 28px;
	line-height: 44px;	
}

h3 {
	font-size: 24px;
	line-height: 34px;
}

h4 {
	font-size: 21px;
	line-height: 28px;
}

ol, ul { list-style: none; }

p { margin: 15px 0; font-size: 14px; }

blockquote { quotes: none; }

blockquote:before, blockquote:after {
	content: '';
	content: none;
}

del { text-decoration: line-through; }

/* tables still need 'cellspacing="0"' in the markup */

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a img { border: none; }

/*********** Layout style *****************/

.container-wrap {
	background: #fff;
}

#container{
	width: 960px;
	margin: 0 auto;
}

body.home .header-wrapper {
	height: 490px;
	overflow: hidden;
}

.header-wrapper {
	height: 81px;
}

.main-img {
	width: 100%;
	min-height: 490px;
	position: relative;
	z-index: 1;
	min-width: 1600px;
	top: -100px;
	min-height: 490px;
	display: none;
}

body.home .main-img {
	display: block;
}

body.home .hwrap {
	background: #fff;
	position: relative;
	top: 50px;
	z-index: 100;
}

.hwrap {
	background: #fff;
	position: relative;
	top: 0px;
	z-index: 100;
	border-bottom: 1px solid #C0D4EB;
}

#header {
    height: 60px;
    padding: 20px 0 0 0;
    width: 960px;
    margin: 0 auto;
    position: relative;
}

#main{
	margin-bottom: 50px;
	background: url(images/watermark.jpg) no-repeat;
}

body.home #main {
	background: none;
}

#logo {
	padding: 5px;
    background: url(images/logo.png) no-repeat;
    height: 70px;
    position: absolute;
    top: 15px;
    width: 316px;
}

#header-navigation {
    top: 25px;
	right: 0;
    position: absolute;
}

#header-navigation ul {
	font-size: 16px;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#header-navigation li {
	float: left;
	position: relative;
}

#header-navigation a {
    color: #4c80b7;
    display: block;
    line-height: 2em;
    padding: 0 1.2125em 15px;
    text-decoration: none;
    font-family: 'Signika', Sans-serif;
    text-transform: uppercase;
    font-weight: 300;
}

#header-navigation strong {
	display:block;
}

#header-navigation span {
	line-height: 0;
}

#header-navigation ul ul {
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top:  47px;
	left: 0;
	width: 188px;
	z-index: 99999;
	padding-top: 10px;
}

#header-navigation ul ul ul {
	left: 100%;
	top: 0;
}

#header-navigation ul ul a {
	background: #f9f9f9;
	border-bottom: 1px solid #ddd;
	color: #444;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 9px 10px;
	width: 168px;
	opacity: 0.9;
}

#header-navigation li:hover > a,
#header-navigation a:focus {
	color: #373737;
}

#header-navigation ul li:hover > ul {
	display: block;
}

#header-navigation ul li ul li .sub-menu{
	display: none;
}

#header-navigation .current_page_item > a,
#header-navigation .current_page_ancestor > a {
	color:#373737;
}

#header-navigation .current_page_item ul li > a {
	color: #4c80b7;
}

#header-navigation li:hover li > a {
	color: #4c80b7;
}

#header-navigation li li:hover > a {
	color: #373737;
}

/**** Footer ********/

.fwrap {
	background: #3e3e3e;
	height: 40px;
}

#footer {
	width: 960px;
	margin: 0 auto;
}

#footer-navigation{
	float:right;
}

#footer-navigation ul {
	float:right;
	display:block;
	margin-left: 20px;
	margin-top: 13px;
}

#footer-navigation ul li {
    float: left;
    font-size: 13px;
    margin-left: 50px;
    text-transform: uppercase;
    color: #81afe1;
}

#footer-navigation ul li a {
	text-decoration: none;
	color:#81afe1;
}

#footer-navigation ul li a:hover {
	color: #a9caee;
} 

#footer-address {
    float: left;
    font-size: 13px;
    margin-top: 12px;
}

/*******Home slider ******/

#slider-container{
	height: 340px;
width: 960px;
position: absolute;
top: 158px;
}
#home-slider .item{ 
	width: 960px;
	height: 340px;
	position:relative;
	}
#home-slider .item > img {
	width: 960px;
	height: 340px;
	position: absolute;
	top: 0px;
	left:0px;
}
#home-slider .item > p {
	font-size:35px;
	float: left;
	width: 480px;
	margin-top: 35px;
	position: relative;
}
#home-slider .item .slide-desc {
	font-size:35px;
	float: left;
	width: 430px;
	margin-top: 35px;
	margin-left: 30px;
	position: relative;
	z-index: 10;
}
#home-slider .item .main-img-desc {
	font-size:35px;
	float: left;
	width: 530px;
	margin-top: 35px;
	margin-left: 30px;
	position: relative;
	z-index: 10;
}
#home-slider .item .main-img-desc h1 {
	font-size: 64px;
	margin-bottom: 0px;
}
#home-slider .item .main-img-desc h1 em {
	font-style: normal;
	color: #77af0b;
	text-transform: uppercase;
}
#home-slider .item .main-img-desc h2 {
	font-size: 32px;
	color: #45496f;
	margin-top: 0px;
	margin-left: 10px;
}
#home-slider .item .main-img-desc a img {
	margin-left: 10px;
	margin-top: 10px;
}
#home-slider .item .slide-desc h1 {
	font-size: 64px;
	margin-bottom: 0px;
	font-family: AllerRegular;
}
#home-slider .item .slide-desc h1 em {
	font-style: normal;
	color: #77af0b;
	text-transform: uppercase;
}
#home-slider .item .slide-desc h2 {
	font-size: 32px;
	color: #45496f;
	margin-top: 15px;
	margin-left: 10px;
	font-family: AllerRegular;
}
#home-slider .item .slide-desc img.main-img {
	width: 940px;
	position: absolute;
}
#home-slider .item .slide-desc a img {
	margin-left: 10px;
	margin-top: 10px;
}
#home-slider .item > a {
	display: block;
	float: left;
	font-size: 35px;
}


.widget_area {
	float: right;
    min-height: 500px;
    width: 330px;
}

/******** Home slider end *******/

.content_block_item{
	float:left;
	width: 219px;
	margin: 0 10px;
}

.content_block_item img {
    display: block;
    height: 100px;
    width: 150px;
}

.widget{
	margin:10px;
	padding:5px;
}

/*********Template 5********/

.template_5_main {
    float: left;
    width: 590px;
}

.template_5_form {
    float: left;
    min-height: 500px;
    width: 294px;
}

.template_5_main img {
    border: none;
    margin: 10px;
}

.template_5_main img.alignleft{float:left;}

.template_5_main img.alignright{float:right;}

/*********Template 4********/

.template_4_main {
    float: left;
    width: 590px;
}

.template_4_widget_area {
	float: right;
    min-height: 500px;
    width: 330px;
}

.template_4_main img {
    margin: 10px 0 0 0;
	background: #3F3F3F;
	padding: 7px;
}

.template_4_main img.alignleft{float:left;}

.template_4_main img.alignright{float:right;}

/*********Template 2********/

.template_2_main_content{
    float: left;
    width: 590px;
}

.template_2_widget_area {
	float: right;
    min-height: 500px;
    width: 330px;
}

.template2_block_item .block_container{
	float:left; 
	width:410px;
	margin-left: 20px;	
}

.template2_block_item {
	padding: 20px 0 0 0;
	border-top: 1px solid #CCC;
}

.template2_block_item h4 {
	margin-top: 0;
	padding-top: 0;
	margin-bottom: 0;
}

.template2_block_item p {
	margin-top: 3px;
}

.template2_block_item img {
	float: left;
	width: 160px;
}

.template_2_main_content img.alignleft{float:left;margin:10px;}

.template_2_main_content img.alignright{float:right;margin:10px;}

/********** Blog *****/

.blog_main_content .entry-content img.alignleft{
	float:left;
	margin:10px;
}

.blog_main_content .entry-content img.alignright{
	float:right;
	margin:10px;
}

#primary {
    float: left;
    width: 664px
}

#sidebar {
    width: 261px;
    float: left;
}

#primary #content{
	padding:10px;
}

.blog_widget_area{
	width: 230px;
	float: left;
}

#juicy {
   display: block;
   background: url('images/juicy_badge.png') no-repeat;
   height: 32px;
   width: 32px;
   overflow: hidden;
   opacity: 0.5;
}
   
#juicy a {
    width: 300px;
    float: left;
    margin-left: 36px;
    margin-top: 7px;
    font-size: 12px;
}

/* Alignment */
img.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
img.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* HOMEPAGE */

.home-mid-box {
	float: left;
	/* width: 294px; */
	width: 227px;
	border: 1px solid #ccc;
	height: 565px;
position: relative;
}

.home-mid-box img {
	width: 227px;
}

.home-mid-box.left {
	/* margin: 0 10px 0 0; */
	margin: 0 14px 0 0;
}

.home-mid-box.middle {
	/* margin: 0 25px; */
	margin: 0 14px 0 0;
}

.home-mid-box.right {
	/* margin: 0 0 0 10px; */
	margin: 0;
}

.home-mid-box h1 {
	text-transform: uppercase;
	text-align: center;
	padding: 0;
	margin-bottom: 0;
}

.home-mid-box p {
	text-align: center;
	padding: 0 10px 5px 10px;
}

.home-mid-box a {
	border-top: 1px solid #ddd;
	padding: 11px 2px;
	text-align: center;
	display: block;
	position: absolute;
bottom: 0;
width: 224px;
}

a {
	color: #335f8f;
	text-decoration: none;
}

a:hover  {
	text-decoration: underline;
}

.hpage-intro {
	text-align: center;
	margin: 0 0 20px 0;
	padding-top: 0;
}

.vid-left {
	float: left;
	width: 627px;
}

.vid-left span {
	color: #a0a0a1;
	font-style: italic;
	text-align: center;
	display: block;
}

.bahearn-bio-intro {
	float: left;
	width: 294px;
	margin-left: 35px;
}

.bahearn-bio-intro h2 {
	margin-top: 0;
	padding-top: 0;
}

.bahearn-bio-intro a:hover img {
	opacity: .8;
}

.video-section {
	margin-top: 40px;
}

.home-bottom {
	margin-top: 40px;
}

.hbottom-left {
	float: left;
	width: 449px;
	padding-right: 30px;
	border-right: 1px solid #dedede;	
}

.hbottom-right {
	float: left;
	width: 449px;
	margin-left: 30px;
}

.hbottom-left h4, .hbottom-right h4 {
	margin-top: 0;
	padding-top: 0;
}

.home-contact-btn {
	display: block;
	margin-top: 30px;
}

.home-contact-btn:hover img {
	opacity: 0.9;
}

/* basic page  */

.wp-caption-text {
	margin: 0 0 10px 0;
background: #3F3F3F;
padding: 7px;
text-align: center;
width: 571px;
color: #AAA;
}

/* Gravity Forms Styles */

#container .gform_wrapper h3.gform_title {
font-weight: 300;
font-size: 21px;
line-height: 28px;
}

.gform_wrapper.gf_browser_chrome .ginput_complex select, .gform_wrapper.gf_browser_chrome .ginput_complex .ginput_right select, .gform_wrapper .top_label select.large {
background: #FFF;
box-shadow: none;
border: 1px solid #AAA;
height: 24px;
color: #666;
}

#container .gform_wrapper input, .gform_wrapper textarea.large {
padding: 8px 2px 8px 3px;
background: #E9EFF4;
border: 1px solid #D6D6D6;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
font-size: 13px;
color: #666;
}

#container .gform_wrapper select {
font-size: 12px;
border: 1px solid #D6D6D6;
height: 28px;
width: 102%;
}

#container .gform_wrapper .gform_footer input.button, #container .gform_wrapper .gform_footer input[type=submit] {
padding: 8px 15px;
background: #FFF;
background: -moz-linear-gradient(top, #FFF 0%, #DEE0E2 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF), color-stop(100%,#DEE0E2));
background: -webkit-linear-gradient(top, #FFF 0%,#DEE0E2 100%);
background: -o-linear-gradient(top, #FFF 0%,#DEE0E2 100%);
background: -ms-linear-gradient(top, #FFF 0%,#DEE0E2 100%);
background: linear-gradient(to bottom, #FFF 0%,#DEE0E2 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dee0e2',GradientType=0 );
}

#container .gform_wrapper textarea.large, #container .gform_wrapper .top_label textarea.textarea {
height: 100px;
}


/* tabs */

#tabs {
	font-size: 90%;
	margin: 30px 0 20px 0;
}
#tabs ul.tabsul {
	float: left;
	width: 575px;
	padding-top: 4px;
	border-bottom: 1px solid #BBB;
	margin-bottom: 0px;
	margin-left: 0;
	height: 33px;
}
#tabs .tabsul li {
	margin-left: 8px;
	list-style: none;
	border-top:1px #bbb solid;
	border-right: 1px solid #bbb;
	border-left: 1px solid #bbb;
	background: #f7f7f7;
	-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
margin-bottom: 0;
}

#tabs .tabsul li li {
-webkit-border-top-left-radius: 0px;
-webkit-border-top-right-radius: 0px;
-moz-border-radius-topleft: 0px;
-moz-border-radius-topright: 0px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;	
border: none;
background: none;
}
* html #tabs .tabsul li {
	display: inline;
}
#tabs .tabsul li, #tabs .tabsul li a {
	float: left;
}
#tabs .tabsul li.active {
	border-top:1px #bbb solid;
	border-right: 1px solid #bbb;
	border-left: 1px solid #bbb;
	background: #fff;
	-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
padding-bottom: 1px;
margin-bottom: -1px;
}
#tabs ul.tabsul li.active a {
	color: #2D5086;
}

#tabs ul.tabsul h4 {
	margin: 0;
	padding: 0;
}
#tabs div {
	background: #fff;
	clear: both;
	padding: 20px;
	min-height: 200px;
	width: 535px;
}
#tabs div h3 {
margin: 0;
padding: 0;
}
#tabs div p {
	line-height: 150%;
}
#tabs ul.tabsul li a {
	text-decoration: none;
	padding: 2px 12px;
	color: #000;
	font-weight: bold;
}