@charset "utf-8";

* {
	margin:0;
	padding:0;
	font-size:inherit;
	font-family:inherit;
	box-sizing:border-box;
}
html { scroll-behavior: smooth; }
body {
 font-family: 'Varta', sans-serif;
 font-size:16px;
 margin:0px;
 background-color:#eee;
 color:#777;
	-webkit-text-size-adjust: none;
}
html, body { height:100%; }
#container {
 min-height:100%;
 padding-bottom:65px;
}
#container > p { text-align:center; }
* html #container {
 height:100%;
}

article, aside, details, figcaption, figure, footer, header, main, mark, nav, section, summary, time {
	display:block;
}

table { border-collapse:collapse; }
th { text-align:left; background-color:#09d; color:#fff; }
tr:nth-child(odd) { background-color:rgba(0,0,0,0.05); color:#555; }
td, th { padding:4px 5px 2px; }

/* sub-tables */
td table {   background-color:#fff; }
td tr:nth-child(odd) { background-color:rgba(0,0,0,0.1); color:#777; }
td th {  background-color:#cef; color:#777; }

img { border:none; }

* + p, * + h1, * + h2, * + h3, * + h4, * + h5, * + h6, * + table, * + ol, * + li { margin-top:1em; max-height:10000em; }
hr { margin:1em 0; height:1px; border:none; overflow:hidden; background-color:#000; }

h1, h2, h3, h4 { line-height:1; }
h1 {font-size:36px;margin: 0;}
h2 { font-size:28px; }
h3 { font-size:20px; }
h4 { font-size:16px; }

h4 + p { margin-top:2px; }

a { color:#09c; }
a:hover, a.button:hover, input[type=submit]:hover { color:#9c0; border-color:#9c0; }

a.button, input[type=submit] {
	border:1px solid #09c;
	color:#09c;
	cursor:pointer;
	padding:5px 10px 2px;
	border-radius:5px;
	background-color:#fff;
	display:inline-block;
	font-weight:bold;
 text-decoration:none;
}
a.button.reversed, input[type=submit].reversed {
	background-color:#09c;
	color:#fff;
	transition:all 0.25s;
}
a.button.reversed:hover, input[type=submit].reversed:hover {
	background-color:#9c0;
	color:#fff;
}
a.button.button-red, input[type=submit].button-red {
 color:#c00;
 border-color:#c00;
}
a.button.button-red:hover, input[type=submit].button-red:hover {
 color:#fff;
 background-color:#c00;
}
input[type=submit][disabled], input[type=submit][disabled]:hover {
	border-color:#ccc;
	color:#ccc;
	cursor:wait;
}

input[type="email"], input[type="text"], input[type="password"] { width:180px; }
input, textarea { padding:3px 5px 0; }
select {	padding: 3px 3px 0; /* 4px 10px 1px; */ }
textarea { width:100%; max-width:640px; }
.is-error { border-color:#c00 !important; }

ul, ol { padding-left:1em; }

.scale {
	position:relative;
	width:100%;
}
.scale iframe {
	position:absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	width:100%;
	height:100%;
}
.scale > div { display:inline-block; }

.m { font-size:16px; }
.s { font-size:14px; }
.xs { font-size:12px; }

.success, .error, .warning {
 font-weight:bold;
}
.success {
 color:#8c0;
}
.error {
 color:#c00;
}
.warning {
 color:#f90;
}
.highlight {
 background-color:#ff6; padding:2px 5px;
}
.highlight-blue {
 background-color:#def;
 padding:5px 10px 4px;
}

.highlight-red {
 color:#000;
 background-color:#fdd;
 padding:5px 10px 4px;
 margin-bottom:20px;
}
.highlight-red a { white-space:nowrap; }

.highlight li, .highlight * + li { margin-top:10px; }

.scale { position:relative; }
.scale > div { display:inline-block; }
.scale > iframe { position:absolute; width:100%; height:100%; top:0; left:0; }

.not-desktop { display:none !important; }
.not-mobile { display:block !important; }
.not-tablet { display:block !important; }
.desktop-only { display:block !important; }
.mobile-only { display:none !important; }
.tablet-only { display:none !important; }

header {
	padding:20px;
	text-align:right;
	background-color:#fff;
	border-bottom:1px solid #999;
}
#logo { max-width:300px; max-height:80px; float:left; }
header nav > * {
	display:inline-block;
	vertical-align:top;
	margin-left:20px;
	text-decoration:none;
}
header nav .button { margin-top:-6px; }
header nav img {
	height:16px;
	width:24px;
	vertical-align:top;
	margin-top:1px
}
header:after {
	content:"";
	display:block;
	width:0;
	height:0;
	clear:both;
}

#logged_in_as {
 margin:8px 0 -14px;
}
#cart_link img { vertical-align:middle; width:16px; margin-right:5px; }
#cart_link { margin:17px 0 -14px; }

#headlines {
	padding:20px;
}
#headlines h2 { margin-top:10px; }
#hero {
	padding-bottom:2px;
}
#hero > img {
	width: calc(50% - 1px);
	vertical-align: top;
}
#hero > img:first-child { margin-right:2px; }
.search {
	background-color:#ddd;
	padding: 15px 5px 10px;
	text-align:center;
}
.search > form > div {
	display:inline-block;
	vertical-align: bottom;
	text-align:left;
}
.search > form > div:last-child {  margin:10px 0 5px; }
.search label {
	display:inline-block;
	vertical-align:bottom;
	margin:5px;
	background-color:#fff;
	padding:7px 10px 0px;
	border:1px solid #999;
	border-radius:5px;
	text-align:left;
	font-size:14px;
	line-height:1;
	transition:all 0.5s;
}
.search label:hover {
	box-shadow:0 0 6px 3px #bbb;
}
.search input[type=submit] {
	vertical-align:bottom;
}
.search > span { display:block; }
.search select {
	border-color:transparent;
	padding-left:0;
	margin-left:-5px;
	font-size:16px;
}

#teachers {
	background-color:#fff;
	padding:60px 80px;
	text-align:center;
}
#teacher_scroll {
	width:100%;
	overflow:hidden;
	white-space:nowrap;
}
#teacher_scroll > div {
	display:inline-block;
	white-space:normal;
	width:180px;
	padding:10px;
	transition:all 1s;
	vertical-align: top;
}
#teacher_scroll > div:last-child {
	background-color:#eee;
	height:240px;
	vertical-align:top;
	margin-top:10px;
	font-weight:700;
	font-size:36px;
    line-height:1.1;
    padding-top:60px;
}
#teacher_scroll > div:last-child a { text-decoration:none; }
#teacher_scroll * {
	margin-top:0;
	line-height:1;
}
#teacher_scroll > div > a:first-child { width:160px; height:240px; overflow:hidden; display:inline-block; }
#teacher_scroll a:hover img { transform:scale(1.1); }
#teacher_scroll img {
	width:160px;
	height:240px;
	transition:all 0.25s;
}
/*
#teacher_scroll p {
	height:32px;
	overflow:hidden;
}
*/
#teacher_scroll_left, #teacher_scroll_right {
 margin-top:-210px;
 position:absolute;
 left:10px;
 font-size:60px;
 line-height:65px;
 font-weight:700;
 color:#09c;
 border:1px solid #ccc;
 width:calc(50px / 0.7);
 height:50px;
 border-radius:50%;
 transform:scale(0.7, 1);
 text-align:center;
 padding-right:5px;
 cursor:pointer;
 transition:all 0.25s;
}
#teacher_scroll_right {
 right:10px;
 left:auto;
 padding-left:10px
}
#teacher_scroll_left:hover:not(.inactive), #teacher_scroll_right:hover:not(.inactive) {
	color:#9c0;
	border-color:#9c0;
}
#teacher_scroll_left.inactive, #teacher_scroll_right.inactive {
	color:#ccc;
	cursor:default;
}
main {
	width: 1000px;
	max-width:100%;
	padding:40px 20px;
	margin:auto;
}
main.contentBox {
	background-color:#fff;
	border:1px solid #ccc;
	padding:30px 20px;
	margin:20px auto;
}
main.fullBox {
	background-color:#fff;
 width:100%;
}
main:after {
 content:"";
 width:0;
 height:0;
 clear:both;
 display:block;
}

