a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1 {
    margin:0.67em 0 0.33em 0;
}


/* em pure-hidden values */

@media screen and (max-width:60em) {
    .pure-visible-lg{display:none}
}

@media screen and (min-width: 62em) {
    .content {
        margin: 0 auto;
        max-width: 970px;
        box-shadow: 0 5px 150px 10px #000000, 0 0 40px 10px #666 inset;
    }
}

#header {
    margin-bottom: 2em;
}

#logo {
    width: 379px;
    height:64px;
}

.about p {
    padding: 10px;
    font-size: 1.25em;
}

.about .pure-g {
    margin-bottom: 2em;
}

.about img {
    border: 1px solid #000000;
}

.content {
    width: 100%;
    position: relative;
}

.content-legal {
    padding: 10px;
}

.content-wrapper {
    padding: 0 2em;
}

#header {
    height: 68px;
    padding: 10px 1em 0 1em;
}

#menu-top {
    position: relative;
    padding: 0 1em;
}

#toplinks {
    position: absolute;
    margin:0;
    top: 78px;
    left: 0;
    right:auto;
    z-index: 999;
}

#toplinks li {
    display: inline-block;
}

#toplinks li a {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    height: 20px;
    margin-right: 10px;
    padding: 6px 10px 0 10px;
    position: relative;
    border-radius: 0 0 5px 5px;
}

@media screen and (min-width: 62em) {
    #header {
        margin-bottom: 0;
        height: 108px;
    }

    #logo {
        width: 379px;
        height:63px;
        text-decoration: none;
        display: block;
    }

    #social {
        position: absolute;
        top: 1px;
        left: 363px;
    }

    #social a {
        display: block;
        float: left;
        width: 35px;
        height: 37px;
        margin-right: 5px;
        background: url('../images/social.png') no-repeat;
        cursor: pointer;
    }

    #social a.facebook { background-position: 0 0;}
    #social a.twitter { background-position: -33px 0; }
    #social a.pinterest { background-position: -68px 0; }
    #social a.rss { background-position: -98px 0; }

    #toplinks {
        right: 16em;
        top: 0;
        left: auto;
    }

    #toplinks a {
        border-radius: 5px 5px 0 0;
        top: 0;
    }
}


/***********************************************************************************************************************
    Search bar
************************************************************************************************************************/

.search-bar {
    display: inline-block;
    padding: 0 10px;
    position: absolute;
    width: 123px;
    right:2em;
    border-radius: 0 0 5px 5px;
    top: 78px;
}

.search-bar .ui-autocomplete-input {
    border: 1px solid #606262;
    height: 13px;
    line-height: 13px;
    width: 95px;
    float: left;
    margin-top: 4px;
    margin-bottom: 5px;
    font-size: 11px;
    color: #777777;
}

.search-bar .submit {
    width: 13px;
    height: 13px;
    border: none;
    margin-top: 6px;
    margin-left: 6px;
    padding: 0;
}

@media screen and (min-width: 62em) {
    .search-bar {
        border-radius: 5px 5px 0 0;
        top: 92px;
    }
}


/***********************************************************************************************************************
    Menu bar
************************************************************************************************************************/

.custom-menu-wrapper {
    white-space: nowrap;
    position: relative;
}

.custom-menu {
    text-decoration: none;
    display:none;
    position: absolute;
    right: 4em;
    top: 2em;
    z-index: 999;
    box-shadow: #666 0px 0px 9px;
}

.custom-toggle {
    width: 34px;
    height: 34px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}

.custom-toggle .bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 100px;
    position: absolute;
    top: 29px;
    right: 16px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.custom-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.custom-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.custom-menu .pure-menu-link,
.custom-menu .pure-menu-heading {
    color: black;
}

.custom-menu .pure-menu-link:hover,
.custom-menu .active .pure-menu-link {
    padding: 0.5em 1em;
}

@media screen and (min-width: 62em) {
    .custom-menu {
        box-shadow: none;
        padding-left: 0.5em;
        padding-top:21px;
        display:inline-block;
        position:relative;
        background: none;
        right: auto;
        top: auto;
        z-index: auto;
    }

    .pure-menu-list {
        height: 23px;
        line-height: 23px;
    }

    .custom-menu .pure-menu-link,
    .custom-menu .pure-menu-heading {
        padding: 0 11px;
        font-weight: bold;
    }

    .custom-menu .pure-menu-link:hover,
    .custom-menu .active .pure-menu-link {
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        border-bottom: none;
        padding: 0 10px;
    }

    .custom-menu .pure-menu-link,
    .custom-menu .pure-menu-heading {
        padding: 0 11px;
        font-weight: bold;
    }

    .custom-toggle.x .bar:first-child {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .custom-toggle {
        display: none;
    }

}

@media screen and (max-width: 62em) {
    #menu {
        width: auto;
    }

    #menu .pure-menu-item {
        display: list-item;
    }
}


