/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Parallax Scroll
   ========================================================================== */
/********************************************************************************************************/
/* Minimum devices (tablets, 768px and down) */
@media only screen and (max-width: 767px) {

    body, html {
        height: auto;
        background-color: #000000;
    }

    .no-js {
        padding-top: 106px;
    }

    h2 {
        margin-top: 0;
    }

    .loading {
        background: url('../Images/ico_loading.gif') no-repeat center center;
    }

    section {
        height: 540px;
        opacity: 0;
    }

        .loaded section,
        .no-js section {
            opacity: 1;
            -webkit-transition: opacity 300ms ease-out;
            -moz-transition: opacity 300ms ease-out;
            transition: opacity 300ms ease-out;
        }

    #main {
        overflow-x: hidden;
    }

    .bcg {
        background-size: cover;
        background-attachment:scroll;
        height: 100%;
        width: 100%;
    }
    /* Slide 1 */
    #slide-1 .bcg {
        background-image: url('../Images/01.jpg');
    }

    #slide-1 .hsContent {
    }

    /* Slide 2 */
    #slide-2 .bcg {
        background-image: url('../Images/02.jpg');
        text-align: center;
    }

    #slide-2 .hsContent {
    }

    #slide-2 .bgBlack {
    }

    /* Slide 3 */
    #slide-3 .bcg {
        background-image: url('../Images/03.jpg');
    }
    /*#slide-3 .bcg2 {background-image: none; background-color: #000000; position: absolute; top: 0; left: 0;}*/
    #slide-3 .hsContent {
        text-align: center;
    }

    /* Slide 4 */
    .curtainContainer {
        width: 100%;
        height: 100%;
        position: relative;
    }

        .curtainContainer .curtain {
            width: 300%;
            height: 1px;
            background-color: #000000;
            position: absolute;
            top: 25%;
            left: 0;
            opacity: 0;
        }

        .curtainContainer .copy {
            position: absolute;
            bottom: 30%;
            left: 0;
            width: 100%;
        }

    #slide-4 .bcg {
        background-image: url('../Images/04.jpg');
    }

    /* Slide 5 */
    #slide-5 {
        position: relative;
    }

        #slide-5 .bcg { background-image:url('../Images/05_B.jpg')
            
        }

            #slide-5 .bcg .bcg2 {
                background-image: url('../Images/05_B.jpg');
                position: fixed;
                bottom: 0;
                left: 0;
                opacity: 0;
                z-index: 1;
            }

        #slide-5 .bcg3 {
            background: none;
            background-color: #FFCCFF;
            z-index: 2;
            position: fixed;
            bottom: 0;
            left: 0;
            opacity: 0;
        }

    .hsContainer {
        display: table;
        table-layout: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
    }

    .hsContent {
        max-width: 80%;
        margin: -150px auto 0 auto;
        display: table-cell;
        vertical-align: middle;
        color: #ebebeb;
        padding: 0 8%;
        text-align: center;
        position: relative;
        z-index: 10;
    }

        .hsContent h2,
        .copy h2 {
            color: #ffffff;
            font-size: 20px;
            /*line-height: 48px;*/
            margin-bottom: 12px;
            text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
            text-align: center;
        }

        .hsContent .bgBlack {
            width: 80%;
            margin: 0 auto;
            color: #b2b2b2;
            background-color: rgba(0,0,0,0.75);
            padding: 3px 10px;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            border-radius: 10px;
            text-align: justify;
        }

        .hsContent a {
            color: #b2b2b2;
            text-decoration: underline;
        }

    .bgBlack {
        background-color: rgba(0,0,0,0.75);
        padding: 3px 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        width: 50%;
        margin: 0 auto;
        color: #b2b2b2;
    }


    /* Navigation */
    #slideNav {
        display: none;
        position: fixed;
        right: 0;
        top: 50%;
        margin-top: -80px;
        z-index: 11;
    }

        #slideNav ul {
            list-style: none;
            color: #000000;
            font-size: 13px;
            text-align: center;
        }

        #slideNav li {
            width: 50px;
            height: 50px;
            line-height: 50px;
            background-color: rgba(255,255,255,0.70);
            margin-bottom: 1px;
        }

            .no-rgba #slideNav li {
                background-color: #ffffff;
            }

        #slideNav a {
            display: block;
            width: 50px;
            height: 50px;
            position: relative;
            overflow: hidden;
            text-decoration: none;
            color: #000000;
        }

            #slideNav a.disabled {
                cursor: default;
            }
}
    /* ==========================================================================
   Helper classes
   ========================================================================== */

    /*
 * Image replacement
 */

    .ir {
        background-color: transparent;
        border: 0;
        overflow: hidden;
        /* IE 6/7 fallback */
        *text-indent: -9999px;
    }

        .ir:before {
            content: "";
            display: block;
            width: 0;
            height: 150%;
        }

    /*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

    .hidden {
        display: none !important;
        visibility: hidden;
    }

    /*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

    .visuallyhidden {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

        /*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

        .visuallyhidden.focusable:active,
        .visuallyhidden.focusable:focus {
            clip: auto;
            height: auto;
            margin: 0;
            overflow: visible;
            position: static;
            width: auto;
        }

    /*
 * Hide visually and from screenreaders, but maintain layout
 */

    .invisible {
        visibility: hidden;
    }

    /*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

    .clearfix:before,
    .clearfix:after {
        content: " "; /* 1 */
        display: table; /* 2 */
    }

    .clearfix:after {
        clear: both;
    }

    /*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

    .clearfix {
        *zoom: 1;
    }

    /* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

    @media only screen and (min-width: 35em) {
        /* Style adjustments for viewports that meet the condition */
    }

    @media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
        /* Style adjustments for high resolution devices */
    }

    /* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

    @media print {
        * {
            background: transparent !important;
            color: #000 !important; /* Black prints faster: h5bp.com/s */
            box-shadow: none !important;
            text-shadow: none !important;
        }

        a,
        a:visited {
            text-decoration: underline;
        }

            a[href]:after {
                content: " (" attr(href) ")";
            }

        abbr[title]:after {
            content: " (" attr(title) ")";
        }

        /*
     * Don't show links for images, or javascript/internal links
     */

        .ir a:after,
        a[href^="javascript:"]:after,
        a[href^="#"]:after {
            content: "";
        }

        pre,
        blockquote {
            border: 1px solid #999;
            page-break-inside: avoid;
        }

        thead {
            display: table-header-group; /* h5bp.com/t */
        }

        tr,
        img {
            page-break-inside: avoid;
        }

        img {
            max-width: 100% !important;
        }

        @page {
            margin: 0.5cm;
        }

        p,
        h2,
        h3 {
            orphans: 3;
            widows: 3;
        }

        h2,
        h3 {
            page-break-after: avoid;
        }
    }

    /* Flexible iFrame MegCgo'14.10 */

    .Flexible-container {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
        min-height: 390px;
    }

        .Flexible-container iframe,
        .Flexible-container object,
        .Flexible-container embed {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

    #cont {
        /*border: 5px solid #C1C1C1;*/
        /* Fallback for web browsers that doesn't support RGBa */
        background: rgb(0, 0, 0) transparent;
        /* RGBa with 0.6 opacity */
        background: rgba(0, 0, 0, 0.75);
        /* For IE 5.5 - 7*/
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
        /* For IE 8*/
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
        font-size: 1.2em;
        line-height: 1.2em;
        -webkit-border-radius: 30px;
        -moz-border-radius: 30px;
        border-radius: 30px;
        /*width: 50%;*/
        /*height: 50%;*/
        padding: 17px;
        position: absolute;
        bottom: 5%;
        left: 5%;
        text-align: left;
    }

        #cont label {
            font-weight: normal;
        }


    .logo {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 9999;
        color: white;
        text-shadow: 1px 1px 0px rgba(221, 19, 123, 1);
        width: 100px;
    }

        .logo a {
            color: white;
            text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
            text-align: center;
        }

        .logo img {
            width: 100px;
        }

        .logo div {
            text-align: center;
        }

    .logo2 {
        margin-top: 20px;
        margin-left: 12px;
        color: white;
        text-shadow: 1px 1px 0px rgba(221, 19, 123, 1);
        max-width: 150px;
        font-size: 1.4em;
    }

        .logo2 h3 {
            text-shadow: none;
        }

        .logo2 a {
            color: white;
            text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
            text-align: center;
        }

        .logo2 img {
            max-width: 150px;
        }

        .logo2 div {
            text-align: center;
        }

    /* GALERIA DETAIL */

    #imageWrap {
        background-image: url('../Images/ico_loading.gif');
        background-repeat: no-repeat;
        background-position: center center;
    }

    ul.thumbs_list {
        padding-left: 1px;
    }

        ul.thumbs_list li {
            max-width: 135px;
            list-style: none;
            display: inline-block;
        }

    /* GALERIA LIST */

    .Galeria_List a {
        color: #999999;
        text-align: center;
    }

        .Galeria_List a:hover {
            text-decoration: none;
            color: #333333;
        }

    .Galeria_List h4 {
    }

    .alinks:hover {
        filter: Alpha(Opacity=70);
        -moz-opacity: 0.7;
        -khtml-opacity: 0.7;
        opacity: 0.7;
        color: #333333;
    }

    /********************************************************************************************************/
    /* Medium devices (tablets, 768px and up) */
    @media only screen and (min-width: 768px) {

        body, html {
            height: 100%;
            min-height: 100%;
            background-color: #000000;
        }

        .no-js {
            padding-top: 106px;
        }

        h2 {
            margin-top: 0;
        }

        .loading {
            background: url('../Images/ico_loading.gif') no-repeat center center;
        }

        section {
            min-width: 960px;
            opacity: 0;
        }

            .loaded section,
            .no-js section {
                opacity: 1;
                -webkit-transition: opacity 300ms ease-out;
                -moz-transition: opacity 300ms ease-out;
                transition: opacity 300ms ease-out;
            }

        #main {
            overflow-x: hidden;
        }

        .bcg {
            background-position: center center;
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-size: cover;
            height: 100%;
            width: 100%;
        }
        /* Slide 1 */
        #slide-1 .bcg {
            background-image: url('../Images/01.jpg');
        }

        /* Slide 2 */
        #slide-2 .bcg {
            background-image: url('../Images/02.jpg');
            text-align: center;
        }

        /* Slide 3 */
        #slide-3 .bcg {
            background-image: url('../Images/03.jpg');
        }

        #slide-3 .bcg2 {
            background-image: none;
            background-color: #000000;
            position: absolute;
            top: 0;
            left: 0;
        }

        /* Slide 4 */
        .curtainContainer {
            width: 100%;
            height: 100%;
            position: relative;
        }

            .curtainContainer .curtain {
                width: 300%;
                height: 1px;
                background-color: #000000;
                position: absolute;
                top: 25%;
                left: 0;
                opacity: 0;
            }

            .curtainContainer .copy {
                position: absolute;
                bottom: 30%;
                left: 0;
                width: 100%;
            }

        #slide-4 .bcg {
            background-image: url('../Images/04.jpg');
        }

        /* Slide 5 */
        #slide-5 {
            position: relative;
        }

            #slide-5 .bcg {
                background-image: url('../Images/05_A.jpg');
            }

            #slide-5 .bcg2 {
                background-image: url('../Images/05_B.jpg');
                position: fixed;
                bottom: 0;
                left: 0;
                opacity: 0;
                z-index: 1;
            }

            #slide-5 .bcg3 {
                background: none;
                background-color: #FFCCFF;
                z-index: 2;
                position: fixed;
                bottom: 0;
                left: 0;
                opacity: 0;
            }

        .hsContainer {
            display: table;
            table-layout: fixed;
            width: 100%;
            height: 100%;
            overflow: hidden;
            position: relative;
        }

        .hsContent {
            max-width: 450px;
            margin: -150px auto 0 auto;
            display: table-cell;
            vertical-align: middle;
            color: #ebebeb;
            padding: 0 8%;
            text-align: center;
            position: relative;
            z-index: 10;
        }

            .hsContent h2,
            .copy h2 {
                color: #ffffff;
                font-size: 45px;
                line-height: 48px;
                margin-bottom: 12px;
                text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
                text-align: center;
            }

            .hsContent .bgBlack {
                width: 400px;
                margin: 0 auto;
                color: #b2b2b2;
                background-color: rgba(0,0,0,0.75);
                padding: 3px 10px;
                -webkit-border-radius: 10px;
                -moz-border-radius: 10px;
                border-radius: 10px;
                text-align: justify;
            }

            .hsContent a {
                color: #b2b2b2;
                text-decoration: underline;
            }

        .bgBlack {
            background-color: rgba(0,0,0,0.75);
            padding: 3px 10px;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            border-radius: 10px;
            width: 400px;
            margin: 0 auto;
            color: #b2b2b2;
        }


        /* Navigation */
        #slideNav {
            display: none;
            position: fixed;
            right: 0;
            top: 50%;
            margin-top: -80px;
            z-index: 11;
        }

            #slideNav ul {
                list-style: none;
                color: #000000;
                font-size: 13px;
                text-align: center;
            }

            #slideNav li {
                width: 50px;
                height: 50px;
                line-height: 50px;
                background-color: rgba(255,255,255,0.70);
                margin-bottom: 1px;
            }

                .no-rgba #slideNav li {
                    background-color: #ffffff;
                }

            #slideNav a {
                display: block;
                width: 50px;
                height: 50px;
                position: relative;
                overflow: hidden;
                text-decoration: none;
                color: #000000;
            }

                #slideNav a.disabled {
                    cursor: default;
                }

        .logo {
            position: fixed;
            top: 10px;
            left: 10px;
            z-index: 9999;
            color: white;
            text-shadow: 1px 1px 0px rgba(221, 19, 123, 1);
            width: 150px;
        }

            .logo img {
                width: 150px;
            }
    
}
