/*******************************************************************************
Based On: 
Slate Theme for GitHub Pages
by Jason Costello, @jsncostello
*******************************************************************************/

/* @import url(pygment_trac.css); */

/*******************************************************************************
MeyerWeb Reset
*******************************************************************************/

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, 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

blockquote, q {
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}


/*******************************************************************************
Theme Styles
*******************************************************************************/

body {
  box-sizing: border-box;
  color:#373737;
  background: #212121;
  font-size: 16px;
  font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 10px 0;
  font-weight: 700;
  color:#222222;
  font-family: 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif;
  letter-spacing: -1px;
}

h1 {
  font-size: 36px;
  font-weight: 700;
}

h2 {
  padding-bottom: 10px;
  font-size: 32px;
}

h3 {
  font-size: 24px;
}

h4, .large {
  font-size: 21px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  margin: 10px 0 15px 0;
}

footer p {
  color: #f2f2f2;
}

a {
  text-decoration: none;
  color: #007edf;
  text-shadow: none;

  transition: color 0.5s ease;
  transition: text-shadow 0.5s ease;
  -webkit-transition: color 0.5s ease;
  -webkit-transition: text-shadow 0.5s ease;
  -moz-transition: color 0.5s ease;
  -moz-transition: text-shadow 0.5s ease;
  -o-transition: color 0.5s ease;
  -o-transition: text-shadow 0.5s ease;
  -ms-transition: color 0.5s ease;
  -ms-transition: text-shadow 0.5s ease;
}

.main_content a:hover {
  color: #0069ba;
  text-shadow: #0090ff 0px 0px 2px;
}

footer a:hover {
  color: #43adff;
  text-shadow: #0090ff 0px 0px 2px;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

big, .big {
  font-size: 133%;
}

small, .small {
  font-size: 75%;
}

pre, code {
  width: 100%;
  color: #222;
  background-color: #fff;

  font-size: 14px;

  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;

}
pre, code, .monospace {
  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
}

pre {
  width: 100%;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  overflow: auto;
}

code {
  padding: 3px;
  margin: 0 3px;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
}

pre code {
  display: block;
  box-shadow: none;
}

blockquote {
  color: #666;
  margin-bottom: 20px;
  padding: 0 0 0 20px;
  border-left: 3px solid #bbb;
}

ul, ol, dl {
  margin-bottom: 15px
}

ul, ol {
  padding-left: 20px;
  margin-right: -20px;
  margin-bottom:.5em;
}

ul li {
  list-style: outside;
  margin-bottom: .5em;
}

ol li {
  list-style: decimal inside;
  padding-left: 20px;
}

dl dt {
  font-weight: bold;
}

dl dd {
  padding-left: 20px;
  padding-right: 20px;
}

dl p {
  padding-left: 20px;
  padding-right: 20px;
}

hr {
  height: 1px;
  margin-bottom: 1em;
  border: none;
  background: url('../images/bg_hr.png') repeat-x center;
}

table {
  border: 1px solid #ccc;
  margin-bottom: 20px;
  text-align: left;
 }

th {
  font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 10px;
  font-weight:bold;
  background: #888;
  color: #fff;
 }

td {
  padding: 10px;
  border: 1px solid #ccc;
 }

form {
  background: #f2f2f2;
  padding: 20px;
}

sub {
  vertical-align:sub;
  font-size:75%;
}

sup {
  vertical-align:super;
  font-size:75%;
}


/*******************************************************************************
Full-Width Styles
*******************************************************************************/

.outer {
  width: 100%;
}

.inner {
  position: relative;
  max-width: 640px;
  padding: 10px;
  margin: 0 auto;
}

#forkme_banner {
  display: block;
  position: absolute;
  top:0;
  right: 10px;
  z-index: 10;
  padding: 10px 50px 10px 10px;
  color: #fff;
  background: url('../images/blacktocat.png') #0090ff no-repeat 95% 50%;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(0,0,0,.5);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

#header_wrap {
  background: #212121;
  background: -moz-linear-gradient(top, #373737, #212121);
  background: -webkit-linear-gradient(top, #373737, #212121);
  background: -ms-linear-gradient(top, #373737, #212121);
  background: -o-linear-gradient(top, #373737, #212121);
  background: linear-gradient(top, #373737, #212121);
}

#header_wrap .inner {
  padding: 30px 10px 20px 10px;
}

#project_title {
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  text-shadow: #111 0px 0px 10px;
}

#project_tagline {
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  background: none;
  text-shadow: #111 0px 0px 10px;
}

#downloads {
  position: absolute;
  width: 210px;
  z-index: 10;
  bottom: -40px;
  right: 0;
  height: 70px;
  background: url('../images/icon_download.png') no-repeat 0% 90%;
}

.zip_download_link {
  display: block;
  float: right;
  width: 90px;
  height:70px;
  text-indent: -5000px;
  overflow: hidden;
  background: url(../images/sprite_download.png) no-repeat bottom left;
}

.tar_download_link {
  display: block;
  float: right;
  width: 90px;
  height:70px;
  text-indent: -5000px;
  overflow: hidden;
  background: url(../images/sprite_download.png) no-repeat bottom right;
  margin-left: 10px;
}

.zip_download_link:hover {
  background: url(../images/sprite_download.png) no-repeat top left;
}

.tar_download_link:hover {
  background: url(../images/sprite_download.png) no-repeat top right;
}

#main_content_wrap {
  background: #f2f2f2;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}

.main_content {

}

#footer_wrap {
  background: #212121;
}

