@charset "utf-8";
/* version=1.8 */
/*------------------------------------------------- all parts ------------------------------------------------*/

@font-face {
    font-family: 'BEsfhnBd';
    src: url(../fonts/BEsfhnBd.eot);
    src: url(../fonts/BEsfhnBd.ttf) format("truetype"), url(../fonts/BEsfhnBd.woff) format("woff"), url(../fonts/BEsfhnBd.svg) format("svg");
    font-display: swap;
}

@font-face {
    font-family: 'BEsfhnBd';
    src: url(../fonts/BEsfhnBd.eot);
    font-display: swap;
}

@font-face {
    font-family: 'BEsfhnBd';
    src: url(../fonts/BEsfhnBd.ttf) format("truetype");
    font-display: swap;
}

body.parts {
    background-color: rgba(240, 248, 255, 0.77);
    background-image: url('../images/partsBG.png');
    background-size: 37vw;
}

.parts header {
    padding: 0px 0px 5px;
    margin: 0px 0px 35px;
    background-color: rgba(208, 249, 245, 0.73);
    box-shadow: 0px 5px 7px 1px #00f8fd;
}

.parts header .title_wrapper {
    background-repeat: no-repeat;
    background-image: url(../images/parts_header.png);
    background-size: 100%;
}

.parts header .title_wrapper h1.parts_name {
    text-align: center;
    padding: 15% 29% 10%;
    font-size: 3.5em;
    font-family: 'BEsfhnBd';
}

.parts header p.parts_explanation {
    margin: 1rem;
    font-size: 1.5em;
    text-align: justify;
    padding: 0px 3%;
}

.parts header p.parts_explanation a {
    font-size: inherit;
}

.parts .parts_content {
    background-color: rgba(243, 249, 255, 0.73);
    padding-top: 70px;
    padding-bottom: 15px;
    position: relative;
}

.parts .parts_content::before {
    content: url(../images/in_the_name_of_allah.png);
    position: absolute;
    right: 0px;
    top: 0px;
}

footer.parts {
    position: relative;
    margin: 50px 0px 0px;
    background-color: #fd8e2a;
    min-height: 220px;
    background-image: url(../images/footer.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

@media screen and (max-width: 767px) {

    footer.parts {
        background-size: 300%;
    }
}

footer.parts img {
    position: absolute;
    bottom: 5px;
    right: 5px;
    height: 100px;
    width: 100px;
    z-index: 11;
}

footer.parts img:hover {
    border-radius: 0px;
}

footer.parts p {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 26px 0px 0px;
    background-color: #ffab60;
    transition: 0.7s 0s background-color ease;
}

footer.parts p:hover {
    background-color: #ff7700;
}

.dropDownItem h3 {
    cursor: pointer;
    padding: 5px;
}

.dropDownItem h3:hover {
    border-top: 2px solid #f3faff !important;
    border-bottom: 2px solid #f3faff !important;
}

.dropDownItem p {
    display: none;
    padding: 16px;
    text-align: justify;
    background-color: rgba(255, 255, 255, 0.5);
}

.dropDownItem p a {
    font-size: inherit;
    font-style: italic;
}

.dropDownItem h3 span {
    border-left: 1px solid;
    padding: 4px;
    font-size: 17px;
    margin-left: 4px;
}

.nightMood {
    color: white !important;
    background-color: #141414 !important;
}

/* ------ article ------- */

#article #mainContainer {
    margin-top: 27px;
}

#article .dropDownItem h3 {
    background-color: #4cedfd;
    border-top: 2px solid #4cedfd;
    border-bottom: 2px solid #4cedfd;
}

/* ------ contact_experts ------- */

#contact_experts #pursuit_question_div {
    text-align: center;
}

#contact_experts input.contact_experts_radio {
    top: 5px;
    right: calc(50% + 6em);
}

#contact_experts #UUID {
    display: none;
    padding: 20px;
    margin: 34px 20px;
    box-shadow: 0px 0 8px 1px #64ff24;
    border-radius: 15px;
}

#contact_experts #UUID h3 {
    margin-bottom: 5px;
}

#contact_experts #UUID button {
    margin-bottom: 5px;
    background-color: #b4ffff;
}

#contact_experts #UUID span {
    font-family: monospace;
}

