/* v2.0 | 20110126
  http://meyerweb.com/eric/tools/css/reset/
  License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

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

a:hover {
    text-decoration: underline;
}


/* Practical Halacha Styles */

body,
div,
p,
td,
a,
li {
    font-family: Arial;
    font-size: 14px;
}

#container {
    margin: 0 auto;
    width: 1000px;
    background: url(../images/menuRepeatShadow.png) repeat-y;
}

#main {
    background: url(../images/menuBackShadow.png) repeat-y;
    min-height: 400px;
    width: 100%;
    float: left;
}

.print #main {
    float: none;
}

#nav {
    height: 42px;
    padding-left: 265px;
}

#nav ul li {
    padding-top: 10px;
    float: left;
    font-size: 14px;
    position: relative;
}

#nav ul li.pab {
    padding-top: 0;
    display: block;
    width: 260px;
    height: 40px;
    background: url(../images/readPrintHalachotAsBook.png) no-repeat;
    text-align: center;
    overflow: hidden;
}

#nav ul li.pab:hover {
    background-image: url(../images/readPrintHalachotAsBook_mouseOver.png);
}

#nav ul li.pab a {
    display: block;
    padding-top: 13px;
    font-weight: bold;
}

#nav ul li a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

#nav ul li a small {
    font-size: 10px;
}

#nav ul li a:hover {
    text-decoration: underline;
}

#nav ul li.sep {
    padding: 10px 5px 0;
}

#nav ul li ul {
    padding: 0px;
    position: absolute;
    top: 25px;
    left: -9999px;
    border-top: none;
    width: 145px;
    box-shadow: 6px 3px 13px rgba(0, 0, 0, 0.42);
    border: 1px solid #d5d4d4;
    border-radius: 5px 5px;
}

#nav ul li:hover ul {
    left: -7px;
}

#nav ul li:hover ul li {
    float: none;
    padding: 3px 0;
    width: 145px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #d5d4d4;
}

#nav ul li:hover ul li:hover {
    background-color: #eaebec;
}

#nav ul li:hover ul li.first {}

#nav ul li:hover ul li.last {
    border-bottom: none;
}

#nav ul li:hover ul li a {
    display: block;
    text-align: left;
    padding: 5px;
    color: #070700;
    font-size: 12px;
}

#nav ul li:hover ul li a:hover {
    color: #2686a9 !important;
    text-decoration: none;
}

#logo {
    float: left;
    padding-left: 20px;
}

#banner {
    height: 103px;
    margin-left: 10px;
    background: url(../images/bannerShadow.png) no-repeat;
    float: left;
    width: calc(100% - 10px);
}

#search {
    padding-left: 140px;
    padding-top: 33px;
    float: left;
}

#s {
    height: 25px;
    width: 456px;
    padding: 0 5px;
    box-shadow: inset 0px 0px 5px 0px #b5b5b5;
    border: 1px solid #b5b5b5;
    color: #d70f52;
    font-family: Verdana;
    font-size: 14px;
    padding-left: 10px;
    text-align: left;
}

::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #d70f52;
    font-family: Verdana;
    font-size: 14px;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #d70f52;
    font-family: Verdana;
    font-size: 14px;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #d70f52;
    font-family: Verdana;
    font-size: 14px;
}

:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #d70f52;
    font-family: Verdana;
    font-size: 14px;
}

#content {
    padding: 15px 11px 0;
    position: relative;
    clear: both;
}

#left,
.left {
    float: left;
    width: 223px;
}

#menu h3 {
    height: 47px;
    background: url(../images/menuButtons2.png) top left repeat-x;
    overflow: hidden;
    margin-bottom: 8px;
    padding-left: 20px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

#menu h3.ui-state-active {
    margin-bottom: 0;
    -webkit-margin-after: 0;
}

#menu h3.index {
    background-position: 0 0;
}

#menu h3.index:hover {
    background-image: url(../images/IndexGreenButton_mouseOver.png);
}

#menu h3.glossary {
    background-position: 0 -55px;
}

