﻿body {
    padding-top: 65px;
    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;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

textarea.input-validation-error {
    border: 1px solid #b94a48;
}

span.input-validation-error span:first-child {
    border-color: #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

a:hover, a:active, a:focus {
    outline: 0;
}

textarea {
    resize: none;
}


.k-scheduler-table tbody tr th {
    font-weight: 500;
}

.modal-dynamic {
    margin: 10px 10px 10px 10px;
    min-width: 540px;
    max-width: 100%;
}

.modal-adapt {
    max-width: 100%;
    width: auto !important;
    display: inline-block;
}

.bootbox-body {
    text-align: left;
}

.modal {
    text-align: center;
}

/*.bootstrap-switch .bootstrap-switch-handle-on,
.bootstrap-switch .bootstrap-switch-handle-off,
.bootstrap-switch .bootstrap-switch-label {
  line-height: 24px;
}*/

.bootstrap-switch-handle-off {
    width: 42px;
}

.bootstrap-switch-container {
    width: 48px;
}

.customBold {
    font-weight: 600;
}

label {
    font-weight: 600;
}

.bg-dark {
    background-color: #659dd6 !important;
}

.modal-header {
    background-color: #659dd6;
}

.modal-title {
    color: #FFFFFF;
}

.modal-header .close {
    color: #FFFFFF;
}

    .modal-header .close:hover, .close:focus {
        color: #FFFFFF;
    }

.modal-header .close {
    text-shadow: 0px 0px 0px #fff;
    opacity: 1.0;
}

    .modal-header .close:hover, .close:focus {
        opacity: 1.0
    }

a:focus {
    text-decoration: underline;
}

.btn:focus, .btn.focus {
    color: #fff;
    background-color: #859099;
    border-color: #859099;
    box-shadow: 0 0 0 0;
}

/*Länkar*/
a {
    color: #659dd6;
}

    a:hover {
        color: #659dd6;
    }

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #659dd6;
    background-color: #659dd6;
}

.form-control:focus {
    border-color: #659dd6;
    box-shadow: 0 0 0 0;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.06rem #659dd6;
}

/*Switch*/
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
    background-color: #659dd6;
}

.bootstrap-switch.bootstrap-switch-focused {
    border-color: #659dd6;
}

/*Kendo Grid Sort*/
.k-grid-header .k-i-sort-asc-sm, .k-grid-header .k-i-sort-desc-sm, .k-grid-header .k-sort-order {
    color: #659dd6;
}

/*Kendo Grid Filter*/
.k-grid-header .k-grid-filter.k-state-active, .k-grid-header .k-header-column-menu.k-state-active, .k-grid-header .k-hierarchy-cell .k-icon.k-state-active {
    background-color: #659dd6;
}

/*Kendo Grid Filter Selection*/
.k-column-menu .k-menu:not(.k-context-menu) .k-item.k-state-selected, .k-list .k-item.k-state-selected, .k-list-container .k-button.k-state-active, .k-list-container .k-button:active, .k-list-optionlabel.k-state-selected, .k-menu-group .k-item.k-state-selected, .k-menu.k-context-menu .k-item.k-state-selected, .k-spreadsheet-popup .k-button.k-state-active, .k-spreadsheet-popup .k-button.k-state-selected, .k-spreadsheet-popup .k-button:active {
    background-color: #659dd6;
}

.k-action-buttons .k-primary {
    color: #659dd6;
}

.k-action-buttons:hover .k-primary:hover {
    background-color: #659dd6;
}

/*Kendo Grid Page Number*/
.k-pager-numbers .k-state-selected, .k-pager-numbers .k-state-selected:hover {
    border-color: #659dd6;
    background-color: #659dd6;
}

/*Kendo Grid Reload*/
.k-pager-wrap .k-link, .k-pager-wrap .k-pager-nav {
    color: #659dd6;
}

.k-pager-wrap:hover .k-link:hover, .k-pager-wrap:hover .k-pager-nav:hover {
    color: #659dd6;
}

/*Kendo Border*/
.k-autocomplete.k-state-focused, .k-combobox .k-state-active, .k-combobox .k-state-focused, .k-dateinput .k-state-focused, .k-datepicker .k-state-active, .k-datepicker .k-state-focused, .k-datetimepicker .k-state-active, .k-datetimepicker .k-state-focused, .k-numerictextbox .k-state-focused, .k-state-focused .k-multiselect-wrap, .k-timepicker .k-state-active, .k-timepicker .k-state-focused {
    border-color: #659dd6;
}

.k-dropdown-wrap.k-state-default.k-state-focused {
    border-color: #659dd6;
}

/*Kendo Kalendar*/
.k-calendar .k-state-selected .k-link {
    border-color: #659dd6;
    background-color: #659dd6;
    box-shadow: inset 0 0 0 1px #659dd6;
}

.k-calendar .k-state-selected.k-state-focused .k-link {
    border-color: #659dd6;
    background-color: #659dd6;
    box-shadow: inset 0 0 0 1px #659dd6;
}

.k-calendar .k-state-selected.k-state-hover .k-link {
    border-color: #659dd6;
    background-color: #659dd6;
    box-shadow: inset 0 0 0 1px #659dd6;
}

.k-calendar .k-content .k-today .k-link {
    box-shadow: inset 0 0 0 1px #659dd6;
}

.k-calendar .k-content .k-today.k-state-selected .k-link {
    box-shadow: inset 0 0 0 1px #659dd6;
}

.k-calendar .k-calendar-header .k-today, .k-calendar .k-footer .k-nav-today {
    color: #659dd6;
}

.k-calendar .k-calendar-header .k-today, .k-calendar .k-footer .k-nav-today:hover {
    color: #659dd6;
}

.field-required {
    color: #b94a48;
}

/**/

.navbar-logo {
    transition: transform .2s ease-in-out;
    height: 24px; 
    position:relative; 
    top:-5px;
}

    .navbar-logo:hover {
        transform: rotate(-5deg) scale(1.1);
    }