/*
 Theme Name:   Compact
 Theme URI:    http://miclub.com.au
 Description:  MiClub Custom Theme
 Author:       
 Author URI:   http://miclub.com.au
 Version:      1.0.0
 License:      Copyright 2015 - MiClub
 License URI:  http://miclub.com.au
 Tags:         custom, responsive-layout
 Text Domain:  miclub
*/

/*
 * ======================  LIVE CHANGES GO HERE  ======================
 * Please make sure that you place a timestamp with your name whenever
 * this file is edited. If your change is a result of a ticket please
 * include the ticket number in the comment.
 */
h1, h2, h3, h4, h5, h2 > a{
	color: #4a7e6c;
}

.club-info p{
	font-size: 18px;
}

@media screen and (max-width: 1300px){
	.club-info p{
		font-size: 16px;
	}
}
@media screen and (max-width: 1100px){
	.club-info p{
		font-size: 14px;
	}
}

.club-info-content{
	padding: 20px 20px 0 20px;
}

/* Changes */
.fb-page.fb_iframe_widget {
	width: 100%;
}

@media screen and (min-width: 550px){
	html .fb_iframe_widget span {
		width: 100% !important;
		height: auto !important;
	}
}

html .fb_iframe_widget iframe {
	width: 100% !important;
}

html ._2p3a {
	width: 100% !important;
}

html #u_0_0 {
	width: 100% !important;
}

html #u_0_0 div {
	width: 100% !important;
}



.menu a{
	font-family: 'Roboto', Times New Roman, serif;
}

.shrink .nav-inner .social, .shrink .nav-inner .social-2 {
	display: none;
}

.shrink .nav-inner a.logo {
    width: 110px;
    margin: 5px 20px;
}

.shrink .nav-inner img {
    margin: 0;
    height: 60px;
}

.nav-inner .social{
	top: 20px;
}

.membership-box{
	width: 28%;
    height: auto;
    margin: 0 5% 0 0;
    border: 1px solid #e8e8e8;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    background: #FFF;
	overflow: hidden;
	margin-bottom: 60px;
	display: inline-block;
	position: relative;
	float:left;
}
/*
.membership-box:first-child {
    margin-left: 0;
}
*/

.membership-box:nth-child(5n+1) {
    margin-left: 0 !important;
}

.membership-box:nth-child(5n+5) {
    margin-right: 5% !important;
}

.membership-box .info-content {
    padding: 2em;
    box-sizing: border-box;
}

.membership-box .info-content p, .membership-box .offer-price p{
	margin: 20px 0;
}
.offer-title {
    text-align: center;
    border-bottom: 2px solid #cccccc;
}

.offer-price {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: #525554;
}

.offer-price p {
    color: #fff;
}

.grid.all{
	overflow: hidden;
}

.page-id-7 td, .page-id-9 td{
	border-color: #000000;
    border-style: solid;
    border-width: 1px;
}

.page-id-7 table, .page-id-9 table{
	border-bottom: 1px solid #000000!important;
}

.page-id-7 table tr td, .page-id-9 table tr td {
    padding: 10px;
}

.page-id-7 tr:first-child, .page-id-9 tr:first-child{
	background-color: #009933;
}
.page-id-7 tr:first-child td, .page-id-9 tr:first-child td{
	color: #ffffff;
	font-weight: bold;
}

h2{
	margin: 25px 0 10px 0;
}

.span.home-links{margin-bottom: 60px;z-index: 100;    background: none;}



.span .block-image .image-link{
	opacity: 1;
	display: table-cell;
	vertical-align: middle;
	padding: 0!important;
}


.span .block-image .image-link h3{
	font-size: 25px;
	letter-spacing: 1px;
}

table tr td h4{  
	margin: 0;
} 

.icon-image {
    vertical-align: middle;
}

table table{
	margin: 0 0 0;
}

.page-id-11 table tr td{
	padding: 0;
}

.main .content .heading{
	letter-spacing: 3px;
}

.contact-details {
    float: left;
    width: 50%;
}

.map-wrap {
    float: right;
    width: 50%;
}

.map-iframe{
	 margin-top: 40px;
}


.span .block-image:first-child{margin-left: 0;}
	
.span .block-image:last-child{margin-right:0;}

.shrink .nav-inner{
	box-shadow: none;
	-webkit-box-shadow: none;	
}

.nav-inner{
	box-shadow: none;
	-webkit-box-shadow: none;
	z-index: 1000;
}

