body {
    margin: 0;
    padding: 0;
    color: #353535;
    min-width: 320px;
    font-size: 16px;
    font-family: Corbel,"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans","Bitstream Vera Sans","Liberation Sans",Verdana,sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: none;
}

a {
    text-decoration: none;
    color: #1176df
}

a:hover {
    text-decoration: underline
}

a:active {
    background-color: transparent
}

.header {
    height: 64px;
    line-height: 64px;
    color: white;
    padding: 0 16px;
    background: #1176df url(images/bg-header.png) no-repeat;
    overflow: hidden;
}

.header .nav {
    display: inline-block;
    float: right;
}

.nav a {
    color: white!important;
    text-decoration: none!important;
    outline: none!important;
    margin: 0 8px;
    font-weight: bold;
    font-size: 14px;
}

.header h1 {
    vertical-align: middle;
    padding: 0;
    margin: 0;
}

.header h1 a {
    color: white!important;
    text-decoration: none!important;
    outline: none!important;
    height: 64px;
    display: block;
    background: url(images/logo2.png) no-repeat 0px 50%;
    background-size: 48px;
    padding: 0 0 0 56px;
}

.content {
    overflow: hidden;
    min-height: 600px;
    padding: 24px 16px 24px 64px;
}

.sidebar {
    float: right;
    width: 300px;
    padding: 16px 8px;
    box-sizing: border-box;
}

.card {
    border: 1px solid #9faebe;
    background: #f7f6f6;
    padding: 8px 16px;
    margin-top: 8px;
    font-size: 14px;
}

.card:first-child {
    margin-top: 0;
}

.card h4 {
    text-align: center;
    line-height: 2em;
}

ul.statistic {
    padding: 0;
    list-style-type: none;
    font-size: 14px;
    line-height: 2em;
}

.font-cell {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.stat-cell {
    float: right;
}

.section {
    overflow: hidden;
}

.section.home-letter-index {
    margin-bottom: 8px;
    text-align: right;
}

.section.home-letter-index a {
    font-size: 12px;
}

.section.letter-index {
    margin-top: 16px;
}

.most-popular-fonts {
    line-height: 2em;
}

.web-font-list {
    line-height: 2em;
}

.section.contact-us-form label {
    margin-top: 8px;
}

.section.contact-us-form * {
    display: block;
    width: 500px;
}

.section.web-font-list a {
    display: block;
}

.section p {
    line-height: 1.7em;
}

p.font-description {
    margin-bottom: 24px;
    line-height: 1.7em;
}

.font-preview {
    width: 100%;
    background: #efefef;
    overflow: hidden;
}

.font-preview img{
    width: 100%;
    min-width: 1000px;
}

.screenshot-tile {
    width: 23%;
    margin: 2% 1%;
    float:left;
    overflow:hidden;
    text-align: center;
}

.screenshot {
    display: block;
    width: 100%;
}

.screenshot img {
    max-width: 100%;
    width: 100%;
}

.screenshot-link {
    display: block;
    font-size: 12px;
    margin-top: 8px;
}

.screenshot-tile .traffic {
    font-size: 12px;
    height: 14px;
    margin: 8px 0;
    color: rgba(0, 0, 0, 0.54);
}

#extra-websites {
    width: 100%;
    overflow: hidden;
}

#show-more, #show-less {
    float: right;
    margin-right: -16px;
    text-decoration: none !important;
}

.hidden {
    display: none;
}

.similar-font:first-child {
    background: #efefef;
}

.similar-font {
    margin: 24px 0;
    padding: 8px;
    overflow: hidden;
}

.similar-font-name {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.54);
    line-height: 1.5em;
}

.sample-sentence {
    height: 48px;
}

.g-recaptcha {
    margin: 8px 0;
}

.font-style-list li {
    margin: 16px 0;
}

.font-style-list li a {
    line-height: 1.5em;
}

#privacy dt{
    font-weight: 700;
}

#privacy dd {
    margin-bottom: 10px;
}

#footer {
    background: #9faebe;
    color: #fff;
    text-align: justify;
    text-justify: distribute-all-lines;
    font-size: 0;
    padding: 0 25px;
    overflow: hidden;
    clear: both;
}

#footer:after {
    content: '';
    display: inline-block;
    width: 100%;
}

#footer>* {
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    margin: 10px 0;
}

#footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer .links li:first-child {
    margin-left: 0;
}

