body{
	background: url('daftile.gif');
	margin: 0px auto !important;
}
input, select, button{
	cursor: pointer;
	padding: 4px 10px;
	border-radius: 5px;
	border: 1px solid #ccc;
	font-size: 16px;
}
input:hover, button:hover{
	box-shadow: 1px 1px 1px #ccc;
}
.chumash_view #wrapper {
	max-width: 1000px;
	margin: auto;
}
.chumash_view #header{
	position: relative;
}

.chumash_view #header .ask {
    position: absolute;
    right: 0;
    margin-top: -120px;
}
.parah_sp {
	/*margin-inline: 38px;*/
	margin-right: 38px;
		margin-left: 15px;
}

#header .title {
    color: #000080;
    font-weight: bold;
    text-transform: uppercase;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
	font-size: 1.8em;
}
#header .title span{
	font-size: 0.7em;
}
.torah_picture{
	display: block;
	margin: auto;
	height: 166px;
}
.chumash_view #wrapper{
	position: relative;
}
.chumash_view #wrapper,
.chumash_view .question{
	background-color: transparent;
	width: auto;
}
.chumash_view .answer{
	background-color: rgb(238 238 238 / 57%);
	border-radius: 7px;
}
.rashi_separator.rashi_separator {
    margin: 18px auto;
    border-bottom: 1px solid gray;
}
.rashisection {
	background-color: rgb(200 234 247 / 0.5);
	padding: 1px 0 10px; /* 1px top necessary for the H3's top margin to work */
    margin: 10px 0;
	border-radius: 7px;
}
.rashisection h3 {
	padding: 0 10px;
}
.chumash_view .rashisection .answer {
	background: rgb(191 191 191 / 20%);
	margin: 0em 0 1em;
}
#content {
	text-align:justify;
}
div.hagadahques {
    margin-left: 15px !important;
    margin-right: 48px !important;
}

.chumash_view #global_buttons {
margin-top:1em;
}

.chumash_view {
font-family:Arial,sans-serif;
line-height:150%;
font-style:normal;
font-weight:normal;
color:#000000;
margin:0 3px 0 3px;
}

.chumash_view .indexlink {
margin-top: 1.5em !important;
}


.chumash_view #nav .title{
padding-top: 0;
font-family:Arial,sans-serif;
line-height:27px;
}

.nm2 {
color:#330099;
font-weight:bold;
}

.ucase {
text-transform: uppercase;
}

.pasuk /*This is the text saying the number of the Pasuk */ {
    text-transform: lowercase;
    font-size: 26px;
}

.chumash_view #hpasuk {
	font-family:Arial,sans-serif;
	direction: rtl;
	text-align:center;
	font-size:1.5em;
	font-weight:bold;
	margin:5px 0px 25px 0px;
	color:#000099;
	line-height: 27px;
}

.chumash_view #hpasuk a {
    text-decoration: none;
    border-bottom: 2px solid;
    padding-bottom: 2px;
    line-height: 125%;
	direction: rtl;
}

.chumash_view #epasuk {
	font-family:Arial,sans-serif;
	font-size:1.3em;
	margin-bottom:2em;
	color:#000099;
	direction: ltr;
	padding: 0px 2px 0px 2px;
}

.chumash_view #epasuk a {
    text-decoration: none;
    border-bottom: 2px solid;
    padding-bottom: 1px;
    line-height: 130%;
}

.chumash_view #nav{
margin: 1.5em 0;
}

.button_set {
margin:.4em 2em 0 0;
}

.rtl .button_set {
	margin:.4em 0 0 2em;
}

.chumash_view .shem1, .chumash_view .shem2, .chumash_view .shem3 {
color:#0099ff;
}

.chumash_view .question {
text-indent:-4.1em; /* negative # moves margin of first line of 1. 2. paragraphs to the left, to match with following lines */
margin:0 0 .4em .4em; /* last number indents left entire 1., 2. paragraphs, first lines and following lines */
color:black;
min-height: 0;
padding: 0 .6em 0 1.6em;
}
.chumash_view .question.rtl {
	text-indent:-4em; /* negative # moves margin of first line of 1. 2. paragraphs to the left, to match with following lines */
	margin:0 1.5em .4em 0; /* last number indents left entire 1., 2. paragraphs, first lines and following lines */
	/* padding: 0 1.6em 0 6em; */
}
.chumash_view .question:after {
    content: ' ';
    display: block;
    clear: both;
}

.chumash_view .question .nm {
width:1.5em;  /* space between number and text; less than 1.5 doesn't allow enough room after 2-digit numbered lines */
color:#000099;
margin:0 3px 0 2em;
}
.chumash_view .question.rtl .nm {
	margin: 0 2em 0 3px;
}

.chumash_view .answer {
	display: block;
	margin: 0em 0 1em;
	width: auto;
	border-radius: 7px;
}

.chumash_view .answer.rtl {
	display: block;
}

/*.chumash_view .answer1 {
/*text-indent:-2em; */ /* negative # moves margin of first line of 1. 2. paragraphs to the left, to match with following lines */
/*margin:0 0 1em 2em; */ /* last number indents left entire 1., 2. paragraphs, first lines and following lines */
/*padding-right:.6em;/*
}*/
.chumash_view .answer1 {
    text-indent: -0.8em;
    display: flex;
    flex-direction: column;
    padding-right: .6em;
}

.chumash_view .answer.rtl .answer1 {
	text-indent:-1.8em; /* negative # moves margin of first line of 1. 2. paragraphs to the left, to match with following lines */
	margin:0  2em 1em 0; /* last number indents left entire 1., 2. paragraphs, first lines and following lines */
}