#menu h3.glossary:hover {
    background-position: 0 0;
    background-image: url(../images/GlossaryOrangeButton_mouseOver.png);
}

#menu h3.toc {
    background-position: 0 -111px;
    margin-bottom: 1px;
}

#menu h3.toc:hover {
    background-position: 0 0;
    background-image: url(../images/HalachotBlueButton_mouseOver.png);
}

#menu h3 a {
    display: block;
    width: 180px;
    text-align: left;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    padding: 16px 0;
}

#menu h3.index a {
    padding-top: 12px;
}

#menu h3 a:hover {
    text-decoration: underline;
}

#menu h3 a.caret {
    background: url(../images/caret.png) right center no-repeat;
}

#menu div {
    background-color: #fff;
    padding: 6px 15px 15px;
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.5);
}

div.toc li {
    padding-bottom: 17px;
}

div.toc li.last {
    padding-bottom: 0;
}

div.toc li a {
    font-family: Arial;
    color: #1f9fcf;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
}

div.toc li a.active {
    text-decoration: underline;
}

#menu div.minilinks {
    padding: 0;
    padding-top: 2px;
    box-shadow: none;
    font-size: 10px;
    color: #1f9fcf;
}

div.toc li div.minilinks a {
    font-size: 10px;
    color: #1f9fcf;
}

div.toc ul.shadowed {
    margin-left: 3px;
    margin-top: 3px;
    box-shadow: 1px 1px 4px #ccc;
}

div.toc li a:hover {
    text-decoration: underline;
}

div.toc li.noncat {
    background-color: #efeeef;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 7px 10px;
    margin-left: -10px;
}

div.toc li.noncat:hover {
    background-color: #eaebec;
}

div.toc li.noncat.last {
    margin-bottom: 17px;
}

div.toc li.noncat a {
    text-transform: none;
    font-size: 14px;
}

#contents {
    float: left;
    width: 615px;
    margin-left: 40px;
    padding-top: 23px;
    position: relative;
    margin-bottom: 40px;
}

.left {
    border: 1px solid transparent;
}

.right {
    float: left;
    margin-left: 40px;
    border: 1px #fff;
    min-width: 700px;
}

#contents p,
#contents div,
#contents a,
#contents li {
    font-family: Arial;
    font-size: 14px;
    line-height: 20px;
}

#contents a:hover {
    text-decoration: underline;
}

.lightBlue {
    color: #1f9fcf;
}

.blue {
    color: #1f9fcf;
}

.orange {
    color: #f15a22;
}

.green {
    color: #227E3E;
}

.red {
    color: #d70f52;
}

#contents div.search_result a {
    color: #d70f52;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

#contents div.search_result {
    padding-bottom: 20px;
}

h1,
.heading {
    font-size: 27px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: Arial;
}

h2,
.heading2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 18px;
}

h2.letter {
    font-size: 20px;
    margin: 10px 0;
    padding: 10px 0;
    display: block;
}

h3,
.heading3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

#contents h3.pt {
    padding-top: 30px;
}

#contents p {
    margin-bottom: 10px;
}

#contents ul li {
    list-style-type: disc;
    margin: 5px 0 5px 20px;
}

#contents small {
    font-size: 10px;
}

#contents ul.dotted li {
    list-style-type: disc;
    margin: 10px 0 10px 20px;
    font-size: 13px;
}

#contents ul.letters {
    background: url(../images/glossaryBack.png) repeat-x;
    padding-left: 2px;
    /*margin-right: -152px;*/
}

#contents ul.letters.green {
    background: url(../images/brachaBack.png) repeat-x;
}

#contents ul.letters li {
    list-style-type: none;
    float: left;
    margin: 0;
    height: 40px;
    color: #fff;
    width: 21px;
    overflow: hidden;
    text-align: center;
}

#contents ul.letters li a {
    display: block;
    font-size: 18px;
    margin: 0 auto;
    width: 16px;
    padding-top: 12px;
    color: #fff;
    text-decoration: none;
}

