/* Technology related CSS starts here */

.ast-single-entry-banner.ast-custompage-banner[data-post-type="page"][data-banner-background-type="technology"] {
    background: url(https://teraopenscience.v2soft.com/wp-content/uploads/2025/06/science-coin-classes.webp) rgba(0, 0, 0, 0.73);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    background-blend-mode: multiply;
}

.ast-single-entry-banner.ast-custompage-banner[data-post-type="page"][data-banner-background-type="technology"] {
    text-align: center;
    justify-content: center;
    min-height: 260px;
    width: 100%;
    padding-top: 90px;
    max-width: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.ast-single-entry-banner.ast-custompage-banner {
    -js-display: flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--ast-title-layout-bg);
}

.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="technology"] h1.entry-title {
    color: var(--text-white-color);
    font-weight: 600;
    font-size: 38px;
    font-size: 2.375rem;
    line-height: 56px;
    letter-spacing: 0;
    margin-bottom: 15px;
}

.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="technology"] .ast-container *,
.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="technology"] .breadcrumbs.tech {
    color: var(--ast-global-color-5);
    font-size: 18px;
    font-size: 1.125rem;
}

.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="technology"] .ast-container a,
.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="technology"] .ast-container a * {
    color: var(--primary-color);
}

.ast-separate-container {
    background-color: var(--secondary-background-color);
}

.biotech-outer-grid {
    margin-bottom: 20px;
    padding: 20px 20px 0px 20px;
    border: 2px solid var(--border-dark);
    background-color: var(--primary-background-color);
}

.biotech-outer-grid #technology-search-form input {
    width: 79%;
    border-radius: 5px 0px 0px 5px;
    /* margin-right: 5px; */
    border-color: rgba(77, 132, 19, 0.44);
    height: 46px;
}

.biotech-outer-grid #technology-search-form.project-search-form input {
    width: 82%;
}

.biotech-outer-grid #technology-search-form button {
    border-radius: 0px 5px 5px 0px;
    padding: 10px 20px;
    border: 1px solid #8080805e;
}

.biotech-outer-grid #technology-search-form button:hover {
    background-color: #335D08;
}

.biotech-outer-grid #technology-search-form .custom-search-group {
    /* display: flex;
    justify-content: center;
    margin-top: -10px; */
    margin-bottom: 20px;
    display: flex;
}

/* .technology-grid.technology-grid-original {
    display: flex;
} */

.technology-grid.technology-grid-original .card-inner {
    display: flex;
    flex-direction: row;
    border: 1px solid var(--border-dark);
    /* box-shadow: 0 0 6px rgba(0, 0, 0, 0.10), 0 0 1px 1px rgba(0, 0, 0, 0.1); */
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: var(--secondary-background-color);
    min-height: 150px;
}

.technology-grid.technology-grid-original .card-inner .card-image {
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid var(--border-dark);
}

.technology-grid.technology-grid-original .card-inner .card-image img {
    object-fit: cover;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    align-items: center;
    border: 1px solid #B3B3B3;
}

.technology-grid.technology-grid-original .card-inner .card-content {
    padding: 20px 20px 20px 20px;
    text-align: left;
    width: 80%;
}

.technology-grid.technology-grid-original .card-inner .card-content .technology-details h5 {
    margin-bottom: 10px;
    font-size: 22px;
}

.technology-grid.technology-grid-original .card-inner .card-content .technology-details strong {
    padding: 3px;
    background: #dfdfdf;
    border-radius: 4px;
}

.technology-grid.technology-grid-original .card-inner .card-content p {
    margin-bottom: 6px;
    font-size: 15px;
}

.technology-grid.technology-grid-original .card-inner .card-content span {
    font-size: 14px;
}

.technology-card.crts-4960 {
    display: none;
}

/* .technology-grid.technology-grid-original .technology-card {
    width: 30%;
} */

.create-technology-form .gform_wrapper {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15), 0 0 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--primary-color);
    background: var(--primary-background-color);
}

.create-technology-form form .gform-body {
    padding: 30px;
    /* background: linear-gradient(135deg, #f9fff2, #e7f6d5); */
}

.create-technology-form form .technology-upload-field input {
    padding: 0px;
}

body .gform_fields .form-control textarea,
body .form-control .gform_fields textarea {
  background-color: var(--secondary-background-color);
  border: 1px solid #b7b7b7;
  border-radius: 4px;
  box-shadow: none;
  color: #444444;
  height: 45px;
  padding: 6px 16px;
  outline: none;
  font-size: 16px;
}

body .gform_fields .form-control.tech-multiselect-field .chosen-container.chosen-container-multi {
  width: 100% !important;
  background-color: var(--secondary-background-color);
  border: 1px solid #b7b7b7;
  border-radius: 4px;
  box-shadow: none;
  color: #444444;
  /*height: 42px;*/
  padding: 2px 16px;
  outline: none;
}

