/*! 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.
 */
/*#region base styles */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: .625em;
    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;
    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, 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;
}

/*#endregion*/

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Reset margin on headings */
h1, h2, h3, h4, h5, h6, blockquote {margin: 0;}
 
/* Default to no link decoration */
a {text-decoration: none;}
 
/* Responsive Images */
audio,canvas,img,video {
    max-width: 100%;
    vertical-align: middle;
 }

body {
    background: #696969;
    color: #c0c4c8;
    width:100%;
}

.container {
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

#Content ::-webkit-input-placeholder {color: #eeeeee;}
#Content :-moz-placeholder { /* Firefox 18- */ color: #eeeeee;}
#Content ::-moz-placeholder {  /* Firefox 19+ */ color: #eeeeee;}
#Content :-ms-input-placeholder {color: #eeeeee;}

/*#region .:general content styles:. */
    main {
        font-size: 13px;
     }
        main ol, main ul {
            margin: 0 0 16px 0;
            padding: 0 0 0 14px;
         }
 
        main li {margin-bottom: 6px;}
 
        main p {margin: 0 0 16px 0;}

    /* cross-browser buttons */
    header .button, main .button {
            border: 0;
            cursor: pointer;
            overflow: visible;
            padding: 0;
         }
 
            header .button::-moz-focus-inner, main .button::-moz-focus-inner {
                border: none;
                padding: 0;
             }
 
    /* end cross-browser buttons */

    header .button, main #Content .button {
            /* button style */
            color: #c9cdd0;
            display: inline-block;
            font-size: 15px;
            line-height: 36px;
            margin-bottom: 10px;
            padding: 0 25px;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 2px;
            -webkit-border-radius: 6px 0; -moz-border-radius: 6px 0; border-radius: 6px 0; background-color: #5c5c5c; -webkit-box-shadow: inset 0 0 5px rgba(1,1,1,.6); -moz-box-shadow: inset 0 0 5px rgba(1,1,1,.6); box-shadow: inset 0 0 5px rgba(1,1,1,.6); background-image: -webkit-linear-gradient(bottom, rgba(1,1,1,.2), rgba(255,255,255,.4)); background-image: -moz-linear-gradient(bottom, rgba(1,1,1,.2), rgba(255,255,255,.4)); background-image: -o-linear-gradient(bottom, rgba(1,1,1,.2), rgba(255,255,255,.4)); background-image: -ms-linear-gradient(bottom, rgba(1,1,1,.2), rgba(255,255,255,.4)); background-image: linear-gradient(to top, rgba(1,1,1,.2), rgba(255,255,255,.4));
         }

    main #Content .button {
        font-size: 13px;
        line-height: 30px;
        letter-spacing: normal;
        background-color: #ef6f20; -webkit-box-shadow: inset 0 0 5px rgba(1,1,1,.5); -moz-box-shadow: inset 0 0 5px rgba(1,1,1,.5); box-shadow: inset 0 0 5px rgba(1,1,1,.5); background-image: -webkit-linear-gradient(bottom, rgba(136,52,0,.5), rgba(136,52,0,.5) 1%, rgba(255,128,50,.6)); background-image: -moz-linear-gradient(bottom, rgba(136,52,0,.5), rgba(136,52,0,.5) 1%, rgba(255,128,50,.6)); background-image: -o-linear-gradient(bottom, rgba(136,52,0,.5), rgba(136,52,0,.5) 1%, rgba(255,128,50,.6)); background-image: -ms-linear-gradient(bottom, rgba(136,52,0,.5), rgba(136,52,0,.5) 1%, rgba(255,128,50,.6)); background-image: linear-gradient(to top, rgba(136,52,0,.5), rgba(136,52,0,.5) 1%,rgba(255,128,50,.6));
    }

    .wf-active header .button, .wf-active main #Content .button {font-family: 'Orbitron', serif; }

    .wf-loading header .button, .wf-loading main #Content .button {visibility: hidden;}
 

    /* form styles */
    .form { margin: 0; }
    .form label {display: none;}

    .form input[type='text'],
            .form input[type='email'],
            .form textarea {
        -webkit-appearance: none;
        -webkit-border-radius: 0;
        background: #696969;
        border: 1px solid #696969;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        color: #ffffff;
        font-size: 12px;
        padding: 10px 8px;
        width: 100%;
        -webkit-box-shadow: 0 0 4px rgba(1,1,1,.4); -moz-box-shadow: 0 0 4px rgba(1,1,1,.4); box-shadow: 0 0 4px rgba(1,1,1,.4);
     }

     .form input[type='email'],
                .form input[type='text'] {
        height: 32px;
        line-height: 32px;
        padding: 0 8px;
     }
 
    .form textarea {height: 90px; width: 100%;}
 
    .form input.error,
    .form textarea.error { background: #8d3838; }

    .form p {margin: 0 0 10px 0;}

    .form .highlight {
        color: #959595;
        font-size: 12px;
        padding-left: 12px;
        text-transform: capitalize;
     }
    .form .highlight span { color: #eeeeee; }
    
    .form .button {float: right;}

    .form .customStyleSelectBox {
        -webkit-appearance: none;
        -webkit-border-radius: 0;
        background: #696969;
        border: 1px solid #696969;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        color: #ffffff;
        cursor: pointer;
        font-size: 15px;
        line-height: 34px;
        overflow: hidden;
        padding: 0 60px 0 8px;
        vertical-align: bottom;
        white-space: nowrap;
        width: 100%;
     }

    .form select.styled {
        height: 35px;
        line-height: 35px;
        width: 100%;
     }
    /* end form styles */

    #Message {
        position: absolute;
        width: 92%;
        left: 4%;
        top: 52px;
        background: #ffffff;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 10px;
        -webkit-box-shadow: 0 0 4px rgba(1,1,1,.4); -moz-box-shadow: 0 0 4px rgba(1,1,1,.4); box-shadow: 0 0 4px rgba(1,1,1,.4);
        color: #696969;
        font-size: 12px;
        text-align: center;
    }

    .wf-active #Message {font-family: 'Open Sans', serif; }

    .wf-loading #Message {visibility: hidden;}
/*#endregion*/

header {
    background: #ef6f20 url(/img/header-bg.jpg) center top no-repeat;
}
    header .container {
        overflow:auto;
    }

header .logo {
    margin: 120px auto 40px auto;
    display: block;
    max-width: 280px;
}

header #ContactButton { margin: 0 auto 20px; padding: 0; display: block; width: 180px; }

#Arrow {height: 30px; background: url(/img/arrow-bg.gif) top left repeat-x;}
#Arrow img {display: block; margin: 0 auto;}
main {
    background: #434343 url(/img/main-bottom-shadow.gif) bottom left repeat-x;
    overflow: auto;
}
    main .container {
    }

    #Content {
        padding: 0 10px;
    }
        #Content a { color: #c0c4c8; }
        #Content .form {/*display: none;*/ transition: max-height .5s ease-in-out; max-height: 0; overflow: hidden; margin: 20px 0 0 0;}
        #Content.form-on .form { max-height: 500px; }

    #ContactInfo { font-size: 12px; text-align: center; margin: 0 0 26px; }

    .wf-active #ContactInfo {font-family: 'Open Sans', serif; }

    .wf-loading #ContactInfo {visibility: hidden;}

    #ContactInfo img { vertical-align: top; display: inline-block; margin: 0 19px 0 0; vertical-align: text-top; }

    #Content .form .highlight { margin-bottom: 60px; }