#contents ul.letters li a:hover {
    border-bottom: 2px solid #fff;
}

div.gdef {
    padding-left: 20px;
    line-height: 150%;
    margin-bottom: 40px;
    font-size: 14px;
}

.term {
    margin-left: -20px;
    font-size: 20px;
    font-family: Verdana;
    font-weight: bold;
    /*text-decoration: underline;*/
}

.marginbot {
    margin-bottom: 20px;
}

label.error {
    color: red;
    font-style: italic;
}

span.transliteration {}

#footer {
    margin: 0 auto;
    width: 100%;
    background-color: #d3f0f9;
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    color: #58595b;
    float: left;
}

.print #footer {
    clear: both;
    padding-top: 20px;
    float: none;
}

#footer a {
    text-decoration: none;
    font-size: 13px;
    color: #58595b;
}

.error {
    padding: 5px;
    border: 1px solid red;
    background-color: pink;
}

#contents strong,
#contents b {
    font-weight: bold;
}

#contents .tree li,
#contents .tree li a {
    list-style-type: none;
    font-size: 14px;
    font-family: Verdana;
    color: #1f9fcf;
    line-height: normal;
    padding-top: 0;
    margin-top: 0;
}

#contents .tree li.level0,
#contents .tree li.level0 a {
    color: #1f9fcf;
}

#contents .tree li.level0 li,
#contents .tree li.level0 li a {
    color: #1f9fcf;
}

#contents .definition {
    border-bottom: 1px dashed green;
    cursor: pointer;
    font-style: italic;
    text-decoration: none !important;
}

#contents ul>.definition {
    text-decoration: none !important;
}

#contents .tree li div {
    border: 0;
}

#contents .tree li div ul li {
    list-style-type: disc;
    margin-left: 20px;
}

#contents .tree li div ol li {
    list-style-type: decimal;
    margin-left: 20px;
}

#contents .tree li.level0 div li {
    color: #000 !important;
}

#contents .tree li div.article_body,
div.article_body {
    color: #000;
    padding-left: 27px;
    line-height: 19px;
}

div.caption {
    font-size: 10px;
    text-align: center;
}

div.captionedPhoto {
    display: inline-block;
    margin: 10px 0;
}

div.captionedFigure {
    margin: 10px auto;
    max-width: 500px;
    text-align: center;
}

#contentFooter {
    position: absolute;
    bottom: 0px;
    width: 98%;
    padding-bottom: 10px;
}

#contentFooter ul {
    background: url(../images/contactRow.png) repeat-x;
    border: 1px solid #e8e9e9;
    border-radius: 5px;
    padding: 0 10px;
}

#contentFooter ul li {
    float: left;
    padding: 0 5px;
    position: relative;
}

#contentFooter ul li.sep {
    padding: 7px 5px;
}

#contentFooter ul li a {
    color: #000;
    text-decoration: none;
    padding: 7px 0;
    display: block;
}

#contentFooter ul li ul {
    position: absolute;
    top: 27px;
    left: -9999px;
    background-color: #fdfddf;
    background-image: none;
    border: 1px solid #ebeaea;
    border-top: none;
    width: 135px;
    padding: 0;
    border-radius: 0 0 5px 5px;
}

#contentFooter ul li:hover ul {
    left: -7px;
}

#contentFooter ul li:hover ul li {
    float: none;
    width: 135px;
    border-bottom: 1px solid #ebeaea;
    padding: 0;
}

#contentFooter ul li:hover ul li a {
    padding: 5px 0;
    text-align: center;
}

#contents #pageHeader {
    font-family: Verdana;
    font-weight: bold;
    font-size: 23px;
    padding-bottom: 17px;
    color: #1f9fcf;
}

#contents strong.blue {
    color: #1f9fcf;
}

#contents a {
    color: #1f9fcf;
    word-break: break-word;
}

#contents #categoryHead {
    font-family: Verdana;
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 10px;
    color: #1f9fcf;
}

#halachaLinks {
    height: 24px;
    overflow: hidden;
    clear: both;
    margin-bottom: 29px;
}

