﻿.mydatagrid {
    width: auto;
    border: solid 1px #E7E6E6;
    border-radius: 6px;
    min-width: 100%;
}

.header {
    background-color: #5B9BD5;
    color: White;
    /*border-radius: 25px;*/
    border: none 0px transparent;
    height: 30px;
    text-align: center;
    font-size: 18px;
    font-family: 'Cordia New';
}

.rows {
    background-color: #fff;
    font-family: 'Cordia New';
    font-size: 18px;
    color: #000;
    min-height: 25px;
    text-align: left;
    border: none 0px transparent;
}

    .rows:hover {
        background-color: #F4B084;
        font-family: 'Cordia New';
        color: #fff;
        text-align: left;
    }

.selectedrow {
    background-color: #F4B084;
    font-family: 'Cordia New';
    color: #fff;
    font-weight: bold;
    text-align: left;
}

.mydatagrid a /** FOR THE PAGING ICONS  **/ {
    background-color: Transparent;
    padding: 5px 5px 5px 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

    .mydatagrid a:hover /** FOR THE PAGING ICONS  HOVER STYLES**/ {
        background-color: #004d7a;
        color: #fff;
    }

.mydatagrid span /** FOR THE PAGING ICONS CURRENT PAGE INDICATOR **/ {
    background-color: #004d7a;
    color: White;
    padding: 5px 5px 5px 5px;
}

.pager {
    background-color: #5B9BD5;
    font-family: 'Cordia New';
    color: White;
    height: 30px;
    text-align: left;
}

.mydatagrid td {
    padding: 5px;
}

.mydatagrid th {
    padding: 5px;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto
}

.button_search {
    border-radius: 6px;
    background-color: #008793;
    color: white;
    border: 2px solid #008793; /* Green */
    height: 35px;
    width: 90px;
}
    .button_search:hover {
        background-color: seagreen;
        border: 2px solid seagreen;
    }

.button_add {
    border-radius: 6px;
    background-color: #004d7a;
    color: white;
    border: 2px solid #004d7a; /* Green */
    height: 35px;
    width: 120px;
}

    .button_add:hover {
        background-color: #F1955D;
        border: 2px solid #F1955D;
    }
.button_ok {
    border-radius: 6px;
    background-color: cadetblue;
    color: white;
    border: 2px solid cadetblue; /* Green */
    height: 35px;
    width: 90px;
}

.styTextMsgError {
    color:red;
    font-size:18px;
    font-family:'Angsana New';
    /*font-weight: bold;*/
    text-align: center;
    padding-top:.8em;
}

.button_cancel {
    border-radius: 6px;
    background-color: chocolate;
    color: white;
    border: 2px solid chocolate; /* Green */
    height: 35px;
    width: 90px;
}

    .button_cancel:hover {
        background-color: darkgoldenrod;
        border: 2px solid darkgoldenrod;
    }


.modalBackground {
    background-color: black;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.modalPopup {
    background-color: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 12px;
    padding: 0;
}

    .modalPopup .header {
        background-color: #a7c6e2;
        height: auto;
        color: #526173;
        line-height: 30px;
        text-align: center;
        font-weight: bold;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }


    .modalPopup .body {
        height: auto;
        padding: 10px;
        line-height: 20px;
    }

    .modalPopup .footer {
        background-color: #a7c6e2;
        height: auto;
        color: #526173;
        line-height: 30px;
        text-align: center;
        font-weight: bold;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .modalPopup .yes, .no, .close {
        height: 23px;
        color: White;
        line-height: 23px;
        text-align: center;
        font-weight: bold;
        cursor: pointer;
        border-radius: 4px;
    }

    .modalPopup .yes {
        background-color: white;
        color: #0179B6;
        border: 1px solid #0DA9D0;
    }

    .modalPopup .no {
        background-color: #9F9F9F;
        border: 1px solid #5C5C5C;
    }

    .modalPopup .close {
        background-color: #9F9F9F;
        border: 1px solid #5C5C5C;
    }
.styTextBoxOther {
    height: 30px;
    width: 350px;
    border: 1px solid #D9D9D9;
    text-align: left;
    border-radius: .4rem;
    padding: .2rem;
}

.imgbox {
    border-radius: 20px;
}
.divLoading {
    position: fixed;
    text-align: center;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999999;
    background-color: #000000;
    opacity: 0.7;
}
