.elementor-1398 .elementor-element.elementor-element-310a4ab{--display:flex;--min-height:250px;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--overlay-opacity:0.5;--overlay-mix-blend-mode:luminosity;}.elementor-1398 .elementor-element.elementor-element-310a4ab:not(.elementor-motion-effects-element-type-background), .elementor-1398 .elementor-element.elementor-element-310a4ab > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-secondary );}.elementor-1398 .elementor-element.elementor-element-310a4ab::before, .elementor-1398 .elementor-element.elementor-element-310a4ab > .elementor-background-video-container::before, .elementor-1398 .elementor-element.elementor-element-310a4ab > .e-con-inner > .elementor-background-video-container::before, .elementor-1398 .elementor-element.elementor-element-310a4ab > .elementor-background-slideshow::before, .elementor-1398 .elementor-element.elementor-element-310a4ab > .e-con-inner > .elementor-background-slideshow::before, .elementor-1398 .elementor-element.elementor-element-310a4ab > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-image:url("https://drivingschoolmanchester.com/wp-content/uploads/2025/05/67443-e1743707809706.jpg");--background-overlay:'';background-position:center center;background-repeat:no-repeat;}.elementor-1398 .elementor-element.elementor-element-fa0cd89{text-align:left;}.elementor-1398 .elementor-element.elementor-element-fa0cd89 .elementor-heading-title{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );text-transform:var( --e-global-typography-secondary-text-transform );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );color:var( --e-global-color-d689937 );}.elementor-1398 .elementor-element.elementor-element-f65db47.elementor-element{--align-self:center;}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child){padding-bottom:calc(15px/2);}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:first-child){margin-top:calc(15px/2);}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item{margin-right:calc(15px/2);margin-left:calc(15px/2);}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-items.elementor-inline-items{margin-right:calc(-15px/2);margin-left:calc(-15px/2);}body.rtl .elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item:after{left:calc(-15px/2);}body:not(.rtl) .elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item:after{right:calc(-15px/2);}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-icon i{color:var( --e-global-color-primary );transition:color 0.3s;}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-icon svg{fill:var( --e-global-color-primary );transition:fill 0.3s;}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item:hover .elementor-icon-list-icon i{color:var( --e-global-color-d689937 );}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item:hover .elementor-icon-list-icon svg{fill:var( --e-global-color-d689937 );}.elementor-1398 .elementor-element.elementor-element-f65db47{--e-icon-list-icon-size:16px;--icon-vertical-offset:0px;}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-icon{padding-right:5px;}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item > a{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );text-transform:var( --e-global-typography-accent-text-transform );}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-text{color:var( --e-global-color-d689937 );transition:color 0.3s;}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item:hover .elementor-icon-list-text{color:var( --e-global-color-primary );}.elementor-1398 .elementor-element.elementor-element-4732b28{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(min-width:2400px){.elementor-1398 .elementor-element.elementor-element-fa0cd89 .elementor-heading-title{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item > a{font-size:var( --e-global-typography-accent-font-size );}}@media(max-width:1366px){.elementor-1398 .elementor-element.elementor-element-fa0cd89 .elementor-heading-title{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item > a{font-size:var( --e-global-typography-accent-font-size );}}@media(max-width:1024px){.elementor-1398 .elementor-element.elementor-element-fa0cd89 .elementor-heading-title{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item > a{font-size:var( --e-global-typography-accent-font-size );}}@media(max-width:767px){.elementor-1398 .elementor-element.elementor-element-fa0cd89{width:100%;max-width:100%;}.elementor-1398 .elementor-element.elementor-element-fa0cd89 .elementor-heading-title{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );letter-spacing:var( --e-global-typography-secondary-letter-spacing );}.elementor-1398 .elementor-element.elementor-element-f65db47{width:100%;max-width:100%;}.elementor-1398 .elementor-element.elementor-element-f65db47.elementor-element{--align-self:center;}.elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1398 .elementor-element.elementor-element-f65db47 .elementor-icon-list-item > a{font-size:var( --e-global-typography-accent-font-size );}}/* Start custom CSS *//* Main Container */
.locations-filter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
}

/* Filter Form Styles */
.locations-filter-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    flex: 1;
    min-width: 250px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.filter-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    transition: border-color 0.3s;
}

.filter-select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Results Area */
.locations-results {
    min-height: 250px;
    text-align: center;
    font-size: 14px
}

.initial-message, .no-results {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #6c757d;
}

.no-results a.reset-filters {
    color: #007bff;
    text-decoration: none;
}

.no-results a.reset-filters:hover {
    text-decoration: underline;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pricing Cards */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.pricing-card {
  background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    height: 100%;
    display: grid
;
    align-items: start;
    align-content: stretch;
}

 

.card-badge {
        position: absolute;
    top: 0px;
    right: 6px;
    color: white;
    padding: 0px 5px;
    border-radius: 20px;
    z-index: 1;
    background: #F2A516;
    font-size: 13px;
    font-weight: 800;
    left: 0;
    line-height: 2;
    margin-top: 35px;
    text-align: center;
    text-transform: uppercase;
    transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
    width: 200%;
}

.card-image {
     
    overflow: hidden;
    text-align: center;
}

.card-image img {
    width: 100%;
    transition: transform 0.5s;
   max-width: 100px;
}

 

.card-content {
    padding: 20px;
}

.card-title {
        color: #2c3e50;
    font-size: 1.3rem !important;
    
    max-width: 160px;
    margin: auto;
    padding-top: 20px;
    padding-bottom: 10px;
    
}

.card-subtitle {
    margin: 0 0 10px 0;
    color: #7f8c8d;
    font-size: 1rem !important;
    font-weight: normal;
}

.card-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.term {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

.term i {
    margin-right: 5px;
    color: #3498db;
}

.card-description {
    margin-bottom: 15px;
    color: #34495e;
    line-height: 1.5;
}

.card-pricing {
    margin: 15px 0;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #27ae60;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.details-btn, .register-btn {
   padding: 10px !important;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
    max-width: 150px;
}
 
.details-btn {
    background: transparent !important;
    color: #F2A516 !important;
    border: none;
    cursor: pointer;
}

 
.details-btn:hover{
     background:#F2A516 !important;
    color: #fff !important;
    border-color:#F2A516 !important;
    cursor: pointer;
}
.register-btn {
    background: #2ecc71;
    color: white !important;
}

.register-btn:hover {
    background: #27ae60;
}

/* Details Section */
.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f8f9fa;
}

.card-details.active {
    max-height: 1000px; /* Adjust based on your content */
        max-height: 2000px;
    position: absolute;
    bottom: 14%;
    z-index: 99999;
}

.details-content {
    padding: 20px;
    border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-group {
        min-width: 100%;
    }
}

.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f8f9fa;
}

.card-details.active {
    max-height: 2000px; /* Adjust based on your content */
}

.details-content {
    padding: 20px;
    border-top: 1px solid #eee;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.card-details.active .details-content {
    opacity: 1;
}
.pricing-card.all-services.online-in-class-mto-certified-bde .card-badge {
    background: #E30613;
}

.in-car-lessons-g2-g .card-badge {
    background: #CF6B03;
}

 .road-test-g2-g .card-badge {
    background: #0B8E36;
    
}

.manual-driving h3,
.manual-driving .card-pricing,
.manual-driving .card-pricing span,
.automatic-driving h3,
.automatic-driving .card-pricing,
.automatic-driving .card-pricing span{
     color: #e30613 !important;
   
}
.manual-driving  .card-actions a,
.automatic-driving .card-actions a{ 
    background: #e30613 !important;
}
.motorway h3,
.motorway .card-pricing,
.motorway 
.card-pricing span{
    color: #cf6b03 !important;
}
 
.motorway  .card-actions a{
    background: #cf6b03 !important;
}
.pricing-card.all-services.road-test-g2-g h3,
.pricing-card.all-services.road-test-g2-g .card-pricing,
.pricing-card.all-services.road-test-g2-g .card-pricing span{
    color: #0b8e36 !important;
}
.pricing-card.all-services.road-test-g2-g .card-actions a{
      background:#0b8e36 !important;
}
.pricing-card.online-in-class-mto-certified-bde h3 ,
.pricing-card.online-in-class-mto-certified-bde .card-pricing, 
.pricing-card.online-in-class-mto-certified-bde .card-pricing span{
    color: #e30613 !important;
}
.pricing-card.online-in-class-mto-certified-bde .card-actions a{
      background:#e30613 !important;
}
.card-pricing {
    margin: 15px auto;
    display: flex
;
    justify-content: center;
    align-items: center;
    color: #121212;
    font-weight: 500;
    max-width: 150px;
    flex-wrap: wrap;
    align-content: center;
    gap:3px;
}/* End custom CSS */