/* General Reset */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

body,
h1,
h2,
nav,
p {
    margin: 0;
    padding: 0;
}

/* Full Height */
html,
body {
    height: 100%;
    margin: 0;
    /* Ensure no default margin */
}
header {
    width: 100%;
    height: 30vh; /* Default height */
    background-image: url("/images/reviewcongty-background.webp");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 10px 0;
}
@media (max-width: 768px) {
    header {
        height: 35vh;
    }
}

@media (max-width: 428px) {
    header {
        height: 35vh;
    }
}

@media (max-width: 414px) {
    header {
        height: 35vh;
    }
}

@media (max-width: 390px) {
    header {
        height: 35vh;
    }
}

@media (max-width: 430px) {
    header {
        height: 40vh;
    }
}

@media (max-width: 393px) {
    header {
        height: 45vh;
    }
}

main {
    flex: 1;
    /* Allow main to grow and fill the available space */
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination {
    list-style: none;
    padding: 0;
    display: flex;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    padding: 8px 12px;
    text-decoration: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #0056b3;
}

.paging-link a {
    color: #007bff;
    /* Change this to your preferred color */
    text-decoration: none;
    /* Optional: remove the underline */
}

.paging-area {
    margin-top: 20px;
}

.paging-area .pagination-container {
    margin: 0 auto;
}

:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
}

*,
::after,
::before {
    box-sizing: border-box
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent
}

figure,
footer,
header,
main,
nav {
    display: block
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff
}

h1,
h2 {
    margin-top: 0;
    margin-bottom: .5rem
}

p {
    margin-top: 0;
    margin-bottom: 1rem
}

ul {
    margin-top: 0;
    margin-bottom: 1rem
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent
}

a:hover {
    color: #0056b3;
    text-decoration: underline
}

input {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit
}

input {
    overflow: visible
}

h1,
h2 {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2
}

h1 {
    font-size: 2.5rem
}

h2 {
    font-size: 2rem
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px
}

.col-12,
.col-md-4,
.col-md-8 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
    .form-control {
        transition: none
    }
}

.form-control::-ms-expand {
    background-color: transparent;
    border: 0
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.form-control::-webkit-input-placeholder {
    color: #6c757d;
    opacity: 1
}

.form-control::-moz-placeholder {
    color: #6c757d;
    opacity: 1
}

.form-control:-ms-input-placeholder {
    color: #6c757d;
    opacity: 1
}

.form-control::-ms-input-placeholder {
    color: #6c757d;
    opacity: 1
}

.form-control:disabled {
    background-color: #e9ecef;
    opacity: 1
}

.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px
}

.form-row>[class*=col-] {
    padding-right: 5px;
    padding-left: 5px
}

.fade {
    transition: opacity .15s linear
}

@media (prefers-reduced-motion:reduce) {
    .fade {
        transition: none
    }
}

.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    margin-top: 1rem;
}

.input-group>.form-control {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0
}

.input-group>.form-control:focus {
    z-index: 3
}

.input-group>.form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0
}

.input-group-prepend {
    display: -ms-flexbox;
    display: flex
}

.input-group-prepend {
    margin-right: -1px
}

.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem
}

.input-group-lg>.form-control:not(textarea) {
    height: calc(1.5em + 1rem + 2px)
}

.input-group-lg>.form-control,
.input-group-lg>.input-group-prepend>.input-group-text {
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: .3rem
}

.input-group>.input-group-prepend>.input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0
}

.navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: .5rem 1rem
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem
}

.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem
}

.position-relative {
    position: relative !important
}

.mx-auto {
    margin-right: auto !important
}

.mx-auto {
    margin-left: auto !important
}

.text-center {
    text-align: center !important
}

@media print {

    *,
    ::after,
    ::before {
        text-shadow: none !important;
        box-shadow: none !important
    }

    a:not(.btn) {
        text-decoration: underline
    }

    img {
        page-break-inside: avoid
    }

    h2,
    p {
        orphans: 3;
        widows: 3
    }

    h2 {
        page-break-after: avoid
    }

    @page {
        size: a3
    }

    body {
        min-width: 992px !important
    }

    .container {
        min-width: 992px !important
    }

    .navbar {
        display: none
    }
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #F0F2F5 !important;
}

