/*
Theme Name: KHR
Author: Netwizard Design
Author URI: http://www.netwizarddesign.com.au
Version: 1.0

*/

@font-face {
    font-family: 'TeXGyreAdventorRegular';
    src: url('fonts/texgyreadventor-regular-webfont.eot');
    src: url('fonts/texgyreadventor-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/texgyreadventor-regular-webfont.woff') format('woff'),
         url('fonts/texgyreadventor-regular-webfont.ttf') format('truetype'),
         url('fonts/texgyreadventor-regular-webfont.svg#TeXGyreAdventorRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}
html {width:100%; height:100%;}
body {
	 width:100%; height:100%; padding:0; margin:0;
	 font-family: 'TeXGyreAdventorRegular';
	 background:#9c0202 url(images/background2.jpg) repeat-x;
	 font-size:14px;

}
.clear {clear:both;}
.beds {float:right; background:url(images/beds.png) no-repeat left center; padding:4px 0 4px 20px; margin:5px 20px 0 10px;}
.baths {float:right; background:url(images/baths.png) no-repeat left center; padding:4px 0 4px 20px; margin:5px 20px 0 10px;}
.button {background:#1466ba; border:1px solid #fff; box-shadow:0 0 5px #333; color:#fff; text-shadow:1px 1px 1px #222; padding:6px 12px; border-radius:8px; text-decoration:none;}
.button:hover {background:#1779de;}
.entry-title2 {display:one;}
.house {background:#f3f3f3; padding:5px 20px 10px 10px; border:1px solid #ccc; margin:0 0 30px 0; float:left; width:96%; min-height:200px;}
.house img {float:left; padding:2px; border:1px solid #ccc; 
margin:0 20px 520px 0; margin-bottom: 0; 
width:200px !important; height:auto; }
.post-meta{list-style-type:none; }
.post-meta li { display:inline; margin:0 5px 0 5px;
  background:url(images/baths.png) no-repeat left center; padding:3px 0 3px 20px;
}

.post-meta li:first-child {
  background:url(images/beds.png) no-repeat left center; padding:3px 0 3px 20px;
}
/* =Structure
-------------------------------------------------------------- */

#page {
	clear:both;
	position:relative;
	width:1000px;
	margin: 0 auto;
	background:url(images/left-top2.png) no-repeat top left;
	min-height:50px;
	}
#primary {
	float: left;
	margin: 30px 0 0 0;
	width: 687px;
	padding:0 20px;
	background:;
	z-index:888;
	background:#fff;
	min-height:735px;
}
#content {
	margin: 0 0 0 0;
	
}
#sidebar {
	position:relative;
	width:273px;
	background:url(images/sidebartopper2.png) no-repeat top left;
	float:right;
	margin:0 0 0 0;
	z-index:999;
	
}

#main .widget-area {
	background:url(images/sidebar.png) no-repeat;
	margin:45px 0 0 0 ;
	min-height:720px;
	width:273px;
	z-index:-1;
	
}
#sidebar-inner {
	padding:0 25px;
	}
#footer {
	clear: both;
	width: 100%;
	height:80px;
	background:#990000;
}
.footer {width:960px; margin:0 auto; padding:20px 0 0 0;}
.copy {color:#ddd; font-size:12px; float:left;}
.designer {color:#ddd; font-size:12px; float:right;}
.designer a {color:#ddd;  text-decoration:none;}
.designer a:hover {color:#fff; text-decoration:underline;}
/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */
#branding {width:1000px; margin:0 auto; padding:10px 0 0 0; position:relative;}
#logo {float:left;}
#site-title {
	font-size: 2em;
	font-weight: bold;
	margin: .67em 0;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}
#header-info {position:absolute; top:20px; right:10px;  margin:20px 10px 0 0;}
#header-info ul {list-style-type:none; font-size:16px; color:#fff; text-shadow:1px 1px 1px #222;}
#header-info ul li {padding:5px 0 5px 40px;}
#header-info li.phone {background:url(images/phone.png) no-repeat left center;}
#header-info li.mobile {background:url(images/mobile.png) no-repeat left center;}
#header-info li.email{background:url(images/email.png) no-repeat left center;}
.widget-title {display:none;}

/* =Menu
-------------------------------------------------------------- */

#access {
	
	display: block;
	float: left;
	margin: 0 auto 1em;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 15px;
}
#access li {
	float: left;
	width:90%;
	clear:both;
	position: relative;
	border-bottom:1px solid #ccc;
}
#access a {
	font-size:16px;
	display: block;
	line-height: 2em;
	padding: 0 0 0 0;
	text-decoration: none;
	color:#fff;
	text-shadow:1px 1px 1px #222;
	
}


