/* =====================================================
   ALMOALLAM PROJECTS
===================================================== */

.almoallam-projects {
    width: 100%;
}

/* =====================================================
   PROJECT Title
===================================================== */

.almoallam-projects-intro{
	padding-top:40px;
	padding-bottom:40px;
}

.almoallam-projects-title {
	text-align:center !important;
	margin-bottom:0px;
}

.almoallam-projects-subtitle{
		text-align:center !important;
	text-transform:uppercase;
	color:#DF6D28;
font-family: var(--wd-title-font) !important;
	font-weight: 500 !important;
}

/* =====================================================
   PROJECT CATEGORY HERO
===================================================== */

.almoallam-projects-heroes {
    position: relative;

    width: 100vw;
    max-width: none;

    left: 50%;

    margin-left: -50vw;
    margin-right: -50vw;

    overflow: hidden;
}


/* =====================================================
   INDIVIDUAL HERO
===================================================== */

.almoallam-projects-hero {
    width: 100%;
    margin: 0;
}


/* Hide inactive category heroes */

.almoallam-projects-hero[hidden] {
    display: none !important;
}


/* Active category hero */

.almoallam-projects-hero.is-active {
    display: block;
}


/* =====================================================
   HERO IMAGE
===================================================== */

.almoallam-projects-hero-image {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    object-fit: cover;
}


/* =====================================================
   DESKTOP CATEGORY FILTER
===================================================== */

.almoallam-projects-filter {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-bottom: 32px;
    background: #fff;

}

/* =====================================================
   FULL SCREEN FILTER DIVIDER
===================================================== */

.almoallam-projects-filter::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 100vw;
    height: 1px;

    background: #d7d9dc;

    transform: translateX(-50%);

    z-index: 1;
}


/* =====================================================
   CATEGORY BUTTON
===================================================== */

.almoallam-projects-filter-button {
    appearance: none;
    -webkit-appearance: none;

    position: relative;

    flex: 1 1 0;

    min-width: 0;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px 14px !important;
    margin: 0;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #c9cbce;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 1.25 !important;
    text-align: center;
text-transform: none !important;
    cursor: pointer;
color:#d1d2d4 !important;
    transition: color 0.25s ease;
}


/* =====================================================
   REMOVE THEME BUTTON EFFECTS
===================================================== */

.almoallam-projects-filter-button:hover,
.almoallam-projects-filter-button:focus,
.almoallam-projects-filter-button:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none;
}


/* =====================================================
   HOVER
===================================================== */

.almoallam-projects-filter-button:hover {
    color: #9fa3a7;
}


/* =====================================================
   ACTIVE CATEGORY
===================================================== */

.almoallam-projects-filter-button.is-active {
    color: #df6c27 !important;
    background: transparent !important;
}


/* =====================================================
   ACTIVE ORANGE LINE
===================================================== */

.almoallam-projects-filter-button.is-active::after {
    content: "";

    position: absolute;

    left: 12%;
    right: 12%;
    bottom: -1px;

    height: 4px;

    background: #e96f2d;

    z-index: 2;
}


/* =====================================================
   MOBILE FILTER
===================================================== */

.almoallam-projects-mobile-filter {
    display: none;
}


/* =====================================================
   DESKTOP TABLE WRAPPER
===================================================== */

.almoallam-projects-table-wrap {
    width: 100%;
    border:1px solid #d7d7d7;
    -webkit-box-shadow: -2px 9px 21px -9px rgba(0,0,0,0.59); 
box-shadow: -2px 9px 21px -9px rgba(0,0,0,0.59);
}


/* =====================================================
   DESKTOP TABLE
===================================================== */

.almoallam-projects-table {
    width: 100%;
    margin: 0;

    border: 0;
    border-collapse: collapse;
    border-spacing: 0;

    table-layout: fixed;
}


/* =====================================================
   TABLE HEADER
===================================================== */

.almoallam-projects-table thead {
    background: #023958;
}

.almoallam-projects-table th {
    height: 60px;

    padding: 12px 15px;

    border: 0;
    border-right: 1px solid #02314b;

    background: #023958;
    color: #fff;
font-family: var(--wd-alternative-font);
    font-size: 16px;

    line-height: 1.25;
    text-align: center;
    vertical-align: middle;
}

.almoallam-projects-table th:last-child {
    border-right: 0;
}


/* =====================================================
   TABLE COLUMNS
===================================================== */

.almoallam-projects-table th:nth-child(1),
.almoallam-projects-table td:nth-child(1) {
    width: 17%;
}

.almoallam-projects-table th:nth-child(2),
.almoallam-projects-table td:nth-child(2) {
    width: 27%;
}

.almoallam-projects-table th:nth-child(3),
.almoallam-projects-table td:nth-child(3) {
    width: 13%;
}

.almoallam-projects-table th:nth-child(4),
.almoallam-projects-table td:nth-child(4) {
    width: 11%;
}

