@font-face {
    font-family: 'DaunPenhRegular';
    src: url('daunpenh-webfont.eot');
    src: url('daunpenh-webfont.eot?#iefix') format('embedded-opentype'), url('daunpenh-webfont.woff') format('woff'), url('daunpenh-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@charset "utf-8";
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* CSS Document */

html,
body {
    font-family: DaunPenhRegular, serif;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: subpixel-antialiased;
    font-size: 20px;
    line-height: 20px;
    height: 100%;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: #FF0088;
}

a:active {
    text-decoration: none;
    color: #FF0088;
}

a:visited {
    text-decoration: none;
    color: #FF0088;
}

a:hover {
    text-decoration: none;
    color: #FF22AA;
}

body {
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

#galleryBlockHolder {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-image: url(../images/background.png);
    /*    background-position: 0px 0px;*/
        background-size: calc((13vw+13vh)) auto;
    /*
    visibility: hidden;
    opacity: 0;
*/
}

.galleryBlock {
    position: absolute;
    float: left;
    width: 0px;
    height: 0px;
    /*    background-color: #cccccc;*/
    cursor: pointer;
    overflow: hidden;
}

.logoBlock {
    position: absolute;
    float: left;
    width: 0px;
    height: 0px;
    overflow: hidden;
    /*    background-color: #ffffff;*/
}

.nsfwBlock {}

#vignet {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    background-color: #000000;
    filter: alpha(opacity=0);
    opacity: 0;
    display: none;
    cursor: pointer;
}

#logoBlock {
    position: absolute;
    visibility: hidden;
}

#fullImageHolder {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    color: #ffffff;
    overflow: hidden;
}

#logoBlockSpace {}

#infoBlock {
    visibility: hidden;
    display: table;
    text-align: center;
    font-size: calc(1.2vw + 1.3vh);
    line-height: calc(1.6vw + 1.6vh);
    color: #cccccc;
    overflow: hidden;
    background-image: url(../images/thumb_back.png);
    background-position: 50% 50%;
    background-size: 78% 78%;
    background-repeat: no-repeat;
}

#socialBlock {
    visibility: hidden;
    overflow: hidden;
    /*    background-color: #eeeeee;*/
    background-image: url(../images/thumb_back.png);
    background-position: 50% 50%;
    background-size: 88% 88%;
    background-repeat: no-repeat;
}

#switchBlock {
    visibility: hidden;
    display: table;
    text-align: center;
    font-size: calc(1.2vw + 1.3vh);
    line-height: calc(1.6vw + 1.6vh);
    overflow: hidden;
    /*    background-color: #eeeeee;*/
    color: #cccccc;
    background-image: url(../images/thumb_back.png);
    background-position: 50% 50%;
    background-size: 80% 80%;
    background-repeat: no-repeat;
}

#endBlock {
    visibility: hidden;
    display: table;
    text-align: center;
    font-size: calc(1.2vw + 1.3vh);
    line-height: calc(1.6vw + 1.6vh);
    overflow: hidden;
    /*    background-color: #eeeeee;*/
    color: #cccccc;
    background-image: url(../images/thumb_back.png);
    background-position: 50% 50%;
    background-size: 60% 60%;
    background-repeat: no-repeat;
}

.socialmediaIcon {
    position: relative;
    float: left;
    overflow: hidden;
}

.socialmediaIcon img {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

#switchBlock span {
    vertical-align: middle;
    display: table-cell;
    text-align: center;
}

#endBlock span {
    vertical-align: middle;
    display: table-cell;
    text-align: center;
}

#infoBlock span {
    vertical-align: middle;
    display: table-cell;
    text-align: center;
}

#imageLoaderHolder {
    position: fixed;
    visibility: hidden;
    opacity: 0;
}

.loading {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 5px solid rgba(255, 255, 255, 0.4);
    border-top-color: white;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
    background-color: rgba(0, 0, 0, 0.2);
}

.galleryBlockClickArea {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    display: table;
    background-color: rgba(0, 0, 0, 0.001);
}

.imageClickArea {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.001);
}

.galleryBlockClickArea span {
    vertical-align: middle;
    display: table-cell;
    text-align: center;
    font-size: 20px;
    line-height: 18px;
    padding-left: 15px;
    padding-right: 15px;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(0, 0, 0, 0.7);
}

#switchBlock span {
    vertical-align: middle;
    display: table-cell;
    text-align: center;
}

#imageInfoBar {
    position: absolute;
    width: 300px;
    height: 30px;
    top: 0px;
    left: 0px;
    visibility: hidden;
}

#imageInfoButton {
    position: relative;
    float: left;
    width: 30px;
    height: 30px;
    margin-right: 15px;
    font-size: 40px;
    line-height: 33px;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    overflow: hidden;
    /*    border: 3px solid rgba(0, 0, 0, 1);*/
    background-color: rgba(88, 88, 88, 1);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
}

#infoBoxShareText {
    position: relative;
    float: right;
    color: #aaaaaa;
    font-size: 22px;
    line-height: 30px;
    height: 30px;
    margin-left: 5px;
}

.shareIcon {
    position: relative;
    float: right;
    width: 30px;
    height: 30px;
    margin-top: 0px;
    margin-left: 5px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
}

.imageInfoBlock {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: -100%;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 15px;
    color: rgba(255, 255, 255, 1);
    font-size: 20px;
    text-align: left;
}

.imageInfoBlockTitle {
    font-size: 30px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 0px;
    font-style: italic;
}

.imageInfoBlockBody {
    font-size: 20px;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Chrome/Safari/Opera */
    -khtml-user-select: none;
    /* Konqueror */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
}