/***********************************************************************************************************************
            List view
***********************************************************************************************************************/

.list-view .sorter {
    font-size: .9em;
    font-weight: bold;
    padding: 0.5em 0;
}

.list-view .sorter {
    margin-bottom: 5px;
}

.list-view .sorter ul {
    display: inline;
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

.list-view .sorter li {
    display: inline;
    margin: 0 0 0 5px;
    padding: 0;
}

.list-view .sorter a.desc {
    background: url("/images/down.gif") no-repeat scroll right center transparent;
    padding-right: 10px;
}

.list-view .sorter a.asc {
    background: url("/images/up.gif") no-repeat scroll right center transparent;
    padding-right: 10px;
}

@media screen and (min-width: 48em) {
    .list-view .sorter {
        margin-left: 25px;
        margin-right: 25px;
        text-align: right;
        padding-top: 0;
    }
}


/* paging */
.pager {
    width: 100%;
    height: 20px;
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
}

.pager ul li {
    display:inline-block;
    position: relative;
    margin-right: 6px;
}

.pager a {
    font-size: 15px;
}

.pager li.selected {
    font-weight: bold;
}

.pager li.previous a,  .pager li.next a, .pager li.first a,  .pager li.last a {
    display: inline-block;
    width: 11px;
    height: 12px;
    padding-right:2px;
}

.pager li.first a,  .pager li.last a {
    width: 22px;
}


/***********************************************************************************************************************
            Bike card
***********************************************************************************************************************/

.block {
    width: 200px;
    height: 260px;
    padding: 9px;
    border-radius: 8px;
    box-shadow: #333 0px 0px 9px;
    margin-bottom: 10px;
}

a.tool-img {
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
    display: block;
}

a.tool-img:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.tool-img img {
    vertical-align: middle;
    display: inline-block;
    max-width: 200px;
    max-height: 150px;
}

.blockover {
    margin-top: 1.5em;
    padding: 0 0.2em;
    height: 126px;
    overflow: hidden;
}

.block .title a {
    font-size:1.1em;
}

.block .title span {
    font-size: 14px;
    font-style: italic;
    white-space: nowrap;
}

.block .tags {
    padding-top: 1.5em;
    font-size: 0.75em;
    line-height: 1.2em;
}


/***********************************************************************************************************************
            Footer
***********************************************************************************************************************/

#business-footer {
    padding: 1em 2em 1em 2em;

    font-size: 12px;
    text-align: center;
}

#business-footer li {
    display: inline;
}


/***********************************************************************************************************************
            Right Block
***********************************************************************************************************************/

.rightBlock {
    padding: 0.4em;
    border-radius: 8px;
    margin: 1em 0;
}

.rightBlock > div {
    border-radius: 8px;
    padding: 10px;
}

.rightBlock .title {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5em;
}

.yellow-frame {
    border-radius: 8px;
    padding: 0.5em;
    margin: 1em 0;
}

.yellow-frame > div {
    border-radius: 8px;
    padding: 0.5em 1em 1em 1em;
}

.yellow-frame h1 {
    font-weight: normal;
}

.yellow-frame ol {
    margin-top:1.5em;
}

.yellow-frame li {
    padding: 0.3em 0;
}

.categories a {
    font-size: 1.5em;
    line-height: 1.5em;
}


/***********************************************************************************************************************
            Main page
***********************************************************************************************************************/

.popular-tabs {
    margin: 0.33em 0 0.5em 0;
    padding:0;
}

.popular-tabs li {
    display: inline-block;
    padding: 0.5em 1em;
    border-radius: 6px;
}


/***********************************************************************************************************************
            Entry page
***********************************************************************************************************************/

.pure-g > div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.entry-view {
    border-radius: 8px;
    padding: 0.5em;
}

.img-box {
    vertical-align: middle;
    border-radius: 8px 8px 0 0;
}

.img-box > div {
    padding: 0.5em;
    color: white;
    text-align: center;
}

.img-box img {
    border-radius: 6px;
}

.original-post {
    margin-top: 0.5em;
}

.entry-details {
    line-height: 2em;
    padding: 0.5em;
    border-radius: 0 0 8px 8px;
}

.yellow-separator {
    height: 100%;
    width: 0.5em;
}

.entry-details > div {
    padding: 0.5em;
    word-wrap: break-word;
    word-break: break-all;
}