footer {
	background-color:#666;
	color:#eee;
	text-align:center;
	font-size:13px;
	padding:17px 20px 10px;
	height:65px;
	margin-top:-65px;
}
footer a { color:#0CF; }

/* lessons */
#lessons > div:not(:first-child) {margin-top:40px;}
#timezone {
	float: right;
}
#length {
	text-align: right;
	min-width: 465px;
 max-width:100%;
	overflow: hidden;
}
#length label {
 padding:4px 5px 0;
 border:1px solid transparent;
	border-radius: 5px;
 display:inline-block;
}
#length div { margin-right:6px; }
#length label.is-checked {
	border: 1px solid #09c;
	background-color: #def;
}
#length label:hover:not(.is-checked) {
	border: 1px solid #9c0;
	background-color: #efe;
}
#length select {padding:3px 5px 0px;}
.instruments {
 float:right;
 max-width:calc(100% - 100px);
 text-align:right;
 font-size:14px;
 margin-top: 1px;
 clear: both;
}
.bio {
	clear:both;
	margin-top:5px;
}
.bio:after {
	content:"";
	display:block;
	height:0;
	clear:both;
}
.bio img {
	float:left;
	width:160px;
	margin:3px 10px 0 0;
	max-width:40%;
}
.dates {
	float: right;
	white-space: nowrap;
	font-size: 14px;
	margin-top: 18px;
	line-height: 1;
}
.times { clear:both; }
.times a {
	background-color:#09c;
	color: #fff;
	border: none;
	display: inline-block;
	font-size: 14px;
	cursor: pointer;
	margin: 5px 5px 0 0;
	padding: 5px 5px 4px;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
}
.times a:hover {
	background-color:#9c0;
	color:#fff;
}
.times a:last-child { margin-right:0; }