.modalForm label {
    display: block;
    font-weight: bold;
}

.modalForm input[type=text] {
    width: 90%;
}

.modalForm textarea {
    width: 90%;
}

#contents div.intro {
    padding-bottom: 10px;
}

#contents div.intro,
#contents div.intro div,
#contents div.intro li {
    font-size: 13px;
}

#contents div.intro h3 {
    font-family: Verdana;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 0;
    color: #1f9fcf;
}

.allcaps {
    text-transform: uppercase;
}

ul.padded {
    margin-left: 20px;
}

.bioImage {
    width: 250px;
    float: left;
    padding-right: 20px;
    padding-bottom: 20px;
}

.bioImageRight {
    width: 250px;
    float: right;
    padding-left: 20px;
    padding-bottom: 20px;
}

#contents div.halacha .hilight {
    background-color: yellow;
}

#contents div.halacha .explanatory_block {
    padding-left: 30px;
}

#contents div.halacha .explained {
    line-height: 20px;
    font-size: 14px;
    padding-top: 9px;
    padding-bottom: 0;
    padding-left: 80px;
}

#contents div.halacha .explained .explained {
    padding-top: 4px;
}

#contents div.halacha .explained.note {
    padding-left: 45px;
}

#contents div.halacha ul li ul {
    margin-bottom: 0;
    padding-bottom: 0;
}

#contents div.halacha .explained.note ul {
    margin-left: 0;
}

#contents div.halacha .explained .ph_example,
#contents div.halacha .explained .ph_note,
#contents div.halacha .explained .ph_reason,
#contents div.halacha .explained .ph_situation,
#contents div.halacha .explained .ph_status,
#contents div.halacha .explained .ph_exception,
#contents div.halacha .explained .ph_wtd,
#contents div.halacha .explained .ph_question {
    display: block;
    float: left;
    margin-left: -86px;
    width: 86px;
    padding: 0;
}

#contents div.halacha .explained.note .ph_note {
    margin-left: -45px;
    width: 45px;
}

.ph_example,
.ph_note,
.ph_reason,
.ph_situation,
.ph_status,
.ph_wtd,
.ph_question,
.ph_exception,
#contents div.halacha .ph_example,
#contents div.halacha .ph_note,
#contents div.halacha .ph_reason,
#contents div.halacha .ph_situation,
#contents div.halacha .ph_status,
#contents div.halacha .ph_wtd,
#contents div.halacha .ph_question,
#contents div.halacha .ph_exception {
    display: inline-block;
    padding-right: 12px;
    padding-top: 12px;
    color: #2685ad !important;
    text-decoration: none !important;
    font-weight: normal !important;
    text-transform: uppercase;
    font-size: smaller !important;
}

#contents div.halacha {
    font-size: 14px;
    max-width: 568px;
}

#contents div.halacha i {
    font-style: italic;
}

#contents div.halacha a,
#contents div.halacha * a {
    font-size: 14px;
    line-height: 20px;
}

#contents div.halacha div,
#contents div.halacha p {
    font-size: 14px;
    line-height: 20px;
}

#contents div.halacha div.halachaHeading,
#contents div.halacha h3,
#contents div.wordView .article div.halachaHeading,
div.halachaHeading,
#contents .tree li div.halachaHeading {
    font-weight: bold;
    color: #1f9fcf;
    line-height: 20px;
    padding-top: 8px;
    padding-bottom: 11px;
    word-break: break-all;
}

#contents div.halacha ol,
#contents div.halacha ul {
    margin-left: 25px;
    margin-top: 11px;
    margin-bottom: 8px;
}

#contents div.halacha ul {
    list-style-type: disc;
}

#contents div.halacha ol {
    list-style-type: decimal;
}

#contents div.halacha ol li,
#contents div.halacha ul li {
    padding-bottom: 6px;
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 19px;
}

#contents div.halacha p,
#contents div.halacha div,
#contents div.halacha h3,
#contents div.halacha h2,
#contents div.halacha h1 {
    font-size: 14px !important;
    font-family: Arial !important;
}

