﻿.ErrorMsg {
    color: Red;
    display: none;
}

.card {
    margin-bottom: 30px;
    border: 0;
    box-shadow: 0 0 2rem 3px rgba(136, 152, 170, 1);
}

body {
    background-color: #f8f9fe;
}

.card .header {
    padding: 15px 15px 0;
    color: #333;
    font-weight: 300;
    font-size: 22px;
}

.btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 7px 14px rgba(50,50,80,.1), 0 3px 6px rgba(0,0,0,.05);
}

a:hover {
    text-decoration: none;
}

label {
    margin-bottom: 0px;
    margin-top: 5px;min-width: 70px;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

.form-control {
    border: 0;
    padding: 5px 0 7px 5px;
    border: 0.5px solid transparent;
    border-bottom-color: #696969;
    transition: 0.4s;
    border-radius:0px;
}

    .form-control:focus:focus {
        padding: 5px 10px 7px;
        transition: 0.4s;
        border-color: #00CC00;
        box-shadow: 0 0px 1px #00CC66 inset, 0 0 5px #008B00;
        outline: 0 none;
        border-radius:0.25rem;
    }

    .form-control ~ .focus-border {
        position: absolute;
        height: 36px;
        bottom: 0;
        left: 0;
        width: 0;
        transition: 0.4s;
    }

    .form-control:focus ~ .focus-border {
        width: 100%;
        transition: 0.4s;
        border: 2px solid #4caf50;
    }

.gridview {
    width: 100%;
    font-size: 14px;
    background-color: #F5F5F5;
    border:solid 2px black;
}

    .gridview td {
        vertical-align: middle;
        height: 26px;
        line-height: 26px;
        padding: 0px 2px;
    }

.gridview_header th,
.gridview_header td,
.gridview_header div {
    height: 30px;
    line-height: 30px;
    color: #444;
    padding: 0px 2px;
    vertical-align: middle;
    font-size: 17px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.gridview_header {
    border-color: transparent;
    border-bottom: 3px solid #000;
}

    .gridview_header a:link,
    .gridview_header a:visited,
    .gridview_header a:hover,
    .gridview_header span {
        clear: both;
        float: none;
        display: block;
        vertical-align: middle;
        text-align: left;
        height: 27px;
        line-height: 27px;
        color: #444;
        font-style: normal;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .gridview_header .hover:hover a,
    .gridview_header .hover:hover span {
        color: #fff;
        text-shadow: none;
    }

    .gridview_header .hover {
        background-color: #000;
        color: #fff;
    }

    .gridview_header .selected {
        background-color: #9dcf15;
    }

    .gridview_header .sortASC {
        background: url(images/sort_asc.gif) no-repeat 50% top #282828;
    }

        .gridview_header .sortASC a:link,
        .gridview_header .sortASC a:visited,
        .gridview_header .sortASC a:hover {
            background: url(images/sort_asc.gif) no-repeat 50% top #282828;
            clear: both;
            float: none;
            color: #fff;
        }

    .gridview_header .sortDESC {
        background: url(images/sort_desc.gif) no-repeat 50% top #282828;
    }

    .gridview_header th.sortDESC a:link,
    .gridview_header th.sortDESC a:visited,
    .gridview_header th.sortDESC a:hover {
        background: url(images/sort_desc.gif) no-repeat 50% top #282828;
        clear: both;
        float: none;
        color: #fff;
    }

    .gridview_header .sortASC span,
    .gridview_header .sortDESC span {
        color: #fff;
    }

.gridview_rowalt td,
.gridview_rowitem td {
    min-height: 22px;
    line-height: 22px;
    vertical-align: baseline;
    border: none;
}

    .gridview_rowalt td:last-child,
    .gridview_rowitem td:last-child {
        /*border-right:1px solid transparent;*/
    }

.gridview_rowalt {
    background-color: #fff;
}

.gridview_rowselected td {
    min-height: 22px;
    line-height: 22px;
    vertical-align: baseline;
    border: none;
    background-color: #fff;
}

.gridview_rowhover td {
    min-height: 22px;
    line-height: 22px;
    vertical-align: baseline;
    border: none;
    background-color: #c4dce9;
}

    .gridview_rowhover td span {
    }

.gridview_rowitem,
.gridview_rowalt {
    border: none;
}

.gridview_dataitem {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    line-height: 20px;
    min-height: 17px;
}

.gridview td img {
    vertical-align: middle;
}

tr.gridview_pager {
    height: 40px;
    background-color: #ccc;
}

.gridview_pager li {
    list-style: none;
    float: left;
    padding: 3px;
    margin-top: 3px;
}

.gridview_pager td {
    padding: 1px;
}

.gridview_pager table td {
    border: none;
}

.gridview_pager td > span, .gridview_pager li > span {
    font-size: 17px;
    line-height: 25px;
    height: 25px;
    min-width: 25px;
    padding: 0 3px;
    vertical-align: middle;
    text-align: center;
    display: block;
    color: #FFF;
    background-color: #0077a9;
}

.gridview_pager a {
    font-size: 17px;
    line-height: 25px;
    height: 25px;
    min-width: 25px;
    padding: 0 3px;
    vertical-align: middle;
    text-align: center;
    display: block;
    color: #FFF;
    background-color: #6b6b6b;
}

    .gridview_pager a:hover {
        background-color: #00577c;
    }

.gridview_firstPage {
    cursor: pointer;
    background: url(images/first.png) no-repeat center center !important;
    display: block;
    height: 25px;
    width: 30px;
    line-height: 25px;
    vertical-align: middle;
    text-align: center;
}

.gridview_nextPage {
    cursor: pointer;
    background: url(images/next.png) no-repeat center center;
    display: block;
    height: 25px;
    width: 30px;
    line-height: 25px;
}

.gridview_prevPage {
    cursor: pointer;
    background: url(images/prev.png) no-repeat center center;
    display: block;
    height: 25px;
    width: 30px;
    line-height: 25px;
}

.gridview_lastPage {
    cursor: pointer;
    background: url(images/last.png) no-repeat center center;
    height: 25px;
    width: 30px;
    display: block;
    line-height: 25px;
    vertical-align: middle;
    text-align: center;
}

.gridview_footer {
    background-color: #fff;
}

.rSheet {
    background: url('../Images/UnSuccess.png') no-repeat 0 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.bSheet {
    background: url('../Images/Success.png') no-repeat 0 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.divSuccess {
    top: 20px;
    left: 600px;
    position: fixed;
    background-color: #fa2a2a;
    width: 150px;
    min-height: 15px;
    border-radius: 10px;
    color: #ffffff;
    z-index: 100;
    text-align: center;
    border: solid 2px white;
    -webkit-box-shadow: 5px 5px 7px -1px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 7px -1px rgba(0,0,0,0.75);
    box-shadow: 5px 5px 7px -1px rgba(0,0,0,0.75);
    display: none;
}


input {
            /*font-family: 'Itim', cursive;*/
            font-family: 'Sarabun', sans-serif;
        }

            input[type="radio"] {
                display: none;
            }

                input[type="radio"] + label {
                    position: relative;
                    padding-left: 30px;
                    cursor: pointer;
                    margin: 0px 5px;
                }

                    input[type="radio"] + label::before {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 0;
                        height: 20px;
                        width: 20px;
                        background-color: #eee;
                        border-radius: 50%;
                    }

                input[type="radio"]:checked + label::before {
                    background-color: #2196F3;
                }

                input[type="radio"] + label::after {
                    content: '';
                    position: absolute;
                    top: 10px;
                    left: 10px;
                    height: 0px;
                    width: 0px;
                    background-color: #FFF;
                    border-radius: 50%;
                    transition: all 0.2s ease-in-out;
                }

                input[type="radio"]:checked + label::after {
                    content: '';
                    position: absolute;
                    top: 5px;
                    left: 5px;
                    height: 10px;
                    width: 10px;
                    background-color: #FFF;
                    border-radius: 50%;
                }

            /*input[type="checkbox"] {
                display: none;
            }*/

                input[type="checkbox"] + label {
                    position: relative;
                    padding-left: 30px;
                    cursor: pointer;
                    margin: 0px 5px;
                }

                    input[type="checkbox"] + label::before {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 0;
                        height: 20px;
                        width: 20px;
                        background-color: #eee;
                        border: solid 1px black;
                    }

                input[type="checkbox"]:checked + label::before {
                    background-color: #28a745;
                }

                input[type="checkbox"] + label::after {
                    content: '';
                    position: absolute;
                    top: 10px;
                    left: 10px;
                    height: 0px;
                    width: 0px;
                    transition: all 0.2s ease-in-out;
                }

                input[type="checkbox"]:checked + label::after {
                    content: '';
                    position: absolute;
                    left: 8px;
                    top: 4px;
                    width: 5px;
                    height: 10px;
                    border: 3px solid white;
                    border-left: none;
                    border-top: none;
                    -webkit-transform: rotate(45deg);
                    -ms-transform: rotate(45deg);
                    transform: rotate(45deg);
                }

/* width */
::-webkit-scrollbar {
  width: 13px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #009688; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.zoom {
    position: relative;
    transform: scale(2);
    overflow-y: auto;
    transform-origin: center 10%;
}

.FileUploadNew {
    border:dotted 2px #c6c6c6; width:130px; height:auto; display:block; border-radius:10px;
}

