html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    padding-bottom: 20px;
}

/*#nav-bar {
    height: 100px;
}*/

h2 {
    font-weight: 300;
}

h1 {
    font-weight: 300;
}

/*.navbar-nav {
    text-transform: uppercase;
}

.navbar-nav li, .navbar-nav a, .navbar-header, .nav, .navbar-nav {
    padding-top: 0px;
}*/

.k-grid td {
    border-width: 0;
}

.k-grid-header tr th {
    border-width: 0;
}

.top-banner {
    background-color: #333333;
    width: 100%;
    min-height: 20px;
}

.ReminderType {
    text-align: center;
}

/* Front page styling for reminders */
.ReminderTypeImg {
    display: block;
    max-width: 25px;
    max-height: 25px;
    width: auto;
    height: auto;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    /*height: 60px;*/
    background-color: #f5f5f5;
    text-decoration: none !important;
    border-top-width: 1px;
    border-top-color: rgb(231,231,231);
    border-top-style: solid;
}

    .footer a:link {
        color: inherit;
    }

body > .container {
    padding: 85px 15px;
}

.container .text-muted {
    margin: 20px 0;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.reminder-row {
    cursor: pointer;
    max-height: 16px;
}

.keep-divs-inline {
    display: inline-block;
}

/* ###  Profile Page  ### */
#pbPersons .div-header {
    width: 160px;
}

#pbPersons .div-header-indented {
    width: 145px;
    padding-left: 15px;
}


#gdAppointments .k-grid-header tr th, .k-grid td {
    padding: 3px;
    padding-left: 6px;
    /*vertical-align: top;*/
}

.k-tooltip-content {
    text-align: left;
}

/* Calendar styles */
#SelectedDate_dateview .k-calendar div {
    border-color: #428bca;
    /* background-color: #428bca; */
    color: #fff;
}

.k-state-active.k-autocomplete, .k-state-active.k-dropdown-wrap, .k-state-active.k-header.k-multiselect, .k-state-active.k-numeric-wrap, .k-state-active.k-picker-wrap {
    border-color: #428bca;
    background-color: #428bca;
    color: #fff;
}

    .k-state-border-down.k-state-default.k-autocomplete, .k-state-border-up.k-state-default.k-autocomplete, .k-state-active.k-dropdown-wrap .k-select, .k-state-active.k-numeric-wrap .k-select, .k-state-active.k-picker-wrap .k-select {
        border-color: #428bca;
    }

.k-calendar .k-header .k-state-hover {
    border-color: #428bca;
    background-color: #97b6d0;
    color: #fff;
}

.k-calendar .k-state-disabled .k-link {
    color: #e0e0e0;
    background-color: white;
}

.k-calendar .k-footer .k-link {
    color: #fff;
}

#gdPatients .k-grid-header tr th,
#gdTimeSlots .k-grid-header tr th,
#gdAppointments .k-grid-header tr th,
#gdReminders .k-grid-header tr th,
#reminders .k-grid-header tr th,
#gdBookingNeeds .k-grid-header tr th,
#gdJournalEntries .k-grid-header tr th,
#appointments .k-grid-header tr th,
#gdTimeSlots .k-grid-header tr th {
    padding: 3px;
    padding-left: 6px;
    border-width: 0;
    border-bottom-width: 1px;
    border-top-width: 1px;
    border-color: #428bca;
    background-color: #428bca;
    color: #fff;
}

.tanddiagram-kvadrat {
    width: 15px;
    height: 15px;
    border-style: solid;
    border-color: #000;
    border-width: thin;
}

.k-grid table {
    border-collapse: collapse;
}

.tk2-button,
#btnCreateAppointment .k-button,
#gdAppointments .k-button {
    background-color: #64a1d5;
    background-image: linear-gradient(to bottom, #64a1d5, #428bca);
    color: #fff;
    border-color: #428bca;
    min-width: 70px;
}

#gdAppointments .k-state-disabled {
    background-color: #64a1d5;
    background-image: linear-gradient(to bottom, #a5c0d8, #97b6d0);
    color: #fff;
    border-color: #428bca;
    min-width: 70px;
}

#gdAppointments .k-button {
    margin: 2px;
    float: right;
}

