/*
	Background Stretcher jQuery Plugin 
	© 2009 ajaxBlender.com
*/

/*
 * 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.
 */


/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */
 
@font-face {
    font-family: 'MuseoSlab500';
    src: url('museo_slab_500-webfont.eot');
    src: url('museo_slab_500-webfont.eot?#iefix') format('embedded-opentype'),
         url('museo_slab_500-webfont.woff') format('woff'),
         url('museo_slab_500-webfont.ttf') format('truetype'),
         url('museo_slab_500-webfont.svg#MuseoSlab500') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'NovecentoLightWide';
    src: url('novecento-lightwide-webfont.eot');
    src: url('novecento-lightwide-webfont.eot?#iefix') format('embedded-opentype'),
         url('novecento-lightwide-webfont.woff') format('woff'),
         url('novecento-lightwide-webfont.ttf') format('truetype'),
         url('novecento-lightwide-webfont.svg#NovecentoLightWide') format('svg');
    font-weight: normal;
    font-style: normal;

}

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; padding:0; margin:0; height:100%; }

body { margin: 0; font-size: 13px; line-height: 21px; padding: 0; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }
header { float:left; width:100%; height:133px; background:url(images/nav-bar-background.png) repeat-x top left; }
#top { float:left; width:960px; height:107px; margin:0; position:relative; top:25px; left:0; z-index:1; position:absolute; background:url(images/logo-shine.png) no-repeat 0 0;}
#container { float:left; width:960px; height:100%; margin:0; position:relative; }
#container2 { float:left; width:960px; height:auto; margin:0; position:relative; }
.div-in { float:left; width:50%; height:auto; }
.div-in2 { float:left; width:45%; height:auto; margin-right:5%; }
.container-inside { float:left; width:820px; margin:40px 0 40px 60px; height:auto; padding:40px; background:url(images/inside-background.png) repeat; -moz-box-shadow:    1px 1px 0 1px #ccc; -webkit-box-shadow: 1px 1px 0 1px #ccc; box-shadow: 1px 1px 0 1px #ccc; -moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px; /* future proofing */
-khtml-border-radius: 10px; /* for old Konqueror browsers */ }
.bottom-room { padding-bottom:100px; }
#container a { text-decoration:none; color:#ad8e60; }
#logo { background:url(images/odi-logo.png) no-repeat 0 0; width:233px; height:148px; top:-18px; left:60px; z-index:1; position:absolute; }
#logo span { display:none; }
nav { width:740px; height:auto; z-index:1; position:absolute; top:25px; left:320px; }
#wrapper { background:url(images/grid.png) repeat; float:left; width:100%; min-height:100%; height:auto; }
footer { float:left; height:auto; padding:5px 0; background:#333; width:100%; position:fixed; bottom:0; left:0; z-index:1px; color:#878787; }
footer a { text-decoration:none; color:#ad8e60; }
footer p { padding:0 20px; }
.social { float:right; z-index:2; right:20px; top:10px; width:100px; height:auto; position:relative; }
#container p { float:left; width:500px; margin:10px 0 10px 40px; color:#CCC; text-shadow: 1px 1px 1px #000; font-weight:bold; background:url(images/text-background.png) repeat; padding:10px 20px; }
#container2 p { margin:10px 0 5px 0; color:#575757; text-shadow: 1px 1px 1px #fff;  padding:5px 0; }
.main-title { width:auto; margin:200px 0 10px 40px; color:#fff; text-shadow: 1px 1px 1px #000; padding:10px 20px 0 20px; }
.nav-divider { float:left; background:url(images/nav-divider.png) no-repeat 0 0; width:35px; height:59px; }

h1, h2 {
	color:#821d1d;
	margin: 0;
	padding: 0 0 5px 0;
	padding-bottom: 3px;
	margin-bottom: 15px;
}
h1 {
	padding-bottom: 3px;
	margin-bottom: 15px;
	font-family: 'MuseoSlab500';
	font-size: 26px;
	font-weight:lighter;
}
h2 { font-size: 14px; }

/* =============================================================================
   Lists
   ========================================================================== */

nav ul, nav ol { list-style: none; margin: 0; padding: 0; }
nav li { display:inline; float:left; font-size:14px; font-family: 'NovecentoLightWide'; font-weight:lighter; }
.navitem { padding-top:20px; }
#container ul { float:left; width:500px; margin:10px 0 10px 40px; color:#CCC; text-shadow: 1px 1px 1px #000; font-weight:bold; background:url(images/text-background.png) repeat; padding:10px 20px; }
#container li { padding-bottom:10px; }
#container2 ul { color:#575757; text-shadow: 1px 1px 1px #fff;  }
#container2 li { padding-bottom:10px; }
.div-in2 ul { list-style:url(images/red-bullet.png); }

/* =============================================================================
   Links
   ========================================================================== */

a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }
nav a { text-transform:capitalize; font-weight:bold; color:#c0c0c0; text-decoration:none; padding:5px 20px; }
nav a:hover { color:#ad8e60; }

.facebook { background:url(images/facebook.png) no-repeat 0 0; float:right; width:30px; height:30px; }
.facebook span { display:none; }

.twitter { background:url(images/twitter.png) no-repeat 0 0; float:right; width:30px; height:30px; margin-right:10px; }
.twitter span { display:none; }
.panel { color:#c0c0c0; }

#wrapper-main {
	width:100%;
	height:100%;
	position:absolute;
	top:0;left:0;
	overflow:hidden;
	z-index:2000;
}

	#mask {
		width:500%;
		height:100%;
		z-index:2000;
	}

	.item {
		width:20%;
		height:100%;
		float:left;
		
	}
	
	
	.content {
		width:400px;
		height:300px;
		top:20%;
		margin:0 auto;
		background-color:#aaa;
		position:relative;
		z-index:2000;
	}
	
	.selected {
		background:url(images/selected-background.png);
		color:#ad8e60;
	}

	.clear {
		clear:both;
	}

/* =============================================================================
   Gallery
   ========================================================================== */
   
.ad-gallery {
  width: 370px;
}
.ad-gallery, .ad-gallery * {
  margin: 0;
  padding: 0;
}
  .ad-gallery .ad-image-wrapper {
    width: 100%;
    height: 246px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
  }
    .ad-gallery .ad-image-wrapper .ad-loader {
      position: absolute;
      z-index: 10;
      top: 48%;
      left: 48%;
      border: 1px solid #CCC;
    }
    .ad-gallery .ad-image-wrapper .ad-next {
      position: absolute;
      right: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .ad-gallery .ad-image-wrapper .ad-prev {
      position: absolute;
      left: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
    .ad-gallery .ad-image-wrapper .ad-prev, .ad-gallery .ad-image-wrapper .ad-next {
      /* Or else IE will hide it */
      background: url(images/non-existing.jpg)\9
    }
      .ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(ad_prev.png);
        width: 30px;
        height: 30px;
        display: none;
        position: absolute;
        top: 47%;
        left: 0;
        z-index: 101;
      }
      .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(images/ad_next.png);
        width: 30px;
        height: 30px;
        right: 0;
        left: auto;
      }
    .ad-gallery .ad-image-wrapper .ad-image {
      position: absolute;
      overflow: hidden;
      top: 0;
      left: 0;
      z-index: 9;
    }
      .ad-gallery .ad-image-wrapper .ad-image a img {
        border: 0;
      }
      .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        position: absolute;
        bottom: 0px;
        left: 0px;
        margin: 7px;
        text-align: left;
        width: 100%;
        z-index: 2;
        background: url(images/inside-background.png);
        color: #000;
      }
      * html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        background: none;
        filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='images/inside-background.png');
      }
        .ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
          display: block;
		  padding:0 20px;
		  color:#ad8e60;
        }
  .ad-gallery .ad-controls {
    height: 20px;
  }
    .ad-gallery .ad-info {
      float: left;
    }
    .ad-gallery .ad-slideshow-controls {
      float: right;
    }
      .ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
        padding-left: 5px;
        cursor: pointer;
      }
      .ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
        padding-left: 5px;
        font-size: 0.9em;
      }
    .ad-gallery .ad-slideshow-running .ad-slideshow-start {
      cursor: default;
      font-style: italic;
    }
  .ad-gallery .ad-nav {
    width: 100%;
    position: relative;
  }
    .ad-gallery .ad-forward, .ad-gallery .ad-back {
      position: absolute;
      top: 0;
      height: 100%;
      z-index: 10;
    }
    /* IE 6 doesn't like height: 100% */
    * html .ad-gallery .ad-forward, .ad-gallery .ad-back {
      height: 100px;
    }
    .ad-gallery .ad-back {
      cursor: pointer;
      left: -20px;
      width: 13px;
      display: block;
      background: url(images/ad_scroll_back.png) 0px 22px no-repeat;
    }
    .ad-gallery .ad-forward {
      cursor: pointer;
      display: block;
      right: -20px;
      width: 13px;
      background: url(images/ad_scroll_forward.png) 0px 22px no-repeat;
    }
    .ad-gallery .ad-nav .ad-thumbs {
      overflow: hidden;
      width: 100%;
    }
      .ad-gallery .ad-thumbs .ad-thumb-list {
        float: left;
        width: 9000px;
        list-style: none;
      }
        .ad-gallery .ad-thumbs li {
          float: left;
          padding-right: 5px;
        }
          .ad-gallery .ad-thumbs li a {
            display: block;
          }
            .ad-gallery .ad-thumbs li a img {
              border: 3px solid #CCC;
              display: block;
            }
            .ad-gallery .ad-thumbs li a.ad-active img {
              border: 3px solid #616161;
            }
/* Can't do display none, since Opera won't load the images then */
.ad-preloads {
  position: absolute;
  left: -9000px;
  top: -9000px;
}