/*
 Theme Name:   Corify Child
 Theme URI:    http://fitwp.com/wordpress-themes/corify/
 Description:  Corify Child Theme
 Author:       FitWP
 Author URI:   https://themeforest.net/user/fitwp/portfolio
 Template:     corify
 Version:      1.0.2
*/

/* Child Theme Custom CSS */

.auto-listings-items.grid-view .at-a-glance>li:not(.seperator) {
    width: 80%;
}

.auto-listings-items.list-view .logo img {
    height: 40px !important;
    object-fit: contain !important;
    width: auto !important;
    border-radius: 0 !important;
}

.entry-excerpt {
    display: none !important;
}

.corify-social-share {
    display: none;
}

.sidebar-price {
    margin-bottom: 20px;
}

.sidebar-price h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.sidebar-price .price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 18px;
    font-weight: 300;
    color: var(--e-global-color-text);
}

.sidebar-price .price-row .label {
    font-style: italic;
}

.sidebar-price .total-price {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #edeff1;
    font-size: 20px;
    font-style: italic;
}

.sidebar-price .savings .price-value {
    color: green;
}

.price-row.savings {
    margin-left: 20px;
}

.section-title {
    display: flex;
    flex-wrap: wrap;
    background: #E6EBF0;
    margin-bottom: 15px;
}

.section-title span {
    color: #293957;
    padding: 14px 22px;
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
}

.section-content {
    margin: 0 20px;
}

.single-listing-main .auto-listings-sections {
    margin-bottom: 75px;
}

.auto-listings-single .breadcrumbs-wrapper {
    margin-bottom: 10px;
}

.breadcrumbs-item {
    color: #293957;
}

.single-listing--dealership .upper .row {
    padding-bottom: 0px !important;
    margin-bottom: 20px !important;
}

/* mobile view */
@media (max-width: 767px) {
    .single-listing-main .content .sidebar-price,
    .single-listing-main .content .section--dealer-contact-form,
    .single-listing-main .content .section--dealer-info, 
    .single-listing-main .content .section--action-buttons,
    .single-listing-main .content .section--dealer-info,
    .single-listing-main .content .section--dealer-calculator {
        display: block;
    }

    .single-listing-main .sidebar {
        display: none;
    }
}

/* non-mobile view */
@media (min-width: 768px) {
    .single-listing-main .content .sidebar-price,
    .single-listing-main .content .section--dealer-contact-form,
    .single-listing-main .content .section--dealer-info, 
    .single-listing-main .content .section--action-buttons,
    .single-listing-main .content .section--dealer-info,
    .single-listing-main .content .section--dealer-calculator {
        display: none;
    }

    .single-listing-main .sidebar {
        display: block;
    }
}

.specifications__icon.make_display:before {
    content: '\f36f';
}

.specifications__icon.model_name::before {
    content: '\f2c1';
}

.specifications__icon.movement_type::before {
    content: '\f13e';
}

.specifications__icon.model_engine_power_hp::before {
    content: '\f4b0';
}

/* .specifications__icon.machine_category::before {
    content: '\f4b0';
} */

.specifications__icon.wheelbase::before {
    /* content: '\f2f7'; */
    font-family: "Font Awesome 6 Pro";
    content: '\f631';
}

.specifications__icon.engine::before {
    font-family: "Font Awesome 6 Pro";
    content: '\e16e';
}

.specifications__icon.cab_type::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f63c';
}

.specifications__icon.body_length::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f545';
}

.specifications__icon.brake_system::before {
    font-family: "Font Awesome 6 Pro";
    content: '\e0c7';
}

.specifications__icon.gvwr::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f496';
}

.specifications__icon.color::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f043';
}

.specifications__icon.body_manufacturer::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f46f';
}

.specifications__icon.suspension::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f46f';
}

.specifications__icon.wheels::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f631';
}

.specifications__icon.tri_axle::before {
    font-family: "Font Awesome 6 Pro";
    content: '\e2b5';
}

.specifications__icon.dually::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f63c\f63c';
}

.specifications__icon.lift_axle::before {
    font-family: "Font Awesome 6 Pro";
    content: '\e2b6';
}

.specifications__icon.tarp_system::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f793';
}

.specifications__icon.machine_category::before {
    font-family: "Font Awesome 6 Pro";
    content: '\e655';
}

.specifications__icon.listing_condition::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f793';
}

.specifications__icon.serial_number::before {
    font-family: "Font Awesome 6 Pro";
    content: '\23';
}

.specifications__icon.has_ac::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f8f4';
}

.specifications__icon.has_attachments::before {
    font-family: "Font Awesome 6 Pro";
    content: '\f0c1';
}

#car-submit button:before {
    font-family: "Font Awesome 6 Pro" !important;
    content: '\f0d1' !important;
}

#car-submit {
    margin: 0 !important;
}

.cancel-link {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
  }
  
  /* Center horizontally and vertically */
  .cancel-link-container {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
  }
  
  /* Optional: Adjust text alignment */
  .cancel-link {
    text-align: center;
  }

@media (max-width: 767px) {
    .single-listing--dealership ul.specifications-list {
        columns: 1;
    }
}

@media (min-width: 768px) {
    .single-listing--dealership ul.specifications-list {
        columns: 2;
    }
}

.single-listing--dealership ul.specifications-list>li .label {
    width: 50%;
}

#car-regular-price .field-label, 
#car-sale-price .field-label, 
#retail-price .field-label {
    top: 25px;
}

.auto-listings .price {
    color: #6B0C10 !important;
}

.auto-listings .sale-price {
    color: #D71920 !important;
}

.auto-listings-submit-listing #_al_listing_exterior_color+span, 
.auto-listings-submit-listing #_al_listing_interior_color+span {
    height: 62px;
    padding: 0 !important;
}

.topbar__left.d-flex.flex-wrap.align-center,
.topbar__item.topbar__item--hotline {
    width: 100%;
}

.topbar__item--hotline i.ion-android-call {
    display: none;
}

.als .SumoSelect > p.SelectBox {
    background: #F5F5F5;
}

.single-listing__sidebar-section {
    background: #F5F5F5 !important;
}

.section--action-buttons a {
    background: #F5F5F5 !important;
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    border-radius: 5px;
    width: fit-content;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: background-color 0.3s ease;
    color: #737f96;
}

.tab button.active {
    background-color: #737f96;
    color: #ffffff;
}

.tab button.active:hover {
    background-color: #737f96;
    color: #ffffff;
}

.tab button:hover {
    background-color: #ddd;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
}

.tabcontent:first-child {
    display: block;
}

/* Finance Calculator */
.calculator-result__interest, .calculator-result__total-payment {
    display: none;
}

.calculator-form__apply-button {
    margin-top: 25px;
}

.calculator-form__apply-button a {
    display: inline-block;
    width: 100%;
}