/*
	Theme Name: BMCNSW
	Description: BMCNSW WordPress Theme

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 20px/1.4 'Open Sans', sans-serif;
	color:#000;
	background-color:#f6f1ea;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
	height:auto;
}
a {
	text-decoration:underline;
	color:#000;
}
.white-background a, .cream-background a {
	color:#000
}
.brown-background a {
	color:#fff;
}
.white-background a:hover, .cream-background a:hover {
	color:#c85923;
}
.brown-background a:hover {
	color:#fff;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
strong, b {
	font-weight:400;	
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1200px;
	width:95%;
	margin:0 auto;
	position:relative;
}
article .wrapper{	
	max-width:1120px;
}
/* header */
.header {
	background-color:#fee0bf;
}
/* logo */
.logo {
	float:left;
	width:66%;
}
.logo-img {
 	margin-bottom:-10px;
	width:100%;
}
.social {
	float:right;
	width:22%;	
	margin-top:74px;
}
/* nav */
.nav {
	background-color:#c84f15;
	padding-bottom:10px;
	padding-top:5px;
	border-bottom: solid 5px #000;
}
/* sidebar */
.sidebar {

}
/* footer */
.footer {	
	background-color:#000;
	color:#fff;
	padding-top:20px;
	padding-bottom:20px;
	font-size:14px;
}
.footercol {
	float:left;
	width:33%;
	font-size:16px;
}
.footer a {
	color:#fff;
	text-decoration:none;
}
.footer a:hover {
	color:#c84f15;
}
.footerdivider {
	width:70px;
	height:2px;
	background-color:#fff;
}
.banner-img {
	border-bottom: solid 2px #f00;	
}
.header .search {
	margin-top:3px;
	width:70%;
	border: 1px solid #CCC;
	background-color:#f6f1ea;
}
.search-input {
	border:none;
	width:125px;	
}
.search-submit {
	background-color:transparent;
	border:none;
	float:right;	
}
.fa-facebook-square {
	font-size:30px;	
	padding-left:8px;
}
.footercol .fa-facebook-square {
    font-size: 40px;
    padding-left: 0;
	padding-top:20px;
}
.fa-envelope {
	font-size:32px;	
	padding-left:5px;
}
.fa-search {
	font-size:22px;	
}
.grey-background {
	background-color:#f4f4f4;	
	padding-top:30px;
	padding-bottom:30px;
}
.cream-background {
	background-color:#f7e7d3;
	padding-top:30px;
	padding-bottom:30px;
	background-image:url("https://bullmastiffclubofnsw.com.au/wp/wp-content/uploads/2018/11/cream-background.jpg");
	background-size:cover;
	background-position:center -60px;
	background-repeat:no-repeat;
}
.brown-background {
	background-color:#c85923;
	padding-top:30px;
	padding-bottom:30px;
	background-image:url("https://bullmastiffclubofnsw.com.au/wp/wp-content/uploads/2018/11/brown-background.jpg");
	background-size:cover;
	color:#fff;
}
.parent-pageid-14 .one-half, .parent-pageid-14 .one-third  {
	text-align:center;
}

.parent-pageid-14 .one-half img, .parent-pageid-14 .one-third img{
	height:150px;
	width:auto;
}
article img {
	border:solid 1px #000;
}

/*------------------------------------*\
    NAVIGATION 
\*------------------------------------*/

.nav {
	text-align:center;
	font-size: 20px;
	font-weight: normal;
	margin: 0 auto;
	line-height:30px;
	width:100%;
}

