/* Webfont: Yekan */

@font-face {
    font-family: 'Yekan';
    src: url('Yekan.eot');
    /* IE9 Compat Modes */
    src: url('Yekan.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('Yekan.woff2') format('woff2'), /* Modern Browsers */
    url('Yekan.woff') format('woff'), /* Modern Browsers */
    url('Yekan.otf') format('opentype'), /* Open Type Font */
    url('Yekan.ttf') format('truetype');
    /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: auto;
}

html,
body {
    height: 100%;
}

div#space {
    width: 1px;
    height: 50%;
    margin-bottom: -346px;
    float: left
}

div#container {
    width: 800px;
    height: 693px;
    margin: 0 auto;
    position: relative;
    clear: left;
}

body {
    background-image: url(images/11.gif);
    background-repeat: no-repeat;
    background-size: 28%;
    background-position:50%;
    background-color: #000000;
    color: #000000;
    font-family: Arial;
    font-weight: normal;
    font-size: 13px;
    line-height: 1.1875;
    margin: 0;
    padding: 0;
}

#preloader {
    background: #FFFFFF url("images/111.gif") no-repeat center center;
    bottom: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
}

#PhotoGallery1 {
    box-sizing: border-box;
    font-size: 0;
    width: 100%;
    height: 100%;
    table-layout: fixed;
    display: table;
    margin: 0;
}

#PhotoGallery1 .thumbnails {
    margin: 0;
    font-size: 0;
}

#PhotoGallery1 .thumbnail {
    position: relative;
    min-height: 1px;
    box-sizing: border-box;
    display: inline-block;
    padding: 0;
    width: 50%;
    text-align: center;
    vertical-align: middle;
}

#PhotoGallery1 .caption {
    color: #F5F5F5;
    font-family: Arial;
    font-weight: normal;
    font-size: 15px;
    font-style: normal;
    margin: 0;
    text-align: center;
    text-decoration: none;
    padding: 3px 0 0 0;
    position: relative;
}

#PhotoGallery1 .description {
    color: #000000;
    font-weight: normal;
    font-size: 13px;
    font-style: normal;
    text-align: center;
}

#PhotoGallery1 .thumbnail a {
    display: block;
    overflow: hidden;
    position: relative;
}

#PhotoGallery1 .thumbnail a .image {
    transition: all 240ms linear;
}

#PhotoGallery1 .thumbnail a .caption {
    background-color: rgba(0, 0, 0, 0.60);
    opacity: 0;
    transition: all 480ms linear;
}

#PhotoGallery1 .thumbnail a .title {
    opacity: 0;
    transform: translateY(-462px);
    transition: all 240ms linear;
}

#PhotoGallery1 .thumbnail a .description {
    opacity: 0;
    transform: translateY(462px);
    transition: all 240ms linear;
}

#PhotoGallery1 .thumbnail a:hover .caption {
    opacity: 1;
}

#PhotoGallery1 .thumbnail a:hover .image {
    transform: scale(1.1, 1.1);
}

#PhotoGallery1 .thumbnail a:hover .title {
    opacity: 1;
    transform: translateY(0px);
}

#PhotoGallery1 .thumbnail a:hover .description {
    opacity: 1;
    transform: translateY(0px);
    transition-delay: 120ms;
}

#PhotoGallery1 .thumbnail img {
    border: 0px #DDDDDD solid;
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 20px;
}

#PhotoGallery1 .clearfix:before,
#PhotoGallery1 .clearfix:after,
#PhotoGallery1 .thumbnails:before,
#PhotoGallery1 .thumbnails:after {
    display: table;
    content: " ";
}

#PhotoGallery1 .clearfix:after,
#PhotoGallery1 .thumbnails:after {
    clear: both;
}

#PhotoGallery1 .visible-col2 {
    display: block;
}

#wb_PhotoGallery1 {
    position: absolute;
    left: 223px;
    top: 115px;
    width: 355px;
    height: 462px;
    z-index: 0;
}

@media only screen and (max-width: 799px) {
    div#container {
        width: 320px;
        height: 596px;
    }
    body {
        background-color: #000000;
        background-image: url(images/11.gif);
        background-size: 100%;
    }
    #wb_PhotoGallery1 {
        left: 0px;
        top: 87px;
        width: 320px;
        height: 422px;
        visibility: visible;
        display: inline;
        margin: 0;
        color: #000000;
    }
    #PhotoGallery1 .thumbnail {
        width: 50%;
    }
    #PhotoGallery1 .visible-col2 {
        display: block;
    }
}