
[v-cloak] {
    display: none;
}

html, body {
    margin: 0;
    padding: 0;
    /*box-sizing: border-box;*/
}

div, p, h1, h2 {
    margin: 0;
    padding: 0;
}

#header {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 650px;
    overflow: auto;
    text-align: center;
    padding-right: 40px;
}

#settings-btn {
    margin: 5px;
    display: inline-block;
    float: left;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    padding: 4px 4px;
    background-color: ivory;
    border-width: 1px;
    border-color: black;
    border-style: solid;
    border-radius: 2px;
    box-shadow: 1px 1px 1px gray;
    cursor: pointer;
}

#settings-btn:hover {
    background-color: LightGoldenRodYellow ;
    box-shadow: 2px 2px 1px gray;
}

#settings-btn:active {
    background-color: darkgray;
    box-shadow: 1px 1px 2px gray;
}

#title {
    display: inline-block;
    margin-top: 5px;
    font-family: Arial, sans-serif;
    font-size: 28px;
}

#settings-dialog {
    display: none;
    font-size: 16px;
}

#chutz-laaretz-option-div, #english-option-div {
    display: block;
}

#setting-done-btn {
    display: block;
    margin: 0 auto;
    font-size: 20px;
}

.ui-dialog-title {
    text-align: center;
}

#btn-current-parsha {
    display: none;
}

#temp-notice {
    max-width: 400px;
    text-align: center;
    border: black 1px solid;
    margin: 5px auto;
    box-sizing: border-box;
    padding: 5px;
    background-color: #c9eaf9;
    border-radius: 3px;
    font-family: 'Helvetica', sans-serif;
    font-size: 14px;
}

#chumash-targum-toggle-div {
    margin-top: 5px;
    /*max-width: 650%;*/
    text-align: center;
}

#chumash-targum-toggle-div > div:not(.toggle-select):hover {
    background-color: lightcyan;
}

#targum-toggle, #chumash-toggle {
    display: inline-block;
    padding: 4px 8px;
    border-color: blue;
    border-width: 1px;
    border-style: solid;
    font-size: 28px;
    cursor: pointer;
}

#targum-toggle {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.toggle-select {
    background-color: blue;
    color: white;
}

#chumash-toggle {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
#nav {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 2px;
    box-sizing: border-box;
    overflow: auto;
    text-align:center;
    border-top: solid 1px lightgrey;
    border-bottom: solid 1px lightgrey;
}

.top-buttons {
    width: 42px;
    height: 42px;
    font-size: inherit;
}

.top-buttons img {
    vertical-align: middle;
}

#navigation-arrows{
    display: inline-block;
    vertical-align: middle;
    width: 90px;
    float: left;
}

#font-size-div {
    display: inline-block;
    float: right;
    width: 90px;
    vertical-align: middle;
}

#parsha-title {
    margin-top: 12px;
    font-family:  "Times New Roman", serif;
    font-size: 22px;
}

#aliyah-title {
    text-align: center;
}

#contact-dialog {
    text-align: center;
}

#contact-message-text {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 90%;
    height: 150px;
    font-size: 16px;
    font-family: Helvetica, Arial, sans-serif;
    border: 1px solid gray;
    border-radius: 2px;
}

#contact-email-div {
    margin-bottom: 10px;
}

#contact-email-text {
    direction: ltr;
    display: block;
    font-size: 16px;
    font-family: Helvetica, Arial, sans-serif;
    border: 1px solid gray;
    border-radius: 2px;
    margin: 4px auto 0 auto;
}

#contact-submit-btn {
    font-size: 20px;
    display: block;
    margin: 0 auto;
}

#main-div {
    /*width: 100%;*/
    color: #222222;
    box-sizing: border-box;
    /*max-height: 85%;*/
    max-width: 650px;
    margin: 0 auto;
    padding: 6px 16px 10px 16px;
    font-size: 26px;
    line-height: 30px;
    text-align: justify;
    direction: rtl;
    font-family:  "Times New Roman", serif;
    letter-spacing: .6px;
}

