﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

.bg-success-pale {
    background-color: #90EE90;
}

.bg-danger-pale {
    background-color: #E57373;
}

.logging-time-col
{
    width:100px;
    float:left;
    color:darkgray;
}

.logging-value
{
    color:dodgerblue
}

.dataentry-time-col
{
    color:dodgerblue;       
}

.admin-title
{
    color:dodgerblue;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .3rem .4rem .4rem .4rem;
    font-size: .775rem;
    line-height: .5;
    border-radius: .2rem;
}

.filetitle
{
    font-size: 22px;
    padding:5px;   
    font-weight:600;
    color:dodgerblue;
}


#sidebar
{
    width:150px;
    position:fixed;
    top:92px;
    left:0px;
    height:100vh;
    z-index:999;
    background:#E0E0E0;
}

#contentwithsidebar
{
    width:calc(100% - 150px);
    padding:15px;
    min-height:100vh;
    position:absolute;
    top:92px;
    left:150px;
}

@media screen and (max-width:768px) {
    #sidebar{
        width:50px;
    }
    #contentwithsidebar
    {
        width:calc(100% - 50px);
        left:50px;
    }
    .nav-link
    {
        padding:8px 2px 8px 2px;
    }
}

.map {
    height: 80vh;
    margin:10px 0px 0px 0px;
    background-color: whitesmoke;
}

/* Used in Views/Notes/Map.cshtml for popups */
.dot {
    height: 13px;
    width: 13px;
    border-radius: 50%;
    border: 1px solid black;
    display: inline-block;
    margin-right: 8px;
}

/* Specific to DataEntryEditing Check-Container and Checkmark used for Checkbox in DataEntry */
.check-container input {
    width: 100%;
    height: 100%;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #202020;
    pointer-events: none;
    border: 1px solid #404040;
}

/* On mouse-over, add a grey background color */
.check-container:hover input ~ .checkmark {
    background-color: #303030;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.check-container input:checked ~ .checkmark:after {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style the checkmark/indicator */
.check-container .checkmark:after {
    top: 20%;
    left: 35%;
    height: 50%;
    width: 30%;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}