#contact_experts #contact_experts_result {
    margin-top: 8px;
    margin-bottom: 2px;
    width: 230px;
    display: inline-block;
}

#contact_experts #contact_experts_result button {
    margin: 0px 3px 2px;
}

#contact_experts #contact_experts_result input {
    display: none;
}

#contact_experts #pursuit_question_div {
    display: none;
}

#contact_experts #pursuit_question_div input#pursuit_UUID {
    font-family: sans-serif;
    margin-bottom: 20px;
}

#contact_experts #question_info {
    margin: 6px 0px 20px;
    padding: 0px;
    box-shadow: 0px 0px 6px #1c82a1;
}

#contact_experts #question_info h4 {
    border-bottom: 1px dotted #8bc6db;
    padding: 23px 0px 5px;
    text-align: right;
}

#contact_experts #question_info p {
    margin: 3px;
    background-color: #f7e969;
    padding: 4px;
}

#contact_experts #chosenQuestions {
    margin: 10px;
}

#contact_experts #chosenQuestions h2 {
    margin: 10px auto 2px;
    height: 28px;
    text-align: center;
    background-color: #4cedfd;
    border-radius: 40px 40px 0px 0px;
}

#contact_experts #chosenQuestions .dropDownItem h3 {
    background-color: #4cedfd;
    border-top: 2px solid #f3faff;
    border-bottom: 2px solid #f3faff;
    font-size: 1.7em;
}

/* ------ devotion ------- */

#devotion #dev_setting_icon {
    position: absolute;
    left: 0px;
    top: 0px;
    margin: 9px;
}

#devotion #dev_setting_icon .glyphicon-cog {
    color: #777777;
    font-size: 36px;
    cursor: pointer;
}

#devotion #dev_setting_icon .glyphicon-cog:hover {
    font-size: 42px;
}

@media screen and (max-width: 767px) {
    #devotion #dev_setting_icon .glyphicon-cog:hover {
        font-size: 36px;
    }
}

#devotion #dev_setting_div {
    display: none;
    position: absolute;
    left: 0px;
    top: 46px;
    z-index: 13;
    padding: 10px;
    background-color: aliceblue;
    margin: 5px;
    border: 1px solid #bde263;
    border-radius: 5px;
    text-align: center;
    max-width: 275px;
    color: black;
}


#devotion #dev_setting_div label {
    float: right;
}

#devotion #dev_setting_div>h3 {
    position: absolute;
    top: -17px;
    right: 14px;
    padding: 0px 10px;
    background-color: #f3f9ff;
    color: #638c00;
}

#devotion #dev_setting_div #row_setting button,
#devotion #dev_setting_div #fontSize_setting_btns button {
    min-width: 212px;
    margin: 6px 1px 1px;
}

#devotion #dev_setting_div #text_setting .switch_div {
    display: inline-block;
    margin: 5px;
    border: 1px solid #bde263;
    padding: 3px;
    border-radius: 5px;
    cursor: pointer;
}

#devotion #dev_setting_div #text_setting .switch_div p {
    display: inline-block;
    min-width: 154px;
}

#devotion #dev_setting_div #text_setting .switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 18px;
    margin: 0px 5px -6px;
    background-color: #008de0;
    border-radius: 3px;
}

#devotion #dev_setting_div #text_setting .switch span.cycle {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 3px;
}

#devotion #dev_setting_div .settings_option {
    display: inline-block;
    margin: 0px 8px 10px;
}

#devotion #dev_setting_div #text_setting .switch_off {
    background-color: gray !important;
}

#devotion #dev_setting_div #text_setting .switch_off span {
    left: 22px !important;
}

#devotion #dev_setting_div #text_setting .slider.round:before {
    border-radius: 50%;
}

#devotion nav #btn_container h2 {
    margin: 0px 0px 5px;
    border: 1px dotted #7dbfff;
}

#devotion nav #btn_container {
    position: relative;
    overflow: hidden;
}

#devotion nav #btn_container {
    margin: 10px 0px;
    min-height: 200px;
}

#devotion nav #btn_container .btns {
    margin: 0;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-150%, -50%);
    transition: transform 1.1s cubic-bezier(0.85, -0.93, 0, 1.45) 0s;
}