.perekTitle {
    font-weight: bold;
}

.possuk-div {
    display: inline;
}

.targumSpan {
    font-family: "Times New Roman", serif;
    color: MidnightBlue;
    letter-spacing: -0.01em;
    display: inline;
}

p.targumSpan {
    margin-top: 2px;
}

.rashiHeader {
    text-align: right;
    cursor: pointer;
    background-color: whitesmoke;
    border: 1px solid silver  ;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;

}

.rashi-header-toggle-closed {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

.rashiSpan {
    box-sizing: border-box;
    margin-top: 4px;
    margin-bottom: 3px;
    letter-spacing: -0.01em;
    font-family: "Times New Roman", serif;
}

.rashi-toggle-icon {
    margin-right: 5px;
    margin-left: 8px;
    vertical-align: middle;
}

.rashi-toggle-content {
    border-left:1px solid silver;
    border-right: 1px solid silver;
    border-bottom: 1px solid silver;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    padding: 4px 8px;
}

.rashiHR {
    border-top: 1px solid gray;
    border-bottom-width: 0;
    width: 20%;
    margin: 5px auto;
}

.aliyah-name-text {
    text-align: center;
    font-size: 30px;
    margin-top: 10px;
}

.possuk-number {
    font-size: 75%;
    vertical-align: middle;
    padding-left: 3px;
    padding-right: 3px;
    margin-left: 8px;
    border-color: black;
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
    box-shadow: 1px 1px 1px gray;
    cursor: pointer;
}

.possuk-number:hover {
    /*background-color: LightGoldenRodYellow ;*/
    box-shadow: 2px 2px 1px gray;
}

.possuk-number:active {
    background-color: darkgray;
    box-shadow: 1px 1px 2px gray;
}

.possuk-number-bookmark {
    background-color: yellow;
}

#footer {
    font-family: Arial, sans-serif;
    max-width: 650px;
    margin: 0 auto 10px auto;
    text-align: center;
    font-size: 20px;
}

#settings-link, #contact-link{
    display: inline-block;
    margin: 0 8px;
}

#back-to-top-btn {
    display: none;
    font-size: 20px;
    margin-bottom: 10px;
}

#next-aliyah-btn {
    display: block;
    margin-bottom: 15px;
}

#return-to-first-aliyah-btn {
    display: block;
    margin-bottom: 15px;
    font-size: 25px;
    font-family: Arial, sans-serif;
    color: blue;
}

.btn-disabled {
    background-color: #e0e0e0;
    background-image: none;
    opacity: .55;
}

button {
    margin: 5px auto;
    padding:2px 6px;
    font-size: 28px;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
    background-image: linear-gradient(to bottom,#fff 0,#e0e0e0 100%);
    text-shadow: 0 1px 0 #fff;
    background-repeat: repeat-x;
    background-color: #fff;
    box-sizing: border-box;
    cursor: pointer;
}

button:hover {
    background-color: #e0e0e0;
    background-position: 0 -15px;
    color: #333;
    border-color: #adadad;
}

button:focus {
    outline-offset: -2px;
    background-color: #e0e0e0;
    background-position: 0 -15px;
}



.dialog-box {
    z-index: 1;
    box-sizing: border-box;
    position: absolute;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
    background-color: ivory;
    border-radius: 2px;
    top: 10%;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 35px 10px 10px 10px;
    border: 2px solid darkgrey;
    width: 280px;
    height: auto;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.dialog-close-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    padding: 1px;
    margin: 0;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 30px;
    cursor: pointer;
}

.dialog-close-btn:hover {
    color: black;
    text-shadow: 0 0 1px gray;
}

#credits {
    font-size: 12px;
    margin: 6px 0;
}

#settings-dialog2 {
    /*display: none;*/
}