.events-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.event-box {
    height: 57vh !important;
    min-height: 450px;
}

.event-card {
    background-color: white;
    overflow: hidden;
    box-shadow: 0px 1px 4px 0px rgba(12, 12, 13, 0.1);
    transition: transform 0.3s ease-in-out;
    display: block;
}

.event-card:hover {
    cursor: pointer;
}

.event-card h4 {
    font-size: 16px;
    font-family: 'Sarabun', sans-serif;
    margin-bottom: 10px;
}

.event-card h4:hover {
    color: #ee0033 !important;
}

.event-card .event-description {
    color: #676565c7;
    font-size: 15px;
    height: 75px;
    line-height: 25px;
    overflow: hidden;
}

.date-event {
    background-color: #ee0033;
    padding: 10px 15px;
    text-align: center;
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 8px;
    display: block;
}

.date-event p {
    font-size: 15px;
    font-weight: bold;
    color: #FFF;
    margin: 0;
}

a:hover .date-event p {
    color: #FFF !important;
}

.date-event p:first-child {
    border-bottom: 1px solid #FFF;
}

.section-event-filter {
    padding-top: 4rem;
}
.section-event-list {
    padding-top: 4rem;
}

.section-event-filter ,
.section-event-list {
    background: #313035;
}

.section-event-filter h2 {
    color: #ffffff;
    font-weight: 600;
    font-size: 24px;
    line-height: 28.13px
}

.event-box .event-card {
    width: 93%;
    height: 90%;
}
.event-box .event-card .image-event {
    height: 100%;
}
.event-box .event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-box .event-card .event-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    background: #00000099;
    right: 0;
    bottom: 0;
    position: absolute;
    padding: 42px 24px 7px 24px;
    text-align: left;
    z-index: 10;
    width: 93%;
    height: 25rem;
}

.event-box .event-info h3 {
    font-size: 18px;
    font-weight: 500;
    color: #2D2C3C;
}

.event-box .event-info .event-title {
    color: #ffffff;
    font-weight: 500;
    font-size: 24px;
    line-height: 28.13px;
    height: 112px;
    overflow: hidden;
    font-family: Roboto, sans-serif;
}

.event-box .event-info .event-title p {
    color: #ffffff;
    font-size: 24px;
}
.event-feature .event-title p,
.event-feature .description p {
    font-size: 100%;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: 700;
}

.section-event-list .swiper-button-next,
.section-event-list .swiper-button-prev {
    top: 56%
}
.section-event-list .page-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr) ;
    gap: 40px;
}
.event-box .event-info p {
    color: #777;
    font-size: 14px;
}

.event-details {
    margin-top: 10px;
}

.event-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.event-details .event-address {
    display: block;
    height: 50px;
    line-height: 25px;
}

.event-tag {
    padding: 2px 12px 2px 12px;
    border-radius: 5px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 400;
}

.btn-regis-event, .send-contact-form {
    padding: 2px 12px 2px 12px;
    border-radius: 5px;
    color: #ee0033 !important;
    border: 1px solid #ee0033;
    font-size: 14px;
    font-weight: 400;
    background: #FFF;
}

.btn-regis-event.disabled {
    background: #b5b4b4 !important;
    color: #FFF !important;
    border: none;
}

.send-contact-form:hover {
    color: #fff !important;
    background: #ee0033;
}

#register_event, .send-contact-form {
    cursor: pointer;
    overflow: hidden;
    min-width: 120px;
    font-weight: 700;
    font-size: 16px;
    color: #fff !important;
    padding: 6px 12px;
    position: relative;
    text-decoration: none;
    vertical-align: middle;
    background-color: #EA0033 !important;
    border: 1px solid transparent;
    font-family: 'Sarabun', sans-serif;
    border-radius: 30px 30px 30px 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#register_event:after, .send-contact-form:after {
    content: "";
    background: #fff;
    -webkit-transition: all 0.8s;
    -ms-transition: all 0.8s;
    transition: all 0.8s;
    position: absolute;
    height: 120%;
    width: 15px;
    opacity: 0.5;
    left: -35%;
    top: -10%;
    transform: rotate(15deg);
}

