/* Page
----------------------------------------------*/
.page-content {
    font-family: "Roboto", sans-serif;
}


/* Navbar
----------------------------------------------*/
.navbar {
    padding-left: .8rem;
    padding-right: .8rem;
    height: 80px;
    width: 100%;
}

.navbar-icon-title {
    color: #f8f9fa;
    font-size: 28px;
    cursor: default;
}

.navbar-title {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    color: #f8f9fa;
    cursor: default;
}

.navbar-title:hover {
    color: #f8f9fa;
}


/* Title
----------------------------------------------*/
.title {
    color: #415a77;
    margin-top: 3rem;
    margin-bottom: 1rem;
}


/* Subtitle
----------------------------------------------*/
.subtitle {
    color: #415a77;
    font-size: 16px;
    margin-bottom: 2rem;
}


/* Button Search
----------------------------------------------*/
.dbc-button {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    color: #6c757d;
    background-color: #fff !important;
    text-indent: 30px;
    height: 65px;
    width: 100%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2), -2px -2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #dee2e6;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    cursor: pointer;
}

.dbc-button:hover {
    border-color: #415a77;
    background-color: #fff !important;
}

.dbc-button:focus {
    border-color: #415a77;
    background-color: #fff !important;
}

.dbc-button:active {
    background-color: #fff !important;
    border-color: #415a77;
}

.dbc-button:-webkit-autofill,
.dbc-button:-webkit-autofill:hover,
.dbc-button:-webkit-autofill:focus,
.dbc-button:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 32px white inset !important;
    background-color: #fff !important;
}


/* Icons Button Search
----------------------------------------------*/
.icon-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.icon-search {
    position: absolute;
    left: 17px;
    color: #415a77;
    background-color: #fff;
    font-size: 18px;
}

.icon-clear {
    position: absolute;
    right: 17px;
    z-index: 2;
    color: #415a77;
    background-color: #fff;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    border-radius: 50%;
}

.icon-clear:hover {
    color: #415a77;
    background-color: #f0f0f0;
}


/* Alert
----------------------------------------------*/
.alert {
    margin-top: 1rem;
    margin-bottom: 0;
    margin-left: 2.4rem;
    margin-right: 2.4rem;
}

/* Answer area
----------------------------------------------*/
.answer-area {
    width: 100%;
    min-height: 400px;
}


/* Card
----------------------------------------------*/
.icon-card {
    color: #415a77;
    margin-right: 10px;
    background-color: #415a7715;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    padding: 8px 0;
    text-align: center;
}

/* icon clear card */
.icon-card-remove {
    color: #415a77;
    background-color: #415a7715;
    border-radius: 50%;
    height: 26px;
    width: 26px;
    padding: 4px 0;
    text-align: center;
    position: absolute;
    cursor: pointer;
    top: 2px;
    right: 2px;
    font-size: 18px;
    z-index: 10;
}

.icon-card-remove:hover {
    color: #415a77 !important;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

.card-answer {
    font-family: "Roboto", sans-serif;
    padding: 5px;
    color: #636462;
    font-size: 16px;
    text-align: left;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    line-height: 22px;
    margin-top: 2rem;
    margin-left: 6rem;
    margin-right: 6rem;
}

.card-answer {
    transition: all 0.3s ease;
}

.card-answer:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* format answer */

/* code */
.card-answer code,
.card-answer pre code,
.card-answer .hljs {
    background-color: #415a7715;
    color: #77415a;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 14px;
}

/* highlight */
.card-answer .hljs *,
.card-answer pre code * {
    color: #77415a;
    font-weight: bold;
}

/* link */
.card-answer a {
    color: #77415a;
}

.card-answer a:hover {
    color: #77415a;
    font-weight: bold;
}


/* Footer
----------------------------------------------*/
.footer {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #415a77;
    background-color: #fff !important;
    padding: 12px;
    padding-top: 5px;
}

.footer a {
    color: #6c757d;
    text-decoration: none;
}

.footer a:hover {
    color: #6c757d;
    font-weight: 500;
}


/* Media Queries
----------------------------------------------*/
@media (max-width: 767px) {
    .card-answer {
        margin-left: 0rem;
        margin-right: 0rem;
    }

    .answer-area {
        min-height: 300px;
    }

    .alert {
        margin-top: .3rem;
        margin-bottom: 0;
        margin-left: .5rem;
        margin-right: .5rem;
    }
}

@media (min-width: 768px) {
    .card-answer {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .answer-area {
        min-height: 270px;
    }

}