/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================

   Author's custom styles
   by David Patejdl - Web & Design 2016


   - - Colors - -
   Mario Lentes - Rot: #c02525;
   Mario Lentes - Rot Highlighted: #ff3535;
   Mario Lentes - Blau: #155596;

   ========================================================================== */

body {
    background: #f9f9f9;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

.wrapper {
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
}

hr {
    margin: 0;
    padding: 0;
}

hr.thin,
div.thin {
    height: 3px;
}

hr.thick,
div.thick {
    height: 22px;
}

hr.blue-to-red,
div.blue-to-red {
    background: #c02525; /* Old browsers */
    background: -moz-linear-gradient(left,  #c02525 0%, #155596 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#c02525), color-stop(100%,#155596)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #c02525 0%,#155596 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #c02525 0%,#155596 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #c02525 0%,#155596 100%); /* IE10+ */
    background: linear-gradient(to right,  #c02525 0%,#155596 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c02525', endColorstr='#155596',GradientType=1 ); /* IE6-9 */
}

hr.red-to-blue,
div.red-to-blue {
    background: #155596; /* Old browsers */
    background: -moz-linear-gradient(left,  #155596 0%, #c02525 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#155596), color-stop(100%,#c02525)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #155596 0%,#c02525 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #155596 0%,#c02525 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #155596 0%,#c02525 100%); /* IE10+ */
    background: linear-gradient(to right,  #155596 0%,#c02525 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#155596', endColorstr='#c02525',GradientType=1 ); /* IE6-9 */
}

.nav-container {
    background: #2d2d2d;
    position: relative;
}

a.home {
    background-image: url('../img/home_button.gif');
    background-repeat: no-repeat;
    display: block;
    width: 133px;
    height: 102px;
    float: left;
}

ul.scroll {
    float: right;
    list-style: none;
    margin-top: 5%;
    width: 37%;
}

ul.scroll-bottom {
    float: right;
    list-style: none;
    margin-top: 1.3%;
    width: 37%;
}

ul.scroll li {
    display: inline;
    padding: 0 1%;
    text-align: right;
}

ul.scroll li a {
    color: #fffefe;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.875em;
}

ul.scroll li a:hover {
    color: #ff3535;
}

.head-container {
    background: #1c1c1c;
    position: relative;
}

.head-content {
}

.head-content ul.bxslider {
	margin: 0;
}

.head-content ul.bxslider li img {
	width: 100%
}

.head-content img.bg-img {
    position: relative;
    width: 100%;
    color: white;
}

.head-content .head-text {
    position: absolute;
    top: 15px;
    width: 100%;
    width: 100%;
    text-align: center;
    color: #fff;
}

.head-content .head-text h1 {
    font-size: 5em;
    letter-spacing: 5px;
    margin-bottom: 0;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px #000;
}

.head-content .head-text h2 {
    margin-top: 0;
    font-size: 1.2em;
    text-shadow: 1px 1px 3px #000;
}

.head-content .head-text a.down {
    display: inline-block;
    height: 63px;
    width: 63px;
    margin-top: 3%;
}

.leistungen-container {
    background: #f9f9f9;
    margin: 5% 0 5% 0;
}

.leistungen-container .headline {
    text-align: center;
    /*margin: 6% 0 0 0;*/
}

.leistungen-container .headline h4 {
    margin: 0;
    color: #969595;
    font-size: 1.25em;
    font-weight: normal;
}

.leistungen-container .headline h3 {
    margin: 0;
    padding: 0 0 20px 0;
    font-size: 1.875em;
    background-image: url("../img/blue-dotted-sub.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    text-transform: uppercase;
}

.leistungen-container .leistungen-box {
    margin-top: 5%;
}

.leistungen-container .leistungen-box,
.footer-container .footer-box {
	width: 30.8333333%;
	margin-right: 3.33333%;
	float: left;
	min-width: 250px;
}

.leistungen-box {background: #fff;}
.footer-box {background: #313131;}

.leistungen-container .leistungen-box.last,
.footer-container .footer-box.last {
    margin-right: 0 !important;
}

.leistungen-container .leistungen-box img {
    float: left;
    width: 27.027027027%;
}

.leistungen-container .leistungen-box h5,
.leistungen-container .leistungen-box p {
    margin-left: 33%;
    margin-right: 2%;
}

.leistungen-container .leistungen-box h5 {
    font-size: 1em;
    font-weight: normal;
}

.leistungen-container .leistungen-box p {
    font-size: 0.8125em;
    line-height: 1.8em;
    color: #969595;
}

.leistungen-container .special {
    background: #fff;
    font-size: 1.5em;
    text-align: center;
}

.referenzen-container {
    margin: 5% 0 5% 0;
}

.referenzen-container .headline,
.partner-container .headline {
    text-align: center;
    margin-bottom: 40px;
}

.referenzen-container .headline h3,
.partner-container .headline h3 {
    margin: 0;
    padding: 0 0 20px 0;
    font-size: 1.875em;
    background-image: url("../img/blue-dotted-sub.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    text-transform: uppercase;
}

.referenzen-container .referenzen-content {
    position: relative;
}

.referenzen-container .referenzen-content .centerer {
    display: block;
    width: 100%;
    overflow: hidden;
}

.referenzen-container .referenzen-content .referenzen-box {
    display: inline-block;
    background: #ffffff;
    float: left;
    height: auto;
    width: 31%;
    min-width: 155px;
    margin-right: 3.5%;
    margin-bottom: 20px;
    text-align: center;
    color: #969595;
    padding-bottom: 15px;
}

.referenzen-container .referenzen-content .referenzen-box.last {
    margin-right: 0;
}

.referenzen-container .referenzen-content img,
.referenzen-container .referenzen-content .referenzen-box img {
    width: 100%;
}

.referenzen-container .referenzen-content .referenzen-box h5 {
    font-size: .8125em;
    font-weight: normal;
    line-height: 1em;
    color: #313131;
}

.referenzen-container .referenzen-content .referenzen-box p {
    font-size: 0.6875em;
    line-height: 1em;
    margin: 0 0 25px 0;
}

.blue-container {
    background: url("../img/bg_blue.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.about-container {
    position: relative;
}

.about-container .left,
.about-container .right,
.contact-container .left,
.contact-container .right {
    position: relative;
    float: left;
    width: 50%;
    margin: 20px 0;
}

.about-container .left div {
    margin: 0 auto;
    width: 70%;
}

.about-container .left img {
	width: 100%;
}

.about-container h5 {
    color: #fff;
    font-weight: normal;
}

.about-container p {
    color: #9dd1f6;
    font-size: 0.8125em;
}

.partner-container {
    padding: 40px 0;
}

.partner-container a {
    display: inline-block;
    width:292px;
    height:200px;
    cursor: pointer;
    color: transparent;
}

.partner-container a:hover {
    background-position: 0 200px;
}

.laeis {background-image: url('../img/sprite_laeis.gif');}
.leysser {background-image: url('../img/sprite_leysser.gif');}
.tece {background-image: url('../img/sprite_tece.gif');}
.viessmann {background-image: url('../img/sprite_viessmann.gif');}
.heat4all {background-image: url('../img/sprite_heat4all.gif');}
.solarfocus {background-image: url('../img/sprite_solarfocus.gif');}
.hueppe {background-image: url('../img/sprite_hueppe.gif');}

.contact-container {
    padding: 1% 0 3% 0;
}

.contact-container .left img.portrait {
    width: 26%;
    float: left;
    border: 1px solid #fff;
}

.contact-container .left .box p {
    width: 63%;
    float: right;
    margin: 0 4% 5% 4%;
    padding: 0;
    vertical-align: top;
    font-size: 0.75em;
    line-height: 2em;
    color: #fff;
}

.contact-container .left .box img {
    margin-left: 7%;
}

.contact-container form input {
    background: none;
    width: 97%;
    height: 35px;
    padding: 3px 8px;
    margin-bottom: 1%;
    border: 1px solid #fff;
    color: #fff;
}

::-webkit-input-placeholder {color:#fff; font-size: 12px;}
:-moz-placeholder {color:#fff; font-size: 12px;}
::-moz-placeholder {color:#fff; font-size: 12px;}
:-ms-input-placeholder {color:#fff; font-size: 12px;}


.contact-container input.error {
    border-color: #E09981;
}
.contact-container label.error {
    color: #E09981;
    font-size: 0.75em;
    padding: 0 0 20px 0;
    display: inline-block;
}

.contact-container form textarea {
    background: none;
    width: 97%;
    height: 75px;
    padding: 3px 8px;
    margin-bottom: 1%;
    border: 1px solid #fff;
    color: #fff;
}

.contact-container form button {
    background: none;
    width: 100%;
    height: 45px;
    padding: 15px 8px;
    margin-bottom: 1%;
    border: 1px solid #fff;
    font-size: 0.8333em;
    color: #fff;
}

.contact-container form button:active {
    box-shadow: 1px 1px 0px #000;
}

.contact-container .danke {
    display: none;
}

.footer-container {
    background: #313131;
}

.footer-container .adress,
 .footer-container .social {
    padding-top:5%;
}

.footer-container .adress span {
    color: #969595;
    font-size: 0.75em;
}

.footer-container .adress span a,
.footer-container .social a {
    color: #969595;
    text-decoration: none;
}

.footer-container .adress span a:hover {
    text-decoration: underline;
}

.footer-container .social a {
    margin-right: 5px;
    display: block;
    width: 45px;
    height: 45px;
    font-size: 2em;
    float: right;
    border: 2px solid transparent;
    text-align: center;
}

.footer-container .social a:hover {
    color: #31aae2;
    border: 2px solid #31aae2;
    border-radius: 30px;
}

.text-container {
  background-color: #f9f9f9;
  color: #444;
  padding: 5% 10% 10% 10%;
}

.text-container p,
.text-container ul {
  font-size: 0.85em;
}

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

@media only screen and (max-width: 720px) {

	.leistungen-container .leistungen-box {
	  width: 95%;
	  margin: 5% auto;
	}


}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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



/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
	position: relative;
	margin: 0 auto 0px;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
	display: block;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	-moz-box-shadow: 0 0 5px #ccc;
	background: #fff;

	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
    	-ms-transform: translatez(0);
    	-o-transform: translatez(0);
    	transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: 10px;
	width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(images/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
	padding-top: 20px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #000;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 10px;
	background: url(images/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
	right: 10px;
	background: url(images/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(images/controls.png) -86px -11px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(images/controls.png) -86px -44px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: center;
	width: 100%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #666\9;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
}

.bx-wrapper .bx-caption span {
	color: #fff;
	font-family: Arial;
	display: block;
	font-size: .85em;
	padding: 10px;
}


/*
 * 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('../img/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('../img/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('../img/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('../img/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('../img/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('../img/fancybox-x.png');
}

#fancybox-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url('../img/fancybox.png');
	background-position: -40px -162px;
}

#fancybox-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url('../img/fancybox-y.png');
	background-position: -20px 0px;
}

#fancybox-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url('../img/fancybox.png');
	background-position: -40px -182px;
}

#fancybox-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url('../img/fancybox-x.png');
	background-position: 0px -20px;
}

#fancybox-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url('../img/fancybox.png');
	background-position: -40px -142px;
}

#fancybox-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url('../img/fancybox-y.png');
}

#fancybox-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url('../img/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('../img/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('../img/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('../img/fancybox-x.png') 0px -40px;
}

#fancybox-title-float-right {
	padding: 0 0 0 15px;
	background: url('../img/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'); }