#register_event:hover:after, .send-contact-form:hover:after {
    left: 130%;
}

.required:after {
    content: " *";
    color: #ee0033;
}

.btn-close {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 4px;
}

.btn {
    outline: none;
    border: none;
}

.event-filter {
    z-index: 1;
    position: relative;
    display: flex;
}
.event-filter .filter-keyword {
    display: block;
    position: relative;
    color: #111111;
    max-width: 360px;
}
.filter-option-inner-inner {
    color: #111111;
}
.event-filter .filter-keyword input,
.event-filter .dropdown.filter-status {
    min-width: 100%;
    max-width: 100%;
}
.event-filter .filter-keyword input,
.event-filter .filter-status .dropdown-toggle {
    padding: 8px 20px 8px 28px;
    color: #cacaca !important;
    background: rgba(29, 27, 32, 0.08) !important;
    border-radius: 12px;
    border: 1px solid #cacaca;
    height: 100%;
}

.event-filter .filter-keyword input::placeholder {
    color: #cacaca !important;
}

.event-filter .filter-keyword input:focus {
    box-shadow: unset !important;
}

.event-filter .filter-keyword .btn-search:after {
    content: "";
    background-repeat: no-repeat;
    background-image: url("/themes/viettelfamily/private-event/public/image/trailing-icon.svg");
    background-size: cover;
    display: block;
    width: 48px;
    height: 40px;
}

.event-filter .filter-keyword .btn-search {
    width: 48px;
    height: 40px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: #cacaca;
}

.event-info-more {
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 100%;
}

.event-learn-more {
    background: #ee0033;
    border: 1px solid #ee0033;
    border-radius: 8px;
    width: 124px;
    height: 30px;
    font-size: 13.33px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    padding: 0 10px;
    justify-content: space-between;
    align-items: center;
    line-height: 15.63px;
}

.event-info-more .event-time-countdown {
    gap: 6px
}

.event-info-more .event-time-countdown .time {
    width: 25px;
    height: 25px;
    border-radius: 5px;
    background: #ee0033;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    line-height: 9.99px;
}

.event-info-more .event-time-countdown .time-text {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    justify-content: center;
}

.event-time-countdown {
    display: flex;
}

.event-filter .dropdown-item {
    padding: 5px 20px;
}
.dropdown.bootstrap-select .dropdown-item.active, .dropdown.bootstrap-select .dropdown-item:active {
    background: #ee0033;
}
.dropdown.bootstrap-select .dropdown-item.active:hover{
    color: #FFF !important;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #1e2125;
    background-color: #e9ecef;
}

.filter-option-inner, .filter-option-inner-inner {
    height: 100%;
}

.filter-option-inner-inner {
    display: flex;
    align-items: center;
}

.btn:focus, .btn:active:focus, .btn:focus-visible, .bootstrap-select .dropdown-toggle:focus {
    outline: unset !important;
    outline-offset: unset !important;
}
.modal-header .close {
    margin-top: -1rem !important;
}

.nav-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-pagination .left-navigation {
    color: #D9D9D9;
    font-weight: 400;
    font-size: 14px;
    line-height: 16.41px;
}

.pagination {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    background-color: transparent;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    padding: 12px;
    border-radius: 8px;
    background-color: #FFFFFF1A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.04);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}
.pagination a.disabled {
    display: none;
}

.pagination a:hover,
.pagination span:hover {
    background-color: rgba(217, 0, 46, 1);
    color: #FFFFFF !important;
}

.pagination .current-page {
    background-color: rgba(217, 0, 46, 1);
    color: #FFFFFF;
}

.bread-crumb li.big-item h1.title-page-event {
    font-weight: 700;
    color: #c3112a;
    font-size: 32px;
    line-height: 1.25;
}

.vtf-breadcrumb {
    border-bottom: 1px solid #e5e5e5;
}
.justify-content-center {
    justify-content: center;
}
.contact-mt {
    margin: 20px 0;
}
.contact-mt {
    margin: 12px 0;
}

.send-contact-form:hover {
    color: #fff !important;
    background: #ee0033 !important;
}
.send-contact-form {
    border-radius: 5px;
    background-color: #b5b4b4 !important;
    font-weight: 100;
}

#regisEventModal .modal-dialog {
    max-width: 60%;
    width: 1000px;
    margin: 4.2rem auto;
}

