/*
Theme Name: TAISR
Theme URI: https://thesoftwarereport.com
Author: The AI Software Report
Author URI: https://thesoftwarereport.com
Description: Custom theme for The AI Software Report.
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0.0
Text Domain: taisr
Requires PHP: 8.3
*/


/* Screen reader text - visually hidden, accessible to assistive technology */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* User profile tabs section  */
.user-profile-tabs .tabs {
    margin-bottom: 40px;
}

.user-profile-tabs .tabs a {
    background: #d9d9d9;
    padding: 10px 20px;
    margin: 0;
    border: 1px solid #d9d9d9;
}

.user-profile-tabs .tabs a:hover,
.user-profile-tabs .tabs a.active {
    background: #fefefe;
    border-top: 2px solid #ff0000 !important;
    border-left: 1px solid;
    border-right: 1px solid;
    border-bottom: none;
    border-color: #d9d9d9;
    text-decoration: none;
}

.page-template-page-user-profile .gform_legacy_markup_wrapper label.gfield_label,
.page-template-page-user-profile .gform_legacy_markup_wrapper legend.gfield_label {
    font-weight: normal;
    font-size: 15px;
}


input[type=number] {
    font-size: 12px;
    line-height: 21px;
    color: #444;
    border: 1px solid #e1e1e1;
    width: 100%;
    max-width: 100%;
    height: 34px;
    padding: 3px 9px;
}


select {
    height: 30px;
    -webkit-appearance: menulist-button;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

body #gform_wrapper_2 .gfield_label.gfield_label_before_complex {
    font-weight: 400 !important;
    font-size: 14px !important;
}

.gfield_label.gfield_label_before_complex,
.gform_wrapper .gform_card_icon_container {
    display: block !important;
}


.page-id-20749 .gform_heading {
    display: none !important;
}


/* Payment form styles */

#gform_wrapper_9 {
    background-color: #fafafa;
    border: 1px solid #ddd;
    margin: 0px 0 60px;
    padding: 10px 10px 20px;
}

img {
    max-width: 100%;
    width: auto\9;
    height: auto;
}

body #gform_wrapper_9.gform_wrapper .gfield.col-md-6-08-26-2022 {
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

body #gform_wrapper_9.gform_wrapper ul li.gfield.col-md-12-08-26-2022 {
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

body #gform_wrapper_9.gform_wrapper ul li.gfield {
    clear: none;
}

body #gform_wrapper_9.gform_wrapper label,
body #gform_wrapper_9.gform_wrapper label.gfield_label {
    font-weight: normal;
    font-size: 14px;
}

body #gform_wrapper_9 .gfield_label.gfield_label_before_complex {
    font-size: 16px !important;
    font-weight: bold !important;
}

body.page-id-2779 .td-page-title {
    margin-bottom: 5px;
}

body #gform_wrapper_9.gform_wrapper ul li.gfield {
    margin-top: 16px;
    padding-top: 0;
}

body #gform_wrapper_9.gform_wrapper .gform_heading {
    display: none;
}

body #gform_wrapper_9.gform_wrapper .gform_footer #gform_submit_button_2 {
    margin-left: 15px;
    background: #198ac1;
    color: #fff;
    border: none;
    padding: 10px 20px;
}


/* =============================================================================
   Footer Styles (merged from css/footer.css)
   ============================================================================= */

/* Main Footer */
.taisr-footer {
    /* margin-top: 40px; */
}

.taisr-footer-main {
    background: #2d2d2d;
    color: #c0c0c0;
    padding: 50px 0 40px;
    text-align: center;
    border-top: 3px solid var(--taisr-mid);
}

.taisr-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.taisr-footer-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px;
    font-family: Georgia, 'Times New Roman', serif;
}

.taisr-footer-description {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 20px;
}

.taisr-footer-contact {
    color: #b0b0b0;
    font-size: 14px;
    margin: 0;
}

.taisr-footer-contact a {
    color: var(--taisr-mid);
    text-decoration: none;
}

.taisr-footer-contact a:hover {
    text-decoration: underline;
}

/* Sub Footer */
.taisr-sub-footer {
    background: #111;
    padding: 15px 0;
    border-top: 1px solid #3a3a3a;
}

.taisr-sub-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.taisr-sub-footer-copyright {
    color: #888;
    font-size: 13px;
}

.taisr-sub-footer-menu {
    display: flex;
    align-items: center;
}

.taisr-footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.taisr-footer-menu-list li a {
    color: #b0b0b0;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.taisr-footer-menu-list li a:hover {
    color: #ffffff;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--taisr-mid);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--taisr-alt);
}

/* Responsive */
@media (max-width: 768px) {
    .taisr-sub-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .taisr-footer-menu-list {
        justify-content: center;
    }

    .taisr-footer-main {
        padding: 30px 0;
    }
}


/* =============================================================================
   Login Modal Styles (merged from css/login-modal.css)
   ============================================================================= */

