
@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes AnimationAfterLoadingImg {
    from {
        right: 0;
    }
    to {
        right: 100%;
    }
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent;
}



main, nav, section {
    display: block;
}

body {
    margin: 0;
    font-family: var(--SiteFont);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
}

ul {
    margin-top: 0;
    margin-bottom: 0;
}

b {
    font-weight: bolder;
}

a {
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

img {
    vertical-align: middle;
    border-style: none;
}

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

.container {
    width: 100%;
    padding-right: 15px !important;
    padding-left: 15px !important;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {

    .main .main-content .topics .topics-content .masonry-gallery-item {
        margin-bottom: 10px !important;
    }
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.col-12, .col-md-3, .col-lg-3, .col-lg-12 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .col-md-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-lg-12 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active {
    background-image: none;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #0062cc;
    border-color: #005cbf;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #545b62;
    border-color: #4e555b;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #1e7e34;
    border-color: #1c7430;
}

.btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #117a8b;
    border-color: #10707f;
}

.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active {
    color: #212529;
    background-color: #d39e00;
    border-color: #c69500;
}

.btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #bd2130;
    border-color: #b21f2d;
}

.btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active {
    color: #212529;
    background-color: #dae0e5;
    border-color: #d3d9df;
}

.btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}

.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #1d2124;
    border-color: #171a1d;
}

.btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}

.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

.btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

.btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}

.btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

.btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}

.navbar-toggler:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--BackgroundColorSecound);
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-link:hover {
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-link:focus {
    z-index: 2;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.page-link:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.close:not(:disabled):not(.disabled) {
    cursor: pointer;
}

@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) {
}

@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) {
}

@supports ((-webkit-transform-style: preserve-3d) or (transform-style: preserve-3d)) {
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
}

.mt-0 {
    margin-top: 0 !important;
}

.mr-0 {
    margin-right: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.pl-0 {
    padding-left: 0 !important;
}

@media print {
    *,
    *::before,
    *::after {
        text-shadow: none !important;
        box-shadow: none !important;
    }
    a:not(.btn) {
        text-decoration: underline;
    }
    img {
        page-break-inside: avoid;
    }
   
    body {
        min-width: 992px !important;
    }
    .container {
        min-width: 992px !important;
    }
}

ul {
    padding-right: 0;
}

.main-pt {
    padding-top: 97px
}

* {
    scrollbar-width: thin;
    scrollbar-color: #2b2b2b #d1d1d1;
}

*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: #d1d1d1;
}

*::-webkit-scrollbar-thumb {
    background-color: #2b2b2b;
    border-radius: 20px;
    border: 2px ridge #cccccc;
}


.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}


.pic-masonry-gallery-item {
    transform: translate(-50%, -50%);
    transition: all 0.6s;
    position: absolute;
    bottom: -38%;
    left: 50%;
    z-index: 4;
    width: 75px !important;
    padding: 6px 12px;
}

.masonry-gallery-item:hover .pic-masonry-gallery-item {
    bottom: 0;

}


.stick-menu-item-logo-blog {
    width: 55px;
    max-width: 55px;
}


.main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-description {
    padding:  0;
    text-align: center;
    font-size: 13px;
    line-height: 25px;
    position: relative;


}


.main .main-content .topics .topics-content .masonry-gallery-item {
    max-height: 450px;
    height: 450px;

}

.masonry-gallery-item-description {

    display: flex;
    height: 100%;
    max-height: 26%;

    justify-content: center;
    flex-direction: column-reverse;
}

.shadowAnimation.no-after:before {
    content: none;
}



