* {
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    font-size: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin:0;
    overflow-x:hidden;
    letter-spacing: 1.2px;
    min-width: 100vw;
    min-height: 100vh;
    touch-action: manipulation;

}

p {
    font-weight: 400;
    margin-top: 1em;
    margin-bottom: 1em;
}

a {
    color: #000; 
    font-weight: 500;
    text-decoration: none; 
}

a:hover {
    color: #7C3030; 
    text-decoration: underline; 
    cursor: pointer;
}

ul {
    margin-top: 5px;
    margin-bottom: 5px;
}

ol {
    margin-bottom: 3px;
}

li {
    margin-top: 3px;
    margin-bottom: 3px;
    text-align: justify;
}

input, textarea, select{
  font-family: "Open Sans", sans-serif;
  outline:none;
  letter-spacing: 1.1px;
}

input:focus, textarea:focus, select:focus {
  border-color: #343434;
  box-shadow: 0 0 2px rgba(3, 46, 92, 0.5);
  outline: none;
}

input:disabled, textarea:disabled, select:disabled {
  background-color: #e2e3e4 ;
  outline: none;
}

input[type="checkbox"] {
    transform: scale(1.5); 
}

button {
    font-family: "Open Sans", sans-serif;
    letter-spacing: 1px;
}

button:hover{
    cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 15px 0;
  border: 1px solid #adadad;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
  font-size: 1em;
}

td a{
    font-size: 1em;
}

tr:nth-child(even) {
  background-color: #E5E4E2;
}

h1{
    font-size: 2em;
}

h2{
    font-size: 1.8em;
}

.invalid {
    color: red;
}

.valid {
    color: green;
}

.spacer20{
    height: 20px;
}

.spacer100{
    height: 100px;
}

.spacer150{
    height: 150px;
}

.spacer200{
    height: 200px;
}

.fullcontainercol{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 0;
    background-color: #fff;
}

.fullcontainerrow{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 0;
    background-color: #fff;
}

.halfctr{
    display: flex;
    width: 50%;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 8px;
    position: relative;
}

.stdflabel{
    font-size: 14px;
    color:#333;
}


.stdflabelci{
    font-size: 14px;
    color:#333;
}

.stdflabelci::after {
    content: " *";
    color: #C00000;
}

.stdinput {
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    padding: 10px;
    width: 100%;
    font-size: 0.9em;
    line-height: 0.9em;
    letter-spacing: 1.2px;
    background: #fff;
    outline: 0;
    border: 0;
    border: 1px solid #6e6b64;
    border-radius: 2px;
    color: #000;
}

.stdinput200 {
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    padding: 4px;
    width: 200px;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 1.2px;
    background: #fff;
    outline: 0;
    border: 0;
    border: 1px solid #6e6b64;
    border-radius: 2px;
    color: #000;
}

.stdbutton{
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    font-size: 0.9em;
    border-radius: 6px;
    padding: 8px;
    outline: 0;
    border: 1px solid #6e6b64;
    margin-top: 20px;
    background: #f5f4f2;
    width: 150px;
}

.stdbutton:hover{
    background:#16509c;
    color:#fff;
}

.stdbutton1{
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    font-size: 1em;
    border-radius: 6px;
    padding: 8px;
    width: 240px;
    outline: 0;
    border: 0;
    background: #A0522D;
    color: #fff;
    margin-top: 20px;
    user-select: none;
}

.stdbutton1:hover{
    background:#8f8f8f;
    color:#fff;
}

.stdbutton2{
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    font-size: 1em;
    border-radius: 6px;
    padding: 8px;
    width: 145px;
    outline: 0;
    border: 1px solid #16509c;
    margin-top: 20px;
    background: aliceblue;
    color: #16509c;
    user-select: none;
}

.stdbutton2:hover{
    background:#333;
    color:#fff;
}

.contentctr{
    display: flex;
    flex: 1;
    width: 100%;
    height: 100vh;
    padding: 0;
    gap: 0;
    background: #fff;
    color: #000;
    position: relative;
}

.contentctrwrap{
    display: flex;
    flex: 1;
    width: 100%;
    padding: 20px 10px;
    gap: 10px;
    background: #fff;
    color: #000;
    flex-wrap: wrap;
}

.contentctrjustify{
    display: flex;
    flex: 1;
    justify-content: center;
    width: 100%;
    padding: 10px;
    gap: 10px;
    background: #fff;
    color: #000;
}

.actioninput {
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    padding: 4px;
    width: 300px;
    font-size: 11px;
    background: #fff;
    outline: 0;
    border: 0;
    border: 1px solid #aeaeae;
    border-radius: 2px;
    color: #000;
}