/* camps & classes */
#camps, #classes { margin-bottom:40px; } 

#camps > div, #classes > div {
 margin-top:1em;
 padding:20px;
 background-color:#fff;
 border: 1px solid #bbb;
}
#camps > div:after, #classes > div:after {
 content:"";
 clear:both;
 height:0;
 display:block;
}
#camps > div > p, #classes > div > p { margin-top:10px; }
#camps > div > h3, #classes > div > h3 { margin-top:0; }
#camps .description, #classes .description {
 padding:10px;
 margin-top:10px;
 background-color:#eee;
}
#camps .times, #classes .times { float:left; }
#camps .price_reg, #classes .price_reg { text-align:right; padding-top:6px; }
#camps .teacher_location, #classes .teacher_location { clear:none; margin-right:20px; }
#camps h3:after, #classes h3:after { content:""; clear:both; display:block; }

#camps.pre_cart > div, #classes.pre_cart > div {
	border-left: 0;
	border-right: 0;
	background-color: #ddd;
 margin:0;
 padding:10px 20px;
}
#camps.pre_cart .description, #classes.pre_cart .description {
 padding: 0;
 background-color: transparent;
 margin-top: -19px;
}

/*affiliate form*/
#affiliate-form table { margin-left:-5px; margin-right:-5px; max-width:calc(100% + 10px); }
#affiliate-form input[type="text"] { width:204px; }
#affiliate-form input[maxlength="20"] { width:160px; }

