/**
 * HTML5 ✰ Boilerplate
 *
 * style.css contains a reset, font normalization and some base styles.
 *
 * Credit is left where credit is due.
 * Much inspiration was taken from these projects:
 * - yui.yahooapis.com/2.8.1/build/base/base.css
 * - camendesign.com/design/
 * - praegnanz.de/weblog/htmlcssjs-kickstart
 */


/**
 * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
 * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
 * html5doctor.com/html-5-reset-stylesheet/
 */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }

ins { background-color: #ff9; color: #000; text-decoration: none; }

mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }

table { border-collapse: collapse; border-spacing: 0; }

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

input, select { vertical-align: middle; }


/**
 * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
 */

body { font:13px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }

/* Normalize monospace sizing:
   en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/**
 * Minimal base styles.
 */

/* Always force a scrollbar in non-IE */
html { overflow-y: scroll; }

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }

/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }

small { font-size: 85%; }
strong, th { font-weight: bold; }

td { vertical-align: top; }

/* Set sub, sup without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre {
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; white-space: pre-wrap; word-wrap: break-word;
  padding: 15px;
}

textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; } 

/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

/* Colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
   border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }


/* These selection declarations have to be separate
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink! */
::-moz-selection{ background: #f90; color:#fff; text-shadow: none; }
::selection { background:#f90; color:#fff; text-shadow: none; }

/* j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; }

/* Make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }

/* Bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }

/**
 * You might tweak these..
 */
body, select, input, textarea {
  color: #444;
  font-family: 'Ubuntu' !important;
	text-align:center;
	font-weight:300;
}

/* Headers (h1, h2, etc) have no default font-size or margin; define those yourself */
h1, h2, h3, h4, h5, h6 { font-weight: 500; }

a, a:active, a:visited { color: #666; }
a:hover { color: #666; }


/**
* Primary styles
*
* Author: Simon Kemmerling
*/
body {	background:#f9f7f3 url(../img/bgBodyDefault.gif) repeat-x 0 0;}
body#startPage{	background:#f9f7f3 url(../img/bgBody.gif) repeat-x 0 0;}

.left {float:left; display:inline;}
.right {float:right; display:inline;}

#main {clear: both;}
#container {position: relative; width: 990px; margin:0 auto; text-align: left; min-height:735px;}

h2 {padding-top:30px; margin-bottom:30px; text-transform:uppercase; font-size: 22px; font-weight:300; text-shadow:0 1px #fff; letter-spacing:-0.02em;}
h2 strong,
h2 span {color: #f90; font-weight:500;}

p {font-size: 16px; color:#555; text-shadow:0 1px #fff; line-height:22px; margin-bottom:1em}

#contentWrapper a:hover {text-decoration: none}

#main ul {margin:0; padding:0;}
#main li {font-size:18px; text-shadow:0 1px #fff;color: #555 !important; list-style:none; background:url(../img/liIcon.gif) no-repeat 0 0; padding:0 0 10px 30px;}

header h1	{margin: 10px 0 16px 0; background: url(../img/fudmLogo.gif) no-repeat 0 0;}
header h1 a {display: block; overflow:hidden; width: 440px; height:112px; line-height:200em;}

.colgroup .left {width: 320px;}
.colgroup .right {width: 320px;}

/*
* Buttons
*/
.btn {display: block; line-height:200em; overflow:hidden; height:60px;}

.btnServices {background: url(../img/fudmSprite.png) no-repeat 0 0; width:180px; position:absolute; bottom:0; right:0;}
.btnServices:hover {background-position: -180px 0;}

.btnMap {background: url(../img/fudmSprite.png) no-repeat 0 -200px; width:254px;}
.btnMap:hover {background-position: -254px -200px;}

/*
* Navigation
*/
nav ul {position: absolute; top:65px; right:0;}
nav li {float: left; display:inline; text-transform: uppercase; font-size:16px; color:#666; }
nav li a {color: #666; display:block; padding: 20px 15px; text-decoration:none; text-shadow:0 1px #fff;}
nav li.active a {background: url(../img/bgNav.png) no-repeat center bottom; font-size:20px; font-weight:500;}

/*
* Intro
*/
#intro h1 {font-size:38px; color: #fff; text-shadow:1px 2px #c47118; line-height:40px; margin:0 0 25px 0; padding-top:22px; letter-spacing:-0.01em;}

/*
* Content
*/
#contentWrapper {padding:30px 0 0 0; margin-bottom:30px; /*background:#000 url(../img/bgWrapper.gif) repeat-y 0 0;*/}
#contentWrapper section {position: relative; float:left; display:inline; width:690px; /*background: url(../img/bgWrapperBottom.gif) no-repeat left bottom;*/ padding-bottom:60px;}
#contentWrapper aside {float:right; display:inline; width:260px; padding-left:40px; min-height:380px; background:url(../img/bgAside.png) no-repeat 0 0}
#contentWrapper aside h2 {padding-top:0}

.box {border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; padding:12px; border:1px solid #929090; background:#fff url(../img/bgScrollableItem.gif) repeat-x left bottom; margin-bottom:20px;}

.box ul {float: left; display: inline; width:45%; padding:10px 10px !important;}

.textElement {color: #555555;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 1em;
    text-shadow: 0 1px #FFFFFF;}

.vcard abbr[title] {border:none; display: block; cursor: default}

/*
* Startpage
*/
#startPage #main {background: url(../img/startPageCollage.jpg) no-repeat right 2px;}
#startPage #intro {width: 535px;}
#startPage #intro h1 {font-size:44px; margin:0 0 25px 0; padding-top:40px;}
#startPage #intro p {font-size: 16px; color:#fff; text-shadow:0 1px #c47118; line-height:22px; min-height:130px;}

#services {position: relative; width:550px}
#services ul {width: 360px;}

.icon {background: url(../img/fudmSprite.png) no-repeat 0 0; padding-left:50px;}
p.icon {padding:10px 0 10px 50px;}
.iconPhone {background-position: -400px 0;}
.iconMail {background-position: -400px -50px;}

#startPage aside {position: absolute; top:579px; right:0;}
#startPage aside h2 {padding:0; margin:0}
#startPage aside p {background: url(../img/fudmSprite.png) no-repeat 0 -60px; display:block; height:60px; width:385px; line-height:200em; overflow:hidden;}



/*
* scrollable
*/
ul.scrollable {margin:0; padding:0; list-style:none;}
.scrollable li	{margin-right:50px; padding:0; float: left; display:inline;}
.scrollable li a {position: relative; display: block; width: 215px; height:115px; padding:8px; border:1px solid #929090; border-radius:5px;  -moz-border-radius:5px; -webkit-border-radius:5px; background:#fff url(../img/bgScrollableItem.gif) repeat-x left bottom;}
.scrollable li a:hover {border-color:#f90}
.scrollable a img {position: absolute; top:-1px; left:-1px; z-index:2;}
.scrollable a span img {position: relative; top:0; left:0; z-index:1;}
.scrollable a span {width: 215px; height:115px; display:block; overflow:hidden;}

.jcarousel-container-horizontal {width: 960px;}
.jcarousel-clip {overflow: hidden;}
.jcarousel-clip-horizontal {width:  799px; height: 133px; margin-left:80px;}
.jcarousel-item {width: 233px; height: 133px;}
.jcarousel-next-horizontal,
.jcarousel-prev-horizontal{position: absolute; top: 0;  right: 0; width: 60px; height: 140px; cursor: pointer;  background: transparent url(../img/scrollableArrows.png) no-repeat 0 -140px;}
.jcarousel-next-horizontal:hover,
.jcarousel-next-horizontal:focus {background-position: -60px -140px;}
.jcarousel-next-horizontal:active {background-position: -60px -140px;}
.jcarousel-prev-horizontal {left: 0;right: auto; background-position: 0 0;}
.jcarousel-prev-horizontal:hover, 
.jcarousel-prev-horizontal:focus {background-position: -60px 0;}
.jcarousel-prev-horizontal:active {background-position: -60px 0;}

#footerContainer .jcarousel-container-horizontal {top:40px !important}

.box .jcarousel-container-horizontal {width: 665px;}
.box .jcarousel-clip-horizontal {width: 530px; margin-left:65px; height:150px}
.box .scrollable li {background: none !important; padding: 0 !important}

/*
* Footer
*/
 
footer {background: url(../img/bgFooter.gif) repeat-x 0 bottom;}
#footerContainer h3 {position: absolute; top:-28px;background: url(../img/tabExample.gif) no-repeat 0 0; width:252px; height:29px; overflow:hidden; line-height:200em;}
#footerContainer {position: relative; width: 990px; margin:0 auto; text-align: left; height:349px; font-size:14px;}
#footerContainer section {position: absolute; bottom:50px; left:0; right:0; text-align:center;}
#footerContainer section p {float: left; display:inline; color:#f90; font-size:14px; text-shadow:none; line-height:normal}
#footerContainer section ul {float: left; display:inline}
#footerContainer section li {float: left; display:inline; color:#fff; padding:0 0 0 5px;}
#footerContainer section li a {color:#fff; text-decoration:none;}
#footerContainer section .fbButton {position: absolute; top:-58px; right:0; color:#f90; width:180px; height:80px; overflow:hidden; line-height:200em; background:url(../img/fudmSprite.png) no-repeat 0 -120px}
#footerContainer section .fbButton:hover {background-position: -180px -120px}

#footerContainer.noScroller {height: 118px;}


/**
 * Non-semantic helper classes: please define your styles before this section.
 */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.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: 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 screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* The Magnificent Clearfix: Updated to prevent margin-collapsing on child elements.
   j.mp/bestclearfix */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }



/**
 * Media queries for responsive design.
 *
 * These follow after primary styles so they will successfully override.
 */

@media all and (orientation:portrait) {
  /* Style adjustments for portrait mode goes here */

}

@media all and (orientation:landscape) {
  /* Style adjustments for landscape mode goes here */

}

/* Grade-A Mobile Browsers (Opera Mobile, Mobile Safari, Android Chrome)
   consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {


  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you: j.mp/textsizeadjust */
  /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}


/**
 * Print styles.
 *
 * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
 */
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

