﻿body {
    padding: 0;
    font-family: Verdana;
}

.RadComboBox {
    width: 100% !important;
}

span, label, p, li {
    font-size: 12px;
}

p {
    margin: 0 5px;
    color: #666;
}

    p.empty {
        color: #333;
        margin-top: 5px;
    }

label {
    white-space: nowrap;
    overflow: hidden;
}

.gdpr {
    font-size: 12px;
}
h1 {
    font-size: 20px;
    margin: 0;
    font-weight: normal;
    min-height: 73px;
    position: relative;
    padding-right: 167px;
}

    h1 strong {
        display: block;
        font-size: 12px;
        font-weight: normal;
        color: #333;
        margin-top: 5px;
    }

    h1 em {
        font-style: normal;
        display: block;
    }

h2 {
    font-size: 18px;
    margin: 0 0 5px 0;
    font-weight: normal;
    padding: 0 10px;
}

.history-container h2 {
    color: #666;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.urgent-phone-number {
    color: #cc0000;
    font-size: 12px;
    display: block;
    padding: 0 5px;
    margin-bottom: 5px;
}

.star {
    color: #cc0000;
}

.container {
    max-width: 900px;
    margin: 10px auto;
    position: relative;
}

.logo {
    background: url(../img/halmstad.jpg) no-repeat;
    width: 162px;
    height: 73px;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

.content {
    background: #f5f6f8;
    border: 1px solid #333;
    padding: 10px;
    margin: 10px 0 0 0;
    position: relative;
}

.image-container {
    text-align: center;
}

    .image-container a {
        display: inline-block;
        margin: 15px 30px;
        color: #333;
        text-decoration: none;
    }

    .image-container span {
        display: block;
        height: 16px;
        line-height: 16px;
        margin: 0;
        padding: 0;
        font-weight: bold;
    }

    .image-container img {
        border: 1px solid #333;
        margin: 0;
        padding: 0;
    }

.clear {
    clear: both;
}

.form-group {
    width: 50%;
    float: left;
}

.form-control {
    padding: 5px 10px;
}

.type-list {
    float: left;
    margin: 5px 10px;
}

.type-text-container {
    float: right;
    width: 50%;
}

.type-text {
    border: 1px solid #cdcdd8;
    background: #fbfbfb;
    margin: 5px 10px;
    padding: 5px 8px;
}

    .type-text ul {
        list-style-position: inside;
        list-style-type: disc;
        color: #666;
        margin-top: 2px;
    }

    .type-text p {
        margin: 0;
        color: #666;
    }

        .type-text p strong {
            color: #000;
        }

select, input[type='text'], textarea, input[type='file'] {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #999;
    margin-top: 2px;
    font-family: Verdana;
    background: #fff;
    font-size: 12px;
}

input[type='file'] {
    padding: 5px;
}

.button {
    border: 1px solid #333 !important;
    background: #808080 !important;
    color: #fff !important;
    font-size: 12px !important;
    text-decoration: none;
    padding: 5px 10px;
    display: inline-block;
    margin-top: 10px;
    border-radius: 0 !important;
    font-family: 'Verdana' !important;
}

    .button .rbText {
        font-size: 12px;
        margin-top: -1px;
    }

.checkbox-label {
    white-space: normal;
    vertical-align: middle;
    margin: 2px 0;
}

input[type='checkbox'] {
    vertical-align: middle;
    margin: 0;
}

#rblType label {
    white-space: normal;
    vertical-align: middle;
    display: inline-block;
}

input[type='radio'] {
    vertical-align: middle;
    margin: 0 5px 0 0;
}

/* HISTORIK */

.history-container {
    margin-top: 10px;
}

.history-list > li {
    margin-top: 5px;
    padding: 5px 0;
    font-size: 10px;
    display: block;
    position: relative;
    min-height: 45px;
    border: 1px solid #cdcdd8;
    background: #fbfbfb;
}

    .history-list > li:after {
        content: "";
        display: table;
        clear: both;
    }

    .history-list > li:nth-child(2n) {
        background: #e8e8e8;
    }

.history-date {
    width: 49px;
    height: 100%;
    border-right: 1px solid #cdcdd8;
    position: absolute;
    top: 0;
    left: 0;
}

.day {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    display: block;
    color: #0c297c;
    vertical-align: top;
}

.month-year {
    display: block;
    text-align: center;
    color: #666;
    vertical-align: top;
}

.history-body {
    padding-left: 50px;
}

.time, .orderno, .building {
    vertical-align: top;
    padding: 0 5px;
    color: #666;
}

