/* =============================================================================
    RESETS & DEFAULTS
    ========================================================================== */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; height: 100%; margin-bottom: 1px; overflow: -moz-scrollbars-vertical; overflow-y: scroll; }
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, section, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }
label { cursor: pointer; }
body { line-height: 1; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #dadada; margin: 1em 0; padding: 0; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
svg:not(:root) { overflow: hidden; }
table { border-collapse: collapse; border-spacing: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after, .clear { clear: both; }
.clearfix { *zoom: 1; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
html, body, button, input, select, textarea, th, td { -webkit-font-smoothing: antialiased; }


/* =============================================================================
    LINKS
    ========================================================================== */

a { color: #255da6; text-decoration: none; }
a:hover { color: #2b6dc4; }
#administration a:hover { color: #9cbc3c; }
a:active, a:hover { outline: 0; }


/* =============================================================================
   TRANSITIONS
   ========================================================================== */

a, a img, td, #submitBox input[type=submit], button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -ms-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
}

/* =============================================================================
   TYPOGRAPHY
   ========================================================================== */

html, body, button, input, select, textarea, th, td {
    -webkit-font-smoothing: antialiased;
    font: 400 16px 'Open Sans', sans-serif;
    color: #222;
}

p, h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px 0;
    line-height: 1.3;
}

h1 {
    font-size: 24px;
    font-weight: 600;
}
h1 a, h1 a:hover, #administration h1 a:hover { color: #222; }
h1 a:hover, #administration h1 a:hover {
    text-decoration: none;
    opacity: 0.6;
}
#header h1 {
    background: #ebebeb;
    margin: 0;
    padding: 20px;
}
#administration #header h1 { text-align: left; }

h2 {
    font-size: 20px;
    font-weight: 600;
    color: #00468c;
}

h3 {
    font-size: 18px;
    font-weight: 700;
}

h4 {
    font-size: 14px;
    font-weight: 700;
}

h5 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

h6 {
    font-size: 11px;
    font-weight: 400;
}

b, strong { font-weight: 700; }
abbr[title] { border-bottom: 1px dotted; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
.center { text-align: center; }

/* =============================================================================
   LISTS & BLOCKQUOTES
   ========================================================================== */

ul, ul ul, ol, ol ol, ul ol, ol ul {
    margin: 20px 20px 20px 20px;
    padding: 0 0 0 20px;
}
ul li, ol li { margin: 0 0 10px 0; }

dl { margin: 1em 0; }
dd { margin: 0 0 0 40px; }

blockquote { margin: 1em 40px; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }

/* =============================================================================
   BASE
   ========================================================================== */

body { background: #fff; }


/* =============================================================================
   HEADER
   ========================================================================== */

#header {
    text-align: center;
    margin: 0;
    padding: 0;
    border-top: 10px solid #00468c;
}
#administration #header { border: none; }
#header #logo { padding: 30px; }

#header #logo img {
    width: 492px;
    height: 120px;
}

/* =============================================================================
   PAGE
   ========================================================================== */

#content {
    max-width: 960px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
}

.form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 0;
}


/* =============================================================================
   FOOTER
   ========================================================================== */

#footer {
    background: #4a4a4a;
    color: #ededed;
    padding: 30px;
    text-align: center;
}
#footer .address .jwv { font-size: 24px; }
#footer .address {
    font-size: 16px;
    margin: 0 0 15px 0;
}
#footer p { font-size: 12px; }

#footer a:link, #footer a:active, #footer a:visited {
    color: #ededed;
    text-decoration: underline;
}
#footer a:hover { color: #fff; }

#footer ul {
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none;
}
#footer ul li {
    margin: 0 5px 0 0;
    padding: 0;
    display: inline;
}

/* =============================================================================
   IMAGES
   ========================================================================== */

audio, canvas, iframe, img, svg, video { vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
img {
    max-width: 100%;
    height: auto;
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.photo-left {
    margin: 0 20px 20px 0;
    float: left;
}
.photo-right {
    margin: 0 0 20px 20px;
    float: right;
}
.photo-center {
    margin: 0 0 20px 0;
    text-align: center;
}
.photo-left img, .photo-right img, .photo-center img { }

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* =============================================================================
    ADMIN
    ========================================================================== */

#logged-in {
    float: right;
    font-size: 13px;
    padding: 25px;
}
#logged-in br { display: none; }
#logged-in span { margin: 0 10px 0 0; }
#logged-in a:after {
    padding-left: 2px;
    font-family: 'FontAwesome';
    content: ' \f08b ';
}

