﻿

/*****************Button หลัก******************************/
.button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: grid;
    font-size: 10px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 2px;
}

.button1 {
    font-size: 10px;
    border-radius: 2px;
    width: 100%;
}

.button2 {
    font-size: 10px;
    background-color: #008CBA;
    border-radius: 2px;
    width: 100%;
}

.button3 {
    font-size: 10px;
    background-color: #e7e7e7;
    color: black;
    border-radius: 2px;
    width: 100%;
}

.button4 {
    font-size: 10px;
    background-color: #555555;
    border-radius: 2px;
    width: 100%;
}

.button-save {
    font-size: 14px;
    border-radius: 3px;
    width: 7rem;
    height: 3rem;
    padding-top: 9px;
    float: right;
    padding: 9px;
}

/*****************Button เเก้ไช/ลบ******************************/
.btn-e-d {
    width: 50px;
    cursor: pointer;
    font-weight: 400; 
    color: #212529;
    text-align: center;
      vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none; 
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem; 
    border-radius: 0.25rem;  
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.btn-green {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}
.btn-red{
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-yellow {
    color: #fff;
    background-color: #bbab2b;
    border-color: #bbab2b;
}
.btn-black {
    color: #fff;
    background-color: black;
    border-color: black;
}


/*button ของมุก*/



.button-gradein {
    background-image: linear-gradient(to bottom left, #072442 -18%, #004087 100%);
    color: white;
    width: 100%;
    /*border: 2px solid #06294e;*/
    height: 40px;
    font-size: 16px;
}

    .button-gradein:hover {
        color: white;
    }


.button-gradein-red {
    background-image: linear-gradient(to bottom left, #f0353d -18%, #812024 100%);
    color: white;
    width: 100%;
    border: 1px solid #3f0000;
    height: 40px;
    font-size: 16px;
}

    .button-gradein-red:hover {
        color: white;
    }

.Indexbutton1 {
    background-color: #06294e;
    color: white;
    border: 2px solid #06294e;
    width: 100%;
    height: 40px;
    font-size: 16px;
}

    .Indexbutton1:hover {
        background-color: #ba252b;
        color: white;
        font-size: 18px;
    }

.Indexbutton2 {
    background-color: #5694dd;
    color: white;
    border: 2px solid #5694dd;
    width: 100%;
    height: 39px;
    font-size: 16px;
}
.Indexbutton3 {
    background-color: #5694dd;
    color: white;
    border: 2px solid #5694dd;
    width: 100%;
    height: auto;
    font-size: 40px;
}
.button-gray {
    background-color : dimgrey;
    color: white;
    width: 100%;
    /*border: 2px solid #06294e;*/
    height: 40px;
    font-size: 16px;
}

    .button-gradein:hover {
        color: white;
    }

.stetus-green {
    background: #198754;
    border: #198754;
    color: white;
    font-size: 12px;
    cursor: pointer;
}

.stetus-red {
    background: #dc3545;
    border: #dc3545;
    color: white;
    font-size: 12px;
    cursor: pointer;
}