.nav ul {
	display:inline-block;
	list-style: none;
	margin: 0;
	padding-left: 0;
	margin-top:15px;
}
.nav li {
	display: block;
	float: left;
	margin: 0;
	position: relative;
	text-decoration: none;
}  
.nav li a {
	text-decoration: none;
	font-weight: 400;
	text-transform:uppercase;
	padding:0 15px 0 15px;
	display: block;
	color:#fff;
}
.nav li:hover a{
	color:#000;
	font-weight:400;
}
.nav ul li ul {
	background:rgba(200,79,21,0.9);
	visibility: hidden;
	float: left;
  	min-width: 100%;
	position: absolute;
  	transition: visibility 0.65s ease-in;
	left: 0;
	z-index: 999;
	text-align:left;
	white-space: nowrap;
	width:250px;
	margin:0;
	padding:0;	
	line-height:35px;
	margin-top:10px;
}
.nav ul li ul li ul {
	background:rgba(200,79,21,0.9);
	visibility: hidden;
	float: left;
  	min-width: 100%;
	position: absolute;
  	transition: visibility 0.65s ease-in;
	left: 230px;
	top:0px;
	z-index: 999;
	text-align:left;
	white-space: nowrap;
	width:250px;
	margin:0;
	padding:0;	
	line-height:35px;
}
ul.sub-menu {
	margin-top:17px;
}
.sub-menu li {
	margin-left:15px;
	border-bottom: solid 1px #a73600;
	width:85%;
}
article .sub-menu  li {
	border-bottom: none;	
}
.sub-menu  li:last-child {
	border-bottom: none;
}
.sub-menu  a {
	color:#fff !important;	
	font-weight:400 !important;
	padding-left:0px !important;
	text-transform:capitalize !important;
}
article .sub-menu  a {
	color:#000 !important;
	font-weight:300 !important;
}
.sub-menu  a:hover {
	color:#000 !important;
}
article .sub-menu  a:hover {
	color:#000 !important;
}
.wsp-pages-list a {
	text-decoration:none !important;
}

.nav ul li:hover > ul,
.nav ul li ul:hover {
   visibility: visible;
}

.nav ul li ul li {
	clear: both;
	padding:0;
}



/*------------------------------------*\
    HEADINGS
\*------------------------------------*/
h1 {
	font-size:46px;
	font-weight:400;
}
h2 {
	font-size:42px;
	font-weight:400;
	color:#c84f15;
}
.footercol h2 {
	color:#fff;
	font-size:18px;
	font-weight:300;
}
h3 {
	font-size:20px;
	font-weight:400;	
}
.brown-background h1, .brown-background h2  {
	color:#fff;
}
.parent-pageid-14 .one-half h3, .parent-pageid-14 .one-third h3 {
	font-size:1.1em;
	color:#c84f15;
}



/*------------------------------------*\
    MEMBERSHIP FORM
\*------------------------------------*/
.wpcf7-list-item {
	white-space:nowrap;	
}
.membership td {
	vertical-align:top;	
	padding:10px;
}
.membership table, .membership td {
	border:solid 1px #000;
	border-collapse:collapse;	
}
.membership td p {
	margin:0px;
	padding:0px;	
}
.membership .wpcf7-form .one_half,  .membership .wpcf7-form .one_half_last {
	padding-top:0px;
	padding-bottom:0px;
	margin-top:0px;
	margin-bottom:0px;	
}
.membership .wpcf7-form .one_half,  .membership .wpcf7-form .one_half_last {
	padding-top:0px;
	padding-bottom:0px;
	margin-top:-17px;
	margin-bottom:0px;	
}
.wpcf7-text {
	border:solid 1px #ccc;
	height:40px;	
	padding:5px;
	width:100%;
}
.wpcf7-select {
	border:solid 1px #ccc;
	height:40px;	
}
.wpcf7-textarea {
	border:solid 1px #ccc;
	height:100px;	
	padding:5px;
	width:100%;
}
.wpcf7-submit {
	border:none;
	background-color:#000;
	color:#fff;
	text-transform:uppercase;
	padding:20px;
}
.wpcf7-submit:hover {
	background-color:#ccc;
	color:#000;
}


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1235px) {
.nav {
	font-size: 16px;
}
.nav li a {
	padding:0 10px 0 10px;
}
}
@media only screen and (max-width:1215px) {
.social {
	width:25%;
	margin-top:65px;	
}
}
@media only screen and (max-width:1075px) {
.nav {
	font-size: 15px;
}
.social {
	width:30%;
	margin-top:55px;	
}
	
	.cream-background {
		background-position:center center;
	}
}
@media only screen and (max-width:1021px) {
.nav {
	font-size: 14px;
}
}
@media only screen and (max-width:980px) {
.nav .wrapper, .social {
	display:none;	
}
.logo {
	width:100%;
}
}
@media only screen and (max-width:800px) {
	.footercol {
		width:100%;	
	}
}
@media only screen and (max-width:768px) {
.ccpages_excerpt {
	display:none;	
}
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}