html {
    box-sizing: border-box;
}
body, form {
    margin: 0px;
    height: 100%;
    width: 100%;
    font-family: Helvetica, sans-serif,Arial;
    font-size: 12px;
    background-color: rgb(248,248,248);
}
.lockw {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: white;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    background-color:transparent;    
}
.main1 {
    height: 100%;
    width: 100%;
    min-height: 100%;
    min-width: 100%;
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow-x: hidden;
    overflow-y: hidden;    
}

.head1 {
    height: 130px;
    display: block;
    width: 100%;
    border-bottom: 0px solid lightgray;
    text-align: right;
    padding: 5px;
}
a{text-decoration:none;color:#3aadaa;margin-right:16px;}
a:hover{text-decoration:underline}

.content1 {
    height: 380px;
    display: block;
    width: 380px;
    margin:auto;
    background-color:white;
    border: 0px solid lightgray;
    overflow-x: hidden;
    overflow-y: hidden;
    text-align: center;
}

.driver {
    width: 100%;
    height: 40px;
    padding: 5px;
    border: 1px solid lightgray;
    border-radius: 5px;
    text-align: center;
}

    .driver:focus {
        border-color: red;
    }

.logo {
    display: block;
    border-bottom:1px solid lightgray;
    width:300px ;height:80px; margin:auto; 
    background-size:97% 97%;
    }

.logintext{height:20px;width:300px;text-align:left;font-weight:bold;margin:auto;margin-top:20px;margin-bottom:-20px; display:block;}
.login {
    position:relative;
    width: 300px;
    display: block;
    height: 50px;
    text-align: center;
    padding-top: 20px;
    margin:auto;
}
.alert{position:absolute;left:100px;top:66px; height:42px;width:120px;background-image:url("../cratis/images/icons/info.png");background-size:16px 16px;
       background-position:6px 6px;padding-left:28px;padding-top:6px;padding-right:10px;background-repeat:no-repeat;text-align:left;
       background-color:ivory;border-radius:6px;border:1px solid darkkhaki; z-index:10;visibility:hidden;}


.main {
    height: 100%;
    width: 100%;
    min-height: 100%;
    min-width: 100%;
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    overflow-x: hidden;
    overflow-y: hidden;
}

.head {
    height: 60px;
    display: block;
    width: 100%;
    border-bottom: 1px solid lightgray;
    text-align: right;
    padding: 5px;
}

.content {
    height: calc(100% - 60px);
    display: block;
    width: 100%;
    border-bottom: 1px solid lightgray;
    overflow-x: hidden;
    overflow-y: auto;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.disable-dbl-tap-zoom {
    touch-action: manipulation;
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background-color: rgb(13, 86, 13);
}
    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background-color: red
    }

.divmain {
    width: 100%;
    height: 0%;
    margin: 0px;
}

.topbar {
    position: fixed;
    top: 0px;
    left: 0;
    height: 80px;
    width: 100%;
    background-color: rgb(13, 86, 13);
    display: block;
    z-index: 999;
}

.menu {
    width: 64px;
    height: 80px;
    background-image: url(../images/menu.png);
    background-size: 64px 64px;
    border-radius: 32px;
    background-repeat: no-repeat;
    background-position: 0px 8px;
    float: left;
}

.divsearch {
    width: calc(100% - 64px);
    float: left;
}

.txtsearch {
    border: 1px solid;
    border-radius: 5px;
    height: 32px;
    width: calc(100% - 200px);
    text-align: left;
    margin-top: 2px;
    margin-left: 2px;
    margin-left: 5px;
    margin-right: 0px;
    border-color: red;
}

.slct {
    width: calc( 50% - 8px );
    height: 36px;
    margin-top: 2px;
    margin-left: 1px;
}

.blood {
    width: calc(25% - 4px);
    height: 36px;
    margin-top: 2px;
}

select {
    background-position: calc(100% - 1px) 2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; /* Remove default arrow */
    background-image: url('../images/select.png');
    background-repeat: no-repeat;
    background-size: 28px 28px;
    border-radius: 6px;
    border: none;
    padding-left: 6px;
}

.btn {
    height: 36px;
    border-radius: 5px;
    width: calc(25% - 4px);
}

option {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; /* Remove default arrow */
    height: 32px;
    font-size: 16px;
    padding-left: 6px;
    border-bottom: 1px solid lightgray;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

.txtsearch:focus {
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    border: 1px solid rgba(81, 203, 238, 1);
}

.tabs {
    position: fixed;
    top: 80px;
    clear: both;
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid lightgray;
    padding: 0 10px;
    position: relative;
}

input.tabbtn {
    position: absolute;
    left: -99999em;
    top: -99999em;
}

label {
    cursor: default;
    float: left;
    border: 1px solid #aaa;
    border-bottom: 0;
    background-color: #fff;
    margin-right: -1px;
    padding: .5em 1em;
    position: relative;
}

    label:hover {
        background-color: #eee;
    }

.tabbtn:checked + label {
    box-shadow: 0 3px 0 -1px #fff, inset 0 5px 0 -1px #13CD4A;
    background-color: #fff;
    border-color: #428bca;
    z-index: 1;
}


.divcontent {
    width: 100%;
    height: calc(100% - 41px);
    display: block;
    background-color: white;
    position: fixed;
    top: 125px;
    left: 0px;
    overflow-y: auto;
}
.num{font-size:15px;color:forestgreen;font-weight:bold;}
.wp{font-size:14px;color:forestgreen;font-weight:bold;text-align:right;border:0px;outline:0px;background-color:rgb(248,248,248);}
.cont {
    width: 100%;
    height: auto;
    max-height: 200px;
    border-bottom: 1px solid;
    border-color: lightgray;
    text-align: left;
    vertical-align: central;
    display: block;
    margin: 2px;
    display: block;
    overflow: hidden;
}
.items{width:100%;padding-left:5px;padding-right:5px;display:block;overflow-x:hidden;overflow-y:auto;
       min-height:0px;height:auto;max-height:180px;border-bottom:1px solid lightgray;
}
/*t = t + "<div class='row'><div class='si'>" + i.ToString + " </div><div class='itn>" + rs.GetString(0) + "</div><div class='qty'>" + rs.GetString(1) + "</div></div>"*/
.row{display:block;height:auto;padding-top:1px;width:100%;overflow-x:hidden;border-bottom:1px solid lightgray;}
.si1,.qty1,.itn1,.si,.itn,.qty{display:inline-block;}
.qty1,.qty{width:40px;text-align:right;}
.si1,.si{width:30px;text-align:right;padding-right:5px;}
.itn1,.itn{width:calc(100% - 71px);}
.itn1,.si1,.qty1{background-color:gray;color:white;text-align:center !important;font-weight:bold;border-right:1px solid lightgray;}
.contdet {
    width: calc(100% - 260px);
    height: auto;
    min-height: 54px display: inline-block;
    float: left;
    margin: 3px;
}

.contp, .contcall, .contmark, .contshare,
.contunchek, .contchek, .contmap {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border:none;
    display: inline-block;
    float: left;
    background-size: 100% 100%;    
    background-repeat: no-repeat;
    box-shadow: rgb(128, 128, 128);

    margin: 3px;
}

.contp {
    background-image: url("../images/user.png");
}

.contcall {
    background-image: url("../images/call.png");
}

.contmap {
    background-image: url("../images/map.png");
}
.contunchek {
    background-image: url("../images/uncheck.png");
}
.contchek {
    background-image: url("../images/checked.png");
}
.contmark {
    background-image: url("../images/callnote.png");
}
.divback{height:auto;min-height:120px;width:100%;background-color:white;display:block;margin-top:90px;}
.divbackpanel{
    visibility:hidden;
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    margin:auto;
    background: rgba(0,0,0,0.8);
    display:block;
    z-index:1;
}
.errttl{font-size:15px;font-weight:bold;color:red;}
.errtext{font-size:10px;color:black;padding-bottom:30px;}
.divbackerr {
    text-align:center;
    visibility: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    margin: auto;
    background-color: white;
    display: block;
    z-index: 9999;
}
.divright {
    width: 100%;
    height: 40px;
    text-align: right;
    margin-right: 8px;
    padding-right: 20px;
    padding-top: 5px;
}
.btn-fill-primary, .btn-primary {
    color: #FFFFFF !important;
    background-color: #3aadaa !important;
    border-color: #3aadaa !important;
    display: block;
    width:100%;
}
.btn-pass {
    color: #FFFFFF !important;
    background-color: darkkhaki !important;
    border-color: #f1f1f1 !important;
    display: inline-block;
    width: 31%;
    height: 40px;
    margin: 1px;
}
.btn-clear {
    color: #FFFFFF !important;
    background-color: #e9480b !important;
    border-color: #ed6d19 !important;
    display: inline-block;
    width: 31%;
    height: 40px;
    margin: 1px;
}
.btn-login {
    color: #FFFFFF !important;
    background-color: forestgreen !important;
    border-color: #3aadaa !important;
    display: inline-block;
    width: 97% ;
    height: 40px;
    margin: 1px;
}


.btn {
    display:inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.divbtn1,.divbtn2,.btn1 {
    font-weight:bold;
    margin-left:3px;
    display: inline-block;
    color: white;
    border: 1px solid #CCC;
    background: #DDD;
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.2);
    cursor: pointer;
    vertical-align: middle;
    max-width: 100px;
    width:100px;
    height:32px;
    padding: 8px;
    text-align: center;
}
.btn1{max-width:80px !important;width:80px !important}
.divbtn1 {background-color:green;}
.divbtn2 { background-color: red;}
.btn1 { background-color:gray;}

.divbtn1:active, .divbtn2:active, .btn1:active {
    color: black;
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.6);
}
    .btn1:focus {
        color: black;
    }
    .btn1::selection{color: black;}
.btns{text-align:center;}



