/*
Theme Name: Crimson Fox
Author: Crimson Fox
Author URI: http://crimsonfox.com.au/
Description: Crimson Fox Custom Theme
*/


/********************* GENERAL *********************/



.preload-images {
  display: none; 
  width: 0;
  height: 0;
  background: url('images/mobilemenulink.png'),
              url('images/mobilemenuclose.png'),
              url('images/homebanner.png');
}


html{
	margin:0;
	padding:0;
	width:100%;
	height:100%;
}

body{
	margin:0 auto;
	padding:0;
	width:100%;
	height:100%;
	background:#00263d;
	color:#fff;
	font-family: 'Open Sans', sans-serif;
	font-weight:300;
}

.clearboth{
	clear:both;
}

.inner{
	max-width:1320px;
	width:90%;
	position:relative;
	margin:0 auto;
	height:100%;
}

a{
	color:#af5e27;
	text-decoration:none;
}

a:hover{
	color:#808d97;
}

p{
	font-size:15px;
}

.outerwrap{
	width:100%;
	position:relative;
}

.contentwrap{
	width:100%;
	z-index:1;
	position:relative;
}

input[type="submit"]{
   -webkit-appearance: none;
   -moz-appearance:    none;
   appearance:         none;
}


/********************* HEADER *********************/



.header{
	position:relative;
	width:100%;
	z-index:9;
	margin:0 auto;
}



/********************* MAIN MENU *********************/


.header .mainmenu{
	padding: 33px 0;
	text-transform:uppercase;
	margin:0 auto;
	width:100%;
}


.header .mainmenu ul{
	margin:0;
	padding:0;
	text-align:center;
}

.header .mainmenu ul li{
	list-style:none;
	display:inline-block;
	margin:0 0 0 100px;
	position:relative;
}

.header .mainmenu ul li:first-child{
	margin:0;
}

.header .mainmenu ul .current_page_item a{
	font-weight:700;
}


.header .mainmenu ul li a{
	color:#fff;
	padding: 0 0 30px;
}


.header .mainmenu ul li a:hover{
	color:#808d97;
	border-bottom:solid 5px #af5e27;
}

.header .mainmenu ul li ul{
	display:none;
	background: #af5e27;
	position: absolute;
	top: 58px;
	left:50%;
	transform: translate(-50%, 0);
	width: 150px;
	text-align: center;
	padding: 10px 0;
}

.header .mainmenu ul li:hover ul{
	display:block;
}

.header .mainmenu ul li ul li a:hover{
    border:none;
    color: #fff;
}




/********************* CONTENTAREA *********************/


.contentarea{
	padding:0;
	text-align: center;
}

.contentarea hr{
	border:none;
	border-bottom: solid 1px #af5e27;
}

.contentarea .entry-title{
	border-bottom: solid 1px #af5e27;
	padding: 0 0 20px;
}

.contentarea h1{
	font-weight: 600;
}

.contentarea h1 span{
	font-weight: 300;
}

.contentarea h2{
	font-weight:300;
}

.contentarea h2 span{
	font-weight: 600;
	color:#af5e27;
}

.contentarea h3{

}

.contentarea h4{

}

.contentarea h4 span{
	font-weight:300;
	color:#af5e27;
}

.contentarea .entry-title{
	margin-top:0;
}

.contentarea .alignright{
	float:right;
	margin:0 0 10px 20px;
}

.contentarea .alignleft{
	float:left;
	margin:0 20px 10px 0;
}

.contentarea .aligncenter{
	margin:0 auto 10px;
	display: block;
}

.contentarea blockquote{
	text-align:center;
	font-weight:300;
	color:#fff;
	font-style: italic;
	font-size:23px;
}

.contentarea blockquote p{
	font-size:22px;
}

.contentarea .contactpage blockquote{
	border:solid 2px #af5e27;
	text-align:center;
	font-weight:normal;
	color:#fff;
	font-style: normal;
	max-width:300px;
}

.contentarea .contactpage blockquote p{
	font-size:15px;
}



.contentarea button.accordion {
	background-color: #af5e27;
	color: #000;
	cursor: pointer;
	padding: 18px;
	width: 214px;
	border: none;
	text-align: center;
	outline: none;
	font-size: 15px;
	transition: 0.4s;
	display: block;
	margin: 0 auto;
}

.contentarea button.accordion:hover {
	background-color:#808d97;
}

