/* http://meyerweb.com/eric/tools/css/reset/
 v2.0 | 20110126
 License: none (public domain)
*/

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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Font Library */

body {
background: url("/assets/images/head-bg.png") repeat-x 0 -39px, url('/assets/images/bg-00.png') repeat center 0 #e7d3b1;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: medium;
  line-height: 1.4em;
  text-shadow: none;
  text-decoration: none;
  font-style: normal;
  font-weight: normal;
  word-spacing: 0em;
  color: #502d16;
}

p, ul, dl, ol {
  font-size: small;
}

.warning {
  color: #c83737;
}

.success {
  color: #337733;
  }

.form-messages a,
.form-errors a {
  font-weight: bold;
}


.item-title {
  font-weight: bold;
}

.item-credit {
  font-size: smaller;
}

h3,
#information ul li.heading, form label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .1em;
  word-spacing: .2em;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5), 0 -1px 0 rgba(77, 46, 25, 0.6);
  color: #9f7c65;
  display: block;
  }

.toolbar-form {
  font-size: small;
}

.toolbar {
  padding: 6px 0px;
  }

.toolbar-form {
  float: right;
}

#information h3 {
  border-bottom: 1px solid #d8c4a1;
  border-top: 1px solid #d8c4a1;
  padding: 6px 0;
  margin-bottom: 5px;
  }

.toolbar h3,
.toolbar-form {
  display: inline-block;
}

#font-page-title {
  padding: 2em 0;
  margin: 0;
  text-shadow:  0 0 4px #f1e5d1, 0 0 6px #f1e5d1, 0 0 8px #f1e5d1, 0 0 10px #f1e5d1;
  overflow: hidden;
}

#font-page-title:before {
  text-shadow: none;
  color: rgba(0,0,0, 0.075);
  content: "the font title";
  font-size: 4em;
  height: 0;
  display: block;
  text-align: center;
}

#font-variants {
  width: 580px;
  padding: 0;
  margin: 0;
}

#font-detail-content h3 {
  margin: 10px 0 5px;
  }

hr {
  border-top: 1px solid #d8c4a1;
  border-bottom: none;
}

h4 {
  margin: 10px 0 4px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .1em;
  }

#font-detail-content h4 {
  padding: 0 0 5px;
  color: #b7703e;
  }

p { margin-bottom: 1.4em; }

span.byline { font-style: italic; }

.fonts .fonts-specimen {
  overflow: hidden;
  min-height: 48px;
}

.fonts .image-specimen a {
  background-size: cover;
  background-position: center;
  min-height: 48px;
}

.fonts .fonts-info .family-name {
}

.fonts .fonts-info .designer {
  display: inherit;
}

.fonts .fonts-info .styles {
  display: inherit;
}

.fonts.small-grid .fonts-info .designer,
.fonts.small-grid .fonts-info .styles {
  display: none !important;
}

#content .fonts-grid.small-grid .font-element {
  width: 33.333333%;
  float: left;
}

#content .fonts-grid.large-grid .font-element {
  width: 50%;
  float: left;
}

#content .fonts-grid .font-element .element {
  margin-right: 5px;
}

.fonts-grid .font-element .fonts-info {
  white-space: nowrap;
  overflow:hidden
}

.fonts-specimen .specimen { display: block; white-space: nowrap; overflow: hidden; margin: 0; padding: 14px 0 10px 10px; color: #222; font-size: 28px; line-height: 1.4em; }

.characters { font-size: larger; }

.guidebook-page h1 {
  font-size: 1.5em;
  line-height: 1.5em;
}

.guidebook-page p,
.guidebook-page li,
.guidebook-page blockquote {
font-size: 1.2em;
line-height: 1.4em;
}

.guidebook-page ul {
list-style-type:square
}

.guidebook-page li {
margin-bottom: .7em;
}

#guidebook-pages-list {
  margin-bottom: 1em;
}

#guidebook-pages-list dt {
  font-weight: bold;
  margin-top: 1em;
}

/* links */

