/* === General Layout === */

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: #222;
}

@media screen and (min-width: 640px) {
  body {
    background: #1a1f00;
    background-image: url("/assets/parsley-middle-f130ff4e.png"), url("/assets/parsley-background-001dc8e4.png");
    background-position: center, left;
    background-repeat: repeat-y, repeat;
  }
}

a { color: #000; font-weight: bold; text-decoration: none; }

h1 {
  font-family: "Tenor Sans", "Trebuchet MS", Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: 2.25em;
  margin-bottom: 0.5em;
}

h1 a, h1 a:hover {
  font-weight: normal;
}

h2 {
  font-size: 1.8em;
  font-weight: bold;
  margin: 20px 0;
  padding-bottom: 0;
  font-family: "Tenor Sans", Helvetica;
  text-align: center;
}

p { margin-bottom: 1.5em; line-height: 1.5em }

label { font-weight: bold; }

strong { font-weight: bold; }

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

/* === Wrapper === */

.container {
  position: relative;
  max-width: 520px;
  background: white;
  padding-left: 15px;
  padding-right: 15px;
  margin: 30px auto;
}

@media screen and (min-width: 640px) {
  .container {
    padding: 30px 55px;
    border-radius: 15px;
  }
}

.swirl { display: block; margin: 0 auto 1.5em auto; height: 18px; width: 46px; }

/* === Ragas === */

p.suggestion { margin: 0px 0; }

.filter { display: none; }

#ragas { width: 100%; }

#ragas th {
  text-align: left;
  padding-bottom: 5px;
  font-weight: normal;
}

#ragas th[data-sort] {
  cursor:pointer;
}

#ragas tr.even {
  background: #EEE;
}

#ragas td, #ragas th {
  padding: 6px 10px;
  height: 24px;
  vertical-align: middle
}

#ragas td {
  font-size: 14px;
}

#ragas th img {
  display: none;
  margin: 4px 0 0 5px;
  float: left;
}

#ragas th.sorting-desc img, #ragas th.sorting-asc img {
  display: block;
}

#ragas th.sorting-desc img {
  transform: scaleY(-1);
  -moz-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  filter: flipv;
}

#ragas .chakra {
  display: none;

  img {
    width: 44px;
  }
}

@media screen and (min-width: 640px) {
  #ragas .chakra {
    display: table-cell;
  }
}

#ragas td.time {
  font-size: 12px
}

#ragas td.thaat {
  font-size: 12px
}

#ragas .spotify {
  display: none;
}

@media screen and (min-width: 640px) {
  #ragas .spotify {
    display: table-cell;
  }
}

.youtube-icon {
  height: 16px;
}

/* === Raga === */

.clip-wrapper {
  float: left;
  width: 250px;
  height: 202px;
  margin-bottom: 1.5em;
}

.clip-wrapper:nth-child(odd) {
  margin-right: 20px;
}

.clip-wrapper iframe { width: 100%; height: 100%; }

#clip_url { width: 280px; margin: 0 1em; padding: 3px }

.chakra-image { margin-bottom: 1.5em }

/* === Flash Messages === */

div.flash_message {
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid;
  padding: 5px;
}

div.flash_message#notice {
  background: #d0efc0;
  border-color: #6abf3d;
}

div.flash_message#error {
  background: #e5b8b8;
  border-color: #b74343;
}

.inline-errors { color: red; }

/* === Hax === */

.clear { clear:both; }

.left { float: left; }