.chumash_view .answer1 .nm {
	width:1.5em;  /* space between number and text; less than 1.5 doesn't allow enough room after 2-digit numbered lines */
	color:#000099;
}

.chumash_view .mefaresh {
	font-weight:normal;
	color:#3333cc;
}

.notes{
/* border-top: 1px solid gray; */
font-size: smaller;
line-height:125%;
text-indent:-1em; /* negative # moves margin of first line of 1. 2. paragraphs to the left, to match with following lines */
margin:0 0 .3em 2em; /* last number indents left entire 1., 2. paragraphs, first lines and following lines */
}

.notes hr{
width: 30%;
margin: 0;
}

.note1 {
padding: 0 .6em;
text-indent:-2.4em; /* negative # moves margin of first line of 1. 2. paragraphs to the left, to match with following lines */
margin:0 0 1em .9em; /* last number indents left entire 1., 2. paragraphs, first lines and following lines */
/* margin-bottom: 0em;*/
}

.answer.rtl .note1 {
padding: 0 .6em;
text-indent:-2.4em; /* negative # moves margin of first line of 1. 2. paragraphs to the left, to match with following lines */
margin:0 1.8em 1em 0; /* last number indents left entire 1., 2. paragraphs, first lines and following lines */
/* margin-bottom: 0em;*/
}

/* .chumash_view .answer1 + .answer1, .chumash_view .notes + .answer1{border-top: 2px solid gray; padding-top: 8px;} */

html[dir="rtl"] body{
	direction: rtl;
}

html[dir="rtl"] #nav > * {
   float: right;
}

html[dir="rtl"] .nm, .chumash_view .rtl .nm{
text-align: left;
}

.chumash_view .rtl{
	direction: rtl;
}

.notes hr{
width: 30%;
margin: 0;
}

.button_set button {
    float: left;
}

.rtl .button_set button,
html[dir="rtl"] .button_set button {
    float: right;
}
.question > p,
.answer1 > p,
.note1 > p{
    margin: 0;
    display: inline;
}
.selected {
	background: #ccffff;
}
.usersubmission{
	text-decoration: none;
	color: white;
	background: #2e6fc0;
	display: inline-block;
	width: 20px;
	height: 20px;
	font-size: 16px;
	text-align: center;
	border-radius: 50%;
	text-indent: 0;
	line-height: 20px;
}
.usersubmission:hover{
	background: #5ba0f7;
}
.chumash_view #logoblock, .chumash_view #logoblockeng {
	float: none;
	margin: 0 0 10px 0;
	width: auto;
}
#logoimg, #logoimgeng {
	width: 460px;
	height: auto !important;
	max-width: 100%;
}
#kolleldesc{font-style: italic; font-size: 18px; font-family: Times New Roman, Arial, Helvetica;}
.chumash_view #searchforms form{
	margin-top: 1.4em;
}

.chumash_view #tohebrew,
.chumash_view #toenglish {
	position: absolute;
    z-index: 9;
}

.chumash_view #tohebrew img,
.chumash_view #toenglish img{
	max-width: 12vw;
}

.chumash_view #tohebrew {
	left: 0;
}
.chumash_view #toenglish {
	right: 0;
}
.chumashfooter{
	text-align: center;
	padding-top: 20px;
	color: #e29a0b;
	margin: 0 20px 10px;
}
#dafhabait a,
.chumashfooter a{
	font-family: arial;
	font-size: 16px;
	line-height: normal;
	text-decoration: none;
	display: inline-block;
	padding: 0 4px;
	color: #337ab7;
}
#footer_dedication{
	margin-bottom: 30px;
	text-align: center;
}
#footer_dedication h3{
	margin-bottom: 0;
}
#footer_dedication h4{
	margin-top: 0;
}
#footer_dedication h3,
#footer_dedication h4{
	font-weight: normal;
}
#footer_dedication{
	margin-bottom: 30px;
}
#footer_dedication h3{
	margin-bottom: 5px;
}
#footer_dedication h4,
#footer_dedication h4 a{
	margin: 0;
	color: #996600;
}
#footer_dedication h3,
#footer_dedication h4{
	font-weight: normal;
	line-height: 120%;
	margin-bottom: 5px;
}
#footer_dedication h4 a{
	text-decoration: none;
}
#footer_dedication h4 br{
	display: none;
}
@media(max-width: 999px) {
	#footer_dedication h3{
		font-size: 17px;
	}
	#footer_dedication h4{
		font-size: 14px;
	}
	#footer_dedication h4 br{
		display: inline;
	}
}
#mytable {
    border-top: 1px solid #000;
}

.legend {
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}
@media only screen and (max-width: 999px){
ul.topnav {
    display: block !important;
        padding: 0px;
}
.topnav > li {
    width: 100% !important;

}
.topnav ul li {
    padding: 5px !important;
    width: 100% !important;
}

}
@media only screen and (max-width: 600px){
ul.topnav {
    display: block !important;
}
div#mytable{
        overflow-x: scroll;
        width: 100%;
    }

.topnav ul li > span, .topnav ul li > a > span {
    width: 100%;
}
html[dir=ltr] .topnav ul li span:last-child {
    text-align: center;
}
.topnav ul li {
    width:100% !important;
}
ul.topnav {
    padding: 0px;
}
}
@media (min-width: 999px) {
    .topnav ul {
        z-index: 9;
        left: 0px !important;
    }
	div.hagadahques {
		width:800px;
	}
}
@media (max-width: 420px) {
    .topnav ul li {
    width: 100% !important;
}
}

p.addhtext {
	text-align: center;
	font-size: large;
	font-weight: 600;
 }
 .position__{
	position: relative;
	top: -5rem;
 }