#devotion nav #btn_container .btns button {
    display: block;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    font-size: medium;
    border-radius: 7px;
    border: none;
}

#devotion #devotion_container .devotion_con {
    display: none;
    font-size: 13px;
    background-color: rgb(255, 255, 255, 0.5);
}

#devotion #devotion_container .devotion_arabic_txt {
    line-height: 1.7;
}

#devotion #devotion_container .devotion_farsi_txt {
    line-height: 1.4;
}

#devotion #devotion_container .devotion_name::after {
    content: ':';
    margin: 2px;
}

#devotion #devotion_container .devotion_video,
#devotion #devotion_container .devotion_audio {
    margin: 20px auto;
    text-align: center;
    background-color: #ff3ffd;
    padding-bottom: 6px;
    width: 240px;
    border-radius: 7px;
    border: 1px solid #ff3ffd;
    color: white;
    cursor: pointer;
}

#devotion #devotion_container .devotion_audio {
    background-color: #ff4c4c;
    border: 1px solid #ff4c4c;
}

#devotion #devotion_container .devotion_video:hover {
    background-color: white;
    color: #ff3ffd;
}

#devotion #devotion_container .devotion_audio:hover {
    background-color: white;
    color: #ff4c4c;
}

#devotion #devotion_container .devotion_video b,
#devotion #devotion_container .devotion_audio b {
    color: black;
}

#devotion #devotion_container .devotion_video span,
#devotion #devotion_container .devotion_audio span {
    font-size: 1.5em;
    top: 6px;
    color: inherit;
    left: 1px;
}

#devotion #devotion_container .clicked_devotion_video,
#devotion #devotion_container .clicked_devotion_audio {
    width: auto !important;
    background-color: unset !important;
    border: none !important;
}

/* ------ downloadMP3 ------- */

#downloadMP3 #mainContainer .downloadBox {
    margin: 10px;
    display: inline-block;
    padding: 6px;
    border: 1px solid #a7d3ff;
    position: relative;
}

@media screen and (max-width: 767px) {
    #downloadMP3 #mainContainer .downloadBox {
        display: inline-block;
        padding: 0px;
        border-bottom: 1px solid #a7d3ff;
        border-top: none;
        border-left: none;
        border-right: none;
    }
}

#downloadMP3 #mainContainer .downloadBox audio {
    float: left;
    height: 32px;
    margin-right: 8px;
}

@media screen and (max-width: 767px) {

    #downloadMP3 #mainContainer .downloadBox audio {
        max-width: 275px;
    }
}

#downloadMP3 #mainContainer .downloadBox a {
    float: right;
}

#downloadMP3 #mainContainer .downloadBox .Mnumber {
    position: absolute;
    top: 11px;
    right: -18px;
    background-color: darkorange;
    padding: 3px 3px;
    min-width: 17px;
    border-radius: 0% 50% 50% 0%;
}

@media screen and (max-width: 400px) {
    #downloadMP3 #mainContainer .downloadBox .Mnumber {
        top: 0px;
    }
}

#downloadMP3 #mainContainer .downloadBox a span {
    font-size: 17px;
    padding: 5px;
}


/* ------ harm ------- */

#harm #mainContainer {
    margin-top: 27px;
}

#harm .dropDownItem h3 {
    background-color: #f1b16e;
    border-top: 2px solid #f1b16e;
    border-bottom: 2px solid #f1b16e;
}

/* ------ mahzar_imam ------- */

#mahzar_imam #mainContainer {
    margin-top: 27px;
}

#mahzar_imam .dropDownItem h3 {
    background-color: #54fd4c;
    border-top: 2px solid #54fd4c;
    border-bottom: 2px solid #54fd4c;
    cursor: pointer;
    padding: 5px;
}

#mahzar_imam .dropDownItem p .ref {
    display: block;
    margin: 10px 0px 0px;
    font-size: 0.8em;
    color: gray;
}


/* ------ needs ------- */

#needs .need_box {
    margin: 5px;
    padding: 15px;
    min-height: 255px;
    box-shadow: 5px 7px 13px 0px #06d7ff;
    border-radius: 5px;
    font-size: 1em;
    background-color: rgb(240 248 255);
}

#needs .need_box a {
    font-size: inherit;
}