.taisr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.taisr-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.taisr-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.taisr-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
}

.taisr-modal-close:hover {
    color: #333;
}

.taisr-login-section h3 {
    margin: 0 0 20px;
    font-size: 22px;
    color: #333;
}

.taisr-form-group {
    margin-bottom: 16px;
}

.taisr-form-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #555;
}

.taisr-form-group input[type="text"],
.taisr-form-group input[type="email"],
.taisr-form-group input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.taisr-form-group input:focus {
    border-color: var(--taisr-mid);
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.2);
}

.taisr-form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.taisr-form-row label {
    display: inline;
    font-size: 13px;
}

.taisr-form-row a {
    font-size: 13px;
    color: var(--taisr-mid);
    text-decoration: none;
}

.taisr-btn {
    width: 100%;
    padding: 12px;
    background: var(--taisr-mid);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.taisr-btn:hover {
    background: var(--taisr-alt);
}

.taisr-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.taisr-login-switch {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.taisr-login-switch a {
    color: var(--taisr-mid);
    text-decoration: none;
}

.taisr-login-message {
    display: none;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 16px;
}

.taisr-msg-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.taisr-msg-success {
    background: #efe;
    color: #363;
    border: 1px solid #cfc;
}


/* =============================================================================
   Top Performers Styles (merged from css/top_performers.css)
   ============================================================================= */
.td-container {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Grey background only on the companies list/archive pages */
.post-type-archive-top-companies .td-main-content-wrap,
.page-template-top-companies-templete .td-main-content-wrap {
    background: #fefefe;
    padding-top: 30px;
    padding-bottom: 30px;
}

#content {
    background: #f2f2f2 !important;
}

.performers-info {
    background: #fff;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    margin-top: 10px;
}

body.post-type-archive-top-companies .performers-info,
body.single-top-companies .performers-info {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.performers-content,
.performers-review {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
}

.performers-content h4,
.performers-review h4 {
    margin-top: 0px;
}

.performers-content p+br {
    display: none;
}

.performers-short p {
    margin: 0;
}

.performers-content p {
    margin-bottom: 10px;
}

.width-20 {
    float: left;
    width: 20%;
}

.width-40 {
    float: left;
    width: 40%;
}

.position-post {
    padding: 25px;
}

.rank-post {
    padding: 27px 25px 0;
    line-height: 1.2em;
}

.rank-post p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 23px;
}

.position-post p {
    line-height: 24px;
    font-size: 15px;
    margin-bottom: 15px;
}

.performers-info img {
    display: block;
    max-width: 200px;
}

body.post-type-archive-top-companies .performers-info img,
body.single-top-companies .performers-info img {
    display: inline-block;
    float: none;
    padding: 20px;
}

body.post-type-archive-top-companies .performers-info ul.award-detail li,
body.single-top-companies ul.award-detail li,
body.post-type-archive-top-leaders .performers-info ul.award-detail li,
body.single-top-leaders ul.award-detail li {
    margin-left: 0;
    list-style-type: none;
}

body.post-type-archive-top-companies .performers-info .award-detail img,
body.single-top-companies .performers-info .award-detail img,
body.post-type-archive-top-leaders .performers-info .award-detail img,
body.single-top-leaders .performers-info .award-detail img {
    display: inline-block;
    padding: 0;
}

.btn-blue,
a.btn-blue {
    background: #198ac1;
    color: #fff;
    border: 0;
    padding: 5px 10px;
    display: inline-block;
    margin-top: 10px;
}

.award-detail img {
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
    max-width: 30px;
    margin-bottom: 5px;
}

.award-detail b {
    display: inline-block;
    margin-bottom: 10px;
}

.reviews span.awcr-average-rating-bar {
    vertical-align: middle;
    display: inline-block;
}

.reviews .awcr-average-rating-bar .star-empty,
.reviews .awcr-average-rating-bar .star-filled {
    height: 10px;
    width: 10px;
    border: 1px solid #198ac1;
    margin-right: 5px;
    display: inline-block;
    border-radius: 50%;
    font-size: 0px;
    float: left;
}

.reviews .awcr-average-rating-bar .star-filled {
    background: #198ac1;
}

.reviews label {
    margin-left: 5px;
}

.performers-short {
    display: inline-block;
    padding: 20px 15px 20px 15px;
    width: 100%;
}

.pager-main {
    text-align: center;
}

.pager-main a {
    padding: 5px 10px;
    display: inline-block;
    margin: 0 5px;
    background: #00b0f0;
    color: #fff;
}

.thumbnail-post {
    min-height: 2px;
}

body.post-type-archive-top-companies .thumbnail-post,
body.single-top-companies .thumbnail-post {
    text-align: center;
    margin: auto;
}

.performers-review .logged-in-as {
    display: none;
}

.single .performers-review .comments {
    margin-bottom: 0px;
}

.performers-review .awcr-rating-container {
    vertical-align: middle;
    top: -4px;
    position: relative;
    left: 8px;
}

.performers-review .awcr-rating-label {
    margin: 0px;
    font-size: 14px;
}

.performers-review #reply-title {
    display: none;
}

.performers-review h4.td-comments-title {
    display: none;
}

.performers-review .comment .avatar {
    display: none;
}

.performers-review .comment .comment-content {
    margin-left: 0px;
}

.performers-review .comment .comment-meta {
    display: none;
}

.performers-review#add-review-form {
    display: none;
}

