/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

input
{
    -webkit-appearance: none;
    border: 2px solid #d6d6d6;
    border-radius:3px;
    font-size: 0.9rem;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection
{
    background: #b3d4fc;
    -webkit-text-shadow: none;
    text-shadow: none;
}

::selection
{
    background: #b3d4fc;
    -webkit-text-shadow: none;
    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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


.keron
{
    font-family: 'Kreon', serif;
}


body
{
    width: 1024px;
    margin: 0 auto;
    background-color: #f6f6f6;
    color: #717171;
    font-family: Arial, sans-serif;
}
header
{
    padding: 10px 20px;
    border-bottom: 1px solid #c4c4c4;
}
header h1
{
    color: #0d344e;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1rem;
    float: right;
}
header h1 span
{
    font-weight: 600;
}
.intro-container
{
    background: url('../Images/intro-bg.png') no-repeat;
    overflow: hidden;
}

#Intro
{
    color: #002944;
    width: 570px;
    float: left;
    margin-top: 8px;
}
#Intro article
{
    width: 430px;
    margin: 0 auto;
}
#Intro h2, #Intro h3
{
    text-transform: uppercase;
    font-weight: normal;
    font-family: 'Kreon', serif;
}
#Intro h2
{
    font-size: 2rem;
    line-height: 1em;
}
#Intro h3
{
    font-size: 1.4rem;
    line-height: 1em;
}
#Intro h2 span
{
    color: #88bf47;
    display: block;
}
#Intro h3 span
{
    font-weight: bold;
    display: block;
}
#Intro p
{
    font-size: 0.9rem;
    
}
#Intro p strong
{
    text-transform: uppercase;
}
#Intro p.telephone

{
    font-size: 2.2rem;
    margin-top: 0;
}

#Images
{
    float: right;
    margin-top: 8px;
    margin-right: 9px;
}






.button
{
    background-color: #88bf47;
    color: #fff;
    text-transform: uppercase;
    width: 200px;
    text-align: center;
    display: block;
    line-height: 2em;
    text-decoration: none;
    font-family: 'Kreon', serif;
    font-size: 1.5em;
}
.button:hover
{
    background: #002944;
}





.plan-container
{
    overflow: hidden;
    background: url('../Images/plan-bg.png') no-repeat top left;
}

#StairInfo
{
    width: 340px;
    float: left;
}
#Ranges
{
    float: left;
    width: 340px;
}
#ContactInfo
{
    width: 340px;
    float: right;
}



#Ranges ul
{
    list-style: none;
    padding: 0;
    margin: 0;
}
#Ranges ul li
{
    float: left;
    margin-right: 9px;
    margin-bottom: 7px;
    position: relative;
}
#Ranges ul li:hover
{
    cursor: pointer;
}
#Ranges ul li img
{
    z-index: 20;
}
#Ranges ul li div.selected
{
    background: url('../Images/range-select.png') no-repeat center center;
    width: 104px;
    height: 93px;
    position: absolute;
    top: 0;
    z-index: 25;
}

#Ranges ul li .view-info
{
    height: 25px;
    width: 25px;
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 50;
}

.form-row
{
    height: 140px;
    padding-left: 70px;
}
.form-row p
{
    margin: 0;
    font-size: 0.9em;
    margin-bottom: 0.5em;
}
.row1
{
    background: url('../Images/step_1.png') no-repeat top left;
    margin-bottom: 7px;
    padding-top: 34px;
    height: 111px;
}
.row2
{
    background: url('../Images/step_2.png') no-repeat top left;
    margin-bottom: 7px;
    height: 127px;
    padding-top: 15px;
    position: relative;
}
.row3
{
    background: url('../Images/step_3.png') no-repeat top left;
    margin-bottom: 7px;
    height: 130px;
    padding-top: 15px;
    position: relative;
}
.row4
{
    background: url('../Images/step_4.png') no-repeat top left;
}
.row4 p
{
    padding-top: 40px;
}
.row5
{
    background: url('../Images/step_5.png') no-repeat top left;
    padding-top: 15px;
    height: 155px;
}
.row5 .field-validation-error
{
    margin-top: -5px;
    margin-bottom: 5px;
}


input.small
{
    width: 55px;
    border: 2px solid #d6d6d6;
    border-radius:3px;
}

.length-container
{
    background: url('../Images/length-bg.png') no-repeat top left;
    padding: 10px 10px 10px 25px;
    display: none;
    clear: left;
}
.length-container p
{
    padding-top: 16px;
}
.length-container p.small
{
    padding-top: 1px;
    font-size: 0.7em;
}

.measure-item
{
    cursor: pointer;
}

.measure-handrail-img, .measure-landingrail-img
{
    position: absolute;
    top: 61px;
    left: 263px;
    z-index: 10;
    display: none;
}


.yesno
{
    float: left;
    background-color: #8e8e8e;
    color: #fff;
    font-family: 'Kreon', serif;
    width: 20px;
    text-align: center;
    margin-right: 5px;
    font-size: 0.9rem;
    line-height: 1.6em;
}
.yesno:hover, .yesno.selected
{
    background-color: #9bc965;
}

.yesno-yes:hover, .yesno-no:hover
{
    cursor: pointer;
}
.yesno-yes-radio, .yesno-no-radio
{
    left: -10000px;
    position: absolute;
}


.upload-button
{
    margin-top: -25px;
}
.upload-button:hover
{
    cursor: pointer;
}

#UploadImagesContainer
{
    position: absolute;
    top: 150px;
    left: -10000px;
    background-color: #4e4e4e;
    padding: 25px;
}
#UploadImagesContainer.show
{
    left: 332px;
}
#UploadImagesContainer .close
{
    float: right;
}
#UploadImagesContainer .close:hover
{
    cursor: pointer;
}
#UploadImagesContainer .upload-row
{
    margin-bottom: 20px;
}
#UploadImagesContainer p
{
    color: #88bf47;
    font-family: 'Kreon', serif;
    text-transform: uppercase;
    font-size: 1.25rem;
    text-align:center;
}
#UploadImagesContainer input
{
    color: #fff;
    box-shadow: none;
}
#UploadImagesContainer .upload-row span
{
    margin: 0 auto;
}
#UploadImagesContainer .upload-row span:hover
{
    cursor:pointer;
}


.comments-row
{
    margin: 0 auto 7px;
    width: 250px;
}
.comments-row p
{
    margin: 0;
}
.comments-row input
{
    width: 240px;
    margin-top: 10px;
}

.contact-row
{
    border-top: 2px solid #d1d1d1;
    border-bottom: 2px solid #d1d1d1;
    margin: 0 auto;
    width: 300px;
}
.contact-row dl
{
    margin-left: 25px;
    margin-top: 7px;
    margin-bottom: 7px;
}
.contact-row dt
{
    float: left;
    width: 60px;
}
.contact-row dd
{
    padding-bottom: 5px;
    margin-left: 60px;
}

.help-row
{
    width: 300px;
    margin: 7px auto 0;
}

.help-row p
{
    color: #0d344e;
    font-family: 'Kreon', serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
}
p.telephone
{
    color: #88bf47;
    font-size: 2.25rem;
}
.help-row span.small
{
    font-size: 0.7rem;
}



.submit-row
{
    width: 300px;
    margin: 10px auto 0;
}

.submit-row p
{
    width: 190px;
    font-size: 0.8rem;
    margin: 0;
    float: left;
}

.submit-row input
{
    background: #0d344e;
    border: none;
    color: #fff;
    border-radius: 0;
    font-family: 'Kreon', serif;
    padding: 15px 20px;
    margin-left: 10px;
}
.submit-row input:hover
{
    background-color:  #88bf47;
}




#Main
{
    position: relative;
    background: url('../Images/details-bg.png') no-repeat top center;
    min-height: 625px;
}


#RangeDetails .close
{
    float: right;
    margin-top: 7px;
    cursor: pointer;
}
#RangeDetails .range-item
{
    position: absolute;
    top: 80px;
    left: 127px;
    display: none;
}
#RangeDetails .container
{
    padding: 10px;
    width: 765px;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}
#RangeDetails .range-info-container
{
    margin-left: 560px;
}
#RangeDetails img.main-image
{
    float: left;
    margin-right: 10px;
}
#RangeDetails h2, #RangeDetails h3
{
    margin: 0;
}
#RangeDetails h2
{
    color: #0d344e;
    text-transform: uppercase;
    font-size: 1.2rem;
    padding-bottom: 8px;
}
#RangeDetails h2 span
{
    color: #88bf47;
}
#RangeDetails h3
{
    color: #0d344e;
    text-transform: uppercase;
    font-size: 0.70rem;
    font-weight: 600;
    padding-bottom: 4px;
}
#RangeDetails .range-row
{
    border-top: 2px solid #bbbbbb;
    padding: 4px 0;
    position: relative;
}
#RangeDetails .range-row p
{
    margin: 0;
    text-transform: uppercase;
    font-size: 0.7rem;
    line-height: 1.5rem;
}
#RangeDetails .range-row p img
{
    float: right;
}
#RangeDetails .range-row p span
{
    display: block;
}
#RangeDetails .price-row
{
    border-top: 2px solid #bbbbbb;
    color: #88bf47;
    font-size: 2rem;
    font-family: 'Kreon', serif;
    padding: 10px 0;
}
#RangeDetails .skill-level
{
    background-color: #88bf47;
    color: #fff;
    padding: 5px 10px;
    margin-top: 7px;
}
#RangeDetails .skill-level strong
{
    color: #0d344e
}
#RangeDetails .skill-level span
{
    font-family: 'Kreon', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-right: 15px;
}
#RangeDetails .skill-desc
{
    background-color: #0d344e;
    color: #fff;
    padding: 7px 10px;
    font-family: 'Kreon', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    height: 36px;
}
#RangeDetails .consider
{
    color: #88bf47;
    text-transform: uppercase;
    font-size: 0.8rem;
}
#RangeDetails .consider p
{
    background: url('../Images/arrow.png') no-repeat top left;
    padding-left: 20px;
    line-height: 1em;
}
#RangeDetails .consider p.price
{
    color: #adadad;
    font-size: 1rem;
    font-weight: bold;
    background: none;
    padding-top: 10px;
}
#RangeDetails .slider-fill
{
    display: block;
    height: 5px;
    position: absolute;
    top: 30px;
    left: 3px;
    background-color: #88bf47;
}

#RangeDetails .price-row .small
{
    font-size: 0.8rem;
}
#RangeDetails .price-row .block
{
    display: block;
    color: #0d344e;
}


/* Error Validation */
.field-validation-error
{
    color: #f00;
    font-size: 0.7rem;
}

.not-visible
{
    width: 0;
    border: 0;
    left: -10000px;
    position: absolute;
}
.error-block .field-validation-error
{
    display: block;
}


/* ==========================================================================
   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: 150%;
}

/*
 * 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.
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* 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 {
        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;
    }
}