a:link, a:visited, a:active { color: #b7703e; text-decoration: none; }
a:hover { color: #4d2e19;}
a:focus { outline: 1px dotted #b7703e; }

/* forms */

form,
input,
textarea {
  }

form.preview {
  background-color: #f1e5d1;
  padding: 10px 0;
  margin: 0 0 12px;
  }

form input[type="text"],
form input[type="email"],
form input[type="url"],
form textarea,
form input[type="password"],
input[type="text"], textarea, input[type="password"] {
  display: block;
  border: 1px solid #d8c4a1;
  padding: 8px 2px;
  font-size: small;
  color: #b7703e;
  background-color: #fff;
  margin-top: 10px;
  width: 100%;
  }

  .fonts form.preview input[type="text"],
  .catalogue form.preview input[type="text"] {
    width: 99%;
  }

  #dynamic input[type="text"] {
    font-size: 72px;
    width: 100%;
    }

form label {
  display: inline-block;
  text-transform: uppercase;
  margin: 0 5px 0 0;
  letter-spacing: 0.1em;
  }

form input[type="text"]:focus,
form textarea:focus {
  color: #4d2e19;
  outline: 0;
  box-shadow: inner 0 0 3px #bc9c87;
  -moz-box-shadow: inset 0 0 3px #bc9c87;
  -webkit-box-shadow: inset 0 0 3px #bc9c87;
  }

form.questionnaire .fields .field {
  margin-bottom: 18px;
}

form.questionnaire .fields {
  clear: both;
}

form.questionnaire .fields .field label {
  display: block;
  margin: 0 0 5px;
}

form.questionnaire select {
  width: 100%;
  color: #b7703e;
}

form.questionnaire input:focus,
form.questionnaire textarea:focus,
form.questionnaire select:focus { outline: none; }

form.questionnaire input.settled {
}

form.questionnaire input.settled:focus {
}

form.questionnaire textarea {
  resize: none;
  width: 100%;
  height: 72px;
  font-size: smaller;
  color: #502d16;
}

form.questionnaire textarea#sample {
  height: 1.5em;
}

form.text-form,
form.text-form input {
  display: inline;
}


form.text-form input[type="submit"] {
  background: none;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}


/* buttons */

input[type="submit"].button,
#information a.sign-up,
.pagination a,
a.pusher,
.submit_button,
a.cancel,
a.btn {
  font-size: smaller;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-shadow: 1px 1px 1px rgba(77,46,25,.5), -1px 1px 1px rgba(178,117,77,.7);
  border: 0;
  display: inline-block;
  background: #9f7c65;
  color: #fff;
  padding: 6px 15px;
  margin: 0 5px 0 0;
  text-align: center;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  box-shadow: 1px 1px 2px rgba(77,46,25,.4);
  -moz-box-shadow: 1px 1px 2px rgba(77,46,25,.4);
  -webkit-box-shadow: 1px 1px 2px rgba(77,46,25,.4);
  }

input[type='submit'].button:hover,
#information a.sign-up:hover,
.pagination a:hover,
a.pusher:hover, .submit_button:hover {
  background: #4d2e19;
  cursor: pointer;
}

a.cancel,
a.btn {
  background-color: #e7d3b1;
  color: #9f7c65;
  text-shadow: 1px -1px 1px rgba(255,255,255,.5);
  }

a.cancel:hover,
a.cancel:focus,
a.btn:hover,
a.btn:focus {
  background: #9f7c65;
  color: #fff;
  text-shadow: 1px -1px 0px rgba(77,46,25,.5);
  }

input[type='submit'].button:focus {
  background: #aa998e;
}

p.submit {
  text-align: center;
  }

#more {
  clear: both;
  }

.pagination {
  overflow: auto;
  padding: 5px 5px 5px 0;
  position: relative;
  }

  .one-column .pagination {
    margin-right: 30px;
    }

#more .pagination {
  text-align: center;
  margin-right: 30px;
  }

.pagination span {
  float: right;
  }

.pagination span#morefonts {
  float: left;
  padding: 8px 0 0;
  margin: 0 5px 0 0;
  color: #9f7c65;
  }

.pagination a {
  font-weight: bold;
  margin: 0 0 0 5px;
  }

#information p > a.pusher {
  padding: 12px 15px;
  display: block;
}

