/****** Meniu *****/

a.menu-link {
    float: right;
    display: block;
    padding: 0 1em 0 1em;
    border: 0;
    color: #4d1a00;
    font-size: 21px;
    font-variant: small-caps;
    text-decoration: none;
    text-shadow: 1px 1px #993300;
}

nav[role=navigation] {
    clear: both;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.js nav[role=navigation] {
    overflow: hidden;
    max-height: 0;
}

nav[role=navigation].active {
    max-height: 15em;
    padding: 0 20px 10px 20px;
}

nav[role=navigation] ul {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(124, 65, 44, 0.6);
    ;
    list-style-type: none;
}

nav[role=navigation] li a {
    display: block;
    display: block;
    border-bottom: 1px solid rgba(124, 65, 44, 0.6);
    ;
    padding: 3px 0 3px 10px;
    color: #4d1a00;
    font-size: 19px;
    font-variant: small-caps;
    text-decoration: none;
    text-shadow: 1px 1px #993300;
}

@media screen and (min-width: 701px) {
    a.menu-link {
        display: none;
    }
    .js nav[role=navigation] {
        max-height: none;
    }
    nav[role=navigation] ul {
        margin: 0 0 0 -0.25em;
        border: 0;
        text-align: center;
    }
    nav[role=navigation] li {
        display: inline-block;
        margin: 0 0.25em;
    }
    nav[role=navigation] li a {
        border: 0;
        color: #4d1a00;
        font-size: 21px;
        font-variant: small-caps;
        text-decoration: none;
        text-shadow: 1px 1px #993300;
    }
    nav[role=navigation] li a:hover {
        text-decoration: none;
        color: #cc4400;
        font-weight: 500;
        text-shadow: 1px 1px #000000;
    }
}

.description-content-small {
    height: 500px !important;
}


/*End Meniu*/


/***** Rezerva Online *****/

#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 102%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

#rezerva_online {
    background-image: url(images/modal.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin: 20px auto;
    min-width: 500px;
}

#rezerva_online form {
    padding: 30px;
    padding-bottom: 10px;
}

#rezerva_online .form-control {
    border-radius: 0px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    height: 40px;
    color: black;
    font-size: initial;
    font-family: cursive;
    border: none !important;
    background-color: none !important;
}

#sources li {
    list-style: none;
    width: 50px;
    height: 50px;
}

label {
    color: #400000;
}

.control-label {
    font-weight: normal;
    font-size: medium;
    font-family: cursive;
}

legend {
    text-align: -webkit-center;
    font-size: 25px;
    color: #400000;
    font-family: cursive;
}

.remark {
    border-top: 1px solid #400000;
    margin: 0px 50px 0px 50px;
    margin-top: 40px;
    text-align: -webkit-center;
}

p.remark span {
    display: inline-block;
    position: relative;
    top: -50px;
    font-size: 25px;
    color: #400000;
    font-family: cursive;
}

.rezervare {
    color: #400000;
    border-radius: 0px;
    font-size: medium;
}

#ics {
    float: right;
    padding: 10px;
    cursor: pointer;
}

#rezerva_online .form-group {
    margin-bottom: 10px;
}

@media all and (max-width: 767px) and (min-width: 120px) {
    p.remark span {
        font-size: 23px;
    }
    #rezerva_online {
        width: 200px;
    }
    label {
        width: 34%;
        float: left;
        text-align: right;
    }
    .col-sm-7,
    .col-resize {
        width: 50%;
        float: left;
    }
    #top_adj_l {
        margin-top: 18px;
    }
    #top_adj_i {
        margin-top: 15px;
    }
    .form-control {
        height: 30px;
    }
    .control-label {
        padding-top: 4px;
        font-size: 15px;
    }
    .rezervare {
        margin-left: 45%;
    }
}


/*Button rezervare*/

.button {
    position: relative;
    height: 45px;
    cursor: pointer;
    box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.2), inset 0px -2px 0px 0px rgba(0, 0, 0, 0.3), inset 0px 2px 0px 0px rgba(255, 255, 255, 0.5);
    background: rgba(225, 225, 225, 0.8);
}

.button div {
    padding: 5px 10px 7px 15px;
    color: #4C1A00;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.4);
    font-size: 1em;
    text-transform: none;
}

.wood {
    color: #000;
    font-size: medium;
    margin-left: 20px;
}

#rezervare_img {
    width: 35px;
    margin-left: 5px;
    margin-top: 5px;
    border-radius: 5px;
    float:left;
}