@media screen and (min-width: 62em) {
    .entry-details {
        border-width: 0 0 0 0.5em;
        border-radius: 0 8px 8px 0;
        display: table-cell;
    }

    .img-box {
        border-radius: 8px 0 0 8px;
        display: table-cell;
    }

    .entry-view {
        display: table;
        width: 100%;
    }
}

.share-buttons {
    text-align: center;
}

.share-buttons a {
    display: inline-block;
    margin-right: 10px;
    height: 33px;
    width: 98px;
    background-position: top;
    border: medium none;
}

.share-buttons a:last-child {
    margin-right: 0;
}

@media screen and (min-width: 48em) {
    .share-buttons {
        text-align: right;
        margin-top: 1em;
    }
}

.addComment {
    width: 127px;
    height: 39px;
    display: inline-block;
    margin: 0.5em;
    border-radius: 8px;
    text-indent: -1000px;
    border: 0;
    padding: 0;
}

.addComment:hover {
    background-position: 0 -40px;
}

.buttons > .addComment {
    margin: 0;
}

.comment {
    padding: 1.5em;
}

.comment-nickname {
    font-weight: bold;
}

.comment-date {
    text-align: right;
    font-size: 12px;
}

.comment-text {
    padding: 1em 0;
}

#comment-form a {
    text-decoration: underline;
}

#comment-form .row {
	padding-bottom: 10px;
}

.form {
    padding: 2em;
    line-height: 2em;
}

#login-form {
    color: #010101;
}

.entry-details div {
    word-wrap: break-word;
}

.empty {
    letter-spacing: normal;
}


/***********************************************************************************************************************
           Small screen fixes 
***********************************************************************************************************************/

@media screen and (max-width: 22em) {
    .img-box img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .search-bar {
        display: none;
    }
}

.yellow-button {
    padding: .5em 1em;
    border-radius: 6px;
    border: none;
}

.pure-form .errorMessage {
    display: inline-block;
    color: red;
    font-size: 90%;
    padding-left: 2em;
}

div.flash-error, div.flash-notice, div.flash-success {
    padding:.8em;
    margin-bottom:1em;
}


/***********************************************************************************************************************
           Network links 
***********************************************************************************************************************/

.network-links {
    line-height: 1.1em;
    color: #000;
    padding: 0.6em 1em;
    font-size: 1em;
}

.network-links > * {
    font-size: 0.9em;
}

.network-links ul {
    display: inline-block;
    margin: 0 0 0 0.5em;
    padding: 0;
}

.network-links li.active {
    color: #222;
}

.network-links li {
    display: inline-block;
}

.network-links li:after {
    content: '•';
    color: #000;
    display: inline-block;
    padding: 0 1px 0 7px;
    text-align: center;
}

.network-links li:last-child:after {
    display: none;
}

.network-links a {
    color: #000;
}

.network-links a:visited {
    color: #000;
}

@media screen and (max-width: 60em) {
    .network-links {
        text-align: center;
    }

    .network-links > span {
        display: none;
    }
}


/***********************************************************************************************************************
 *            Form label 
 ***********************************************************************************************************************/

.form_label {
    display: inline-block;
    width: 85px;
}

.form_label_wide {
    display: inline-block;
    width: 150px;
}


/***********************************************************************************************************************
 *            Password in form 
 ***********************************************************************************************************************/

input[type="password"] {
    color: #000000;
}

.pure-form input[type="password"] {
    color: #000000;
}


.tool-img.best-tool {
    position: relative;
}

.tool-img.best-tool .best-icon-cont{
    background-image: url("/images/star3030.png");
    width: 30px;
    height: 30px;
    display: block;
    top: 0;
    position: absolute;
    left: 0;
}

.layout-subtitle {
    font-size:1.4em;
    font-weight:bold;
}

.forum-posts {
    border: 1px solid;
    padding: 5px;
    border-radius: 5px;
}

.forum-post {
    border-bottom: 1px dotted;
    padding: 5px;
    margin: 10px;
    overflow: hidden;
}

.forum-post a {
    text-decoration: underline;
}

.forum-post .forum-post-images {
    display: block;
    clear: both;
}

.forum-post .forum-post-images .forum-post-image {
    display: inline-block;
    float: left;
    width: 30%;
    height: 250px;
    overflow: hidden;
    padding: 5px;
}
.forum-post .forum-post-images .forum-post-image img{
    width: 300px;
}

.forum-post .user-avatar img {
    max-width: 100px;
    width: 100%;
}

.forum-post .forum-post-title-row {
     font-size: 1.25em;
     font-weight: bold;
}

.forum-post .forum-date {
    color: #ff0000;
    font-size: 0.8em;
}

.forum-post .forum-more {
    font-size: 0.7em;
}