/*#gdTimeSlots .k-auto-scrollable{
        overflow-y: unset;
}

#gdTimeSlots{
        height: 600px;
        overflow-y: scroll;
}*/

.tk2-button:hover {
    background-color: #428bca;
    color: #fff;
    border-color: #428bca;
}


.k-panelbar .k-item > .k-link.k-header {
    background-color: #64a1d5;
    color: white;
}

    .k-panelbar .k-item > .k-link.k-header.k-state-hover {
        background-color: #428bca;
        color: #fff;
    }

.k-grid-toolbar .k-button {
    color: #9da2a4;
    border-color: #9da2a4;
    background-color: #fff;
    border-width: thin;
    margin-bottom: 4px;
    margin-left: 0px;
}

    .k-grid-toolbar .k-button:hover {
        color: #9da2a4;
        border-color: #9da2a4;
        background-color: #fafafa;
        border-width: thin;
    }

.k-grid {
    border: 0;
    /* Fix right grid borders */
    /*border-right-style: solid;*/
    border-right-style: none;
    border-right-width: 1px;
}


.k-header.k-grid-toolbar {
    border: 0;
    padding: initial;
    background: #F5F5F5;
    padding-left: 0px;
}


.k-grid-toolbar.k-toolbar {
    border: 0;
    padding: initial;
    background: #F5F5F5;
    padding-left: 0px;
}

.k-filter-row th, .k-grid-header th.k-header {
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    border-style: solid;
    border-width: 1px;
    padding: .5em .6em .4em .6em;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
}

.k-grid tr {
    border-left: solid;
    border-right: solid;
    border-left-width: thin;
    border-right-width: thin;
    border-top-width: thin;
    border-left-color: #e0e0e0;
    border-right-color: #e0e0e0;
    border-top-color: #e0e0e0;
}

.k-grid .k-widget, table {
    table-layout: fixed;
}
.k-grid .k-widget, td {
    word-wrap: break-word;
}




#GridID .k-grid-content {
    min-height: 100px;
    max-height: 400px;
}

.page-template {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}


    .page-template .footer {
        position: absolute;
        bottom: 30px;
        left: 30px;
        right: 30px;
        border-top: 1px solid #888;
        text-align: center;
        color: #888;
    }

    .page-template .header {
        position: absolute;
        top: 30px;
        left: 30px;
        right: 30px;
        border-bottom: 1px solid #888;
        color: #888;
    }


/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* Change the kendo spinner */
.k-loading-image {
    z-index: 3;
    background-image: url('../../images/itr/ajax-loader03.gif');
}

/* Set position on the loading panel to ensure the entire div is covered */
.loadingPanel {
    position: relative;
    /*z-index: 2;*/
}

/* Set min height on grids to assure the spinner is visible */
.k-grid-content {
    min-height: 200px;
}



/* Input is valid */
.valid {
    color: green;
}

.ValidationValid:before {
    content: url('../../images/itr/ValidationValid.png');
}

.ValidationValid {
    color: green;
    font-size: larger;
    padding-top: 10px;
    /*padding-bottom: 10px;*/
}

/* Input is not valid */
.invalid {
    color: red;
}

.ValidationInvalid:before {
    content: url('../../images/itr/ValidationInvalid.png');
}

.ValidationInvalid {
    color: red;
    font-size: larger;
    padding-top: 10px;
    /*padding-bottom: 10px;*/
}


/* Disable mouse over hover on grid rows */
.noHoverGrid.k-grid tr:not(.k-state-selected):hover {
    background: none;
    color: inherit;
}

/* Buttons */
.k-button {
    /*width: 160px;*/
    min-height: 28px;
    padding: 8px;
}

.vis-original-tekst {
    line-height: 16px;
    padding: 3px;
}

/*#############################*/
/* Front page styling for reminders */
.ReminderDate {
    width: 80px;
}

.k-state-disabled {
    background-color: aliceblue;
}

/* LOGIN Properties*/
.navbar-login {
    width: 305px;
    padding: 10px;
    padding-bottom: 0px;
}

.navbar-login-session {
    padding: 10px;
    padding-bottom: 0px;
    padding-top: 0px;
}

.icon-size {
    font-size: 87px;
}

/* frb */
.k-grid-norecords {
    padding-top: 13px;
    padding-bottom: 13px;
    line-height: 1.7em;
    padding-left: 15px;
}