/* structure */

* {
 margin: 0;
}

html, body {
  height: 100%;
}

#textblock {
  position: relative;
  margin: 0 auto;
  background-color: #f1e5d1;
}

#foot, #push {
  height: 200px;
}

#head {
  background-color: #4d2e19;
  clear: both;
  z-index: 4600;
  }

#head-wrapper {
  margin: 0 auto;
  overflow: hidden;
  z-index: 2000;
  width: 960px;
  position: relative;
  }

#head ul.primary {
  float: left;
  }

#head ul.secondary {
  margin-right: -479px;
  position: absolute;
  right: 50%;
  top: 0;
  z-index: 5000;
  }

#head ul.secondary li:before {
    color: #aa998e;
    margin-right: 0.5em;
}

#body {
  overflow: hidden;
  padding: 30px 0 40px;
  max-width: 960px;
}

#foot {
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid #d8c4a1;
  background: #e7d3b1 url(/assets/images/bg-00.png) repeat 0 0;
}

.display { margin-bottom: 35px;}

#content {
  position: relative;
  }

.element {
  margin: 0 0 10px;
  }

#content .fonts .element, #content .element .font {
  background-color: #fff;
  position: relative;
  border-right: 1px solid #e7d3b1;
  }

#content .fonts .fonts-specimen .font-preview {
  margin-left: 8px;
  margin-bottom: -12px;
}

#content .fonts .fonts-specimen a {
  display: block;
}

.element:hover ul li.heading a {
  color: #4d2e19;
}

.details { display: block; }

/* lists */

ul.secondary { color: #aa998e; }
ul.secondary li.major:after{ display: none; }
ul.secondary li { display: inline-block; }
dl.info dt { clear: both; float:left; margin-right: 0.5em; font-weight: bold;}
dl.main  {  margin-bottom: 18px; }
dl.main dd { margin-bottom: 18px; }

dl dd ul { margin-left: 1em; }

#head ul.primary li,
#head ul.secondary li {
  vertical-align: bottom;
  }

#head ul.primary li {
  padding: 0 0 8px;
  }

#head ul.primary li a,
#head ul.secondary li a {
  margin: 0;
  font-size: 0.9em;
  line-height: 1;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 29px 5px 13px;
  color: #f1e5d1;
  text-shadow: 1px 1px 1px #2d1c11, -1px 1px 1px  #644027;
  }

#head ul.primary li a {
  -webkit-border-bottom-right-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

#head ul.primary li a:hover,
#head ul.secondary li a:hover {
  color: #9f7c65;
  }

#head ul.primary li a.active,
#head ul.secondary li a.active {
  background-color: #6e4429;
  }

#head ul.primary #oflb-logo a {
  margin: 0 5px 0 0;
  padding: 25px 5px 13px 13px;
  font-size: small;
  color: #fff;
  }

#logo {
  position: absolute;
  width: 121px;
  height: 98px;
  background: url("/assets/images/logo-only.png") no-repeat;
  content: "";
  z-index: 999999;
  left: 50%;
  margin-left: -513px;
  }

#textblock:before {
  background: url("/assets/images/logo-glow.png") no-repeat;
  position: absolute;
  height: 108px;
  width: 237px;
  content: " ";
  top: 0;
  left: -90px;
  }

#head ul.secondary li {
  margin-left: 2px;
  display: block;
  float: left;
  }

.toolbar select,
#head ul.secondary .lang select {
  width: 7em;  height: 1.6rem;
  padding: 0.25rem;
  line-height: normal;
  margin: 0 0.5rem;
  font-size: 0.95em;
  border: 0;
  background-image: url("/assets/images/dropdown-pointer.png");
  background-color: #d8c4a1;
  background-size: 8px 6px;
  background-position: right center;
  background-origin: content-box;
  background-repeat: no-repeat;
  color: #b2754d;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 2px;
}

.toolbar select {
  background-color: transparent;
  border: 1px solid #d8c4a1;
}

