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

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

select[disabled] {
    -moz-user-input: disabled;
    -moz-user-focus: ignore;
    color: GrayText;
    background-color: #eee;
    cursor: inherit;
}


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

a,
a:link,
a:active,
a:visited {
    color: #008AC9;
    text-decoration: none;
}


/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */

a:hover,
a:active {
    outline: 0;
    color: #008AC9;
}


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

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

b,
strong {
    font-weight: bold;
}

p {
    margin: 0 0 14px 0;
}

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


/* =============================================================================
   Primary styles
   Author: Nicole
   ========================================================================== */

body {
    background-color: #f5f5f5;
    background-image: url(../images/ssaa-bg.jpg);
    background-repeat: repeat;
    background-position: left top;
    font-family: 'Open Sans', sans-serif;
}

.container {
    width: 960px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    position: relative;
}

.round {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

header#header {
    height: 175px;
    position: relative;
    z-index: 99999;
    margin-top: 15px;
    margin-bottom: 10px;
}

header a#logo {
    background-image: url(../images/ssaa-logo.png);
    height: 119px;
    width: 518px;
    position: absolute;
    left: 30px;
    top: 26px;
    display: block;
    background-repeat: no-repeat;
    background-position: left top;
    z-index: 999;
}

header#header h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 800;
    position: absolute;
    left: 128px;
    top: 85px;
    margin: 0px;
}

header#header a:link,
header#header a:active,
header#header a,
header#header a:visited {
    color: #222!important;
}

header#header h1.heading {
    text-indent: -99999px;
}

.container #header #mask {
    background-image: url(../images/banner-mask.png);
    z-index: 998;
    left: 0;
    position: absolute;
    top: 0;
    border-radius: 5px 5px 5px 5px;
    height: 175px;
    width: 960px;
}

.container #header ul#slider {
    margin: 0px;
    padding: 0px;
    z-index: 996;
    list-style-type: none;
    float: right;
    width: 731px;
    border-radius: 5px 5px 5px 5px;
}

.container #header ul#slider li {
    margin: 0px;
    padding: 0px;
}

.container #header ul#slider li img {
    border-radius: 5px 5px 5px 5px;
}

.container #main {
    padding: 30px 30px 10px 30px;
    margin: 10px 0;
    z-index: 999;
    position: relative;
    border-top: 61px solid #c8c200;
    background: url(/images/rh-clm-footer.gif) no-repeat right bottom;
}

#content.container {
    background: #fff url(/images/container-bg.gif) repeat-y right top;
}

h1.pagetitle {
    color: #FFF;
    font-weight: 600;
    font-size: 24px;
    margin: -9px 0 45px 0;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 1px 1px 2px #908b00, 0 0 0 #000, 1px 1px 2px #908b00;
}

#main #main-clm {
    float: left;
    margin: -70px 0 10px 0;
    width: 640px;
    position: relative;
}

#options {
    width: 670px;
    margin: 25px -10px;
    min-height: 90px;
}

#options ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

#options ul li {
    float: left;
    width: 50%;
}

#options ul li a {
    display: block;
    line-height: 90px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

#options ul li.option1 a {
    background-color: #008ac9;
    text-shadow: 1px 1px 2px #006fa1, 0 0 0 #000, 1px 1px 2px #006fa1;
    box-shadow: 0 0 10px #006fa1 inset;
}

#options ul li.option1 a:hover {
    box-shadow: none;
}

#options ul li.option2 a {
    background-color: #30649e;
    text-shadow: 1px 1px 2px #234d7c, 0 0 0 #000, 1px 1px 2px #234d7c;
    box-shadow: 0 0 10px #234d7c inset;
}

#options ul li.option2 a:hover {
    box-shadow: none;
}

#options ul li.option3 a {
    background-color: #c8c200;
    text-shadow: 1px 1px 2px #908b00, 0 0 0 #000, 1px 1px 2px #908b00;
    box-shadow: 0 0 10px #908b00 inset;
}

#options ul li.option3 a:hover {
    text-shadow: 1px 1px 2px #908b00, 0 0 0 #000, 1px 1px 2px #908b00;
    box-shadow: none;
}

#options ul li.option4 a {
    background-color: #c2be78;
    text-shadow: 1px 1px 2px #908b00, 0 0 0 #000, 1px 1px 2px #908b00;
    box-shadow: 0 0 10px #908b00 inset;
}

#options ul li.option4 a:hover {
    text-shadow: 1px 1px 2px #908b00, 0 0 0 #000, 1px 1px 2px #908b00;
    box-shadow: none;
}

#main #sidebar {
    float: right;
    width: 240px;
    position: relative;
    background-color: #eeeeee;
    margin-top: -70px;
    margin-right: -20px;
    padding: 10px;
    background-image: url(../images/rapid-ssl.png);
    background-repeat: no-repeat;
    background-position: center bottom;
}

footer {
    width: 960px;
    margin: 0 auto;
    font-size: 12px;
}

footer a,
footer a:active,
footer a:link,
footer a:visited {
    color: #FFF;
}

footer a:hover {
    color: #CCC;
}

