@font-face {
    font-family: Vazir;
    src: url('font/Vazir.eot');
    src: url('font/Vazir.eot?#iefix') format('embedded-opentype'),
    url('font/Vazir.woff') format('woff'),
    url('font/Vazir.ttf') format('truetype');
    font-weight: normal;
}
.dropdown-submenu {
    position: relative;
}


.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}
body {
    font-family: 'Vazir', Vazir, Tahoma, Arial, sans-serif !important;
    font-weight: 300;
    direction: rtl;
    text-align: right;
    background-color: #363940;
    color: white;

}
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
pre,span {
    overflow-y: hidden;
}
.textcenter{
    text-align: center;
}
.home-article-titles{
    font-size: 20px;
    font-weight: bold;
    color: #fffb00;
    text-shadow: black 0 2px 5px;
}
.home_bslife_title{
    color: #fffb00;
    text-shadow: 0px 0px 0 rgb(238,183,0),
    1px 1px 0 rgb(222,167,0),
    2px 2px 0 rgb(205,150,0),
    3px 3px  0 rgb(188,133,0),
    4px 4px 3px rgba(0,0,0,0.79),
    4px 4px 1px rgba(0,0,0,0.5),
    0px 0px 3px rgba(0,0,0,.2);
    margin: 20px 0 1px;
    font-size: 40px;
}

.home_bslife_title2{
    color: #fffb00;
    text-shadow: 0px 0px 0 rgb(230,175,0),
    1px 1px 0 rgb(205,150,0),
    2px 2px  0 rgb(180,125,0),
    3px 3px 2px rgba(0,0,0,0.79),
    3px 3px 1px rgba(0,0,0,0.5),
    0px 0px 2px rgba(0,0,0,.2);
    margin-top: 1px;
    font-size: 25px;
}
.home_article_box{
    background-color:#154360;
    color:white;
    width: 300px;
    padding: 10px;
    margin: 10px;
    box-shadow: 0px 5px 10px black;
}
.home_article_box_title{
    align-items: center;
    margin:0;
    padding: 0;
}
.home_article_box_title img{
    max-width: 60px;
    margin-left: 5px;
}
.home_article_box p{
    font-size: 14px;
    margin:0;
}
.home_article_box_btns{
    align-items: center;
    margin:0;
    padding: 0;
}
.home_article_box_btns a{
    font-size:14px;
    padding:8px;
    margin:5px;
    background-color: #4D3184;
    border-color: orange;
    color: white;
    box-shadow: black 0px 3px 3px;
}


.post_container{
    background-color:#363940;
    color: black;
    max-width: 1051px;
    padding: 0;

}
.post_box{
    padding: 30px;
    background-color: white;
    margin-top: 0px;


}

.foot_box{
    padding: 20px;
    margin-top: 10px;
    box-shadow: black 0 -1px 20px;
    color: white;
}

.foot_sup_title{
    text-align: center;
    color: white;
    margin-bottom: 10px
}
.foot_sup_btn{
    margin: 0 10px 30px;
    align-items: center;
    padding:5px 15px 5px;
    box-shadow: black 0px 3px 10px;
    border: solid deepskyblue 1px
}
.foot_sup_btn img{
    max-width: 40px;margin-left: 5px;
}
.foot_sup_btn a{
    color: white;font-size: 16px;
}
.bo{
    font-weight: bold;
}

.h{
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 22px;
}
.h2{
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 18px;

}

.h3{
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;

}

.bu{
    font-weight: bold;
    display: list-item;
    list-style-type: disc;
    list-style-position: inside;
}
.l{
    font-weight: bold;
}
.t{
    font-weight: bold;
    font-size: 35px;
}
.tp{
    box-shadow: black 0px 3px 10px;
    image-rendering: -moz-crisp-edges;
}

.np{

    box-shadow: lightgray 0px 3px 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
}

.tbox{
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;

}


.recovery_from_box{
    background-color:#66068E;
    color:gold;
    padding: 10px;
    margin: 10px;
    box-shadow: 0px 5px 10px black;
    text-shadow: black 0 2px 5px;
}

.recovery_to_box{
    background-color:#150573;
    color:gold;
    padding: 10px;
    margin: 10px;
    box-shadow: 0px 5px 10px black;
    text-shadow: black 0 2px 5px;
}

