/*
Template Name: Material HeadUp
Author: UnEspace
Email: rampeur@gmail.com
File: scss
*/
@use 'sass:color';

html {
    height: 100%;
    position: relative;
    min-height: 100%;
    background: $white;
    .page-wrapper{
        height:calc(100vh - 64px);
        .page-content{
            padding-bottom: 30px;
            .content {
                padding: 1.5rem;
            }
        }
    }
}
body {
    height: 100%;
    margin: 0;
    font-family: $bodyfont;
    overflow-x: hidden;
    font-weight: 300;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
* {
    outline: none;
}

a:hover,
a:focus,
a {
    text-decoration: none;
}
a.link {
    color: $headingtext;
    text-decoration: none;
    &:hover,
    &:focus {
        color: $primary;
    }
}
a.warn {
    color: $warn;
}
a.warn:hover {
    color: color.adjust($warn, $alpha: -0.3);
}
a.accent {
    color: $accent;
}
a.accent:hover {
    color: color.adjust($accent, $alpha: -0.3);
}

.no-shrink {
    flex-shrink: 0;
}
.flex-spacer {
    flex: 1 1 auto;
}

.error-messages {
    color: $error !important;
    font-weight: 500;
}
.footer {
    background-color: $sidebar-footer;
    font-size: 0.85em;
    padding: 5px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    a {
        color: $secondary;
    }
}
.img-responsive {
    width: 100%;
    height: auto;
    display: inline-block;
}
.img-fluid {
    max-width: 100%;
    height: auto;
}
.shadow-none {
    box-shadow: none !important;
}
.pointer {
    cursor: pointer;
}
.font-monospace.fw-lighter,
.font-monospace .fw-lighter {
    font-weight: 200 !important;
}
huapp-full-layout .mat-mdc-form-field,
huapp-full-layout .mdc-text-field--filled .mdc-floating-label {
    font-size: initial;
}

.mat-mdc-form-field-infix {
    min-height: 40px;
}
.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) {
    .mat-mdc-form-field-infix {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}
.mat-mdc-icon-button {
    .mat-icon {
        line-height: 0.87;
    }
}
.badge .mat-icon {
    width: 0.76rem;
    height: 0.76rem;
    font-size: 0.76rem;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

/****************
*  Definitions  *
****************/
dl.dl-horizontal {
    margin-bottom: 0;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 20px;
    dt {
        float: left;
        width: 120px;
        overflow: hidden;
        clear: left;
        color: $light;
        font-weight: normal;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    dt,
    dd {
        line-height: 1.42857143;
        min-height: 1.42857143em;
    }
    dd {
        margin-left: 140px;
        /* color: $extra-light; */
    }
    .dl-large dt {
        width: 200px;
    }
    .dl-large dd {
        margin-left: 220px;
    }
}

/****************
*  Text Colors  *
****************/
.text-primary {
    color: $primary !important;
}
.text-secondary,
.text-warn {
    color: $secondary !important;
}
.text-accent {
    color: $accent !important;
}
.text-success {
    color: $success !important;
}
.text-info {
    color: $info !important;
}
.text-warning {
    color: $warning !important;
}
.text-danger {
    color: $danger !important;
}
.text-error {
    color: $error !important;
}
.text-white {
    color: $white !important;
}
.text-red {
    color: $red !important;
}
.text-red-dark {
    color: $red-dark !important;
}
.text-orange {
    color: $orange !important;
}
.text-yellow {
    color: $yellow !important;
}
.text-megna {
    color: $megna !important;
}
.text-green {
    color: $green !important;
}
.text-teal {
    color: $teal !important;
}
.text-turquoise {
    color: $turquoise !important;
}
.text-cyan {
    color: $cyan !important;
}
.text-blue {
    color: $blue !important;
}
.text-navy {
    color: $navy !important;
}
.text-pink {
    color: $pink !important;
}
.text-magenta {
    color: $magenta !important;
}
.text-purple {
    color: $purple !important;
}
.text-purple-dark {
    color: $purple-dark !important;
}
.text-raspberry {
    color: $raspberry !important;
}
.text-grey {
    color: $grey !important;
}
.text-muted {
    color: $muted !important;
}
.text-extra-muted {
    color: $extra-muted !important;
}
.text-empty {
    color: $empty !important;
}

.text-light-danger {
    color: $light-danger !important;
}
.text-light-success {
    color: $light-success !important;
}
.text-light-warning {
    color: $light-warning !important;
}
.text-light-primary {
    color: $light-primary !important;
}
.text-light-info {
    color: $light-info !important;
}
.text-light-inverse {
    color: $light-inverse !important;
}
.text-light-megna {
    color: $light-megna !important;
}

$light-danger: #f9e7eb;
$light-success: #e8fdf8;
$light-warning: #fff8ec;
$light-primary: #f1effd;
$light-info: #e3f3fd;
$light-inverse: #f6f6f6;
$light-megna: #e0f2f4;

/**********************
*  Background Colors  *
**********************/
.bg-primary {
    background-color: $primary !important;
}
.bg-secondary,
.bg-warn {
    background-color: $secondary !important;
}
.bg-accent {
    background-color: $accent !important;
}
.bg-success {
    background-color: $success !important;
}
.bg-info {
    background-color: $info !important;
}
.bg-warning {
    background-color: $warning !important;
}
.bg-danger {
    background-color: $danger !important;
}
.bg-error {
    background-color: $error !important;
}
.bg-white {
    background-color: $white !important;
}
.bg-red {
    background-color: $red !important;
}
.bg-red-dark {
    background-color: $red-dark !important;
}
.bg-orange {
    background-color: $orange !important;
}
.bg-yellow {
    background-color: $yellow !important;
}
.bg-megna {
    background-color: $megna !important;
}
.bg-green {
    background-color: $green !important;
}
.bg-teal {
    background-color: $teal !important;
}
.bg-turquoise {
    background-color: $turquoise !important;
}
.bg-cyan {
    background-color: $cyan !important;
}
.bg-blue {
    background-color: $blue !important;
}
.bg-navy {
    background-color: $navy !important;
}
.bg-pink {
    background-color: $pink !important;
}
.bg-magenta {
    background-color: $magenta !important;
}
.bg-purple {
    background-color: $purple !important;
}
.bg-purple-dark {
    background-color: $purple-dark !important;
}
.bg-raspberry {
    background-color: $raspberry !important;
}
.bg-grey {
    background-color: $grey !important;
}
.bg-muted {
    background-color: $muted !important;
}
.bg-extra-muted {
    background-color: $extra-muted !important;
}
.bg-empty {
    background-color: $empty !important;
}
.bg-crystal,
.bg-crystal .mdc-text-field--filled:not(.mdc-text-field--disabled) {
    background-color: transparent !important;
}
.bg-dark-transparent {
    background-color: $dark-transparent !important;
}
