/*
Theme Name:     Dzine Factory
Author URI:     http://dzinefactory.com.au/
Template:       twentythirteen
*/

@import url("../twentythirteen/style.css");

@font-face {
    font-family:'menu-font';
    src: url('fonts/menu-font-webfont.eot');
    src: url('fonts/menu-font-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/menu-font-webfont.woff') format('woff'),
         url('fonts/menu-font-webfont.ttf') format('truetype'),
         url('fonts/menu-font-webfont.svg#abeatbykairegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*   Disable Hypenation   */
.site-content article .entry-content,
.site-content article,
.widget-area .widget{
	word-wrap:normal;
	-webkit-hyphens:none;
	-moz-hyphens:none;
	hyphens:none;
}

/*  ENTRY CONTENT GLOBAL  */

.entry-content img.alignleft,
.entry-content .wp-caption.alignleft {
	margin-left:0;
}

.entry-content img.alignright,
.entry-content .wp-caption.alignright {
	margin-right:0;
}

/*  MAIN CONTENT  */

html, body{
	padding:0;
	margin:0;
	height:100%;
}

body{
	/*background:#2C1507 url(images/header-bg-01.jpg) repeat-x top;*/
	background:#464646;  /* EXTENDED FOOTER COLOUR FOR MOBILE DEVICES */
}

#wrap{  /* STICKY FOOTER */
	background:#FFF;
	height:100%;
}

body > #wrap {  /* STICKY FOOTER */
    height:auto;
    min-height:100%;
}

#page {  /* STICKY FOOTER */
    padding-bottom:115px; /* same value as footer height */
}

.site{
	max-width:100%;
	/*max-width:900px;*/
	border:none;
	background-color:transparent;
	/*border:solid 1px;*/
}

.entry-content{
}

.header-logo{
	position:relative;
	display:block;
}

/*  SET DEFAULT FONT TYPE/FAMILY  */
html,
button,
input,
select,
textarea{
	font-family:Open Sans, "Source Sans Pro", Helvetica, sans-serif;
}

.format-link .entry-title,
.author-description .author-title{
	font:300 italic 20px Open Sans, "Source Sans Pro", Helvetica, sans-serif;
}

.site-description{
	font:300 italic 24px Open Sans, "Source Sans Pro", Helvetica, sans-serif;
}

.comments-title,
.comment-reply-title{
	font:300 italic 28px Open Sans, "Source Sans Pro", Helvetica, sans-serif;
}

.archive-title,
.archive-meta,
.page-title,
.attachment .entry-title{
	font:300 italic 30px Open Sans, "Source Sans Pro", Helvetica, sans-serif;
}

/*     HEADER     */

/*#masthead{*/
.site-header{
	margin:0 auto;
	max-width:900px;
	background:#FFF;
	min-height:120px;
}

.site-header-inner{
	position:relative;
	margin:0 auto;
	min-height:120px;
	max-width:100%;
}

.site-header .home-link {
	position:absolute;
	display:block;
	margin-left:0;
	padding:0;
	max-width:340px;
	height:120px;
	text-decoration:none;
	z-index:104;
	
}

.header-extra{ /* SOCIAL MEDIA ICONS  */
	display:block;
	float:right;
	width:100%;
	max-width:100%;
	height:120px;
	text-align:right;
}


.header-extra .widget{
	padding:0;
	margin:35px 0 0 0;
	background-color:transparent;
}

.header-extra .widget .textwidget .fb-like{
	float:left;
	margin-top:17px;
}

.header-extra .widget .textwidget p{
	float:left;
	display:inline-block;
	margin:0;
}

.header-extra a{
	margin-left:13px;
}

.navbar{
	background-color:transparent;
	min-height:67px;
	padding:14px 0 0 0;
	background:#464646;
	max-width:100%;
}

.navbar .search-form{
	display:none;
}

/*     NAVIGATION     */

.main-navigation{
	position:relative;
	clear:both;
	padding:0;
	width:800px;
	margin:0 auto;
	text-align:center;
}

