
body {
    background-color: #f8f8f8;
}
footer {
    background-color: #FFF
}
.main_case .case_card .card_body .card_text{
    font-weight: 600;
    text-align: center;
}

.main_case .case_card .card_body {
    padding: 40px;
    height: auto;
    min-height: unset;
}



/****************************************  Start Other Cases Section */

section.other_cases.noBackground {
    background-color: transparent;
    padding: 40px 0;

}
  section.other_cases.noBackground::before {
    display: none;  
  }
  
  section.other_cases.noBackground::after {
    display: none;
  }
  
  
.other_cases {
    position: relative;
    z-index:0
}
.other_cases .item {
    position: relative;
    z-index: 1;
}
.other_cases .card_body {
    height: 550px;
    box-shadow: 0 6px 50px -30px #13c6e287;
}

.other_cases.noBackground .card_body {
    height: 640px;
}


section.other_cases.noBackground {
    padding: 40px 0 40px;
}

.other_cases ul.chart_1_list  {
    font-family: Almarai-Regular;
    list-style-type: none;
    padding: 30px;
    
}

.other_cases ul.chart_1_list li  {
    display: flex;
    justify-content:space-between;
    margin-bottom: 10px;
}
.other_cases ul.chart_1_list li span.legend,
.other_cases ul.chart_2_list li span.legend   {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #333;
    border-radius: 50%;
    margin-left: 15px;
}
.other_cases ul.chart_1_list li span.percentage  {
    margin-left: 10px;
}
.other_cases ul.chart_1_list li span.legend_holder{
    display: inline-flex;
    align-items: center;
}

.other_cases ul.chart_2_list {
    font-family: Almarai-Regular;
    padding: 40px;
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    margin-top: 60px;   
}

.other_cases ul.chart_2_list li {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.other_cases ul.chart_2_list li span.percentage{
    position: absolute;
    top: -45px;
    right: 8px;
    font-size: 24px;
    font-weight: bold;
}
section.other_cases::before {
    top: -40%;
    height: 150%;
}

.other_cases ul.chart_5_list {
    padding: 30px 20px;
    margin-top: 60px;
}

.other_cases ul.chart_6_list{
    display: flex;
    justify-content: space-between;
    padding: 30px 30px 0;
    margin: 0   
}
.other_cases ul.chart_6_list:first-of-type {
    margin-top: 60px;
}
.other_cases ul.chart_6_list li {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 0;
    flex-grow: 0;
    text-align: center;
}
.other_cases ul.chart_6_list li span.legend {
    margin: 0;
    margin-bottom: 10px;
}
.other_cases ul.chart_6_list li span.percentage{
    margin: 0;
}

.main_case.chart_7 {
    margin-bottom: 100px;
}

.main_case.chart_7 ul.chart_1_list  {
    font-family: Almarai-Bold ;
    list-style-type: none;
    padding: 30px;
    display: flex;
    justify-content: center;
    margin-top: -80px;
}

.main_case.chart_7 ul.chart_1_list li  {
    display: inline-flex;
    align-items: center;
    margin-left: 30px;
}
.main_case.chart_7 ul.chart_1_list li span.legend,
.main_case.chart_7 ul.chart_2_list li span.legend   {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #333;
    border-radius: 50%;
    margin-left: 15px;
}

  /****************************************  End Other Cases Section */
/***************************************** Start Media */

/*Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {
    .item .case_card .card_header h5 {
        font-size: 16px;
    }
    .main_case .case_card .card_body .card_text {
        font-size: 24px;
    }
    .other_cases ul.chart_1_list,
    .other_cases ul.chart_2_list {
        font-size: 14px;
    }
    .other_cases ul.chart_2_list li span.percentage {
        right: 5px;
        font-size: 22px;
    }
    .other_cases ul.chart_1_list {
        padding: 30px 25px;
    }
    .other_cases .card_body {
        height: 480px
    }
    .other_cases.noBackground .card_body {
        height: 600px
    }

    .main_case.chart_7 .case_card .card_header h2 {
        font-size: 26px;
    }
}
/*Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
    .item .case_card .card_header h5 {
        font-size: 20px;
    }
    section.other_cases::before {
        width: 125%;
        height: 70%;
        top: -18%;
    }
    section.other_cases::after {
        height: 25%;
        bottom: 40%


    }
    section.other_cases > span.other_cases_bg {
        bottom: 50%;
    }
    .other_cases .item.last-of-type {
        margin-top: 40px;
    }
    .other_cases .item.last-of-type .case_card .card_body {
        height: 580px;
    }
    .other_cases.other_cases.noBackground .item.last-of-type .case_card .card_body {
        height: 680px;
        
    }
    .other_cases ul.chart_6_list{
        justify-content: space-around;
    }
    .other_cases ul.chart_6_list:first-of-type {
        margin-top: 30px;
    }
    .main_case.chart_7 ul.chart_1_list {
        margin-top: -40px;
        font-size: 14px;
    }
}

/*Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {
    section.other_cases::before,
    section.other_cases::after,
    section.other_cases > span.other_cases_bg {
        display: none;
    }
    section.other_cases.noBackground {
        padding: 0;
    }

    .other_cases .item {
        margin-bottom: 40px;
    }
    .other_cases .item.last-of-type {
        margin-top:0;
    }
    .other_cases .card_body {
        height: 630px;
    }   

    .other_cases.other_cases.noBackground .item.last-of-type .case_card .card_body {
        height: 710px;
    }
    .other_cases .item.last-of-type .case_card .card_body {
        height: 640px;
    }
    .other_cases.noBackground .card_body {
        height: 730px;
    }
    .main_case.chart_7 .case_card .card_header h2 {
        font-size: 18px;
    }
    .main_case.chart_7 ul.chart_1_list{
        padding: 30px 0;
        margin-top: -10px;
        margin-bottom: 0;
    }
    .main_case.chart_7 ul.chart_1_list li{
        margin-left: 16px;
        font-size: 12px;
    }
    .main_case.chart_7 .case_card .card_body {
        padding: 40px 0
    }
    
}

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
}

@media (max-width: 476px) {
}

@media (max-width: 380px) {
}

/****************************************** End Media */
