/* styling */
img.photo {
  background-color: white;
  padding: 10px;
  border: 1px #000 solid;
  box-shadow: 2px 2px 4px rgba(128,128,128, .5);
}

/* Sections */

body.dance > section {
  margin-top: 0px;
  padding-top: 0px;
  padding-left: 70px;
  padding-right: 70px;

}

.dance section.highlight {
  background-color:#749aa4;
  padding-bottom: 30px;
  padding-top: 3em;
  padding-bottom: 2em;
  text-shadow: 0px 1px 1px rgba(255,255,255,.2);
}

.dance section.highlight a {
  font-weight: bold;
  color:#9f4125;
}

.dance section.teaching {
  margin-bottom: 70px;
}

.dance section.teaching h1 {
  color: #888;
  font-weight: normal;
  text-transform:uppercase;
  font-size: .5em;
  letter-spacing: 2px;
  font-family: verdana;
}

.dancelogos {
  max-width: 900px;
  margin: 0 auto;
}

.dancelogos div {
  display: table-cell;
  vertical-align: middle;
}

.dancelogos img {
  width:180px;
  float:left;
  padding: 20px;
  filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(1); /* Google Chrome & Safari 6+ */
  opacity:0.4;
}

.dancelogos img:hover {
  filter:none; /* IE6-9 */
  -webkit-filter: grayscale(0); /* Google Chrome & Safari 6+ */
  opacity:1;
}

.balaustin a {
  font-size: 35px;
  color: #666;
  font-family: Noteworthy, Comic Sans-Serif, sans;
  display: block;
  padding-top: 25px;
  padding-bottom: 25px;

}

.balaustin a:hover {
  color:#a173a4;
  color:#a45f87;
}

.balaustin:after {
  clear: both;
  content:"";
  display: block;
}

.dance section.accolades h1 {
  font-family: serif;
}

.dance section.accolades {
  padding-top: 3em;
  padding-bottom: 3em;
  font-family: sans-serif;
  text-shadow: 0px 1px 1px rgba(255,255,255,.2);

  background-color:#749aa4;
  box-shadow: 0px 5px 15px rgba(128,128,128,.5);
}

.dance section.accolades > div {
  columns:auto 2;
  -moz-columns:auto 2;
  -webkit-columns:auto 2;
}

.dance section.accolades a {
  font-weight: bold;
  color:#9f4125;
}

body.dance section.accolades h2 {
  margin: 0em;
  padding: 0px;
  font-size: 1.5em;
  font-family: serif;
}

.trophy:before {
  float: left;
  font-size: 1.5em;
  padding-top: 8px;
  padding-right: 20px;
}

.trophy {
  font-size: .8em;
  margin-bottom: 20px;
}

.trophy .placement {
  text-align: center;
  float:left;
  padding-right: 20px;
  font-size: .9em;
  font-family: serif;
}

.trophy .icon-trophy:before {
  font-size: 2.5em;
}

.trophy:after {
  clear: both;
  content:"";
  display: block;
}

.dance section.media {
  font-family: sans-serif;
  padding-top: 3em;
  padding-bottom: 3em;
  -background-image: url('../images/noise.png');
  font-size: .9em;
  -text-shadow: 0px 1px 1px rgba(128,128,128,.1);
}

.dance section.media h1 {
  color: #AAA;
}

.dance section.media a {
  color: #666;
}

.dance section.media ul {
  list-style-type: none;
  list-style-position: outside;

}
.dance section.media ul li:before {
  display: inline-block;
  font-family: FontAwesome;
  content: "\f03d";
  margin-right: 15px;
  color:#e76a7f;
}

/*	Less Framework 4
http://lessframework.com
by Joni Korpi
License: http://opensource.org/licenses/mit-license.php	*/


/* Selection colours (easy to forget) */

@media all and (device-width: 768px) and (device-height: 1024px) {
  .dancelogos img {
    filter: none;
    -webkit-filter: none; /* Google Chrome & Safari 6+ */
    opacity:1;
  }
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
}
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {
}

@media only screen and (min-device-width: 1025px) {
}

/* iPad [portrait + landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

  .dancelogos img {
    filter: none;
    -webkit-filter: none; /* Google Chrome & Safari 6+ */
    opacity:1;
  }

}

/* iPhone [portrait + landscape] */
@media only screen and (max-device-width: 480px) {

  .dancelogos img {
    filter: none;
    -webkit-filter: none; /* Google Chrome & Safari 6+ */
    opacity:1;
  }

}


/*		Default Layout: 992px.
Gutters: 24px.
Outer margins: 48px.
Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */


/*		Tablet Layout: 768px.
Gutters: 24px.
Outer margins: 28px.
Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {
  img[src="images/ABW_Bal_Olympics.jpg"] {
    width:200px;
  }

  .dancelogos {
    max-width: 750px;
  }

  .dancelogos img {
    width:150px;
  }

  .balaustin a {
    font-size: 24px;
  }

}



/*		Mobile Layout: 320px.
Gutters: 24px.
Outer margins: 34px.
Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {

  .dancelogos {
    max-width: 750px;
  }

  .dancelogos img {
    width:150px;
  }

  .balaustin a {
    font-size: 24px;
  }

}



/*		Wide Mobile Layout: 480px.
Gutters: 24px.
Outer margins: 22px.
Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {

  img[src="images/ABW_Bal_Olympics.jpg"] {
    width:200px;
  }

  .dancelogos {
    max-width: 450px;
    text-align: center;
  }

  .dancelogos div:nth-child(odd) {
    clear: both;
    float:left;
    height:150px;
  }

  .dancelogos div:nth-child(even) {
    float:none;
  }

  .dancelogos div {
    width:200px;
  }

  .dancelogos img {
    width:180px;
    display: block;
    padding-left:25px;
  }

  .dancelogos:after {
    content: "";
    display: block;
    clear: both;
  }

  .balaustin {
    padding-top: 50px;
  }

  body.dance > section {
    margin: 0px;
    padding: 40px;
  }

}

@media only screen and (min-width: 0px) and (max-width: 479px) {

  img[src="images/ABW_Bal_Olympics.jpg"] {
    width:200px;
    float:none;
    display: block;
    max-width: 200px;
    margin: 0 auto;
  }

  .dancelogos {
    max-width: inherit;
  }

  .dancelogos div {
    display: block;
    text-align:center;
  }

  .dancelogos img {
    display: block;
    margin: 0 auto;
    width:180px;
    float:none;
  }

  body.dance > section {
    margin: 0px;
    padding: 40px;
  }

}