.tool-button,
#head ul.secondary .lang .lang-button {
  font-size: 0.95em;
  color: #b2754d;
  border-top: 2px solid #e4e0da;
  border-left: 2px solid #e4e0da;
  border-right: 2px solid #95866d;
  border-bottom: 2px solid #95866d;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #d8c4a1;
  margin-right: 0.5rem;
  margin-left: -0.5rem;
  border-radius: 2px;
}

#head ul.secondary .search input {
  display: block;
  position: relative;
  float: left;
  vertical-align: middle;
  }

#head ul.secondary .search input[type="text"] {
  width: 160px;
  padding: 5px 2px;
  margin: 0;
  font-size: 95%;
  border: 0;
  -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;
  }

#head ul.secondary .search input[type="text"]:focus {
  color: #4d2e19;
  }

/* start -- reset webkit input styles */
input[type=search] {
    -webkit-appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    display: none;
}
/* ------------------- end
*/

input[type="text"].placeholder {
  color: #cab187;
}

input[type="text"]::-webkit-input-placeholder {
  color: #cab187;
}

input[type="text"]:-moz-placeholder {
    color: #cab187;
}

#head ul.secondary .search .search-button {
  width: 25px;
  padding: 25px 0 0;
  height: 0;
  overflow: hidden;
  background: #d8c4a1 url('/assets/images/search.png') no-repeat center 5px;
  border: 0;
  -webkit-border-top-right-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -moz-border-radius-topright: 2px;
  -moz-border-radius-bottomright: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  }

#foot {
  text-transform: uppercase;
  letter-spacing: .1em;
  }

#foot p.logo {
  text-align: center;
  margin: 30px 0 15px;
  }

#foot p.logo a {
  display: inline-block;
  padding: 7px 0 8px 35px;
  font-size: small;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: transparent url('/assets/images/oflb-footer.png') no-repeat 0 0;
  }

#foot p.logo a:hover {
  background-position: 0 -43px;
  }

#foot ul {
  margin: 0;
  display: block;
  text-align: center;
  }

#foot ul.primary {
  padding: 0 0 10px;
  }

#foot ul li {
  display: inline-block;
  background: transparent url('/assets/images/list-bullet.png') no-repeat 0 center;
  padding: 0 0 0 10px;
  }

  #foot ul.primary li {
  }

  #foot ul li:first-child {
    background-image: none;
    padding: 0;
  }

#foot ul li a {
  padding: 0 5px 0 0;
  }

#foot ul.secondary {
  float: none;
  padding: 10px 0;
  display: block;
  font-size: x-small;
  }

#foot ul.secondary li {
  padding: 0 8px 0 12px;
  }

#foot ul.secondary li a {
  padding: 0;
  }

#foot p img {
  display: inline-block;
  margin: 0 5px 0 0;
  }

.element ul.primary {
  text-transform: none;
  line-height: 1;
  display: block;
  }

ul.primary li { display: inline-block; vertical-align: middle;}
ul.primary strong { color: #502d16 }

ul li.heading {
  color: #502d16;
  }

#content .element ul li.heading {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  }

  #featured-fonts .element ul.primary .heading {
  letter-spacing: 0;
  }

.fonts .element ul.primary, .font .element ul.primary {
  font-size: x-small;
  background: #e7d3b1;
  color: #b7703e;
  }

.fonts .element ul.primary li, .font .element ul.primary li {
  padding: 4px 2px;
  }

.element ul.primary a {
  display: inline-block;
  padding: 0 2px;
  }

.element ul.primary a:hover,
.element ul.primary a:focus {
  color: #4d2e19;
  }

#content .fonts .element ul.primary li.author {
  float: right;
  text-align: right;
  width:  220px;
  text-clip: ellipsis;
  white-space: nowrap;
  }

/* homepage */

#feature {
  margin: 0 auto 35px;
}

#feature .tabs {
  text-align: center;
  background: #e7d3b1;
  font-size: 0;
  border-radius: 3px 3px 0px 0px;
  /*position: relative;*/
}

#feature .tabs > input {
  display:none;
}

#feature .tabs > label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: inline-block;
  padding: 6px 10px;
  margin-top: 2px;
  color: #b7703e;
}

#feature .tabs > input:checked + label {
  background: #fff;
  border-radius: 3px 3px 0px 0px;
}

