/* Custom CSS for Myanmar Earthquake Relief Fund */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
}

.text-gradient {
    background: linear-gradient(90deg, #FBDA61 0%, #FF5ACD 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.mt-sm-4 {
    margin-top: 0 !important;
}

.bg-gradient {
    background-image: linear-gradient(90deg, #FBDA61 0%, #FF5ACD 100%) !important;
}

#paymentMethods label {
    display: inline-block !important;
    width: 30%;
    vertical-align: top !important;
    margin-bottom: 54px;
    border: 1px solid #ddd;
    height: 150px;
    margin-right: 24px;
    padding: 12px;
}

.uabpay-img {
    width: 180px !important;
    display: block;
    height: auto;
    margin-top: 24px;
    margin-left: 10px;
}

.MMQR-img {
    width: 60px !important;
    display: block;
    height: auto;
    margin-top: 6px;
    margin-left: 10px;
}

.VisaMaster-img {
    width: 190px !important;
    display: block;
    height: auto;
    margin-top: 24px;
    margin-left: 10px;
}

.UPI-img {
    width: 80px !important;
    display: block;
    height: auto;
    margin-top: 24px;
    margin-left: 10px;
}

.MPU-img {
    width: 120px !important;
    display: block;
    height: auto;
    margin-top: 24px;
    margin-left: 10px;
}

.amount-label {
    display: inline-block;
    /* padding: 10px;
    border: 2px solid #ccc; */
    /*margin: 5px;*/
    margin-bottom: 24px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.amount-label input {
    display: none;
}

.amount-label input:checked+span {
    background-color: #007bff;
    color: white;
    border-color: none;
    padding: 10px;
}

.amount-label span {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}


/* Form */

.txt-amt {
    width: 100%;
    background-color: transparent;
    border: 1px solid #ddd;
    padding: 14px 24px 14px 70px;
    -webkit-appearance: none;
}

.form-group {
    margin-bottom: 3.5em;
}

.form-group-text {
    position: absolute;
    display: flex;
    align-items: center;
    padding: .2rem .6rem;
    height: 54px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    text-align: center;
    white-space: nowrap;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    color: #333;
    background-color: #eee;
}

.form-group label {
    font-size: 16px;
    margin-bottom: 12px;
}

.form-group .short-desc {
    font-weight: 300;
    font-size: 16px;
}

.radio-group {
    /*display: inline-block;*/
    flex-direction: column;
    gap: 10px;
}

.radio-box {
    display: inline-block;
    align-items: center;
    background-color: #fff;
    /* padding: 10px; */
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    width: 245px;
    margin-bottom: 12px;
    text-align: center;
}

    .radio-box > span {
        background-color: #fff;
        color: #333;
        border: 1px solid #ddd;
        display: block;
        padding: 12px;
        border-radius: 12px;
    }

.radio-box input {
    display: none;
    /* Hide default radio button */
}

.radio-box .radio-label {
    padding: 10px;
    width: 100%;
    text-align: center;
}

.form-input {
    width: 100%;
    background-color: transparent;
    border: 1px solid #ddd;
    padding: 14px 24px;
}

.form-border {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 48px;
}

.input-group {
    width: 100%;
    background-color: transparent;
    border: 1px solid #ddd;
    padding: 14px 24px;
}

.txt-amt {
    width: 100%;
    background-color: transparent;
    border: 1px solid #ddd;
    padding: 14px 24px 14px 70px;
}

.certificate-section {
    margin-bottom: 8em;
}


/* Default background */
/*
.radio-box {
    background-color: #f4f4f4;
}*/


/* Change background when selected */

.radio-box input:checked+.radio-label {
    font-weight: bold;
    color: white;
    display: block;
}

.radio-box input:checked+.radio-box {
    padding: 0 !important;
}
/* Change the parent label when the input is checked */

.radio-box input:checked+.radio-label {
    background-image: linear-gradient(90deg, #FBDA61 0%, #FF5ACD 100%) !important;
    padding: 10px;
    border-radius: 8px;
    width: 100% !important;
}


/* comment section */

.comment-box {
    width: auto;
    height: 490px;
    background: white;
    padding: 15px;
    border: 1px solid rgb(224, 224, 224);
    border-radius: 10px;
    overflow: hidden;
}

.comment-list {
    max-height: 420px;
    overflow-y: auto;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
}

.comment-list::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.comment {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
    background: #fff;
    padding: 4px 10px;
    border-radius: 5px;
}

.comment img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-content {
    display: flex;
    flex-direction: column;
}

.comment-content span {
    color: #bbbbbb;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

ul.navbar-nav.mr-auto.mt-2.mt-lg-0 {
    position: absolute;
    right: 0;
}


/* end comment section */

*,
body {
    font-family: 'poppins', sans-serif;
}


/* Custom hero section styling */

.hero-image {
    position: relative;
    background-color: var(--bs-dark);
    overflow: hidden;
    /*max-height: 500px;*/
}

.hero-text {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    /*border-radius: 0.5rem;*/
}

.text-black {
    color: black !important;
}

.text-gray {
    color: #999999 !important;
}

.box-progress {
    display: block;
    height: 8px;
    border-radius: 6px;
}

.box-progress-bar {
    width: 90%;
    height: 8px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #eee;
    margin: 8px 0;
}

.content-img img {
    max-height: 240px;
}


/* Custom radio button styling */

.radio-box {
    display: inline-block;
    /* padding: 10px 15px; */
    margin: 5px;
    /* border: 2px solid #ccc; */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    width: 44%;
}

.radio-box input {
    display: none;
}

.radio-box input:checked+span {
    background-color: #fff;
    color: #007bff;
    border: 3px double #007bff;
    display: block;
    padding: 12px;
    border-radius: 12px;
}

.radio-box input:checked+.radio-box {
    padding: 12px;
}

.radio-box input:checked {
    padding: 12px;
}

.card.bg-gradient.p-5 {
    margin-top: 0em;
}

.currency-unit {
    font-size: 24px;
    display: inline;
}


/* Image styling */

.img-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.75rem;
    color: white;
}


/* Call to action buttons */

.d-flex.flex-wrap.text-black.gap-2.mt-4.mb-4 {
    position: relative;
}

.btn-donate {
    padding: 10px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s;
    background-image: linear-gradient(90deg, #FBDA61 0%, #FF5ACD 100%) !important;
    border: none;
}

.btn-donate:hover {
    transform: scale(1.05);
}

.btn-share {
    padding: 10px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s;
    /* background-image: linear-gradient(90deg, #FBDA61 0%, #FF5ACD 100%) !important; */
    border: 1px solid #ddd;
}


/* Statistics cards */

.stat-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}


/* Certificate UI */

@font-face {
    font-family: 'Time New Roman';
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
    src: url('file:///C:/uab.Donation/fonts/Times%20New%20Roman.ttf') format('truetype');
}

@font-face {
    font-family: 'Time New Roman Bold';
    font-style: normal;
    font-weight: 400;
    src: url('file:///C:/uab.Donation/fonts/Times%20New%20Roman%20Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Rochester';
    font-style: normal;
    font-weight: 400;
    src: url('file:///C:/uab.Donation/fonts/Rochester.ttf') format('truetype');
}

.cursive {
    font-family: 'Pinyon Script', cursive;
}

.sans {
    font-family: 'Open Sans', sans-serif;
}

.bold {
    font-weight: bold;
}

.block {
    display: block;
}

.underline {
    border-bottom: 1px solid #777;
    padding: 5px;
    margin-bottom: 15px;
}

.margin-0 {
    margin: 0;
}

.padding-0 {
    padding: 0;
}

.pm-empty-space {
    height: 40px;
    width: 100%;
}

.pm-certificate-container {
    position: relative;
    width: 900px;
    height: 640px;
    background-color: transparent;
    background-image: url('img/Certificate-BG.png');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 30px;
    color: #333;
    font-family: 'Open Sans', sans-serif;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.pm-certificate-container .outer-border {
    width: 794px;
    height: 594px;
    position: absolute;
    left: 50%;
    margin-left: -397px;
    top: 50%;
    margin-top: -297px;
}

.pm-certificate-container .inner-border {
    width: 730px;
    height: 530px;
    position: absolute;
    left: 50%;
    margin-left: -365px;
    top: 50%;
    margin-top: -265px;
}

.pm-certificate-container .pm-certificate-border {
    position: relative;
    width: 720px;
    height: 520px;
    padding: 0;
    background-color: transparent;
    background-image: none;
    left: 50%;
    margin-left: -360px;
    top: 50%;
    margin-top: -260px;
}

.pm-certificate-container .pm-certificate-border .pm-certificate-block {
    width: 650px;
    height: 200px;
    position: relative;
    left: 50%;
    margin-left: -325px;
    top: 0px;
    margin-top: 0;
}

.pm-certificate-container .pm-certificate-border .pm-certificate-header {
    margin-bottom: 10px;
}

.pm-certificate-container .pm-certificate-border .pm-certificate-title {
    position: relative;
    top: 18px;
}

.pm-certificate-container .pm-certificate-border .pm-certificate-title h2 {
    font-family: 'Time New Roman Bold';
    font-size: 44px !important;
}

.pm-certificate-name.underline.margin-0.col-xs-8.text-center span {
    font-family: 'Time New Roman' !important;
}

.pm-certificate-container .pm-certificate-border .pm-certificate-body {
    padding: 20px;
}

.pm-certificate-container .pm-certificate-border .pm-certificate-body .pm-name-text {
    font-size: 40px;
}

.pm-certificate-container .pm-certificate-border .pm-earned {
    margin: 15px 0 20px;
}

.pm-certificate-container .pm-certificate-border .pm-earned .pm-earned-text {
    font-family: 'Time New Roman Bold';
    font-size: 28px;
}

.pm-certificate-container .pm-certificate-border .pm-earned .pm-credits-text {
    font-family: 'Time New Roman';
    font-size: 15px;
}

.pm-certificate-container .pm-certificate-border .pm-course-title .pm-earned-text {
    font-size: 20px;
}

.pm-certificate-container .pm-certificate-border .pm-course-title .pm-credits-text {
    font-family: 'Time New Roman';
    font-size: 15px;
}

span.pm-credits-text.block.sans {
    font-family: 'Time New Roman';
    font-size: 15px;
}

.pm-certificate-container .pm-certificate-border .pm-certified {
    font-family: 'Time New Roman' !important;
    font-size: 12px;
}

.pm-certificate-container .pm-certificate-border .pm-certified .underline {
    margin-bottom: 5px;
}

.pm-certificate-container .pm-certificate-border .pm-certificate-footer {
    width: 650px;
    height: 100px;
    position: relative;
    left: 50%;
    margin-left: -325px;
    bottom: -105px;
}


/* Successful Certificate */

.certi-uabFoundation {
    width: 240px !important;
    display: block;
    margin: 24px auto 0;
}


/* Emergency banner */

.emergency-banner {
    background-color: rgba(var(--bs-danger-rgb), 0.1);
    border-left: 4px solid var(--bs-danger);
    padding: 1rem;
    margin-bottom: 1.5rem;
}


/* Donation form styles */

.donation-amount-btn {
    width: 80px;
    margin: 0 5px 10px 0;
}


/* Footer styling */

.footer {
    padding: 1rem 0;
    margin-top: 1rem;
}


/* Testimonial/message styling */

.message-box {
    font-style: italic;
    padding: 1rem;
    background-color: rgba(var(--bs-secondary-rgb), 0.1);
    border-radius: 0.5rem;
    margin: 1rem 0;
}


/* Progress bar */

.donation-progress {
    height: 10px;
    margin-bottom: 2rem;
}


/* Impact box styling */

.impact-box {
    background-color: rgba(220, 53, 69, 0.05);
    border-left: 4px solid var(--bs-danger);
    border-radius: 0.25rem;
}


/* background dark */

.bg-dark-01 {
    background-color: rgba(0, 0, 0, 0.6) !important;
}

.btn-viewDetail {
    border-radius: 24px;
    background-color: #efefef;
    padding: 6px 14px;
    margin-top: 0;
}

footer {
    padding-bottom: 0;
}

/* Tablet responsiveness adjustments */

@media (max-width: 992px) {
    ul.navbar-nav.mr-auto.mt-2.mt-lg-0 {
        position: absolute;
        right: unset;
        left: 0 !important;
        top: 5em;
        z-index: 1000;
    }
    .mt-sm-4 {
        margin-top: 4em !important;
    }
    .navbar-nav,
    .nav-item,
    .nav-link {
        display: inline-block !important;
    }
    #paymentMethods label {
        width: 50%;
    }
    .btn-donate {
        width: 70%;
        margin-bottom: 0.5rem;
    }
    .uabpay-img {
        width: 120px !important;
    }
    .MMQR-img {
        width: 60px !important;
    }
    .VisaMaster-img {
        width: 140px !important;
    }
    .UPI-img {
        width: 80px !important;
        margin-top: 12px;
    }
    .MPU-img {
        width: 100px !important;
    }
    .form-border {
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 24px;
    }
    .card.bg-gradient.p-5 {
        margin-top: 4em;
    }
    .pm-certificate-container {
        zoom: .8;
        width: 100%;
        height: 500px;
    }
    .certi-uabFoundation {
        width: 180px !important;
        display: block;
        margin: 62px auto 0;
    }
    .pm-certificate-container .pm-certificate-border .pm-certificate-title h2 {
        font-size: 28px !important;
    }
    .pm-certificate-container .pm-certificate-border .pm-certificate-body .pm-name-text {
        font-size: 28px;
    }
    .pm-certificate-container .pm-certificate-border .pm-earned .pm-credits-text {
        font-size: 12px;
    }
    .pm-certificate-container .pm-certificate-border .pm-course-title .pm-credits-text {
        font-size: 13px;
    }
    .statistics-box {
        margin-top: 40px;
    }
    .navbar-nav, .nav-item, .nav-link {
        display: inline-block !important;
        margin-right: 12px;
    }
}


/* Mobile responsiveness adjustments */

@media (max-width: 768px) {
    .stat-card {
        margin-bottom: 1rem;
    }
    .hero-text {
        padding: 1rem;
    }
    .btn-donate {
        width: 56%;
        margin-bottom: 0.5rem;
        font-size: 15px;
        padding-top: 14px;
    }
    .btn-share {
        width: 40%;
        margin-bottom: 0.5rem;
    }
    .hero-image {
        max-height: none;
    }
    ul.navbar-nav.mr-auto.mt-2.mt-lg-0 {
        position: absolute;
        right: unset;
        left: 0 !important;
        z-index: 1000;
    }
    .mt-sm-5 {
        margin-top: 5em !important;
    }
    .pm-certificate-container {
        zoom: .6;
        width: 100%;
        height: 360px;
    }
    .pm-certificate-container .pm-certificate-border {}
    .d-flex.flex-wrap.text-black.gap-2.mt-3.mb-4 {
        position: fixed !important;
        flex-direction: row-reverse;
        width: 100%;
        left: 0;
        bottom: -30px;
        background: #fff;
        z-index: 1000;
        padding: 24px;
        box-shadow: 1px -3px 12px #33333320;
    }
    .btn-share {
        margin-bottom: 0.5rem;
        font-size: 15px;
    }
    .currency-unit {
        font-size: 18px !important;
        display: block;
    }
    .amount-label span {
        padding: 8px 16px;
    }
    .amount-label input:checked+span {
        padding: 8px 16px;
    }
    footer {
        padding-bottom: 7em;
    }
    .mobile-right {
        float: right;
        margin-right: 0;
    }
    .form-group label {
        margin: 0px;
    }
}

@media (max-width: 436px){
    .btn-viewDetail {
        margin-top: 1em;
        margin-bottom: 2em;
    }
}

.payType-img {
    height: 28px;
    width: auto;
}

.table-view {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-collapse: collapse;
}

.row-cust {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    background: #f9f9f9;
}

    .row-cust.header {
        font-weight: bold;
        background: #e4e4e4;
    }

.cell {
    flex: 1;
    padding: 10px;
}

.row-cust .cell b {
    font-weight: 600;
}

.row-cust .cell:nth-child(2),
.row-cust .cell:nth-child(3) {
    text-align: left !important;
}

.row-cust .cell:nth-child(4) {
    text-align: right !important;
    flex-flow: row-reverse;
}

@media (max-width: 768px) {
    .payType-img {
        height: 24px;
        width: auto;
    }

    .table-view {
        display: block;
    }

    .row-cust.header {
        display: none;
    }

    .row-cust {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        border: 1px solid #ddd;
        margin-bottom: 15px;
        padding: 10px;
        border-radius: 5px;
        background: #f9f9f9;
    }

    .cell {
        display: flex;
        justify-content: space-between;
        padding: 5px 0;
    }

        .cell::before {
            display: none;
        }

    .row-cust .cell:nth-child(3) {
        text-align: left !important;
        flex-flow: column;
    }

    .row-cust .cell:nth-child(2),
    .row-cust .cell:nth-child(4) {
        text-align: right !important;
        flex-flow: row-reverse;
    }
}

.dt-paging{
    text-align:right;
}

label[for="dt-length-0"] {
    padding-left: 10px;
}

.hero-image-css {
    height: 240px;
    object-fit: cover;
}

.tabs {
    margin-bottom: 10px;
}

.tab-button {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #c5c5c5;
    background: #c5c5c5;
    color: white;
    border-radius: 45px;
    margin-right: 5px;
    font-size: 16px;
}

    .tab-button.active {
        background: #007bff;
    }

.tab-content {
    /* border: 1px solid #ccc;
            padding: 15px; 
    background: white;*/
    margin-top: 24px;
}

.news-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    gap: 20px;
}

    .news-item video,
    .news-item img {
        width: 300px;
        height: 180px;
        border-radius: 8px;
        object-fit: cover;
        cursor: pointer;
        flex-shrink: 0;
    }

.news-text {
    flex: 1;
}

.news-text h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.news-text .date {
    margin: 0 0 10px;
    font-size: 14px;
    color: gray;
}

.news-text .desc {
    font-size: 16px;
    line-height: 1.4;
    max-height: 5.7em;
    overflow: hidden;
    position: relative;
    color: #333;
}

    .news-text .desc.expanded {
        max-height: none;
    }

.see-more {
    color: #007BFF;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
    padding: 4px 12px;
    background: white;
    border: 1px solid #007BFF;
    border-radius: 24px;
}

.extra-content {
    display: none;
    margin-top: 15px;
    color: #333;
}

.extra-images {
    margin-bottom: 24px;
}

    .extra-images img {
        width: 150px;
        height: 100px;
        margin-right: 10px;
        margin-top: 10px;
        border-radius: 6px;
        object-fit: cover;
        cursor: pointer;
    }

.preview-image {
    transition: transform 0.2s ease;
}

    .preview-image:hover {
        transform: scale(1.03);
    }

.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

#preview-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px 12px 0 0;
    margin-bottom: 20px;
}

.close-btn {
    position: absolute;
    bottom: unset;
    left: 7%;
    color: #333;
    font-size: 35px;
    cursor: pointer;
    transform: translateX(-50%);
    padding: 0px 15px;
    border: 1px solid #333;
    border-radius: 34px;
}

.nav-buttons {
    width: 40vw;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateX(-50%);
    background: #ffffff;
    height: 72px;
    border-radius: 12px 12px 12px 12px;
    padding: 8px;
}

    .nav-buttons button {
        background: rgba(0, 0, 0, 0.2);
        border: none;
        color: #333;
        font-size: 30px;
        padding: 5px 20px;
        margin: 0 10px;
        cursor: pointer;
        border-radius: 38px;
    }

        .nav-buttons button:nth-child(2) {
            position: absolute;
            right: 82px;
        }

        .nav-buttons button:nth-child(3) {
            position: absolute;
            right: 12px;
        }

        .nav-buttons button:hover {
            background-color: rgba(255, 255, 255, 0.4);
        }

.radious-50 {
    border-radius: 50px;
    padding-right: 21px !important;
    color: #fff;
}

.mobile-right {
    position: unset;
    width: unset;
    right: unset;
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }

        .news-item video,
        .news-item img {
            width: 100%;
            height: auto;
        }

    .extra-images .preview-image {
        width: 45%;
        height: auto;
    }

    .close-btn {
        position: absolute;
        bottom: unset;
        left: 10%;
        color: #333;
        font-size: 35px;
        cursor: pointer;
        transform: translateX(-50%);
        padding: 0px 15px;
        border: 1px solid #333;
        border-radius: 34px;
    }

    #preview-img {
        max-width: 90vw;
        max-height: 80vh;
        border-radius: 12px 12px 0 0;
        margin-bottom: 70px;
    }

    .nav-buttons {
        width: 90vw;
        position: absolute;
        bottom: 0;
        left: 0;
        transform: translateX(-50%);
        background: #ffffff;
        height: 72px;
        border-radius: 0 0 12px 12px;
        padding: 8px;
    }

    ul.navbar-nav.mr-auto.mt-2.mt-lg-0 {
        width: 100%;
    }

    .mobile-right {
        position: absolute !important;
        width: max-content !important;
        right: 0px !important;
    }
}

.navbar-expand-lg .navbar-nav .nav-link {
    margin-right: 12px;
}