#regisEventModal .modal-header, #regisEventModal .modal-body {
    padding-inline: 2.3em;
}

#regisEventModal label {
    font-weight: normal;
}

.form-control-custom {
    padding: 10px 16px;
    color: black;
    font-family: Sarabun, serif;
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    border: 1px solid #ccced1;
    border-radius: 8px;
}
.skyt-author-fake-name-wrapper label {
    margin-bottom: 0;
}
.skyt-author-fake-name-wrapper {
    width: fit-content;
    padding: 4px 16px;
    border-radius: 24px;
    background: #F2F2F2;
}
.skyt-author-fake-name-wrapper .switch {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 12px;
}
.skyt-author-fake-name-wrapper .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.skyt-author-fake-name-wrapper .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
.skyt-author-fake-name-wrapper .slider:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 2px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
.skyt-author-fake-name-wrapper input:checked + .slider {
    background-color: rgba(29, 27, 32, 0.08);
}
.skyt-author-fake-name-wrapper input:focus + .slider {
    box-shadow: 0 0 1px rgba(29, 27, 32, 0.08);
}
.skyt-author-fake-name-wrapper input:checked + .slider:before {
    -webkit-transform: translateX(7px);
    -ms-transform: translateX(7px);
    transform: translateX(7px);
}
.skyt-author-fake-name-wrapper .slider.round {
    border-radius: 34px;
}
.skyt-author-fake-name-wrapper .slider.round:before {
    border-radius: 50%;
}
/* Can chinh lai capcha man hinh Gop y */
.captcha-img img {
    height: 34px !important;
}
.build_send_connect_row {
    margin-top: 20px !important;
}

.date-picker {
    align-items: center;
    background: rgba(29, 27, 32, 0.08) !important;
    border-radius: 12px;
    border: 1px solid #cacaca;
    color: #000 !important;
    display: flex;
    height: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.41px;
    padding: 0 20px;
    justify-content: space-between;
    max-width: 300px;
    font-family: Roboto, sans-serif;
}
.date-input {
    border: none;
    background-color: transparent;
    font-weight: bold;
    text-align: center;
    width: 100px;
    font-size: 14px;
    color: #cacaca;
}

.date-input:focus {
    outline: none;
    border: none;
    box-shadow: none !important;
}
.date-arrow {
    color: #cacaca;
    font-size: 1.2rem;
}
.calendar-icon {
    font-size: 1.2rem;
    color: #cacaca;
    display: flex;
}
input:focus {
    box-shadow: unset !important;
}

.event-feature {
    background: #313035;
    padding: 165px 142px 102px 0;
    text-align: left;
    position: relative;
    height: 100%;
}
.highlight {
    color: #e60000;
}
.countdown {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    color: #FFFFFF;
    justify-content: end;
}
.countdown div {
    text-align: center;
}
.countdown .time {
    border-radius: 8px;
    font-size: 24px;
    font-weight: 700;
    line-height: 27.8px;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ee0033;
    margin-bottom: 5px;
}
.countdown .time-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 19.2px;
}
.event-feature .event-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 38.4px;
    color: #FFF;
    margin-bottom: 34px;
    /*height: 76px;*/
}
.event-feature a:hover .event-title p {
    color: unset !important;
}

.event-feature h2:hover {
    color: #ea0033;
}

.event-feature .description {
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    color: #FFF;
    margin-bottom: 34px;
    /*height: 54px;*/
    font-family: Roboto, sans-serif;
}
.event-feature .time-location {
    color: #FFF;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    padding-left: 20px;
    margin-bottom: 34px;
}
.event-feature .time-location li {
    list-style: disc;
}
.event-feature .btn {
    color: #FFF !important;
    height: 100%;
    font-weight: 500;
    font-size: 14px;
    line-height: 16.41px;
    padding: 8px 12px;
    border-radius: 10px;
    margin-right: 16px;
    margin-bottom: 12px;
}
.event-feature .btn img {
    width: 16px !important;
    height: 16px !important;
    display: inline !important;
}
.event-feature .btn-regis-event {
    /*background: #ee0033;*/
}
.event-feature .btn-regis-event:hover {
    /*background: #ee0033 !important;*/
}