.shadowAnimation::before {
    content: " ";
    display: block;
    width: 100px;
    height: 100%;
    position: absolute;
    background: linear-gradient(90deg, #fff, #e8e8e870 50%, #fff);
    -webkit-animation: mymove .9s cubic-bezier(.4, 0, .2, 1) infinite;
    animation: AnimationAfterLoadingImg .9s cubic-bezier(.4, 0, .2, 1) infinite
}


.lazy {
    display: block !important;
    overflow: hidden !important;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
    background: #fff;
    color: transparent !important;
}

::-webkit-input-placeholder {
    color: #b2b2b2;

    -webkit-transition: text-indent .5s ease, color .5s ease;
    transition: text-indent .5s ease, color .5s ease;
}

ul {
    list-style: none;

}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.main {
    width: 1300px;
    height: auto;
    background: aliceblue;
    margin: 0 auto;
}

.core-menu li:not(:hover) ul.did-fade-in {
    animation: fade-out 0.5s !important;
    display: block;
}

.stick-logo span {
    color: var(--BackgroundColorSecound);
}

.stick-logo b {
    font-size: 10px;
}

:focus {
    font-weight: 700;
    color: var(--BackgroundColor);
}


:root {
   --BackgroundColor: #4F6B57;
    --BackgroundProductListColor: #737373;
    --BackgroundColorSecound: #f6bc13;
    --SiteFont: iranyekan;
    --btn-success-main-style: #006c0c;
    --HomeSliderHeight: 66vh;
    --AncherTextColor: #404040;
    --AncherTextAARateColor: #707070;
}

body {
    background: #e6e4e48c !important;
    overflow-x: hidden;
    direction: rtl;
    font-family: var(--SiteFont);
    display: inline;
}

ul {
    padding-right: 0;
}

.main-pt {
    padding-top: 97px
}


* {
    scrollbar-width: thin;
    scrollbar-color: #2b2b2b #d1d1d1;
}

*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: #d1d1d1;
}

*::-webkit-scrollbar-thumb {
    background-color: #2b2b2b;
    border-radius: 20px;
    border: 2px ridge #cccccc;
}


.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

::-webkit-input-placeholder {
    color: #b2b2b2;

    -webkit-transition: text-indent .5s ease, color .5s ease;
    transition: text-indent .5s ease, color .5s ease;
}

ul {
    list-style: none;

}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.core-menu li:not(:hover) ul.did-fade-in {
    animation: fade-out 0.5s !important;
    display: block;
}

:focus {
    font-weight: 700;
    color: var(--BackgroundColor);
}




* {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: normal;
}

body {
    background: #f5f5f5 !important;
    direction: rtl;
    overflow-x: hidden;
    font-family: var(--SiteFont), serif;
    display: inline;

}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

@media only screen and (max-width: 1024px) {
    .main-pt {
        padding-top: 109px
    }
}

@media only screen and (max-width: 480px) {

    .main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-detail {

        padding: 27px 12px !important;
    }

    .main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-detail {
        display: flex !important;

    }

    .main .main-content .topics .topics-content .masonry-gallery-item {
        height: 360px !important;
    }

    .main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-detail .popularity-time-to-read {

        line-height: 26px !important;
    }
}



@media (max-width: 450px) {

    .main-content .topics .topics-content {

        margin-top: 5px !important;
    }


    .main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-detail {
        padding: 20px 12px !important;
    }
}

.user-profile-stat-wrapper {
    /*height: 37px;*/
    float: right;
    width: 80%;
}

.user-profile-stat-wrapper span.item-details-author span{
    padding-right: 0 ;
    color: #fff;
    font-size: 12px;
    display: inline-block;padding-top: 7px;
}


.main {
    background-color: #ededed;
    width: 100%;
    float: left;
}

.main-aside {
    padding-top: 23px;
    position: relative;
    width: 70px;
}

.main-aside nav ul.stick-menu {
    width: 100%;
    background-color: #fff;
    color: #979797;
}

.main-aside nav ul.stick-menu li.stick-menu-item {
    display: block;
    text-align: center;
}

.main-aside nav ul.stick-menu li.stick-menu-item:first-child {
    color: #fff;
    background-color: #181842;
    font-size: 16px;
}

