/*
File dedication.css from 14 January 2019
Layout of dedication text in main.php, new_daflinks.php and new_gemara_picker.php
and associated text in vicinity of the dedication.
*/

.rtl { direction: rtl; }
.ltr { direction: ltr; }
.panel-heb { direction: rtl; }
.heb-blatt { direction: rtl; }
.daf-blatt { font-size:18px; unicode-bidi: embed; }

/*Text before Icon Panel1 in main.php
conditional display if $gemara['gemara_text1'] is not empty */
.gemara_text1 {
    text-align:center;
    margin-top:15px;
    margin-bottom:5px;
    font-size:16px;
    color:blue;
    font-weight:bold;
    text-transform:uppercase;
}
/*Text before Icon Panel1 in main.php
conditional display if $gemara['gemara_text2'] is not empty */
.gemara_text2 {
    text-align:center;
    margin:10px 0 20px 0;
    font-size:16px;
    color:blue;
    font-weight:bold;
}
/*Text after Icon Panel1 in main.php
conditional display if $gemara['gemara_text3'] is not empty */
.gemara_text3 {
    text-align:center;
    margin-bottom:5px;
    margin-top:15px;
    font-size:16px;
    color:black;
    font-weight:normal;
}

/* copied from gemara.css for dedication */
.dedicationgemara {
    text-align: center;
    color: #808000;
    font-family: Arial, sans-serif;
    font-weight: normal;
    line-height: 100%;
    margin: 10px auto 1px auto;
    max-width: 90%;
    display:block;
}

.masechenamegemara, .masechenamegemara-heb {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
    color: #0033FF;
    display: block;
}
.masechenamegemara { font-size: 21px; }

.specialsectiongemara {   /*Format controlled by ddc-undermaseches*/
    max-width: 90%;
    margin: 0 auto 0 auto;
    text-align: center; 
} 

.dafdedication {
    text-align: center;
    font-style: italic;
    font-size: 16px;
    color: #808000;
    margin: 10px 0 10px 0;
}

.dafdedicationdark {
	color: #0033ffj;
	}


/*text before Maseches name */
.ddc-larger { font-size: 17.5px; font-style: italic; line-height: 120%; display: block; margin-bottom: 5px;  color: #808000;}
.ddc-smaller { font-size: 15px; font-style: italic; line-height: 120%;  display: block; margin-bottom: 5px;  color: #808000;}
.ddc-blue { font-size: 14px; font-style: normal; line-height: 100%; color: navy;  display: block; margin-top: 12px; margin-bottom: 5px; }
.emph { font-style: normal; font-weight: bold; }
.emph-it { font-style: italic; font-weight: bold; }
.mini { font-size: 12px; }
.ddc-larger .heb { font-size: 24px; font-family: David, Arial, sas-serif; direction: rtl;  color: #808000;}
.ddc-smaller .heb { font-size: 18px; font-family: David, Arial, sans-serif; direction: rtl;  color: #808000;}
/*text before Maseches name - Hebrew section */
.ddcheb-larger { font-size: 24px; line-height:30px; font-family: David, Arial, sans-serif; direction: rtl; font-style: italic; display: block; margin-bottom: 3px;  color: #808000; line-height: 120%;}
.ddcheb-smaller { font-size: 18px; line-height:22px; font-family: David, Arial, sans-serif; direction: rtl; font-style: italic; display: block;  color: #808000; line-height: 120%;}
.miniheb { font-size: 14px; font-style: italic;}
/*text after Maseches name */
.ddc-undermaseches {  font-size: 14px; font-style: normal; line-height: 120%;  color: #808000;  display: block; margin-top: 12px; margin-bottom: 14px; text-transform: none; color: #808000;}
.ddcheb-undermaseches {  font-size: 20px; font-style: normal; line-height: 120%;  color: #808000;  display: block; margin-top: 12px; margin-bottom: 14px; text-transform: none;  color: #808000;}

/* A <br> in the dedication will be applied in small devices */
@media screen and (min-width: 767px) {
    .dedicationgemara br { display: none; }
}

/* These classes make DafLib::date_line_mobile() responsive*/
@media screen and (max-width:578px) {
    .dlhyp { display: none; }
    .dlbrk { display: inline; }
}
@media screen and (min-width:579px) {
    .dlhyp { display: inline; }
    .dlbrk { display: none; }
}