#feature .tabs > input:hover + label {
  color: #4d2e19;
}

#feature .tabs > span {
  background: #f0f0f0;
  text-align: center;
  overflow: hidden;
}

#feature .tabs > label i,
#feature .tabs > label {
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}

#feature .tab-content {
  overflow: hidden;
  background: #fff;
  /*padding: 0px 20px 20px;*/
  width: 100%;
  height: 127px;
}

#feature .tab-content section {
  display: block;
  width: 100%;
  height: 0;
  opacity: 0;
  -webkit-transition: opacity .5s;
  -moz-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
}

#feature .tab-content .fonts-specimen {
  display:block;
  width: 100%;
  height: 100%;
}

#feature .tab-content .font-preview {
  margin-top: 15px;
}

#feature .tab-content section .element {
  position: relative;
  height: 100%;
  margin: 0;
}

#feature .tab-content .font-credit {
  width: 100%;
  position: absolute;
  bottom: 10px;
}

#feature > input:checked + span {
  background: #fff;
}

#feature .font-credit .author::before {
  margin-left: 0.2em;
  margin-right: 0.5em;
  content: "\00b7";
}

#content #more {
  margin-bottom: 18px;
}

h2 {
  font-size: medium;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 30px 10px;
  font-weight: bold;
  line-height: 1;
  }

h2:before,
h2:after {
 content: " ";
  height: 18px;
  width: 20px;
color: #C73636;
}

#information .spec {
  margin: 9px 0 28px;
  }

#information p {
  margin-bottom: 8px;
  }

#information ul {
  margin: 0 0 8px;
  }

#information li {
  margin: 0 0 2px;
  }

#information li a.active {
  color: #c83737;
  }

#information dl {
  margin: 0 0 15px;
  }

#information code, #content code {
    font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;
    background: #fff;
    padding: 10px 5px;
    display: block;
    font-size: 11px;
    line-height: 1.4em;
    margin: 0 0 15px;
    word-wrap: break-word;
  }

#information dl.numbers {
  color: #9F7C65;
  }

#information dl.numbers dt {
  float: left;
  clear: both;
  width: 130px;
  padding: 5px 0;
font-weight: bold;
  }

#information dl.numbers dd {
  padding: 5px 0;
  border-top: 1px solid #E7D3B1;
  text-align: right;
  }

  #information dl.numbers dd:first-child {
    border-top: 0;
    }


/* Font page */

#information p.download > a.pusher {
  background-color: #4D2E19;
  }

#information p.download > a.pusher:hover {
  background-color: #9F7C65;
  }

ul#font-variants {
  text-align: center;
  }

ul#font-variants li {
  padding: 0 8px;
  display: inline-block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid #E7D3B1;
  }

ul#font-variants li a{
  padding: 0 8px;
  border-radius: 8px 8px 0 0;
  }

ul#font-variants > li:first-child{
  padding-left: 35px;
  }

ul#font-variants > li:last-child{
  padding-right: 35px;
  }

ul#font-variants li a:hover, ul#font-variants li a:active {
  color: #502D16;
  background-color: #E7D3B1;
  }

#font-page-preview-options {
  margin-top: 15px;
  margin-bottom: 15px;
  }

#font-page-preview-options form.preview,
#font-page-preview-options #text-preview {
  width: 100%;
  }

#font-detail-content .element {
  margin: 0 0 20px;
  }

#font-detail-content .waterfall {
  margin: 0;
  clear: both;
  padding: 0;
  background: #fff;
  position: relative;
  border-right: 1px solid #E7D3B1;
  box-shadow: inner 1px 1px 3px #bc9c87;
  -moz-box-shadow: inset 1px 1px 3px #bc9c87;
  -webkit-box-shadow: inset 1px 1px 3px #bc9c87;
  }

#font-detail-content .waterfall li {
  list-style-type: none;
  }

#font-detail-content .waterfall li.fonts-specimen {
  overflow: visible;
  }

#font-detail-content .waterfall li span {
  line-height: 1.2em;
  }

#font-detail-content .waterfall li.fonts-specimen spa.specimen {
  color: #222;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  padding: 0;
  }