ul.nav-menu,
div.nav-menu > ul{
	position:relative;
	/*margin:20px auto 0;*/
	/*margin-top:20px;*/
/*	max-width:375px;*/
	padding:0;
	/*text-align:center;*/
	font-family:menu-font, Open Sans, "Source Sans Pro", Helvetica, sans-serif;
	/*border:solid 1px;*/
}

.toggled-on ul.nav-menu,
.toggled-on div.nav-menu > ul{
}

.nav-menu li{
	display:inline-block;
	position:relative;
	padding:10px 10px;
}

div.nav-menu > ul li.current_page_item a{
	color:#F7931E;
	font-style:normal;
	padding:0;
	margin:0;
}

.nav-menu li a{
	color:#F2F2F2;
	display:block;
	font-size:20px;
	line-height:1;
	text-decoration:none;
	padding:0 1px 6px 1px;
	margin:0 14px;
	margin:0;
}

.nav-menu li:hover > a,
.nav-menu li:focus > a,
.nav-menu li a:hover,
.nav-menu li a:focus{
	color:#F7931E;
	background-color:transparent;
}

.nav-menu .sub-menu,
.nav-menu .children{
	background-color:#220e10;
	border:2px solid #f7f5e7;
	border-top:0;
	display:none;
	padding:0;
	position:absolute;
	left:-2px;
	z-index:99999;
}

.nav-menu .sub-menu ul,
.nav-menu .children ul{
	border-left:0;
	left:100%;
	top:0;
}

ul.nav-menu ul a,
.nav-menu ul ul a{
	color:#fff;
	margin:0;
	width:200px;
}

ul.nav-menu ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:hover.
.nav-menu ul ul a:focus{
	background-color:#db572f;
	border-bottom:#F7931E solid 2px;
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul{
	display:block;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a{
	color:#F7931E;
	font-style:normal;
}
/*     KEEP TURNED OFF OR WON'T WORK     */

/*.menu-toggle{  
	display:none;
}*/

/* Form fields, general styles first. */
button,
input,
select,
textarea{
	border:1px solid #000;
	padding:0;
	border-radius:3px;
}

input,
textarea{
	color:#141412;
}

input[type="text"],
input[type="email"],
textarea{
	width:80%;
}

input:focus,
textarea:focus{
	border:1px solid #63D3D5;
	outline:0;
}

input:hover,
textarea:hover{
	border:1px solid #63D3D5;
	outline:0;
}

/* Buttons */
button,
input[type="submit"],
input[type="button"],
input[type="reset"]{
	border:none;
	border-bottom:none;
	border-radius:3px;
	color:#FFF;
	display:inline-block;
	padding:1px 14px 3px;
	text-decoration:none;
	background:#37ADC7;
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus{
	outline:none;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active{
	border:none;
	border-top:none;
	padding:1px 14px 3px;
}

/*  Social Media Header  */

#wpcf7-f501-o1 input[type="email"]{
	width:150px;
	height:20px;
	border-top-right-radius:0;
	border-bottom-right-radius:0;
	border-right:none;
	border-color:#333;
	background-color:transparent;
	text-indent:5px;
	text-align:center;
}

#wpcf7-f501-o1 input[type="email"]:focus{
	background-color:#FFF;
}

#wpcf7-f501-o1 input[type="submit"]{
	width:50px;
	height:20px;
	/*background:#37ADC7;*/
	background:#666;
	padding:0;
	border-top-left-radius:0;
	border-bottom-left-radius:0;
}


span.wpcf7-not-valid-tip{ /* GLOBAL */
	width:150%;
	padding:0 0 0 2px;
	text-transform:lowercase;
	/*color:#F7931E;*/
	color:#F60;
}

form.wpcf7-form div.wpcf7-response-output{ /* GLOBAL */
	visibility:hidden;
}

form.wpcf7-form div.wpcf7-mail-sent-ok{ /* GLOBAL */
	visibility:visible;
	width:350px;
	margin-top:-25px;
	background-color:transparent;
	text-align:left;
	color:#37ADC7;
	border:none;
	padding-left:0;
	margin-left:2px;
/*	border-radius:3px;
	box-shadow:0px 0px 6px #333;
	-moz-box-shadow:0px 0px 6px #333;
	-webkit-box-shadow:0px 0px 6px #333;
	-o-box-shadow:0px 0px 6px #333;*/
	float:left;
}

/* MAIN SLIDER PROPERTIES */

#main-slideshow{
	position:relative;
	margin:0 auto;
	/*background-color:#E8EDF3;*/
	max-width:100%;
}

