@import url("https://fonts.googleapis.com/css?family=DM+Sans&display=swap");
@import url("https://fonts.googleapis.com/css?family=DM+Sans:700&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

:root {
    --primaryColor: #434040;
    --secondaryColor: #fcfcfc;

    --accentColor: #8f8989;
    --accentLightColor: #cfc6c6;
    --accentDarkColor: #4f4c4c;

    --hubbFont: "DM Sans", sans-serif;
}

/* --------------------------------- */
/* -------- Global Setting -------- */
/* --------------------------------- */
html {
    font-family: var(--hubbFont) !important;
    color: var(--primaryColor) !important;
}

body {
    background-color: var(--accentLightColor);
    font-family: var(--hubbFont) !important;
}

.alert {
    font-family: var(--hubbFont);
    margin-top: 1.5em;
}


/* --------------------------------- */
/* Typography Setting */
/* --------------------------------- */
.font-bold {
    font-weight: bold;
}

.caption-hubb {
    font-size: 0.75em;
}

.lh-m {
    line-height: 1.5em;
}


/* --------------------------------- */
/* Layout Setting */
/* --------------------------------- */
.margin-bottom-large {
    margin-bottom: 10em;
}

.margin-left-med {
    margin-left: 1em;
}

.margin-right-med {
    margin-right: 1em;
}

.display-inline-block {
    display: inline-block;
}

.go-right {
    display: flex;
    margin-left: auto;
}


/* --------------------------------- */
/* Brand Setting */
/* --------------------------------- */
.hubb-brand {
    margin-top: 5%;
}

#hubbLogo {
    max-width: 40%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#hubbLogoSmall {
    max-width: 20%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.navBrand img {
    max-width: 4em;
    margin-left: 15px;
}

/* --------------------------------- */
/* Button or Clickable Setting */
/* --------------------------------- */
.btn-social {
    font-size: 2em;
    color: var(--primaryColor);
}

.btn-social:hover {
    color: var(--accentColor);
}

.btn,
.btn-large {
    background-color: var(--primaryColor) !important;
    color: var(--secondaryColor) !important;
}

.btn-hubb {
    min-width: 200px !important;
}

/* --------------------------------- */
/* Form and Input Setting */
/* --------------------------------- */
input {
    font-family: var(--hubbFont) !important;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    border-color: #8f898980;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #8f898980;
    outline: 0 none;
}

/* Image preview when upload media */
.image-preview img {
    width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

.image-preview {
    width: 100%;
}

.avatar-upload {
    position: relative;
    max-width: 300px;
    margin: 50px auto 10em !important;
}

.avatar-upload .avatar-edit {
    position: absolute;
    right: 12px;
    z-index: 1;
    top: 10px;
}

.avatar-upload .avatar-edit input {
    display: none;
}

.avatar-upload .avatar-edit input+label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}

.avatar-upload .avatar-edit input+label:hover {
    background: #f1f1f1;
    border-color: #d6d6d6;
}

.avatar-upload .avatar-edit input+label:after {
    content: "\f040";
    font-family: "FontAwesome";
    color: #757575;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.avatar-upload-admin>.avatar-edit>input+label {
    width: 50px !important;
    height: 50px !important;
}

.avatar-upload .avatar-preview {
    width: 150px;
    height: 150px;
    position: relative;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-upload .avatar-preview>div {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Clickable Text */
.text-btn {
    color: var(--accentDarkColor);
    text-decoration: none;
}

.text-btn:hover {
    text-decoration: none;
    color: var(--accentColor);
}

/* Small chip Button */
.btn-chip {
    font-size: 1em;
    background-color: var(--accentColor);
    border-radius: 5px;
    color: var(--secondaryColor);
}

/* Clickable Icon */
.icon-text-btn {
    font-size: 1.5em;
    margin-right: 10px;
}

.ig-btn {
    font-size: 1.5em;
    font-weight: 700;
}

/* Clickable Div */
.btn-link,
.btn-div {
    width: 90%;
    background-color: var(--primaryColor);
    color: var(--secondaryColor);
    height: 70px;
    margin-left: 5%;
    margin-right: 5%;
    text-align: center;
    display: grid !important;
    vertical-align: middle !important;
    border-radius: 15px;
}

.btn-link-add {
    width: 90%;
    background-color: transparent;
    color: var(--secondaryColor);
    height: auto;
    margin-left: 5%;
    margin-right: 5%;
    text-align: center;
    display: block !important;
    border-radius: 15px;
    border: dashed 2px var(--primaryColor);
    text-decoration: none;
}

/* Button for Edit and Delete */
.link-delete-btn {
    position: absolute;
    left: 10%;
    margin-top: 1em;
}

.link-edit-btn {
    position: absolute;
    right: 10%;
    margin-top: 1em;
}

/* --------------------------------- */
/* ------- Custom Setting -------- */
/* --------------------------------- */

/* Progress Bar on Register */
.progress-bar {
    height: 10px;
    background-color: var(--primaryColor);
}