#needs .need_box h4 {
    border-bottom: 1px solid #00cfff;
    margin: 0px 0px 8px;
    padding: 0px 0px 3px;
}

#needs .need_box p,
#needs .need_box h4 {
    text-align: center;
}


/* ------ promise ------- */

#promise #topImg {
    max-width: 500px;
    margin: 5px auto;
}

@media screen and (max-width: 440px) {
    #promise #topImg {
        max-width: 90%;
    }
}

#promise #promise_div {
    padding: 3vw;
    margin: 15px 0px;
}

#promise .promise_box {
    position: relative;
}

#promise .promise_box span {
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 4px;
}

#promise .promise_label {
    display: inline-block;
    margin: 8px 0px;
    font-size: 1.2em;
    color: black;
    width: 100%;
    padding: 8px 0px;
}

#promise textarea,
#promise input {
    margin: 5px;
}

#promise .costom_promise_box {
    border-radius: 2px;
    padding: 3px 0px 20px;
    background-color: #ffe436;
    margin: 10px 0px;
}

#promise .costom_promise_box textarea {
    margin: 0px auto 5px;
    width: 98%;
}

#promise .promise_text {
    cursor: pointer;
    border-radius: 5px;
    padding: 11px;
    background-color: #ffe436;
    margin: 15px 0px;
}

#promise #promise_paragaraph {
    font-family: 'BEsfhnBd';
    position: relative;
    padding: 10px 0px 0px;
    display: block;
    margin: 0px auto;
    width: 2456px;
    height: 3508px;
    background-image: url(../images/old_letter_bg.png);
    background-repeat: no-repeat;
    background-position: center;
    zoom: 0.2;
}

@media screen and (max-width: 440px) {
    #promise #promise_paragaraph {
        zoom: 0.1;
    }
}

#promise #promiser_promise {
    font-size: 95px;
    color: black;
    display: block;
    margin: 0px auto;
    padding-top: 588px;
    width: 76%;
}

#promise #promiser_promise span {
    font-size: inherit;
}

#promise #add_btn {
    background-color: #a3cfd1;
    box-shadow: 0px 0px 4px 0px black;
    margin: 6px 0px -7px;
    padding: 7px;
}

#promise #promiser_costom_addition {
    font-size: 20px;
}

#promise #promise_buttons {
    text-align: center;
}

#promise #promise_buttons button {
    margin: 4px 4px 37px;
    box-shadow: 0px 0px 4px 0px #9f9f9f;
}

#promise #form_head {
    width: 100%;
    height: 56px;
}

#promise #name {
    margin: 0px;
    height: 43px;
    width: 80%;
    float: left;
}

#promise #gender {
    float: right;
    position: relative;
    width: 20%;
}

#promise #gender div {
    position: relative;
    display: block;
    margin: 0px auto;
    width: 20px;
}

#promise #gender input {
    position: absolute;
    margin: 3px 0px;
    right: -11px;
}

#promise #gender label {
    position: absolute;
}

#promise_canvas {
    display: none;
    max-width: 732px;
}

#promise_canvas h3 {
    margin-bottom: 6px;
}

#promise_canvas h4 {
    margin-bottom: 20px;
}

#promise_canvas canvas {
    width: 100%;
}

#promise .word {
    font-size: inherit;
}

#promise #promise_download {
    background-color: #0078bf;
}

#promise #promise_print {
    background-color: #d7d000;
}

#promise #promise_download,
#promise #promise_print {
    display: none;
}


/* ------ quran ------- */

#quran #last_seen_a {
    border: 1px solid #9fcfff;
    padding: 15px 5px 10px;
    border-radius: 6px;
    position: relative;
    margin: 19px 5px 23px;
}

#quran #last_seen_a h3 {
    position: absolute;
    top: -14px;
    right: 14px;
    background-color: #f3f9ff;
    padding: 2px 8px;
}

#quran #goToLastASeen {
    display: none;
    margin: 9px 25%;
    min-width: 50%;
    font-size: 1.5em;
}

#quran #last_seen_a #last_seen_message {
    font-size: inherit;
    margin: 0px 3px;
}

#quran #a_list>h3 {
    margin-bottom: 3px;
}