.side {
  float: left;
  width: 35%;
  margin-right:1em;
}

/* classes */


.boxshadow, .boxshadow-p, #dictionary section {
  margin-bottom:1.5em;
  background-color:#fff;
}

.boxshadow-p {
  padding: .5em 1em;
}

.padded {
  padding-left:.5em;
  padding-right:.5em;
}

.boxshadow, .boxshadow-p, a.selected, a.button, #dictionary section {
  box-shadow: 0 0 5px #ebebeb;
  -webkit-box-shadow: 0 0 5px #ebebeb;
  -moz-box-shadow: 0 0 5px #ebebeb;
  -o-box-shadow: 0 0 5px #ebebeb;
  -ms-box-shadow: 0 0 5px #ebebeb;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

a.selected {
  color: #fff;
  background-color: #212121;
  padding: .25em .5em;
}

.boxshadow-p a.selected {
  color: #000;
  background-color: transparent;
  text-shadow: rgba(0,0,0,.2) 0px 5px 10px, rgba(0,0,0,.2) 0px 4px 2px;
  text-decoration: underline;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -o-box-shadow: none;
  -ms-box-shadow: none;
}

a.button {
  display:inline-block;
  background-color: #0090ff;
  color: #fff;
  padding: 2px .5em;
  vertical-align:middle;
}

.headline {
  font-size:  200%;
  text-align: center;
}

.headline .description {
  font-size:  50%;
}


dl.two-col dt {
  float:left;
  width:20%;
}

dl.two-col dd {
  padding-left: 25%;
  margin-bottom:1em;
}

dl.two-col p {
  padding-left: 25%;
}

