/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 */     

::-moz-selection { background: #2bb1d2; color: #fff; text-shadow: none; }
::selection { background: #2bb1d2; color: #fff; text-shadow: none; }

/* =============================================================================
   Links
   ========================================================================== */
a { color: #d8d8d8; text-decoration: none; outline: none;}
a:visited { color: #d8d8d8; text-decoration: none; outline: none; }
a:hover { color: #d8d8d8; text-decoration: underline; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }

/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 0; padding: 0; }

/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; margin: 10px; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }

/* ==|== primary styles =====================================================
   Author: Webnode.com
   ========================================================================== */

html { margin: 0; padding: 0; overflow-y: scroll;}
body { background: url("../../img/error/bg.jpg") repeat-x scroll center top #ffffff; margin: 0; padding: 0; color: #454545; font-family: 'tahoma', sans-serif;}


h1, h2 { font-family: 'Open Sans Condensed', sans-serif; margin: 0; color: #ffd200; font-weight: normal; line-height: 1.5em; } 
h1 { font-size: 3.750em; padding: 0 0 15px 0;  }
h2 { font-size: 1.875em; padding: 0 0 15px 0;  }


/* ==========================================================================
   LAYOUT
   ========================================================================== */
#main { margin: 0 auto; text-align: center;  position:relative; width: 940px; }   


#header { padding: 35px 0 0 0; height: 65px; }
#title { float: left; }
#title h1 { letter-spacing:-5px; text-shadow: 3px 3px 0 #000; margin-top: -20px; font-weight: bold; }   
#logo { float: right; }
#logoImg { float: right; display: block; margin: 0; padding: 0; }


#content { width: 940px; height: 500px; background: url("../../img/error/illustration.jpg") no-repeat scroll center top transparent; position: relative; }
#text { position: absolute; top: 40px; left: 0; min-width: 520px; text-align: left; }
#textHeader { background: url("../../img/error/corner.png") no-repeat scroll right bottom transparent; color: #000; margin: 0; padding: 0 124px 0 0; }
.lt-ie7  #textHeader { background: url("../../img/error/corner.gif") no-repeat scroll right bottom transparent; }
#textHeaderContent { background-color: #ffd200; padding: 10px 0px 15px 20px; }
#textHeader h2 { color: #000; letter-spacing:-1.9px; margin: 0; padding: 0; font-weight: bold; }
#textHeader p.titleDescription { color: #000; font-size: 1.125em; letter-spacing:-1.0px;  margin: -5px 0 0 0; padding: 0; font-family: 'Open Sans', sans-serif; }
p.description { color: #d8d8d8; font-size: 0.875em; display: block; width: 340px; padding: 20px 0 0 20px; text-align: left; line-height: 1.75em; }


#footer { padding: 30px 0 60px 0; background: url("../../img/error/lines.jpg") repeat-x scroll center top transparent; font-size: 0.75em; color: #818283; }
#footer a { color: #818283; text-decoration: none; }
#footer a:hover { color: #818283; text-decoration: underline; }


/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after, .cleaner:before, .cleaner:after { content: ""; display: table; }
.clearfix:after, .cleaner:after { clear: both; }
.clearfix, .cleaner { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { 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; } /* 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; }     
                     
}