#font-detail-content .fontsize-36 .specimen {
  font-size: 36px;
  }

#font-detail-content .fontsize-14 {
  font-size: 14px;
  }

#font-detail-content .charmap {
  font-size: 28px;
  line-height: 1.2em;
  overflow: visible;
  margin: 0 0 10px;
  }

#font-detail-content .charmap span {
  min-width: 1em;
  margin: 5px 0;
  display: inline-block;
  text-align: center;
  color: #222;
  }

#font-detail-content .element .paragraph div {
  overflow: auto;
  }

#font-detail-content .paragraph .specimen {
  margin: 0;
  width: 50%;
  display: block;
  float: left;
  background-color: #fff;
  color: #222;
  padding: 10px 20px;
  clear: both;
  }

  #font-detail-content .paragraph .dark {
  background-color: #222;
  color: #fff;
  clear: none;
  }

#partial-languages .missing-glyphs.hidden {
  display: none;
}

/* Media Query */

#content, #information {
  width: 100%;
  float: left;
}

#content,
#information,
#feature,
#featured-fonts {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

@media (min-width: 400px) {

  .fonts .image-specimen a {
    min-height: 96px;
  }

}

@media (min-width: 705px) {
  #content {
    width: 66.66667%;
  }

  #information {
    width: 33.33333%;
  }

  #content .fonts.small-grid .font-element {
    width: 25%;
  }

  .fonts .image-specimen a {
    min-height: 154px;
  }
}

@media (max-width: 960px) {

  #logo, #textblock:before {
  display: none;
  }

  #head-wrapper {
    width: 100%;
    }
}

@media (min-width: 960px) {

  #textblock {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }

  #leaderboard-ad {
    margin: 0 30px;
  }

  #textblock{ max-width: 960px; }

  #head-wrapper {
    max-width: 960px;
  }

  #head ul.primary #oflb-logo a {
    padding-left: 90px;
  }
}

@media (max-width: 750px) {

  #font-variants,
  #font-page-title:before,
  #font-page-title {
  width: 100%;
  }

}

@media (min-width: 705px) {
  #head ul.secondary li.lang,
  #head ul.secondary li.search {
    padding-top: 20px;
  }
}

@media (max-width: 705px) {

  #head ul.secondary .search input[type="text"] {
    width: 100%;
    font-size: 100% !important;
  }

  ul { text-align: center; }
  dl { text-align: center; }

  #feature,
  #featured-fonts, form.preview {
    display: none;
  }

  #head .search {
    clear: left;
    padding: 0px 0px 10px 4px;
    width: 92%;
  }

  #head .search .search-button {
    display: none !important;
  }

  #head ul.primary,
  #head ul.secondary {
    display: block;
    overflow: hidden;
  }

  #head ul.primary {
    margin-top: 65px;
    float: none;
  }

  #head ul.primary #oflb-logo {
    display: block;
    text-align: center;
    padding: 10px 0 6px;
  }

  #head ul.primary li {
    padding: 0;
  }

  #head ul.primary li a, #head ul.secondary li a {
    padding: 10px 4px;
    margin: 0 4px;
  }

  #head ul.primary li:first-child a, #head ul.secondary li:first-child a {
    margin: 0;
  }

  #head ul.primary li a {
    -webkit-border-radius: 0px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -moz-border-radius: 0px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    border-radius: 0px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
  }

  #head ul.secondary {
    margin: 0;
    padding: 8px 0 2px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #9f7c65;
  }

  .element ul.primary {
    text-align: left;
  }

  dl.info dt { float: none; text-align: center; }
  dl.info dt:after{ content: ""; }
  dl.info dd { margin-bottom: 18px; }

  ul.primary li.secondary { display: none; }

  #dynamic input[type=text] {  font-size: 28px; text-align: center; }
  #dynamic { display: none; }

  .fonts-specimen { text-align: left; }

  input[type='submit'].button { float: none; }

  .button { width: 150px; text-align: center; margin: 0 auto; }
}

/**** search height fix ****/
#head ul.secondary .search input[type="text"] {
  height: 16px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  #head ul.secondary .search input[type="text"] {
    height: 15px;
  }
}