#admin-content {
    max-width: auto;
    padding: 20px;
    /*display: table;*/
    width: 100%;
    clear: both;
}
/*
.users.index, div.actions {
    display: table-cell;
    vertical-align: top;
}
div.index {
    padding: 20px;
}
*/
div.actions { float: right; }
/*
div.actions {
    padding: 20px 20px 20px 0;
    width: 160px;
}
*/
h2.table-heading { color: #222; }

#UserMembershipForm, #UserLoginForm { }
/*
.users .index,
div.form,
div.index,
div.view
{
    float:right !important;
    width:76% !important;
    padding:10px 2% !important;
}
div.actions {
    float:left;
    width:16%;
    padding:10px 1.5%;
    font-size: 11px;
}
div.actions h3 {
    margin: 15px 0;

}
*/


table {
    clear: both;
    width: 100%;
}
table, td {
    background: #f8f8f8;
    border: 1px solid #ededed;
}

table tr:nth-child(2n) td { background: #eee; }
table tr:hover td { background: #fff; }

th, td {
    padding: 10px;
    vertical-align: middle;
    font-size: 14px;
}
th {
    background: #555;
    border: 0;
    border-bottom: 2px solid #ccc;
    border: 1px solid #666;
    text-align: left;
    color: #ededed;
    font-weight: 600;
    vertical-align: middle;
    white-space: nowrap;
}
th a:link, th a:active, th a:visited {
    display: block;
    padding: 2px 4px;
    text-decoration: none;
    color: #ededed;
    font-weight: 600;
}
#administration th a:hover { color: #fff; }

th a.asc:after, th a.desc:after { font-family: 'FontAwesome'; }

th a.asc:after { content: ' \f0d7 '; }
th a.desc:after { content: ' \f0d8 '; }

.icon-users a:after { content: '\f0c0'; }
.icon-posts a:after { content: '\f279 '; }
.icon-new-user a:after { content: '\f007'; }
.icon-new-post a:after { content: '\f041'; }
.icon-export-users a:after { content: '\f1c3'; }
.icon-export-posts a:after { content: '\f1c3'; }
.icon-import-posts a:after { content: '\f0fe'; }

.icon-users a:after, .icon-posts a:after, .icon-new-user a:after, .icon-new-post a:after, .icon-export-users a:after, .icon-export-posts a:after, .icon-import-posts a:after {
    position: absolute;
    font-family: 'FontAwesome';
}
.icon-users a:after, .icon-posts a:after, .icon-export-users a:after, .icon-export-posts a:after, .icon-import-posts a:after {
    left: 2px;
    top: 8px;
}
.icon-new-user a:after, .icon-new-post a:after {
    left: 5px;
    top: 8px;
}


td.actions { text-align: center; }
div.actions ul {
    margin: 0;
    padding: 0;
}
div.actions li {
    list-style-type: none;
    white-space: nowrap;
    margin: 0 0 0 5px;
    padding: 0;
    display: inline;
}
div.actions ul li a {
    position: relative;
    display: inline-block;
    clear: both;
    padding: 5px 5px 5px 20px;
    font-size: 13px;
}
div.actions ul li a:hover { }
td.actions a {
    margin: 0 5px;
    padding: 3px;
}
.cake-sql-log td { font-family: Monaco, Consolas, "Courier New", monospaced; }
.cake-sql-log caption { color:#fff; }

.paging-stats {
    font-size: 14px;
    margin: 20px 20px 30px 20px;
    text-align: center;
}
.paging {
    margin: 0 20px 40px 20px;
    color: #fff;
    text-align: center;
    font-size: 14px;
}
div.paging span.disabled {
    color: #ccc;
    display: inline;
}
div.paging span.current {
    color: #c73e14;
    font-weight: bold;
    padding: 5px;
}
div.paging span a {
    background: #f8f8f8;
    border: 1px solid #dadada;
    padding: 5px 10px;
    border-radius: 3px;
}
.page-prev, .page-next { display: inline; }
.page-prev a, .page-next a {
    background: none !important;
    border: none !important;
    padding: 5px 10px !important;
}

/** Scaffold View **/

dl {
    line-height: 2em;
    margin: 20px auto;
    width: 100%;
    font-size: 14px;
}
dl .altrow {
    background: #f4f4f4;
}
dt {
    font-weight: 700;
    padding-left: 4px;
    vertical-align: top;
}
dd {
    margin-left: 15em;
    margin-top: -2em;
    vertical-align: top;
}
/*
dl {
    font-size: 14px;
    margin: 20px auto;
    max-width: 80%;
}
dl .altrow {
    background: #f4f4f4;
    border-bottom: 1px solid #dadada;
}
dt {
    float: left;
    clear: left;
    width: 200px;
    text-align: right;
    font-weight: bold;
    color: green;
}
dt::after {
    content: ":";
}
dd {
    margin: 0 0 0 200px;
}
*/


/* =============================================================================
   FORMS
   ========================================================================== */

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}
button { overflow: visible; }
button, select { text-transform: none; }
button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
button[disabled], html input[disabled] { cursor: default; }
button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
input { line-height: normal; }
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; }
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
legend {
    border: 0;
    padding: 0;
}
textarea {
    resize: vertical;
    overflow: auto;
}
optgroup { font-weight: 700; }
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}


/* =============================================================================
   MOBILE-RESPONSIVE
   ========================================================================== */

@media (min-width: 0px) and (max-width: 1140px) {


}
@media (min-width: 0px) and (max-width: 768px) {


}
@media (min-width: 0px) and (max-width: 480px) {


}






/** Forms **/

option[value=Check] { display: none; } /* Hides the paying by "check" option */

form {
    clear: both;
    margin-right: 20px;
    padding: 0;
    width: 95%;
}

fieldset legend { display: none; }
fieldset fieldset {
    margin-top: 0px;
    margin-bottom: 20px;
    padding: 16px 10px;
    font-size: 14px;
}
fieldset fieldset input { margin-bottom: 10px; }
fieldset fieldset legend {
    display: block;
    font-weight: 700;
}
fieldset fieldset div {
    clear: left;
    margin: 0 20px;
}
form div {
    clear: both;
    margin-bottom: 1em;
    padding: .5em;
    vertical-align: text-top;
}

form .required label:after {
    color: #cc0000;
    content: ' * ';
    display:inline;
}
input, textarea, select {
    background: #f8f8f8;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 2px;
    color: #222;
    width: 98%;
}
.date input, .date select, #UserFirstName, #UserLastName, #UserZip, #UserPhone, #UserGender, #UserBranchOfService, #UserRank, #UserUnitDesignation, #UserPayingWith { width: auto; }
.date select
#UserMiddleInitial { max-width: 30px; }
input:focus, textarea:focus, select:focus {
    background: #fff;
    outline: none;
}

#membership-cost-calc { margin: 0 0 15px 5px; }

#captcha p { }
#captcha h3 {
    color: #cc0000;
    font-size: 14px;
    margin: 0;
    font-weight: 700;
}
#captcha-box {
    background: #000;
    width: 340px;
    height: 150px;
    margin: 0 auto;
    padding: 0;
}
.cost-label {
    font-size: 15px;
    font-weight: 700;
    padding: 0 0 0 5px;
    display: inline;
}
#membershipCost {
    font-size: 15px;
    font-weight: 700;
    color: #cc0000;
    display: inline;
}
#dd214-notice {
    background: #fcfbf5;
    border: 1px solid #dedcd3;
    font-size: 16px;
    font-weight: 700;
    color: red;
    text-align: center;
    /*font-style: italic;*/
    margin: 0 0 15px 0;
    padding: 40px 40px 20px 40px;
    line-height: 1.3;
}
#submitBox {
    font-size: 14px;
    text-align: center;
    padding: 15px;
    font-weight: 700;
    color: #343434;
}
#submitBox .statement { font-style: italic; }
#submitBox input[type=checkbox] {
    clear: none;
    float: none;
    margin: 0 6px 0 0;
    display: inline;
}
#submitBox label {
    display: inline;
    cursor: pointer;
    color: #cc0000;
    font-size: 16px;
}

