/*  
Theme Name: ONeil Bennett
Theme URI: http://www.sixhalfdozen.com/
Version: 1.0.0
Author: 6HD
Author URI: http://www.sixhalfdozen.com/
*/

/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset, figure {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/* set img max-width */
img {
	max-width: 100%;
	height: auto;
}
/* ie 8 img max-width */
@media \0screen {
  img { width: auto;}
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	font: .87em/150% "proxima-nova", Arial, Helvetica,sans-serif;
	color: #594a42;
        background:#d3ccbc url('images/bg-slice.png') repeat-x;
}
a {
	text-decoration: none;
	outline: none;
        color: #d3ccbd;
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
}
a:hover {
	 text-decoration: none;
         color: white;
}
#main-nav li {
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
} 
/* for background images */
a img {
    zoom: 1;
    filter: alpha(opacity=100);
    opacity:1;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
a:hover  img { 
    zoom: 1;
    filter: alpha(opacity=80);
    opacity:0.8;
}
p {
	margin: 0 0 1.2em;
	padding: 0;
}
small {
	font-size: 87%;
}
blockquote {
	font: italic 110%/130% "Times New Roman", Times, serif;
	padding: 8px 30px 15px;
}

/* LIST
================================================ */
ul, ol {
	/*margin: 1em 0 1.4em 24px;
	line-height: 140%;*/
        padding: 0;
}
li {
	/*margin: 0 0 .5em 0;*/
	padding: 0;
}

/* HEADINGS
================================================ */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 20px 0 .4em;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.8em;
}
h3 {
	font-size: 1.6em;
}
h4 {
	font-size: 1.4em;
}
h5 {
	font-size: 1.2em;
}
h6 {
	font-size: 1em;
}

/* FORM
================================================ */
/* form input */
input, textarea, select, input[type=search], button {
	font-size: 100%;
	font-family: inherit;
}
input[type=text], input[type=email], input[type=tel], input[type=password], textarea, input[type=search]  {
	background: #f3f3f3;
	border: solid 1px #ddd;
	padding: 3px 10px;
	-webkit-appearance: none;
}
input[type=text], input[type=search] {
	/*width: 240px;
	max-width: 90%; */
}
select {
    background: #f3f3f3;
    border: solid 1px #ddd;
}
/* text area */
textarea {
	line-height: 150%;
	width: 94%;
}

/* form input:focus */
textarea:focus, input[type=password]:focus, input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=search]:focus, select:focus {
	outline: none;
	background: #f9f9f9;
}

/* form button */
input[type=reset], input[type=submit], button {
	background: #333;
	color: #fff;
	border: none;
	padding: 7px 20px;
	cursor: pointer;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/* form button:hover */
input[type=reset]:hover, input[type=submit]:hover, button:hover {
	background: #000;
	color: #fff;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
/* main page width */
.pagewidth {
	width: 978px;
	margin: 0 auto;
        background:white;
}
/* to avoid FOUC */
html.opacity #pagewrap {
    opacity:0;
}
html.no-opacity #pagewrap {
    display:none;
}
html.delay-transitions * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
}
/* content */
html.ie7 #content {
    position:relative;
    z-index:60;
}
#content a:link, #content a:visited {
    color: #003f39;
    font-weight:bold;
    text-decoration: none;
    border-bottom: 1px solid #d3ccbd;
}
#content a:hover {
    border-bottom-color: #003f39;
}