body .gform_fields .form-control.tech-multiselect-field .chosen-container.chosen-container-multi .chosen-drop {
    margin-left: -15px;
    margin-top: -7px;
}

body .gform_fields .form-control.tech-multiselect-field .chosen-container.chosen-container-multi .chosen-drop .chosen-result .result-selected {
    border-left: 4px solid var(--primary-color);
}

.tech-multiselect-field .select2.select2-container.select2-container--default,
.tech-multiselect-field  .select2-selection.select2-selection--multiple.select2-selection--clearable{
    display: none !important;
}

.gform-theme--framework .gfield .chosen-container-multi .chosen-choices li.search-choice {
    background-color: var(--primary-color) !important;
}

body .gform_fields .form-control input[type="checkbox"] {
    padding: 0px;
    height: 24px;
    width: 24px;
    border-radius: 0;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

body .gform_fields .form-control input[type="checkbox"]::before {
    color: var(--primary-color);
}

body .gform_fields .form-control input[type="checkbox"]:disabled::before {
    color: #b1b1b1;
}

body .tos-registration-page .gform_fields .form-control input[type="checkbox"]:disabled::before {
    color: #b1b1b1;
}

body .gform_fields .form-control input[type="checkbox"]:disabled {
    border: 1px solid #b1b1b1;
}

.gform-theme--foundation #gform_7 #field_submit {
    justify-content: end;
}

.gform-theme--foundation #gform_12 #field_submit {
    justify-content: end;
}

.gform-theme--foundation #gform_7 .update-technology-btn,
.gform-theme--foundation #gform_12 .update-project-btn {
    order: 2;
}

.gform-theme--foundation #gform_12 .manage-project-btn #gform_ajax_spinner_12,
.gform-theme--foundation #gform_7 .manage-technology-btn #gform_ajax_spinner_7 {
    order: 3 ;
}

body .custom-cancel-btn.cancel-btn-technology .custom-button-group button.gf_cancel_button,
body .archive-cancel-btn .custom-button-group button.gf_cancel_button,
body .cancel-technology-btn,
body .cancel-project-btn  {
    border-radius: 3px !important;
    font-size: 14px !important;
    padding: 10px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: var(--text-white-color);
    background-color: #b70505 !important;
    border-color: #b70505 !important;
    outline: none !important;
}

body.projtech-manage-tab-form #gform_fields_12 #field_submit,
body.projtech-manage-tab-form #gform_fields_7 #field_submit {
    grid-column: 1 / -1 !important;
    display: block;
}

body.projtech-manage-tab-form #gform_fields_12 #field_submit .manage-project-btn,
body.projtech-manage-tab-form #gform_fields_7 #field_submit .manage-technology-btn {
    display: flex;
    justify-content: inherit;
    align-items: center;
    gap: 10px;
}

body #gform_fields_8 #field_submit,
body #gform_fields_14 #field_submit {
    justify-content: end;
}

@media (max-width: 768px) {
    .create-technology-form #gform_submit_button_7.gform-button, 
    .create-technology-form #field_7_14 .custom-button-group .gf_cancel_button,
    .create-technology-form #field_8_14 .custom-button-group .gf_cancel_button,
    .create-technology-form #gform_submit_button_7,
    .create-technology-form #gform_submit_button_8,
    .create-technology-form #gform_submit_button_12 {
        width: 100% !important;
    }
}

a.start-new-tech-btn {
    color: var(--text-color);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 30px;
    padding: 10px 15px;
    font-weight: 600;
    margin-left: 18px;
}

a.start-new-tech-btn:hover {
    background: var(--secondary-dark-color);
    border-color: var(--secondary-dark-color);
}

p.error-info {
    color: #b70505;
}

.tos-technology-tab .elementor-button.active {
    background-color: #335D08 !important;
    border-color: #335D08 !important;
}

.gform_wrapper.gform-theme form {
    background: var(--primary-background-color);
    border-radius: 10px;
}

.technology-detail-page .technology-detail-tabs.tab-header {
    display: flex;
    /* border-bottom: 2px solid #335D08; */
    margin-top: 25px;
}

.technology-detail-page .technology-detail-contents {
    margin-bottom: 20px;
    padding: 20px;
    border: 2px solid var(--border-dark);
    background-color: var(--secondary-background-color);
    /* border-top: none; */
}

.technology-detail-page .technology-detail-tabs .tab-link {
    flex: 1;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    background: var(--secondary-background-color);
    text-transform: uppercase;
    color: #335D08;
    border: 2px solid var(--border-dark);
    border-radius: 15px 15px 0px 0px;
    margin: 0px 8px 0 0;
    font-weight: 700;
    border-bottom: none;
}

.technology-detail-page .technology-detail-tabs .tab-link:last-child {
    margin-right: 0;
}