.contentarea div.panel {
    padding: 0 18px;
    display: none;
	border: solid 1px #af5e27;
	z-index: 99999;
	background: #000;
	margin: -55px 0 30px;
	-webkit-transition-delay: 1s; /* Safari */
    transition-delay: 1s;
	-webkit-transition: height .5s; /* Safari */
    transition: height .5s;
	height:0;
	text-align:left;
}

.contentarea .teamclose{
	width: 100%;
	background: #af5e27;
	color: #000;
	padding: 10px 0;
	margin: 20px 0;
	font-weight: 400;
	cursor:pointer;
	text-align:center;
}

.contentarea .teamclose:hover{
	background-color:#808d97;
}


.contentarea hr{
	margin:60px 0;
}

.contentarea .linkedinprofile{
	padding:10px;
	border: solid 1px #af5e27;
	display: block;
	margin: 20px;
	text-align:center;
}

.contentarea .linkedinprofile:hover{
	border: solid 1px #808d97;
}


/********************* CONTENTAREA FULLWIDTH *********************/


.contentarea .fullwidth{
	max-width: 900px;
	margin: 0 auto;
}

.contentarea .fullwidth img{
	border:solid 1px #af5e27;
	box-sizing: border-box;
}

.contentarea .fullwidth form{
	margin:0 auto;
}


.contentarea .contactpage{
	text-align: center;
}

.contentarea .colourbacking{
	max-width:100%;
	background:#aea879;
	color:#000;
	padding:20px 0 !important;
	margin-bottom:30px;
}

.contentarea .colourbacking .inner{
	max-width: 900px;
	width:90%;
}

.contentarea .colourbacking p{
	font-size:20px;
}

.homepage p{
	font-size:24px;
}

.homepage p strong{
	font-weight:600;
}

.contentarea .listingblock{
	border:solid 1px #af5e27;
	padding:30px;
	display:inline-block;
}

.contentarea .contactsblock{
	border:solid 1px #af5e27;
	padding:30px;
	display:inline-block;
	max-width:400px;
	padding: 20px;
	font-size: 18px;
	margin: 10px 20px 20px;
}

.contentarea .contactsblock strong{
	font-weight:600;
	font-size: 22px;
}


/********************* CONTACT FORM *********************/


.contentarea form{
	text-align:center;
	padding: 20px;
	background:#00263d;
	border:solid 1px #af5e27;
	max-width:400px;
	float:right;
}

.contentarea form h3{
	margin: 0 0 15px;
	font-weight: 400;
	font-size: 20px;
}

.contentarea form h2{
	margin: 0;
	font-weight: 900;
	font-style: italic;
	font-size: 34px;
}

.contentarea form h2 span{
	color:#0887ce;
}

.contentarea form p{
	margin: 0 0 15px;
	font-weight: 400;
}

.contentarea form input[type='text']{
	width:90%;
	border:none;
	padding:10px 5%;
	font-size:15px;
	color:#959595;
	margin:0 0 10px;
	font-weight: 300;
}

.contentarea form input[type='email']{
	width:90%;
	border:none;
	padding:10px 5%;
	font-size:15px;
	color:#959595;
	margin:0 0 10px;
	font-weight: 300;
}

.contentarea form textarea{
	width:90%;
	max-width:90%;
	min-width:90%;
	border:none;
	padding:10px 5%;
	font-size:15px;
	color:#959595;
	margin:0 0 10px;
	height:150px;
	min-height:150px;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
}

.contentarea form input[type='submit']{
	border:none;
	background: #af5e27;
	padding: 10px 5%;
	color: #fff;
	font-size: 15px;
	width: 100%;
	text-align: center;
	cursor:pointer;
	font-weight: 300;
}

.contentarea form input[type='submit']:hover{
	background:#808d97;
}



/******************* GALLERY CONTENT *******************/


.gallery-content{
	width: 100%;
	display: inline-block;
	vertical-align:top;
}

.masonry { /* Masonry container */
    column-count: 4;
    column-gap: 1em;
    margin: 1.5em 0;
    padding: 0;
    margin:20px;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
    font-size: .85em;
}

