html, body
{
    margin:0px;
    padding:0px;
}

div, p, h1, h2, h3, span, td, tr
{
    font-family: Arial, sans-serif;
}

.contentDiv
{
    display:none;
    float: left;
    width:100%;

}

#header
{
    position:absolute;
    top:0px;
    left:0px;
    display:none;
    width:100%;
    height:80px;
    background:#12202d;
    border-bottom:1px solid #fff;
    z-index: 20;
}

#menu
{
    position:absolute;
    top:80px;
    left:0px;
    display:none;
    width:100%;
    overflow:hidden;
    z-index: 200;
}

#menu div
{
    display:block;
    width:100%;
    border-bottom:1px solid #fff;
    padding: 30px;
    color:#fff;
    background:#0b2866;
    font-size:16px;
}

#menu div:hover
{
    display:block;
    width:100%;
    border-bottom:1px solid #fff;
    padding: 30px;
    color:#fff;
    background:#10388d;
    font-size:16px;
    cursor:pointer;
}

.menuButton
{
    display: block;
    float: right;
    padding: 15px 20px;
    margin: 12px;
    font-size: 18px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 14px;
    background-color: #0b2866;
    cursor: pointer;
}

#content
{
    position:absolute;
    top:90px;
    left:0px;
    width:92%;
    margin-left:4%; 
    z-index: 2;   
}

#img_preview
{
    width:400px;
}

#status
{
    position: fixed;
    display:none;
    bottom:0px;
    width:100%;
    padding:200px 0px;
    background:#c1c1c1;
    color:#ffffff;
    z-index: 200;
    text-align: center;
    z-index: 3;
}

.tableText
{
    width: stretch;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 24px;
    min-width: 120px;

    color: white;
    font-size: 15px;
    font-weight: 600;
    font-family: Arial, sans-serif;

    border-radius: 10px;
    cursor: pointer;
    user-select: none;

    transition: all .2s ease;
    box-shadow: 0 5px 12px rgba(0,0,0,.18);
        margin: 3px 0px;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 8px rgba(0,0,0,.2);
}

/* Grøn */
.btn.green {
    background: linear-gradient(135deg, #43A047, #2E7D32);
}

/* Rød */
.btn.red {
    background: linear-gradient(135deg, #E53935, #C62828);
}

/* Blå */
.btn.blue {
    background: linear-gradient(135deg, #1E88E5, #1565C0);
}

/* Grå */
.btn.gray {
    background: linear-gradient(135deg, #757575, #616161);
}


/* Input, select og textarea */
input,
select,
textarea {
    min-width: 100px;
    padding: 12px 14px;

    font-size: 15px;
    font-family: Arial, sans-serif;

    border: 1px solid #d0d7de;
    border-radius: 10px;

    background: #fff;
    color: #333;

    box-sizing: border-box;
    transition: all .2s ease;

    margin: 3px 0px;
}

/* Hover */
input:hover,
select:hover,
textarea:hover {
    border-color: #9aa5b1;
}

/* Fokus */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15);
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
    color: #999;
}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 120px;
}

/* Select */
select {
    cursor: pointer;
}

#login
{
    margin:auto;
    width:300px;
    padding:20px;
    border-radius: 20px;
    background:#12202d;
    color: white;
    text-align: center;
    border-radius: 10px;
    transition: all .2s ease;
    box-shadow: 0 5px 12px rgba(0,0,0,.18);    
}

.miniHeader, #taskListDivCon

{
    border-radius: 20px;
    background:#c1d5e8;
    border-radius: 10px;
    padding:20px;
    transition: all .2s ease;
    box-shadow: 0 5px 12px rgba(0,0,0,.18);
    margin:10px 0px;
    display: block;
    float: left;
    clear: both;
    width: stretch;    
}

#taskListDivCon
{
    background:#93b6d5;
}


#taskList .timeDiv
{
    display: block;
    width: stretch;
    float: left;
    clear: both;
    border-radius: 20px;
    background:#264562;
    color:#FFFFFF;
    border-radius: 10px;
    padding:20px;
    transition: all .2s ease;
    box-shadow: 0 5px 12px rgba(0,0,0,.18);
    border:1px solid #000;   
    margin:10px 0px;
}

#taskList
{
    display: block;
    width: stretch;
    float: left;
    clear: both;
    clear: both;
    margin: 0px 0px 30px 0px;
}


.taskDescription
{
    padding:4px;
    margin:4px;
}

#taskList .timeDiv:hover
{
    cursor: pointer;
}

#totalM
{
    display: block;
    float:left;
    width: 100%;
    margin: 10px 0px;
}

#newTask
{
    float:left;
}

#wlCalSelected
{
    border:0px solid #000;
}

#description
{
    width:100%;
    height:300px;
}

#locationList div, #usersList div
{
    display: block;
    width: 400px;
    float: left;
    clear: both;
    border-radius: 20px;
    background:#264562;
    color:#FFFFFF;
    border-radius: 10px;
    padding:18px;
    transition: all .2s ease;
    box-shadow: 0 5px 12px rgba(0,0,0,.18);
    border:1px solid #000;   
    margin:5px 0px;
    cursor: pointer;
}

#locationList, #usersList
{
    display: block;
    float: left;
    width: stretch;
    padding-bottom: 40px;
}


.dataTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;

    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.dataTable thead {
    background: #4CAF50;
    color: white;
}

.dataTable th {
    text-align: left;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
}

.dataTable td {
    padding: 12px 16px;
    border-bottom: 1px solid #ececec;
}

.dataTable tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.dataTable tbody tr:hover {
    background: #eef7ee;
    transition: background .2s ease;
}

.dataTable tbody tr:last-child td {
    border-bottom: none;
}

/* Runde hjørner */
.dataTable thead th:first-child {
    border-top-left-radius: 12px;
}

.dataTable thead th:last-child {
    border-top-right-radius: 12px;
}

.dataTable tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.dataTable tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

            #preview{
                display:flex;
                flex-wrap:wrap;
                gap:10px;
                margin-top:15px;
                border:1px solid #000;
            }

            #preview img{
                width:120px;
                height:120px;
                object-fit:cover;
                border-radius:8px;
            }

            #image_div img
            {
                display: block;
                float:left;
            }

            .upload {color:#000; margin-bottom:20px;}


@media(max-width:600px){

    #newTask    
    {
        float:right;    
    }
    #locationList div, #usersList div
    {
        width: stretch;
    }

    #img_preview
    {
        width:90%;
    }
}
