@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
    --text-xs: 10px;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 13px;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 14px;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 16px;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 18px;
    --text-xl--line-height: calc(1.75 / 1.25);

    --color-slate-50: oklch(98.4% 0.003 247.858);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-200: oklch(92.9% 0.013 255.508);
    --color-slate-300: oklch(86.9% 0.022 252.894);
    --color-slate-400: oklch(70.4% 0.04 256.788);
    --color-slate-500: oklch(55.4% 0.046 257.417);
    --color-slate-600: oklch(44.6% 0.043 257.281);
    --color-slate-700: oklch(37.2% 0.044 257.287);
    --color-slate-800: oklch(27.9% 0.041 260.031);
    --color-slate-900: oklch(20.8% 0.042 265.755);
    --color-slate-950: oklch(12.9% 0.042 264.695);

    --shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --tracking-tighter:-0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
}

html,
body {
    height: 100%;
    color: var(--color-slate-950);
}

* {
    font-family: 'Inter';
    font-weight: 400;
}

h1 {
    font-weight: 600;
    font-size: 20px;
    color: var(--color-slate-800);
    padding: 16px 0;
    margin: 0 0 24px 0;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

h2 { font-size: 22px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

.front-view .btn-lg {
    padding: 8px 16px;
    font-size: 16px;
    line-height: 25px;
}

.btn-success {
    background-color: #00a63e;
    border-color: #008236;
}

.btn-success:hover {
    background-color: #008236;
}

.btn-warning {
    background-color: #f0b100;
    border-color: #d08700;
}

.btn-warning:hover {
    background-color: #d08700;
}

.btn-info {
    background-color: #00a6f4;
    border-color: #0084d1;
}

.btn-info:hover {
    background-color: #0084d1;
}

.btn-danger {
    background-color: #e7000b;
    border-color: #c10007;
}

.btn-danger:hover {
    background-color: #c10007;
}

/* TOPNAV */

.navbar {
    border: 0;
    box-shadow: var(--shadow-lg);
}

.navbar .dropdown-header {
    color: var(--color-slate-500);
    padding-top: 8px;
}

.navbar-brand {
    font-weight: 600;
    font-size: var(--text-xl);
    letter-spacing: var(--tracking-wide);
}

.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav>li>a {
    color: #fff;
}

.navbar-nav li li .glyphicon {
    margin: 0 6px 0 0;
    color: var(--color-slate-400);
}

.summary {
    margin: 10px 0 10px 0;
    color: var(--color-slate-400);
}


/* MESSAGES */

.message-container {
    position: fixed;
    z-index: 2000;
    width: 400px;
    right: 30px;
    top: 80px;
}


/* TABLES */
.table-striped > tbody > tr:nth-of-type(2n+1) {
  background-color: var(--color-slate-100);
}

.table-bordered {
  border: 1px solid var(--color-slate-300);
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
  border: 1px solid var(--color-slate-300);
}

.pagination > li > a, .pagination > li > span {
  border-color: var(--color-slate-300) !important;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  background-color: var(--color-slate-600) !important;
}

.pagination > li > a, .pagination > li > span {
  color: var(--color-slate-600);
}

.column--actions {
    min-width: 75px;
    text-align: right;
}

.btn+.btn,
.btn+div+.btn {
    margin-right: 6px;
}

/* FORM */
.form__group {
    padding: 16px 16px 0;
    margin: 12px 0 20px 0;
    border-radius: 4px;
    background-color: var(--color-slate-50);
    border: 1px solid var(--color-slate-200);
}

.form__group__heading {
    font-size: var(--text-xl);
    margin: 0 0 24px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    font-size: var(--text-sm);
    color: var(--color-slate-500);
}

/* APPROVE */

.approve__download-form {
    background: #eaeaea;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 0.25rem;
    line-height: 34px;
}

.approve__resource {
    background: #fafafa;
    padding: 20px;
    margin: 0 0 20px 0;
    border: 2px solid #ddd;
}

.approve__resource>h4 {
    margin: -20px -20px 20px -20px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 20px;
}

.approve__resource .table {
    margin-bottom: 10px;
    background-color: #fff;
}

.approve__resource .table th {
    font-weight: 700;
}

.approve__weektotal {
    margin: 20px -20px -20px -20px;
    background: #fff;
    border-top: 1px solid #ddd;
}

.approve__weektotal-item {
    padding: 12px;
    line-height: 34px;
}

.approve__weektotal--hours {
    font-weight: 700;
    font-size: 160%;
}


/* FRONT */
.front-view {
    margin: 24px 0 0;
}

.front-view .panel-default {
    border-color: var(--color-slate-300);
    overflow: hidden;
}

.front-view .panel-heading {
    color: var(--color-slate-800);
    background-color: var(--color-slate-50);
    border-color: var(--color-slate-300);
    box-shadow: var(--shadow-sm);
}

.front-view .panel-body {
    padding: 0;
    background-color: var(--color-slate-100);
    min-height: 500px;
    min-height: 500px;
    overflow-y: auto;
}

.front__registration {
    margin: 8px;
    padding: 16px 16px;
    border: 1px solid var(--color-slate-300);
    border-radius: 4px;
    background-color: #fff;
    box-shadow: var(--shadow-xs);
}

.front__registration__name {
    font-size: var(--text-base);
    line-height: var(--text-base--line-height);
    color: var(--color-slate-800);
    font-weight: 600;
    margin: 0;
}

.front__registration__details {
    font-size: var(--text-sm);
    line-height: var(--text-sm--line-height);
    font-weight: 300;
    color: var(--color-slate-600);
    margin: 8px 0 0 0;
}

.front__registration__duration {
    margin: 0;
    text-align: center;
    font-size: var(--text-sm);
    line-height: var(--text-sm--line-height);
    color: var(--color-slate-600);
}

.glyphicon-spin {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}

@-webkit-keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -42px;
    padding: 0 0 42px;
}

.wrap>.container {
    padding: 70px 15px 20px;
}

.footer {
    height: 42px;
    background-color: var(--color-slate-100);
    border-top: 1px solid var(--color-slate-300);
    padding: 14px 0;
}

.footer_logo {
    display: block;
    width: auto;
    height: 14px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}


/* add sorting icons to gridview sort links */

a.asc:after,
a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content:
        /*"\e113"*/
        "\e151";
}

a.desc:after {
    content:
        /*"\e114"*/
        "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


/* margins */

.mr10 {
    margin-right: 10px;
}

.mr15 {
    margin-right: 15px;
}

.mr20 {
    margin-right: 20px;
}

.mr25 {
    margin-right: 25px;
}

.ml10 {
    margin-left: 10px;
}

.ml15 {
    margin-left: 15px;
}

.ml20 {
    margin-left: 20px;
}

.ml25 {
    margin-left: 25px;
}
