@font-face {
    font-family: "YekanBakhBold";
    src: url("../fonts/YekanBakhBold.ttf?qpggql") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "YekanBakhRegular";
    src: url("../fonts/YekanBakh-Regular.woff?qpggql") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "YekanBakhMedium";
    src: url("../fonts/YekanBakhMedium.ttf?qpggql") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "YekanBakhThin";
    src: url("../fonts/YekanBakhThin.ttf?qpggql") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "YekanBakhHeavy";
    src: url("../fonts/YekanBakhHeavy.ttf?qpggql") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "YekanBakhFat";
    src: url("../fonts/YekanBakhFat.ttf?qpggql") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

img {
    user-select: none;
    max-width: 100%;
}

body {
    direction: rtl;
    font-family: YekanBakhRegular, tahoma, sans-serif;
    text-align: right;
    letter-spacing: 0;
}

main {
    overflow: hidden;
}

header {
    background-color: #ef4056;
}

.page-title {
    font-size: 2rem;
    font-weight: 100;
}

.section {
    padding: 5rem 0;
}

.small-section {
    padding: 5rem 0;
}

.smaller-section {
    padding: 3rem 0;
}

.text-blue {
    color: #4cc5d9;
}

.text-red {
    color: #ef4056;
}

.text-bold-red {
    color: #ef4056;
}

.bg-gray {
    background-color: #f3f3f3;
}

.bg-red {
    background-color: #ef4056;
}

.bg-blue {
    background-color: #4cc5d9;
}

.border-bottom-dashed {
    border-bottom: 3px dashed #ef4056;
}

.border-bottom-dashed.blue {
    border-color: #4cc5d9;
}

.text-justify {
    text-align-last: right;
}

.rtl {
    direction: rtl;
}

.ltr {
    direction: ltr;
}

/** start main-menu **/
.main-menu-container {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    z-index: 99;
    background: #ef4056;
}

.main-menu-container a {
    color: #fff;
}

/** end main-menu **/

/** start population chart **/
.population {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pop-row {
    display: flex;
}

.pop-row:nth-child(1) .pop-item:nth-child(n),
.pop-row:nth-child(2) .pop-item:nth-child(n),
.pop-row:nth-child(3) .pop-item:nth-child(n),
.pop-row:nth-child(4) .pop-item:nth-child(n + 9),
.pop-row:nth-child(0) .pop-item {
    color: #fff !important;
}

.pop-row .pop-item {
    margin: 0.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    color: #ef4056;
}

.pop-row .pop-item > [class*="fa-"] {
    width: 100%;
    height: 100%;
}

.pop-row .pop-item > [class*="fa-"] path {
    stroke: #fff;
    stroke-width: 35;
}

.pop-indicators {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.pop-indicators-icon {
    width: 35px;
    height: 35px;
}

.pop-indicators-icon > [class*="fa-"] {
    width: 100%;
    height: 100%;
}

.pop-indicators-icon path {
    stroke: #fff;
    stroke-width: 35;
}

.pop-indicators-item {
    display: flex;
    align-items: center;
    margin-left: 0.8rem;
}

.pop-indicators-text {
    margin: 0.5rem 0.5rem 0 0;
}

/** end population chart **/
/** start info box + icon + multiline **/
.infobox {
    color: #414042;
    margin: 1rem 0;
}

.infobox_content {
    display: inline-flex;
    height: 100%;
    justify-content: right;
    align-items: center;
    padding: 1rem 0.5rem 1rem 1.1rem;
    min-height: 42px;
    border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -webkit-border-radius: 7px 7px 7px 7px;
    border: 3px solid #4cc5d9;
}

.infobox_icon {
    width: 35px;
    min-width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.infobox_text {
    display: flex;
    text-align: justify;
    text-align-last: right;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
    margin-right: 1rem;
    font-size: 1.3rem;
}

/** end info box + icon + multiline **/
/** start counter **/
.counter {
    color: #fff;
    font-size: 1.2rem;
    margin: 1rem 0;
    text-decoration: none;
}

.counter:hover {
    color: #fff;
    text-decoration: none;
}

.counter:hover span {
    text-decoration: none;
}

.counter_content {
    background: #f3f3f3;
    color: #414042;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.1rem 0.7rem 1.1rem;
    min-height: 42px;
    border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -webkit-border-radius: 7px 7px 7px 7px;
    border: 0;
}

.bg-red .counter_content,
.bg-blue .counter_content {
    border: none;
    background: #fff;
}

.bg-red .counter_icon,
.bg-blue .counter_icon {
    color: #ef4056;
}

.bg-red .counter_text,
.bg-blue .counter_text {
    color: #000;
}

.bg-red .counter_text small,
.bg-blue .counter_text small {
    color: #ef4056;
}

.counter_icon {
    width: 20%;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 48px;
}

.counter_icon > [class*="fa-"] {
    width: 100%;
    height: 100%;
    max-height: 48px;
    background-color: none;
    color: #ef4056;
}

.counter_text {
    width: 80%;
    display: flex;
    justify-content: right;
    flex-direction: column;
    align-content: right;
    align-items: right;
    white-space: nowrap;
    margin-right: 1em;
}

.counter_text > span {
    font-size: 1.4rem;
    text-decoration: none;
}

.counter_text > small {
    font-size: 0.9rem;
    text-align: right;
}

.counter_fact {
    font-weight: 1.4rem;
}

.counter_extra {
    margin-top: 0.3rem;
    font-size: 1rem;
}

/** end counter **/
/** start parallax **/
.parallax {
    position: relative;
    background-color: #0000;
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
    background-size: cover;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bordered-title {
    position: relative;
}
.bordered-title:before {
    content: " ";
    position: absolute;
    bottom: 0px;
    background: #ef4056;
    width: 255px;
    height: 1px;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media (max-width: 576px) {
    .parallax {
        min-height: 300px;
    }
}

.parallax > .section,
.parallax > .small-section,
.parallax > .smaller-section {
    position: relative;
    z-index: 2;
}

.parallax:after {
    content: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*background-color: #0007;*/
    z-index: 1;
}

/** end parallax **/
/** start digikala group **/
.digikala_group {
    background-color: #fff;
}

.digikala_group_chart p.h4 {
    font-weight: bold;
}

.dk_group_image,
.dk_group_image_small {
    border: 2px solid #77787b;
    padding: 1rem;
    border-radius: 10px;
    transition: border-color 0.5s;
}

.dk_group_image_small {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.dk_group_image_small img {
    max-height: 50px;
}

.dk_group_image:hover,
.dk_group_image_small:hover {
    border-color: #4cc5d9;
}

.digikala_group_image {
    display: none;
}

.report_icon-roof p {
    position: relative;
    font-size: 2.5rem;
    font-weight: 900;
    z-index: 2;
    top: -45px;
    color: #fff;
}

.report_icon-roof i {
    position: relative;
    font-size: 2.5rem;
    z-index: 2;
    top: -40px;
    color: #fff;
}

.report_icon-roof img {
    position: relative;
    width: 20%;
    z-index: 2;
    top: -40px;
    color: #fff;
}

.digikala_group_list {
    -ms-overflow-style: scrollbar;
    -webkit-overflow-scrolling: touch;
    overflow-x: scroll;
}

.digikala_group_list::-webkit-scrollbar {
    display: block;
}

@media only screen and (max-width: 6 1200px) {
    .digikala_group_list {
        overflow-x: scroll;
    }

    .digikala_group_list::-webkit-scrollbar {
        display: block;
    }

    .report_icon-roof p {
        top: -32px;
    }

    .report_icon-roof img {
        top: -32px;
    }

    .china1 {
        display: block;
    }

    .china2 {
        display: none;
    }
}

@media only screen and (max-width: 850px) {
    .report_icon-roof p {
        top: -25px;
    }

    .report_icon-roof img {
        top: -25px;
    }

    .digikala_group_list::-webkit-scrollbar {
        display: block;
    }

    .digikala_group_list {
        -ms-overflow-style: scrollbar;
    }

    .china1 {
        display: block;
    }

    .china2 {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .report_icon-roof p {
        top: -14px;
    }

    .report_icon-roof img {
        top: -14px;
    }

    .china1 {
        display: none;
    }

    .china2 {
        display: block;
    }
}

/** end digikala group **/
/** start chart **/
.chart {
    position: relative;
    width: 100%;
    height: auto;
}

.chart.which-tools-use {
    min-height: 50vh;
}

.chart.total-sell-increase {
    min-height: 50vh;
}

.electronic-part-share-chart {
    max-width: 375px;
    direction: ltr;
    text-align: left;
}

/** end chart **/
/**  start coding hero section **/
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero_content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero_overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #0000;
    transition: background-color 0.3s;
}

.hero_scroll {
    color: #fff;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/**  end coding hero section **/

/** start red bubble **/
.bubble {
    background: #f3f3f3;
    color: #414042;
    border: 0;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    display: inline-block;
    padding: 1.5rem 3rem;
}

.bubble.bubble-opacity {
    background: transparent;
    border: 5px solid #ef4056;
}

.bubble small {
    font-size: 1.1rem;
}

.bubble p {
    margin: 0;
    text-align: right;
    font-size: 1.5rem;
    font-weight: 700;
}

/** end red bubble **/
/** start product carousel **/
.p-carousel_item {
    padding: 1rem;
    margin: 1rem 0.7rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.p-carousel_item:hover {
    transform: scale(1.05);
    -webkit-box-shadow: 0 0 5px 0 #c2c2c2;
    -moz-box-shadow: 0 0 5px 0 #c2c2c2;
    box-shadow: 0 0 5px 0 #c2c2c2;
}

.p-carousel_inner {
    display: block;
    text-decoration: none;
    color: #414042;
}

.p-carousel_inner:hover,
.p-carousel_inner:focus {
    text-decoration: none;
    color: #414042;
}

.p-carousel_badge {
    color: #fff;
    background: #ef4056;
    border-radius: 7px 7px 7px 7px;
    -moz-border-radius: 7px 7px 7px 7px;
    -webkit-border-radius: 7px 7px 7px 7px;
    display: inline-block;
    padding: 0.1rem 1rem 0 1rem;
    margin-bottom: 0.7rem;
    margin-top: 0.5rem;
}

.p-carousel_badge .h6 {
    margin: 0;
}

.p-carousel_title {
    overflow: hidden;
    max-height: 45px;
}

/** end product carousel **/
/** start description-box **/
.description-box {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 0.7rem 1.1rem;
    border: 5px solid #4cc5d9;
    border-radius: 12px;
}

.description-box__desc {
    color: #ef4056;
    font-size: 1.8rem;
    font-weight: 900;
}

/** end description-box **/

.footer {
    background-color: #333;
}
