:root {
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter";
}

a:hover {
    text-decoration: none;
    cursor: pointer;
}

.brand1 {
    color: #1C98D8 !important;
}

.brand2 {
    color: #123060 !important;
}

/* .px-110 {
    padding-left: 110px;
    padding-right: 110px;
} */

.banner {
    height: 570px;
    /* height: 89vh; */
    background-image: url('/eportal-sct-hcm-qlkhoadaotao-portlet/img/cungcau-bg-web.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.banner-image {
    width: 100%;
}

.search {
    width: 468px;
    /* padding: 25px 0 35px 68px; */
    padding: 25px 35px 35px 30px;
    position: absolute;
    left: 57%;
    top: 5%;
}

.form-search {
    background: linear-gradient(to left bottom, #1C98D8 12.75%, #0C4188 75.06%);
    padding: 35px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    border-radius: 8px;
}

.input {
    display: flex;
    justify-content: space-between;
}

.radio-inline {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
    color: #fff;    align-content: center;
}

.btn-search {
    color: #fff;
    background-color: #1C98D8;
}

.register-btn {
    font-family: "Inter";
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
    color: #fff;
    background-color: #F2B945;
    width: 100%;
    border-radius: 8px;
    border: 1px;
    padding: 5px 0;
    margin-top: 10px;
}

.grid-card {
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 14px;
    row-gap: 20px;
}

.card {
    width: 24%;
    box-shadow: -10px 10px 20px 0px #00000014;
    background-color: #F5F6FB;
    border-radius: 8px;
    border: 1px;
    height: 370px;
}

.card-image {
    background-color: #E8E8E8;
    align-content: center;
    text-align: center;
    height: 187px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-img {
    /* width: 60%; */
    width: 85%;
    height: 80%;
    object-fit: contain;
}

.card-info {
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    height: 183px;
}

.card-tag {
    font-family: "Inter";
    font-size: 14px;
    font-style: italic;
    font-weight: 600;
    line-height: 20px;
    text-align: left;
    color: #1C98D8;
}

.card-title {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
    color: #454545;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-transform: uppercase;
}

.card-date {
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: #505673;
    display: flex;
    column-gap: 9px;
}

.card-date > i {
    margin-right: 4px;
}

.card-address {
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: #505673;
    display: flex;
    align-items: start;
    column-gap: 9px;
}

.card-detail {
    font-family: "Inter";
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    letter-spacing: 0.001em;
    text-align: right;
    color: #1C98D8;
    margin-top: auto;
}

.business-header {
    font-family: "Inter";
    font-size: 32px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    color: #123060;
    position: relative;
    padding-bottom: 10px;
}

.business-header::after {
    content: "";
    position: absolute;
    border-radius: 4px;
    border: 2px solid #1C98D8;
    width: 6%;
    bottom: 0;
    left: 47%;
}

.carousel-bussiness {
    margin-top: 50px;
    display: flex;
    overflow: hidden;
    column-gap: 16px;
}

.card-bussiness {
    width: 160px;
    height: 82px;
    border-radius: 12px;
    border: 1px solid var(--Neutral-100, #E1E1EA);
    align-content: center;
    /* animation: moveRight 6s linear infinite; */
}

button.register-btn svg {
    position: absolute;
    width: 25px;
    right: 35px;
}

@keyframes moveRight {
    0% {
        transform: translateX(100%);
        /* Bắt đầu từ vị trí ngoài cùng bên trái */
    }

    100% {
        transform: translateX(-100%);
        /* Kết thúc ở vị trí ngoài cùng bên phải */
    }
}

.card-bussiness>img {
    width: 100%;
}

.pagination {
    margin-top: 30px !important;
    display: flex !important;
    justify-content: center;
    column-gap: 10px;
    align-items: center;
}
.pagination-prev, .pagination-next {
    width: 24px;
    height: 24px;
    border: 0;
    background-color: transparent;
    color: #C4CAD5;
    padding: 4px;
}
.pagination-btn.active {
    color: #fff;
    background-color: #1C98D8;;
}

.pagination-btn {
    width: 28px;
    height: 28px;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #DDDFE3;
    font-family: "Inter";
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    color: #123060;
}

/* Mobile */
@media (max-width: 767px) {
    .banner {
        background-image: none;
        justify-content: center;
        height: auto;
        padding-top: 10px;
    }

    .search {
        padding: 0; 
        height: auto;
        position: relative !important;
        width: 100%;
        left: 0;
        top: 0;
    }

    .grid-card {
        column-gap: 6px;
    }

    .card {
        width: 49%;
        height: 300px;
    }

	.card-info {
	    height: 175px;
	}
	
	.card-image {
	    height: 125px;
	}
    
    .dropdown.bootstrap-select .btn {
        margin-top: 0px;
    }
    .business-header {
	    font-family: "Inter";
	    font-size: 6vw;
	    font-weight: 700;
	    line-height: 48px;
	    text-align: center;
	    color: #123060;
	    position: relative;
	    padding-bottom: 10px;
	}
	.business-header::after {
	    content: "";
	    position: absolute;
	    border-radius: 4px;
	    border: 2px solid #1C98D8;
	    width: 30%;
	    bottom: 0;
	    left: 36%;
	}
	.footer-left-heading {
	    font-family: "Inter";
	    font-size: 4vw;
	    font-weight: 900;
	    line-height: 28px;
	    text-align: left;
	    color: #F5F9FE;
	}
	.card-address {
	    max-height: 20px;
	}
}

/* Tablet */
@media (min-width: 768px) and (max-width: 992px) {
    .banner {
        height: 476px;
        /* background-size: 80%; */
        background-size: 85vw;
        background-color: #DCDDE2;
        background-position: left center;
    }

    .search {
        width: 430px;
        padding: 25px 0 35px 50px;
        left: 40%;
    }

    .card {
        width: 49%;
    }

    .card-img {
        width: 186px;
    }
}

/* Mobile & Tablet */
@media (max-width: 992px) { 
    .form-search {
        padding: 25px;
    }
}
@media (min-width: 993px) and (max-width: 1024px) {
	.search {
        padding: 25px 0 35px 30px;
        left: 46%;
    }
    .banner {
        height: 500px;
    }
}
/* Mobile & Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .banner {
        background-image: url('/eportal-sct-hcm-qlkhoadaotao-portlet/img/cungcau-bg-tablet.png');
    }
    .px-110 {
        padding-left: 50px;
        padding-right: 50px;
    }
    .grid-card {
        column-gap: 12px;
    }
}
/* Desktop */
@media (min-width: 1025px) {
    .banner {
        height: 39vw;
        min-height: 500px;
    }
}