* {
    box-sizing: border-box;
}
html,
body {
    min-height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    position: relative;
    font-size: 14px;
    background: none transparent;
}
a {
    color: #F00;
    text-decoration: none;
    overflow: hidden;
    border-radius: 3px;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
}
iframe {
    width: 100%;
    height: 100%;
}
header {
    padding: 10px;
    top: 0;
    z-index: 10;
}
header,
footer {
    background-color: #000;
    color: #FFF;
    position: absolute;
    width: 100%;
}
header a,
footer a {
    color: #FFF;
}
h1,
h2 {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
h1 {
    font-size: 22px;
    font-weight: 400;
    padding-bottom: 5px;
}
h2 {
    font-size: 14px;
    font-weight: 100;
}
#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 {
    display: inline-block;
    float: left;
    width: 50px;
    margin-right: 10px;
}
.back {
    display: none;
    cursor: pointer;
}
header .back {
    float: left;
    padding-right: 5px;
}
header .back:before,
header .back:after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    border-width: 25px 15px 25px 0;
    border-color: transparent #FFF transparent transparent;
    border-style: solid;
    float: left;
}
header .back:after {
    margin-left: -10px;
    border-color: transparent #000 transparent transparent;
}
header .back:hover:before {
    border-color: transparent #F00 transparent transparent;
}
#logo {
    float: right;
}
main {
    padding: 80px 10px 10px;
    overflow: auto;
    text-align: justify;
}
main:before,
main:after {
    content: "";
    display: table;
}
main:after {
    width: 100%;
    height: 0;
    clear: both;
}
main .item {
    display: block;
    float: left;
    margin-bottom: 7px;
    position: relative;
    color: #FFF;
    font-size: 18px;
    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: 10px;
    max-width: 100%;
    overflow: hidden;
    -webkit-filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.5));
}
main .last-row,
main .last-row ~ .item {
    margin-bottom: 0;
}
main span img {
    display: inline-block;
    float: right;
    margin-left: 5px;
    height: 18px;
    width: auto;
}
main 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;
}