/*
	Theme Name: Murphy New Homes
	Theme URI: 
	Description: Murphy New Homes theme
	Version: 1.1
	Author: grzegorz.okonski@gmail.com
*/
/* ---------------------------
	reset
--------------------------- */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6,  blockquote,
pre, a, zacronym, address, code, del, dfn,  img, q, dl, dt, 
dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, 
thead, tr, th, td, p { margin:0;padding:0;border:0;font-weight:normal;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline; }
body { line-height:1.5;font-size:67.5%; }
a { cursor:pointer; }
a img { border:none; }
table { border-collapse:collapse; border:none; }
:focus { outline: 0; }

/* ---------------------------
	default
--------------------------- */
a { color:#333; text-decoration:none; }
body { background:#979797 url(images/bg.png) repeat-x; font-family:verdana, arial, sans-serif; color:#222; }
li { list-style:none; }
html { overflow-y:scroll; }     
hr { display:none; }
p { margin-bottom:7px; }
h1 { color:#666; font-weight:bold; font-size:1.4em; margin:0 0 10px; }
h2 { margin:0 0 10px 0; padding:5px 10px; background:#eee; }
h2, h2 a { color:#cf8e44; font-weight:bold; display:block; }
h3 { font-size:1.1em; margin:20px 0 6px; padding:0 0 3px; border-bottom:1px solid #ddd; color:#cf8e44; }
strong { color:#cf8e44; }

/* ---------------------------
	forms
--------------------------- */
.wpcf7 { margin:20px 0 0 0; width:99%; } 
.wpcf7 span input, .wpcf7 textarea { border:1px solid #ccc; padding:5px; font-size:1em; width:97%; background:#fff; font-family:verdana, tahoma, sans-serif; }
.wpcf7-response-output { margin: 2em 0.5em 1em; padding:10px; text-align:center; } 
.wpcf7-mail-sent-ok { border: 2px solid #398f14; background:#ccebbc; } 
.wpcf7-mail-sent-ng { border: 2px solid #ff0000; } 
.wpcf7-spam-blocked { border: 2px solid #ffa500; } 
.wpcf7-display-none { display: none; } 
.wpcf7-validation-errors { border:3px solid #EEEE88; background:#FFFFDF; } 
.wpcf7-form-control-wrap { position: relative; } 
.wpcf7-not-valid-tip { position:absolute; top:30%; z-index:100; display:block; color:#fff; background:#d00; padding:5px 20px; border:none; left:20px; width:auto; } 
.wpcf7-not-valid-tip-no-ajax { color: #f00; font-size: 10pt; display: block; } 
.wpcf7-list-item { margin-left: 0.5em; } 
.ajax-loader { border: none; vertical-align: middle; } 

/* ---------------------------
	layout
--------------------------- */
#container { font-size:1.2em; }

#header { padding:20px 0 10px 0; }
#header a { display:block; background:url(images/mgroup-logo.png) no-repeat; width:110px; height:120px; text-indent:-9999px; float:left; margin:0 30px 0 0; }
#header a.star-elm { background-image:url(images/starelm-logo.png); width:180px; }
#header a.new-homes { background-image:url(images/murphys-logo.png); width:152px; }
#header a.commercial { background-image:url(images/commercial-logo.png); width:148px; }
#header a.a-rated { background: url(images/a-rated.png) no-repeat scroll top left; width: 213px; height: 88px; margin-left: 137px; margin-right: 0px; }
#nav { clear:both; background:#cf8e44 url(images/nav-bg.png) 0 0 repeat-x; border-bottom:1px solid #fff; }
#nav li { display:inline; }
#nav li a { margin:0 0 0 5px; display:block; float:left; padding:8px 27px 5px 27px; color:#fff; border-bottom:5px solid #cf8e44; }
#nav li:hover a, 
#nav .active a { background:#fff; color:#cf8e44; }

#nav-secondary { background:#a91a21 url(images/nav-red-bg.png) 0 0 repeat-x; border-bottom:1px solid #fff; margin-top:5px; padding:5px 0; }
#nav-secondary li { display:inline; }
#nav-secondary li a { margin:0 0 0 5px; display:block; float:left; padding:3px 35px; color:#fff; }
#nav-secondary li:hover a, 
#nav-secondary .active a { background:#fff; color:#a91a21; }

#body { padding-bottom:10px; }

#content { background:#fff; padding:20px; overflow:hidden; min-height:500px; }
#content ul { margin:10px 20px; }
#content ul li { list-style:disc; }
#content p { clear:both; }

#aside { background:#fff; padding:20px; overflow:hidden; min-height:500px; }
#aside h5 a { font-weight:bold; color:#cf8e44; margin:40px 0 10px; display:block; }
#aside .active > a { font-weight:bold; color:#cf8e44; }
#aside ul { margin:5px 0 5px 15px; }
#aside ul li { list-style:circle; color:#aaa; }

#footer { padding:20px 30px 80px 30px; font-size:.8em; background:#fff url(images/footer-bg.png) left bottom repeat-x; position:relative; }
#footer p { margin:10px 0; }
#footer div { position:absolute; right:20px; top:20px; }
#footer div a { margin:0 2px 0 10px; display:block; float:right; width:60px; height:20px; text-indent:-999em; }
#footer div a.facebook { background:url(images/facebook.png) center no-repeat; } 
#footer div a.twitter { background:url(images/twitter.png) center no-repeat; } 

/* ---------------------------
	specific
--------------------------- */
.alignright { float:right; margin:0 0 10px 15px !important; }
.alignleft { float:left; margin:0 15px 10px 0 !important; }

.red #nav-secondary { background:#a91a21 url(images/nav-red-bg.png) 0 0 repeat-x !important; }
.red #nav-secondary li:hover a, 
.red #nav-secondary .active a,
.red #aside  li:hover a, 
.red #aside  .active a,
.red .breadcrumb,
.red .breadcrumb a,
.red strong,
.red h2, 
.red h3, 
.red h5 a { color:#a91a21 !important; }

.blue #nav-secondary { background:#00b6ec url(images/nav-blue-bg.png) 0 0 repeat-x !important; }
.blue .grid-3 a:hover  { background:#00b6ec !important; color:#fff !important; }
.blue #nav-secondary  li:hover a, 
.blue #nav-secondary .active a,
.blue #aside li:hover a, 
.blue #aside .active a,
.blue .breadcrumb,
.blue .breadcrumb a,
.blue strong,
.blue h2, 
.blue h3, 
.blue h5 a,
.blue .grid-3 a { color:#018fcf !important; }

.green #nav-secondary  { background:#67a5ab url(images/nav-green-bg.png) 0 0 repeat-x !important; }
.green #nav-secondary  li:hover a, 
.green #nav-secondary .active a,
.green #aside li:hover a, 
.green #aside .active a,
.green .breadcrumb,
.green .breadcrumb a,
.green strong,
.green h2, 
.green h3, 
.green h5 a,
.green .grid-3 a  { color:#67a5ab !important; }

.breadcrumb { color:#cf8e44; margin:0 0 20px; }
.breadcrumb a { color:#cf8e44; }

.clearfix:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0; }
.clearfix{display:inline-block; }
* html .clearfix{height:1%; }
.clearfix{display:block; }

.post a { text-decoration:underline; }
.post h4, .post h4 a { color:#cf8e44; }
.post small { display:block; margin:2px 0; color:#cf8e44; }
.post .entry { padding:0 0 10px 0; margin:10px 0; }

.text { padding:20px; background:#fff; min-height:400px; height:auto !important; height:400px; }

.e-video,
.e-file { display:block; padding:10px 30px 10px 0; color:#a91a21; font-size:1.4em; width:150px; }
.e-video { background:url(images/ico-tv.png) right center no-repeat; }
.e-file { background:url(images/ico-file.png) right center no-repeat;}

.grid-3 li { float:left; display:block; background:#fff; padding:20px; margin:10px 20px 0 0; width:230px; height:130px; overflow:hidden; }
.grid-3 a { color:#0180b9; font-weight:bold; display:block; background:#eee; padding:5px 10px; }
.grid-3 a:hover { background:#000; color:#fff; text-decoration:none !important; }
.grid-3 div { font-size:.8em; color:#666; padding:10px 0 0; overflow:hidden; }
.grid-3 img { float:right; margin:0 0 4px 4px; }

#aside .extras { margin:200px 0 30px 15px; }

/* ---------------------------
	pages
--------------------------- */ 
.home #intro { height:290px; width:100%; background:url(images/intro.jpg) no-repeat; margin-bottom:10px; position:relative; }
.home #intro div { position:absolute; border:5px solid #fff; right:20px; top:30px; width:390px; height:190px; overflow:hidden; }
.home #intro a { position:absolute; bottom:10px; right:20px; background:#fff; color:#cf8e44; display:block; padding:4px 20px; }
.home #intro a:hover { background:#cf8e44; color:#fff; }
.home #aside { background:#fff url(images/home-newspaper.png) 50% 98% no-repeat; margin:0 0 0 10px; width:260px; }
.home #aside h4 { line-height:1.1; }
.home #aside h4 a { text-decoration:none; }
.home #aside p { font-size:12px; line-height:1.3; padding:10px 0; }
.home #content { width:500px; position:relative; }
.home #aside,
.home #content { min-height:350px; }
.home #control { position:absolute; right:20px; bottom:10px; z-index:10; font-size:90%; }
.home #control a { display:block; float:left; padding:2px 6px; background:#cf8e44; color:#fff; margin-left:5px; }
.home #control a.activeSlide, 
.home #control a:hover { background:#eee; color:#222; }
.home .slide-carousel { display:block; width:100%; height:180px; overflow:hidden; }

.new-homes #intro { height:268px; width:100%; background:url(images/intro-newhomes.jpg) no-repeat; position:relative; }
.new-homes #intro p { position:absolute; padding:10px 20px; background:#fff; left:0; bottom:5px; color:#a91a21; font-weight:bold; }
.new-homes #intro div { position:absolute; top:30px; right:40px; }
.new-homes #second  { padding:10px 20px; background:#fff; color:#a91a21; margin:10px 0 0; }
.new-homes #second p { font-weight:bold; }
.new-homes .grid-3 li { height:210px; }
.new-homes .grid-3 a { background:#eee; color:#a91a21; }
.new-homes .grid-3 a:hover { background:#a91a21; color:#fff; }

.commercial #intro { height:268px; width:100%; background:url(images/intro-commercial.jpg) no-repeat; position:relative; }
.commercial #intro p { position:absolute; padding:3px 20px 3px 100px; background:#fff; left:0; bottom:5px; color:#069; font-weight:bold; }

.house-types h4 { margin-bottom:20px; background:#a91a21; padding:3px 0 3px 25px; color:#fff; width:235px; font-weight:bold; }
.house-types p { overflow:hidden; }

.contact #content { width:460px; }
.contact #aside { width:300px; margin:0 0 0 10px; }

.interiors h2 { clear:both; margin:20px 0 10px 0; }
.interiors ul { overflow:hidden; }
.interiors img { margin:0 12px 10px 0!important; } 

.new-homes .grid-3 a.gallerylink { display:inline; background:none; color:#a91a21; padding:0px 0px;}
.new-homes .grid-3 a.gallerylink:hover { background:none; color:#666666; }

.commercial .grid-3 a.gallerylink { display:inline; background:none; color:#a91a21; padding:0px 0px;}
.commercial .grid-3 a.gallerylink:hover { background:none; color:#666666; }

#map { border:2px solid #aaa; margin:20px auto; width:100%; height:400px; }

.housedimensions td { width:140px; }

/* ---------------------------
	grid
--------------------------- */
#container { width:850px; margin:0 auto; }   
#content { float:left; width:560px; }
#aside { float:left; width:200px; margin:0 10px 0 0; }
.last { margin-right:0 !important; }

/* ---------------------------
	widgets
--------------------------- */
html, body{height:100%;}
div#fancy_overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#666;display:none;z-index:30;}
* html div#fancy_overlay{position:absolute;height:expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight:document.body.offsetHeight +'px');}
div#fancy_wrap{text-align:left;}
div#fancy_loading{position:absolute;height:40px;width:40px;cursor:pointer;display:none;overflow:hidden;background:transparent;z-index:100;}
div#fancy_loading div{position:absolute;top:0;left:0;width:40px;height:480px;background:transparent url('images/fancybox/fancy_progress.png') no-repeat;}
div#fancy_loading_overlay{position:absolute;background-color:#FFF;z-index:30;}
div#fancy_loading_icon{position:absolute;background:url('images/fancybox/fancy_loading.gif') no-repeat;z-index:35;width:16px;height:16px;}
div#fancy_outer{position:absolute;top:0;left:0;z-index:90;padding:18px 18px 33px 18px;margin:0;overflow:hidden;background:transparent;display:none;}
div#fancy_inner{position:relative;width:100%;height:100%;border:1px solid #BBB;background:#FFF;}
div#fancy_content{margin:0;z-index:100;position:absolute;}
div#fancy_div{color:#FFF;height:100%;width:100%;z-index:100;}
img#fancy_img{position:absolute;top:0;left:0;border:0;padding:0;margin:0;z-index:100;width:100%;height:100%;}
div#fancy_close{position:absolute;top:-12px;right:-15px;height:30px;width:30px;background:url('images/fancybox/fancy_closebox.png') top left no-repeat;cursor:pointer;z-index:181;display:none;}
#fancy_frame{position:relative;width:100%;height:100%;display:none;}
#fancy_ajax{width:100%;height:100%;overflow:auto;}
a#fancy_left, a#fancy_right{position:absolute;bottom:0px;height:100%;width:35%;cursor:pointer;z-index:111;display:none;background-image:url(data:image/gif;base64,AAAA);outline:none;}
a#fancy_left{left:15px;}
a#fancy_right{right:15px;}
span.fancy_ico{position:absolute;top:50%;margin-top:-40px;width:80px;height:80px;z-index:112;cursor:pointer;display:block;}
span#fancy_left_ico{left: 0px;background:transparent url('images/fancybox/fancy_left.png') no-repeat;}
span#fancy_right_ico{right: 0px;background:transparent url('images/fancybox/fancy_right.png') no-repeat;}
.fancy_bigIframe{position:absolute;top:0;left:0;width:100%;height:100%;background:transparent;}
div#fancy_bg{position:absolute;top:0;left:0;width:100%;height:100%;z-index:70;border:0;padding:0;margin:0;}
div.fancy_bg{position:absolute;display:block;z-index:70;border:0;padding:0;margin:0;}
div.fancy_bg_n{top:-18px;width:100%;height:18px;background:transparent url('images/fancybox/fancy_shadow_n.png') repeat-x;}
div.fancy_bg_ne{top:-18px;right:-13px;width:13px;height:18px;background:transparent url('images/fancybox/fancy_shadow_ne.png') no-repeat;}
div.fancy_bg_e{right:-13px;height:100%;width:13px;background:transparent url('images/fancybox/fancy_shadow_e.png') repeat-y;}
div.fancy_bg_se{bottom:-18px;right:-13px;width:13px;height:18px;background:transparent url('images/fancybox/fancy_shadow_se.png') no-repeat;}
div.fancy_bg_s{bottom:-18px;width:100%;height:18px;background:transparent url('images/fancybox/fancy_shadow_s.png') repeat-x;}
div.fancy_bg_sw{bottom:-18px;left:-13px;width:13px;height:18px;background:transparent url('images/fancybox/fancy_shadow_sw.png') no-repeat;}
div.fancy_bg_w{left:-13px;height:100%;width:13px;background:transparent url('images/fancybox/fancy_shadow_w.png') repeat-y;}
div.fancy_bg_nw{top:-18px;left:-13px;width:13px;height:18px;background:transparent url('images/fancybox/fancy_shadow_nw.png') no-repeat;}
div#fancy_title{position:absolute;bottom:-33px;left:0;width:100%;z-index:100;display:none;}
div#fancy_title div{color:#FFF;font:bold 12px Arial;padding-bottom:3px;}
div#fancy_title table{margin:0 auto;}
div#fancy_title table td{padding:0;vertical-align:middle;}
td#fancy_title_left{height:32px;width:15px;background:transparent url(images/fancybox/fancy_title_left.png) repeat-x;}
td#fancy_title_main{height:32px;background:transparent url(images/fancybox/fancy_title_main.png) repeat-x;}
td#fancy_title_right{height:32px;width:15px;background:transparent url(images/fancybox/fancy_title_right.png) repeat-x;}