#footer .links li {
    display: inline;
    margin-left: 20px;
}

#footer .links a {
    color: #fff;
}

#footer a {
    color: #1176df;
}

/* Font profile sidebar */
.font-profile-sidebar {
    background-color: #E3F2FD;
    padding: 16px;
}

.profile-picture {
    margin: 0 auto;
    border: 1px solid #cccccc;    
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: url('images/font-profile-icon.png') no-repeat 50% 8px;
    background-color: white;
    background-size: 128px 128px;
    position: relative;
}

.profile-picture-band {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    padding: 8px 0;
    background-color: #1176df;
}

.profile-picture-band .font-name {
    display: block;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
}

.profile-picture-band .font-type {
    display: block;
    text-align: center;
    color: white;
    font-weight: bold;
}

.font-profile {
    width: 200px;
    margin: 24px auto;
}

.profile-field {
    font-size: 12px;
    color: #555;
    margin-bottom: 8px;
}

.profile-value {
    display: inline-block;
}

.profile-value-tag {
    display: inline-block;
    border: 1px solid #aaaaaa;
    padding: 4px 16px;
    border-radius: 4px;
    background-color: white;
    color: #4CAF50;
}

.profile-value-row {
    margin-bottom:24px;
}

.profile-value-row > * {
    margin-left: 16px;
}

.profile-value-row > *:first-child {
    margin-left: 0;
}

.rating > * {
    width: 16px;
    height: 16px;
    display: inline-block;
}

.star {
    background: url(images/star.png);
}

.star-o {
    background: url(images/star-o.png);
}

.download-button {
    display: inline-block;
    background-color: #1176df;
    border-radius: 4px;
    color: white !important;
    text-decoration: none !important;
    padding: 8px 16px;
}

.browse-button, .download-button.on-content {
    display: none;
    background-color: #1176df;
    border-radius: 4px;
    color: white !important;
    text-decoration: none !important;
    padding: 16px;
    margin: 48px auto;
    text-align: center;
    width: 250px;
}

.download-button.on-content {
    width: 200px;
}

.caption {
    font-weight: bold;
}

.hint {
    font-size: 12px;
}

img[alt="address"] {
    max-width: 100%;
}

/* RWD styles */
@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }

    .screenshot-tile {
        width: 46%;
        margin: 2%;
    }
}

@media (max-width: 976px) {
    .content {
        padding: 24px 16px;
    }
}

@media (max-width: 768px) {
    #footer>* {
        display: block!important;
        text-align: center;
    }

    .nav {
        display: none!important;
    }

    .browse-button {
        display: block;
    }

    .download-button.on-content {
        display: block;
    }
}

@media (max-width: 640px) {
    .screenshot-tile {
        width: 92%;
        margin: 4%;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 24px!important;
    }

    .section.home-letter-index {
        display: none;
    }

    .heading h1 {
        font-size: 18px!important;
    }

    .search-bar label {
        font-size: 14px!important;
    }

    .content {
        padding: 8px!important;
    }

    .holder {
        padding: 16px 8px!important;
    }

    .letter-index {
        text-align: center;
    }
}

@media (max-width: 320px) {
    .header h1 {
        font-size: 14px!important;
    }

    .heading h1 {
        font-size: 14px!important;
    }

  #footer .links li {
        display: block!important;
        margin-left: 0!important;
        line-height: 2em;
    }

    #footer {
        padding: 0;
    }
}

/* Heading band styles*/

.heading {
    background: #1176df;
    position: relative;
    color: #fff;
    padding: 14px 24px 13px 14px;
    line-height: 18px;
}

.heading h1 {
    margin: 0;
    font-size: 25px;
    line-height: 30px;
}

.heading .decor {
    position: absolute;
    left: 0;
    bottom: -13px;
    width: 15px;
    height: 70px;
    background: url(images/sprite.png) no-repeat -230px -1px;
}

.holder {
    padding: 24px 16px;
    margin-left: 13px;
}

.holder p:first-child {
    margin-top: 0;
}

.add-friendly-link-success .holder {
    text-align: center;
}

.add-friendly-link-success textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 5px 0 20px;
    font: inherit;
}

/* Search bar styles */

.search-bar {
    margin: 48px 0;
}

.search-bar .searchResultTitle {
    font-size: 16px;
    margin: 48px 0 0;
    font-weight: bold;
}