h2.form-heading {
    color: #222;
    text-transform: uppercase;
    text-align: center;
    margin: 40px 0;
    border-bottom: 1px solid #dadada;
}
#UserLoginForm a {
    float: right;
    margin: 0 40px 0 0;
    font-size: 11px;
}

.instantPaymentNotifications {
    margin: 30px auto;
}

#submitBox input[type=submit], button, html input[type="button"], input[type="reset"], input[type="submit"] {
    background: #00468c;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 400;
    padding: 8px 30px !important;
    border-radius: 0;
    border: none;
    letter-spacing: 0.05em;
    cursor: pointer;
}
#submitBox input[type=submit]:hover, button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { background: #0059b2; }

label {
    display: block;
    margin-bottom:3px;
}

select {
    clear: both;
    vertical-align: text-bottom;
}
select[multiple=multiple] { width: 100%; }
option { }
input[type=checkbox] {
    clear: left;
    float: left;
    margin: 0px 6px 7px 2px;
    width: auto;
}
div.checkbox label { display: inline; }
label {
    font-weight: 700;
    font-size: 14px;
}

input[type=radio] {
    float:left;
    width:auto;
    margin: 0 3px 7px 0;
}
div.radio label {
    margin: 0 0 6px 20px;
}
input[type=submit] {
    display: inline;
    text-transform: uppercase;
    width: auto;
}
/*
form .submit input[type=submit] {
    background:#7b0500;
    background: -webkit-gradient(linear, left top, left bottom, from(#7b0500), to(#ad0700));
    background-image: -moz-linear-gradient(top, #7b0500, #ad0700);
    border: 1px solid #8e0600;
    color: #f2edd0;
    text-shadow: #8e0600 0px 1px 0px;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;
    cursor: pointer;
}
form .submit input[type=submit]:hover {
    background: -webkit-gradient(linear, left top, left bottom, from(#bc0700), to(#d70800));
    background-image: -moz-linear-gradient(top, #bc0700, #d70800);
    color: #fff;
}
*/

