/*   
Theme Name: CHT Melbourne
Theme URI: 
Description: Theme created by Optimising in 2013
Author: Ryan Stock
Author URI: http://www.optimising.com.au
Template: thematic
Version: 1.0
Tags: 

.
The Thematic Theme is copyright Ian Stewart http://themeshaper.com/
This work, like WordPress, is released under GNU General Public License, version 2 (GPL).
.

*/

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}


/* For ticked lists*/
#container li.tick:before{
  content: "\2713";
  color: #429a8c;
  position: absolute;
  margin-left: -1.3em;
  font-weight: bold;
}
#container li.tick{
  /*margin-top: 0;
  padding-left: 2em;*/
  list-style-type: none !important;
}


.home .slick-slider {margin-bottom: 0px;}

.page-template-template-page-fullwidth-php #content {
 	padding-right: 0px !important;
}
.page-template-template-page-fullwidth-php #main {
 	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important; 
}

.page-template-template-page-fullwidth-php iframe {
 	width: 100% !important;
}

.booking-buttons-copy {
	margin: 0px 0px 30px 0px;
	width: 100%;
	color: #fff;
	background-color: #429a8c;
	border-color: #3a887c;
	display: inline-block;
	margin-bottom: 0;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	touch-action: manipulation;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	white-space: nowrap;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.428571429;
	border-radius: 2px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
}
.booking-buttons-copy:hover, .booking-buttons-copy:focus, .booking-buttons-copy.focus, .booking-buttons-copy:active, .booking-buttons-copy.active, .open > .dropdown-toggle.booking-buttons-copy {
	color: #fff;
	background-color: #33766c;
	border-color: #285d55;
}

/* From reset.css, seemed to break whenever new css was added, so duplicated here */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
    background:#fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a img { border: none; }



/* Custom CSS */
/*
.clearfix:after {
   content: " ";  Older browser do not support empty content 
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}*/

/*#courses-box .courses{
 list-style-type: none; 
}

.main-aside .xoxo{
 list-style-type:none; 
}*/

/*
.page-id-1091 #main {
	height:2400px
}
.page-id-1091 #container {
	width:100% !important;
}*/




/* Reset browser defaults */
/*@import url('../thematic/library/styles/reset.css');*/

/* Apply basic image styles */
/*@import url('../thematic/library/styles/images.css');*/
.skip-link {
	position:absolute;
	display:none;
}
.clear {
	clear:both;
}
.btn {
	background:#333;
	display:inline-block;
	padding:.4em 1.7em;
	color:#fff;
	appearance:normal;
	-webkit-appearance:normal;
	border:1px solid #ccc;
	border:none;
	border-radius:8px;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	-o-border-radius:8px;
}
.btn.btn-3d {
	border-top:1px solid rgba(255,255,255,.3);
	border-bottom:1px solid rgba(0,0,0,.3);
}
.btn:hover {
	background:#444;
}
.btn:active {
	background:#222;
	padding-top:.5em;
	padding-bottom:.3em;
	cursor:pointer;
}
.btn.btn-3d:active {
	border-top:1px solid rgba(0,0,0,.3);
	border-bottom:1px solid rgba(255,255,255,.3);
}
body {
	background:#9d9d9d url('images/body-bg.jpg') left top repeat-x;
	;
}
body, input, textarea {
	font-family:"Source Sans Pro", Arial, Helvetica, sans-serif;
	font-weight:400;
	font-size:14px;
}
#wrapper {
	width:960px;
	margin:25px auto;
	background:#fff;
	box-shadow:0 1px 40px rgba(0,0,0,.3);
}
#header {
	background:#fff;
	box-shadow:0 1px 5px rgba(0,0,0,0.35);
	position:relative;
}
img.attachment-course-feature {
	box-shadow:0 1px 5px rgba(0,0,0,0.35);
}
#branding {
	height:120px;
}
#blog-title a {
	background:url('/wp-content/uploads/CHT_logo_web.svg') left top no-repeat;
	width:258px;
	height:100px;
	display:block;
	text-indent:-999em;
	position:absolute;
	margin:15px 0 10px 15px;
}
.phone {
	position:absolute;
	right:22px;
	top:36px;
	color:#24bbae;
	font-size:16px;
	text-align:right;
}
.tel {
	margin-top:2px;
	color:#24bbae;
	font-size:35px;
}