h2.halachaTitle {
    color: #1f9fcf;
    font-size: 23px;
    font-weight: bold;
    font-family: Arial;
    margin-bottom: 19px;
}

#contents div.halachaButton,
#contents a.halachaButton {
    display: block;
    background: url(../images/PrintEmailNotes.png) no-repeat;
    height: 24px;
    width: 70px;
    overflow: hidden;
    float: left;
    margin-right: 7px;
}

#contents a.halachaButton span {
    display: block;
    padding-top: 24px;
}

#contents a.halachaButton:hover {
    background-image: url(../images/PrintEmailNotes_MouseOver.png);
}

#contents a.halachaButton.print {
    background-position: -1 0;
}

#contents a.halachaButton.email {
    background-position: -78px 0;
}

#contents a.halachaButton.flag {
    background-position: -155px 0;
}

#contents div.transliteration,
#contents div.translation {
    margin-top: 10px;
    line-height: 24px;
}

#contents div.gdef,
#contents p {
    line-height: 20px;
}

.allcaps {
    text-transform: uppercase;
}

.ui-button-text {
    font-size: 13px;
}

#contents div.intro a.readmore {
    font-size: 12px;
    font-weight: normal !important;
}

#contents div.wordView .h1,
#contents div.wordView .h2,
#contents div.wordView .h3,
#contents div.wordView .h4,
#contents div.wordView .h5,
#contents div.wordView .h6,
#contents div.wordView .h7 {
    color: #1f9fcf;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
}

#contents div#categoryHead {
    font-size: 22px;
    text-align: center;
    text-transform: uppercase;
    line-height: 23px;
    padding-bottom: 15px;
}

#contents div.wordView .h1 {
    padding-top: 6px;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 22px;
    padding-bottom: 15px;
}

#contents div.wordView .h2 {
    padding-top: 6px;
    font-size: 19px;
    text-transform: uppercase;
    line-height: 21px;
    padding-bottom: 14px;
}

#contents div.wordView .h3 {
    padding-top: 6px;
    font-size: 18px;
    text-transform: uppercase;
    padding-bottom: 13px;
}

#contents div.wordView .h4 {
    padding-top: 6px;
    font-size: 17px;
    text-transform: uppercase;
    line-height: 19px;
    padding-bottom: 12px;
}

#contents div.wordView .h5 {
    padding-top: 6px;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 18px;
    padding-bottom: 10px;
}

#contents div.wordView .h6 {
    padding-top: 6px;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 17px;
    padding-bottom: 9px;
}

#contents div.wordView .h7 {
    padding-top: 6px;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 16px;
    padding-bottom: 8px;
}

#contents div.wordView .h8 {
    padding-top: 6px;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 16px;
    padding-bottom: 7px;
}

#contents div.wordView .h9 {
    padding-top: 6px;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 16px;
    padding-bottom: 6px;
}

#contents div.wordView .h10 {
    padding-top: 6px;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 16px;
    padding-bottom: 5px;
}

#contents div.wordView .article_title {
    color: #1f9fcf;
    font-size: 14px;
    font-family: Arial !important;
}

#contents div.wordView .article,
#contents div.wordView .article li,
#contents div.wordView .article p,
#contents div.wordView .article div,
#contents div.wordView .article h3 {
    font-size: 14px !important;
    font-family: Arial !important;
}

#contents div.wordView .article ul {
    margin: 6px 0px 6px 24px;
}

#contents div.wordView .article ul li {
    padding-left: 0px;
}

#contents div.wordView .article {
    padding-bottom: 10px;
}

#contents div.wordView .article .explanatory_block {
    padding-left: 30px;
}

#contents div.wordView .article .explained {
    padding: 8px 0;
    padding-left: 80px;
}

#contents div.wordView .article .explained.note {
    padding-left: 45px;
}

#contents div.wordView .article .explained.note ul {
    margin-left: 0;
}