.orderno, .building {
    border-left: 1px solid #cdcdd8;
}

.status-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 0;
    right: 0;
}

.email-icon {
    width: 16px;
    height: 16px;
    position: absolute;
    bottom: 4px;
    right: 4px;
    cursor: pointer;
    background: url(../img/email.png) no-repeat;
}

.text {
    display: block;
    padding: 5px;
}

.history-list li.status-0 .status-icon {
    background: url(../img/red.png) no-repeat;
}

.history-list li.status-1 .status-icon {
    background: url(../img/bluered.png) no-repeat;
}

.history-list li.status-2 .status-icon {
    background: url(../img/blue.png) no-repeat;
}

.history-list li.status-3 .status-icon {
    background: url(../img/green.png) no-repeat;
}

.acknowledge {
    display: block;
    margin: 5px 0 0 5px;
    font-size: 10px;
}

    .acknowledge ul li {
        padding: 2px 0;
        border-top: 1px solid #cdcdd8;
    }

        .acknowledge ul li:first-child {
            padding: 5px 0;
            border-top: none;
        }

        .acknowledge ul li strong {
            padding-right: 5px;
            margin-right: 2px;
            border-right: 1px solid #cdcdd8;
        }

.symbol-list {
    margin: 5px;
}

    .symbol-list li {
        background-position: top left;
        background-repeat: no-repeat;
        display: inline-block;
        min-height: 20px;
        padding: 3px 0 0 24px;
    }

        .symbol-list li.status-0 {
            background-image: url(../img/red.png);
        }

        .symbol-list li.status-1 {
            background-image: url(../img/bluered.png);
        }

        .symbol-list li.status-2 {
            background-image: url(../img/blue.png);
        }

        .symbol-list li.status-3 {
            background-image: url(../img/green.png);
        }

        .symbol-list li.email {
            background-image: url(../img/email.png);
            background-position: 5px 3px;
        }

.email-followup {
    padding-left: 100px;
    position: relative;
    display: none;
}

    .email-followup input[type='text'] {
        margin: 0 0 0 -95px;
        height: 22px;
    }

    .email-followup .button {
        position: absolute;
        top: 0;
        height: 22px;
        margin: 0;
        padding: 0;
        cursor: pointer;
    }

    .email-followup .ok-button {
        width: 40px;
        right: 50px;
    }

    .email-followup .back-button {
        width: 40px;
        right: 5px;
        background: none;
        border-color: transparent;
        color: #333;
        text-decoration: underline;
    }

#pnlInfo {
    display: none;
    padding: 10px;
    margin: 5px;
}

    #pnlInfo span {
        display: none;
        color: #fff;
        font-size: 14px;
    }

    #pnlInfo.error {
        display: block;
        background: #cc0000;
    }

    #pnlInfo.success {
        display: block;
        background: #098334;
    }

        #pnlInfo.error span, #pnlInfo.success span {
            display: block;
        }

.cookie-content {
    font-size: 11px;
    color: #666;
    padding: 5px 0;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    min-height: 100px;
    width: 300px;
}

    .modal-content h1, .modal-content p {
        padding: 0;
        min-height: 25px;
        margin: 0 0 10px;
    }

.type-list,
.type-text-container {
    float: none;
    width: 100%;
}

#damageRepaired_1 {
    margin-left: 10px;
}
#damageRentedInfo_1 {
    margin-left: 10px;
}
#damageInquiryInfo_1 {
    margin-left: 10px;
}
#damageExternPartInfo_1 {
    margin-left: 10px;
}

.startPageImgContainer {
    position: fixed;
    top: 50%;
    left: 50%;
}

@media only screen and (max-width:580px) {
    body {
        margin: 0;
        background: #f5f6f8;
    }

    .logo {
        width: 81px;
        height: 36px;
        background-size: 91px 46px;
        padding: 5px;
        border: 1px solid #cdcdd8;
    }

    .container {
        margin-top: 10px;
    }

    .content {
        border: none;
    }

    .form-group {
        width: 100%;
    }

    h1 {
        margin: 0 10px;
        padding-right: 99px;
        border-bottom: 1px solid #cdcdd8;
        padding-bottom: 10px;
        min-height: 46px;
    }

        h1 em {
            display: inline;
        }

    .type-list,
    .type-text-container {
        float: none;
        width: 100%;
    }
}

#rblType .aspNetDisabled {
    display: none;
    content: "";
}

#tasktypesPanel {
    margin-bottom: 15px;
}

td:has(> span.aspNetDisabled) {
    height:5px;
}