#main-slideshow img{
/*	border:#FFF solid 10px;
	box-shadow:0px 0px 6px #999;
	-moz-box-shadow:0px 0px 6px #999;
	-webkit-box-shadow:0px 0px 6px #999;*/
}

#main-slideshow .flexslider{
	margin-bottom:20px;
}

/* CONTENT AREA */
/* GLOBAL ARTICLE PROPERTIES */

.site-main{
	margin:0 auto;
	max-width:900px; /* CONTROLS MAX WIDTH OF ALL COLUMNS COMBINED */
	height:100%;
	overflow:hidden;
	/*border-bottom:solid 1px;*/
}

#quaternary{
	display:none;
}

#quaternary .sidebar-inner{
	float:left;
}

#primary{
	float:left;
	max-width:68%;
	width:68%;
	/*max-width:615px;*/
	padding:0;
	padding-bottom:30px;
	/*height:100%;*/
}

#primary .entry-content{
	background:#E8EDF3;
	padding:30px 37px;
	/*min-height:420px;*/
}

#primary .entry-content ul li{
	list-style-type:disc;
}

#tertiary{
	float:right;
	max-width:31%;
	/*max-width:259px;*/
	padding:0;
}

#tertiary .sidebar-inner{
	float:right;
}

#tertiary aside .widget-title{
	max-width:239px;
	font-size:30px;
	line-height:1.3em;
	font-weight:normal;
	font-style:normal;
	color:#434343;
	margin-bottom:30px;
	
}

#tertiary .textwidget{
	max-width:239px;
	margin-top:30px;
	/*padding:30px 37px;*/
	background:#E8EDF3;
	border-top-left-radius:6px;
	border-top-right-radius:6px;
	min-height:420px;
}

#quaternary .menu-treatments-container{
	max-width:170px;
	margin-top:65px;
	/*background:#E8EDF3;*/
}

#tertiary .textwidget{
}

.site-main .sidebar-container{  /* OVERIDE PARENT THEME/TURN ON TERTIARY CONTAINER & REMOVE DEFAULT PROPERTIES  */
	height:100%;
	position:static;
}

#tertiary .widget-area,
#quaternary .widget-area{
	width:100%;
}

.entry-header,  /* OVERIDE PARENT THEME */
.entry-content,
.entry-summary,
.entry-meta {
	max-width:100%;
	width:100%;
}

.sidebar .entry-header,  /* OVERIDE PARENT THEME */
.sidebar .entry-content,
.sidebar .entry-summary,
.sidebar .entry-meta {
	max-width:100%;
	padding:0;
}

/*#primary article .entry-header,
#primary article .entry-title,
#primary h1.page-title,*/
#tertiary aside .widget-title,
#quaternary aside .widget-title{ /*  TURN ON/OFF HEADER TEXT  */
	display:none;
}

#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6{
	height:100%;
	max-width:100%;
	padding:0 12px 0 0;
	font-family:Open Sans, "Source Sans Pro", Helvetica, sans-serif;
}

#main h1{
	font-size:28px;
	color:#434343;
}

/*#quaternary .widget-area aside h3,*/
#primary article .entry-content h3,
#primary .page-description h3{
	font-style:italic;
	font-weight:normal;
	color:#37ADC7;
	margin-top:0;
}

#primary article .entry-content h6{
	margin-top:0;
}

