@font-face {
    font-family: 'Panton Heavy';
    src: url("Panton-Heavy.eot");
    src: url("../fonts/Panton-Heavy.eot?#iefix") format("embedded-opentype"),url("../fonts/Panton-Heavy.woff2") format("woff2"),url("../fonts/Panton-Heavy.woff") format("woff"),url("../fonts/Panton-Heavy.ttf") format("truetype"),url("../fonts/Panton-Heavy.svg#Panton-Heavy") format("svg");
    font-weight: normal;
    font-style: normal
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    height: 100%;
}


body {
    background-color: #f4f4f4;
    position: relative;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #0B8BBE;
}

    a:hover, a:focus {
        text-decoration: none;
    }

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    font-family: 'Panton Heavy';
    font-size: 2.7rem;
    padding: 0;
    line-height: 1;
    color: #494949;
    margin-right: 3rem;
}

label {
    font-weight: 500;
    color: #696969;
}

h6 {
    font-size: 1.1rem;
}

ul {
    list-style: none;
}

li {
    list-style: none;
}

li.nav-item {
    position: relative;
}

.app-top-bar {
    background-color: #f8f8f8;
    padding: 4px 0;
}

.app-top-bar .nav {
    justify-content:flex-end;
}

.btn-primary {
    background-color: #148cc0;
    border-color: #148cc0;
}

.btn-tab {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid #0B8BBE !important;
    margin: 0;
}

.card {
    margin-bottom: 1.2rem;
}

.bottom-offset {
    height: 70px;
}

.hidden {
    display: none !important;
}

.badge-custom {
    color: #fff;
    background-color: #0B8BBE;
}

.greyed-text {
    color: #b9b9b9;
}

.field-validation-error {
    color: red;
}

.logout {
    background: none;
    border: none;
    cursor: pointer;
}