footer[role="contentinfo"] {
    margin-bottom: 20px;
    overflow: auto;
}
footer .container {
    font-size: 11px;
    text-align: center;
    padding: 30px 0;
}

/* #region .:Media Queries:. */
@media only screen and (max-width: 45.5625em) {}
@media only screen and (max-width: 37.4375em) {}
@media only screen and (min-width: 37.5em) {
    /* 600px+ */
    .grid:after, .grid-flip:after {
      content: "";
      display: table;
      clear: both;
    }
    .grid *, .grid *:after, .grid *:before, .grid-flip *, .grid-flip *:after, .grid-flip *:before {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
    }
    *[class*="col-"] {
      float: left;
      padding-right: 10px;
    }
    .grid *[class*="col-"]:last-of-type {
      padding: 0;
    }
    .grid-flip > *[class*="col-"]:first-of-type {
      float: right;
      padding: 0;
    }
    .col-2-3 {
      width: 66.66%;
    }
    .col-1-3 {
      width: 33.33%;
    }
    .col-1-2 {
      width: 50%;
    }
    .col-1-4 {
      width: 25%;
    }
    .col-1-8 {
      width: 12.5%;
    }

    header .logo {
        margin: 200px auto 120px auto;
        display: block;
        max-width: 309px;
    }

    #ContactInfo { font-size: 15px; }
    #ContactInfo img { margin: 0 26px 0 0; }

    #Message {
        width: 60%;
        left: 20%;
        top: auto;
        bottom: 80px;
        padding: 20px;
        font-size: 13px;
    }
}
@media only screen and (min-width: 45.625em) {
    /* 730px+ */
    body {}

        header .container {}
    header .logo {}

    #Content {}

    

}
@media all and (max-width: 53em) {}
@media only screen and (min-width: 60em) {
/* 960px+ (full size) */
    .container {
        width: 960px;
    }
    header .logo {}

    main {}
        main .container {}
    #Content {}
}

/* #endregion */

/*#region helpers */

/* -------------
 * Error Messaging
 * ------------- */
.ok, .error {
    color:#333333;
    padding: 5px 5px 5px 25px;
    margin: 0px;
    display: block;
}
.ok {
    background: #E5F1E8 url(../../elements/icon_ok.gif) no-repeat 5px 5px;
    border-top: 2px solid #007520;
    border-bottom: 2px solid #007520;
    margin-bottom: 5px;

}
.error {
    background: #F5E5E5 url(../../elements/icon_error.gif) no-repeat 5px 5px;
    border-top: 2px solid #990000;
    border-bottom: 2px solid #990000;
    margin-bottom: 5px;
}

/* -------------------------------------------------- */

/* ==========================================================================
   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;
    }
}
/*#endregion */