#contents div.wordView .article h3 {
    font-size: 14px;
    font-weight: bold;
    padding: 25px 0 5px;
    color: #1f9fcf;
}

#contents div.wordView .article .explained .ph_example,
#contents div.wordView .article .explained .ph_note,
#contents div.wordView .article .explained .ph_reason,
#contents div.wordView .article .explained .ph_situation,
#contents div.wordView .article .explained .ph_status,
#contents div.wordView .article .explained .ph_exception,
#contents div.wordView .article .explained .ph_wtd,
#contents div.wordView .article .explained .ph_question {
    display: block;
    float: left;
    margin-left: -80px;
    width: 80px;
    padding: 0;
}

#contents div.wordView .article .explained.note .ph_note {
    margin-left: -45px;
    width: 45px;
}

.ph_example,
.ph_note,
.ph_reason,
.ph_situation,
.ph_status,
.ph_wtd,
.ph_question,
.ph_exception,
#contents div.wordView .article .ph_example,
#contents div.wordView .article .ph_note,
#contents div.wordView .article .ph_reason,
#contents div.wordView .article .ph_situation,
#contents div.wordView .article .ph_status,
#contents div.wordView .article .ph_wtd,
#contents div.wordView .article .ph_question,
#contents div.wordView .article .ph_exception {
    display: inline-block;
    padding-right: 12px;
    padding-top: 12px;
    color: #2685ad !important;
    text-decoration: none !important;
    font-weight: normal !important;
    text-transform: uppercase;
    font-size: smaller !important;
}

#contents div.wordView .article ol,
#contents div.wordView .article ul {
    margin-left: 25px;
    margin-top: 11px;
    margin-bottom: 8px;
}

#contents div.wordView .article ul {
    list-style-type: disc;
}

#contents div.wordView .article ol {
    list-style-type: decimal;
}

#contents div.wordView .article ol li,
#contents div.wordView .article ul li {
    padding-bottom: 6px;
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 19px;
}

#contents div.halachLinkBoxHead {
    margin-top: 20px;
    background-color: #e5f2fb;
    border-radius: 9px 9px 0 0;
    font-family: Arial;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    padding: 9px 0;
    width: 198px;
    text-align: center;
    color: #115298;
    border-bottom: 1px solid #fff;
}

#contents div.halachLinkBox {
    display: inline-block;
    margin-top: 20px;
    background-color: #f1f1f1;
    border-radius: 9px;
    max-width: 566px;
}

#contents div.halachLinkBox div {
    font-family: Arial;
    color: #1e80a9;
    font-size: 13px;
    padding: 4px 13px 4px 33px;
    background: url(../images/halacha-links-alpha.png) 7px top no-repeat #f1f1f1;
    border-bottom: 1px solid #fff;
}

#contents div.halachLinkBox div:hover {
    background-color: #eaebec;
}

#contents div.halachLinkBox div strong a {
    color: #1e80a9;
    text-decoration: none;
}

#contents div.halachLinkBox div:first-child {
    border-radius: 9px 9px 0 0;
}

#contents div.halachLinkBox div.prev {
    background-position: 7px 10px;
}

#contents div.halachLinkBox div.next {
    background-position: 7px -17px;
}

#contents div.halachLinkBox div.cat {
    border-radius: 0 0 9px 9px;
    background-position: 7px -40px;
}

#contents div.halachLinkBox div.top {
    background-position: 7px -68px;
}

#contents div.halachLinkBox div.quest {
    background-position: 7px -92px;
}

#contents div.halachLinkBox div a {
    font-family: Arial;
    font-size: 13px;
    color: #1e80a9;
}

#contents div.halachLinkBox div a:hover {
    text-decoration: underline;
}

.innerDialog {
    background-color: #ece8e8;
    border-radius: 4px;
    padding: 15px;
    margin: 10px;
}

.modalForm label {
    font-family: Arial;
    font-size: 14px;
    color: #808080;
    font-weight: normal;
}

.modalForm input[type=text],
.modalForm textarea {
    border-radius: 4px;
    border: 1px solid #ccc;
}

