/* Copyright © 2016 Property World Publications Ltd. All rights reserved. */

/* Fonts */
@font-face {
    font-family: 'entypo';
    src: url('../fonts/Entypo-webfont.eot');
    src: url('../fonts/Entypo-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Entypo-webfont.woff') format('woff'),
         url('../fonts/Entypo-webfont.ttf') format('truetype'),
         url('../fonts/Entypo-webfont.svg#entyporegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HelveticaNeue-Light';
    src: url('../fonts/HelveticaNeue_Light.eot'),
    url('../fonts/HelveticaNeue_Light.woff') format('woff'),
    url('../fonts/HelveticaNeue_Light.svg#HelveticaNeue_Light') format('svg');
}
/* Fonts END */


body {
    margin: 0;
    background-color: #444;
    font-family: 'HelveticaNeue-Light', Helvetica, Arial, sans-serif;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
    color: #444;
}

/* Content */
#content-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 50px);
}
.page-con {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #333;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.page-slide {
    width: 100%;
    height: 100%;
    overflow: visible;
    -moz-transition: -moz-transform 0.8s ease;
    -webkit-transition: -webkit-transform 0.8s ease;
    transition: transform 0.8s ease;
}
.page-slide div {
    position: relative;
    display: block;
    float: left;
    height: 100%;
    width: 50%;
}
.page-slide .pg {
    background-color: white;
}
.page-slide .pg img {
    width: 100%;
    height: 100%;
}
.page-slide .pg.loading::after, .z-pg.loading::after {
    content: "R";
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: 'entypo';
    font-size: 70px;
    color: #777;
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -moz-animation: img-loading ease 2s infinite;
    -webkit-animation: img-loading ease 2s infinite;
    animation: img-loading ease 2s infinite;
}
.page-slide.single div {
    width: 100% !important;
}
.pg .extra-info {
    position: absolute;
    bottom: 15px;
    left: 50%;
    padding: 7px;
    padding-right: 10px;
    border-radius: 16px;
    background-color: #444;
    color: white;
    font-size: 14px;
    line-height: 16px;
    box-shadow: 0 0 3px rgba(0,0,0,0.5);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    transition: background-color 0.4s ease, color 0.4s ease;
}
.pg .extra-info:hover {
    background-color: white;
    color: #444;
}
.pg .extra-info::before {
    content: "`";
    font-family: 'entypo';
    font-size: 40px;
    line-height: 16px;
    vertical-align: middle;
    margin-right: 8px;
}

/* Content END */

/* Tools */
#tools-con {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    background-color: #222;
    text-align: center;
    overflow: hidden;
}
.tool-btn {
    display: inline-block;
    cursor: pointer;
    font-family: 'entypo';
    font-size: 45px;
    color: #b1b1b1;
    line-height: 53px;
    padding: 0 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -moz-transition: color 0.4s;
    -webkit-transition: color 0.4s;
    transition: color 0.4s, text-shadow 0.4s;
}
.tool-btn.rotate {
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
}
.tool-btn:hover {
    text-shadow: 0 0 30px white;
    color: white;
}
#current-pg-txt {
    width: 120px;
    height: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    background-color: transparent;
    color: white;
    border: none;
    outline: none;
    font-family: 'HelveticaNeue-Light', sans-serif;
    font-size: 15px;
    line-height: 50px;
    text-align: center;
    vertical-align: top;
}
/* Tools END */



/* Thumbnails */
#thumbnail-con {
    position: fixed;
    bottom: 50px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 20px 13px 50%;
    background-color: rgba(0,0,0,0.5);
    color: white;
    overflow-y: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
#thumbnail-con:first-child {
    display: inline-block;
}
.thumb-con {
    display: block;
    float: left;
    text-align: center;
}
.thumb-con img {
    display: block;
    background-color: white;
    cursor: pointer;
    box-sizing: border-box;
    -moz-transition: -moz-transform 0.3s;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}
.thumb-con img:hover {
    -moz-transform: scale(1.07);
    -webkit-transform: scale(1.07);
    -ms-transform: scale(1.07);
    transform: scale(1.07);
}
.thumb-con div {
    padding: 8px 0 5px;
}
.thumb-con div.active {
    border-bottom: 2px solid white;
}
#close-area {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    font-size: 45px;
    line-height: 49px;
    color: white;
    font-family: 'entypo';
    text-align: center;
    border-top: 1px solid #b1b1b1;
    background-color: black;
    cursor: pointer;
    -moz-transition: background-color 0.4s;
    -webkit-transition: background-color 0.4s;
    transition: background-color 0.4s;
}
#close-area:hover {
    background-color: #333;
}
/* Thumbnails END */



/* Zoom */
#zoom-con {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 50px);
    overflow: auto;
    background-color: #333;
    box-sizing: border-box;
    text-align: center;
    -webkit-overflow-scrolling: touch;
}
.z-pg {
    position: relative;
    height: 100%;
    background-color: white;
}
/* Zoom END */



/* Help */
.clear-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}
.help-tbl-con {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 600px;
    max-height: 100%;
    box-sizing: border-box;
    padding: 20px;
    overflow: auto;
    text-align: center;
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-overflow-scrolling: touch;
}
.help-table {
    display: inline-table;
    color: white;
    font-size: 14px;
    border-collapse: collapse;
    text-align: left;
}
.help-row {
    display: table-row;
}
.help-row div {
    display: table-cell;
    padding: 16px 10px;
    vertical-align: middle;
}
.help-row div:first-child {
    width: 40px;
    font-family: 'entypo';
    font-size: 45px;
    color: #b1b1b1;
}
.help-row.divider div {
    border-bottom: 1px solid #b1b1b1;
    padding: 0;
}
/* Help END */





/* Alert */
.alert-message {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 14px 20px;
    color: white;
    font-size: 15px;
    background-color: #333;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.alert-message span {
    font-family: 'entypo';
    font-size: 36px;
    margin-right: 12px;
    vertical-align: text-bottom;
    color: red;
}
/* Alert END */



/* Responsive */
@media (max-width : 560px) {
    .tool-btn {
        font-size: 40px;
        padding: 0 10px;
    }
}

@media (max-width : 420px) {
    #tools-con {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: center;
        justify-content: center;
        padding-top: 50px;
    }
    #tools-con::after {
        content: "i";
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        font-family: 'entypo';
        font-size: 62px;
        color: #b1b1b1;
        line-height: 50px;
        border-bottom: 1px solid #444;
    }
    .tool-btn {
        display: inline-block;
        width: 22%;
        box-sizing: border-box;
        font-size: 54px;
        line-height: 74px;
    }
    #current-pg-txt {
        display: none;
    }
    #tools-con.show {
        height: auto;
    }
    #tools-con.show::after {
        content: "X";
    }
}
    
/* Responsive END */




/* Animations */
@-moz-keyframes img-loading {
    0% {
        -moz-transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        -moz-transform: translate(-50%, -50%) rotate(180deg);
    }
    100% {
        -moz-transform: translate(-50%, -50%) rotate(360deg);
    }
}
@-webkit-keyframes img-loading {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        -webkit-transform: translate(-50%, -50%) rotate(180deg);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
    }
}
@keyframes img-loading {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
/* Animations  END*/