/***** End Rezerva Online *****/

.galerie {
    padding: 3px;
    margin: 6px;
    border: 1px solid #999;
    display: block;
    float: left;
    background: #FBFBFB;
}

.rectangle #icons {
    display: -webkit-box;
    float: right;
    padding: 5px;
}

.rectangle {
    height: 62px;
    position: relative;
    z-index: 500;
    margin: 1.5em 0;
}

#navigation_container {
    margin: 0 auto;
    opacity: 0.9;
    width: 195px;
    float: left;
    height: inherit;
    padding-right: 25px;
    padding-top: 30%;
}

#navigation {
    padding-top: 5px;
}

#navigation li a:hover {
    padding-right: 3px;
    color: brown;
}

#navigation li a {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    display: block;
    text-decoration: none;
    color: #4C1A00;
    font-size: 1.1em;
    margin: 0 .4em;
}

#navigation li {
    list-style: none;
    display: block;
    float: left;
    margin: 0.1em;
    padding-top: 20px;
    text-transform: uppercase;
}

#rezervare_p {
    padding-top: 5px;
    padding-left: 45px;
    text-shadow: 0px 0px 0px black;
    color: #993300;
    line-height: 17px;
}

body {
    background: url(images/background.jpg) no-repeat center center fixed;
    /* font: normal 85% Trebuchet MS, Tahoma, sans-serif;
    line-height: 20px;
    color: #4C1A00;*/
    color: #000000 !important;
    font-family: Trebuchet MS, Tahoma, sans-serif !important;
    line-height: 25px;
    font-size: 14px;
}

#main_center {
    background: url(images/bgr-wrapper.png) no-repeat;
    background-size: 100% 100%;
    margin: 0px auto;
    width: 75%;
    height: 1000px;
    position: relative;
}

#sources {
    margin: 0px auto;
    width: 75%;
    height: 60px;
    position: relative;
    padding-top: 10px;
    list-style: none;
    padding-right: 10px;
    opacity: 0.8;
}

#sources ul {
    float: right;
    display: inline-flex;
}

.icn {
    height: 45px;
    width: 45px;
}

.icn:hover {
    /*box-shadow: 2px 1px 10px 0px black;
    border-radius: 10px;*/
    width: 46px;
    height: 46px;
}

#description {
    padding-left: 30px;
    padding-right: 30px;
}

#description h1 {
    margin-top: 0;
}

#description-content {
    height: 600px;
    overflow: auto;
    line-height: 25px;
    overflow-x: hidden !important;
}


/* Let's get this party started */

#description-content::-webkit-scrollbar {
    width: 7px;
}


/* Track */

#description-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}


/* Handle */

#description-content::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    /*    background:  rgba(255, 0, 0, 0.2);*/
    background-color: rgba(124, 65, 44, 0.6);
    background: rgba(124, 65, 44, 0.6);
    color: rgba(124, 65, 44, 0.6);
}

#description-content::-webkit-scrollbar-thumb:window-inactive {
    background-color: rgba(124, 65, 44, 0.6);
    background: rgba(124, 65, 44, 0.6);
    color: rgba(124, 65, 44, 0.6);
}

#banner {
    background: url(.jpg) no-repeat;
    margin: -20px auto;
    width: 52%;
    height: 100px;
    position: relative;
}

#rezervare_li {
    width: 150px;
    float: left;
}

@media all and (max-width: 900px) and (min-width: 701px) {
    .galerie-img {
        height: 125px;
    }
    #navigation_container {
        margin: 0 auto;
        width: 165px;
        opacity: 0.9;
        float: left;
        height: inherit;
        padding-top: 29%;
    }
    .rectangle {
        height: 185px;
    }
    #navigation {
        padding-top: 5px;
    }
    #navigation li a:hover {
        padding-right: 3px;
        color: brown;
    }
    #navigation li a {
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
        display: block;
        text-decoration: none;
        color: #4C1A00;
        font-size: 1em;
        margin: 0 .4em;
    }
    #navigation li {
        list-style: none;
        display: block;
        float: left;
        margin: 0.1em;
        padding-top: 15px;
        text-transform: uppercase;
        width: 100px;
    }
    #main_center {
        width: 85%;
        height: 1000px;
        position: relative;
    }
    #description {
        padding-left: 30px;
        padding-right: 30px;
    }
    #description h1 {
        font-size: 26px;
        margin-top: 25px;
    }
    #description p {
        line-height: 23px;
    }
    body {
        line-height: 17px;
    }
    #sources {
        padding-right: 0px;
        width: 83%;
    }
    .fadein {
        height: 230px !important;
    }
    .fadein img {
        height: 200px !important;
        width: 100%;
    }
}

