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

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
body, 
button,
input,
select,
textarea {
	color: #004467;    
	font-family: 'Open Sans',sans-serif;
}

body {
	font-size: 13px;
	line-height: 1.3;
	background-color: #83d0f5;
	margin:0;
	padding:0;
}
body, html {	
   height:100%;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
a:link, a:active, a:visited {
	color: #004467;
	text-decoration: none;
}
a:hover {
	color: #009fe3;
}
.inner{
	width: 660px;
	margin: 0px auto;
	position: relative;
}
.shadow {
	-moz-box-shadow: -4px 4px 9px #C7C7C7;
	-webkit-box-shadow: -4px 4px 9px #C7C7C7;
	box-shadow: -4px 4px 9px #C7C7C7;
	margin-bottom: 20px;
}
.ie8 .shadow, .ie7 .shadow {
	border: solid 1px #ccc!important;
	margin-bottom: 20px;
}
header#Header {
	height: 160px;
	position: relative;
	z-index: 999;
}
.contact .cowgirl {   
	background: url(../images/blue-pony-cowboy.png) no-repeat left top;
    height: 104px;
    position: absolute;
    right: 0;
    top: -76px;
    width: 101px;
}
#Header .contact {
	position: absolute;
	right: 20px;
	top: 60px;
	width: 210px;
}
.contact dl dt {
	color: #009fe3;
	float: left;
	width: 22%;
	font-size: 12px;
}

#Container {
	position: relative;
	z-index: 100;
	padding-bottom:40px;   /* Height of the footer */
	background-color: #FFF;
	padding-top: 40px;
	padding-right: 140px;
	padding-left: 140px;       
	box-shadow: 0 10px 10px 10px #89B8CF;
}
#Content sidebar {
	float: left;
	width: 220px;
}
header#Header a#Logo {
	height: 71px;
	width: 304px;
	position: absolute;
	display:block;
	z-index: 102;
	background: url(../images/blue-pony.png) no-repeat left 5px;
	left: 25px;
	top: 50px;
}
#Content {
	background: #FFF;
	width: 660px;
}
#Content h1 {
	font: 31px/35px 'Luckiest Guy', cursive;
	margin: 0 0 10px 0;
}
#Content h2 {
	margin: 0 0 10px 0;
	color: #00A2D9;
	font-family: 'Open Sans',sans-serif;
	font-size: 22px;
	line-height: 27px;
}
#Content h3 {
	margin: 0 0 10px 0;
	color: #004467;
	font-size: 14px;
	line-height: 19px;
	font-weight: normal;
}
div.bodytext {
	padding-left: 20px;
	font-size: 17px;
	line-height: 23px;    margin: 0 -10px 0 0;
}
#intro.bodytext {
	padding-right: 230px;
}
div.bodytext strong {
	font-size: 22px;
	color: #009fe3;    	font-weight: 600;
}
#Content #Banner {
	height: 225px;
	background: url(../images/blue-pony-services.png) no-repeat 25px 10px;
	position: relative;
}
#Content #Banner .horse {   
	background: url(../images/blue-pony-horse.png) no-repeat 0 0;
    height: 411px;
    position: absolute;
    right: -20px;
    top: -70px;
    width: 414px;
    z-index: 999;
}
#Content #sidebar {    
	float: left;
    margin-left: -5px;
    width: 60px;
}
#Content #process {
	text-align: center;
}
#sidebar #process .step cite {    
	color: #68777E;
    display: block;
    font-style: normal;
}
a.cover { display: block; height: 30px; width: 176px;z-index: 200 !important;}

a.cover.a {     
	left: 11px;
    position: absolute;
    top: 176px;
} 
a.cover.b {     
	left: 206px;
    position: absolute;
    top: 176px;
} 
a.cover.c {     
	left: 403px;
    position: absolute;
    top: 176px;
} 
#sidebar #process .step {
	margin-bottom: 2.29em;
}
#Content #main-clm {    float: right;
    margin: 0 -3px 0 0;
    width: 592px;
}
ul.Categories {
	margin: 0 -15px 0 10px;
	padding: 20px 0 0;
	position: relative;
}
ul.Categories.long {    height: 187px;
}
ul.Categories.long h2.long{
	margin-left: 11px!important;
}
ul.Categories li {    
	border: 1px solid #90979B;
    box-shadow: -4px 4px 4px #C7C7C7;
    float: left;
    height: 185px;
    list-style-type: none;
    margin: 0 8px 25px 10px;
    position: relative;
    width: 176px;
    z-index: 99;
}
.Categories li a {
	color: #FFF;
	display: block;
}
#Content .Categories h2 {
	background-color: #90979b;
	bottom: 0;
	display: block;
	left: 0px;
	margin: 0;
	position: absolute;
	text-align: left;
	width: 100%;
	z-index: 100;
	color: #fff;
	font-size: 12px;
	line-height: 30px;
	text-indent: 5px;   
	font-family: 'Open Sans',sans-serif;
	font-weight: 600;
 } 
.Categories li img {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 176px;
}
#Content #contactbottom {
	width: 210px;
	float: left;
}
#contactbottom .contact dl {
	font-size: 12px;
}
#contactbottom .contact {
	margin-top: 78px;
	line-height: 1.3;
}

#contactbottom .contact h2 {
	margin: 0;
	font-weight: 600;
}
#Content #testimonails {
	float: right;
	padding: 10px 10px 5px 10px;
	width: 330px;
	
}
#testimonails a.link  {
	display: inline-block;
	float: right;    
	font-style: normal;
	position: absolute;
	top: 0px;
	right: 0px;
}
#testimonails em {
	display: block;
	position: relative;
	color: #1d1d1b;
	font-style: italic;
	font-size: 10px;
	font-weight: bold;
}



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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

.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;
}

/*
 * 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

    pre,
    blockquote {
	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;
    }
}
