﻿.en {
    direction: ltr;
}

.ar {
    direction: rtl;
}

.service-card {
    display: flex;
    padding: 10px;
    background-color: #f3f3f3;
    border-radius: 2px;
    color: #4a9bbb;
}

.service-card-title {
    font-size: 2.4rem;
    font-weight: 500;
}

.service-container {
    padding: 10px;
    margin-top: 10px;
    background-color: #f3f3f3;
    border-radius: 2px;
    color: #4a9bbb;
}

.service-container-width {
    width: 80%;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    color: inherit;
}

.service-title {
    font-weight: 600;
    color: #be1e2d;
}

    .service-title img {
        height: 50px;
        width: 50px;
    }

.service-action {
    padding: 10px 20px;
    text-align: center;
    border-radius: 14px;
    background-color: #be1e2d;
    color: white;
    font-weight: 600;
}

.mr-30 {
    margin-right: 30px !important;
}

.ml-30 {
    margin-left: 30px !important;
}

.f20 {
    font-size: 2.2rem;
}

.f18 {
    font-size: 1.8rem;
}

.service-action > a:hover {
    color: #ffffff;
}

.service-description {
    padding: 20px 10px;
    color: #115570;
}

    .service-description p {
        text-align: justify;
    }

.service-tab-container {
    margin-top: 10px;
    color: #155da7;
    margin-bottom: 50px;
}

.tab-container-width {
    width: 75%;
}

.service-tab-container .nav-tabs {
    width: 100%;
    display: flex;
}

    .service-tab-container .nav-tabs > li {
        width: 33.33%;
    }

        .service-tab-container .nav-tabs > li > a {
            width: 100%;
            text-align: center;
            font-weight: 600;
            color: #155da7;
        }

        .service-tab-container .nav-tabs > li.active > a {
            border-bottom: 2px solid #b11725;
        }

.service-tab-container .tab-content {
    padding: 20px 10px;
    border: 1px solid #e2dbdb;
    color: #115570;
    font-size: 15px;
    min-height: 360px;
}

    .service-tab-container .tab-content > ol > li {
        padding: 10px;
    }


.service-prop-width {
    width: 50%;
}

.service-group-box {
    width: 100%;
    padding: 5px;
}

.service-group-title {
    border-bottom: 1px solid #e2dbdb;
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #b11725;
}

.service-group-description {
    padding: 10px;
    font-size: 15px;
    font-weight: 500;
}

.service-prop {
    display: flex;
    flex-direction: column;
    background-color: white;
    height: auto;
    border-radius: 2px;
    border: 1px solid #07070721;
    padding: 10px;
}

.service-prop-en {
    box-shadow: #a7a5a5 -6px 5px 20px 0px;
    position: absolute;
    top: 0;
    z-index: 9000;
    right: 0;
    margin-right: -270px;
    margin-top: 75px;
}

.service-prop-ar {
    box-shadow: #a7a5a5 7px 1px 20px 0px;
    position: absolute;
    top: 0;
    z-index: 9000;
    left: 0;
    margin-left: -270px;
    margin-top: 75px;
}

@media (max-width: 767px) {
    .service-container-width {
        width: 100%;
    }

    .tab-container-width {
        width: 100%;
    }

    .service-prop-width {
        width: 100%;
    }

    .f20 {
        font-size: 16px;
    }

    .f18 {
        font-size: 15px;
    }

    .service-prop-en {
        box-shadow: none;
        position: relative;
        top: 0;
        z-index: 9000;
        right: unset;
        margin-right: unset;
        margin-top: unset;
    }

    .service-prop-ar {
        box-shadow: none;
        position: relative;
        top: 0;
        z-index: 9000;
        left: unset;
        margin-left: unset;
        margin-top: unset;
    }

    .service-header {
        display: flex;
        justify-content: space-between;
        align-items: start;
        padding: 10px;
        flex-direction: column;
        color: inherit;
    }

    .service-action {
        margin-top: 10px;
    }

    .service-tab-container .nav-tabs > li {
        width: unset;
    }

    .service-tab-container {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .service-container-width {
        width: 60%;
    }

    .tab-container-width {
        width: 60%;
    }

    .service-prop-width {
        width: 40%;
    }

    .f20 {
        font-size: 16px;
    }

    .f18 {
        font-size: 15px;
    }

    .service-header {
        display: flex;
        justify-content: space-between;
        align-items: start;
        padding: 10px;
        flex-direction: column;
        color: inherit;
    }

    .service-action {
        margin-top: 10px;
    }

    .service-tab-container .nav-tabs > li {
        width: unset;
    }

    .service-prop-en {
        margin-right: unset;
    }

    .service-prop-ar {
        margin-left: unset;
    }
}

/* For 1366 Resolution */
@media only screen and (min-width: 1025px) and (max-width: 1200px) {
    .service-container-width {
        width: 60%;
    }

    .tab-container-width {
        width: 60%;
    }

    .service-prop-width {
        width: 40%;
    }

    .f20 {
        font-size: 16px;
    }

    .f18 {
        font-size: 15px;
    }

    .service-header {
        display: flex;
        justify-content: space-between;
        align-items: start;
        padding: 10px;
        flex-direction: column;
        color: inherit;
    }

    .service-action {
        margin-top: 10px;
    }
    .service-prop-en {
        margin-right: 0px;
    }
    .service-prop-ar {
        margin-left: 0px;
    }   
}

@media only screen and (min-width: 1201px) and (max-width: 1366px) {
    .service-container-width {
        width: 61%;
    }

    .tab-container-width {
        width: 61%;
    }

    .service-prop-width {
        width: 40%;
    }

    .f20 {
        font-size: 16px;
    }

    .f18 {
        font-size: 15px;
    }

    .service-header {
        display: flex;
        justify-content: space-between;
        align-items: start;
        padding: 10px;
        flex-direction: column;
        color: inherit;
    }

    .service-action {
        margin-top: 10px;
    }

    .service-prop-en {
        margin-right: -4px;
    }

    .service-prop-ar {
        margin-left: -4px;
    }

    .service-group-description {
        padding: 10px;
    }
}
@media only screen and (min-width: 1367px) and (max-width: 1500px) {
    .service-container-width {
        width: 69%;
    }

    .tab-container-width {
        width: 68%;
    }

    .service-prop-width {
        width: 40%;
    }

    .f20 {
        font-size: 18px;
    }

    .f18 {
        font-size: 15px;
    }

    .service-header {
        display: flex;
        justify-content: space-between;
        align-items: start;
        padding: 10px;
        flex-direction: column;
        color: inherit;
    }

    .service-action {
        margin-top: 10px;
    }

    .service-prop-en {
        margin-right: -77px;
    }

    .service-prop-ar {
        margin-left: -77px;
    }  
    .service-group-description {
        padding: 10px;
    }
}