Theme Name:   Pilates Connection Theme
 Theme URI:    http://example.com/twentytwelve-child/
 Description:  Twenty Twelve Child Theme
 Author:       Viv Rayner
 Author URI:   
 Template:     twentytwelve
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twentytwelve-child
*/


/* =Theme customization starts here
-------------------------------------------------------------- */



/* Hide the Wordpress site name  */
.site-header hgroup, h1.site-title a { 
	display: none; 
}
.site-logo { 
	max-width: 100%; 
	height:auto; 
	margin-left: -10px;
}

#main.wrapper	{
	padding: 0 ;
}

#site-navigation	{
	margin-top: -47px;
	margin-top: -3.357rem;
}
/**/
.site-header	{
	padding:  0px  ;
}


.site-content	{
	background: #CDCD5C;
	background-color: rgba(205,205,92,0.4);
}

.site-content article	{
	margin-bottom: 0;
	padding-bottom: 12px;
	padding-bottom: 1rem;
}

/* change widget list styling */

.widget-area .widget li {
   border-bottom: 1px dashed rgb(173, 169, 169); 
}

.widget-area .widget a {
  color: #757575;
  text-decoration: none;
}


/*-- move sidebar to the left (change default template)-- */
@media screen and (min-width: 600px) {

    .site-content {
	float: right;
	width: 70.104166667%;
	width: 72%;
	padding: 15px;
	}

    .widget-area {
        float: left;
	width:20%;

    }
}

/* for IE8 and IE7 ----------------*/
.ie .site-content {
    float: right;
}
.ie .widget-area {
    float: left;
}
.ie .template-front-page #secondary.widget-area {
 	width: 90%; }
.ie .template-front-page #secondary.widget-area .first.front-widgets {
	width: 50.1%; margin-right: 3%; background: #f4f4f4; }
.ie .template-front-page #secondary.widget-area .second.front-widgets {
	width: 46.8%; margin-right: 0; background: #f4f4f4; }
.ie .template-front-page #secondary.widget-area .widget {
 width: 100%;  }

html	{
	margin-top: 0 !important;
}

/*footer float to right */

.footer_widget	{
	float:  right;
	font-size: 0.9rem;
	width: 74%;
	padding: 10px 5px;
	background: #CDCD5C;
}

footer#colophon {
	border-top: 0px solid #ededed;
	margin-top: 0;
}

/* Float social icon widget to right */
.social_icons	{
	float:right;
	margin-top: 10px;
}

/*Extra margin above left widget column   */
#secondary.widget-area	{
	margin-top: 40px;
	margin-top: 2.857rem;
}

/* custom pilates connection background image applied globally */

body .site	{
background-image: url('http://pilates-connection.com.au/wp-content/uploads/bg62.png'),url('http://pilates-connection.com.au/wp-content/uploads/bg-extended.jpg')  ;
background-repeat: no-repeat,repeat-y;
background-position: left top ;
-webkit-background-size: contain; /*Fills iPad page */
-moz-background-size: contain;
-o-background-size: contain;
background-size: contain;
}


.site-content article {
border-bottom: none;
}



@media and (orientation: landscape)  {
.site-logo	{
		width:	22%;
		background: blue;
	}
}



@media screen and (max-width: 1024px) and (orientation: landscape)  {

	
	.site-logo	{
		width:	22%;
	}
	
	.site-content	{
		margin-top: 27px;
		margin-top: 1.929rem;
	}

	.main-navigation  ul {

		position: relative;
		top: 16px;
		top: 1.143rem;

	}
	.main-navigation  li  {

		font-size: 0.65rem;

	}

	.widget-area .accordion	{
		width: 100%;
		white-space: pre-wrap;
		
	}

	
}

@media screen and (max-width: 1024px) and (orientation: portrait)  {


	.site-logo	{
		width:	22%;
	}

	.site-content	{
		margin-top: 29px;
		margin-top: 2.071rem;
	}

	.main-navigation  ul {

		position: relative;
		top: 16px;
		top: 1.143rem;

	}
	.main-navigation  li  {

		font-size: 0.65rem;

	}

	.widget-area .accordion	{
		width: 100%;
		white-space: pre-wrap;
		
	}

	.widget-area .accordion h3	{
		margin-bottom: 10px;
		margin-bottom: 0.7692rem;
		
	}



}
@media screen and (max-width: 670px) {

	body .site	{
		background-image: none;
		background: #CDCD5C; 
	
	}	

	img.site-logo	{
		width: 30%;
    		margin: 0 auto;
		
	}

	.site-content	{
		padding: 5px;
		padding: 0.3571rem;
	}	

	.site-content img {
		width: 50%;
		
	}

	button.menu-toggle  {

		
		margin-top: 50px;
		margin-top: 3.571rem;

	}

	
	.main-navigation  li a {
		font-size: 0.7rem;
		color: #000000;
	}
	

	.main-navigation  li.menu-item-has-children ul li {
		margin-top: 0;

	}

	.main-navigation  li.menu-item-has-children ul  {	
		margin-bottom: 1rem;
	}

	.main-navigation  li.menu-item-has-children ul li a {	
		font-size: 0.7rem;
	}
	.main-navigation ul.nav-menu,
	
	.main-navigation div.nav-menu > ul {

		width: 100%;
		margin-top: 50px;
		margin-top: 3.571rem;

		border-bottom: 0px solid #CDCD5C;

		border-top: 0px solid #CDCD5C;

		width: 100%;

	
	} 

	.main-navigation li {

		margin: 0 3px 0 0;

		margin: 0 0.5rem 0 0;

		position: relative;

	}	

	.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a {
		color: #FEF9F9;
		font-weight: bold;
		
	}
	.footer_widget	{
		width: 100%;
	}
	
}