#quran #a_list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#quran #a_list ul li {
    font-size: medium;
    margin: 2px;
    cursor: pointer;
    min-width: 231px;
}

#quran #outer_a h3 {
    margin: 80px 0px 22px;
}

#quran #outer_a h3 a {
    font-size: inherit;
}

#quran #outer_a table {
    font-size: large;
    padding: 8px;
    background-color: #b6dbff;
}

#quran #outer_a table tbody tr td a {
    font-size: inherit;
}

#quran #outer_a table tbody tr.clicked {
    background-color: #ffd88a;
}

@media screen and (max-width: 767px) {
    #quran #a_list ul li {
        width: 45%;
        padding: 5px;
        min-width: auto;
    }
}

#quran #a_list ul li:hover {
    border: 1px solid #32dd32;
}

#quran #a_list .a_list_number {
    margin: 3px;
    font-family: 'BEsfhnBd';
    font-size: inherit;
}

#quran #a_list .a_list_number::after {
    content: '.';
}

#quran .a_number {
    display: inline-block;
    margin: 0px 7px;
}

#quran .arrows {
    display: inline-block;
    padding: 5px;
    margin: 13px 0px;
    font-size: medium;
}

#quran .arrows .btn_active {
    color: black;
    cursor: pointer;
}

#quran .arrows .btn_active:hover {
    color: #6eff00;
}

#quran .arrows span {
    display: block;
    text-align: center;
    color: #bdbcbc;
}

#quran #slider {
    position: relative;
    padding: 8px;
    border: 1px solid #9fcfff;
    border-radius: 5px;
    overflow: hidden;
    transition: height 1s cubic-bezier(0.52, 0.14, 0.38, 0.87) 0s
}

#quran #slider .slide {
    position: absolute;
    background-color: #fffbf0;
    top: 0px;
    padding: 20px;
    width: 100%;
    transition: right 0.3s linear 0s;
}

#quran #slider .slide .a_arabic::before {
    content: "بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ";
    color: #03ae03;
    font-size: 1.1em;
    margin: 10px 0px;
    display: block;
    font-family: 'BEsfhnBd';
}

#quran #slider .slide .a_adress,
#quran #slider .slide .a_arabic,
#quran #slider .slide .a_farsi {
    margin: 3px 0px;
    padding-bottom: 2px;
    border-bottom: 1px solid #9fcfff;
    text-align: center;
}

#quran #slider .slide .a_adress {
    border-bottom: none;
}

#quran #slider .slide .a_interpretation {
    margin-top: 10px;
    text-align: justify;
}

#quran #slider .slide .ref {
    display: block;
    font-size: 0.8em;
    margin-bottom: 7px;
    color: gray;
}

#quran #list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 44px;
}

#quran #list span {
    float: right;
    margin: 1px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50% 50% 0% 0%;
    font-size: 1.6em;
    border: 1px solid rgba(0, 0, 0, 0);
}

#quran #list span:hover {
    border: 1px solid #5affc8;
}

#quran #list span.active_span {
    background-color: #a2ffe0;
}

#quran #a_list li.active_li {
    background-color: #32dd32;
}


/* ------ riwayat_mahdaviat ------- */

#riwayat_mahdaviat #SBW {
    display: none;
    position: fixed;
    bottom: 0px;
    z-index: 3;
    width: 100%;
}

#riwayat_mahdaviat #SBW>div {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background-color: #f0ad4e;
    padding: 12px;
    border-radius: 20px 20px 0px 0px;
    width: calc(100% - 73px);
    float: left;
    max-width: 500px;
}

#riwayat_mahdaviat #SBW span {
    margin: 0px 4px;
    cursor: pointer;
}

#riwayat_mahdaviat #SBW #SBW_resultNumber,
#riwayat_mahdaviat #SBW #SBW_resultCount {
    cursor: inherit;
    margin: 0px;
}

#riwayat_mahdaviat #SBW #SBW_resultNumber:hover,
#riwayat_mahdaviat #SBW #SBW_resultCount:hover {
    color: inherit;
}

#riwayat_mahdaviat #SBW #SBW_resultNumber::before {
    content: '/';
}

#riwayat_mahdaviat #SBW span:hover {
    color: #faebd7;
}

#riwayat_mahdaviat #SBW span:last-child:hover {
    color: red;
}