/* =Content
-------------------------------------------------------------- */

h1 {color:#990000; font-size:22px; font-weight:normal; line-height:30px; }
.entry-title {display:none; color:#990000; font-size:22px; font-weight:normal; line-height:30px; }
#logos {text-align:center; }
#logos img {margin-top:20px;}
form input, form textarea {padding:6px 12px; border-radius:8px; border:1px solid #ccc;  }
.wpcf7-submit {background:#990000; color:#ddd; cursor:pointer;}
.wpcf7-submit:hover {background:#710808; color:#fff;}
.sticky {
}
.entry-meta {
	clear: both;
	display: none;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%; display: none;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
	padding:0 0 30px 0; display:none;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: none;
}
#nav-below {
	margin: 1em 0 0; display: none;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */
.slide {border:5px solid #fff; box-shadow:0 0 10px #222; -moz-box-shadow:0 0 10px #222; -webkit-box-shadow:0 0 10px #222;}

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
	font-size:12px;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}


/* =Footer
-------------------------------------------------------------- */

#colophon {
	padding: 1em 0 0;
}


/* gallery for lighbox */
/* changed: 4-8-13 */
/* this will hide the rest of the photo and will only show the first */


.gallery{
float: left;
margin: 0; padding: 0;
}
.gallery .gallery-item {
display:none;
}
.galleryid-12 .gallery-item{
display:block;
}

.gallery .gallery-item img{
width: 206px; height: auto;
}

.gallery .gallery-item:first-child{
display: block;
}

#enquiry-btn{
position: absolute;
top: -50px;
right: 0;
}

/* #Media Queries
================================================== */

.slicknav_menu {
	display: none;
}

#logo{
	background: url(../khr/images/logo.png) no-repeat;
	width: 419px; height: 154px;
	text-indent: -9999px;
	float: left;
	margin: 0; padding: 0;
}
#logo img{
	display: block;
	margin: 0; padding: 0;
}

#header-info a{
	color: #fff;
	text-decoration: none;
}
#header-info a:hover{
	text-decoration: underline;
}

.slideshow_container {
  border: 5px solid #fff;
  box-shadow: 0 0 10px #222;
  margin-top: 20px !important;
}

.huge_it_slideshow_image_wrap_2 {
  background: #ffffff;
  border-width: 0px;
  border-color: #ffffff;
  border-radius: 0px;
  border: 5px solid #fff;
  box-shadow: 0 0 10px #222;

	margin: 20px 0 0 0 !important;
	padding: 0;
}
.huge_it_slideshow_dots_container_2 {
  display: none !important;
}

.huge_it_slideshow_image_item_2 img {
  width: 100% !important;
}


@media only screen and (max-width: 999px) {

#branding{
  width: auto;
  padding: 0 2%;
  margin: 0;
  overflow: hidden;
  background: #9a0303;
}

#logo{
	background: url(../khr/images/logo2.png) no-repeat;
	width: 415px; height: 171px;
}

#header-info {
  position: static;
  margin: 0;
  float: right;
  margin-top: 45px;
}

#header-info ul {
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

#header-info ul li {
  padding: 2px 0 2px 40px;
}
#page {
	background: #fff;
	width: 100%;
	margin: 0; 
	padding: 0;
	position: static;
}
#main{
	overflow: hidden;
}
#primary {
  background: #fff;
  margin-top: 0;
  
  width: 64%;
  margin: 0;
}
#sidebar{
	width: 30%;
	margin: 0;
	float: right;
	background: #555555;
}
#main .widget-area {
	background: #555555;
  margin: 0;
}

#footer {
  height: auto;
  background: #990000;
}

.footer {
  width: auto;
  margin: 0;
  padding: 20px 0;
}

#main .widget-area {
  width: auto; 
}