dl.inline {
/*  white-space: nowrap;*/
  width: 100%;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

dl.inline dt {
  display:inline-block;
  vertical-align:middle;
  font-weight:normal;
  text-align:center;
  margin:0;
  padding:0;
  margin-bottom:.25em;
  overflow:visible;
}

dl.inline dt.asl {
  white-space:nowrap;
}

dl.dt-bold dt {
  font-weight:bold;
}

dl.inline dd {
  display:inline-block;
  vertical-align:middle;
  margin:0;
  padding:0;
  margin-bottom:.25em;
  overflow:visible;
}
dl.left-align dt {
  text-align: left;
}

dl.inline dt,
dl.inline dd {
  margin-left: -.2em;
  margin-right: -.2em;
}

dl.inline0 dt { width: 100%; }
dl.inline0 dd { width: 100%; }

dl.inline1 dt { width: 50%; }
dl.inline1 dd { width: 50%; }

dl.inline1b dt { width: 25%; }
dl.inline1b dd { width: 75%; }

dl.inline2 dt { width: 15%; }
dl.inline2 dd { width: 35%; }

dl.inline2a dt { width: 10%; }
dl.inline2a dd { width: 40%; }

dl.inline2b dt { width: 23%; }
dl.inline2b dd { width: 27%; }

dl.inline2c dt { width: 25%; }
dl.inline2c dd { width: 25%; }

dl.inline2d dt { width: 40%; }
dl.inline2d dd { width: 10%; }

dl.inline3 dt { width: 10%; }
dl.inline3 dd { width: 23%; }

dl.inline3b dt { width: 13%; }
dl.inline3b dd { width: 20%; }

dl.inline3c dt { width: 18%; }
dl.inline3c dd { width: 15%; }

dl.inline4 dt {  width: 10%; }
dl.inline4 dd {  width: 15%; }

dl.inline4b dt { width: 12%; }
dl.inline4b dd { width: 12%; }

dl.inline5 dt {  width: 10%; }
dl.inline5 dd {  width: 10%; }

dl.inline dd input {width:80%; padding:.25em 9%; }

.columns3 {
  width:30%;
  padding:0;
  margin:0;
  margin-right:1%;
  float:left;
}
.columns3 dd {
  padding: 0;
}
.columns3 ul {
  padding: 0;
}
.columns3 li {
  list-style:disc inside;
  padding: 0;
}

.floatr {
  float: right;
  margin-left: 1em;
  width: 65%;
}

.floatl {
  float: left;
  margin-right: 1em;
  width: 65%;
}


ul.alpha li {
 list-style-type:upper-alpha;
}
ul.column {
  width:50%;
  float:left;
}

/* page styles */

.asl {
  font-size:   166%;
  font-family: ASL-Font;
  line-height: 1;
  letter-spacing: 0px;
  font-weight: normal;
}

.si5s,
.signscript,
.aslphabet,
.hamnosys,
.td-hamnosys td {
  font-size:   200%;
  line-height: 1;
  letter-spacing: 0px;
  font-weight: normal;
}

.iswa,
.signfont,
.signscript {
  font-size:150%;
  line-height:1;
}
.gloss {
  font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
}
.big .gloss {
  font-size: 75%;
}

.medium {
  font-size: 125%;
}
.medium dd {
  font-size: 80%;
}
.medium dd.asl {
  font-size: 166%;
}

.dd-small dd {
  white-space:nowrap;
  font-size: 65%;
}

.asl.medium {
  font-size:   200%;
}
.asl.big {
  font-size:   225%;
}

.asl.inline{
  vertical-align:middle;
}
.asl sup {
  font-size:75%;
  vertical-align:super;
  margin:.1em;
}
.keyboard {
  font-size:120%;
  letter-spacing: .7em;
  line-height: 1.5;
}
.keyboard sup {
  font-size:75%;
  vertical-align:super;
  margin:.1em;
}
.feedback {
  float:right;
  color: #fff;
  padding: 5px 10px;
  margin:10px;
  background-color: #0090ff; 
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}
th a {
  color:#fff;
  text-decoration:underline;
}

ul.inline {
  padding-left:0;
}
ul.inline li {
  display:inline-block;
  list-style:none;
  padding-left:0;
  margin-bottom: 0;
  margin-right:.75em;
  
}
nav ul.inline {
  padding-left:20px;
  
}

.blue {
  color: #0090ff; 
}
.red {
  color: #e00000; 
}
.gray {
  color:#aaa;
}
.note {
  color: #666;
  padding: 0 2em;
  margin: 0 0 .5em;
}


.center {
  text-align:center;
}

.quiz {
  text-align:left;
  font-size:200%;
  font-family: ASL-Font;
  width:100%;
  padding:.25em;
  margin-bottom:.5em;
}
.quiz.center {
  text-align:center;
}

.correct {
  background-color:#efe;
  color:#1a1;
}

.tryit {
  text-align:center;
  font-size:32px;
  font-family: ASL-Font;
  width:100%;
  padding:.25em;
  margin-bottom:.5em;
}


nav .boxshadow, nav .boxshadow-p {
  text-align:left;
}
nav .boxshadow a, nav .boxshadow-p a {
  color: #333;
  font-weight:bold;
}

img.fullwidth {
  position: relative;
  margin: 0 auto;
  max-width: 739px;
  padding: 5px;
  margin: 10px 0 10px 0;
  border: 1px solid #ebebeb;

  box-shadow: 0 0 5px #ebebeb;
  -webkit-box-shadow: 0 0 5px #ebebeb;
  -moz-box-shadow: 0 0 5px #ebebeb;
  -o-box-shadow: 0 0 5px #ebebeb;
  -ms-box-shadow: 0 0 5px #ebebeb;
}

img.fullwidth {
  width: 100%;
  max-width: 100%;
}
#dictionary_frame {
  border: none;
  width: 100%;
  height: 800px;
}
#try-it-form #author {
  font-weight:normal;
  font-style:italic;
  text-align:right;
}
#try-it-form #message {
  white-space:nowrap;
  width:95%;
  display:block;
  height:400px;
  padding:.25em 2%;
}
#try-it-form #done {
  font-size:150%;
  cursor:pointer;
  margin-right:0;
}
#try-it-form #title_input {
  font-size:150%;
  width:95%;
  padding:.25em 2%;
  display:block;
}
#try-it-form #author_input {
  font-size:120%;
  margin:.5em .5% .5em .25em;
  width:65%;
}