.modalForm input[type=text] {
    height: 31px;
    margin-bottom: 10px;
}

.dialogTitle {
    background: url(../images/dialog-title.png) no-repeat;
    height: 41px;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 10px;
}

.dialogTitle div {
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    font-family: Arial;
    padding: 10px 0 0 15px;
}

body #dialog-form,
body .dialog-form {
    display: none;
}

#quizBox {
    margin: 20px auto 0;
    width: 580px;
    height: 250px;
    overflow: hidden;
    background: url(../images/quizBack.png) no-repeat;
    clear: both;
}

.quizImageBox {
    width: 248px;
    float: left;
    margin-left: 14px;
}

.quizImageBox.first {
    margin-left: 55px;
}

.quizImageHead {
    text-align: center;
    padding-top: 10px;
    height: 28px;
}

.quizImage {
    border: 1px solid #ababab;
    height: 175px;
    cursor: pointer;
}

.quizImage img {
    height: 175px;
    width: 248px;
}

.quizCaption {
    padding-top: 5px;
    text-align: center;
}

.quizPopup {
    width: 530px;
    height: 409px;
    overflow: hidden;
    background: url(../images/quizPopup.png) no-repeat;
}

.quizPopupBox {
    padding-left: 58px;
}

.quizPopupImage {
    margin-top: 10px;
    width: 457px;
    height: 327px;
    border: 1px solid #ababab;
}

.quizPopupImage img {
    width: 457px;
    height: 327px;
}

.quizPopupQuestionBox {
    margin-top: 10px;
    width: 457px;
    border: 1px solid #ababab;
    background-color: #fff;
}

.quizPopupQuestion {
    padding: 5px 10px 0;
}

.quizPopupAnswer {
    padding: 5px 10px;
}

.qpaLetter {
    color: #107bab;
    font-weight: bold;
}

#contents .callout {
    border: 1px solid #ccc;
    font-size: 12px !important;
    padding: 5px;
    margin-bottom: 10px;
}

#contents .callout p {
    font-size: 12px !important;
}

.formBox {
    padding: 18px 21px;
    background-color: #eeeeef;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    width: 50%;
}

#contents .formBox .formRow {
    padding-bottom: 10px;
    color: #808080;
    font-size: 14px;
    font-family: Arial;
}

.formBox label {
    display: block;
    color: #808080;
    font-size: 14px;
    font-family: Arial;
}

.formBox input[type=text],
.formBox input[type=password] {
    padding: 5px;
}

.formBox input[type=text],
.formBox input[type=password],
.formBox select,
.formBox textarea {
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    width: 100%
}

#contents div.search_result a:hover {
    text-decoration: underline;
}

#contents .phtable {
    border-spacing: 5px;
    border-collapse: separate;
}

#contents .phtable td {
    border: 1px solid #1f9fcf;
    padding: 3px;
}

#contents .tree li strong.read a {
    font-weight: normal;
}

.page_loding {
    width: 100%;
    height: 100vh;
    opacity: 1;
    background: rgba(0,0,0,.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.spinner-border{
    height: 5rem;
    width: 5rem;
}
.search-result {
    margin-bottom: 25px;
}

#contents .search-result small {
    font-size: 11px;
}

.form-group.has-error label {
    color: red;
    font-weight: bold;
}

.form-group.has-error input, .form-group.has-error textarea {
    border: 1px solid red;
}

@media all and (max-width: 768px)
{
    ul, ol{margin: 10px;}
    #menu h3.index a {    padding-top: 20px;}
    #menu h3 a{width: 95%;}
    #banner{    height: 95px;}
    .nav-link:focus, .nav-link:hover, .current-menu-item .nav-link{color:#fff !important;}
    #contents .tree li div img,
    div.captionedPhoto img{    max-width: 100%; width:100%}

}

#contents ul.pagination > li {
    list-style-type: none;
    margin: 0;
}

#contents ul.pagination > li > span {
    line-height: 20px;
}