#access {
	background:#494949;
	text-align:center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.25);
	position: relative;
	z-index:50;
	font-size:15px;
}
#access li {
	display:inline-block;
	position:relative;
	margin:0 14px;
}
#access .menu > ul > li > a {
	padding:15px 15px;
	text-transform:uppercase;
}
#access ul > li > ul > li > a {
	padding:10px 0;
}
#access ul > li > ul > li > a:hover, #access ul > li > ul > li.current_page_item a,#access ul > li > ul li.current-menu-item a {
	color:#5fb4a0;
}
#access ul > li > ul {
	padding:5px 0;
}
#access > .menu > ul > li.current-menu-item:after,
#access > .menu > ul > li.current-menu-parent:after,
#access > .menu > ul > li.current-menu-ancestor:after,
#access > .menu > ul > li.current_page_parent:after,
#access > .menu > ul > li.current_page_ancestor:after {
	content:"";
	position:absolute;
	border:6px solid #fff;
	border-bottom:none;
	border-color:#fff transparent;
	top:0;
	left:50%;
	margin-left:-6px;
}
#access a {
	display:inline-block;
	color:#fff;
	text-decoration:none;
	font-size:14px;
	font-weight:normal;
}
#access > .menu > ul > li#menu-item-18 > a:after, #access > .menu > ul > li#menu-item-232 > a:after {
	content:"▾";
	padding-left:7px;
}
#access > .menu > ul > li > a:hover, #access > .menu > ul > li.sfHover > a {
	background-color:#333!important;
}
#access ul ul {
	position:absolute;
	text-align:left;
	background:rgb(0,0,0);
	background:rgba(0,0,0,.9);
	z-index:99;
	display:none;
	width:14em!important;
}
#access ul ul li a {
	width:100%;
	display:block;
}
#main {
	padding:25px;
 	box-shadow:0 1px 5px rgba(0,0,0,0.35);
}

#container {
	line-height:1.6em;
	float:left;
	width:70%;
}

#container h1 {
	font-size:32px;
	margin-bottom:.4em;
	line-height:1.2em;
}
#container td {
	padding:.4em;
}
#content {
	padding-right:30px;
}
#primary {
	width:30%;
	float:right;
}
#primary .quote-box {
	background:#ed6d6c;
	padding:10px;
	color:#fff;
	text-shadow:1px 1px 0 rgba(0,0,0,.4);
	line-height:1.5em;
	position:relative;
	border-radius:6px;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	margin-bottom:30px;
	box-shadow:0px 1px 4px rgba(0,0,0,.3);
}
#primary .quote-box:before {
	content:'';
	position:absolute;
	bottom:-17px;
	left:31%;
	display:block;
	border-width:25px 15px 0;
	border-style:solid;
	border-color:#ccc transparent;
	transform:rotate(30deg);
	-webkit-transform:rotate(30deg);
}
#primary .quote-box:after {
	content:'';
	position:absolute;
	bottom:-15px;
	left:30%;
	display:block;
	border-width:25px 15px 0;
	border-style:solid;
	border-color:#ed6d6c transparent;
	transform:rotate(30deg);
	-webkit-transform:rotate(30deg);
}
#primary .quote-box span {
	display:block;
	text-align:center;
}
#primary .quote-box .title {
	font-size:20px;
	font-weight:700;
	margin-bottom:0.4em;
}
#primary .quote-box .text {
	margin-bottom:0.4em;
}
#primary .quote-box .price {
	font-size:2em;
	margin-bottom:.3em;
	font-weight:700;
}
#primary #text-3 h3 {
	margin-bottom:.4em;
	font-size:1.2em;
	text-transform:uppercase;
}
#primary .input, #content .input {
	display:block;
}
#primary .input input, #primary .input textarea, #content .input input, #content .input textarea {
	padding:.7em .8em;
	margin-bottom:.5em;
	appearance:normal;
	-webkit-appearance:normal;
	border:1px solid #ccc!important;
	box-shadow:0px 1px 2px rgba(0,0,0,.2);
	border-radius:6px;
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	-o-border-radius:6px;
	box-sizing: border-box;
	max-width: 100%;
	font-size:14px;
}
#content .input textarea {
	width:100%;
}
#primary .wpcf7-submit, #content .wpcf7-submit {
	background:#429a8c;
	display:inline-block;
	padding:.5em 1.2em;
	color:#fff;
	appearance:normal;
	-webkit-appearance:none;
	border:1px solid #ccc;
	border:none;
	border-radius:6px;
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	-o-border-radius:6px;
	cursor:pointer;
	box-shadow:0 1px 4px rgba(0,0,0,.3);
	margin:0;
	font-size:1em;
	font-weight:700;
}
#primary .wpcf7-submit:hover, #content .wpcf7-submit:hover {
	background:#ed6d6c;
}
h4.client {
	display:block;
	width:960px;
	background:#efefef;
	color:#666;
	font-size:14px;
	font-weight:bold;
	padding:10px;
	text-align:center;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
#footer {
	background:#383838 url('images/footer-bg.jpg') left top no-repeat;
	background-size:cover;
	float:left;
	color:#9f9f9f;
	box-shadow:0 1px 5px rgba(0,0,0,0.35);
	margin-bottom:20px;
}
#footer .under-img {
	margin-top:0.4em;
	display:block;
	font-size:13px;
}
#footer a {
	color:#fff;
	text-decoration:none;
}
#footer .columns.padded {
	padding:5px 25px;
}
#footer .columns .column {
	float:left;
	width:23%;
	margin:0 1%;
	padding-top:1em;
}
#footer .columns .column:last-child {
	margin-right:0!important;
}
#footer .column .title {
	color:#9f9f9f;
	text-transform:uppercase;
	font-size:1.2em;
	margin-bottom:1em;
}
#footer .quick-links li a {
	margin-bottom:0.7em;
	text-decoration:none;
	font-size:1.1em;
	display:block;
	margin-right:0;
	font-weight:300;
}
#footer .social li a {
	padding:.2em 0 .5em 40px;
	display:block;
	background:url('images/social-icons-black-sm.png') left top no-repeat;
	margin-right:4em;
	font-size:1.1em;
	font-weight:normal;
	font-weight:100;
}
#footer a:hover {
	color:#aaa;
}
#footer .social .facebook a {
	background-position:left top;
}
#footer .social .twitter a {
	background-position:left -50px;
}
#footer .social .youtube a {
	background-position:left -100px;
}
#footer .social .gplus a {
	background-position:left -150px;
}
#footer .testimonial span {
	display:block;
	margin-bottom:1em;
	line-height:1.5em;
	color:#eee;
}
#footer .testimonial .content {
	font-weight:300;
	font-style:italic;
}
#footer .testimonial .name {
	font-weight:bold;
	text-align:center;
}
#footer .testimonial .button {
	text-align:center;
}
/* Homepage */