#dictionary .fullwidth {
  padding-left: 1%;
  padding-right: 1%;
  width:97%;
}
#dictionary {
  background-color: #f2f2f2;
}
#dictionary header {
  font-size: 16px;
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-family: 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif;
}
#dictionary header .asl {font-weight:normal;margin-left:.75em;}
#dictionary header a {display:block;}
#dictionary .definition .asl {white-space:pre-wrap;}

#dictionary h1 {display:inline;font-size:16px}
#dictionary h2 {font-size:16px;margin-top:.5em;padding-bottom:0}
#dictionary #search_english {
  font-size:120%;
}
#dictionary .input {
  padding: 5px 1%;
  width:46%;
  line-height:28px;
  height:28px;
  margin-top:5px;
  vertical-align:middle;
}
#dictionary section {
  padding:.5em;
  margin-bottom:.5em;
}


.orientation_tables .si5s img{
  vertical-align:top;
}
.orientation_tables td {
  background-color:#fff;
}
.orientation_tables td,
.handshape_tables td {
  text-align:center;
/*  vertical-align:bottom;*/
}

.handshape_tables .gloss,
.orientation_tables .gloss {
  text-align:left;
}

tr {
  background-color: #f2f2f2;
}

tr.odd {
  background-color:#e0e0e0;
}

/*******************************************************************************
Small Device Styles
*******************************************************************************/

@media screen and (max-width: 480px) {
  body {
    font-size:14px;
  }

  #downloads {
    display: none;
  }

  .inner {
    min-width: 320px;
    max-width: 480px;
  }

  #project_title {
    font-size: 28px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 21px;
  }

  h4, .large {
    font-size: 18px;
  }

  h5 {
    font-size: 14px;
  }

  h6 {
    font-size: 12px;
  }

  code, pre {
    min-width: 320px;
    max-width: 480px;
    font-size: 11px;
  }
  
  .side {
    float: none;
    width: auto;
  }

}