@media screen and (max-width: 480px) {
	
	.main-navigation  li a {
		font-size: 1.2rem;
		line-height: 2.0rem;
		color: #ffffff;

	}
	
	.main-navigation  li.menu-item-has-children ul li {
		margin-top: 0;

	}
	.main-navigation  li.menu-item-has-children  {	
		margin-bottom: 1rem;
	}

	.main-navigation  li.menu-item-has-children ul  {
		margin-top: -1rem;	
		margin-bottom: 2rem;
	}

	.main-navigation  li.menu-item-has-children ul li a {
			
		font-size: 1.0rem;
	}

	.footer_widget	{
		width: 100%;
	}	
}

@media screen and (min-width: 700px) {

	body .site  {
		padding: 0 20px;
		padding: 0 1.429rem; 
		margin-top: 10px;
		margin-top: 2 rem;  
		margin-bottom:40px;
		box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
	}

	
	/* Float social icon widget to right */
	.social_icons	{
		float:right;
		margin-top: 10px;
	}

	
	.main-navigation	{
		float:right;
	 	width: 75%;
	}

	.main-navigation ul.nav-menu,
	
	.main-navigation div.nav-menu > ul {

		border-bottom: 0px solid #CDCD5C;

		border-top: 0px solid #CDCD5C;

		display: inline-block !important;

		text-align: left;

		width: 100%;

	
	} 

	.main-navigation li {

		margin: 0 3px 0 0;

		margin: 0 0.5rem 0 0;

		position: relative;

	}	

	.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a {
		color: #FEF9F9;
		font-weight: bold;
		background: #808043;
		padding: 0 4px;
	}

}



h1	{
color:	#ffffff;


}

.entry-content h1, .comment-content h1, .entry-content h2, .comment-content h2	{
color:	#ffffff;
text-shadow: 0px 2px 3px rgba(0,0,0,0.4), 0px 4px 8px rgba(0,0,0,0.1), 0px 6px 12px rgba(0,0,0,0.1);
line-height: 1;

}



a {
outline: none;
color: #FFFFFF;
}
.entry-content a:visited, .comment-content a:visited {
color: #FFFFFF;
text-decoration: underline;
}

a.nounderline {
text-decoration: none;
}

	

/* styling for accordion menu */
div.accordion {
	margin:0 auto;
	width:190px;
}

div.accordion  a {
	text-decoration: none;
}
div.accordion  h3 {
	color: #FFFFFF;
	margin-bottom: 10px;
}
div.accordion  .highlight a {
	color: #90904F;
	font-weight: bold;
}
div.accordion  .highlight a:hover {
	color: #000000;
	font-weight: bold;
}

.textwidget .accordion	{
	padding:0;
	margin: 0;
	margin-top: 10px;
	word-wrap: normal;
	text-wrap:normal;
}

/* button styling */
a.button {
color: #FFFFFF !important;
background: #CDCD5C;
border: 0;
padding: 3px 3px;
font-size: 16px;
/* -webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;*/
box-shadow: 2px 3px 3px #333;
-moz-box-shadow: 2px 3px 3px #333;
-webkit-box-shadow: 2px 3px 3px #333; 
}


img.mindbody {
position: relative;
top: 4px;
}

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
img.noshadow { box-shadow: 0px 0px 0px #333;
-moz-box-shadow: 0px 0px 0px #333;
-webkit-box-shadow: 0px 0px 0px #333; }

table p	{
	font-size: 1rem;
	line-height: 1.2rem;
}

/* styling for our instructors table - also applied to book a class table */

table.profilepics {
background:	#BFBF55;
background-color: rgba(205,205,92,0.4);
vertical-align: top;

}

.wrap table { 
float:left;
width: 320px;
}

table.profilepics p  {
color:	#444;
width: 95%;
}

table.profilepics td {
vertical-align: top;
padding: 6px 10px 6px 6px

}

.entry-content table, .comment-content table {
border:none; 

}
.entry-content td, .comment-content td {
border: none;
}

/* styling for sports accordion  */

table.sports {
vertical-align: top;

}

table.sports h3.collapseomatic	{
color: #ffffff;
}

table.sports ul li	{
color: #444;
width: 80%;
}

table.sports td {
vertical-align: top;
padding: 6px 10px 6px 6px;
}

/* Styling for Price table */

table.price 	{
margin: 0;
padding: 0;
background:	#BFBF55;
background-color: rgba(205,205,92,0.4);
vertical-align: top;
width: 100%;
}

table.price td, table.price th  {
color: #444;
vertical-align: top;
padding: 6px 10px 6px 6px
}

table.price th  {

}

table.notes	{
color: #444;
}