#riwayat_mahdaviat #SBW #SBW_input {
    margin: 0px 4px;
}

#riwayat_mahdaviat #settings,
#riwayat_mahdaviat #bookmarkInfo,
#riwayat_mahdaviat #goTo,
#riwayat_mahdaviat #search {
    padding: 20px 5px 10px;
    margin: 33px 0px 10px;
    border: 1px solid #bde263;
    border-radius: 5px;
    position: relative;
}

#riwayat_mahdaviat .title_label {
    font-size: 1.3em;
    font-weight: bold;
}

#riwayat_mahdaviat #search {
    border: 1px solid #9bff36;
}

#riwayat_mahdaviat #scroll_to_top #btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 10;
    font-size: small;
}

@media screen and (max-width: 767px) {

    #riwayat_mahdaviat #goTo,
    #riwayat_mahdaviat #bookmarkInfo,
    #riwayat_mahdaviat #settings {
        text-align: center;
    }
}

#riwayat_mahdaviat #settings>h3,
#riwayat_mahdaviat #goTo>h3,
#riwayat_mahdaviat #bookmarkInfo>h3,
#riwayat_mahdaviat #search>h3 {
    position: absolute;
    top: -17px;
    right: 14px;
    padding: 0px 10px;
    background-color: #f3f9ff;
    color: #638c00;
}

#riwayat_mahdaviat #search .search_option #search_anouncer {
    margin: 5px 3px;
}

#riwayat_mahdaviat #search .search_option,
#riwayat_mahdaviat #bookmarkInfo .settings_option,
#riwayat_mahdaviat #goTo .settings_option,
#riwayat_mahdaviat #settings .settings_option {
    display: inline-block;
    margin: 0px 8px 10px;
}

#riwayat_mahdaviat #goTo .settings_option #goTo_setting_input {
    border: 1px solid #a3d1ff;
    border-radius: 3px;
    margin: 6px 3px 1px 0px;
    font-size: large;
}

#riwayat_mahdaviat #bookmarkInfo #bookmarkedRiw {
    color: #7a7a7a;
    margin: 6px 2px 5px;
    font-size: x-large;
    display: inline-block;
    border: 1px solid;
    border-radius: 5px;
    padding: 0px 5px;
}


#riwayat_mahdaviat #search .search_option #subject_riw_search label {
    font-size: 1.2em;
}

#riwayat_mahdaviat #search .search_option #subject_riw_search h4 {
    margin: 7px 0px 10px;
}

#riwayat_mahdaviat #search .search_option #subject_riw_search h4::after {
    content: ':';
    margin: 2px;
}

#riwayat_mahdaviat #settings #row_setting button,
#riwayat_mahdaviat #settings #fontSize_setting_btns button {
    min-width: 212px;
    margin: 6px 1px 1px;
}

#riwayat_mahdaviat #settings #text_setting .switch_div {
    display: inline-block;
    margin: 5px;
    border: 1px solid #bde263;
    padding: 3px;
    border-radius: 5px;
    cursor: pointer;
}

#riwayat_mahdaviat #settings #text_setting .switch_div p {
    display: inline-block;
    min-width: 140px;
}

#riwayat_mahdaviat #settings #text_setting .switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 18px;
    margin: 0px 5px -6px;
    background-color: #008de0;
    border-radius: 3px;
}

#riwayat_mahdaviat #settings #text_setting .switch span.cycle {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 3px;
}

#riwayat_mahdaviat #settings #text_setting .switch_off {
    background-color: gray !important;
}

#riwayat_mahdaviat #settings #text_setting .switch_off span {
    left: 22px !important;
}

#riwayat_mahdaviat #settings #text_setting .slider.round:before {
    border-radius: 50%;
}

#riwayat_mahdaviat #all_riws {
    display: flex;
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: stretch;
}

#riwayat_mahdaviat #all_riws .riwayat_box {
    width: 49%;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #94d3ff;
    border-radius: 5px;
    position: relative;
    text-align: justify;
    background-color: rgba(255, 251, 240, 0.5);
}

#riwayat_mahdaviat #all_riws .riwayat_box .focused_SBW_item {
    background-color: #3bc53b !important;
}

