﻿@font-face {
    font-family: "Ubuntu";
    src:url("/Content/fonts/Ubuntu-Regular.ttf") format('truetype');
}

body{
    font-family: Ubuntu;
}

html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    height: calc(100vh - 150px);
}

:root {
    --danger: #ff422f;
    --red: #ff422f;
    --success: #3cb327;
    --green: #3cb327;
}

/* 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;
}

img.profile-picture {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.form-control,
.btn,
.alert {
    border-radius: .6rem;
}

.btn-primary,
.btn-danger,
.btn-warning,
.btn-info,
.btn-success {
    background-image: linear-gradient(45deg, #00000033, #ffffff33);
    border-color: transparent;
}


/* ----------------------------------------------- */
/* Cards */
.card {
    border-radius: 0 .8rem 0 .8rem;
    border: none;
    /*box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);*/
    box-shadow: 4px 2px 16px 0 #7f7f7f;
}

.card > .card-header,
.card > .card-body,
.card > .card-footer {
    border-radius: 0;
}

.card > .card-header:first-child,
.card > .card-body:first-child,
.card > .card-footer:first-child {
    border-top-right-radius: .8rem;
}

.card > .card-header:last-child,
.card > .card-body:last-child,
.card > .card-footer:last-child {
    border-bottom-left-radius: .8rem;
}

/* ----------------------------------------------- */
/* Bootstrap alerts */
.alert-danger {
    color: var(--light);
    background-color: #ff422f;
    box-shadow: 0 0 8px #ff422f7a;
    border-color: transparent;
}

.alert-success {
    color: var(--light);
    background-color: #3cb327;
    box-shadow: 0 0 8px #3cb3277a;
    border-color: transparent;
}

/* ----------------------------------------------- */
/* Kendo widgets */

.k-widget.k-datepicker .k-picker-wrap {
    border-radius: .6rem;
}

.k-widget.k-datepicker .k-picker-wrap > .k-select {
    border-radius: 0 .5rem .5rem 0;
}

.alert:empty,
.validation-summary-valid {
    display: none;
}

.validation-summary-errors.alert > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* ------------------------------------------------ */
/* Colors */
.bg-knsa {
    background-color: #ff6a00;
}

.bg-gold {
    background-color: #B38728;
    background-image: linear-gradient(135deg, #B38728, #bcb35d, #AA771C);
    color: white;
}

.bg-silver {
    background-color: #91a4b3;
    background-image: linear-gradient(315deg, #6b8397 0%, #aec4d6 40%, #8693ab 100%);
    color: white;
}

.bg-bronze {
    background-color: #a14521;
    background-image: linear-gradient( 135deg, #ca7345, #a14521 27%, #ca7345 72%, #d28a5e 80%, #ca7345 84%, #732100 );
    color: white;
}

/* ------------------------------------- */
/* Dropdowns */

.dropdown-item {
    border-top: solid 0.1px #F9F7F4;
}

    .dropdown-item:hover {
        background-color: #F9F7F4;
    }

.dropdown-menu-dark > li > .dropdown-item:hover {
    background-color: black;
    color: white;
}

.dropdown-item.active:hover:not(.directlink) {
    background-color: black;
    color: white;
}

.rfx-dropdown-parent {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.nomarginline {
    margin: 0px;
}

.smalltext {
    font-size: 0.6rem;
}

.selection.disabled > .dropdown-item {
    color: $gray-600;
}

.dropdownMenu {
    z-index: 1090;
}

.dropdown-header {
    font-weight: bold;
    border-bottom: 1px solid lightgrey;
    margin-top: 5px;
}

.nolist{
    list-style-type: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}