:root,[data-bs-theme="light"] {
    --dg-card-hover-bg-color: #bfddff;
    --dg-card-hover-shadow: #777;

}

[data-bs-theme="dark"] {
    --dg-card-hover-bg-color: #000;
    --dg-card-hover-shadow: none;
}
/****************** search form *****************/
#bigSearchForm {
    margin-top: 30px;
    border: solid rgb(1 50 130 / 50%) 4px;
    border-radius: 2px;
    font-size: 14px;
    font-family: IRANSans, tahoma, serif;
}
:lang(ur) #bigSearchForm{
    font-family: 'NotoNastaliqUrdu', tahoma, serif;
}
#bigSearchForm .input-group .search-input {
    border-radius: 0;
}
#bigSearchForm .input-group .dropdown-toggle {
    background-color: var(--bs-body-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
}
#bigSearchForm .input-group .dropdown-toggle:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25););
}
#bigSearchForm .input-group button.search-btn {
    background-color: #003972;
    border-color: #3467ba;
    color: #ffffff;
    border-radius: 0;
    width: 46px;
    padding: 0;
}
#bigSearchForm .form-control::-moz-placeholder {
    color:#999;
    opacity:1
}
#bigSearchForm .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:#999;
}
#bigSearchForm .form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: red;
}
#bigSearchForm .form-control::-webkit-input-placeholder {
    color:#999;
}

#bigSearchForm a, #bigSearchForm a:focus, #bigSearchForm a:hover {
    text-decoration: none;
    color: initial;
}

.card:focus, .card:hover, .card:active{
    box-shadow: 0px 0px 7px var(--dg-card-hover-shadow);
}

.card:hover, .card:hover .thumbnail{
    background-color: var(--dg-card-hover-bg-color);
}
mark{
    background: #ff06;
    padding:0;
}
/*** lessons ***/

.panel:focus, .panel:hover, .panel:active{
    box-shadow: 0px 0px 7px #777;
}

.panel:hover, .panel:hover .thumbnail{
    /* background-color: #bfddff; */
}
.thumbnail {
    border: none;
}
.thumbnail img, .panel img{
    box-shadow: 0 0 6px 0 gray;
    margin-top: 10px;
}
.caption h4 {
    line-height: 1.6em;
    max-height: 3.2em;
    overflow: hidden;
    font-size: 1.3em;
}
.caption p {
    line-height: 2em;
    max-height: 2em;
    overflow: hidden;
    font-size: 1.1em;
    font-weight: 300;
    margin: 0 0 0px;
    color: #777;
}
.caption span {
    color: #86bd6f;
    padding-left: 3px;
}
.caption span.last {
    padding-right: 16px;
}
.panel-footer {
    text-align: right;
    color:#777;
}
h4 .glyphicon.glyphicon-blackboard {
    color:#5ba3cb;
    position: relative;
    top: 12px;
    right: 0;
    padding-left: 12px;
    height: 48px;
    line-height: 1.1em;
    font-size: 1.7em;
}
.glyphicon.glyphicon-blackboard {
    color:#5ba3cb;
    position: relative;
    top: 4px;
    right: 0;
}
h4 .glyphicon.glyphicon-play-circle {
    color: #e60a0a;
    position: relative;
    top: 12px;
    right: 0;
    padding-left: 12px;
    height: 48px;
    line-height: 1.1em;
    font-size: 1.7em;
}
.glyphicon.glyphicon-play-circle {
    color:#e60a0a;
    position: relative;
    top: 4px;
    right: 0;
    padding-left: 7px;
}

.glyphicon.glyphicon-book {
    color:#8fd476;
    position: relative;
    top: 2px;
    right: 0;
}
mark{
    background: #ff06;
    padding:0;
}
/*** book ***/
.card .card-heading{
    font-size:17px;
}

.highlight{
    background-color: #ff06;
}
.page-content {
    font-size: 20px;
}

:lang(ur) #bigSearchForm input
{
    padding-right: 8px !important;
    padding-left: 6px !important;
    line-height: 2.5 !important;
}

:lang(ur) #bigSearchForm input,
:lang(ur) #bigSearchForm button
{
    padding-bottom: 8px !important;
    padding-top: 0 !important;
}