#sidebar-inner {
  padding: 20px;
}
#access ul {
  padding: 0;
}
#access li {
  float: left;
  width: 100%;
  clear: both;
  position: relative;
  border-bottom: 1px solid #ccc;
}

#access a {
  line-height: normal;
  padding: 5px 0;
}

.slideshow_container {
  width: 100% !important;
}

.slideshow_container img {
	width: 100% !important;
	height: auto !important;
	display:block;
}

.slideshow_container .slideshow_view .slideshow_slide {
	width: auto !important;
	height: auto !important;
}

#footer{
	height: auto;
	overflow: hidden;
}
.footer{
	padding: 20px;
}

#footer .copy,
#footer .designer{
	margin: 0;
}

#footer .copy{}
#footer .designer{}


.house {
  padding: 0 20px;
  border: 1px solid #ccc;
  margin: 0 0 20px 0;
  float: none;
  width: auto;
}

form input[type="text"],
form input[type="email"],
form textarea {
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin: 0;
  width: 90%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}
.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}


#post-166 .entry-content table,
#post-168 .entry-content table
{
	width: 100%;
}
#post-166 .entry-content table td,
#post-168 .entry-content table td{
	width: 50%;
	border-top: 1px solid #ccc;
	padding: 0;
}
#post-166 .entry-content table td:first-child,
#post-168 .entry-content table td:first-child{
	text-align: left;
}
#post-166 .entry-content table td:last-child,
#post-168 .entry-content table td:last-child{
	text-align: right;
}


/* 9999px */
}

@media only screen and (max-width: 767px) {
	
.slicknav_menu {
	display: block;
}

#menu-main{ display: none; }
	
#branding{
  margin-top: 40px;
}

#logo{
	background: url(../khr/images/logo3.png) no-repeat;
	width: 260px; height: 116px;
}
#header-info {
  margin-top: 20px;
}

#primary, #sidebar {
  float: none;
  width: auto;
  overflow: hidden;
  padding-bottom: 20px;
}

#main .widget-area, #sidebar-inner {
	min-height: 100px;
}
#logos img {
  margin-top: 20px;
  vertical-align: middle;
}

.footer{
	text-align: center;
}

#footer .copy,
#footer .designer{
	float: none;
}


.house #gallery-1
.gallery-item{}

#post-49 .entry-content .wp-caption{
	width: auto !important;
	padding: 0;
	margin: 0 5px 5px 0;
	min-height: 150px;
}
#post-49 .entry-content .wp-caption img{
	margin: 0;
}

/* 767px */
}


@media only screen and (max-width: 600px) {
	
#branding{
	text-align: center;
	padding: 0;
}

	
#logo {
	float: none;
  position: relative;
  background-position: center;
  display: inline-block;
  clear: both;
}

#header-info {
	width: 100%;
	background: #800000;
	padding: 20px 0;
	text-align: center;
	margin: 0;
}

.category-houses-for-sale .gallery  .gallery-item {
  margin-top: 0 !important;
  width: 150px !important;
  margin-right: 20px;
  margin-bottom: 20px;
}
.category-houses-for-sale .gallery img {
  border: 2px solid #cfcfcf;
  border: none !important;
  width: 100% !important;
  height: auto !important;
  margin: 0;
  padding: 0;
}
.category-houses-for-sale  .gallery {
  margin: auto;
  height: 150px;
}

	
/* 600px */
}

@media only screen and (max-width: 479px) {
	
.house .category-houses-for-sale .entry-content{
	padding-bottom: 50px;
}
#enquiry-btn {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 20px;
}
#gallery-1 {
  margin: auto;
  float: none;
  clear: both;
  overflow: hidden;
  margin-bottom: 20px;
}

#lightbox {
  width: 90% !important;
  margin-left: auto  !important;
  margin-right: auto  !important;
  right: 0 !important;
}

#outerImageContainer {
  width: auto !important;
}

#imageDataContainer {
  width: auto !important;
}

#lightboxImage{
	width: 100% !important;
	height: auto !important;
}


/* 479px */
}

@media only screen and (max-width: 300px) {
	
#header-info a {
  font-size: 14px;
}
#header-info ul li {
  padding: 2px 0 2px 32px;
}

#logo {
  background: url(../khr/images/logo3.png) no-repeat;
  width: 100%;
  background-position: 20px center;
}

	
/* 300px */
}