.event-feature .btn-trans-custom:hover:not(.main-button) {
    border: 1px solid #A90024 ;
    color: #A90024 !important;
    background: transparent;
}

.main-button:hover {
    background: #A90024 !important;
    color: #fff !important;
    border: 1px solid #A90024;
}

.event-feature .btn-trans-custom:not(.main-button) {
    background: transparent;
    border: 1px solid #FFF;
}

.main-button {
    background: #ee0033 !important;
    border: 1px solid #ea0033;
}
.event-feature .image-event-mobile {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
}
.event-feature .image-event {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    /*mask-image: radial-gradient(circle at left center,*/
    /*rgba(0, 0, 0, 1),*/
    /*rgba(6, 6, 6, 0.87),*/
    /*rgba(42, 42, 42, 0.73),*/
    /*rgba(102, 102, 102, 0),*/
    /*rgba(102, 102, 102, 0));*/
}
.event-feature .image-event:before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(88.34deg, #383838 45.64%,
    rgba(56, 56, 56, 0.87) 50.88%,
    rgba(56, 56, 56, 0.732406) 59.01%,
    rgba(56, 56, 56, 0) 77.15%,
    rgba(56, 56, 56, 0) 104.29%);
    transform: rotate(180deg);
}
.event-feature .image-event img {
    height: 100%;
    width: 60%;
}
.event-feature .image-event-mobile img{
    height: 100%;
    opacity: 20%
}
.image-event-mobile {
    display: none;
}

#eventCarousel.owl-theme .owl-nav .owl-next {
    position: absolute;
    right: 1%;
    top: 50%;
    transform: translateY(-50%);
}
#eventCarousel.owl-theme .owl-nav .owl-prev {
    position: absolute;
    left: 1%;
    top: 50%;
    transform: translateY(-50%);
}
#eventCarousel.owl-theme .owl-nav button {
    font-size: 50px;
    background: rgba(0, 0, 0, 0);
    color: #ee0033;
}
#eventCarousel.owl-theme .owl-nav button:hover {
    background: rgba(0, 0, 0, 0);
    color: #fe9d2c;
}

input.date-input.datepicker {
    padding: 0;
}
.event-feature-list-info {
    float: right !important;
    font-family: Roboto, sans-serif;
}

@media screen and (max-width: 1440px) {
    .countdown .time {
        width: 40px;
        height: 40px;
    }
}
.file-name img {
    object-fit: contain;
}
#show-quotes-modal .modal-dialog {
    max-width: 1150px;
}
#show-quotes-modal .modal-content{
    border-radius: 20px;
    background: #EE0033;
    color: #fff;
}
#show-quotes-modal .modal-header {
    border: unset;
    padding: 16px 24px 16px 16px;
}
#show-quotes-modal .modal-body {
    padding: 0 24px 50px;
}
#show-quotes-modal .name {
    font-size: 24px;
    line-height: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}
#show-quotes-modal .title {
    font-size: 24px;
    line-height: 20px;
    font-weight: 400;
}
#show-quotes-modal .content {
    font-size: 20px;
    line-height: 25px;
    font-weight: 400;
    margin-top: 24px;
}
#show-quotes-modal .close {
    cursor: pointer;
    font-size: 24px;
    color: #FFF;
    opacity: 1;
    font-weight: 200;
}

@media (max-width: 1024px) {
    .event-filter .title-page {
        margin-bottom: 16px;
    }
    .section-event-filter {
        padding-bottom: 27px;
    }
}
@media (max-width: 1023px) {
    .event-info-more {
        display: flex !important;
        align-items: center;
    }
}