/*.main-nav {*/
/*    background: linear-gradient(90deg,#021048,#1e38a3);*/
/*}*/
.navbar,
.container-nav,
.logo {
    display: flex;
    padding-top: 0.3rem;
    margin-right: auto;
    margin-left: auto;
}

.main-nav .logo .logo-img {
    width: 50px;
    height: auto;
}

.company-item {
    display: block;
    padding: 10px;
}

img {
    max-width: 100%;
}

.has-text-weight-bold {
    font-weight: 700 !important;
}

.company-item:hover {
    background: #f1f2f2;
    border-left: 2px solid #3273dc;
    cursor: pointer;
}

.search-input {
    width: 60% !important;
}

.sp-mr {
    margin-right: 0.3rem;
}

.paging-area {
    margin-top: 1rem;
}

.text-content {
    white-space: pre-line;
}

.pagination {
    display: flex;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {

    .pagination>li>a,
    .pagination>li>span {
        font-size: 14px;
        /* Reduce font size */
    }

    .pagination>li {
        margin-bottom: 5px;
        /* Add spacing between items */
    }
}

/* Additional Mobile Styles */
@media (max-width: 576px) {

    .pagination>li>a,
    .pagination>li>span {
        font-size: 14px;
        /* Reduce font size even more */
    }
}

@media (max-width: 390px) {

    .pagination>li>a,
    .pagination>li>span {
        font-size: 14px;
        /* Reduce font size even more */
    }
}

.pagination>li {
    display: inline;
}

.pagination>li>a {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.428571429;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #dddddd;
}

.pagination>li:first-child>a {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination>li:last-child>a {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination>li>a:hover,
.pagination>li>a:focus {
    background-color: #eeeeee;
}

.search-results {
    display: flex;
    /* Use Flexbox for centering */
    justify-content: center;
    /* Center horizontally */
    margin-top: 10px;
    /* Optional space above results */
    width: 60%;
    /* Match the width of the search input */
    margin: 0 auto;
    position: relative;
    z-index: 1000;
    /* Set z-index to bring it to the front */
    max-height: 450px;
    /* Set a max-height for the container */
    overflow-y: auto;
    /* Enable vertical scrolling if content exceeds height */
    background-color: #f6f6f6;
    /* Background for search results */
}

#resultsList {
    list-style-type: none;
    /* Remove default list styles */
    padding: 0;
    /* Remove padding */
    margin: 0;
    /* Remove margin */
    width: 100%;
    /* Set width to 100% to take the full width of its parent */
}

#resultsList li {
    border: 1px solid #ccc;
    /* Border for each item */
    margin-top: -1px;
    /* Prevent double borders */
    width: 100%;
    /* Full width of the parent */
}

#resultsList li a {
    background-color: transparent;
    /* Background color for links */
    text-decoration: none;
    /* Remove underline */
    font-size: 18px;
    /* Font size */
    color: black;
    /* Text color */
    display: flex;
    /* Use Flexbox for alignment */
    align-items: center;
    /* Vertically center items */
}

#resultsList li a img {
    margin-right: 10px;
    /* Space between image and text */
    border-radius: 50%;
    /* Circular image */
}

#resultsList li:hover {
    background-color: #eee;
    /* Full background hover effect */
}

#resultsList li a:hover {
    background-color: transparent;
    /* Ensure anchor doesn't have its own hover */
}

.company-info {
    display: flex;
    padding: 0.7rem;
    align-items: center;
    flex-direction: row;
    background-color: white;
}

.company-info .company-info__name {
    margin-left: 4px;
}

.company-info .company-info__rating {
    position: relative;
    top: -2px;
    font-size: 0.85rem;
    margin-left: 0.2rem;
}

.company-info .company-info__logo {
    margin-right: 0.5rem;
    display: flex;
    min-width: 64px;
    align-items: center;
}

.image.is-64x64 {
    height: 64px;
    width: 64px;
}

.image {
    display: block;
    position: relative;
}

.is-size-5 {
    font-size: 1.25rem !important;
}

.has-text-weight-semibold {
    font-weight: 600 !important;
}