/* advanced custom fields for pages*/
#top_banner {
    position:relative;
    width:978px;
}
html.ie7 #top_banner {
    z-index:50;
}
#top_banner p {
    margin:0;
}
#top_banner img {
    display:block;
    width:978px;
    height:390px;
    padding:0;
    margin:0; 
}
.top_banner_gradient {
    width:978px;
    height:73px;
    position:absolute;
    bottom:0;
    left:0;
    background: url('images/gradient.png') no-repeat;
} 
#content .content_side_banner {
    width: 250px;
    height:151px;
    margin:32px 0 64px 32px; 
    padding:20px 24px 24px; 
    float: left;
    color:#d3ccbd;
    font: italic 1.3em/135% "Times New Roman", serif;
    background:url('images/sidebar.jpg') no-repeat;
}
.content_side_banner-no-text {
    width: 299px;
    height:196px;
    margin:32px 0 64px 32px; 
    float: left;
}
.content_side_banner-no-text-large {
    width: 299px;
    height:299px;
    margin:32px 0 64px 32px; 
    float: left;
}
#content .content_main {
    width:575px;
    padding:32px 32px 32px 40px;
    float:right;
    position:relative;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
	height: 80px;
	/*border-bottom: solid 1px #ccc;*/
        background:#003f39;
}
html.ie7 #header {
    z-index:90;
}
/* 
SITE LOGO
================================================ */
#site-logo {
    position: absolute;
    top: 0px;
    left:32px;
    /*font-size: 36px;*/
    margin: 0;
    width:299px;
    height:80px;
}
#site-logo a {
    width:299px;
    height:80px;
    display:block;
    text-decoration: none;
}
#site-logo a:hover {
	text-decoration: none;
}

/* 
MAIN NAVIGATION
================================================ */
#main-nav {
	margin: 0;
	padding: 0;
        height:100%;
	position: absolute;
	right: 32px;
	top: 0;
	z-index: 100; 
}

#main-nav li {
	margin: 0;
	padding: 0;
        height:100%;
	list-style: none;
	float: left;
        background:#003f39;
        color: #d3ccbd;
        text-transform:uppercase;
}
#main-nav li:hover {
	background: #00584e;
        color:white;
}
#main-nav a {
	display: block;
        width:80px;
        height:30px;
	padding:50px 30px 0; 
        text-align:center;
	text-decoration: none;
        text-transform: uppercase;
        color: #d3ccbd;
        font-size:1.1em;
        white-space:nowrap;
}
#main-nav a:hover {
    color:white;
}
/* current link */
#main-nav .current_page_item a {
	background: #00584e;
        color:white !important;
}
#main-nav .current_page_item ul li a {
        color:#d3ccbd !important;
}
/* current link :hover */
#main-nav .current_page_item ul li:hover a {
        color:white !important;
}

/* sub-levels link */
#main-nav ul li, #main-nav ul a, #main-nav .current_page_item ul a, #main-nav ul .current_page_item a, #main-nav .current-menu-item ul a, #main-nav ul .current-menu-item a  {
	padding:0px 0px 10px !important; 	
        height:auto !important;
        width:140px;
        color: #d3ccbd;
        font-size: 0.9em !important;
        line-height:170% !important;
	text-transform: uppercase;
	margin: 0;
	display: block;
	border: none;
        /*white-space:nowrap;*/
}
/* sub-levels link :hover */
#main-nav ul a:hover, #main-nav .current_page_item ul a:hover, #main-nav ul .current_page_item a:hover, #main-nav .current-menu-item ul a:hover, #main-nav ul .current-menu-item a:hover, #main-nav li:hover > ul a:hover {
	color: white;
}
/* dropdown ul */
#main-nav ul {
	margin: 0;
        padding-top:15px;
        background:#00584e;
        border-top:1px solid #003f39;
	list-style: none;
	display: none;
}
html.ie7 #main-nav ul {
    zoom: 1;
}

#main-nav ul li {
	background: none;
	padding: 0;
	margin: 0;
	float: none;
}
/* show dropdown ul */
html.no-js #main-nav li:hover > ul {
	display: block;
}

/************************************************************************************
PAGE
*************************************************************************************/
/* page title */
.page-title {
    position:absolute;
    top:-78px;
    right:32px;
    z-index:110;
    color:white;
    font: italic 3.2em/100% "Times New Roman", serif;
    text-transform:capitalize;
    font-weight:normal;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
    color: #d3ccbd;
    background:#003f39;
    clear: both;
    font-size:85%;
    line-height:180%;
}
.my-footer-menu { 
    display: block; 
    width:583px;
    padding:24px 32px;
    float:right;
}     
.my-footer-menu ul { 
    text-align:right;
}     
.my-footer-menu li { 
    display: inline; 
    text-transform:uppercase;
}     
.my-footer-menu li a {         
    padding: 0 7px 0 3px;
}     
.my-footer-menu li a:hover { 
    color:white;
}     
.my-footer-menu li:last-child > a {
    border-right: none;
} 