/* register */
#pre_cart_row {
 padding:10px 20px;
 background-color:#ddd;
 border-bottom:1px solid #bbb;
 border-top:1px solid #bbb;
}
.pre_cart_teacher {
	width: 80px;
	display: block;
	vertical-align: top;
	float: left;
	margin: 0px 10px 0px -10px;
}
#pre_cart_row h4 { margin:0; }
#pre_cart_row:after {
	content: "";
	clear: both;
	display: block;
	height: 0;
}
.pre_cart_teacher_bio {
	display: none;
	transition: all 0.5s;
	margin: 5px 0;
	font-size: 13px;
}
#login, #register {
	width:calc(50% - 10px);
 min-width:300px;
	padding:20px;
	display:inline-block;
 vertical-align:top;
	background-color:#fff;
	border:1px solid #ccc;
}
#register { margin-left:20px; }
#login table { text-align:left; margin-left:auto; margin-right:auto; }
#login tr:nth-child(odd), #register tr:nth-child(odd) { background:transparent; }
.cartTable {
 width:100%;
}
.cartTable tr, .cartTable tr:nth-child(odd) { background-color:transparent; }
.cartTable tr:not(:first-child):not(:last-child) { border-bottom:1px solid #ddd; }
.cartTable td { vertical-align:top; }

/* account dashboard */
#container > nav {
	max-width: 100%;
	padding: 5px 10px 4px;
	background-color: #cef;
	text-align: center;
	border-bottom: 1px solid #8bc;
	font-weight: bold;
}
#container > nav > * {
 margin: 0 10px;
	padding: 6px 10px 2px;
	border-radius: 12px;
	display: inline-block;
	line-height: 1;
}
#container > nav > *.current { background-color:#fff; }
#container > nav > a { text-decoration:none; }
#container > nav > a:hover {
 background-color: #fff;
 color: #09c;
}

/* For tilled fields */
td iframe {
 height:30px !important;
	border:1px solid #777 !important;
	background-color: #fff;
	border-radius: 2px;
	padding: 3px 5px 0;
 margin:3px 0 -1px;
}
#name_on_card { width:190px; }
#card-number-element { width:190px }
#card-expiration-element { width:70px }
#card-cvv-element { width:50px }

@media (max-width:979px) {
	.not-desktop { display:block !important; }
	.not-mobile { display:block !important; }
	.not-tablet { display:none !important; }
	.desktop-only { display:none !important; }
	.mobile-only { display:none !important; }
	.tablet-only { display:block !important; }
	
	img { max-width:100%; }
}

@media (max-width:659px) {
	.not-desktop { display:block !important; }
	.not-mobile { display:none !important; }
	.not-tablet { display:block !important; }
	.desktop-only { display:none !important; }
	.mobile-only { display:block !important; }
	.tablet-only { display:none !important; }

 header {
  text-align:center;
  padding:20px 10px 12px;
 }
 #logo {
  display:block;
  margin:auto;
  float:none;
 }
 header > nav {
  margin-top:12px;
 }
 header > nav > * { margin:4px 6px; }
 main { padding:20px 10px; }
 #login, #register { padding:20px 10px; display:block; margin:10px 0; }

 #camps > div {
  padding:10px;
  margin:10px 0;
 }
 #camps > div > h3 { clear:both; padding-top:10px; }
 #camps .instruments { float:left; text-align:left; margin:0; width:auto; }
 #camps .instruments.teacher_location { float:right; text-align:right; }
 #camps .times { float:none; }

 #camps.pre_cart .description { margin-top:0; }
}

@media print {
 body { background-color:#fff; }
 nav, footer, .no_print
 {
  display:none;
 }
 header { background-color:transparent; border:none; padding:20px 0; }
 .container { padding-bottom:0; }
 main, main.contentBox {
  border:none;
  padding:0;
  margin:0;
  background-color:transparent;
 }
 th { color:#000; background-color:transparent; border-bottom:1px solid #000; }
 .highlight, tr:nth-child(odd) { background-color:transparent; }
 a, .succcess { color:inherit; }
 p { padding:0 !important; background-color:transparent !important; }
}