
@import url('https://fonts.googleapis.com/css2?family=Anek+Tamil&family=Noto+Sans+Tamil&display=swap');

* {
    box-sizing: border-box;
}

/*Ask chatGPT this: how can I organize it for light and dark themes? giving the following few blocks of code. it gives amazing solutions.*/
:root {
  --bayan-color: red;
}

.post-title-by-cat{
    margin-bottom: 15px;
}

.post-title-secondary{
    margin-bottom: 15px;
    margin-top: 5px;
    font-size: 120%;
}

.bayan-sub-heading {
  color: var(--bayan-color); 
  margin-top: 12px; 
  margin-bottom: 10px; 
  font-size: 104%;
  font-weight: 600;
}

#categories-2{
    font-family: 'Anek Tamil';
    font-size: 1.2em;
}

.pt-cv-title  {
    font-family: 'Anek Tamil' !important;
}


#wgs_widget-2  {
    font-family: 'Anek Tamil';
    font-weight: 700;
}

.pt-cv-heading{
    font-family: 'Anek Tamil';
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px 0px;
}

.btnfarooks {
  width: 100%;
  border-radius: 9px;
  padding: 10px 5px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin: 5px;
}


#header-third .search-submit {
    padding: 5px;
    margin-left: -30px;
    border-radius: 15px;
    background: #fff;
    color: #333;
}

#header-third .search-field {
    width: 280px;
    border-radius: 12px;
}

#header-third .searchbar-title {
    
    font-family: 'Anek Tamil';
    font-weight: 700;
    font-size: 24px;
    margin: 0px 0px 0px 0px;
}

.post-title-single {
    
    font-size: 22px;
    font-family: 'Anek Tamil';
    font-weight: 600;
    margin: 0px -15px 15px -25px;
    padding: 20px 90px 12px 30px;
    background: #bfe6ff;
}


#header-third {
    box-sizing: border-box;
    
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
    
    padding: 10px 18px;
    margin: 0px 0px 0px 0px !important;
    overflow: hidden;
}

.bayan-title {
    clear: both;
    margin: 10px 0px;
    font-size: 2em;
    font-weight: 600;
    line-height: 2;
}


.bayan-title-container {
    background: #cee4ae;
    width: 100%;
}


/* ======================below copied from https://tamil.quranandhadis.com ==============================   */

.every_hadis {
    
    background: #b7e7b7;
    padding: 15px;
    border-radius: 15px;

}

#content, #sidebar {
    box-sizing: border-box; /* Include padding and border in the width calculation */
    margin-top: 0px;
}

#sidebar {
    margin-top: 0px !important;
}

.quality-label{
    	color: #0000c3;
}

.content-list-quality {
    
	display: inline-block;
	color: black;
	font-weight: 800;
	background: #e6f7ed;
	padding: 10px;
	border-radius: 10px;
}

.sahih {background: #e6f7ed;}
.layeef {background: #ffcbcb;}
.hasan {background: #c0d8ff;}
.review {background: #e3e3e3;}
.other {background: #e3e3e3;}

/* little dark green: #affcce, light green: #e6f7ed*/



.hadis_content {
    
    font-family: 'al_qalam_quranmajeed';
    font-size: 22px !important;
    line-height: 200%;
    background: #e6f7ed;
    padding: 6px;
    border-radius: 15px;
}

.tamil-text {
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 18px !important;
}


.rpwe-block a {
  display: inline !important;
  font-size: 16px;
  text-decoration: none;
}

.hadis_ravi
{
    color: #009900; 
    font-size: 18pt;
    line-height: 170%; 
    padding-right: 5px;
    text-align: right;
}

.hadis_main
{
    color: #000000; 
    font-size: 18pt;
    line-height: 170%; 
    padding-right: 5px;
    text-align: right;
}

.hadis_baab
{
    color: #940d33; 
    font-size: 18pt;
    line-height: 170%; 
    padding-right: 5px;
    text-align: right;
}

.hadis_footnote
{
    color: #5066ad; 
    font-size: 18pt;
    line-height: 170%; 
    padding-right: 5px;
    text-align: right;
}


.hadis_numbers
{
    color: black; 
    font-size: 10pt;
    padding-left: 5px;
    text-align: left;
}


.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted #bdbdbd;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #0595f0;
  color: #fff;
  text-align: center;
  font-size: 8pt;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}



.e3tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted #bdbdbd; /* Underline to indicate interactivity */
}

.e3tooltip .e3tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: #424242; 
    color: #fff;
    text-align: center;
    font-size: 10pt;
    width: 320px;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 120%;
    left: 80%;
    margin-left: -60px;
    opacity: 0; /* Start with tooltip invisible */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth transitions for appearance and transform */
    transform: translateY(10px); /* Start slightly lower to give a 'rising' effect */
}

.e3tooltip:hover .e3tooltiptext {
    visibility: visible;
    opacity: 1; /* Make tooltip fully visible on hover */
    transform: translateY(0px); /* Return to original position */
}


.post-header {
    display: flex;
    justify-content: space-between; /* Aligns children (title and navigation) on opposite ends */
    align-items: center; /* Keeps items vertically centered */
}


body.custom-background {
    background-color: white; /*   #e5e5e5; */
}

#container{
  padding: 40px;
  width: 100% !important;
  max-width: 100% !important;
}

#content, #content-full {
    width: 70%;
    padding: 0px 15px !important;
}

.post-header  {
    margin: -15px -100px -10px -30px;  
    padding: 15px 90px 0px 30px;
    background: #cee4ae;
}

#sidebar {
    background: #ededed; /* #d4d4d4; */ 
	padding: 10px 0px 10px 10px;
	max-width: 30%;
    overflow: hidden;
}



#btngohadis{
    width: 80px;   
}


#wgs_widget-2 {
    margin-top: 20px;
}

table.gsc-search-box, table.gsc-search-box th, table.gsc-search-box td {
  padding: 0px;
}

table.gsc-search-box td {
    vertical-align: top !important;
}

.wgs_wrapper .gsc-input-box .gsib_a input {
    height: 30px !important;
}

.wgs_wrapper .gsc-input-box td {
    height: 30px !important;
}

button.gsc-search-button-v2 {
    height: 18px !important;
    border-radius: 8px;
}

/* for mobile view */
@media (max-width: 1150px) {

    #content, #content-full {
        width: auto;
        padding: 20px 25px 10px 10px;
    }
    
    #header-third .searchbar-title {
        margin-bottom: 10px;
    }
    
    .post-header {
        display: block;
        margin: -20px -25px 0px -30px;
        padding: 15px 30px 10px 30px;
    }
    
    #sidebar {
    	padding: 10px 0px 10px 10px;
    	/* width: auto;  */
    	width: 100%;
    	max-width: 100%;
    }
    
    #btngohadis{
        width: 50px;   
    }
}

 