﻿@media screen and (min-width: 768px) {
    #OpportunityModal .modal-dialog {
        width: 700px;
        margin: 30px auto;
    }

    .detailspage {
        width: 60%;
        margin: auto;
    }

    #OpportunityModal .job-details {
        display: flex;
        justify-content: space-between;
    }
}

#OpportunityModal p {
    text-align: left;
}

#op-location {
    margin-left: 5px;
}

span[data-dismiss="modal"] {
    cursor: pointer;
    background: #FFF2F2;
    padding: 2px;
    border-radius: 50%;
    margin: 16px 20px 0px 0px;
    z-index: 111;
    position: absolute;
    right: 0;
}

#OpportunityModal .job-modal {
    font-family: Arial, sans-serif;
    margin: 15px;
    color: #333;
    position: relative;
    border: 1px solid red;
    padding: 10px;
}

#OpportunityModal .modal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#OpportunityModal .academy-logo {
    height: 38px;
    float: right;
}

#OpportunityModal .dropdown-menu ul {
    list-style: none;
    float: left;
    text-align: left;
    padding: 0 10px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 0;
}

#OpportunityModal .dropdown-menu ul li {
    width: 100%;
    padding: 5px 0;
}

#OpportunityModal .dropdown-menu ul li:hover {
    background: #e2e2e24d;
}

#OpportunityModal .dropdown-menu ul li:not(:last-child) {
    border-bottom: 1px solid #e2e2e2;
}

#OpportunityModal .company-logo {
    max-height: 87px;
    max-width: 160px;
    float: right;
}

#OpportunityModal .job-header {
    margin-top: 10px;
}

#OpportunityModal .job-header h2 {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0;
    color: #333333;
}

#OpportunityModal .company-name {
    font-size: 20px;
    color: #A435F0;
    margin: 15px 0 20px 0;
    font-weight: 600;
}

#op-category {
    background: #FCEDFF;
    font-size: 13px;
    font-weight: lighter;
    padding: 5px;
    margin: 0 0 0 -3px;
}

#OpportunityModal .location {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
}

#OpportunityModal .job-details {
    margin: 20px 0;
    flex-wrap: wrap;
}

#OpportunityModal .detail-box {
    text-align: center;
    flex: 1 1 25%;
}

#OpportunityModal .detail-box .label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

#OpportunityModal .detail-box .value {
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

#ApplyDescription,
#ApplyDescription .col-md-1 {
    padding: 11px 0;
}

.Share-Now {
    border-radius: 46%;
    border: 1px solid #e2e2e2;
    padding: 9px;
    cursor: pointer;
}

#OpportunityModal .eligibility {
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 2px;
}

#OpportunityModal .eligibility .tag {
    display: inline-block;
    background: #ddd;
    color: #333;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
}

#OpportunityModal .apply-box {
    float: right;
    text-align: right;
    margin-bottom: 15px;
}

#OpportunityModal .apply-btn {
    background: #0096ff;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

#OpportunityModal hr {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin: 0;
}

#OpportunityModal .about {
    margin: 0;
    padding: 0px 0;
}

#OpportunityModal .about h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

#OpportunityModal .about p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Close button styling */
#OpportunityModal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
}

.row {
    margin: 0;
}

.warpInBreadcrumb .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: #573097;
}

.btn-primary.btn-strt:hover {
    width: max-content;
    border-radius: 20px;
    float: left;
    padding: 5px 30px;
    color: #a40000;
    background-color: #ffffff;
    border-color: #a40000;
}

.btn-primary.btn-strt {
    width: max-content;
    border-radius: 20px;
    float: left;
    padding: 5px 30px;
    color: #a40000;
    background-color: #ffffff;
    border-color: #a40000;
}