.item { /* Masonry bricks or child elements */
    background-color: #eee;
    display: inline-block;
    margin: 0 0 1em;
    width: 100%;
    background: #fff;
    padding: 1em;
    margin: 0 0 1.5em;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.item img{
	width:100%;
}





/********************* FOOTER *********************/


.footer{
	background:#00263d;
	color:#fff;
	text-align:center;
	font-size:15px;
	padding:40px 0 80px;
}

.footer p{
	padding:0;
	margin:0;
}

.footer a{
	color:#fff;
}

.footer a:hover{
	color:#af5e27;
}

.footer .copyright{
	padding:0;
	margin:0;
	text-align:center;
}


.footer .sociallinks{
	text-align: center;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	margin: -4px 0 0;
}

.footer .sociallinks .facebook{
	background:url('images/facebook.jpg') top center no-repeat;
}

.footer .sociallinks .twitter{
	background:url('images/twitter.jpg') top center no-repeat;
}

.footer .sociallinks .youtube{
	background:url('images/youtube.jpg') top center no-repeat;
}

.footer .sociallinks .linkedin{
	background:url('images/linkedin.jpg') top center no-repeat;
}

.footer .sociallinks .skype{
	background:url('images/skype.jpg') top center no-repeat;
}

.footer .sociallinks a{
	display:inline-block;
	width: 28px;
	height: 20px;
	margin: 0 0 0 15px;
	text-indent: -9999px;
	padding: 4px 0 4px;
	background-size:100% auto !important;
}


.footer .sociallinks a:hover{
	background-position:center bottom;
}



.footer .footermenu{ 
	text-align:right;
	float:right;
}

.footer .footermenu span{
	color:#af5e27;
}

.footer .footermenu ul{
	margin:0;
	padding:0;
}

.footer .footermenu ul li{
	list-style:none;
	display:inline-block;
}

.footer .footermenu ul li a{
	color:#fff;
	border-left:solid 1px #af5e27;
	padding:0 5px 0 10px;
}

.footer .footermenu ul li:first-child a{
	border:none;
}

.footer .footermenu ul li a:hover{
	color:#af5e27;
}





/********************* MENTONE BEACH APARTMENTS PAGE *********************/


.mentonepage{
	background:#00263d;
}

.mentonepage .contentarea form{
	float:none;
	margin:50px auto 0;
	border: solid 1px #af5e27;
}

.mentonepage .mb-logo{
	width: 70%;
	height: 400px;
	background:url('images/mentone-beach-logo.svg') center center no-repeat;
	display:block;
	margin:0 auto;
	background-size:100% auto;
	max-width:100%;
}

/********************* MENTONE BEACH LUXURY TOWNHOUSES PAGE *********************/

.gallery-content__section {
    padding: 80px 0 20px;
}

.gallery-content__section--halfPadding {
    padding: 20px 0;
}

.gallery-content__section__desc {
    text-align: left;
}

.gallery-content__section__img__container {
    background: #fff;
    padding: 1em;
    height: 100%;
    margin: 1em 0;
}

.gallery-content__section__img {
    height: 320px;
    background-size: cover;
    background-position: center center;
    position: relative;
    border: solid 1px #af5e27;
}

.gallery-content__section__img__desc {
    position: absolute;
    top: auto;
    bottom: 5px;
    left: 8px;
    right: auto;
    margin: 0;
    font-size: 80%;
}

/********************* ADMIN AREA *********************/

.db_results {
	background-color: black;
	padding: 20px;
	border: solid 4px #af5e27;
}

.db_results td {
	margin-right: 30px;
	padding: 10px 30px;
	border: 1px solid white;
}

.db_results th {
	padding-bottom: 20px;
}







/********************* MOBILE *********************/


.mobilemenuwrap{
	display:none;
}

.mobilemenutoggle{
	display:none;
}


/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (max-width : 1300px) {

.banner .banneroverlay{
	background:url('images/homebanner.png') top center no-repeat;
	width:100%;
	height: 930px;
	background-size:cover;
	display:block;
	position:absolute;
	top:0;
	z-index:8;
}


}



/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (max-width : 1200px) {


.footer .copyright{
	text-align:center;
	float:none;
}

.footer .sociallinks{
	position: relative;
	padding:20px 0;
}

.footer .sociallinks a{
	margin-left:5px;
}

.footer .sociallinks span{
	width: 100%;
	display: block;
	padding: 0 0 10px;
}

.footer .footermenu{ 
	text-align:center;
	float:none;
}


}


/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (max-width : 1024px) {





.header .mainmenu{
	display:none;
}

.mobilemenutoggle{
	display:block;
}

.mobilemenuwrap{
	background: rgba(175,94,39,.95);
	width:0;
	height:100%;
	display:block;
	z-index:9999;
	position:fixed;
	top:0;
	overflow:hidden;
    -webkit-transition: width 0.8s; /* Safari */
    transition: width 0.8s;
}

.mobilemenu{
	background:#191b21;;
	width:80%;
	height:100%;
	display:block;
	z-index:9999;
	position:absolute;
	padding:20px 0;
	overflow:hidden;
}

.mobilemenu .logo{
	background:url('images/hamiltonchase-logo.png') center center no-repeat;
	width: 100%;
    height: 70px;
    background-size: auto 100%;
    text-indent: -9999px;
    position: relative;
    display: block;
	min-width:200px;
}

.mobilemenu ul{
	margin: 30px 0 0 0;
	list-style:none;
	padding:0;
	text-align: center;
	font-size: 18px;
	min-width:200px;
}

.mobilemenu ul li{
	margin:0 0 10px;
}

.mobilemenu ul li a{
	display:block;
	font-size:14px;
}

.mobilemenu ul li a:hover{
	color:#fff;
}

.mobilemenu ul li ul{
	margin: 10px 0 0 0;
}

.mobilemenuopen{
	display:block;
	width:40px;
	height:40px;
	position: fixed;
	right: 5%;
	top: 0px;
	text-indent: -9999px;
	cursor:pointer;
	background:url('images/mobilemenulink.png') center center no-repeat #000;
	background-size:40px 40px;
	border-radius: 0 0 10px 10px;
	padding: 5px;
	border:solid 2px #af5e27;
	border-top:none;
}

.mobilemenuopen:hover{
	background-color:#af5e27;
}

.mobilemenuclose{
	display:block;
	width:50px;
	height:50px;
	position: absolute;
	right: 5%;
	transform: translate(15%, 0);
	top: 15px;
	text-indent: -9999px;
	cursor:pointer;
	background:url('images/mobilemenuclose.png') center center no-repeat;
	background-size: 70px 70px;
}


.quicklinks .linkbox h3{
	font-size:30px;
}

.internalpage .banner .internallogo{
	left:50%;
	top:50%;
	transform: translate(-50%, -50%);
}


}



/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (max-width : 960px) {



.contentarea h2{
	font-size: 18px;
}

.contentarea form{
	max-width: 100%;
	margin-bottom: 20px;

}

.contentarea .contactpage blockquote{
	clear: both;
	max-width: 100%;
	margin: 20px 0;
}



}


/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (max-width : 767px) {




.contentarea{
	padding: 20px 0 30px;
}

.contentarea h1{
	font-size:25px;
}

.contentarea h2{
	font-size:20px;
}

.contentarea h3{
	font-size:15px;
}


.contentarea .alignright{
	float:none;
	margin:0 auto 10px auto;
}

.contentarea .alignleft{
	float:none;
	margin:0 auto 10px auto;
}

.contentarea img{
	width:100%;
	height:auto;
}


.contentarea .sidebar form input[type='text'], .contentarea .sidebar form input[type='email'], .contentarea .sidebar form textarea{
	font-size:13px;
}

.mentonepage .contentarea form{
	margin-top:0;
}


.contentarea .listingblock{
	width:90%;
	margin:0 auto 10px;
	padding:30px 5%;
}

}


/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (max-width : 500px) {

	.dontwrap{
	display: block;
}

.mobilemenuclose{
	width: 35px;
	height: 35px;
	background-size: 50px 50px;
}

.footer{
	padding: 20px 0;
}

.footer .footermenu{
}


.mentonepage .mb-logo {
	height:300px;
	width:100%;
	background-size:100% auto;
}

}




/* ----------- iPad 1 and 2 ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
  	
}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {

}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {

}

/* ----------- iPad 3 and 4 ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 2) {

}










@media screen and (max-width: 1300px){
	.masonry { /* Masonry container */
		column-count: 4;
		-moz-column-count: 4;
		-webkit-column-count: 4;
		column-count: 4;
	}
}

@media screen and (max-width: 1100px){
	.masonry { /* Masonry container */
		column-count: 3;
		-moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
	}
}

@media screen and (max-width: 900px){
	.masonry { /* Masonry container */
 	   column-count: 3;
 	   -moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
	}
}

@media screen and (max-width: 700px){
	.masonry { /* Masonry container */
	    column-count: 2;
	    -moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
	}
}

@media screen and (max-width: 400px){
	.masonry { /* Masonry container */
		column-count: 1;
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}
}