#primary article,
#tertiary aside,
#quaternary aside{ /* OVERIDE PARENT THEME */
	padding:0;
	background-color:transparent;
	font-size:15px;
}

#tertiary .textwidget h4{
	height:37px;
	padding-top:5px;
	background:#4363B1;
	color:#FFF;
	text-align:center;
	border-top-left-radius:6px;
	border-top-right-radius:6px;
}

/* PAGE SPECIFIC PROPERTIES: HOME */

.page-id-364 #primary{
}

.page-id-364 #quaternary{
	/*display:block;*/
}

/* PAGE SPECIFIC PROPERTIES: ABOUT */

.page-id-10 #quaternary{
}

.page-id-10 #primary{
}

.page-id-10 #tertiary{
}

/* PAGE SPECIFIC PROPERTIES: TREATMENTS */

.page-id-6 #quaternary,
.parent-pageid-6 #quaternary{
	display:block;
	float:left;
	max-width:24.5%;
	/*width:24.5%;*/
	padding:0;
	/*background:#eee;*/
}

.page-id-6 #primary,
.parent-pageid-6 #primary{
	max-width:75.5%;
}

.page-id-6 #tertiary,
.parent-pageid-6 #tertiary{
	display:none;
}

.page-id-6 #primary .entry-content img.alignleft,
.parent-pageid-6 #primary .entry-content img.alignleft{
	margin-left:0;
	border:#FFF solid 3px;
}

.page-id-6 #primary .entry-content img.alignright,
.parent-pageid-6 #primary .entry-content img.alignright{
	margin-right:0;
	border:#FFF solid 3px;
}

/* PAGE SPECIFIC PROPERTIES: PRICELIST */

.page-id-12 #quaternary{
}

.page-id-12 #primary{
}

.page-id-12 #tertiary{
}

.page-id-12 #primary .entry-content table{
	width:100% !important;
}

.page-id-12 #primary .entry-content table tbody tr{
	height:20px;
	overflow:hidden;
}

.page-id-12 #primary .entry-content table tbody tr td{
	height:20px !important;
	line-height:17px;
	width:50%;
}

/* PAGE SPECIFIC PROPERTIES: AVAILABILITY */

.page-id-811 #quaternary{
}

.page-id-811 #primary{
}

.page-id-811 #tertiary{
}

.page-id-811 #primary .easy_testimonial{
	font-size:16px;
}

/* PAGE SPECIFIC PROPERTIES: CONTACT US */

.page-id-465 #quaternary{
	/*display:block;*/
}

#primary{
	float:left;
	max-width:68%;
	/*max-width:615px;*/
	padding:0;
	padding-bottom:30px;
}

#primary .entry-content{
	background:#E8EDF3;
	padding:30px 37px;
	min-height:600px;
	/*height:600px;*/
}

.page-id-465 #primary{
	float:left;
	max-width:46%;
	width:46%;
}

.page-id-465 #tertiary{
	max-width:46%;
	width:46%;
}

.page-id-465 #tertiary aside#black-studio-tinymce-7{
	display:none;
}

#tertiary aside#black-studio-tinymce-13{
	display:none;
}

.page-id-465 #tertiary aside#black-studio-tinymce-13{
	display:block;
}


.page-id-465 #tertiary .sidebar-inner{
	width:100%;
	max-width:100%;
}

.page-id-465 #tertiary .textwidget{
	max-width:100%;
	width:100%;
	margin-top:65px;
	background:#E8EDF3;
	border-top-left-radius:0;
	border-top-right-radius:0;
	min-height:600px;
	padding:30px 37px;
}

.page-id-465 #tertiary .textwidget h4{
	height:37px;
	padding-top:0;
	background:none;
	color:#000;
	text-align:left;
	border-top-left-radius:0;
	border-top-right-radius:0;
	font-weight:normal;
	margin:0;
}

.page-id-465 #tertiary .textwidget p{
	font-family:Arial, Helvetica, sans-serif;
	font-style:italic;
}