@media all and (max-width: 700px) and (min-width: 501px) {
    #navigation_container {
        margin: 0 auto;
        width: 96%;
        opacity: 0.9;
        min-width: 350px;
        padding-top: 30%;
        height: auto;
        padding-right: 5px;
        padding-left: 5px;
    }
    .rectangle {
        height: 35px;
        position: relative;
        -moz-box-shadow: 1px 1px 9px 1px rgba(0, 0, 0, 0.55);
        box-shadow: 1px 1px 7px 1px rgba(0, 0, 0, 0.55);
        z-index: 500;
        width: 428px;
        margin: 10px auto;
    }
    .rectangle #icons {
        display: -webkit-box;
        float: right;
        padding: 15px 0px;
    }
    #navigation {
        height: inherit;
        padding: 0 3% 0 3%;
    }
    .icn {
        height: 45px;
        width: 45px;
    }
    #sources {
        width: 90%;
    }
    #navigation li a:hover {
        margin-top: 3px;
        color: brown;
    }
    #navigation li a {
        text-shadow: 0 2px 1px rgba(0, 0, 0, 0.5);
        display: block;
        text-decoration: none;
        color: #4C1A00;
        font-size: 1em;
        margin: 0 .4em;
    }
    #navigation li {
        list-style: none;
        display: block;
        float: left;
        margin: 0;
        padding-top: 8px;
        text-transform: uppercase;
        font-size: 12px;
        padding-left: 3%;
    }
    #main_center {
        width: 90%;
        height: 1000px;
        min-width: 350px;
        font-size: 95%;
        position: relative;
    }
    .fadein {
        height: 150px !important;
    }
    .fadein img {
        height: 140px !important;
    }
    #description {
        padding-left: 30px;
        padding-right: 30px;
    }
    #description h1 {
        font-size: 26px;
        margin-top: 0;
    }
    #description p {
        line-height: 23px;
    }
    #description-content {
        height: 670px;
    }
}

@media all and (max-width: 500px) and (min-width: 120px) {
    .fadein {
        height: 120px !important;
    }
    .fadein img {
        height: 115px !important;
        width: 100%;
    }
    #navigation_container {
        margin: 0 auto;
        width: 100%;
        opacity: 0.9;
        min-width: 320px;
        padding-top: 30%;
        height: auto;
        padding-right: 0px;
    }
    .rectangle {
        height: 30px;
        position: relative;
        -moz-box-shadow: 1px 1px 9px 1px rgba(0, 0, 0, 0.55);
        box-shadow: 1px 1px 7px 1px rgba(0, 0, 0, 0.55);
        z-index: 500;
        width: 320px;
        margin: 10px auto;
    }
    .rectangle #icons {
        display: -webkit-box;
        float: right;
        padding: 15px 0px;
    }
    .icn {
        height: 35px;
        width: 35px;
    }
    .icn:hover {
        width: 37px;
        height: 37px;
    }
    #sources {
        width: 100%;
        height: 50px;
    }
    #navigation li a:hover {
        margin-top: 3px;
        color: brown;
    }
    #navigation li a {
        text-shadow: 0 2px 1px rgba(0, 0, 0, 0.5);
        display: block;
        text-decoration: none;
        font-size: 0.86em;
        margin: 0 .4em;
    }
    #navigation li {
        list-style: none;
        display: block;
        float: left;
        margin: 0;
        padding-left: 1%;
        padding-top: 7px;
    }
    #navigation {
        padding-left: 0;
        padding-top: 0px;
        width: inherit;
        height: inherit;
    }
    #main_center {
        width: 100%;
        height: 1010px;
        min-width: 320px;
        font-size: 95%;
        position: relative;
    }
    .fadein {
        width: 96%;
        margin-left: auto;
        margin-right: auto;
    }
    #description {
        padding-left: 15px;
        padding-right: 15px;
    }
    #description h1 {
        font-size: 20px;
        margin-top: 0;
        margin-bottom: 0;
    }
    #description h3 {
        font-size: 17px;
        margin: 0;
    }
    #description p {
        font-size: 13px;
    }
    #description-content {
        height: 770px;
    }
    body {
        line-height: 15px;
    }
    .footer {
        width: 100% !important;
        padding: 3px !important;
        line-height: 12px !important;
    }
    .footer-title {
        font-size: 17px !important;
        line-height: 15px !important;
        padding-bottom: 5px !important;
    }
    #sources li {
        list-style: none;
        width: 40px;
        height: 40px;
    }
    
    .button {
        height: 40px;
    }
    
    #rezervare_img {
        width: 30px;
    }
    
    #rezervare_p {
        line-height: 16px;
    }
}