#riwayat_mahdaviat #all_riws .riwayat_box .founded_SBW_item {
    background-color: yellow;
}

#riwayat_mahdaviat #all_riws .riwayat_box .bookmark_icon {
    content: ' ';
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url(../images/bookmark_icon.png);
    background-size: contain;
    left: 10%;
    top: 7px;
    transition: top 0.5s cubic-bezier(0, 0, 0.2, 1) 0s;
    cursor: pointer;
}

#riwayat_mahdaviat #all_riws .bookmarekd {
    background-image: url(../images/bookmark_icon_colored.png) !important;
    top: -15px !important;
}

#riwayat_mahdaviat #all_riws .riwayat_box .announcer::after {
    content: ":";
    margin: 0px 4px;
}

#riwayat_mahdaviat #all_riws .riwayat_box .reference {
    margin: 20px 0px 2px;
}

#riwayat_mahdaviat #all_riws .riwayat_box .riwayat_content_farsi,
#riwayat_mahdaviat #all_riws .riwayat_box .riwayat_content_arabic {
    margin: 20px 0px 5px;
}

#riwayat_mahdaviat .SPText {
    font-size: inherit;
    color: coral;
    margin: 1px;
}

#riwayat_mahdaviat .riwayat_explanation {
    font-style: italic;
    color: #3c2016;
    border: 1px solid rgba(0, 0, 255, 0.13);
    padding: 5px;
    border-radius: 5px;
    margin: 15px 0px;
}

#riwayat_mahdaviat .riwayat_number {
    color: #e2673b;
    position: absolute;
    left: 2px;
    top: 2px;
    font-size: 30px;
    background-color: bisque;
    border-radius: 100%;
    width: 8%;
    text-align: center;
}

#riwayat_mahdaviat .riwayat_16_aTags {
    display: block;
}

#riwayat_mahdaviat .riwayat_16_aTags:hover {
    text-decoration: none;
    border-bottom: 1px solid;
    border-top: 1px solid;
}

#riwayat_mahdaviat a {
    display: inline-block;
    margin: 4px 0px;
    font-size: inherit;
}

/* ------ test ------- */


#test #mainContainer {
    position: relative;
    display: flex;
    min-height: 500px;
    width: 100%;
    z-index: 1;
    background-color: rgba(226, 242, 255, 0.72);
    justify-content: center;
    align-items: center;
}

#test #mainContainer>span {
    position: relative;
    padding: 5px;
    background-color: #f0f8ff;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
}

#test #mainContainer span#next {
    border-radius: 7px 0px 0px 7px;
}

#test #mainContainer span#previous {
    border-radius: 0px 7px 7px 0px;
}

#test #mainContainer #question_container #window {
    position: relative;
    width: 300px;
    height: 450px;
    padding: 5px;
    background-color: aliceblue;
    overflow: hidden;
    border-radius: 3px;
}

@media screen and (max-width: 767px) {
    #test #mainContainer #question_container #window {
        width: 243px;
        height: 400px;
    }
}

#test #mainContainer #question_container #question_header {
    padding: 0px 7px;
    background-color: #008de0;
}

#test #mainContainer #question_container #window .question {
    position: absolute;
    right: 300px;
    width: 97%;
    transition: right 1s cubic-bezier(0.075, 0.82, 0.165, 1) 0s;
    white-space: initial;
    font-size: 1.2em;
    padding: 7px;
}

#test #mainContainer #question_container #window .question ol li {
    font-size: 1.7em;
}

#test .full_screen {
    position: absolute;
    top: 0px;
    height: 100%;
    display: flex;
    width: 100%;
    background-color: aliceblue;
    justify-content: center;
    align-items: center;
    z-index: 20;
    flex-direction: column;
}

#test .full_screen h3 {
    margin: 20px 0px 7px;
}

#test #preDiv {
    z-index: 30;
}

#test #score_result {
    display: none;
    z-index: 20;
}

#test #score_calculation {
    position: absolute;
    left: 0px;
}

#test #score_result h3 span {
    font-size: 1.1em
}

#test #score_result #tableContainer {
    margin: 5px auto 23px;
    padding: 1px;
    font-size: 1.5em;
    max-width: 213px;
    overflow: auto;
    max-height: 300px;
    border: 2px solid #dddddd;
}