.search-bar .fontFamily {
    margin: 48px 0 8px;
}

.search-bar .sampleSentence {
    height: 75px;

}

.search-bar .loadingIndicator {
    text-align: center;
    margin: 48px;
    display: none;
}

.search-bar .loadingIndicator span {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
    width: 24px;
    height: 24px;
    display: inline-block;
    background: url(images/spinner.png) no-repeat 0px 0px;
    background-size: 24px;
}

.search-bar.loading .loadingIndicator {
    display: block !important;
}

@-webkit-keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.form-group {
    margin-bottom: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.form-group label {
    display: inline-block;
    max-width: 100%;
    font-weight: 700;
    margin-bottom: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.gwt-SuggestBox {
  padding: 5px 4px;
  border: 1px solid #ccc;
  border-top: 1px solid #999;
  font-size: 100%;
  font-family: Arial Unicode MS, Arial, sans-serif;
}

.gwt-SuggestBoxPopup {
}

.gwt-SuggestBoxPopup .item {
  padding: 2px 6px;
  color: #000;
  cursor: default;
  font-size: 110%;
}
.gwt-SuggestBoxPopup .item-selected {
  background: #D5E2FF;
}
.gwt-SuggestBoxPopup .suggestPopupContent {
  background: white;
}
.gwt-SuggestBoxPopup .suggestPopupTopCenter {
  border-top: 1px solid #bbb;
}
.gwt-SuggestBoxPopup .suggestPopupBottomCenter {
  border-bottom: 1px solid #bbb;
}
.gwt-SuggestBoxPopup .suggestPopupTopCenterInner,
.gwt-SuggestBoxPopup .suggestPopupBottomCenterInner {
  height: 1px;
  line-height: 1px;
}
.gwt-SuggestBoxPopup .suggestPopupMiddleLeft {
  border-left: 1px solid #bbb;
}
.gwt-SuggestBoxPopup .suggestPopupMiddleRight {
  border-right: 1px solid #bbb;
}
.gwt-SuggestBoxPopup .suggestPopupMiddleLeftInner,
.gwt-SuggestBoxPopup .suggestPopupMiddleRightInner {
  width: 1px;
  line-height: 1px;
}
.gwt-SuggestBoxPopup .suggestPopupTopLeftInner {
  width: 0px;
  height: 0px;
  zoom: 1;
}
.gwt-SuggestBoxPopup .suggestPopupTopRightInner {
  width: 0px;
  height: 0px;
  zoom: 1;
}
.gwt-SuggestBoxPopup .suggestPopupBottomLeftInner {
  width: 0px;
  height: 0px;
  zoom: 1;
}
.gwt-SuggestBoxPopup .suggestPopupBottomRightInner {
  width: 0px;
  height: 0px;
  zoom: 1;
}
.gwt-SuggestBoxPopup .suggestPopupTopLeft {
  background: url(images/circles.png) no-repeat 0px -6px;
  -background: url(images/circles_ie6.png) no-repeat 0px -6px;
  width:5px;
  height:5px;
}
.gwt-SuggestBoxPopup .suggestPopupTopRight {
  background: url(images/circles.png) no-repeat -5px -6px;
  -background: url(images/circles_ie6.png) no-repeat -5px -6px;
  width:5px;
  height:5px;
}
.gwt-SuggestBoxPopup .suggestPopupBottomLeft {
  background: url(images/circles.png) no-repeat 0px -11px;
  -background: url(images/circles_ie6.png) no-repeat 0px -11px;
  width:5px;
  height:5px;
}
.gwt-SuggestBoxPopup .suggestPopupBottomRight {
  background: url(images/circles.png) no-repeat -5px -11px;
  -background: url(images/circles_ie6.png) no-repeat -5px -11px;
  width:5px;
  height:5px;
}
* html .gwt-SuggestBoxPopup .suggestPopupTopLeftInner {
  width: 0px;
  height: 0px;
  overflow: hidden;
}
* html .gwt-SuggestBoxPopup .suggestPopupTopRightInner {
  width: 0px;
  height: 0px;
  overflow: hidden;
}
* html .gwt-SuggestBoxPopup .suggestPopupBottomLeftInner {
  width: 0px;
  height: 0px;
  overflow: hidden;
}
* html .gwt-SuggestBoxPopup .suggestPopupBottomRightInner {
  width: 0px;
  height: 0px;
  overflow: hidden;
}