.page-id-465 #tertiary .textwidget a,
.page-id-465 #tertiary .textwidget a:active{
	color:#000;
	text-decoration:none;
}

.page-id-465 #tertiary .textwidget a:hover,
.page-id-465 #tertiary .textwidget a:focus{
	color:#C60;
}

#wpcf7-f394-p465-o2 input[type="submit"]{
	background:#37ADC7;
}

#wpcf7-f394-p465-o2 input[type="submit"]:hover,
#wpcf7-f394-p465-o2 input[type="submit"]:focus{
	padding:10px 20px;
	background:#37ADC7;
	box-shadow:0px 0px 6px #333;
	-webkit-box-shadow,:0px 0px 6px #333;
	-moz-box-shadow:0px 0px 6px #333;
	-o-box-shadow:0px 0px 6px #333;
}

#wpcf7-f394-p465-o2 input[type="submit"]{
	padding:10px 20px;
}

#wpcf7-f394-p465-o2 input[type="submit"]:hover{

}

/*     TERTIARY WIDGETS - TREATMENTS MENU     */

div.sidebar-inner div.widget-area aside#nav_menu-2.widget.widget_nav_menu div.menu-treatments-container ul#menu-treatments.menu,
.page-id-6 #quaternary .widget-area aside .menu-treatments{
	/*background:#EEE;*/
	max-width:170px;
	width:170px;
}

#quaternary .widget-area aside li{
	border-bottom:#CCC solid 1px;
	/*border:#999 solid 1px;*/
	height:43px;
	padding:9px 0 0 12px;
}

#quaternary .widget-area aside a,
#quaternary .widget-area aside a:active{
	font-family:menu-font, Open Sans, "Source Sans Pro", Helvetica, sans-serif;
	font-weight:500;
	color:#000;
	font-size:16px;
	letter-spacing:2px;
	outline:#FFF;
}

#quaternary .widget-area aside a:hover,
#quaternary .widget-area aside a:focus,
#quaternary .widget-area aside li.current-menu-item a{
	text-decoration:none;
	color:#F7931E;
}

/*html body.page.page-id-824.page-child.parent-pageid-6.page-template-default.single-author.sidebar div#wrap div#page.hfeed.site.clear div#main.site-main div#quaternary.sidebar-container div.sidebar-inner div.widget-area aside#nav_menu-2.widget.widget_nav_menu div.menu-treatments-container ul#menu-treatments.menu li#menu-item-841.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item.page_item.page-item-824.current_page_item.menu-item-841*/

/*     TERTIARY WIDGETS - FACEBOOK     */

.cff-wrapper{
	width:85%;
	margin:0 auto;
}

#cff .cff-header{
}

#cff .cff-header .fa,
#cff .cff-header .fa-facebook-square{  /* FACEBOOK SQUARE LOGO */
	background:#666 url(images/icon-instagram.png) no-repeat;
}

#cff .cff-header span.header-text{  /* HEADER TEXT */
}

#cff .cff-item{
	padding:0 0 5px 0;
}

/*#cff .cff-item .cff-author .cff-author-text,*/
#cff .cff-item .cff-author span.cff-page-name{
	display:none;
}

#cff .cff-item div.cff-author{
	display:inline-block;
	clear:none;
	max-width:20%;
	width:20%;
}

#cff .cff-item div.cff-author a{
}

#cff .cff-item div.cff-author-img{
	border-radius:6px;
	border:#FFF solid 1px;
	box-shadow:0 0 2px #333;
	height:auto;
	margin-left:0 !important;
}

#cff .cff-item p.cff-post-text{
	display:inline-block;
	float:right;
	margin:0;
	max-width:80%;
	padding-left:10px;
	/*border:solid 1px;*/
	clear:none;
	font-size:11px;
	color:#333;
	/*margin-top:-70px;*/
}

#cff .cff-more,
#cff .cff-less{
	float:right;
	padding-right:10px;
	color:#4363B1;
}

aside#black-studio-tinymce-17.widget.widget_black_studio_tinymce div.textwidget iframe{
	margin-top:-30px;
}