.has-text-warning {
    color: #ffdd57 !important;
}

.fa-star {
    content: "\f005";
}

img {
    vertical-align: middle;
    border-style: none
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-text {
    font-size: 1.3rem;
    align-items: center;
    padding-top: 15px;
}
@media (max-width: 768px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}

@media (max-width: 428px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}

@media (max-width: 414px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}

@media (max-width: 390px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}

@media (max-width: 430px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}
@media (max-width: 393px) {
    .main-text {
        font-size: 1.2rem;
        align-items: center;
        padding-top: 15px;
    }
}

.rv-content {
    margin: 0 !important;
    font-size: 1rem;
}

.is-size-4 {
    font-size: 1.5rem !important;
}

.m-t-30 {
    margin-top: 30px !important;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

::marker {
    display: none;
}

.review {
    padding-top: 10px;
    padding-bottom: 5px;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid #007bff;
    /* Change the color as needed */
    background-color: transparent;
    /* Remove default background color */
    color: #007bff;
}

.nav-tabs .nav-link {
    border: none;
    /* Remove default border */
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #181b1e;
}

.nav-tabs {
    border-bottom: none;
    margin: 1rem 1.25rem;
    background: white;
}

.nav-link {
    padding: 0.1rem;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    background-color: #eee;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #428bca;
    border-color: #428bca;
}

.main-nav .logo .logo-text-rv {
    color: #fff !important;
    font-size: 1.5rem !important;
    font-weight: 500;
}

.logo-text-rv {
    margin-top: 10px;
    line-height: 1.2;
}

.order-2 {
    background-color: #f3f8fb;
}
.tags .tag {
    border: 1px solid #ccc;
    border-radius: .3rem;
    transition: color .3s, border-color .3s;
    display: inline-block;
    padding: .5rem .9rem;
    line-height: 1.35;
    text-transform: capitalize;
    color: #333;
    font-size: 0.9rem;
    margin: .1rem .2rem .1rem 0;
}
.tags .tag:hover {
    color: #44b678;
    border-color: #44b678;
}
.font-weight-bold {
    font-weight: 700 !important;
}
.mr-2 {
    margin-right: 1rem;
}
footer p {
    margin-top: 20px;
}
.search-result {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    /*background: #f8f9fa;*/
    border-radius: 8px;
    /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
    max-width: 400px;
    margin: auto;
}

.search-result-body img {
    max-width: 100%;
    height: auto;
}

.search-result-body p {
    font-size: 1rem;
    color: #333;
    margin-top: 10px;
}

.search-result-footer {
    margin-top: 15px;
}
.btn-request-company {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: #ff5a5f;
    color: #fff !important; /* Ensures text color stays white */
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-request-company:hover {
    background: #e0484d;
}
.btn-request-company,
.btn-request-company:visited,
.btn-request-company:focus,
.btn-request-company:active {
    color: #fff !important;  /* Prevents text from turning blue */
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.btn-request-company:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
@media (max-width: 576px) {
    .search-result-body img {
        width: 80%; /* Reduce image size on small screens */
        max-width: 200px;
    }

    .btn-request-company {
        font-size: 0.8rem; /* Smaller text for smaller screens */
        padding: 10px;
        max-width: 250px;
    }
}
.cat-footer-wrapper {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.cat-close-btn {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff9601;
    color: white;
    font-size: 16px;
    width: 90px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
}

.cat-a {
    max-width: 728px;
    width: 100%;
    text-align: center;
}

.cat-a img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1200px) {
    .cat-a {
        max-width: 70%;
    }
}

@media (max-width: 991px) {
    .cat-footer-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .cat-a {
        max-width: 60%;
    }
}
@media (max-width: 768px) {
    .cat-a {
        max-width: 80%;
    }
    .cat-close-btn {
        font-size: 14px;
        width: 80px;
        height: 22px;
        line-height: 22px;
    }
}

@media (max-width: 576px) {
    .cat-a {
        max-width: 90%;
    }
    .cat-close-btn {
        font-size: 12px;
        width: 70px;
        height: 20px;
        line-height: 20px;
    }
    .cat-footer-wrapper {
        padding: 0 5px;
    }
}


