@font-face {
    font-family: 'Glyphicons Halflings';
    src: url(/public/fonts/glyphicons-halflings-regular.eot);
    src: url(/public/fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'), url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'), url(../fonts/glyphicons-halflings-regular.woff) format('woff'), url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'), url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')
}
.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}
.glyphicon-search:before {
    content: "\e003";
}
.glyphicon-remove:before{
    content:"\e014";
}

.clear:after {
    content: '';
    display: block;
    clear: both;
}

* {
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

html,
body {
    padding: 0;
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3 {
    margin: 0;
    padding: 0;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

h1 {
    font-weight: 100;
    font-size: 28px;
    color: #FFF;
}

a,
a:hover {
    color: #FFF;
    text-decoration: none;
    border-radius: 3px;
    overflow: hidden;
}

.fright {
    float: right;
}

.fleft {
    float: left;
}

header {
    position: relative;
    width: 100%;
    padding-bottom: calc(1 / 6 * 100%);
    background-position: center center;
    background-size: cover;
    margin-bottom: 40px;
}

header div {
    position: absolute;
    z-index: 1;
    width: 100%;
    bottom: 0;
    vertical-align: bottom;
    padding: 5% 5% 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.7) 100%);
}

header div > * {
    vertical-align: middle;
}
#loading {
    text-align: center;
    padding: 20px;
    overflow: hidden;
    transition: 0.3s all;
    box-sizing: border-box;
}
#loading img {
    display: inline-block;
    width: auto;
}
#profile-pic,
#motoroso {
    width: 75px;
}

#profile-pic {
    float: left;
    padding: 3px;
    background-color: #FFF;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    margin-bottom: -30px;
    margin-right: 10px;
}

#motoroso {
    float: right;
    padding-bottom: 3px;
    margin-left: 10px;
    font-size: 12px;
    text-align: center;
    margin-top: -15px;
}

#motoroso span {
    padding-bottom: 3px;
    display: block;
}

header nav {
    position: absolute;
    top: 100%;
    width: 100%;
    padding-left: calc(5% + 85px);
    padding-right: 5%;
}

#search {
    display: -webkit-flex;
    display: flex;
    position: absolute;
    right: 5%;
    width: 18px;
    transition: 0.3s all;
    z-index: 1;
    border-bottom: solid 2px transparent;
}

#search.active {
    border-bottom-color: #F00;
    width: calc(90% - 75px);
    padding: 0 10px;
    background-color: #FFF;
}

#search label {
}

#search label:before,
#search .close:before {
    color: #999;
    height: 23px;
    padding-top: 3px;
    box-sizing: border-box;
    font-size: 18px;
    display: inline-block;
    float: left;
}
#search label:hover:before,
#search.active label:before,
#search .close:hover:before {
    color: #F00;
}

#search span {
    display: none;
}

#search.active .close {
    display: block;
    cursor: pointer;
}

#search .warning {
    position: absolute;
    left: 28px;
    padding: 5px 7px;
    background-color: #F00;
    color: #FFF;
    top: 100%;
    font-weight: 400;
    font-size: 14px;
}

#search input[type="text"] {
    height: 26px;
    min-width: 0;
    max-width: 100%;
    flex-grow: 1;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    transition: 0.3s all;
    outline: none;
    border-style: none;
    padding: 3px 10px;
    background-color: transparent;
}

#search.active input[type="text"] {
    background-color: #FFF;
}

nav ul {
    list-style: none;
    display: block;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    padding: 5px 7px;
    cursor: pointer;
    font-size: 14px;
    height: 28px;
    color: #777;
}

nav ul li:hover,
nav ul li.active {
    color: #333;
    border-bottom: solid 2px #F00;
}

main {
    margin: 0 5%;
}

main section {
    margin: 0 -5px;
}

/** Collections **/
main a.all {
    width: calc(20% - 10px);
    margin: 0 5px 10px;
    float: left;
    position: relative;
    background-position: center center;
    background-size: cover;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

main a.all:before {
    content: '';
    width: 100%;
    display: block;
    padding-bottom: 56.25%;
}

main .info {
    position: absolute;
    bottom: 0;
    padding: 5px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.7) 75%);
}

main .info > * {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

main .info strong {
    font-weight: 400;
    font-size: 18px;
    width: 100%;
    display: block;
}

main .info em {
    font-size: 14px;
    font-weight: 100;
    width: 100%;
    display: block;
}

/** Images/Search Results **/
main .item {
    display: block;
    float: left;
    margin-bottom: 7px;
    position: relative;
    font-size: 18px;
    color: #FFF;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}
main .item img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: bottom;
    transition: 0.3s all;
}
main .item:hover img {
    opacity: 0.8;
}
main .item .info {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    vertical-align: bottom;
    text-align: right;
    padding: 5px;
    max-width: 100%;
    overflow: hidden;
}
main .last-row,
main .last-row ~ .item {
    margin-bottom: 0;
}
main .item span img {
    display: inline-block;
    float: right;
    margin-left: 5px;
    height: 18px;
    width: auto;
}
main .item img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: bottom;
}
.fancybox-wrap {
    top: 30px !important;
}
.fancybox-nav {
    top: 100%;
    width: 48%;
    height: 48px;
}
.fancybox-nav span {
    visibility: visible;
}
.fancybox-next span {
    right: auto;
    left: 0;
}
.fancybox-prev span {
    left: auto;
    right: 0;
}

@media (max-width: 1200px) {
    main a.all {
        width: calc(25% - 10px);
    }
}

@media (max-width: 900px) {
    main a.all {
        width: calc(33.3333333333% - 10px);
    }
}

@media (max-width: 700px) {
    h1 {
        font-size: 24px;
        font-weight: 400;
        line-height: 1.8;
    }

    main a.all {
        width: calc(50% - 10px);
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 20px;
        font-weight: 400;
        line-height: 2;
    }

    #motoroso {
        margin-top: 0;
    }

    #motoroso span,
    nav ul {
        display: none;
    }

    main a.all {
        width: calc(100% - 10px);
    }
}