.home #homepage-sidebar {
	width:33%;
	float:left;
	padding-right:2%;
}
.home #homepage-sidebar img {
	width:100%;
}
.home #homepage-sidebar .calendar {
	margin-bottom:1.4em;
	box-shadow:0 2px 2px rgba(0,0,0,.3);
}
.home #homepage-sidebar .calendar img {
	border-radius:6px;
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	-o-border-radius:6px;
}
.home #homepage-sidebar .under-img {
	display:block;
	text-align:center;
	margin-top:.4em;
}
.home #content {
	width:58%;
	float:left;
	padding-left:2%;
	padding-right:5%;
	text-align:justify;
}
.home h2 {
	font-size:1.4em;
	margin-bottom:15px;
	line-height:1.3em;
	text-align:left;
	font-family:thirsty,sans-serif;
	font-weight:normal!important;
}
/* Content */

h1.course {
	background:#62bba7 url('images/bg-green.jpg') left top repeat;
	padding:15px 22px;
	width:960px;
	display:block;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size:32px;
	line-height:1.2em;
	box-shadow:0 1px 5px rgba(0,0,0,0.35);
	color:#fff;
	text-shadow:1px 1px 0 rgba(0,0,0,.4);
}
#container a {
	color:#62bba7;
}
#container a:hover {
	color:#097259;
}
#container p, #container ul {
	margin-bottom:1em;
}
#container p:last-child, #container ul:last-child {
	margin-bottom:0;
}
#container ul {
	list-style:disc;
}
hr {
	float:left;
	margin:15px 0;
	height:1px;
	width:100%;
	background:#ccc;
	border:0;
	display:block;
}
#container li {
	padding-left:.3em;
	margin-left:1.6em;
	list-style:disc;
}
#container h2 {
	font-size:1.52em;
	margin-bottom:15px;
	line-height:1.3em;
	text-align:left;
}
#container .entry-meta {
	margin-bottom:15px;
	font-size:12px;
}
#container .entry-utility {
	margin-top:15px;
	font-size:12px;
}