.recovery_rcode_box{
    border-radius: 5px;
    text-align: center;
    height: 50px;
    width: 100px;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0px 5px 10px black;
    border: gold solid 2px;
}
.recovery_btn_confirm{
    border: white solid 2px;
    border-radius: 5px;
    background-color:#028E0D;
    color: white;
    padding: 10px;
    box-shadow: 0px 2px 5px black;
}


div.pager {
    text-align: right;
    display: inline-block;
}

div.pager span {
    display: inline-block;
    padding: 3px 10px 3px;
    text-align: center;
    cursor: pointer;
    background: skyblue;
    color: black;
    margin-right: 0.5em;
    border-radius: 20%;
}

div.pager span.active {
    background: darkgreen;
    color:white;
    font-weight:bold;
    text-align:center;
}


.expired {
    padding: 10px 40px 10px;
    margin: 50px 0 0;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 60px;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    box-sizing: border-box;
    background: linear-gradient(90deg, yellow, orange, red, violet, purple, blue, yellow);
    background-size: 400%;
    border-radius: 10px;
}
.expired:hover {
    animation: animate 8s linear infinite;
}
@keyframes animate {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 400%;
    }
}
.expired:before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(45deg, #f15523, #ef3224, #7c3697);
    background-size: 400%;
    border-radius: 40px;
    opacity: 0;
    transition: 0.5%;
}
.expired:before {
    filter: blur(20px);
    opacity: 1;
    animation: animate 8s linear infinite;
}

strong {
    font-weight: bold;
}


.shine {
    border: none;
    border-radius: 1px;
    padding: 5px 20px;
    background: #00ffb3;
    position: relative;
    overflow: hidden;
}
.shine:before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
            120deg,
            rgba(255,255,255, 0) 30%,
            rgba(255,255,255, .4),
            rgba(255,255,255, 0) 70%
    );
    top: 0;
    left: -100px;
    animation: shine 3s infinite linear;
}
@keyframes shine {
    0% {left: -100px}
    20% {left: 100%}
    100% {left: 100%}
}

.nos {
    user-select: none; /* supported by Chrome and Opera */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}
button:focus {
    outline: none;
}

.d_icon{
    width: 25px;
    height: 25px;
    margin: 0 3px 0;
}

.d_input{
    padding: 5px;
    font-weight: bold;
    box-shadow: black 0 2px 5px;
}


.d_scroll{
    flex-grow: 1;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}


/* width */
.d_scroll::-webkit-scrollbar {
    width: 5px;

}
/* Track */
.d_scroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #2874A6;
    border-radius: 10px;
    height: 0; /* Hide the scrollbar track height */

}
/* Handle */
.d_scroll::-webkit-scrollbar-thumb {
    background: #5DADE2;
    border-radius: 10px;
    width: 10px;
}

.ltr{
    direction: ltr;
}

.d_but{
    background-color: #196F3D;
    color: white;
    cursor: pointer;
    padding: 5px 10px 5px;
    margin: 5px;
    font-size: 16px;
    border-radius: 0.5vw;
    box-shadow: 0px 2px 5px black;
    border: 1px solid #28B463;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.d_but_red{
    background-color: #7B241C;
    color: white;
    cursor: pointer;
    padding: 5px 10px 5px;
    margin: 5px;
    font-size: 16px;
    border-radius: 0.5vw;
    box-shadow: 0px 2px 5px black;
    border: 1px solid #CB4335;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.d_pre * {
    white-space: pre
}

.d_orange {
    color: orange;
}

.d_switch{
    font-size: 14px;
    user-select: none;
    cursor: pointer;
    color: white;
    padding: 3px 10px 3px;
    background-color: #424949;
    border: solid 1px  #616A6B;
}
.d_switch.right{
    margin-left: 1px;
    border-top-left-radius: 0vw;
    border-bottom-left-radius: 0vw;
    border-top-right-radius: 1vw;
    border-bottom-right-radius: 1vw;
}
.d_switch.left{
    margin-left: 1px;
    border-top-left-radius: 1vw;
    border-bottom-left-radius: 1vw;
    border-top-right-radius: 0vw;
    border-bottom-right-radius: 0vw;
}

.d_switch.on{
    background-color: #1D8348;
    border: solid 2px #2ECC71;
}
