.topbar-brand img{
    max-width: 170px;
}

/* Document Embed Styles for Frontend */
.document-embed {
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 10px 0 !important;
    background: #f9f9f9 !important;
    transition: all 0.3s ease;
}

.document-embed:hover {
    border-color: #007bff !important;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1) !important;
}

.document-embed h4 {
    margin: 0 !important;
    color: #333 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.document-embed p {
    margin: 0 !important;
    color: #666 !important;
    font-size: 12px !important;
}

.document-embed a {
    display: inline-block !important;
    background: #007bff !important;
    color: white !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    transition: background 0.3s ease !important;
}

.document-embed a:hover {
    background: #0056b3 !important;
    color: white !important;
}

.document-embed a[download] {
    background: #28a745 !important;
}

.document-embed a[download]:hover {
    background: #1e7e34 !important;
}

/* PDF Embed Styles */
.pdf-embed {
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    margin: 10px 0 !important;
    overflow: hidden !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.pdf-embed h5 {
    margin: 0 !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.header{
    padding: 200px 100px;
    background-position: center;
    background-size: cover;
    height: 650px;
}
.offer-header{
    padding: 200px 100px;
    background-position: center;
    background-size: cover;
    height: 300px;

}
.card{
    border-radius: 4px ;
}

.job-opening-card:hover .card {
    background: var(--main-color);
    border-color: var(--main-color);
}


.job-opening-card:hover .card h5, .job-opening-card:hover .card .text-info {
    color: #fff !important;
}

.job-opening-card .card .text-info {
    color: var(--main-color) !important;
}

.job-filters .btn-outline.btn-info.active, .job-filters .btn-outline.btn-info:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #ffffff;
}

.job-filters .btn-outline.btn-info{
    color: var(--main-color);
    border-color: var(--main-color);
}

.topbar-right .btn-primary{
    background: var(--main-color);
    border-color: var(--main-color);
}

.theme-color{
    color: var(--main-color) !important;
}

.theme-background{
    background: var(--main-color) !important;
}

.btn.theme-background, .btn.theme-background:hover{
    background: var(--main-color) !important;
    border-color: var(--main-color) !important;
}

/* .sidebar{
    padding: 0 20px;
} */

.select-file{
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #c9d7df;
    cursor: pointer;
}

.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
    color: #ee1127;
}

.company-title{
    margin-bottom: 0.5rem;
}

a.applyWithLinkedin {
    display: block;
    text-align: center;
}

.select2-container--default .selection .select2-selection.select2-selection--single {
   border: none;
}


.select2-container--default .selection .select2-selection.select2-selection--single .select2-selection__arrow {
    display:none;
}

/** New css **/

@font-face {
    font-family: Roboto;
    src: url(../fonts/Roboto-Regular.ttf) format("OTF");
    /* font-weight: 400; */
    font-style: normal;
}
.rounded-pill {
    border-radius: 50rem!important;
}

.border-none{
    border:0px;    
}

.height-50{
    height: 50px;
}

.height-48{
    height: 48px;
}

.position-relative{
    position: relative;
}

.bg-img-shape{
    /* background-image: url('../img/banner-shape.svg'); */
    overflow: hidden;
    /* height: 600px; */
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #f4f7f6;
}

.main-content{
    background-color: #213f41;
}

.card-location span, .site-footer a, .site-footer p{
    color: #000000;
}
.job-opening-card:hover .card h5, .job-opening-card:hover .card small, .job-opening-card:hover .card .text-info, .job-opening-card:hover .card span {
    color: #fff !important;
}
.search-btn .btn {
    width: 97.5%;
}

.site-footer a:hover{
    color: #494949;
}

.site-footer{
    background: #172b2d !important;
}

.location-search .dropdown .btn{
    color: #000000;
}

.location{
    width: 25%;
}

.space{
    width: 1%;
}

.designation{
    width: 49%;
}

.text-color{
    color: #3d3d3d;
}

.space:before{
    border-left: 1px solid #dcdada;
    position: absolute;
    top: 11px;
    height: 35px;
    content: '';
    left: 5px;
}

.job-detail-header .header{
    height: 370px;
}

.bb-1{
    border-bottom: 1px solid #f4f7f6;
}

u{
    text-underline-position: under;
}

.select2-container--default .selection .select2-selection.select2-selection--single{
    background-color: transparent;
}



.select2-dropdown.select2-dropdown--below{
    border-radius: 4px;
    margin-top: 20px;
    outline: none !important;
}

.select2-search--dropdown .select2-search__field{
    outline: none !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #000000 !important;
    color: white;
}

.fixed{
    position: sticky;
    top: 1px;
}

@media (max-width:767px) {
    .select2-dropdown.select2-dropdown--below{
        margin-top: 0px !important;
    }
    .topbar-brand img {
        max-width: 145px !important;
    }
    .header{
        height: 460px;
    }
    .header .mb-30 {
        margin-bottom: 15px !important;
    }
    .header .mb-40 {
        margin-bottom: 25px !important;
    }
    .location-search{
        display: block !important;
        border-radius: 4px !important;
    }
    .location, .designation, .location-search .search-btn{
        width: 100% !important;
        border-bottom: 1px solid #f4f7f6;
        border-radius: 0px !important;
    }
    .search-btn{
        padding: 12px;
    }
    .search-btn .btn{
        margin-right: auto !important;
        width: 100%;
    }
}




/* Responsive table fixes */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Ensure tables don't exceed container width */
.table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
}

/* Fix table cells to prevent overflow */
.table td, .table th {
    word-wrap: break-word;
    word-break: break-word;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Allow specific columns to be wider if needed */
.table td.wide-column, .table th.wide-column {
    max-width: 300px;
}

.table td.narrow-column, .table th.narrow-column {
    max-width: 100px;
}

/* Ensure main content area doesn't overflow */
.content-wrapper {
    overflow-x: hidden;
}

.main-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* Google Drive Embed Styles for Frontend - Enhanced */
/* Target all iframes in form-control containers */
.form-control iframe,
.form-control[style*="height"] iframe {
    border: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 200px !important;
    display: block !important;
    background: #fff !important;
    overflow: hidden !important;
}

/* Handle old google-drive-embed format (legacy compatibility) */
.google-drive-embed {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    position: relative !important;
}

.google-drive-embed iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 200px !important;
    border: 0 !important;
    display: block !important;
    background: #fff !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

/* Hide the header in old format to match new simplified format */
.google-drive-embed > div:first-child {
    display: none !important;
}

/* Ensure proper display in content areas */
.content iframe,
.rich-editor iframe,
.editor-content iframe,
.form-group iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 200px !important;
    border: 0 !important;
    display: block !important;
}

/* Specific targeting for Google Drive iframes */
iframe[src*="drive.google.com"] {
    width: 100% !important;
    height: 100% !important;
    min-height: 200px !important;
    border: 0 !important;
    display: block !important;
    background: #fff !important;
}

/* Force iframe dimensions in form-control containers */
.form-control[style*="height:300px"] iframe,
.form-control[style*="height:350px"] iframe,
.form-control[style*="height:400px"] iframe,
.form-control[style*="height:500px"] iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
}

label[for="answer[111]"],
label[for="answer[111]"] + span
{
display:none;
}

.select2-container--default .selection .select2-selection.select2-selection--single .select2-selection__rendered {
    overflow: visible !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    overflow: visible !important;
    padding-right:0 !important;
    padding-left:0 !important;
}

.select2.select2-container.select2-container--default{
    width: 100% !important;
    align-items: center;
    height: 0;
    padding:0;
}