﻿/* Navbar*/
.km-dialog-title, .km-view-title {
    color: #000000;
    font-weight: bold;
    background-color: #ffffff;
}

    .km-dialog-title:before, .km-view-title:before {
        content: "";
        display: inline-block;
        width: 0;
    }

/* Forside */
.frontpage-logo {
    width: 100%;
    background-image: url('../Image/Roteq12-logo-500px.png');
    background-position: center;
    background-size: 80%;
    background-repeat: no-repeat;
}

ul li img{
    text-align: center;
    width: 100%
}

/* Tekst */
.center-text {
    text-align: center;
}

.center-bold-text {
    text-align: center;
    font-weight:bold;
    color: #000000;
}

h2.center-text {
    text-align: center;
    color:darkred !important;
}

.km-content  p .list-heading {
    margin: 7px 10px !important;
}

/* Streger */
.km-flat .km-list > li, .km-list:not(.km-virtual-list) > li:last-child {
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: #005d2b;
}

.white_stroke {
    border-color: #ffffff !important;
}

/* Button */
a.km-butto.km-state-active, a.km-listview-link:hover, a.km-listview-link:focus, a.km-listview-link:active {
    background-color: rgb(38, 131, 78);
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0, rgba(0,0,0,.5)),color-stop(.5, rgba(0,0,0,.2)),color-stop(1, rgba(0,0,0,.5)));
    background-image: -moz-linear-gradient(50% 0,50% 100%,rgba(0,0,0,.5),rgba(0,0,0,.2) 50%,rgba(0,0,0,.5));
    background-image: -ms-linear-gradient(50% 0,50% 100%,rgba(0,0,0,.5),rgba(0,0,0,.2) 50%,rgba(0,0,0,.5));
    background-repeat: repeat;
    background-position: 0 0;
}

.button {
    background-color: rgb(38, 131, 78);
    color: white;
    margin-right: auto;
    margin-left: auto;
    display: inline;
    margin-top: 0px;
    border: none;
}

.right_button {
    display: inline;
    margin-top: 0px;
    border: none;
    float: right;
    width: 50% !important;
}

.button:hover, .right_button:hover {
    background-color: rgb(38, 131, 78);
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0, rgba(0,0,0,.5)),color-stop(.5, rgba(0,0,0,.2)),color-stop(1, rgba(0,0,0,.5)));
    background-image: -moz-linear-gradient(50% 0,50% 100%,rgba(0,0,0,.5),rgba(0,0,0,.2) 50%,rgba(0,0,0,.5));
    background-image: -ms-linear-gradient(50% 0,50% 100%,rgba(0,0,0,.5),rgba(0,0,0,.2) 50%,rgba(0,0,0,.5));
    background-repeat: repeat;
    background-position: 0 0;
    color: white;
    margin-right: auto;
    margin-left: auto;
    display: inline;
    margin-top: 0px;
    border: none;
    width: 50% !important;
}

button-container{
    margin: 20px auto !important;
}

/* Labels */
label, span.width-50 {
    display: block;
    width: 50%;
    word-wrap: break-word;
    padding: 10px 10px 10px 0px;
}

label.label-width-100 {
    padding: 0;
    margin:0px;
    width: 100%;
}

/* Menu */
ul.menu > li > h2,
.menu h2 {
    color: #005d2b;
    margin: 0 0 5px 0;
}
.km-widget.km-listview-link, .km-root a:not(.k-button), a.km-listview-link {
    background-color: #26834e;
    color: #ffffff;
    font-weight: bold;
}

span.km-badge {
    background: #ffffff !important;
    color: #26834e !important;
    font-weight: bolder;
    font-size: 10px;
}

a.km-listview-link::after{
    color:#ffffff !important;
}

/* Indhold */

.km-flat .km-list input[type=number],
.km-flat .km-list input[type=time],
.km-flat .km-list select[data-id] {
    background-color: #26834e;
    background: #26834e;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    border-radius: 3px;
    right: .5em !important;
}

.km-flat .km-list input[type=number].pending,
.km-flat .km-list input[type=time].pending {
    background-color: #ffff00 !important;
    color: black !important;
}

.km-flat .km-list .readonly input[type=number],
.km-flat .km-list .readonly input[type=time] {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
    text-align:center !important;
}

.km-flat .km-listview-label input[type=checkbox]{
    right:-15px;
}

/* Ændring af standard tyrkis baggrundsfarve til grøn */
.km-flat .k-slider .k-draghandle,
.km-flat .k-slider-selection,
.km-flat .km-actionsheet > li > .km-state-active,
.km-flat .km-actionsheet > li > a:active,
.km-flat .km-listview-label input[type=checkbox]:checked,
.km-flat .km-listview-label input[type=radio]:checked,
.km-flat .km-loader:before,
/*.km-flat .km-pages .km-current-page,*/
.km-flat .km-popup .k-state-focused,
.km-flat .km-popup .k-state-selected,
.km-flat .km-rowinsert,
.km-flat .km-scroller-pull,
.km-flat .km-scroller-refresh.km-load-more,
.km-flat .km-state-active,
.km-flat .km-tabstrip .km-state-active,
.km-flat .km-touch-scrollbar,
.km-flat li.km-state-active .km-listview-label,
.km-flat li.km-state-active .km-listview-link,
.km-widget .km-icon .km-check {
    background: #26834e !important;
    background-color: #26834e !important;
}

.km-flat .k-slider .k-draghandle:hover,
.km-flat .km-popup .k-state-hover,
.km-flat .km-actionsheet > li > a:hover {
    background: #005d2b !important;
    background-color: #005d2b !important;
    }
#yellowDot:after {
    content: ' \25C6';
    color: #ffbf00;
}
#greenDot:after {
    content: ' \25C6';
    color: #00b703;
}
#blueDot:after {
    content: ' \25C6';
    color: #0000ff;
}
#frontPageGraphTitle{
    margin-left:30px;
}
#frontPageGraphTitle span{
    margin-right:5px;
}


#gpsButton {
    float: right;
    text-align: right !important;
    margin-right: 10px;
    width: 45px;
    margin-top: -5px;
}


label[for='rememberMeCheckbox'] {
    display: inline !important;
}

input[type="time"] {
    min-height: 2.5rem !important;
}
#deviceReceiveAlarm {
    display: inline;
    border-width: 1px;
    border-style: solid;
    width: 1.4em;
    height: 1.4em;
    position:absolute;
    top:0.7em;
    border-radius: 3px;
    /*margin-top:0.7em;*/
}
#deviceReceiveAlarmLabel {
    display: inline;
}
.addUserDeviceListItem {
    list-style-type: none;
    padding-left: 0.7em;
}
#addUserToDeviceButton{
    margin-left:2em;
}
/* Hide saveButton on certain pages */
#drawer-frontpage #saveButton,
#drawer-dashboard #saveButton,
#drawer-connectdevice #saveButton,
#drawer-editdevice #saveButton,
#drawer-selectdevice #saveButton,
#drawer-deviceusers #saveButton,
#drawer-myprofile #saveButton,
#drawer-montoer-advarsel #saveButton,
#drawer-test-inputs #saveButton,
#drawer-system-info #saveButton {
    display: none;
}