html#facebook body.plugin.gecko.win.x1.Locale_en_GB div._li div.pluginSkinLight.pluginFontHelvetica div table.uiGrid._51mz.pluginConnectButtonLayoutRoot._3c9t tbody tr._51mx td._51m-.pls._51mw{
	display:none !important;
}

/*     TERTIARY WIDGETS - INSTAGRAM     */

aside#black-studio-tinymce-7 .instagram-widget{
	padding:10px;
	margin-bottom:0;
}


/*     SITE FOOTER/COLOPHON     */

#footerWrapper {  /* STICKY FOOTER */
    margin:-115px auto; /* negative value of footer height */
    position:relative;	
    max-height:115px;
    clear:both;
	width:100%;
}

.site-footer-width {   /* FOOTER ONLY */
	margin:0 auto;
	width:100%;
}

footer[role="contentinfo"] {  /* STICKY FOOTER */
    margin:0;
    padding:0 0;
}

.site-footer {
	background:#464646;
	color:#686758;
	font-size:14px;
	text-align:center;
	height:115px;
	color:#CCC;
}

#colophon .site-info{ /*  CONTROLS MAX WIDTH OF ALL FOOTER COLUMNS COMBINED */
	margin:0 auto;
	background:#464646;
	max-width:900px;
	padding:0;
	/*width:100%;*/
	height:115px;
}

#colophon #col1,
#colophon #col2{
	position:relative;
	width:100%;
	text-align:center;
}

#colophon #col1{
	padding-top:23px;
	min-height:50px;
}

#colophon #col1 li{
	margin:0;
	padding:0;
}

#colophon #col1 a{
	margin:0 10px;
	padding-left:0;
	padding-right:0;
	font-size:15px;
	color:#F2F2F2;
}

#colophon #col2{
	margin:15px 0 0 0;
	padding:0;
	min-height:50px;
	font-size:12px;
}

#colophon #col2 p{
	margin:0;
}

#colophon #col2 a{
	color:#CC5600;
}

.dzinefactory{
	padding-top:5px;
	font-size:11px;
}

/* ///////////  EASY FANCY BOX PROPERTIES  ///////////  */


/*     MEDIA QUERIES     */

@media (max-width: 1599px) {

}

@media (max-width: 1069px) {
	.site-main .widget-area { /* OVERIDE PARENT THEME */
		margin-right:0;
	}

}

@media (max-width: 999px) {
	.sidebar .entry-header,
	.sidebar .entry-content,
	.sidebar .textwidget,
	.sidebar .entry-summary,
	.sidebar .entry-meta,
	.sidebar .comment-list,
	.sidebar .comment-reply-title,
	.sidebar .comment-navigation,
	.sidebar .comment-respond .comment-form,
	.sidebar .featured-gallery,
	.sidebar .post-navigation .nav-links,
	.author.sidebar .author-info {
		/*max-width:604px;*/
	}
	
	.site-main .widget-area {
	}

}

@media (max-width: 767px) {
	#primary article .entry-content h3{
	}

}