/* Slider */

.slider-container {
	position:relative;
	box-shadow:0 1px 5px rgba(0,0,0,0.35)
}
.slider ul, .slider li {
	margin:0;
	padding:0;
	list-style:none;
	position:relative;
	display:block;
}
.slider li {
	display:none;
}
.slider li:first-child {
	display:block;
}
.slider, .slider li {
	width:960px;
	overflow:hidden;
}
/* Courses Box */

#courses-box {
	background:#62bba7 url('images/bg-green.jpg') left top repeat;
	padding:22px 15px;
	box-shadow:0 1px 5px rgba(0,0,0,.35);
}
#courses-box .course {
	float:left;
	width:23%;
	margin:0 1%;
	text-align:center;
}
#courses-box .course a {
	text-decoration:none;
}
#courses-box .bwWrapper {
	position:relative;
	display:block;
	border-radius:3px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	-o-border-radius:3px;
}
#courses-box .bwWrapper img {
	border-radius:6px;
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	-o-border-radius:6px;
}
#courses-box .course img {
	width:100%;
	height:140px;
	margin-bottom:15px;
	box-shadow:1px 1px 4px rgba(0,0,0,.4);
}
#courses-box .course .title {
	display:block;
	text-align:center;
	font-size:1.6em;
	color:#fff;
	text-shadow:1px 1px 0 rgba(0,0,0,.5);
	margin-bottom:15px;
	font-weight:700;
}
#courses-box .course .book,.book {
	display:block;
	text-align:center;
	display:inline-block;
	background:#000;
	color:#fff!important;
	box-shadow:1px 1px 4px rgba(0,0,0,.4);
	border-radius:6px;
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	-o-border-radius:6px;
	padding:.5em 1.2em;
	font-size:1.2em;
	font-weight:700;
	text-decoration:none;
}
#courses-box .course .book:hover,.book:hover {
	background:#ed6d6c;
}
#container .book {
	margin-bottom:15px;
}

/* WPCF7 */
div.wpcf7 {
	margin: 0;
	padding: 0;
}
div.wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
}
div.wpcf7-mail-sent-ok {
	border:0!important;
	color:#398f14;
	padding:0!important;
	margin:0!important;
}
div.wpcf7-mail-sent-ng {
	border: 2px solid #ff0000;
}
div.wpcf7-spam-blocked {
	border: 2px solid #ffa500;
}
div.wpcf7-validation-errors {
	display:none!important;
}
span.wpcf7-form-control-wrap {
	position: relative;
}
span.wpcf7-not-valid-tip {
	position: absolute;
	top: 0!important;
	left: 10px!important;
	z-index: 100;
	background: #fff;
	color:#ff0000!important;
	border:0!important;
	font-size: 14px;
	width: 90%;
	padding: 2px;
	line-height:1!important;
}
span.wpcf7-not-valid-tip-no-ajax {
	color: #f00;
	font-size: 10pt;
	display: block;
}
span.wpcf7-list-item {
	margin-left:0!important;
	margin-right:15px;
}
.wpcf7-list-item-label {
	font-weight:400!important;
}
.wpcf7-checkbox, .wpcf7-radio {
	position:relative;
	display:block;
	margin-top:5px;
	margin-bottom:10px;
}
span.wpcf7-list-item-label {
	margin-right:5px;
}
.wpcf7-display-none {
	display: none;
}
div.wpcf7 img.ajax-loader {
	border: none;
	vertical-align: middle;
	margin-left: 4px;
}
div.wpcf7 .watermark {
	color: #888;
}
.wpcf7-captchac {
	margin-bottom:0!important;
}

