#viewDiv {
    margin: 0;
    padding: 0;
    margin-top: 130px;
    height: 100%;
    width: 100%;
}


#result{
    font-weight: bold;
    padding-left: 10px;
}


#imei_error {
    color: red;
    font-weight: bold;
    margin-top: 20px;
    width: calc(100% - 30px);
    height: 30px;
}


#latitudeandlongtitude_error {
    color: red;
    font-weight: bold;
    margin-top: 20px;
    width: calc(100% - 70px);
    display: block;
    height: 30px;
}


/*body{*/
/*    height: 100vh;*/
/*}*/



/* MODAL FADE LEFT RIGHT BOTTOM */
.modal.fade:not(.in).left .modal-dialog {
    -webkit-transform: translate3d(-25%, 0, 0);
    transform: translate3d(0, 0, 0);
}

.modal.left .modal-dialog {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;

}

.modal.left .modal-dialog.modal-sm {
    max-width: 500px;
}

.modal.left .modal-content {

    min-height: 100vh;
    border: 0;
}


#sidebarButton {
    display: none;
}

#myTableFoot th {
    font-weight: 900;
    text-align: center;
}

/*
*/



@media screen and (min-width: 200px) {



    .checkboxRadio {
        display: flex;
        display: inline-flex;
        margin: 0;
    }

    .form-check {
        margin-left: 20px;
        padding: 10px;
        width: 50%;
    }

    .Form {
        height: 300px;
        width: 100%;
        border-radius: 10px;
        border: 1px solid;
        padding: 10px;
        box-shadow: 3px 3px;
    }

    .form-group-Coord {
        /* justify-content: space-evenly; */
        display: flex;
    }

    .form-group-Coord input {
        margin-left: 15px;
    }

    button {
        margin-top: 5px;
        width: 100%;
    }

    #viewDiv {
        margin: 0;
        padding: 0;
        margin-top: 10px !important;
        height: 300px;
        width: 100%;
    }
    #tableall {
        margin-top: 10px;
    }
    #imgdiv {

        float: right;
        margin-top: -80px;
        margin-right: 15px;
    }

    #imgdiv img {
        height: 50px;
        width: 50px;
    }



}



#hiddenimgdiv{
    display: none;
}




@media screen and (min-width:430px) {
    .row{

        height: 400px !important;
    }

    .Form {
        /*width: 50%;*/
        width: calc(100% - 210px);
    }

    #imgdiv {
        /*height: 300px;*/
        /*width: 45%;*/

        width: 200px;
        height: 220px;
        margin-top: -218px;
        margin-right: 0px;
        margin-bottom: 5px;
    }

    #imgdiv img {
        width: 100%;
        height: 100%;

    }
    #sidebarButton {
        margin-left: auto;
        margin-right: auto;
        width: 250px;
    }



}



@media screen and (min-width:680px) {

    .row{
        height: 550px !important;
    }


    .Form {
        width: 40%;
        float: right;
        margin-top: 0px;
    }
    #hiddenimgdiv{

        display: block;
        height: 50px;
        width: 50px;
        float: right;
    }


    .tbl-container {
        max-width:100% !important ;
    }







    #sidebarButton {
        margin-left: auto;
        margin-right: auto;
        width: 250px;
    }




    #imgdiv{
        display: none;
    }





    #viewDiv {
        margin-top: 1px;
        height: 300px !important;
        width: 59% !important;
    }

    .modal-dialog.modal-sm {
        width: 60%;
    }

}


@media screen and (min-width:1000px) {


    .row{
        height: 540px !important;
    }
    #viewDiv {
        width: calc(100% - 380px) !important;
        height: 350px !important;
    }
    .Form {
        width: 360px;
        height: 350px;
        margin-right: 1px;
        margin-top: 0px;
    }

    #hiddenimgdiv{
        position: fixed;
        height:100%;
        float: right;
        width: 100%;
        margin-top: 150px;
        margin-right: -20px;
    }
    #hiddenimgdiv img{

        margin-left: 25px;
        margin-top: 138px;
        width: 338px !important;
        height: 372px !important;

    }
    #ime{
        margin-top: 40px;
    }
    #submitButtonForImei{
        margin-top: 40px;
    }
    #cor{
        margin-top: 40px;
    }

    #submitButton{
        margin-top: 56px !important;
    }


    #tableall {
        margin-left: 0px;
        margin-top: 10px;
        width: calc(100% - 380px);
    }

    .container.tbl-container {

        margin-left: 0px;
    }
    .tbl-container {
        max-width:100% !important ;
    }


    .modal-dialog.modal-sm {
        width: 30%;
    }
    #imgdiv {
        display: none;
    }

    #sidebarButton {
        height: 38px;
        float: right;
        margin-top: -29px;
        margin-bottom: 0px !important;

    }
    #result{
        width: calc(100% - 250px);
    }

    #messageandsidebarbutton{
        /*display: flex;*/
        width: 100%;

    }
}






#table {
    margin-top: 20px;
}

#sidebarButton {
    margin-bottom: 20px;
}


/* table Header Sticky and putting border up and down */
.tbl-container {
    max-width: fit-content;
    max-height: fit-content;
}

.tbl-fixed {
    overflow-x: scroll;
    overflow-y: scroll;
    height: fit-content;
    max-height: 70vh;
    overflow:auto;
}

.table {
    margin-bottom: 0;
    border-collapse: collapse;
}


.table th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: white;
}

th:after,
th:before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
}

th:before {
    top: -1px;
    /* border-top: 2px solid grey; */
    border: 2px solid grey;
}

th:after {
    bottom: -1px;
    /* border-bottom: 2px solid grey; */
    border: 2px solid grey;
}


/*   */


#myTableFoot th,
#myTableFoot td {
    line-height: 50px;
}





#submitButton {
    margin-top: 21px;
}




.close{
    margin: 0px !important;
    width: fit-content;
    height: fit-content;
}

.modal-title {
    font-weight: 900;
    line-height: 3em;
}






#test td {
    text-align: center;

}

#test tr {
    line-height: 5px;

}

#myTableHead tr {
    line-height: 15px;
}




.list-group-item {
    display: inline-flex;
    border: none !important;
    border-bottom: 2px solid black !important;

}
svg {
    margin-top: 5px;
}

.list-group-item  span{
    float: right !important;
    margin-left: auto !important;

}
.list-group-item p{
    padding-left: 5px !important;
}
.list-group-item small{
    padding-left: 5px !important;
}


#Soilmoisture img{
    /*margin-top: -6px;*/
}
.list-group-item:hover span small {
    font-weight: 700;
}


.list-group-item:hover {
    font-weight: 700;
}
.list-group li {
    transition: all 200ms;
}

/* .float-right {
  float: right !important;
  margin-left: auto !important;
} */

#spaceingfortext {
    padding-right: 4px;
}
#spanForValue {
    font-size: 0.9rem;

    line-height:1.6;
}



.myTableTimeTd{
    width: 40px;
    font-weight: bold;
}






/*table foot*/

#myTableFoot{

    position: sticky;
    inset-block-end: 0;

}


#myTableFoot tr td:first-child{
    background: white;
}

#myTableFoot tr td:first-child:after,
#myTableFoot tr td:first-child:before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
}

#myTableFoot tr td:first-child:before {
    top: -1px;
    /* border-top: 2px solid grey; */
    border: 2px solid grey;
}

#myTableFoot tr td:first-child:after {
    bottom: -1px;
    /* border-bottom: 2px solid grey; */
    border: 2px solid grey;
}