/*  TABLETS  */
@media (max-width: 643px) {

	.site-header-inner{
		max-width:960px;
		width:100%;
		min-height:83px;
	}

	.header-extra{  /* SOCIAL MEDI ICONS  */
		float:none;
		margin:0 auto;
		text-align:center;
	}

	.header-extra .widget{
		margin:0;
	}

	.site-header .home-link {
		position:static;
		margin:0 auto;
		z-index:0;
	}
	
	.main-navigation{
		max-width:100%;
	}

	.navbar {
		float:none;
		margin:0;
		width:100%;
		max-width:100%;
		/*padding:0;*/
		max-height:100%;
	}

/*     SMALL MENU (TOGGLED)    */
	.menu-toggle{
		position:relative;
		font-weight:normal;
		margin-top:1px;
		width:100%;
		/*text-align:right;*/
		text-align:center;
		padding-right:20px;
		color:#FFF;
	}

	.menu-toggle:after{
		content:"\f502";
		font-size:12px;
		padding-left:8px;
		vertical-align:-4px;
		color:#FFF;
	}

	.toggled-on .menu-toggle:after{
		content:"\f500";
		vertical-align:2px;
	}

	.toggled-on .nav-menu,
	.toggled-on .nav-menu > ul{
		display:inline-block;
		margin-left:0;
		padding:0;
		max-width:100%;
		width:100%;
		background-color:#464646;
	}

	.toggled-on li,
	.toggled-on .children{
		display:block;	
		float:left; /* HALF SIZE BUTTONS */
		width:50%; /* HALF SIZE BUTTONS */
		text-align:center;
	}

	.toggled-on .nav-menu li > ul{
		background-color:transparent;
		display:block;
		float:none;
		margin-left:20px;
		position:relative;
		left:auto;
		top:auto;
	}

	.toggled-on .nav-menu li{
		padding:0;
	}
	
	.toggled-on .nav-menu li a{
		padding:10px;
		transition:all 0.3s ease;
		-moz-transition:all 0.3s ease;
		-webkit-transition:all 0.3s ease;
	}
	
	.toggled-on .nav-menu li > ul a{
	}

	.toggled-on .nav-menu .current_page_item > a,
	.toggled-on .nav-menu .current_page_ancestor > a,
	.toggled-on .nav-menu .current-menu-item > a,
	.toggled-on .nav-menu .current-menu-ancestor > a{
		border-bottom:none;
		color:#F7931E;
	}
	
	.toggled-on .nav-menu li:hover > a,
	.toggled-on .nav-menu li:focus > a,
	.toggled-on .nav-menu .children a{
		color:#FFF;
		/*background:#37ADC7;*/
		background:#C60;
		border-bottom:none;
		transition:all 0.3s ease;
		-moz-transition:all 0.3s ease;
		-webkit-transition:all 0.3s ease;
	}
	
	.toggled-on .nav-menu li a:hover,
	.toggled-on .nav-menu li a:focus,
	.toggled-on .nav-menu ul a:hover,
	.toggled-on .nav-menu ul a:focus{
		border-bottom:none;
		background:#F2F2F2;
		color:#464646;
		/*background:#C60;*/
		transition:all 0.3s ease;
		-moz-transition:all 0.3s ease;
		-webkit-transition:all 0.3s ease;
		border-radius:6px;
	}	

/*     MAIN CONTENT    */
	
	#quaternary,
	.page-id-6 #quaternary,
	.parent-pageid-6 #quaternary{
		float:none;
		max-width:100%;
		width:100%;
		text-align:center;
		overflow:hidden;
		margin-bottom:10px;
	}

	#primary,
	.page-id-6 #primary,
	.parent-pageid-6 #primary{
		float:none;
		max-width:100%;
		width:100%;
		text-align:center;
	}

	#tertiary{
		float:none;
		max-width:100%;
		text-align:center;
	}
	
	.entry-title, /* CHANGE DEFAULT BEHAVIOUR*/
	.format-chat .entry-title,
	.format-image .entry-title,
	.format-gallery .entry-title,
	.format-video .entry-title{
		font-weight:normal;
	}
	
	#tertiary .sidebar-inner{
		float:none;
	}

