/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body {
	font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
	color: #3a3a3a;
	font-size: 18px;
	-webkit-backface-visibility: hidden; /* fix for nav-bar flickering on scroll(chrome) */
}
p {
	font-size: 18px;
	font-weight: 300;
	letter-spacing: 0.25px;
}
h2 {
   font-family: Georgia, Times, 'Times New Roman', serif;
   font-size: 32px;
   letter-spacing: 1px;
   font-style: italic;
}
h3 {
	font-style: italic;
}
a,
a:hover {
	color: #337ab7;
}


/* Elements
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.row {
	margin-left: 0;
	margin-right: 0;
}
.btn {
	border-radius: 2px;
	background-color: #fff;
	border: 0;
	color: #722828;
}
.btn:hover,
.btn:focus {
	background-color: #fff;
	color: #722828;
}
.btn-lg,
.btn-group-lg > .btn {
	padding: 10px 30px;
}

/* change text selection colour */
::selection {
	background: #aa2d2d;
	color: #fff;
}

/* Helpers
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.breathe {
	margin: 40px 0;
}

.sub-heading {  /* set all sub-heading h2's to 0 */
	padding: 0;
	margin: 0;
}

/* Navigation
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.logo {
	margin-top: 24px;
}
.nav > li > a {
	display: inline;
	padding: 0 15px;
	line-height: 80px;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #555;
  background-color: #f9f9f9;
}
.navbar {
	background: #f9f9f9;
	min-height: 80px;
}

/* adjusts when collapsed button kicks in */
@media (max-width: 1200px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
		margin-top: 22px;
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
		margin-top: 7.5px;
	}
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
  		display:block !important;
	}
}

.btn-contact,
.btn-contact:hover,
.btn-contact:focus {
	margin: 18px 30px 0 20px;  /* align contact button up with container edge */
	color: #fff;
	background-color: #d3c655;
	-webkit-box-shadow: 0px 2px 0px #bdae40;
    -moz-box-shadow: 0px 2px 0px #bdae40;
     box-shadow: 0px 2px 0px #bdae40;
}
.btn-contact:active {
	-webkit-box-shadow: 0px 0px 0px;
    -moz-box-shadow: 0px 0px 0px;
    box-shadow: 0px 0px 0px;
    position: relative;
    top: 2px;
}

/* adjust collapsed nav height */
.navbar-fixed-top .navbar-collapse,
.navbar-fixed-bottom .navbar-collapse {
	max-height: 500px;
}

@media (max-width: 992px) {
  .navbar-nav > li {
	float: none;
  }
}

/* Feature
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.carousel {
  height: 600px;
  width: 100%;
  overflow: none;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  bottom: 200px;
}

.carousel-caption h1 {
	margin: 20px 0;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 600px;
  background-color: #777;
}
.carousel-inner > .item > img, div.tint {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 800px;
}

div.tint {
	background: rgba(0,0,0, 0.4);
	z-index: 1;
}

.carousel-control {
	z-index: 2;
}

@media (max-width: 768px) {
  .carousel {
  height: 250px;
  }
  .carousel .item {
  height: 250px;
  }
  .carousel-inner > .item > img, div.tint {
  height: 250px;
  padding-top: 30px;
  }
  .carousel-caption {
	display: none;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

/* About
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.about {
	background: #722828;
	color: #fff;
	padding: 50px 0;
}

/* Classes
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.classes {
	background: #11242b;
	color: #fff;
	height: auto;
	padding: 50px 0;
}
.class {
	display: block;
	position: relative;
    border-radius: 2px;
	background: #fff;
	width: auto;
	height: 380px;
}
@media (min-width: 970px) {	.class {
		height: 310px;
	}
}
@media (min-width: 1200px) {
	.class {
		height: 380px;
	}
}

.class h2 {
	color: #3a3a3a; /* fall-back colour */
	padding: 30px 0 0 40px;
	margin-bottom: 0;
}
.sub-heading-classes{
	padding-bottom: 40px;
}
.class hr {
	display: block;
	margin: 14px 0 0 40px;
	padding: 0;
	background-color: #333;
	border: 0;
	height: 5px;
	width: 100px;
}
.class p {
	color: #3a3a3a;
	padding: 30px 40px 80px 40px;
}
.class > p.extra-info {
	display: block;
	position: absolute;
	bottom: 10px;
	right: 0;
	width: 120px;
	height: auto;
	text-align: center;
	color: #fff;
	background: #aa2d2d;
	padding: 10px 15px;
	-webkit-border-top-left-radius: 2px;
    -webkit-border-bottom-left-radius: 2px;
	-moz-border-radius-topleft: 2px;
	-moz-border-radius-bottomleft: 2px;
	border-top-left-radius: 2px;
	border-bottom-left-radius: 2px;
}

.parties {
	height: auto;
	background-image: url('../images/balloons_right.png');
    background-repeat: no-repeat;
    background-position: 100% 65%;
}
span.party-price {
    display: block;
	font-weight: bold;
	margin-top: 20px;
}
@media (max-width: 768px) {
	.parties{ background-position: 100% 130%; }
}

