
@font-face {
    font-family: pdr_font;
    src: url('font/samim/Samim-FD.eot');
    src: url('font/samim/Samim-FD.eot?#iefix') format('samim-opentype'), url('font/samim/Samim-FD.woff') format('woff'), url('font/samim/Samim-FD.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* =========================================================
       GLOBAL
       ========================================================= */

* {
    font-family: pdr_font;
    font-size: 14px;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    width: 99%;
    margin: 0 auto;
    direction: ltr;
    background: radial-gradient(circle at top right, rgba(52, 86, 129, 0.08), transparent 32%), radial-gradient(circle at bottom left, rgba(111, 168, 220, 0.06), transparent 30%), #f5f7fb;
    color: #27364b;
}


/* =========================================================
       MAIN CONTAINER
       ========================================================= */

#form1 {
    width: 100%;
    padding: 28px 10px 40px;
}

    #form1 > div {
        width: 100%;
    }


    /* =========================================================
       TABLE WRAPPER
       ========================================================= */

    #form1 table {
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0;
    }

        #form1 table tr:first-child td {
            padding: 0;
    text-align: right;
}


/* =========================================================
       GRIDVIEW
       ========================================================= */

#PList {
    width: 99% !important;
    margin: 0 auto;
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(31, 45, 61, 0.08), 0 2px 8px rgba(31, 45, 61, 0.04);
    border: 1px solid rgba(30, 55, 90, 0.07) !important;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

    #PList:hover {
        box-shadow: 0 18px 45px rgba(31, 45, 61, 0.11), 0 3px 10px rgba(31, 45, 61, 0.05);
    }


    /* =========================================================
       HEADER
       ========================================================= */

    #PList th {
        background: #2b4f75;
        color: #ffffff !important;
        font-weight: normal !important;
        font-size: 14px !important;
        height: 52px;
        padding: 13px 18px !important;
        text-align: right !important;
        border: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.10) !important;
        white-space: nowrap;
        letter-spacing: 0.1px;
        position: relative;
    }

        #PList th:first-child {
            border-top-left-radius: 18px;
        }

        #PList th:last-child {
            border-top-right-radius: 18px;
        }

        #PList th span {
            color: #ffffff !important;
            font-size: 14px !important;
        }


    /* =========================================================
       ROWS
       ========================================================= */

    #PList tr {
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    #PList td {
        padding: 14px 18px !important;
        border: none !important;
        border-bottom: 1px solid #edf0f5 !important;
        color: #394b63;
        line-height: 1.9;
        vertical-align: middle;
        background: #ffffff;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
    }


    /* Normal rows */

    #PList tr:not(.pagination):not(:first-child):hover td {
        background: #f7faff !important;
    }


    /* Alternating rows */

    #PList tr:nth-child(even) td {
        background: #fbfcfe;
    }

    #PList tr:nth-child(even):hover td {
        background: #f5f9ff !important;
    }


    /* =========================================================
       FORM TITLE
       ========================================================= */

    #PList td:nth-child(3) {
        color: #263f61;
        font-weight: bold;
    }


    /* =========================================================
       FORM DESCRIPTION
       ========================================================= */

    #PList td:nth-child(2) p {
        margin: 0;
        color: #66758a;
        font-size: 13px;
        line-height: 2;
        cursor: pointer;
        transition: color 0.2s ease;
    }

    #PList tr:hover td:nth-child(2) p {
        color: #3f5875;
    }


    /* =========================================================
       DOWNLOAD COLUMN
       ========================================================= */

    #PList td:first-child {
        text-align: right !important;
        width: 80px;
        padding-right: 20px !important;
    }

        #PList td:first-child img {
            width: 22px !important;
            height: 22px !important;
            display: inline-block;
            vertical-align: middle;
            border-radius: 7px;
            transition: transform 0.2s ease, filter 0.2s ease;
        }

            #PList td:first-child img:hover {
                transform: scale(1.12);
                filter: drop-shadow(0 4px 7px rgba(52, 86, 129, 0.25));
            }


    /* =========================================================
       SELECTED ROW
       ========================================================= */

    #PList .selected-row td,
    #PList tr.selected td {
        background: #f1f8e8 !important;
    }


    /* =========================================================
       EMPTY DATA
       ========================================================= */

    #PList .empty-data,
    #PList td[colspan] {
        padding: 35px !important;
        text-align: center;
        color: #718096 !important;
        background: #ffffff !important;
        font-size: 14px;
    }


    /* =========================================================
       PAGINATION
       ========================================================= */

    #PList .pagination {
        background: #ffffff !important;
        height: 58px;
        text-align: center !important;
        border-top: 1px solid #edf0f5 !important;
    }

        #PList .pagination td {
            background: #ffffff !important;
            padding: 12px !important;
            border: none !important;
            text-align: center !important;
        }

.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    margin: 2px;
    border-radius: 9px;
    background: #345681;
    color: #ffffff !important;
    font-size: 13px !important;
    box-shadow: 0 4px 10px rgba(52, 86, 129, 0.16);
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    margin: 2px;
    border-radius: 9px;
    background: #f1f4f8;
    color: #4c6078 !important;
    text-decoration: none;
    font-size: 13px !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .pagination a:hover {
        background: #345681;
        color: #ffffff !important;
        transform: translateY(-1px);
        box-shadow: 0 5px 12px rgba(52, 86, 129, 0.18);
    }