#footerwrap {
    color: #FFF;
    background-color: #464646;
    padding-top: 15px;
    padding-bottom: 15px;
}


/* form styles
 ======================================== */

form.form {
    background: #eeeeee;
    margin: 0;
    padding: 25px;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 0 10px #dadada inset;
}

form.form fieldset {
    width: 100%;
}

form.form ul,
form.form ol {
    padding: 0;
    margin: 0 0 20px 0;
}

form.form ul li {
    clear: both;
    display: block;
    min-height: 30px;
    margin: 0 0 10px;
    list-style: none;
}

form.form ol li {
    clear: both;
    display: block;
    min-height: 20px;
    margin: 0 0 5px;
    list-style: none;
}

form.form label {
    float: left;
    width: 135px;
}

form.form input[type="text"],
form.form input[type="password"],
form.form select,
form.form textarea {
    width: 68%;
    vertical-align: top;
    float: left;
    border: solid 1px #cecece;
    padding: 6px;
    margin: 0 0 0 5px;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.10) inset;
}

form.form input[type="text"].required {
    border-right: solid 5px #C8C200;
    width: 67.1%;
}

form.form select.required {
    border-right: solid 5px #C8C200;
}

form.content select {
    width: 71%;
}

form.form input[type="image"],
form.form input[type="submit"],
form.form input[type="button"] {
    float: right;
}

form.form p {
    float: left;
    margin-left: 5px;
    width: 390px;
}

form.form input[type="checkbox"] {
    margin-left: 5px;
    width: 1.5em;
    height: 1.5em;
}

label.clm2 {
    width: 70px !important;
    margin-left: 35px;
}

.checkfield {
    margin-left: 5px;
    margin-right: 5px;
}

.required {
    color: red;
}

.floatleft {
    float: left;
}

#prev_member_no {
    width: 150px;
}

.smallfield {
    width: 115px !important;
}

#postal-country-li {
    display: none;
}

#res-country-li {
    display: none;
}

.tinyfield {
    width: 4em !important;
}

li.form-divider {
    height: 1px;
    min-height: 1px !important;
    border-bottom: 1px solid #888;
}

li.form-header {
    border-top: 1px solid #888;
}

li table td span {
    color: #276da8;
    font-weight: bold;
    font-size: 13px;
}

input.wait {
    background: url(/images/ajax-loader.gif) no-repeat top right;
}

li table.hunter-summary td:first-child,
li table.hunter-summary tr:first-child {
    text-align: right;
    padding-right: 5px;
    width: 350px;
}

li table.hunter-summary td:nth-child(2) {
    text-align: right;
    padding-right: 5px;
    width: 115px;
    background-color: #ccc;
}

li table.hunter-summary td:last-child {
    background-color: #276da8;
    color: #fff;
}

li table.hunter-summary tr:first-child td:first-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;
}

li table.hunter-summary tr:first-child td:last-child {
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
}

li table.summary td:first-child {
    text-align: right;
    padding-right: 5px;
    width: 350px;
}

li table.summary tr:first-child td:first-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;
}

li table.summary tr:first-child td:last-child {
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
}

li table.handgun-summary p {
    width: auto!important;
}

li table.handgun-summary th {
    background-color: #276da8!important;
    color: #fff!important;
    width: 90px!important;
}

li table.handgun-summary th:last-child {
    text-align: left;
}

li table.handgun-summary td:nth-child(1) {
    width: 20px!important;
    background-color: #ccc;
    color: #000;
    text-align: center;
}

li table.handgun-summary td:nth-child(2) {
    background-color: #ccc;
    color: #000;
}

li table.handgun-summary td:nth-child(3) {
    width: 265px;
    !important;
    background-color: #ccc;
    color: #000;
}

li table.handgun-summary td:last-child {
    text-align: left;
    padding-right: 5px;
}

li table.handgun-summary tr:first-child td:first-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;
}

li table.handgun-summary tr:first-child td:last-child {
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
}

li table tr:last-child td:first-child {
    -moz-border-radius: 0px 0 0 6px;
    -webkit-border-radius: 0px 0 0 6px;
    border-radius: 0px 0 0 6px;
    border-bottom: none;
}

li table tr:last-child td:last-child {
    -moz-border-radius: 0 0px 6px 0;
    -webkit-border-radius: 0 0px 6px 0;
    border-radius: 0 0px 6px 0;
    border-bottom: none;
}

li table tr:last-child td {
    border-bottom: none;
}

li table {
    width: 100%;
    *border-collapse: collapse;
    /* IE7 and lower */
    border-spacing: 0;
}

li table tr td {
    border-bottom: 1px dashed #333;
}

li table th:first-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;
    text-align: center;
}

li table th:last-child {
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
}

.junior-div {
    display: none;
}

li table th:only-child {
    -moz-border-radius: 6px 6px 0 0;
    -webkit-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
}

li table tr {
    vertical-align: top;
}

li table th {
    text-transform: uppercase;
}

li table td:nth-child(1) {
    padding: 5px;
    font-size: 1.1em;
    background-color: #276da8;
    width: 85px;
    color: #fff;
}