/* footer text */
.footer-text {
    float:left;
    padding:24px 0 24px 60px; 
    clear: both;
}

/************************************************************************************
WORDPRESS POST FORMATTING
*************************************************************************************/
img.alignleft, img.aligncenter, img.alignright, img.alignnone {
	margin-bottom: 15px;
}
.alignleft {
	float: left;
	margin-right: 30px;
}
.alignright {
	float: right;
	margin-left: 30px;
}
.aligncenter {
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	text-align: center;
	margin-bottom: 15px;
	max-width: 100%;
}
.wp-caption-text {
	font-style: italic;
	font-size: 95%;
	line-height: 120%;
	margin: 6px 0;
}

/************************************************************************************
CLEAR & ALIGNMENT
*************************************************************************************/
.clear {
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
.textleft {
	text-align: left;
}
.textright {
	text-align: right;
}
.textcenter {
	text-align: center;
}

/* clearfix */
.clearfix:after, .widget li:after, #body:after, #footer:after, footer:after, .pagenav:after, #main-nav:after, .menu:after, .gallery:after, #content:after
{ visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix, .widget li, #body, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: inline-block; }
/* clearfix for ie7 */
.clearfix, .widget li, #body, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: block; zoom: 1; }

/************************************************************************************
Contact Form 7
*************************************************************************************/
.email-row {
    width:600px;
    clear:both;
    font-size:0.86em;
}
div.email-row.margin-bottom-12 {
    margin-bottom:8px;
}
div.email-row.padding-top-12 {
    padding-top:8px;
}
.email-row p {
    text-transform:uppercase;
    margin:0;
}
.email-row span.asteriks {
    font-size:1.3em !important;font-weight:bold;
}
.email-row .column-fourth {width: 23%;}
.email-row .column-half {width: 48.5%;}
.email-row .column-full {width: 98%;}
.email-row .column-fourth, .email-row .column-half, .email-row .column-full {
        float: left;
        margin-right: 1%;
}
.email-row .last { margin-right:0 !important; }

.email-row  input {height:20px;}
.email-row  .column-fourth input {width:107px;}
.email-row  .column-half input {width:252px;}
.email-row  .column-fourth select {width:127px;}
.email-row  .column-fourth select:focus {width:127px;}
.email-row  .column-full input {width:549px;}
.email-row  textarea {width: 547px;}

.email-row  .column-fourth select[name='state'] {
    margin-top:7px;
}
.email-row-specialformat  input[type='submit'] {
    background:url('images/button-send-message.jpg') no-repeat;
    border:none;
    width:179px;
    height:46px;
    font-size:0;
	-webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.email-row-specialformat  input[type='submit']:hover {
    background:url('images/button-send-message-hover.jpg') no-repeat;
}
.email-row-specialformat {
    width:590px;
    margin-bottom:80px;
    clear:both;
}
.email-row-specialformat .right {
    float:right;
}
.email-row-specialformat .left {
    font-size:0.82em;
    line-height:100%;
    width:60%;
    float:left;
}
.email-row-specialformat  p {
    padding-bottom:0;
    margin-bottom:0;
}
div.email-row-specialformat.padding-top-22 {
    padding-top:22px;
}
.email-row-specialformat span.asteriks {
    font-size:1.2em !important;font-weight:bold;
}
span.wpcf7-not-valid-tip, span.wpcf7-not-valid-tip-no-ajax {
	left: 10px !important;
        top:6px !important;
	background: #fff !important;
        color: #594a42;
	font-size:0.75em !important;
        line-height:100% !important;
        font-weight:normal !important;
	width: 260px !important;
	padding: 2px;
}
.wpcf7-mail-sent-ok {
    border:1px solid #00584e !important;
    background: #f3f3f3;
    color: #594a42;
}
.wpcf7-validation-errors {
    border:1px solid red !important;
    background: #f3f3f3;
    color: #594a42;
}

/************************************************************************************
Nivo slider
*************************************************************************************/
/*
 * jQuery Nivo Slider v3.2
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
#slider img {
    width:978px;
    height:390px;
    display:block;
}
#slider p, .nivoSlider p {
    padding:0;
    margin:0;
}
#slider-wrapper {
    width:978px;
    height:390px !important;
    position:relative;
}
#slider-wrapper #gradient-bg {
    position:absolute;
    left:0px;
    bottom:0px;
    z-index:7;
    width:978px;
    height:73px;
    background: url('images/gradient.png') no-repeat;
}
/* The Nivo Slider styles */
.nivoSlider {
    position:relative;
    /*width:100%;*/
    width:978px;
    height:390px;
    /*height:auto;*/
    background:#fff url('images/loading.gif') no-repeat 50% 50%;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    width:978px;
    height:390px;
    max-width: none;
    display:none;
}
.nivoSlider a {
    border:0;
    display:block;
}
.nivo-main-image {
    display: block !important;
    position: relative !important; 
    /*width: 100% !important;*/
    width:978px !important;
    height:390px !important;
}

.nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    margin:0;
    z-index:6;
    display:none;
    background:white; 
    filter:alpha(opacity=0); 
    opacity:0;
}
.nivo-slice {
    display:block;
    position:absolute;
    z-index:5;
    /*height:100%;*/
    height:390px;
    top:0;
}
.nivo-slice img {
    width:978px !important;
    height:390px !important;
}
.nivo-box {
    display:block;
    position:absolute;
    z-index:5;
    overflow:hidden;
}
.nivo-box img {
    display:block;
}

.nivo-caption {
    position:absolute;
    left:0px;
    bottom:0px;
    text-align:right;
    font: italic 1.3em/130% "Times New Roman", serif;
    color:white;
    width:100%;
    height:73px;
    z-index:8;
    padding: 11px 32px 11px 400px;
    overflow: hidden;
    display: none;
    -webkit-box-sizing: border-box;  
    -moz-box-sizing: border-box;    
    box-sizing: border-box;
}
html.ie7 .nivo-caption {
    width:548px !important;
    height:51px !important;
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
    display:inline !important;
    color:#fff;
    border-bottom:1px dotted #fff;
}
.nivo-html-caption {
    display:none;
}
.nivo-directionNav a {
    position:absolute;
    top:45%;
    z-index:9;
    cursor:pointer;
    display:block;
    width:30px;
    height:30px;
    background:url('images/arrows.png') no-repeat;
    text-indent:-9999px;
    border:0;
    filter: alpha(opacity=0); 
    opacity: 0;
    -webkit-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
.nivoSlider:hover .nivo-directionNav a {
    filter: alpha(opacity=100); 
    opacity: 1; 
}
.nivoSlider a.nivo-nextNav {
    background-position:-30px 0;
    right:15px;
}
.nivo-prevNav {
    left:15px;
}
.nivo-nextNav {
    right:0px;
}
.nivo-controlNav {
    text-align:center;
    text-align: center;
    padding: 2px 0;
}
.nivo-controlNav a {
    cursor:pointer;
    display:inline-block;
    width:18px;
    height:16px;
    background:url('../images/sliderBullets.png') no-repeat;
    text-indent:-9999px;
    border:0;
    margin: 0 2px;
}
.nivo-controlNav a.active {
    font-weight:bold;
    background-position:-18px 0px;
}
html.ie7 .nivo-controlNav a {
    text-indent: 0;
    font-size: 0;
    line-height: 0;
}
.nivo-controlNav.nivo-thumbs-enabled {
    width: 100%;
}
.nivo-controlNav.nivo-thumbs-enabled a {
    width: auto;
    height: auto;
    background: none;
    margin-bottom: 5px;
}
.nivo-controlNav.nivo-thumbs-enabled img {
    display: block;
    width: 120px;
    height: auto;
}