.main-aside nav ul.stick-menu li.stick-menu-item a {
    display: block;
    padding: 19px 0 14px;
    color: #fff;
}

.main-aside nav ul.stick-menu li.login-popup-btn {
    border-top: 1px solid #f1f1f1;
    display: flex;
    justify-content: center;
}

.main .main-content {
    padding-top: 0;
    position: relative;

}

.main .main-content .topics {
    width: 100%;
    float: right;
}

.main .main-content .topics .topics-content {
    width: 100%;
    position: relative;
    float: right;
}

.main .main-content .topics .topics-content .masonry-gallery-item {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
    margin-bottom: 10px;
    color: #6b7074;
    float: right;
    overflow: hidden;
    border-radius: 3px;
    max-height: 360px;
    height: 360px;
    position: relative;
}

.main .main-content .topics .topics-content .masonry-gallery-item .image {
    position: relative;
    overflow: hidden;
    max-height: 148px;
    height: 148px;
}

.main .main-content .topics .topics-content .masonry-gallery-item .image a.image-linker img {
    max-width: 100%;
    width: 100%;
}

.main .main-content .topics .topics-content .masonry-gallery-item .image .image-mask {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0;
    pointer-events: none;
    z-index: 3;
    background: -webkit-gradient(linear, left bottom, left top, from(#2f2727), to(transparent));
    background: linear-gradient(to top, #b2c3d2, transparent);
    transition: all .15s;
}

.main .main-content .topics .topics-content .masonry-gallery-item:hover .image .image-mask {
    height: 100%;
    transition: all .15s;
}

.main .main-content .topics .topics-content .masonry-gallery-item .image .image-badge {
    position: absolute;
    top: -33px;
    left: 20px;
    z-index: 4;
    color: #fff;
    background-color: var(--BackgroundColor);
    font-size: 12px;
    padding: 6px 12px;
    transition: all .15s;
    border-radius: 3px 3px 0 0;
    border-bottom: 3px solid var(--BackgroundColorSecound);
}

.main .main-content .topics .topics-content .masonry-gallery-item:hover .image .image-badge {
    top: 20px;
    transition: all .15s;
}

.main .main-content .topics .topics-content .masonry-gallery-item a.masonry-gallery-item-title h2{
    padding: 10px 40px;
    text-align: center;
    font-size: 14px;
    display: block;
    color: #6b7074;
    max-height: 65px;
    height: 65px;
}

.main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-description h3{
    padding: 17px 25px 30px;
    text-align: center;
    font-size: 13px;
    line-height: 25px;
    position: relative;
}

.main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-description::before {
    content: "";
    display: block;
    width: 45px;
    border-top: 2px solid #191879;
    position: absolute;
    top: -2px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-detail {
    display: flex;
    align-items: center;
    font-size: 14px;
    width: 100%;
    background-color: var(--BackgroundColor);
    padding: 0 10px 0 10px !important;
    height: 37px;
    max-height: 37px;
    border-top: 3px solid var(--BackgroundColorSecound);
    margin-top: 16px;
    position: absolute;
    bottom: 0;
}

.main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-detail .popularity-time-to-read {
    color: #fff;
    font-size: 12px;
    margin-top: 5px;
    width: 50%;
    text-align: left;
}

.main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-detail .popularity-time-to-read i {
    font-size: 16px;
    color: #fff;
    margin-left: 5px;
    vertical-align: middle;
    padding-bottom: 5px;
}

.main .main-content .topics .topics-content .masonry-gallery-item .masonry-gallery-item-detail img {
    max-width: 100%;
    width: 30px !important;
    height: 30px;
    border-radius: 50px;
    margin: initial;
    object-fit: contain;
    display: inline-block;
    background-color: #fff;
}

.main-content .topics .topics-content {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 23px;
}

.bg-search {
    background-color: #f6f5f4;
}


.avatar {
    border: 2px solid var(--BackgroundColor);
    padding: 1px;
}
.user-profile-stat-wrapper{
   display: flex;
}