.technology-detail-page .technology-detail-tabs .tab-link.active {
    font-weight: 700;
    border: none;
    border-bottom-color: var(--border-dark);
    background: #335d08;
    color: var(--text-white-color);
}

.technology-detail-page .technology-detail-contents .add-archive-btn {
    color: var(--text-color);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 30px;
    padding: 10px 15px;
    font-weight: 600;
}

.technology-detail-page .technology-detail-contents .tech-archive-item {
    border: 1px solid #dddddd;
    background-color: #f5f5f5;
    margin: 15px 0;
    border-radius: 10px;
    padding: 12px;
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
}

.technology-detail-page .technology-detail-contents .tech-archive-item i {
    padding: 6px;
    color: #2d5e18;
    font-size: 15px;
    margin: 5px 10px 5px 0;
    width: 25px;
    height: 25px;
}

.technology-detail-page .technology-detail-tabs .tab-pane {
    display: none;
    padding-top: 20px;
}

.technology-detail-page .technology-detail-tabs .tab-pane.show {
    display: block;
    padding: 2%;
}

.technology-detail-page .tech-summary-content {
    display: flex;
    /* border: 1px solid #dddddd; */
    /* margin: 15px 0; */
    border-radius: 10px;
    padding: 12px;
}

.technology-detail-page .tech-summary-tab-content {
    border: 1px solid #dddddd;
    margin: 15px 0;
    border-radius: 10px;
    padding: 12px;
    border-left: 4px solid var(--primary-color);
    background-color: var(--primary-background-color);
}

.technology-detail-page .tech-summary-content i {
    border-radius: 50px;
    border: 1px solid #2d5e18;
    background-color: var(--secondary-background-color);
    padding: 6px;
    color: #2d5e18;
    font-size: 13px;
    margin: 3px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
}

.technology-detail-page .tech-summary-content .view-patent-link {
    font-weight: 700;
    text-transform: uppercase;
}

.technology-detail-page .tech-summary-content p {
    margin-bottom: 5px;
}

.nominate-popup-close {
    background: var(--primary-color);
    box-shadow: none;
    border: none;
    position: absolute;
    top: 48px;
    padding: 5px 10px;
    right: 18px;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-white-color);
}

  .post-type-archive-project .technology-card.crts-5039 {
    display: none;
}

button.nominate-techdoi {
    padding: 8px 15px;
}

button.nominate-techdoi i {
    padding-right: 5px;
}

#nominate-modal {
    display: none;
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    /* background: white; */
    padding: 30px;
    border-radius: 8px;
    /* box-shadow: 0 0 15px rgba(0,0,0,0.3); */
    z-index: 9999;
    max-width: 700px;
    width: 100%;
}

.nominate-doi-popup h5 {
    margin-bottom: -25px;
    color: var(--primary-color);
}

body #gform_9 {
    border: 1px solid var(--primary-color);
}

body #gform_9 .gform_footer{
    justify-content: center;
    padding: 0 25px 25px 25px;
    margin-top: -15px;
}

body #gform_9 #gform_submit_button_9 {
    color: var(--text-white-color);
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    font-size: 16px;
    border-radius: 25px;
    padding: 0px 30px;
}

.techpage-start-newproj {
    color: var(--text-color);
    background: #ffd43b99;
    border: 1px solid #daab00;
    border-radius: 25px;
    padding: 4px 8px;
    font-weight: 500;
    margin-left: 5px;
}

.techpage-start-newproj i {
    font-size: 13px;
    padding: 0 3px;
}

.technology-grid.technology-grid-original .card-inner .card-content .technology-details strong.techpage-project-count {
    color: var(--text-color);
    background: #4d84135c;
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    padding: 4px 8px;
    font-weight: 500;
}

.technology-pagination-wrapper ul,
.project-pagination-wrapper ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0px 25px 0;
    list-style: none;
    margin: 0;
}

.technology-pagination-wrapper li,
.project-pagination-wrapper li {
    display: inline;
}

.technology-pagination-wrapper a,
.technology-pagination-wrapper span,
.project-pagination-wrapper a,
.project-pagination-wrapper span {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 25px;
    background: var(--secondary-background-color);
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.technology-pagination-wrapper a:hover,
.project-pagination-wrapper a:hover {
    background-color: var(--primary-color);
    color: white;
}

.technology-pagination-wrapper .current,
.project-pagination-wrapper .current {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.tos-login-screen_wrapper {
    flex-direction: column;
}

.tos-login-screen_wrapper .gform_validation_errors {
    margin-bottom: 0px !important;
}

/* Technology related CSS ends here */


/* Project related CSS starts here */

body .biotech-outer-grid .biotech-search-form.project-search-form input {
    width: 82% !important;
    border-radius: 5px 0px 0px 5px;
    border-color: var(--border-dark);
    height: 46px;
}

/* Project related CSS ends here */
