/* 
    Created on : Mar 14, 2020, 2:49:44 PM
    Author     : morteza
*/

@font-face {
    font-family: byek;
    src: url(../fonts/irsans/IRANSansWeb_Light.ttf) format("truetype");
}
@font-face {
    font-family: droid;
    src: url(../fonts/irsans/IRANSansWeb_Light.ttf) format("truetype");
}
@font-face {
    font-family: bcnasim;
    src: url(../fonts/irsans/IRANSansWeb_Light.ttf) format("truetype");
}
@font-face {
    font-family: dima;
    src: url(../fonts/DimaFred.woff) format("woff");
}


::selection{ background-color: rgba(0,0,0, .7); color: white; }
::o-selection{ background-color: rgba(0,0,0, .7); color: white; }
::moz-selection{ background-color: rgba(0,0,0, .7); color: white; }
::webkit-selection{ background-color: rgba(0,0,0, .7); color: white; }
::ms-selection{ background-color: rgba(0,0,0, .7); color: white; }

.font-monospace {
    font-family: monospace;
}

.font-bold {
    font-weight: bold !important;
}

.font-5 {
    font-size: 25px;
}

#back-to-up {
    position: fixed; bottom: 15px; right: 15px; z-index: 50;
    border: 0px solid yellow;
    z-index: 101;
}
#back-to-up a {
    cursor: pointer;
    color: rgba(0,0,0, .5);
    transition: color .1s linear;
}
#back-to-up a:hover {
    color: rgba(0,0,0, .9);
}

.font-10px {
    font-size: 10px !important;
}
.font-12px {
    font-size: 12px !important;
}
.font-14px {
    font-size: 14px !important;
}
.font-16px {
    font-size: 16px !important;
}

.ltr {
    direction: ltr;
    text-align: left;
}
.rtl {
    direction: rtl;
    text-align: right;
}

.ltr-inline {
    display: inline-table !important;
    direction: ltr !important;
    text-align: left !important;
}
.rtl-inline {
    display: inline-table !important;
    direction: rtl !important;
    text-align: right !important;
}

.dima-font {
    font-family: dima;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

body {
    direction: rtl;
    text-align: right;
    background-color: #f5f8f9;
    font-family: bcnasim, droid, Arial, tahoma;
    font-size: 14px;
}

.header-navbar {
    width: 100%;
    box-shadow: 0px 3px 35px rgba(0, 0, 0, 0.04);
    background-color: #ffffff;
}


.none-border {
    border: 0px solid black !important;
    border-bottom: 0px solid black !important;
}

.dropbtn {
    /*background-color: #4CAF50;*/
    background-color: transparent;
    color: rgba(0,0,0, .6);
    padding: 16px;
    font-size: 16px;
    border: none;
    text-decoration: none;
    cursor: pointer;
}
.dropbtn  a {
    color: rgba(0,0,0, .6);
    text-decoration: none;
}

.dropbtn:hover, .dropbtn a:hover {
    color: rgba(0,0,0, .9);
}

/* The container <div> - needed to position the dropdown content */
.blog-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    /*background-color: #f1f1f1;*/
    background-color: #f5f8f9;
    width: 220px;
    /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
    box-shadow: 0px 3px 35px rgba(0, 0, 0, 0.04);
    z-index: 10;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: rgba(0,0,0, .5);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #eee;
    color: rgba(0,0,0, .8);
}