/* =========================================================
       FOOTER
       ========================================================= */

#PList tfoot td {
    background: #ffffff;
    border: none;
}


/* =========================================================
       OLD ASP.NET STYLES OVERRIDE
       ========================================================= */

#PList .RowStyle,
#PList .AlternatingRowStyle,
#PList .HeaderStyle,
#PList .PagerStyle,
#PList .FooterStyle {
    border: none !important;
}


/* =========================================================
       RESPONSIVE
       ========================================================= */

@media (max-width: 768px) {

    body {
        width: 100%;
    }

    #form1 {
        padding: 15px 5px 25px;
    }

    #PList {
        width: 100% !important;
        border-radius: 12px;
    }

        #PList th {
            height: 39px;
            padding: 10px 12px !important;
            font-size: 13px !important;
        }

        #PList td {
            padding: 11px 12px !important;
            font-size: 13px;
        }

            #PList td:nth-child(2) p {
                font-size: 12px;
            }
}


/* =========================================================
       SHOW / HIDE
       ========================================================= */

.show {
    display: inline;
}

.hide {
    display: none;
}

form#form1 input[type="text"],
form#form1 input[type="password"] {
    height: 42px !important;
    width: 260px !important;
    padding: 7px 13px !important;
    background: #fbfcfe !important;
    color: #34495e !important;
    border: 1px solid #d9e1e9 !important;
    border-radius: 9px !important;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(31,45,61,.025);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, transform .2s ease;
}

    form#form1 input[type="text"]:hover,
    form#form1 input[type="password"]:hover {
        background: #ffffff !important;
        border-color: #bdcad7 !important;
    }

    form#form1 input[type="text"]:focus,
    form#form1 input[type="password"]:focus {
        background: #ffffff !important;
        border-color: #527da4 !important;
        box-shadow: 0 0 0 3px rgba(82,125,164,.11), 0 4px 12px rgba(31,45,61,.05);
        transform: translateY(-1px);
    }


/* =========================================================
     SEARCH INPUTS
     ========================================================= */

.srch {
    background-color: #fbfcfe !important;
    background-image: url(images/sr1.png) !important;
    background-repeat: no-repeat !important;
    background-position: 7px 7px !important;
    border: 1px solid #d9e1e9 !important;
    border-radius: 9px !important;
    padding-left: 35px !important;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

    .srch:hover {
        background-color: #ffffff !important;
        border-color: #bdcad7 !important;
    }

    .srch:focus {
        background-color: #ffffff !important;
        border-color: #527da4 !important;
        box-shadow: 0 0 0 3px rgba(82,125,164,.11) !important;
    }


/* =========================================================
     HIDDEN ID FIELDS
     ========================================================= */

#txt_faculty_id,
#txt_field_id {
    display: none !important;
}


/* =========================================================
     SAVE BUTTON
     ========================================================= */

#btn_all {
    width: 289px !important;
    height: 44px !important;
    margin-top: 7px;
    border: none !important;
    border-radius: 9px !important;
    outline: none;
    background: linear-gradient( 135deg, #294e72 0%, #3c7098 100% ) !important;
    color: #ffffff !important;
    font-family: pdr_font !important;
    font-size: 14px !important;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(42, 78, 114, .20);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#btn_srch {
    width: 289px !important;
    height: 44px !important;
    margin-top: 7px;
    border: none !important;
    border-radius: 9px !important;
    outline: none;
    color: #ffffff !important;
    font-family: pdr_font !important;
    font-size: 14px !important;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(42, 78, 114, .20);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
 #btn_add2,#btn_clear,#btn_zip {
    width: 289px !important;
    height: 44px !important;
    margin-top: 7px;
    border: none !important;
    border-radius: 9px !important;
    outline: none;
    font-family: pdr_font !important;
    font-size: 14px !important;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(42, 78, 114, .20);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#Button1:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(42, 78, 114, .25);
}

#Button1:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(42, 78, 114, .18);
}

#Button1:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(82,125,164,.14), 0 7px 16px rgba(42,78,114,.20);
}


/* =========================================================
     MESSAGE
     ========================================================= */

#MSG {
    display: inline-block;
    min-height: 25px;
    margin-top: 8px;
    padding: 5px 14px;
    border-radius: 7px;
    color: #a33b3b !important;
    background: rgba(178, 65, 65, .05);
    font-size: 13px !important;
}


/* =========================================================
     AUTOCOMPLETE
     ========================================================= */

.ui-autocomplete {
    z-index: 999999 !important;
    direction: rtl;
    border: 1px solid #d9e1e9 !important;
    border-radius: 9px !important;
    box-shadow: 0 12px 30px rgba(31,45,61,.14) !important;
    overflow: hidden;
    background: #ffffff !important;
}

    .ui-autocomplete li {
        border-bottom: 1px solid #f0f2f5;
    }

        .ui-autocomplete li:last-child {
            border-bottom: none;
        }

        .ui-autocomplete li a {
            padding: 9px 12px !important;
            color: #43576b !important;
            font-family: pdr_font !important;
            font-size: 13px !important;
        }


/* =========================================================
     EMPTY SPACING ROWS
     ========================================================= */

form#form1 table tr:nth-child(3) td {
    height: 15px !important;
}

form#form1 table tr:nth-child(9) td {
    height: 18px !important;
}