.almoallam-projects-table th:nth-child(5),
.almoallam-projects-table td:nth-child(5) {
    width: 16%;
}

.almoallam-projects-table th:nth-child(6),
.almoallam-projects-table td:nth-child(6) {
    width: 11%;
}

.almoallam-projects-table th:nth-child(7),
.almoallam-projects-table td:nth-child(7) {
    width: 12%;
}

.almoallam-projects-table th:nth-child(8),
.almoallam-projects-table td:nth-child(8) {
    width: 12%;
}


/* =====================================================
   TABLE BODY
===================================================== */

.almoallam-projects-table tbody tr {
    background: #fff;
}

.almoallam-projects-table tbody tr:nth-child(even) {
    background: #f4f4f4;
}

.almoallam-projects-table td {
    min-height: 80px;

    padding: 17px 15px;

    border: 0;
    border-right: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;

    color: #414042;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    text-align: center;
    vertical-align: middle;

    overflow-wrap: anywhere;
}

.almoallam-projects-table td:last-child {
    border-right: 0;
}


/* =====================================================
   PROJECT NAME
===================================================== */

.almoallam-projects-table td.almoallam-project-name {
    font-weight: 500;
}


/* =====================================================
   CLIENT LOGO
===================================================== */

.almoallam-project-client-logo {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.almoallam-project-client-logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 55px;
    object-fit: contain;
}


/* =====================================================
   HIDDEN FILTERED ITEMS
===================================================== */

.almoallam-project-row[hidden],
.almoallam-project-card[hidden] {
    display: none !important;
}


/* =====================================================
   MOBILE PROJECTS
===================================================== */

.almoallam-projects-mobile {
    display: none;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 1024px) {

    /* =================================================
       HIDE DESKTOP
    ================================================= */

    .almoallam-projects-filter,
    .almoallam-projects-table-wrap {
        display: none;
    }


    /* =================================================
       MOBILE CATEGORY SELECT
    ================================================= */

    .almoallam-projects-mobile-filter {
        position: relative;

        display: block;

        width: 100%;
        margin-bottom: 24px;
    }

    .almoallam-projects-mobile-filter::after {
        content: "";

        position: absolute;
        top: 50%;
        right: 20px;

        width: 8px;
        height: 8px;

        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;

        transform:
            translateY(-70%)
            rotate(45deg);

        pointer-events: none;
    }

    .almoallam-projects-mobile-select {
        appearance: none;
        -webkit-appearance: none;

        display: block;

        width: 100%;
        height: 58px;

        margin: 0;
        padding: 0 50px 0 20px;

        border: 0;
        border-radius: 0;

        outline: none;

        background: #26343e;
        color: #fff;

        font: inherit;
        font-size: 15px;
        font-weight: 500;

        cursor: pointer;
    }


    /* =================================================
       MOBILE PROJECT LIST
    ================================================= */

    .almoallam-projects-mobile {
        display: block;
    }


    /* =================================================
       PROJECT CARD
    ================================================= */

    .almoallam-project-card {
        width: 100%;

        margin-bottom: 20px;

        border: 1px solid #e1e1e1;

        background: #fff;
    }

    .almoallam-project-card:last-child {
        margin-bottom: 0;
    }


    /* =================================================
       CLIENT LOGO
    ================================================= */

    .almoallam-project-card-logo {
        min-height: 100px;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        padding: 20px;

        border-bottom: 1px solid #e4e4e4;
    }

    .almoallam-project-card-logo img {
        display: block;

        width: auto;
        height: auto;

        max-width: 130px;
        max-height: 60px;

        object-fit: contain;
    }


    /* =================================================
       PROJECT TITLE
    ================================================= */

    .almoallam-project-card-title {
        padding: 18px 20px;

        border-bottom: 1px solid #e4e4e4;

        color: #20252a;

        font-size: 17px;
        font-weight: 600;
        line-height: 1.4;
    }


    /* =================================================
       DETAILS
    ================================================= */

    .almoallam-project-card-details {
        padding: 20px;
    }

    .almoallam-project-card-field {
        margin-bottom: 20px;
    }

    .almoallam-project-card-field:last-child {
        margin-bottom: 0;
    }


    /* =================================================
       DURATION / TIMELINE ROW
    ================================================= */

    .almoallam-project-card-row {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;

        margin-bottom: 20px;
    }

    .almoallam-project-card-row
    .almoallam-project-card-field {
        margin-bottom: 0;
    }


    /* =================================================
       LABEL
    ================================================= */

    .almoallam-project-card-label {
        margin-bottom: 5px;

        color: #777;

        font-size: 15px;
        font-weight: 600;
        line-height: 1.3;

        text-transform: uppercase;
    }


    /* =================================================
       VALUE
    ================================================= */

    .almoallam-project-card-value {
        color: #20252a;

        font-size: 14px;
        font-weight: 400;
        line-height: 1.45;
    }

}