/* Show the dropdown menu on hover */
.blog-dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.blog-dropdown:hover .dropbtn {background-color: #ffffff;}


.signup-button {
    display: inline-block;
    vertical-align: middle;
    padding: 16px;
    width: 100%;
    text-align: center;
    color: rgba(0,0,0, .8);
}

.signup-button:hover {
    text-decoration: none;    
}


.header-post {
    text-align: center;
    background-color: #ffffff;
    padding: 6px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid rgba(0,0,0, .02);
}

.header-post:hover .header-post-link {
    background-color: transparent;
}

.header-post div {
    position: absolute;
    text-align: right;
    padding-left: 5px;
    color: white;
}

.header-post > img {
    z-index: 1;
    width: 100%;
}


.header-post-title {
    z-index: 1;
    top: 15px;
    left: 5%;
    padding: 5px;
    width: 90%;
    text-shadow: 2px 2px rgba(0,0,0, .4);
}
.header-post-title h2 {
    font-family: dima;
    font-size: 15pt;
}

@media only screen and (min-width: 1000px) {
    .header-post-title h2 {
        font-size: 15pt;
    }

    .header-post-category {
        left: 10px;
        bottom: 20px;
    }

    .header-post-date {
        left: 10px;
        bottom: 5px;
    }

}
@media only screen and (max-width: 900px) {
    .header-post-title h2 {
        font-size: 10pt;
    }
}

.header-post-link {
    z-index: 2;
    background-color: rgba(0,0,0, .1);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: background-color .2s ease;
}


.header-post-date {
    z-index: 1;
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-weight: normal;
    font-family: dima;
    text-shadow: 1px 1px rgba(0,0,0, .4);
    background-color: rgba(0,0,0, .08);
    border-radius: 10px;
    padding: 1px 8px;
}
.header-post-category {
    z-index: 3;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 12px;
    font-family: dima;
    font-weight: bold;
    color: #eee;
    text-transform: uppercase;
    position: absolute;
    bottom: 60px;
    left: 30px;
    background-color: rgba(0,0,0, .08);
    text-shadow: 1px 1px rgba(0,0,0, .4);
}

.header-post-category:hover {
    background-color: rgba(0,0,0, .3);
}



.articles {
    width: 100%;
}

.article-class, .box-shadow-default {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    padding: 0px;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.article-body {
    text-align: justify;
}

.article-body h1 {
    padding-top: 25px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 25px;
}

.article-body h2 {
    font-size: 17px;
    font-weight: bold;
    color: rgba(0,0,0, .8);
    border: 1px solid rgba(0,0,0, .05);
    border-radius: 3px;
    background: #FAFAFA url(h2-icon.png) no-repeat 0px 0px;
    padding: 5px 10px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.article-body-h2-disable {
    border: 0px solid rgba(0,0,0, .05) !important;
    background: none !important;
}
.article-body-h2-disable-2 {
    border: 0px solid rgba(0,0,0, .05) !important;
    background: none !important;
}

.article-body table {
    width: 90%;
    margin: 0px auto;
    border: 1px solid rgba(0,0,0, .2);
    margin-top: 8px;
    margin-bottom: 8px;
}

.article-body table tr td {
    padding: 0px;
    border-left: 1px solid rgba(0,0,0, .08);
}
.article-body table tr:nth-child(odd) {
    background-color: rgba(0,0,0, .03);
}

.article-body h4 {
    color: gray;
    padding: 8px;
    padding-left: 25px;
    /*    background: #FAFAFA url(h4-icon.png) no-repeat 1px 1px !important;*/
    background: rgba(0,0,0, .01) url(h4-icon.png) no-repeat 1px 1px !important;
    border: 1px solid rgba(0,0,0, .07);
    border-radius: 2px;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.article-body pre, .article-body code {
    direction: ltr;
    margin-top: 10px;
    margin-bottom: 10px !important;
}
.article-body pre {
    background-color: rgba(0,0,0, .02);
    border: 1px solid rgba(0,0,0, .08);
    border-radius: 2px;
}

.article-body p {
    line-height: 21pt;
    margin-bottom: 1em;
}

.article-body img {
    max-width: 100% !important;
}

.article-sub-section {
    border-top: 1px solid rgba(0,0,0, .1);
}

.article-sub-section ul {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}
.article-sub-section ul li {
    padding: 0px;
    margin: 0px;
    padding-top: 2px;
    padding-bottom: 2px;
}
.article-sub-section ul li a {
    color: black;
    display: inline-block;
    width: 100%;
    padding: 5px;
    border: 1px solid rgba(0,0,0, .08);
}
.article-sub-section ul li a:hover {
    border: 1px solid rgba(0,0,0, .3);
    box-shadow: 0px 2px 5px rgba(0,0,0, .1);
}

.author-description {
    text-align: justify;
    font-size: 10pt;
}

.author-social i {
    color: rgba(0,0,0, .8);
    background-color: rgba(0,0,0, .1);
    border: 1px solid rgba(0,0,0, .1);
    margin-bottom: 3px;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.12s ease-in-out;
}
.author-social i:hover {
    background-color: rgba(0,0,0, .2);
}

.author-title {
    font-weight: bold;
}

.related-post-title {
    margin: 10px auto;
    display: inline;
    margin-bottom: 5px;
    padding: 2px 5px;
    font-size: 15pt;
    background-color: #ffffff;
    font-weight: bold;
    clear: both;
}

.related-post-box {
    padding: 15px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    background-position: center;
    background-size: cover;
    overflow-y: hidden;
}

.related-post-box a {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}

.related-section {

}

.related-section .card {
    border: none;
    border-radius: 0px;
}
.related-post-box h2 {
    transition: all .2s ease-in-out;    
    font-size: 20px;
}

.related-post-box:hover h2 {
    color: #062c33;
    text-shadow: 2px 2px rgba(250,250,250, .9);
}

.related-post-box h2 {
    color: #0c5460;
    text-shadow: 2px 2px rgba(250,250,250, .5);
    padding: 2px 5px;
    border-radius: 5px;
}

.single-share-section {}
.single-share-section table {
    padding: 0px;
    margin: 0px;

}
.single-share-section table tr {}
.single-share-section table tr td {
    padding: 0px;
}

.single-share-section table tr td i {
    width: 100%;
    display: inline-block;
    padding: 5px;
    color: black;
    font-size: 15pt;
}

.single-share-section table tr td i:hover {
    color: rgba(0,0,0, .6);
    background-color: rgba(0,0,0, .035);
}

.article-header {
    font-family: bcnasim;
    font-size: 15px;
}

.article-category-single {
    color: black;
}

.article-header a {
    color: rgba(0, 0, 0, .7);
}

.article-header a:hover {
    color: rgba(0,0,0, .9);
}

.article-title {
    font-family: dima;
    font-size: 20pt;
    margin-top: 20px;   
    margin-bottom: 20px;
}
.article-title a {
    color: rgba(0,0,0, .7);
    transition: color .2s ease-in-out;
}

.article-title a:hover {
    color: rgba(0,0,0, .9);
}

article h1 {
    font-family: dima;
}

.article-more-button {
    border: 1px solid #a6a9ac;
    border-radius: 30px;
    padding: 2px 20px;
    background-color: #ffffff;
    color: #a6a9ac;
    transition: all 0.2s ease-in-out;
}

.article-more-button:hover {
    background-color: rgba(0,0,0, .9);
    color: #ffffff;
    border: 1px solid transparent;
}

.aside-blocks {
}

.aside-block {
    padding: 0px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.aside-block-overview {
    padding-top: 30px;
    padding-bottom: 0px;
    padding-left: 0;
    padding-right: 0;
}

.aside-block-title {
    margin: 0px;
    padding: 20px 25px;
    font-family: dima;
    font-size: 18pt;
}

.aside-block-overview h2 {
    margin-top: 15px;
    font-family: dima;
    font-size: 15pt;
}
.aside-block-overview span {
    width: 100%;
    display: inline-block;
    color: gray;
    padding: 5px;
}

.aside-social {
    margin: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}
.aside-social a {
    color: rgba(0,0,0, .7);
}

.aside-social a i {
    transition: all 0.2s ease;
    padding: 2px;
    font-size: 25px;
}

.aside-social a i:hover {
    color: rgba(0,0,0, .8);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
}

.aside-social a .fa-twitter:hover {
    color: #007bff;

}
.aside-social a .fa-facebook:hover {
    color: #004085;
}
.aside-social a .fa-telegram:hover {
    color: #0062cc;
}
.aside-social a .fa-instagram:hover {
    color: #c82333;
}
.aside-social a .fa-rss:hover {
    color: #d39e00;
}
.aside-social a .fa-sitemap:hover {
    color: #34ce57;
}


.aside-block-categories {
    padding: 0px;
    margin: 0px;
}

.aside-block-categories ul {
    list-style-type: none;
    display: inline;
    padding: 0px;
    margin: 0px;
}

.aside-block-categories ul li {
    padding: 0px;
    margin: 0px;
    border-top: 1px solid rgba(0,0,0, .08);
    text-align: right;
}

.aside-block-categories ul li a {
    color: gray;
    display: inline-block;
    width: 100%;
    padding: 10px 25px;
    margin: 0px;
    transition: background-color .2s ease-in-out;
}

.aside-block-categories ul li a:hover {
    background-color: rgba(0,0,0, .05);
}


.aside-block-book {
    padding: 0px;
    margin: 0px;
}

.aside-block-quote {

}

.aside-block-quote p {
    text-align: justify;
}


.index-pagination-back, .index-pagination-forward {
    background: #ffffff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 16px;
    padding: 6px 22px;
    font-size: 15px;
    display: inline;
    color: gray;
    transition: all 0.2s ease-in-out;
}
.index-pagination-back:hover, .index-pagination-forward:hover {
    background-color: #a6a9ac;
    color: #ffffff;
}

.index-pagination-buttons {
    text-align: left;
    direction: ltr;
    transition: all 0.2s ease-in-out;
}

.index-pagination-buttons a:hover {
    z-index: 2;
    color: #fff;
    background-color: #a6a9ac;
    border-color: #0275d8;
}

.index-pagination-buttons a {
    border: none;
    background: #ffffff;
    border-radius: 0;
    color: #a6a9ac;
    font-size: 15px;
    padding: 2px 8px;
    margin: 0 4px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}


.daily-quote {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    padding: 20px;
    /*    width: 90%;
        margin: 0px auto;
        margin-right: 3.5%;
        margin-top: 20px;*/
    cursor: default;
}
.daily-quote p {
    padding: 0px;
    margin: 0px;
}

.daily-quote-share a {
    padding: 0px;
    margin: 0px;
}

.daily-quote-share a i {
    color: rgba(0,0,0, .5);
    padding: 5px;
    margin: 0px;
    font-size: 18pt;
    display: inline;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;    
}

.daily-quote-share a i:hover {
    color: rgba(0,0,0, .8);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
    /*background-color: rgba(0,0,0, .08);*/
}

.daily-quote-share a .fa-twitter:hover {
    color: #007bff;
}
.daily-quote-share a .fa-facebook:hover {
    color: #004085;
}
.daily-quote-share a .fa-telegram:hover {
    color: #0062cc;
}
.daily-quote-share a .fa-whatsapp:hover {
    color: #28a745;
}


.footer-class {
    width: 100%;
    box-shadow: 0px 3px 35px rgba(0, 0, 0, 0.04);
    background-color: #ffffff;    
}

.site-label-link {
    color: rgba(0,0,0, .7) !important;
}

.tutorial-number {
    width: 50px;
    height: 50px;
    padding: 2px 6px;
    background-color: #0275d8;
    color: #eee;
    border-radius: 50%;
    font-size: 12px;
    font-family: monospace;
}

.article-tags {
    border: 1px solid rgba(0,0,0, .08);
    display: inline-table;
    color: black;
    font-size: 15px;
    padding: 2px 5px;
    margin-bottom: 5px;
    background-color: rgba(0,0,0, .03);
}

.ads-link {
    border: 1px solid rgba(200,0,0, .8);
    border-radius: 3px;
    display: inline-table;
    font-size: 15px;
    padding: 2px 3px;
    color: black;
}

.category-button-index {
    border-radius: 20px;  padding: 5px 10px;color: black;
    border: 1px solid rgba(0,0,0, .2);
}


#tutorial-list-btn {
    position: fixed;
    bottom: 15px;
    left: 15px;
    /*border: 1px solid #34ce57;*/
    background-color: #28a745;
    background-color: #062c33;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    color: white;
    z-index: 2001;
    cursor: pointer;
    text-align: center;
}

#tutorial-list-btn i {
    font-size: 30px;
    width: 100%;
    height: 100%;
    line-height: 50px;
}

.tutorial-list-section {
    background-color: #f5f8f9;
}

#popular-section {
    height: auto;
}
#popular-section-toggle {
    text-align: center;
    display: none;
    cursor: pointer;
    margin: 0px;
    padding: 0px;
}
#popular-section-toggle:hover {
    background-color: rgba(0,0,0, .03);
}

@media only screen and (max-width: 900px) {
    #popular-section-toggle {
        display: inline-block;
    }
    #popular-section {
        overflow-y: hidden;
        height: 150px;
    }

    #tutorial-list-btn {
        display: inline;
    }
    .tutorial-list-section {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        z-index: 2000;
        background-color: #fff;
        overflow-y: scroll;
        display: none;
    }
}



/** SWITCH BUTTON */
/* The switch - the box around the slider */
.w3-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 19px;
}

/* Hide default HTML checkbox */
.w3-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.w3-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.w3-switch-slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.w3-switch input:checked + .w3-switch-slider {
    background-color: #2196F3;
}

.w3-switch input:focus + .w3-switch-slider {
    box-shadow: 0 0 1px #2196F3;
}

.w3-switch input:checked + .w3-switch-slider:before {
    -webkit-transform: translateX(21px);
    -ms-transform: translateX(21px);
    transform: translateX(21px);
}

/* Rounded sliders */
.w3-switch-slider.round {
    border-radius: 34px;
}

.w3-switch-slider.round:before {
    border-radius: 50%;
} 
/** SWITCH BUTTON */



/** COMMENT BOX */

.comment-section {
    border: 1px solid rgba(0,0,0, .08);
}

/** */