@font-face {
    font-family: 'thirsty';
    src: url('fonts/thirstyscriptmedium-webfont.eot');
    src: url('fonts/thirstyscriptmedium-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/thirstyscriptmedium-webfont.woff') format('woff'),
         url('fonts/thirstyscriptmedium-webfont.ttf') format('truetype'),
         url('fonts/thirstyscriptmedium-webfont.svg#thirsty_scriptmedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

.rsVisibleNearbyWrap {
	background:#f5f5f5!important;
	overflow:hidden!important;
	border-top:1px solid #ccc;
}

.rsSBlock {
	width:100%!important;
	text-align:center;
	display:block;
	top:50%!important;
	position:relative;
}
.rsSBlock h3 {
	position:relative;
	background:rgba(0,0,0,0.8);
	font-size:28px;
	font-weight:600;
	padding:10px 20px;
	width:auto!important;
	margin:0 auto;
	display:inline-block;
	top:-50%;
}
.slug-testimonials iframe {
	float:left;
	margin:10px 20px 10px 0;
}
.royalSlider {
	overflow:hidden!important;
}

/* Responsive */

.menu-toggle {
	display: none;
	font-size: 1.5em;
	padding: 0.5em 1em;
	background-color: #fff;
	cursor: pointer;
}
.meta-slider {
	margin-bottom: 0;
}
.meta-slider img {
	height: auto;
	max-width: 100%;
}
.meta-slider .container {
	position: relative;
}
.meta-slider .image-small {
	display: none;
}
.meta-slider .content {
    position: absolute;
    text-align: center;
    color: #FFF;
    background-color: rgba(0, 0, 0, 0.5);
    width: 75%;
    padding: 0.5em;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    font-size: 1.5em;
}
.meta-slider .slick-prev {
	left: 25px;
}
.meta-slider .slick-next {
	right: 25px;
}

@media screen and (max-width: 70em) {
	
	* {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	img {
		max-width: 100%;
		height: auto;
	}
	#wrapper, h4.client {
		max-width: 100%;
	}
	
	#access .menu > ul > li > a {
		padding: 15px 8px;
	}
	
	#courses-box .course img {
		height: auto !important;
		margin-bottom: 2.25em;
	}
	
}

@media screen and (max-width: 50em) {
	
	#wrapper {
		margin: 0;
	}
	
	.menu-toggle {
		display: block;
	}
	#access {
		text-align: left;
	}
	#access .menu {
		position: relative;
		background: #000;
		top: 0;
		display: none; 
	}
	#access .menu li {
		width: 100%;
		margin-left: 0;
	}
	#access .menu a {
		display: block;
		width: 100%;
	}
	#access .menu .sub-menu {
		width: 100%;
		position: relative;
		visibility: visible !important;
		left: 0 !important;
	}
	#access ul ul {
		width: 100% !important;
	}
	#access .menu li ul li a {
		padding: 5px 15px;
		width: 100%;
	}
	#access > .menu > ul > li.current-menu-item::after, #access > .menu > ul > li.current-menu-parent::after, #access > .menu > ul > li.current-menu-ancestor::after, #access > .menu > ul > li.current_page_parent::after, #access > .menu > ul > li.current_page_ancestor::after {
		display: none;
	}

	.meta-slider .content {
		top: 30%;
	}
	
	#container, #primary {
		width: 100%;
	}
	#primary {
		margin-top: 2em;
	}
	
	.slug-testimonials iframe {
		float: none;
	}
	
	#footer .columns .column {
		width: 50%;
		margin: 0 -4px 1em 0;
		display: inline-block;
		vertical-align: top;
		float: none;
		padding-right: 1em;
	}
	
	.attachment-course-bottom {
		width: 33%;
	}
	
}

@media screen and (min-width: 50em) {
	
	#access .menu {
		display: block !important;
	}

}


@media screen and (max-width: 30em) {
	
	#blog-title a {
		width: 95px;
	}
	.phone {
		font-size: 10px;
	}
	.tel {
		font-size: 26px;
	}
	
	.meta-slider .image-large {
		display: none;
	}
	.meta-slider .image-small {
		display: block;
	}

	#courses-box .course {
		width: 48%;
		margin-bottom: 2.5em;	
	}
	
	.home #homepage-sidebar, .home #content {
		width: 100%;
	}
	.home #homepage-sidebar {
		text-align: center;
	}
	.home #homepage-sidebar img {
		width: auto;
	}
	.home #homepage-sidebar .calendar {
		box-shadow: none;
	}
	span.wpcf7-list-item {
		display: block;
	}
	
	.attachment-course-bottom {
		width: 50%;
	}

	#footer .columns .column {
		width: 100%;
		margin: 0;
		padding-right: 0;
	}
	
}


@media screen and (max-width: 25em) {

	iframe {
		max-width: 100%;
	}
	
	#courses-box .course {
		width: 96%;
		margin-bottom: 2.5em;	
	}
	#courses-box .course img {
		height: auto !important;
		width: 100% !important;
	}
	
	.attachment-course-bottom {
		width: 100%;
	}
	
  li#custom_html-3 {
    list-style: none;
  }
}

