/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

@import url(http://fonts.googleapis.com/css?family=Karla:400,700,400italic,700italic);

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 44px;
    font-family: 'Karla', sans-serif;
    background-color: whitesmoke;
}

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


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

header {
/*   background-color: lightgoldenrodyellow; */
  width: 490px;
  height: 128px;
  margin: 20px auto 0;
}

div#logo {
/*   background-color: yellow; */
  width: 104px;
  height: 128px;
  display: inline-block;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

div#name {
/*   background-color: lightcyan; */
  display: inline-block;
  height: 128px;
  margin: 0 0 0 10px;
  padding: 0;
  vertical-align: top;
}

div#name a {
  text-decoration: none;
  color: inherit;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

nav {
    width: 640px;
/*     border-top: 1px solid #ddd; */
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav ul li {
    display: inline-block;
    list-style-type: none;
    margin: 4px 10px 0;
    padding: 0 4px;
}

nav > ul > li > a {
	display: block;
	line-height: 24px;
	text-decoration: none;
	color: #333;
}

nav > ul > li > a:visited {
	color: #333;
}

nav > ul > li > a:hover {
	color: #999;
}

nav > ul > li.current > a {
	color: #333;
	border-bottom: 2px solid #FF6600;
}

body > nav > ul {
    padding: 0;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section {
/*     border-top: 1px solid #ddd; */
    padding: 30px 20px;
    width: 800px;
    margin: 0 auto;
}

div.section-container {
    margin: 0 auto;
}

section h1 {
    color: #38424a;
    font-size: 16pt;
    margin: 0 0 8px;
}

section h2 {
    font-size: 16pt;
    font-weight: 200;
}

section p {
    margin: 0 0 0.8em;
    padding: 0;
    color: #262d33;
    min-height: 32px;
    word-spacing: 2px;
}

section ul {
    margin: 0 0 0.8em;
    list-style-type: circle;
    word-spacing: 2px;
    margin-top: -10px;
}

section a, a:visited {
    color: #FF6600;
}

section a:hover {
    color: #ff7fa9;
}

div#info {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */

video {
    -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    -moz-box-shadow: -7px 0px 5px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
}

.clip {
    margin: 0 auto 20px;
    width: 640px;
}

.w800 {
  width: 800px;
}

.clip p {
    color: #262d33;
    font-size: 12pt;
    margin-top: 6px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

section#contact {
  margin: 0 auto;
  width: 640px;
}

.contact_form {
  margin-bottom: 20px;
}

.contact_form *:focus {
    outline: none;
}

.contact_form ul {
    list-style-type: none;
    list-style-position: outside;
    margin: 0px;
    padding: 0px;
}

.contact_form li {
    padding: 12px; 
    border-bottom: 1px solid #eee;
    position: relative;
}

.contact_form li:first-child {
    border-top: 1px solid #ddd;
}

.contact_form li:last-child {
    border-bottom: 1px solid #ddd;
}

.contact_form label {
    width: 100px;
    margin-top: 3px;
    display: inline-block;
    float: left;
    padding: 3px;
}

.contact_form input {
    height: 20px; 
    width: 220px;
    padding: 5px 8px;
}

.contact_form textarea {
	padding: 8px;
	width: 430px;
}

.contact_form button {
	margin-left: 106px;
}

.contact_form input, .contact_form textarea { 
    border: 1px solid #aaa;
    border-radius: 2px;
}

.contact_form input:focus, .contact_form textarea:focus {
    background: #fff;
    border: 1px solid #555;
    box-shadow: 0 0 3px #aaa;
}

/* Button Style */
button.submit {
    background-color: #ddd;
    background: -webkit-gradient(linear, left top, left bottom, from(white), to(#ddd));
    background: -webkit-linear-gradient(top, white, #ddd);
    background: -moz-linear-gradient(top, white, #ddd);
    background: -ms-linear-gradient(top, white, #ddd);
    background: -o-linear-gradient(top, white, #ddd);
    background: linear-gradient(top, white, #ddd);
    border: 1px solid #999;
    border-bottom: 1px solid #666;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    color: #666;
    font-weight: bold;
    padding: 6px 20px;
    text-align: center;
    text-shadow: 0 1px 0 white;
}

button.submit:hover {
    opacity:.85;
    cursor: pointer;
}

button.submit:active {
    border: 1px solid #20911e;
    box-shadow: 0 0 10px 5px #356b0b inset;
    -webkit-box-shadow:0 0 10px 5px #356b0b inset;
    -moz-box-shadow: 0 0 10px 5px #356b0b inset;
    -ms-box-shadow: 0 0 10px 5px #356b0b inset;
    -o-box-shadow: 0 0 10px 5px #356b0b inset;
}

.red {
    color: #d45252;
}

.form_hint {
    background: #d45252;
    border-radius: 3px 3px 3px 3px;
    color: white;
    margin-left: 20px;
    padding: 5px 6px 4px;
    z-index: 999; /* hints stay above all other elements */
    position: absolute; /* allows proper formatting if hint is two lines */
    display: none;
}

.form_hint::before {
    content: "\25C0"; /* left point triangle in escaped unicode */
    color:#d45252;
    position: absolute;
    top:5px;
    left:-6px;
}

.contact_form input:focus + .form_hint {
	display: inline;
}

/* change form hint color when valid */
.contact_form input:required:valid + .form_hint {
	background: #28921f;
}

/* change form hint arrow color when valid */
.contact_form input:required:valid + .form_hint::before {
	color:#28921f;
}

/* when a field is considered invalid by the browser */
.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
    box-shadow: 0 0 5px #d45252;
    border-color: #b03535;
}

/* when a field is considered valid by the browser */
.contact_form input:required:valid, .contact_form textarea:required:valid {
    box-shadow: 0 0 5px #5cd053;
    border-color: #28921f;
}

.contact_form input:required:valid ~ span.status::before, .contact_form textarea:required:valid ~ span.status::before {
    content: "\F058";
	color:#28921f;
}

.contact_form input:required:invalid ~ span.status::before, .contact_form textarea:required:invalid ~ span.status::before {
    content: "\F069";
	color:#d45252;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 44px;
    background-color: rgba(255,255,255,0.75);
    border-top: 1px solid white;
    -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    -moz-box-shadow: -7px 0px 5px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    text-shadow: 0 1px 0 white;
    letter-spacing: 2px;
}

footer p {
    text-align: center;
    font-size: 10pt;
    color: gray;
}

footer a {
    color: #8899bc;
    text-decoration: none;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

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