.actionselect {
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    padding: 3px;
    width: 120px;
    font-size: 11px;
    background: #fff;
    outline: 0;
    border: 0;
    border: 1px solid #aeaeae;
    border-radius: 2px;
    color: #000;
}

.actionbutton{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: 32px;
    width: 72px;
    max-width: 72px;
    cursor: pointer;
    user-select: none;
    font-size: 2em;
    background-color: #16509c;
    color: #fff;
    
    border:1px solid #999;

    box-shadow:
        inset 1px 1px 0 white,
        inset -1px -1px 0 #999;

    border-radius:3px;
}

.actionbutton:hover{
    background-color: #0096FF;
    color: #fff;
}

.actionbutton img{
    height: 22px;
    width: 22px;
}

.stdcrudpagi button{
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    user-select: none;
    font-size: 11px;
}

.stdcrudpagi button:hover{
    background-color: #f1f1f1;
    color: #000;
}

.stdcount{
    margin-left: 40px;
    font-size: 11px;
    font-weight: 500;
}

.stdcrudheader{
    width: 100%;
    padding: 0 5px;
    margin-top: 10px;
}

.stdcrudtable{
    width: 100%;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 50px;
}

.stdcrudsubtable{
    width: 100%;
    padding: 0;
}

.stdcrudform{
    display: flex;
    flex-direction: column;
    width: 300px;
    gap: 8px;
    margin-bottom: 10px;
    align-items: flex-start;
    padding: 3px;
    background: #f7f7f7;
}

.subcrudform{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-bottom: 10px;
    align-items: flex-start;
    padding: 10px;
}

.crudinput{
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    padding: 4px;
    width: 100%;
    font-size: 11px;
    background: #fff;
    outline: 0;
    border: 0;
    border: 1px solid #aeaeae;
    border-radius: 2px;
    color: #000;
}

.crudtextarea{
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    padding: 4px;
    width: 100%;
    font-size: 11px;
    background: #fff;
    outline: 0;
    border: 0;
    border: 1px solid #aeaeae;
    border-radius: 2px;
    color: #000;
}

.stdcrudform button{
    font-size: 11px;
}

.crudflex{
    display: flex;
    width: 100%;
    gap: 10px;
}

.crudrow {
    display: flex;
    border: 1px solid #ccc;
    padding: 4px 0;
}

.crudrow:hover{
    background-color: aliceblue;
    cursor: pointer;
}

.nhcrudrow {
    display: flex;
    border: 1px solid #ccc;
    padding: 4px 0;
}

.crudcell {
    flex: 1;
    padding: 0 8px;
    border-right: 1px solid #ddd;
    font-size: 11px;
}

.crudcell:last-child {
    border-right: none;
}

.headerrow {
    display: flex;
    font-weight: 500;
    background-color: #f4f3f3;
    border: 1px solid #ddd;
    padding: 4px 0;    
}

.headercell {
    display: flex;
    font-size: 11px;
    font-weight: 500;
    justify-content: space-between;
}

.nodata{
    border: 1px solid #ccc;
    text-align: center;
    padding: 6px 0;
    font-size: 11px;
}

.fieldrow{
    display: flex;
    width: 100%;
    padding: 5px;
    align-items: center;
}

.fieldcol{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 5px;
}

.stdfullinput {
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    padding: 4px;
    width: 550px;
    font-size: 11px;
    background: #fff;
    outline: 0;
    border: 0;
    border: 1px solid #aeaeae;
    border-radius: 2px;
    color: #000;
}

.stdhalfinput {
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    padding: 4px;
    width: 200px;
    font-size: 11px;
    background: #fff;
    outline: 0;
    border: 0;
    border: 1px solid #aeaeae;
    border-radius: 2px;
    color: #000;
}

.stdhalfinputdb {
    font-family: "Open Sans", Verdana, Tahoma, sans-serif;
    padding: 4px;
    width: 200px;
    font-size: 11px;
    background: #fff;
    outline: 0;
    border: 0;
    color: #000;
}

.hzline{
    margin: 5px 0;
    border-bottom: 1px solid #ccc;
}

.savebutton{
    padding: 6px 12px;
    border-right: 1px solid #ddd;
    font-size: 11px;
    text-align: center;
    
    background:linear-gradient(#fefefe,#d8d8d8);

    border:1px solid #999;

    box-shadow:
        inset 1px 1px 0 white,
        inset -1px -1px 0 #999;

    border-radius:3px;
    max-width: 150px;
}

.savebutton:hover{
    background:linear-gradient(#ffffff,aliceblue);
    color: #A0522D;
    cursor: pointer;
}