/* this isn't exactly DRY :( */
.street-dance h2 { color: #2c738d; }
.street-dance hr { background-color: #2c738d; }

.tap h2 { color: #6f9843; }
.tap hr { background-color: #6f9843; }

.ballet h2 { color: #d65e94; }
.ballet hr { background-color: #d65e94; }

.break-dance h2 { color: #de803b; }
.break-dance hr { background-color: #de803b; }

.drama h2 { color: #2d988a; }
.drama hr { background-color: #2d988a; }

.mini-movers h2 { color: #59bcfa; }
.mini-movers hr { background-color: #59bcfa; }

.musical h2 { color: #cbc150; }
.musical hr { background-color: #cbc150; }

.modern h2 { color: #695252; }
.modern hr { background-color: #695252; }

.baby-ballet h2 { color: #af4dc8; }
.baby-ballet hr { background-color: #af4dc8; }

.parties h2 { color: #ffb804; }
.parties hr { background-color: #ffb804; }

/* Gallery
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.gallery {
	padding: 50px 0 0 0;
}
.gallery p {
	margin: 20px 0;
}
.gallery-collection {
	margin-top: 20px;
}
/* display only the current tab of images */
.grid-container {
	display: none;
}
/* make sure gallery pics can fill up 100% width */
.grid-container > ul {
	width: 100%;
	margin: 0;
	padding: 0;
}
.gallery-pics {
	list-style: none;
	margin: 0;
	padding: 0;
}
.gallery-pics img {
	width: 100%;
}

/* tab navigation for gallery */
ul.grid-nav {
	list-style: none;
	font-size: 18px;
	font-weight: 300;
	text-align: center;
	margin-bottom: 20px;
}
ul.grid-nav li {
	display: inline-block;
}
ul.grid-nav li a {
	display: inline-block;
	background: #999;
	color: #fff;
	width: 120px;
	padding: 10px 15px;
	text-decoration: none;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
ul.grid-nav li a:hover {
	background: #aa2d2d;
}
ul.grid-nav li a.active {
	background: #aa2d2d;
}

@media (max-width: 1199px) {
	.container {
		width: auto;
		padding: 0 10px;
	}
}

@media (max-width: 480px) {
	ul.grid-nav li {
		display: block;
		margin: 0 0 5px;

	}
	ul.grid-nav li a {
		display: block;
	    width: 100%;
	}
	ul.rig {
		margin-left: 0;
	}
	ul.rig li {
		width: 100% !important; /* over-ride all li styles */
		margin: 0 0 20px;
	}
}

/* Timetable
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timetable {
	padding: 50px 0 40px 0;
	font-weight: 300;
}
.sat-timetable {
	padding-top: 0;
}
h2.sub-heading-timetable {
	margin: 0 0 20px 0;
}

.table > tbody > tr > td {
	height: 80px;
}

.table > tbody > tr:first-child  > th > span{  /* space out icons */
	padding: 0 8px 0 1px;
}

.table > tbody > tr:first-child  > th,  /* remove border from first two rows */
.table > tbody > tr:nth-child(2) > td {
	border-top: 0;
}

/* colour headings */
.table > tbody > tr:first-child {
	color: #fff;
}
.table-dance > tbody > tr:first-child {
	background-color: #1c5c73;
}
.table-drama > tbody > tr:first-child {
	background-color: #288448;
}
.table-theatre > tbody > tr:first-child {
	background-color: #de803b;
}
.table-dance-saturday > tbody > tr:first-child {
	background-color: #d65e94;
}

/* Contact us
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.contact-us {
	background: #722828;
	color: #fff;
	padding: 50px 0;
}
h2.sub-heading-contact-us {
	padding-bottom: 35px;
}
.contact-us h3.contact-info {
	width: 100%;
	font-size: 22px;
	font-style: normal;
	text-align: center;
	padding: 0;
	margin: 20px 0;
}
.contact-us h3.contact-info span {
	padding-right: 10px;
}

/* responsive map */
#google-container {
  position: relative;
  width: 100%;
  height: 300px;
  background-color: #e7eaf0;
}
@media only screen and (min-width: 1170px) {
  #google-container {
    height: 400px;
  }
}

#cd-google-map {
  position: relative;
}
#cd-google-map address {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  padding: 20px 0;
  background-color: rgba(114,40,40,1);
  color: white;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  margin: 0;
}

#cd-zoom-in, #cd-zoom-out {
  height: 32px;
  width: 32px;
  cursor: pointer;
  margin-left: 10px;
  background-color: #722828;
  background-repeat: no-repeat;
  background-size: 32px 64px;
  background-image: url("../images/cd-icon-controller.svg");
}
.no-touch #cd-zoom-in:hover, .no-touch #cd-zoom-out:hover {
  background-color: #722828;
}
@media only screen and (min-width: 768px) {
  #cd-zoom-in, #cd-zoom-out {
    margin-left: 50px;
  }
}

#cd-zoom-in {
  background-position: 50% 0;
  margin-top: 10px;
  margin-bottom: 1px;
}
@media only screen and (min-width: 768px) {
  #cd-zoom-in {
    margin-top: 50px;
  }
}
#cd-zoom-out {
  background-position: 50% -32px;
}

/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
footer.footer {
	height: 160px;
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 0;
	background: #2a2a2a;
	color: #959595;
	overflow: hidden;
}

/* remove white-space below footer */
html,body {
	height: 100%;
}
div#holder {
	min-height: 100%;
	position: relative;
}
div#filler {
	padding-bottom: 160px;
}

img.mini-logo {
	margin-top: 50px;
}

footer p.cloudbake {
	float: right;
	line-height: 160px;
	padding: 0;
}
footer p.cloudbake a {
	color: #959595;
	border-bottom: 1px dotted;
	text-decoration: none;
}
footer p.cloudbake a:hover {
	color: #337ab7;
	border-bottom: 0;
}

@media (max-width: 750px) {
	img.mini-logo {
		display: none;
	}

    footer p.cloudbake {
		text-align: center;
		float: none;
	}

}