.search-main {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
}

.left-category {
    float: left;
}

body.post-type-archive-top-companies .left-category,
body.single-top-companies .left-category {
    margin-bottom: 10px;
}

.right-search {
    float: right;
}

.searchfrm input[type="text"] {
    display: inline-block;
    width: 270px;
}

@media (max-width: 767px) {
    .searchfrm input[type="text"] {
        width: 330px;
    }
}

.searchfrm input[type="submit"] {
    display: inline-block;
}

.left-category ul {
    margin: 10px 0 0 0;
    padding: 0;
    list-style: none;
}

.left-category ul li {
    display: inline-block;
    margin: 0;
    padding-right: 15px;
}

.left-category ul li a {
    color: #333;
}

.left-category ul li a:hover,
.left-category ul li a:focus,
.left-category ul li a:active,
.left-category ul li.current-category a {
    color: #00b0f0;
}

.performers-review input#email {
    width: 100%;
}

.pagination-main {
    text-align: center;
    margin-top: 20px;
}

.pagination-main ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination-main ul li {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
}

.pagination-main ul li a {
    line-height: 21px;
    padding: 6px 11px;
    background-color: #00b0f0;
    min-width: 33px;
    text-align: center;
    display: inline-block;
    color: #fff;
}

.pagination-main ul li a.disabled-page {
    opacity: 0.5;
    cursor: no-drop;
}

.comment-content .stars {
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.stars span.dashicons.dashicons-star-empty.star_empty,
.stars span.dashicons.dashicons-star-filled.star_filled {
    height: 10px;
    width: 10px;
    border: 1px solid #198ac1;
    margin-right: 5px;
    display: inline-block;
    border-radius: 50%;
    font-size: 0px;
    float: left;
}

.stars span.dashicons.dashicons-star-filled.star_filled {
    background: #198ac1;
}

.performers-review .comment-respond .awcr-rating-container>input+label {
    text-shadow: none;
    border-radius: 50%;
    border: 1px solid #198ac1;
    margin-right: 10px;
    margin-right: 5px;
    font-size: 40px;
    line-height: 10px;
    height: 10px;
    width: 10px;
    color: #fff;
    display: inline-block !important;
    padding: 0 !important;
}

.performers-review .comment-respond .awcr-rating-container>input+label::before {
    content: "*";
    background: #fff;
    color: #fff;
}

.performers-review .comment-respond .awcr-rating-container:hover>input+label:hover~label::before,
.performers-review .comment-respond .awcr-rating-container:hover>input+label:hover::before {
    content: "*";
    background: #198ac1;
    color: #198ac1;
    text-shadow: none;
}

.performers-review .comment-respond .awcr-rating-container>input:checked~label::before,
.performers-review .comment-respond .awcr-rating-container>input+label:hover~label::before,
.performers-review .comment-respond .awcr-rating-container>input+label:hover::before {
    content: "*";
    background: #198ac1;
    color: #198ac1;
    text-shadow: none;
}

.performers-review .comment-respond .awcr-rating-container>.star-cb-clear+label {
    display: none;
}

.performers-review .comment-pagination {
    display: none;
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
}

.performers-review .comment-pagination span {
    line-height: 21px;
    padding: 6px 11px;
    background-color: #00b0f0;
    min-width: 33px;
    text-align: center;
    display: inline-block;
    color: #fff;
    position: relative;
    opacity: 0.5;
    cursor: no-drop;
}

.performers-review .comment-pagination span.has_link {
    opacity: 1.0;
    background-color: #00b0f0;
}

.performers-review .comment-pagination span a {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    font-size: 0px;
}

#edithead {
    display: block !important;
}

#edithead .inside {
    display: none !important;
}

#edithead .inside:last-child {
    display: block !important;
}

.performers-review .comment-respond .awcr-rating-container>input+label[for="rating-0"] {
    display: none !important;
}

.quickedit {
    display: none;
}

@media (max-width: 767px) {
    .right-search {
        float: left;
        margin-top: 14px;
    }

    .width-20,
    .width-40 {
        width: 100%;
    }

    .position-post,
    .rank-post {
        padding: 15px;
        padding-bottom: 0px;
    }

    .performers-info .thumbnail-post img {
        display: block;
        max-width: 200px;
        margin: 0 auto;
    }

    .thumbnail-post.width-20 {
        background: #eaeaea;
        text-align: center;
    }
}