/*	#tertiary aside .widget-title{
		max-width:100%;
		border:#f00 solid 1px;
	}*/

	#content .entry-content,
	#quaternary .textwidget,
	#tertiary .textwidget{
		max-width:90%;
		margin:0 auto;
		padding-left:20px;
		padding-right:20px;
	}
	
	#quaternary .sidebar-inner{
		max-width:100%;
		width:100%;
	}
	
	.page-id-6 #quaternary .menu-treatments-container,
	.parent-pageid-6 #quaternary .menu-treatments-container{
		max-width:100%;
		width:100%;
		margin-top:15px;
		text-align:left;
	}
	
	.page-id-6 div.sidebar-inner div.widget-area aside#nav_menu-2.widget.widget_nav_menu div.menu-treatments-container ul#menu-treatments.menu,
	.parent-pageid-6 div.sidebar-inner div.widget-area aside#nav_menu-2.widget.widget_nav_menu div.menu-treatments-container ul#menu-treatments.menu{
		max-width:100%;
		width:100%;
		text-align:center;
	}

	.page-id-6 #quaternary .widget-area aside li,
	.parent-pageid-6 #quaternary .widget-area aside li{
		display:inline-block;
		/*float:left;*/
		width:30%;
		text-align:center;
		/*border-bottom:#CCC solid 1px;
		height:43px;*/
		padding:7px 0 0 0;
	}
	
	#tertiary .textwidget{
		max-width:90%;
		margin:0 auto;
	}
	
	#primary article .entry-content h3,
	#tertiary aside .textwidget h3,
	#quaternary aside .textwidget h3{	
	}
	
	#primary article .entry-content .h3-spacer{	
		height:100%;
	}

/* PAGE SPECIFIC PROPERTIES: HOME */
	
	.page-id-364 #quaternary{
		float:none;
		max-width:100%;
		width:100%;
		float:none;		
	}

	.page-id-364 #primary{
		float:none;
		max-width:100%;
		width:100%;		
	}

/* PAGE SPECIFIC PROPERTIES: CONTACT US */

/*	.page-id-465 #quaternary{
		float:none;
		max-width:100%;
	}

	.page-id-465 #primary{
		float:none;
		max-width:100%;
		width:100%;
	}*/
	
	/* PAGE SPECIFIC PROPERTIES: CONTACT US */
	
	.page-id-465 #primary{
		float:none;
		max-width:100%;
		width:100%;
	}

	.page-id-465 #tertiary{
		float:none;
		max-width:100%;
		width:100%;
		min-height:0;
	}
	
	.page-id-465 #tertiary .textwidget{
		margin-top:10px;
		max-width:90%;
		word-wrap:break-word;
		min-height:200px;
		height:200px;

	}	

	.page-id-465 #tertiary .textwidget h4{
		text-align:center;
	}

	form.wpcf7-form div.wpcf7-mail-sent-ok{
		float:none;
		margin:0 auto;
	}

/*     FOOTER PROPERTIES    */
	#colophon #col1,
	#colophon #col2{
		background:#464646;
		max-width:100%;
	}
	
	#colophon #col1 .nav-menu{
		display:block;
	}
	
	#colophon #col1 a{
		margin:0 10px;
	}
}

@media (max-width: 469px) {
	.page-id-6 #quaternary .widget-area aside li,
	.parent-pageid-6 #quaternary .widget-area aside li{
		width:50%;
		height:43px;
		/*padding:0;*/
	}
}

/* MOBILE DEVICES */
@media (max-width: 389px) {
	#primary article .entry-content h3,
	#tertiary aside .textwidget h3{
	}

	#primary article .entry-content,
	#tertiary aside .textwidget{
/*		text-align:center;
		padding:0;
		margin:-20px 0 40px 0;*/
	}
	
/*     TOGGLE SMALL     */
	
	.toggled-on li,
	.toggled-on .children{
		display:block;	
		float:left; /* HALF SIZE BUTTONS */
		width:100%; /* HALF SIZE BUTTONS */
		text-align:center;
	}
	
	#colophon #col1 li{
		width:100%;
		padding:0;
		margin:0;
	}
	
	#colophon #col1 a{
		display:block;
		max-width:100%;
		width:100%;
		margin:0;
	}
}



/*  LATER EDITIONS  */

div.gallery figure.gallery-item{
margin:15px;
}

div.gallery figure.gallery-item figcaption.wp-caption-text{
text-align:center;
padding:10px 0;
font-style:normal;
}

div#lightbox #imageDataContainer #imageDetails{
text-align:center !important;
width:100% !important;
}

div#lightbox #imageDataContainer #imageData span#captionText{
font-size:18px;
}

div#lightbox #imageDataContainer #imageData span#numberDisplay{
display:none !important;
}