.mobile-menu{
	z-index: 1010;
}

.overlay{
	bottom: 0;
	top: auto;
	min-height: 450px;
}

.main-content #gallery-2 {
	overflow: hidden;
	margin: 30px auto;
}

.main-content .left-col{
	width: 68%;
	padding: 10px;
	box-sizing: border-box;
	display: inline-block;
    float: left;
	margin-right: 2%;
}

.main-content .right-col{
	width: 30%;
	padding: 10px;
	box-sizing: border-box;
	display: inline-block;
    float: left;
    box-shadow: 0px 0px 5px #ccc;
    background: #f2f2f2;
}

a.logo {
    display: block;
    width: 170px;
    margin: 5px 50px;
}

.nav-inner{
	height: 100px;
}

.nav-inner img{
	margin: 0;
}

.social-2 {
    /*position: absolute;*/
    right: 60px;
    top: 60px;
    float: right;
    transition: all 0.3s ease;
}
.social p, .social-2 p {
    font-size: 16px !important;
}

.splash-image-home{
	margin-top: 100px;
}

.logged-in .mobile-menu{
	margin-top: 32px;
}

footer .footer-nav .copyright {
    font-size: 14px!important;
}

a.footer {
    font-size: 14px;
}

.main-content{
	box-sizing: border-box;
	
}

.content.customPage .main-content{
	float: left;
	width: 100%;
}



/******************************************************************************/

.home-links a{
	width: 23.5%;
    height: 300px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
	position: relative;
	margin-right: 2%;
}

.fb-block{
	width: 23.5%;
	height: 300px;
	display: inline-block;
	position: relative;
	vertical-align: top;
}


.span.home-links .image-overlay{
	opacity: 1;
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    width: 100%;
    transition: all 0.3s ease;
    height: 100%;
    padding: 20px;
}

.span .block-image{
	border: 2px solid #ffffff;
	padding: 9% 10%;
	width: 100%;
	margin: 0 1%;
	display: table;
}



/* Styling Fixes for Banner Image */
.splash-image {
	max-height: none;
	height: auto!important;
	
}
.splash-image img {
    margin-top: 100px;
	min-height: 0;
}


footer .footer-nav{
	background-color: #525554;
}

.mobile-menu{
	background-color: rgba(9, 12, 14, 0.7);
}

.mobile-menu #nav li a:hover{
	color: #fa6e54;
}

.mobile-menu #nav li:hover{
	background: rgba(255,255,255,0.7)
}
.page-id-46 table{
	border-bottom: none;
}
.page-id-46 table tr td {
    padding: 20px 15px 20px 10px;
	border-color: #000;
	border-width: 1px;
}

.main-content, .club-info-content{
	padding: 20px 3%;
}

img.icon-image {
	width: 40px;
	height: 40px;
}


.main .content .content-home{
	top: -310px;
}

.gallery-item {
	padding: 10px;
	max-height: 400px;
}

.facebook-link {
	display: inline-block;
}
.facebook-link:before {
	content: '\f09a';
	font-family: FontAwesome;
	font-weight: 400;
	padding-right: 5px;
	display: inline-block;
}

.contact-details a {
	font-size: 18px;
	color: #4a7e6c;
	font-weight: 600;
}


.nav-inner .menu .guests-menu li, .nav-inner .menu .members-menu li {

    padding: 10px 2% 15px!important;
   
}


@media screen and (max-width: 1440px)
{
	.nav-inner .menu .guests-menu li, .nav-inner .menu .members-menu li 
	{
     padding: 10px 2% 15px!important;
	}
}

.page-id-402 .right-col
{
	display: none;
}

/* Ticket 406181 Updating Link colour */
a {
    color: #4a7e6c;    
}

@media screen and (max-width: 1350px){
	.nav-inner .menu .guests-menu li a, .nav-inner .menu .members-menu li a {
	  font-size: 14px;
	}
}


/* Facebook feed */
.home-links a.fb-mobile-link {
	display: none;
}

@media only screen and (max-width: 550px) {
	.fb-block {
		display: none;
	}
	.home-links a.fb-mobile-link {
		display: block;
		font-size: 16px;
		color: #ffffff;
		text-align: center;
		padding: 10px;
		background-color: #4a7e6c;
		height: auto;
		text-transform: uppercase;
		font-weight: 600;
		letter-spacing: 1px;
	}
}