.fadein {
    position: relative;
    height: 332px;
}

.fadein img {
    position: absolute;
    left: 0;
    top: 10px;
    border-radius: 20px;
}


/*footer*/

#footer_bgr {
    background: #ffffff no-repeat center bottom;
    color: #9b9b9b;
    position: relative;
    bottom: 0;
    height: 180px;
    clear: both;
}

.footer {
    width: 75%;
    background: none;
    color: #999;
    text-align: left;
    font-family: Trebuchet MS, Geneva, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-style: normal;
    padding: 25px 0px 0px 0px;
    line-height: 25px;
    clear: both;
    margin: 0px auto 0 auto;
    position: relative;
}

.footer-title {
    color: #875323;
    font-family: Trebuchet MS, Geneva, Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 20px;
    padding-bottom: 10px;
    padding-top: 0px;
}

.footer-description {
    color: #999999;
    font-family: Trebuchet MS, Geneva, Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 20px;
    padding-bottom: 15px;
}

.footerLeft {
    float: left;
    margin-left: 0px;
}

.footerRight {
    float: right;
    margin-right: 0px;
}

.footer a {
    padding: 3px;
    color: #999;
    text-decoration: none;
}

.fadein {
    position: relative;
    width: 96%;
    height: 310px;
    margin-left: auto;
    margin-right: auto;
}

.fadein IMG {
    width: 100%;
    height: 300px;
}


/*#slideshow IMG.active {
    z-index: 10;
    opacity: 1.0;
}*/

#slideshow IMG.last-active {
    z-index: 9;
}

.color-brown {
    color: #875323 !important;
    text-decoration: underline;
    font-weight: 600;
}

.close-rezervare {
    font-size: 20px;
    font-weight: 700;
    float: right;
    padding: 10px;
    cursor: pointer;
}

.photo img {
    width: 140px;
    height: 140px;
    margin: 5px;
    border: 2px solid #fff;
}

#thumbnails li {
    list-style-type: none !important;
    float: left;
}


/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
 * 
 * Version: 1.3.4 (11/11/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#fancybox-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1104;
    display: none;
}

#fancybox-loading div {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 480px;
    background-image: url('fancybox.png');
}

#fancybox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    display: none;
}

#fancybox-tmp {
    padding: 0;
    margin: 0;
    border: 0;
    overflow: auto;
    display: none;
}

#fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    z-index: 1101;
    outline: none;
    display: none;
}

#fancybox-outer {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
}

#fancybox-content {
    width: 0;
    height: 0;
    padding: 0;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1102;
    border: 0px solid #fff;
}

#fancybox-hide-sel-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1101;
}

#fancybox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: transparent url('fancybox.png') -40px 0px;
    cursor: pointer;
    z-index: 1103;
    display: none;
}

#fancybox-error {
    color: #444;
    font: normal 12px/20px Arial;
    padding: 14px;
    margin: 0;
}

#fancybox-img {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    line-height: 0;
    vertical-align: top;
}

#fancybox-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

#fancybox-left,
#fancybox-right {
    position: absolute;
    bottom: 0px;
    height: 100%;
    width: 35%;
    cursor: pointer;
    outline: none;
    background: transparent url('blank.gif');
    z-index: 1102;
    display: none;
}

#fancybox-left {
    left: 0px;
}

#fancybox-right {
    right: 0px;
}

#fancybox-left-ico,
#fancybox-right-ico {
    position: absolute;
    top: 50%;
    left: -9999px;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    cursor: pointer;
    z-index: 1102;
    display: block;
}

#fancybox-left-ico {
    background-image: url('fancybox.png');
    background-position: -40px -30px;
}

#fancybox-right-ico {
    background-image: url('fancybox.png');
    background-position: -40px -60px;
}

#fancybox-left:hover,
#fancybox-right:hover {
    visibility: visible;
    /* IE6 */
}

#fancybox-left:hover span {
    left: 20px;
}

#fancybox-right:hover span {
    left: auto;
    right: 20px;
}