.nav-text {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.validation-summary-errors ul {
    list-style: none;
    padding: 0;
    color: red;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #0B8BBE;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #eee;
}

.dropdown-item.active:hover, .dropdown-item:active:hover {
    color: inherit;
}


/* spinner
-------------------------------------------------- */
.spinner {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: white;
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .spinner .loader {
        list-style: none;
        margin: 0;
        padding: 0;
        position: relative;
        width: 5em;
    }

        .spinner .loader li {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            top: 0;
            margin: auto;
            border-radius: 50%;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
            -webkit-transform-origin: center center;
            transform-origin: center center;
            -webkit-animation: anim 1s ease-in-out infinite;
            animation: anim 1s ease-in-out infinite;
            will-change: transform, filter;
        }

            .spinner .loader li:nth-child(1) {
                width: 1em;
                height: 1em;
            }

                .spinner .loader li:nth-child(1):after {
                    content: '';
                    display: block;
                    font-size: 25%;
                    width: 1em;
                    height: 1em;
                    border-radius: 50%;
                    box-shadow: 1em 0 0 rgba(20, 140, 192, 0.2), -1em 0 0 rgba(107, 196, 234, 0.2), 0 1em 0 rgba(74, 75, 75, 0.2), 0 -1em 0 rgba(255, 123, 0, 0.2);
                }

            .spinner .loader li:nth-child(2) {
                -webkit-animation-delay: .1s;
                animation-delay: .1s;
                width: 2em;
                height: 2em;
            }

                .spinner .loader li:nth-child(2):after {
                    content: '';
                    display: block;
                    font-size: 50%;
                    width: 1em;
                    height: 1em;
                    border-radius: 50%;
                    box-shadow: 1.5em 0 0 rgba(20, 140, 192, 0.4), -1.5em 0 0 rgba(107, 196, 234, 0.4), 0 1.5em 0 rgba(74, 75, 75, 0.4), 0 -1.5em 0 rgba(255, 123, 0, 0.4);
                }

            .spinner .loader li:nth-child(3) {
                -webkit-animation-delay: .15s;
                animation-delay: .15s;
                width: 3em;
                height: 3em;
            }

                .spinner .loader li:nth-child(3):after {
                    content: '';
                    display: block;
                    font-size: 75%;
                    width: 1em;
                    height: 1em;
                    border-radius: 50%;
                    box-shadow: 2em 0 0 rgba(20, 140, 192, 0.6), -2em 0 0 rgba(107, 196, 234, 0.6), 0 2em 0 rgba(74, 75, 75, 0.6), 0 -2em 0 rgba(255, 123, 0, 0.6);
                }

            .spinner .loader li:nth-child(4) {
                -webkit-animation-delay: .2s;
                animation-delay: .2s;
                width: 4em;
                height: 4em;
            }

                .spinner .loader li:nth-child(4):after {
                    content: '';
                    display: block;
                    font-size: 100%;
                    width: 1em;
                    height: 1em;
                    border-radius: 50%;
                    box-shadow: 2.5em 0 0 rgba(20, 140, 192, 0.8), -2.5em 0 0 rgba(107, 196, 234, 0.8), 0 2.5em 0 rgba(74, 75, 75, 0.8), 0 -2.5em 0 rgba(255, 123, 0, 0.8);
                }

            .spinner .loader li:nth-child(5) {
                -webkit-animation-delay: .25s;
                animation-delay: .25s;
                width: 5em;
                height: 5em;
            }

                .spinner .loader li:nth-child(5):after {
                    content: '';
                    display: block;
                    font-size: 125%;
                    width: 1em;
                    height: 1em;
                    border-radius: 50%;
                    box-shadow: 3em 0 0 #148cc0, -3em 0 0 #6bc4ea, 0 3em 0 #4a4b4b, 0 -3em 0 #ff7b00;
                }

@keyframes anim {
    50% {
        filter: blur(2px);
    }

    90%, 100% {
        transform: rotate(1turn);
        filter: blur(0);
    }
}

/* Block Header
-------------------------------------------------- */
.block-header {
    display: inline-block;
    width: 100%;
    position: relative;
}

    .block-header .actions {
        position: absolute;
        right: 10px;
        top: 0;
        z-index: 4;
    }

.actions {
    list-style: none;
    padding: 0;
    z-index: 3;
    margin: 0;
}
    .actions li {
        display: inline;
        margin-left: 2rem;
    }

.card-body .actions {
    position: absolute;
    right: 10px;
    top: 1.2rem;
    z-index: 4;
}

.list-group-item .actions {
    position: absolute;
    right: 10px;
    top: 1rem;
    z-index: 4;
}

/* Nav Bar
---------------------------------------------------*/

@media (min-width: 576px) {
    a.nav-link {
        margin: 0 15px;
    }
}

a.nav-link {
    color: #495057;
    display: flex;
    align-items: center;
}

    a.nav-link i {
        margin-right: 10px;
    }

    a.nav-link span {
        position: relative;
    }

        a.nav-link span::before {
            width: 0;
            content: '';
            position: absolute;
            transition: all .2s;
            background: #0B8BBE;
            bottom: -10px;
            height: 4px;
            border-radius: 30px;
            margin-left: 50%;
        }

    a.nav-link.active, .navbar-light .navbar-nav .nav-link.active {
        font-weight: 700;
        color: #0B8BBE;
    }

        a.nav-link.active span::before {
            width: 100%;
            margin-left: 0;
        }

.navbar-light .navbar-nav .nav-link {
    color: #343a40;
}

li.nav-item {
    position: relative;
}

    li.nav-item a:hover span::before {
        width: 100%;
        margin-left: 0;
    }

.nav-text {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

@media screen and (max-width: 736px) {
    a.nav-link span::before {
        display: none;
    }
}

/* History
---------------------------------------------------*/
.history small {
    display: block;
    color: #999;
    font-weight: 500;
    margin-bottom: 5px;
}

.history-note {
    height: 100%;
    overflow: hidden;
}

    .history-note label {
        font-weight: normal;
        color: #212529;
        height: 1.5rem;
        overflow: hidden;
        cursor: pointer;
        margin-bottom: 0;
    }

    .history-note input:checked + label {
        height: auto;
    }

/* Priority colors
-------------------------------------------------- */
.priority {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

    .priority.low {
        background-color: #00cc00;
    }

    .priority.medium {
        background-color: #ffcc00;
    }

    .priority.high {
        background-color: #ff4000;
    }

    .priority.urgent {
        background-color: #000;
    }

/* Login Page
-------------------------------------------------- */
.form-signin {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.form-signin .container {
    max-width: 500px;
}

.form-signin .card {
    border: 0;
    -webkit-box-shadow: 0px 3px 7px -3px rgba(66,66,66,0.51);
    -moz-box-shadow: 0px 3px 7px -3px rgba(66,66,66,0.51);
    box-shadow: 0px 3px 7px -3px rgba(66,66,66,0.51);
}

    .form-signin .card-footer {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

.form-signin img {
    display: block;
    margin: auto;
    margin-bottom: 20px;
}

/* Main content
-------------------------------------------------- */

main h1 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #494949;
}

.card-title {
    color: #494949;
    margin-bottom: 1.2rem;
}

/* Custom checkbox
---------------------------------------------------*/
.chk-container {
    display: block;
    position: relative;
    padding-left: 5px;
    margin-bottom: 0;
    margin-right: 4px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .chk-container.disabled {
        cursor: default;
    }

    .chk-container input {
        position: absolute;
        opacity: 0;
        height: 0;
        width: 0;
    }

    .chk-container.disabled input {
        pointer-events: none;
    }

    .chk-container .chk-label {
        margin-left: 30px;
    }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 23px;
    width: 23px;
    background-color: #eee;
    border-radius: 50%;
}

.chk-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.chk-container.disabled:hover input ~ .checkmark {
    background-color: #eee;
    pointer-events: none;
}

.chk-container input:checked ~ .checkmark {
    background-color: #0B8BBE;
    opacity: 0.5;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.chk-container input:checked ~ .checkmark:after {
    display: block;
}

.chk-container .checkmark:after {
    left: 8px;
    top: 5px;
    width: 7px;
    height: 11px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Form buttons
-------------------------------------------------- */
.form-buttons {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 10;
    opacity: 0.5;
    transition: all .2s;
    width: 100%;
    background-color: white;
    padding: 10px;
}

@media (max-width: 667px) {
    .form-buttons {
        opacity: 1;
        box-shadow: 0 0 0.5rem rgba(0, 0, 0, .05);
    }
}

    .form-buttons:hover {
        opacity: 1;
    }

/* Read only cards
---------------------------------------------------*/
.card.readonly .card-title {
    text-transform: uppercase;
}

/* Table in Read only cards
---------------------------------------------------*/
.readonly th, .readonly td {
    padding-left: 1.1rem;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    height: 100%;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Custom buttons
-------------------------------------------------- */
.btn-custom {
    background-color: #0B8BBE;
    border-color: #0B8BBE;
}

.btn.btn-custom, .btn-custom-light, .btn-orange {
    color: white;
}

a.btn.btn-custom, a.btn-custom-light, a.btn-orange {
    color: white;
}

.btn-custom:hover {
    background-color: #0a7ca9;
    border-color: #0a7ca9;
}

.btn-orange {
    background-color: #FF7B00;
    border-color: #FF7B00;
}

    .btn-orange:hover {
        background-color: #cc6300;
        border-color: #cc6300;
    }

.btn-custom-light {
    background-color: #0eb1f1;
    border-color: #0eb1f1;
}

    .btn-custom-light:hover {
        background-color: #0d9fd9;
        border-color: #0d9fd9;
        color: white;
    }

/* submenu
-------------------------------------------------- */
ul.submenu {
    margin: 0;
    padding-left: 0;
    background-color: white;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    min-width: 5rem;
    position: absolute;
    transition: all 0.5s ease;
    margin-top: 1rem;
    left: 0;
    display: none;
    top: 15px;
    z-index: 10;
}

li {
    transition-duration: 0.5s;
}

ul li:hover > ul.submenu,
ul li ul.submenu:hover {
    visibility: visible;
    opacity: 1;
    display: block;
}

ul li ul.submenu li {
    clear: both;
    width: 100%;
    padding: 1rem;
}

/* Page Tabs
-------------------------------------------------- */
.card-header.tabs {
    border-bottom: none;
    background-color: white;
}

.block-header .nav-tabs {
    position: absolute;
    right: 0;
    top: 0;
    border-bottom: 0;
}

    .block-header .nav-tabs li {
    }

        .block-header .nav-tabs li a {
            padding: 0.5rem 1rem;
            border-radius: 30px;
            border: 1px solid transparent;
            margin: 0;
            margin-right: 4px;
        }

    .block-header .nav-tabs a.active {
        background-color: #0B8BBE;
        border: 1px solid #0B8BBE !important;
        color: white;
    }

/* Search count message
---------------------------------------------------*/
.search-message {
    border-top: 1px solid #dee2e6;
}

/* footer
---------------------------------------------------*/
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    height: 62px;
    line-height: 62px;
}

.container.main {
    padding-bottom: 100px;
}

/* Responsive tables
---------------------------------------------------*/
ol.collection {
    margin: 0px;
    padding: 0px;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

ol.collection-container > li:last-child .attribute {
    border-bottom: 0;
}

/* 2 Column Card Layout */
@media screen and (max-width: 736px) {

    .item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.125);
        padding: 10px 15px;
    }

    .attribute::before {
        content: attr(data-name);
        font-weight: 500;
        color: #696969;
    }

    /* Attribute name for first column, and attribute value for second column. */
    .attribute {
        display: grid;
        grid-template-columns: minmax(9em, 30%) 1fr;
        padding: 4px 0;
        
    }
}

/* 1 Column Card Layout */
@media screen and (max-width: 736px) {
    .collection-container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .collection-container.header {
        display: none;
    }

        .collection-container > li:last-child {
            border-bottom: 0;
        }
}

/* Tabular Layout */
@media screen and (min-width: 737px) {
    /* The maximum column width, that can wrap */
    .item-container {
        display: grid;
    }

    /* In order to maximize row lines, only display one line for a cell */
    .attribute {
        border-bottom: 1px solid rgba(0, 0, 0, 0.125);
        padding: 0.75rem;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .collection-container.header > .item-container {
        font-weight: bold;
    }
}


table.responsive tr {
    border: 1px solid #ddd;
    padding: 5px;
    background-color: white;
}

@media screen and (max-width: 768px) {
    table.responsive {
        border: 0;
    }

        table.responsive thead {
            display: none;
        }

        table.responsive tr {
            display: block;
            margin-bottom: 10px;
            border-radius: 3.5px;
        }

        table.responsive td {
            font-size: 16px;
            text-align: right;
            display: inline-block;
            width: 100%;
            border: none;
        }

            table.responsive td:last-child {
                border-bottom: 0;
            }

            table.responsive td:before {
                content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }

        table.responsive .priority {
            float: right;
        }
}

/* Alerts
-------------------------------------------------- */
.alert-label {
    font-size: 1rem;
    font-weight: normal;
    color: #b9313d;
}

.alert-button {
    background-color: transparent;
    padding: 0;
    border: 1px solid transparent;
    color: #721c24;
}

button.alert-button {
    float: right;
}

    button.alert-button:hover {
        cursor: pointer;
        color: #0056b3;
    }


/* Toast notification
-------------------------------------------------- */
.toast {
    position: fixed;
    bottom: 100px;
    right: 50px;
}

/* Style for Duration picker
--------------------------------------------------------*/
.html-duration-picker-input-controls-wrapper .html-duration-picker {
    text-align: left !important;
}