/** Notices and Errors **/
div.message {
    clear: both;
    font-size: 140%;
    font-weight: 700;
    margin: 0 0 1em 0;
    padding: 5px;
    color: #d70800;
}
div.error-message {
    clear: both;
    color: #d70800;
    font-weight: 700;
}
.highlight, .highlight a {
  color: #d70800;
  text-align: center;
  margin: 2rem auto;
  text-decoration: underline;
}
.highlight a:hover { color: #ff332b; }
p.error {
    color: #d70800;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
p.error em {
    color: #d70800;
    font-weight: 400;
}
.notice {
    background: #ffcc00;
    color: #000;
    display: block;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
.success {
    background: green;
    color: #fff;
}



/** Related **/
div.related {
    clear: both;
    display: block;
}

/** Debugging **/
pre {
    color: #000;
    background: #f0f0f0;
    padding: 1em;
}
pre.cake-debug {
    background: #ffcc00;
    font-size: 120%;
    line-height: 140%;
    margin-top: 1em;
    overflow: auto;
    position: relative;
}
div.cake-stack-trace {
    background: #fff;
    color: #333;
    margin: 0px;
    padding: 6px;
    font-size: 120%;
    line-height: 140%;
    overflow: auto;
    position: relative;
}
div.cake-code-dump pre {
    position: relative;
    overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
    color: #000;
    background-color: #F0F0F0;
    margin: 0px;
    padding: 1em;
    overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
    clear: both;
    font-size: 12px;
    line-height: 15px;
    margin: 4px 2px;
    padding: 4px;
    overflow: auto;
}
div.cake-code-dump span.code-highlight {
    background-color: #ff0;
    padding: 4px;
}
div.code-coverage-results div.code-line {
    padding-left:5px;
    display:block;
    margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
    background:#ecc;
}
div.code-coverage-results div.covered span.content {
    background:#cec;
}
div.code-coverage-results div.ignored span.content {
    color:#aaa;
}
div.code-coverage-results span.line-num {
    color:#666;
    display:block;
    float:left;
    width:20px;
    text-align:right;
    margin-right:5px;
}
div.code-coverage-results span.line-num strong {
    color:#666;
}
div.code-coverage-results div.start {
    border:1px solid #aaa;
    border-width:1px 1px 0px 1px;
    margin-top:30px;
    padding-top:5px;
}
div.code-coverage-results div.end {
    border:1px solid #aaa;
    border-width:0px 1px 1px 1px;
    margin-bottom:30px;
    padding-bottom:5px;
}
div.code-coverage-results div.realstart {
    margin-top:0px;
}
div.code-coverage-results p.note {
    color:#bbb;
    padding:5px;
    margin:5px 0 10px;
    font-size:10px;
}
div.code-coverage-results span.result-bad {
    color: #a00;
}
div.code-coverage-results span.result-ok {
    color: #fa0;
}
div.code-coverage-results span.result-good {
    color: #0a0;
}

#url-rewriting-warning { display: none; }

.processed-column { text-align: center; }
.processed-column .fa {
    font-size: 20px;
}
.processed-column a { padding: 5px; }
.processed-column a:hover { opacity: 0.6; }
.fa-check-square, .fa-check, .fa-check-circle { color: #688a00; } /* processed */
.fa-check-square-o, .fa-square-o, .fa-circle, .fa-circle-o { color: #ccc; } /* unprocessed */

/*
.processed, .unprocessed {
    font-family: 'FontAwesome';
    position: relative;
}
.processed:after, .unprocessed:after {
    position: absolute;
    top: 50%;
    left: 50%;
}
.processed:after { content: ' \f058 '; }
.unprocessed:after { content: ' \f05d '; }
/*
.processed {
    background-image:url('https://web-archive.nli.org.il/National_Library/oe_/https://www.jwv.org/images/processed.gif');
    background-repeat:no-repeat;

}

.unprocessed {
    background-image:url('https://web-archive.nli.org.il/National_Library/oe_/https://www.jwv.org/images/unprocessed.gif');
    background-repeat:no-repeat;
    text-indent:-9999px;

}
*/