@media (min-width: 800px) and (max-width: 1024px){
    .event-feature-list-info {
        padding-left: 40px !important;
    }
    .event-box {
        height: 450px !important;
    }
}
@media (max-width: 768px) {
    .event-feature {
        padding: 97.82px 16px 22.28px;
    }
    .event-feature-list-info {
        width: 100%;
        padding: 0 !important;
    }
    .event-feature .event-title {
        font-size: 24px;
        line-height: 28.8px;
        margin-bottom: 14.63px;
    }
    .event-feature .description {
        font-size: 12px !important;
        line-height: 18px;
        margin-bottom: 14.64px;
    }
    .event-box .event-info .event-title p {
        font-size: 24px;
        line-height: 1;
    }
    .event-feature .time-location {
        font-size: 12px;
        line-height: 24px;
        margin-bottom: 14.63px;
        height: unset;
    }
    .image-event-mobile {
        display: block;
        height: 100%;
    }
    .event-box .event-card img{
        height: 100%;
    }
    .image-event {
        display: none;
    }
    .countdown{
        margin-top: 0;
        gap: 6.23px;
    }
    .countdown .time {
        width: 31.15px;
        height: 31.15px;
        font-size: 15px;
        line-height: 18px;
        margin-bottom: 4.98px;
    }
    .countdown .time-text {
        font-size: 12px;
        line-height: 14.4px;
    }
    .event-feature .group-button-event {
        margin-top: 16px;
    }
    .event-feature .btn {
        padding: 9px 9.75px;
        font-size: 12px;
        line-height: 14.06px;
        margin-right: 14.64px;
    }
    .event-filter .col-12 {
        padding: 0;
    }
    .event-filter .filter-keyword {
        margin-bottom: 20px;
        max-width: unset;
    }
    .event-filter .filter-keyword input {
        padding: 0 19px 0 28px;
        height: 40px;
    }
    .event-filter .date-picker {
        height: 40px;
        max-width: unset;
    }
    .event-box {
        padding-left: 0 !important;
    }
    .event-box .event-card {
        /*width: 85%;*/
    }
    .event-box .event-card .event-info {
        /*height: unset;*/
        left: unset;
        right: 0;
        width: 83.5%;
        padding: 2.5rem 1.25rem;
    }
    .section-event-list .event-box:hover .event-info {
        right: 43px;
    }
    .event-learn-more {
        font-size: 12px;
        line-height: 14.06px;
        width: fit-content;
    }
    .nav-pagination {
        flex-direction: column-reverse;
    }
    .nav-pagination .pagination {
        margin-top: 16px;
        margin-bottom: 8px;
    }
    #eventCarousel .swiper-button-next {
        right: -5px;
    }
    #eventCarousel .swiper-button-prev {
        left: -5px;
    }
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 12px !important;
    }
    .section-event-list .post__content {
        margin: 0 !important;
    }
    .pagination a, .pagination span {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 11px;
        padding: 0;
    }
    .nav-pagination .pagination {
        gap: 1rem;
    }
    .section-event-list .page-content {
        grid-template-columns: repeat(1, 1fr) ;
        gap: 20px;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .section-event-list .page-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 320px) {
    .event-info-more {
        flex-direction: column;
        gap: 1.5rem;
    }
    .section-event-list .col-lg-12{
        padding-right: 10px;
        padding-left: 10px;
    }
    .event-box .event-card {
        /*width: 86%;*/
        height: 80%;
    }
    .event-box .event-card .event-info
    {
        height: 245px;
    }
}
@media (max-width: 350px) {
    .pagination a, .pagination span {
        width: 2.6rem;
        height: 2.6rem;
        font-size: 11px;
        padding: 0;
    }
    .nav-pagination .pagination {
        gap: 0.5rem;
    }
}
@media (min-width: 1024px) and (max-width: 1300px){
    .event-box .event-card {
        height: 50rem;
    }

    .event-box .event-card img {
        height: 50rem;
    }
}
@media (min-width: 1300px) and (max-width: 1600px){
    .event-box .event-card {
        height: 95%;
    }

    .event-box .event-card img {
        height: 100%;
    }
}