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


/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: hot pink!
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

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

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Improve image quality when scaled in IE7
 * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img { border: 0; -ms-interpolation-mode: bicubic; }

/*
 * Correct overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

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

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

/* 
 * Remove inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }

/*
form button, .button { line-height: 1.25em; text-align: left; height: auto; padding: 0.5em 0; text-decoration: none; display: block; -moz-border-radius:24px;-webkit-border-radius:24px;border-radius:24px; margin: 5px; border: none; }
form button:hover, .button:hover { position:relative; top:1px;left:1px; text-decoration:none; }
form button span, .button span { display: inline-block; margin: 0 10px 0 15px; }
form button, .button { font-weight:normal; font-size: 14px; text-shadow: 0px -1px 1px rgba(0,0,0,0.5); }
form button, .button { background: #a4a4a4; background:-webkit-gradient(linear, left top, left bottom, from(#c4c6c6), to(#a4a4a4));background:-moz-linear-gradient(top, #c4c6c6, #a4a4a4);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#c4c6c6', endColorstr='#a4a4a4'); background-clip: padding-box; color: #fff !important; -moz-box-shadow:0px 0px 5px rgba(0,0,0,0.65);-webkit-box-shadow:0px 0px 5px rgba(0,0,0,0.65);box-shadow:0px 0px 5px rgba(0,0,0,0.65); }
form button span, .button span { background: url(http://cache.nationalsafetycommission.com/roystx/images/arrow.png) 100% 50% no-repeat; }
form button.red, .button.red { background: #be2026; background:-webkit-gradient(linear, left top, left bottom, from(#be2026), to(#ae3036));background:-moz-linear-gradient(top, #be2026, #ae3036);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#be2026', endColorstr='#ae3036'); }
form button.blue, .button.blue { background: #264770; background:-webkit-gradient(linear, left top, left bottom, from(#264770), to(#365780));background:-moz-linear-gradient(top, #264770, #365780);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#264770', endColorstr='#365780'); }
form button { width: 150px; }
form button span { width: 120px; }
.button { width: 190px; }
.button span { width: 165px; }
.button.wide { width: 290px; }
.button.wide span { width: 265px; }
form button.nobutton { padding: 0; -moz-border-radius:0;-webkit-border-radius:0;border-radius:0; margin: 0; background: none; -moz-box-shadow:0 0 0 rgba(0,0,0,0);-webkit-box-shadow:0 0 0 rgba(0,0,0,0);box-shadow: 0 0 0 rgba(0,0,0,0); width: 17px; height: 17px; }
form button.nobutton:hover {  }
form button.nobutton span { width: 17px;  height: 17px; margin: 0; }
*/
.button { background: url(http://cache.nationalsafetycommission.com/roystx/images/roys-button-red.png) 50% 50% no-repeat; display: block; width: 193px; height: 60px; color: #fff !important; text-decoration: none; font-size: 20px; line-height: 1em; }
.button span { display: inline-block; padding-top: 20px; }

form { text-align: left; margin: 0; overflow: hidden; }
form fieldset { border: none; padding: 0 10px; margin: 0; }

form div { clear: left; display: block; margin: 5px 0 0; padding: 1px 3px; }
form div label { display: block; padding: 0; margin: 0; text-align: left; }

form input,
form select,
form textarea { border: none; width: 210px; height: 1.5em; font-size: 12px; padding: 0.25em 0 0.15em 1em; margin: 0; -moz-border-radius:3px;-webkit-border-radius:3px;border-radius: 3px; -moz-box-shadow:inset 1px 2px 5px rgba(0,0,0,0.4);-webkit-box-shadow:inset 1px 2px 5px rgba(0,0,0,0.4);box-shadow: inset 1px 2px 5px rgba(0,0,0,0.4); color: #444; }
form textarea { overflow: auto; height: 8em; width: 280px }
form select { height: auto; }

form div.submit { width: auto; padding: 10px 0 0; margin: 0; }
form div.submitting { display: none; text-align: center; }
form.submitting div.submit { display: none; }
form.submitting div.submitting { display: block; }



html { background-color: #f5ddb5; background:-webkit-gradient(linear, left top, left bottom, from(#9e865e), to(#f5ddb5));background:-moz-linear-gradient(top, #9e865e, #f5ddb5);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#9e865e', endColorstr='#f5ddb5'); height: auto; min-height: 100%; }
body { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 12px; min-width: 400px; max-width: 800px; margin: 10px auto 20px; }
h1, h2, h3 { font-family: 'Bevan', serif; font-weight: normal; }

strong { font-weight: 500px; }
a { color: #264770; }
a:visited { color: #264770; }
a:hover { color: #264770; text-decoration: underline; }
.clear { clear: both; }

p.teacp { display: block; font-size: 11px; float: left; position: absolute; left: 0; top: 0; margin: 0; padding: 0.25em; background: #fff; }
.rgba p.teacp { background: rgba(255,255,255,0.5); -moz-box-shadow:1px 1px 3px rgba(0,0,0,0.5);-webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.5);box-shadow: 1px 1px 3px rgba(0,0,0,0.5); }

.header { width: 100%; height: 100px;}
.header .hgroup { float: left; height: 100px; overflow: hidden; }
.nav, .header p.support { float: right; clear: right; }
.nav ul { padding: 0; margin: 0; }
.nav ul li { display: inline; margin: 0.25em; padding: 0 0 0 0.7em; border-left: 1px solid #fff; }
.nav ul li:first-child { padding-left: 0; border-left: none; }
.nav a, .nav a:visited { color: #fff; text-decoration: none; }
.header p.support { text-align: right; color: #412202; font-size: 15px; font-weight: bold; margin: 10px 0px; }
.header p.support span.phone { }
.header p.note { float: right; width: 300px; font-size: 10px; margin: 0; }
.page_home li.nav_home a,
.page_about li.nav_about a,
.page_contact li.nav_contact a,
.page_forgot li.nav_forgot a,
.page_login li.nav_login a,
.page_privacy li.nav_privacy a,
.page_ticket li.nav_ticket a,
.page_defensive li.nav_defensive a,
.page_faq li.nav_faq a,
.page_sitemap li.nav_sitemap a,
.nav a:hover { color: #412202; text-decoration: underline; }
.nav select { display: none;  }

.main { background-color: #3385d5; background-position: 0 100%; background-repeat: no-repeat; -moz-background-size:auto;-webkit-background-size:auto;background-size: auto; border: 2px solid #3f2000; -moz-border-radius:3px;-webkit-border-radius:3px;border-radius: 3px; -moz-box-shadow:3px 3px 3px rgba(0,0,0,0.5);-webkit-box-shadow:3px 3px 3px rgba(0,0,0,0.5);box-shadow: 3px 3px 3px rgba(0,0,0,0.5); padding-top:20px; }
.wrapper { float: left; background: url(http://cache.nationalsafetycommission.com/roystx/images/white_large.60.png) 0 0 repeat; margin: -15px 0 0 220px; width: 550px; -moz-border-radius:10px;-webkit-border-radius:10px;border-radius: 10px; min-height: 400px; }
.rgba .wrapper { background-image: none; background-color: rgba(255,255,255,0.6); -moz-box-shadow:5px 5px 5px rgba(0,0,0,0.5);-webkit-box-shadow:5px 5px 5px rgba(0,0,0,0.5);box-shadow: 5px 5px 5px rgba(0,0,0,0.5); }
.content { float: left; color: #3f2000; padding: 0px 20px 20px; margin: 0; }

.tagline { margin: 0 0 0 20px; }
.tagline h2 { margin: 0; }
.tagline p {  }
.tagline.airplane { min-height: 100px; height: auto; width: 628px; background: url(http://cache.nationalsafetycommission.com/roystx/images/airplane-tag.png) 0 0 no-repeat; }
.tagline.airplane h2 { display: none; }
.tagline.airplane p { color: #ffe580; font-size: 11px; text-shadow: 5px 5px 10px rgba(0,0,0,0.8); padding: 75px 0 10px 0; width: 400px;}

.tagline { margin: 0 0 0 20px; }
.tagline h2 { margin: 0; }
.tagline p {  }
.tagline.airplane1 { min-height: 100px; height: auto; width: 628px; background: url(http://cache.nationalsafetycommission.com/roystx/images/airplane1-2.png) 0 0 no-repeat; }
.tagline.airplane1 h2 { display: none; }
.tagline.airplane1 p { color: #ffe580; font-size: 11px; text-shadow: 5px 5px 10px rgba(0,0,0,0.8); padding: 75px 0 10px 0; width: 400px;}



.tagline.airplanetag { min-height: 100px; height: auto; width: 628px; background: url(http://cache.nationalsafetycommission.com/roystx/images/airplane-2tag.png) 0 0 no-repeat; }
.tagline.airplanetag h2 { display: none; }
.tagline.airplanetag ul { font-family: 'Bevan', serif; margin: 0; padding: 12px 0 0 30px;}
.tagline.airplanetag ul { font-size: 20px; color: #3F2000; }
.tagline.airplanetag p { color: #ffe580; font-size: 11px; text-shadow: 5px 5px 10px rgba(0,0,0,0.8); padding: 0 0 0 0; width: 400px;}

.tagline.airplaneddtag { min-height: 100px; height: auto; width: 628px; background: url(http://cache.nationalsafetycommission.com/roystx/images/airplane-2tag.png) 0 0 no-repeat; }
.tagline.airplaneddtag h2 { color: #412202; font-size: 25px; padding-top: 9px; line-height: 1em; text-align: center; width: 440px; }

.tagline.cp995 h1 { font-size: 22px; font-weight: normal; color: #412202; text-align: left; margin: -17px 0 -3px 7px; padding-bottom: 2px;}
.tagline.cp995 p { font-size: 12px; font-weight: normal; color: #412202; text-align: left; margin: 5px 0 -1px 7px; padding-bottom: 35px; }


div.section { }
div.section h1 { font-size: 24px; font-weight: normal; text-align: center; padding-top: 3px; }
div.section h1 span.under { font-size: 22px; font-weight: normal; text-align: center; text-decoration: underline; }
div.section h2 { font-size: 20px; font-weight: normal; }
div.section h2 span.under{ font-size: 20px; font-weight: normal; text-align: center; text-decoration: underline; }
div.section span.swoosh { background: url(http://cache.nationalsafetycommission.com/roystx/images/swoosh.png) -8px 20px no-repeat; padding-bottom: 10px; }
div.section p { padding: 0.25em 0 0.25em 10px; }
div.section ul.arrows { margin: 0; padding: 0; }
div.section ul.arrows li { list-style: none; background: url(http://cache.nationalsafetycommission.com/roystx/images/greenarrow.png) 0 0 no-repeat; font-size: 14px; margin: 0 0 1em 10px; padding-left: 25px; min-height: 20px; }
div.section ul.arrows li em { font-style: italic; }
div.section ul.arrows li span.under { font-size: 12px; font-weight: normal; text-align: center; text-decoration: underline; }
div.section ul.arrows li.red { font-weight: bold; color: #bd0000; }
div.section ul.arrows li.blue { font-weight: bold; color: #0A415B; }
div.section ul.faq li.question { list-style: none; background: url(http://cache.nationalsafetycommission.com/roystx/images/question.png) 0 0 no-repeat; font-size: 14px; font-weight: bold; margin: 4px 0 1em 10px; padding-left: 25px; padding-bottom: 10px; min-height: 20px; }
div.section ul.faq li.answer { list-style: none; background: url(http://cache.nationalsafetycommission.com/roystx/images/answer.png) 0 0 no-repeat; font-size: 12px; margin: 0 0 2em 10px; padding-left: 25px; min-height: 20px; }

div.section.action { text-align: center; margin: 0 auto; }
div.section.action div { margin: 0 auto; width: 190px; }
div.section.action h2 { font-size: 18px; font-weight: normal; margin: 0; padding-top: 3px; text-align: center; }
div.section.action h2 span.white  {font-size: 20px; font-weight: normal; margin: 0; padding: 0; text-align: center; font-color: #fff; }
div.section.action a.button { margin: 10px 0; }
div.section.action p.cost { vertical-align: text-bottom; font-size: 17px; font-weight: bold;  margin: 0; padding: 0; line-height: 1em; text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; }
div.section.action p.cost .amount { font-size: 35px; }
div.section.action p.cost .amount sup { font-size: 16px; vertical-align: middle; }
div.section.action p.regcost { margin: 0; }
div.section.action span.swoosh { background: url(http://cache.nationalsafetycommission.com/roystx/images/swoosh.png) -3px 9px no-repeat; padding-bottom: 10px; }
div.section.action a { color: inherit; text-decoration: none; }

div.section.example p { margin-top: 30px; padding-top: 30px; }
div.section.example h2 { font-size: 16px; font-weight: normal; margin: 20px 0 -40px 0; padding-top: 20px; text-align: center; }
div.section.example p span.under { font-size: 12px; font-weight: normal; text-align: center; text-decoration: underline; }
div.section.example h2 span.under { font-size: 16px; font-weight: normal; text-align: center; text-decoration: underline; }

.crossed::after { content: "\00d7"; color: rgba(189, 0, 0, 0.7); font-size: 80px; font-weight: bold; margin: 0; display: inline-block; position: relative; top: -26px; line-height: 0; }
.offer { font-size: 14px; margin: 0; }
.offer span { font-weight: bold; }

div.approval { float: left; color: #303030; margin: 20px 0 0; }
div.approval p { text-align: right; font-size: 16px; font-weight: bold; text-shadow: 0px 0px 3px rgba(255,255,255,0.8); line-height: 1em; padding: 0; margin: 0; }
div.approval p small { font-size: 10px; font-weight: normal; }

.footer { max-width: 100%; padding: 10px; border-top: 1px solid #ccc; }
.footer .left { float: left; width: auto; }
.footer .right { float: right; width: 206px; }
ul.links { list-style: none; margin: 1em 0 0; padding: 0; }
ul.links li { border-left: 1px solid #303030; line-height: 1em; display:inline; }
ul.links li:first-child { border-left: none; }
ul.links li a { color: #303030; padding: 0 7px; text-decoration: none; }
ul.links li a:hover { text-decoration: underline; }
ul.links li:first-child a { padding-left: 0; }
ul.links li:last-child a { padding-right: 0; }
p.copyright { margin-top: 20px; font-size: 0.9em;}
ul.social { list-style: none; float: right; margin-bottom: 20px; }
ul.social li { float: left; margin: 0 3px;}
ul.social li a { display : block; width: 24px; height: 24px; background: 50% 50% no-repeat; }
ul.social li.facebook a { background-image: url(http://cache.nationalsafetycommission.com/roystx/images/facebook.png); }
ul.social li.twitter a { background-image: url(http://cache.nationalsafetycommission.com/roystx/images/twitter.png); }
ul.social li.youtube a { background-image: url(http://cache.nationalsafetycommission.com/roystx/images/youtube.png); }
ul.social li a span { display: none; }
a.seal { float: right; clear: right; margin-top:3px; }

/* =============================================================================
   Non-semantic helper classes
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.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: drupal.org/node/897638 */
.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; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

@media screen and (max-width: 790px) {
	.main { background-image: none !important; }
	.wrapper { margin: 0 10px; width: auto; }
	header { height: auto; }
	header hgroup { float: none; height: auto; }
	nav, header p.support, header p.note { float: none; width: auto; }
	header p.support { text-align: left; }
}
@media screen and (max-width: 480px) {
	body { min-width: 0; }
	.tagline { background-image: none !important; width: auto !important; margin: 0 !important; min-height: 0 !important; }
	.tagline h2 { width: auto !important; }
	.fb_iframe_widget { display: none !important; }
}

/* =============================================================================
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; 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; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  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; }
}