.btn-primary.btn-strt img {
    height: 30px;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 70px;
    aspect-ratio: 1;
    background: radial-gradient(farthest-side, #ffa516 90%, #0000) center/16px 16px,
        radial-gradient(farthest-side, green 90%, #0000) bottom/12px 12px;
    background-repeat: no-repeat;
    animation: l17 1s infinite linear;
    position: relative;
}

.loader::before {
    content: "";
    position: absolute;
    width: 8px;
    aspect-ratio: 1;
    inset: auto 0 16px;
    margin: auto;
    background: #ccc;
    border-radius: 50%;
    transform-origin: 50% calc(100% + 10px);
    animation: inherit;
    animation-duration: 0.5s;
}

@keyframes l17 {
    100% {
        transform: rotate(1turn);
    }
}

.opportunity-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 13px;
    box-shadow: 0 4px 12px rgb(0 0 0 / 26%);
    transition: transform 0.2s ease;
    margin-bottom: 15px;
    border: 1px solid #a7a7a7;
}

.opportunity-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.title {
    font-size: 18px;
    margin: 5px 0 10px;
    color: #222;
}

.date {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
}

.stipend,
.eligibility,
.status,
.desc {
    font-size: 14px;
    margin: 6px 0;
    color: #333;
}

.action {
    margin-top: 15px;
}

.apply-btn {
    display: inline-block;
    background: #0056d6;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.apply-btn:hover {
    background: #003fa3;
}

.notLogin {
    background: #bbbbbb;
    color: #bbbbbb;
    animation: animation-c7515d 2s ease-in-out 0.5s infinite;
}

@keyframes animation-c7515d {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.col-md-2,
.col-md-3 {
    padding: 1px 2px;
}

table thead th {
    white-space: nowrap;
    background: #f5f5f5;
    padding: 10px;
}

table tbody td {
    border-bottom: 1px solid #bababa;
    padding: 6px;
    text-align: left;
}

table tbody tr td:first-child {
    text-align: center;
}

table tbody tr td:first-child {
    border-left: 1px solid #bababa;
}

table tbody tr:first-child td {
    border-top: 1px solid #bababa;
}

table tbody tr td:last-child {
    border-right: 1px solid #bababa;
}

.table-scroll-wrapper {
    position: relative;
}

.table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
}

.top-scroll {
    height: 16px;
    /* only scrollbar visible */
}

.top-scroll>div {
    height: 1px;
}

.main-scroll {
    max-width: 100%;
    overflow: auto;
}

.ApplyNowLink {
    background: #ff6f00;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
}

.ApplyNowLink:hover {
    color: #000;
}

.form-select-sm {
    width: 52px;
}

.form-select {
    padding: 5px 5px;
    font-size: 15px;
    border-radius: 0;
}

.page-link {
    font-size: 13px;
    background: none;
}

#mdinstruction h1 {
    font-weight: 600;
}

#mdinstruction p {
    font-size: 14px;
    text-align: justify;
    line-height: 3rem;
}

#mdinstruction h6 {
    font-size: 16px;
    font-weight: 700;
}

#mdinstruction ul li {
    font-size: 14px;
}

.disclaimer {
    padding: 5px;
    border: 1px solid #ff0000;
    background: #ff69693d;
}
@media (max-width: 768px) 
{
    #op-mode 
    {
        display:inline-block;
    }
    #OpportunityModal .company-logo {
    float: left;
    border: 1px solid;
    border-radius: 10px;
}
}

@media (min-width: 1200px) {
    .container {
        width: 1250px;
    }

    #mdinstruction .modal-dialog {
        width: 80%;
    }

    #mdinstruction .modal-body {
        position: relative;
        padding: 5px 15px;
        max-height: 550px;
        overflow: auto;
    }
}

#flOldFIle {
    max-height: 200px;
    padding: 5px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    margin-top: 4px;
}

#op-mode {
    margin-left: 25px;
    /* float: right; */
    background: #e2e2e29e;
    padding: 6px;
    border-radius: 8px;
}

.dvDate {
    display: none;
    background: #FFF;
    top: 3px;
    padding: 2px;
    border: 1px solid #d51c1c;
    z-index: 11;
    width: 230px;
    left: 75px;
}

.tdDate:hover>.dvDate {
    display: block;
    position: absolute;
}