.fancybox-bg {
    position: absolute;
    padding: 0;
    margin: 0;
    border: 0;
    width: 20px;
    height: 20px;
    z-index: 1001;
}

#fancybox-bg-n {
    top: -20px;
    left: 0;
    width: 100%;
    background-image: url('fancybox-x.png');
}

#fancybox-bg-ne {
    top: -20px;
    right: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -162px;
}

#fancybox-bg-e {
    top: 0;
    right: -20px;
    height: 100%;
    background-image: url('fancybox-y.png');
    background-position: -20px 0px;
}

#fancybox-bg-se {
    bottom: -20px;
    right: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -182px;
}

#fancybox-bg-s {
    bottom: -20px;
    left: 0;
    width: 100%;
    background-image: url('fancybox-x.png');
    background-position: 0px -20px;
}

#fancybox-bg-sw {
    bottom: -20px;
    left: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -142px;
}

#fancybox-bg-w {
    top: 0;
    left: -20px;
    height: 100%;
    background-image: url('fancybox-y.png');
}

#fancybox-bg-nw {
    top: -20px;
    left: -20px;
    background-image: url('fancybox.png');
    background-position: -40px -122px;
}

#fancybox-title {
    font-family: Helvetica;
    font-size: 12px;
    z-index: 1102;
}

.fancybox-title-inside {
    padding-bottom: 10px;
    text-align: center;
    color: #333;
    background: #fff;
    position: relative;
}

.fancybox-title-outside {
    padding-top: 10px;
    color: #fff;
}

.fancybox-title-over {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #FFF;
    text-align: left;
}

#fancybox-title-over {
    padding: 10px;
    background-image: url('fancy_title_over.png');
    display: block;
}

.fancybox-title-float {
    position: absolute;
    left: 0;
    bottom: -20px;
    height: 32px;
}

#fancybox-title-float-wrap {
    border: none;
    border-collapse: collapse;
    width: auto;
}

#fancybox-title-float-wrap td {
    border: none;
    white-space: nowrap;
}

#fancybox-title-float-left {
    padding: 0 0 0 15px;
    background: url('fancybox.png') -40px -90px no-repeat;
}

#fancybox-title-float-main {
    color: #FFF;
    line-height: 29px;
    font-weight: bold;
    padding: 0 0 3px 0;
    background: url('fancybox-x.png') 0px -40px;
}

#fancybox-title-float-right {
    padding: 0 0 0 15px;
    background: url('fancybox.png') -55px -90px no-repeat;
}


/* IE6 */

.fancybox-ie6 #fancybox-close {
    background: transparent;
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale');
}

.fancybox-ie6 #fancybox-left-ico {
    background: transparent;
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale');
}

.fancybox-ie6 #fancybox-right-ico {
    background: transparent;
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale');
}

.fancybox-ie6 #fancybox-title-over {
    background: transparent;
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale');
    zoom: 1;
}

.fancybox-ie6 #fancybox-title-float-left {
    background: transparent;
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale');
}

.fancybox-ie6 #fancybox-title-float-main {
    background: transparent;
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale');
}

.fancybox-ie6 #fancybox-title-float-right {
    background: transparent;
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale');
}

.fancybox-ie6 #fancybox-bg-w,
.fancybox-ie6 #fancybox-bg-e,
.fancybox-ie6 #fancybox-left,
.fancybox-ie6 #fancybox-right,
#fancybox-hide-sel-frame {
    height: expression(this.parentNode.clientHeight + "px");
}

#fancybox-loading.fancybox-ie6 {
    position: absolute;
    margin-top: 0;
    top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2: document.body.clientHeight/2) + ( ignoreMe=document.documentElement.scrollTop ? document.documentElement.scrollTop: document.body.scrollTop)) + 'px');
}

#fancybox-loading.fancybox-ie6 div {
    background: transparent;
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale');
}


/* IE6, IE7, IE8 */

.fancybox-ie .fancybox-bg {
    background: transparent !important;
}

.fancybox-ie #fancybox-bg-n {
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale');
}

.fancybox-ie #fancybox-bg-ne {
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale');
}

.fancybox-ie #fancybox-bg-e {
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale');
}

.fancybox-ie #fancybox-bg-se {
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale');
}

.fancybox-ie #fancybox-bg-s {
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale');
}

.fancybox-ie #fancybox-bg-sw {
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale');
}

.fancybox-ie #fancybox-bg-w {
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale');
}

.fancybox-ie #fancybox-bg-nw {
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale');
}