li table td span {
    font-size: 1.1em;
}

li table th:nth-child(1) {
    background-color: #276da8;
    color: #fff;
}

li table td,
li table th {
    padding: 3px;
}

td.hunter {
    background-color: #FFEA8E!important;
    color: #000!important;
}

td.hunter span {
    color: #000!important;
    font-size: 1.1em!important;
}

td.gao {
    background-color: #FFEA8E!important;
    color: #000!important;
}

td.gao span {
    color: #000!important;
    font-size: 1.1em!important;
}
td.insurance-confirm {
    background-color: #ffb2ae!important;
    color: #000!important;
}

td.insurance-confirm span {
    color: #000!important;
    font-size: 1.1em!important;
}

td.gold {
    background-color: #c2be78!important;
    color: #000!important;
}

td.gold span {
    color: #000!important;
    font-size: 1.1em!important;
}

td.pensioner {
    background-color: #c2be78!important;
    color: #000!important;
}

td.pensioner span {
    color: #000!important;
    font-size: 1.1em!important;
}

#clear-sig {
    margin-left: 120px;
}

.errors li {
    color: red;
    font-weight: bold;
}

.sig-error {
    margin-left: 120px;
    color: red;
    font-weight: bold;
}


/* button styles
 ======================================== */

.form-tip {
    font-size: 10px;
    padding-left: 5px;
}

form.form input[type=submit],
form.form input[type=button] {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.24) inset;
    background-color: #464646;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #222;
    display: inline-block;
    color: #ffffff;
    font-family: Arial;
    font-size: 13px;
    font-weight: normal;
    padding: 6px 15px;
    text-decoration: none;
    position: relative;
    /* set so I can apply a z-index value  */
    z-index: 2;
}

form.form input:hover[type=submit] {
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #0591d3), color-stop(1, #1e72ae));
    background: -moz-linear-gradient(center top, #0591d3 5%, #1e72ae 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#008cc9', endColorstr='#006FAF');
    background-color: #276da8;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #276da8;
}


/* =Menus (global)
-------------------------------------------------------------- */

div.menu ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 10px;
}

div.menu li {
    float: left;
    position: relative;
}


/* =Menu
-------------------------------------------------------------- */

#main-menu {
    display: block;
    margin: 0;
    background: -moz-linear-gradient(top, rgba(5, 145, 211, 1) 0%, rgba(27, 116, 176, 1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(27, 116, 176, 1)), color-stop(100%, rgba(255, 255, 255, 0)));
    background: -webkit-linear-gradient(top, rgba(5, 145, 211, 1) 0%, rgba(27, 116, 176, 1) 100%);
    background: -o-linear-gradient(top, rgba(5, 145, 211, 1) 0%, rgba(27, 116, 176, 1) 100%);
    background: -ms-linear-gradient(top, rgba(5, 145, 211, 1) 0%, rgba(27, 116, 176, 1) 100%);
    background: linear-gradient(top, rgba(5, 145, 211, 1) 0%, rgba(27, 116, 176, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#0591d3', endColorstr='#1b74b0', GradientType=0);
    height: 57px;
    width: 960px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border: solid 1px #1b74b0;
}

#main-menu ul {
    margin: 4px 0 0 0;
}

#main-menu div.menu li {
    line-height: 29px;
    padding: 12px 4px;
}

#main-menu li a:hover,
#main-menu li.selected a {
    color: #FFFFFF;
    background: #008ac9;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.24) inset;
}

#main-menu a {
    color: #fff;
    display: block;
    padding: 0 10px;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 1px 2px #000000;
}

#main-menu div.menu li.last {
    border: none;
    padding-right: none;
}

#main-menu ul ul {
    margin: 0px;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
    display: none;
    position: absolute;
    top: 49px;
    left: 6px;
    float: left;
    width: 160px;
    z-index: 99999;
    -moz-border-radius-bottomright: 8px;
    border-bottom-right-radius: 8px;
    -moz-border-radius-bottomleft: 8px;
    border-bottom-left-radius: 8px;
    background: #1b74b0;
    padding: 0px;
}

body #main-menu div.menu li li {
    min-width: 160px;
    background: none!important;
    padding: 3px!important;
    border: none!important;
    line-height: 12px!important;
}

#main-menu ul ul ul {
    left: 100%;
    top: 0;
}

#main-menu li.selected ul a span {
    padding: 0px;
    background: none;
}

#main-menu ul ul a,
#main-menu li.selected ul a {
    line-height: 1em;
    padding: 2px 5px;
    width: 140px;
    height: auto;
    margin: 0px;
    font: 12px/16px Arial, sans-serif;
    text-transform: capitalize;
    text-shadow: none;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    box-shadow: none;
}

#main-menu ul li.selected li a {
    background: none !important;
}

#main-menu ul li:hover>ul {
    display: block;
}


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


/* =============================================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
    /* Style adjustments for viewports 480px and over go here */
}

@media only screen and (min-width: 768px) {
    /* Style adjustments for viewports 768px and over go here */
}


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

.tip {
    width: 300px;
    float: right;
    font-size: 10px;
    font-weight: bold;
    padding-left: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
}