/* ============================================================
   Fonts
   ============================================================ */
@font-face {
    font-family: Arial;
    src: url("/fonts/arial-cufonfonts/arial.ttf") format("truetype");
}
@font-face {
    font-family: ArialBD;
    src: url("/fonts/arial-cufonfonts/arial-bd.ttf") format("truetype");
}
@font-face {
    font-family: Impact;
    src: url("/fonts/Impact Regular.ttf") format("truetype");
    font-style: normal;
}

/* ============================================================
   Global / Theme cleanup
   ============================================================ */
.colorswatch,
.demo-rtl{
    display: none!important;
}

/* Logo */
.logo img{
    margin-top: 10px;
    width: 150%!important;
    max-width: 150%!important;
}

/* Desktop header background */
header .header-row {
    background: rgba(0, 0, 0, 0) url(https://smartdata.tonytemplates.com/car-repair-service-v4/car1/wp-content/uploads/sites/5/2020/03/grey-bg.png) repeat scroll 0 0;
}

header .header-right .address{
    font-family: Impact;
    font-size: 18px;
    letter-spacing: 2.4px;
    text-align: right;
}

body.color-red header.page-header .appointment,
body.color-red .modal-header .appointment {
    background-color: #ed1b24;
}

.appointment span{
    font-family: Arial, Helvetica, sans-serif;
}

/* Desktop header phone text style (desktop only) */
header.page-header-1 .header-phone .text{
    font-family: ArialBD ;
    font-size: 15px!important;
    text-transform: uppercase!important;
}

header .header-right-bottom{
    margin-right: 20px!important;
}

/* Slider typography */
#mainSlider .slide-content h3{
    font-family: 'Impact';
    color: white!important;
    letter-spacing: 1.5px;
    font-size: 55px!important;
}
#mainSlider .slide-content h3 span{
    color : #ec3542;
}
#mainSlider .slide-content p,
#mainSlider .slide-content h4{
    font-family: 'Arial' ;
    letter-spacing: 1.2px;
}
#mainSlider .slide-content p>span{
    color : #ec3542!important;
}

/* Promo / blocks typography */
.promo-01 .promo-01__title{
    font-family: 'Arial' ;
    letter-spacing: 1.2px;
}
.add-to span{
    font-family: 'ArialBD';
    letter-spacing: 1.2px;
}
.promo-01 .promo-01__description{
    font-family: 'ArialBD' ;
    font-size: 18px;
}
.promo-01 .promo-01__description span{
    color : #ec3542!important;
}

/* Services */
.services-block-alt .caption .title a:hover{
    color : #ec3542!important;
}
.services-block-alt .caption .title{
    font-family: 'ArialBD' ;
    font-size: 24px;
    clear: both;
    width: 100%;
}
.services-block-alt .caption .text{
    font-family: 'Arial' ;
    font-size: 16px;
}

/* Appointment */
.text-appointment h2{
    font-family: 'Impact';
}

/* Inner pages background */
body:not(.home) {
    background: url(https://smartdata.tonytemplates.com/car-repair-service-v4/car1/wp-content/uploads/sites/5/2020/03/header-photo-bg.jpg) no-repeat center 0;
}
.not-home{
    padding-top: 120px;
}

/* Page title */
#pageTitle h1{
    font-family: 'Impact';
    letter-spacing: 2.5px;
    font-size: 35px;
    color : #ec3542!important;
    font-weight: normal;
}

/* Service content lists */
.service-content ul {
    margin: 17px 0 5px;
    padding: 0;
    list-style: none;
    margin-left: 37px;
    margin-top: 2px;
}
.service-content ul>li {
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    position: relative;
    padding-left: 33px;
    margin-bottom: 8px;
}
.block-title .block-title__title{
    font-family: Impact;
    font-weight: normal;
}
.service-content ul>li:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    font-family: 'auto';
    content: "\e91d";
    font-size: 12px;
    color : #ec3542!important;
}

/* Misc */
.testimonial-item {
    min-height: 384px;
}
.info02 .info02__title{
    font-family: 'Impact';
    font-weight: normal;
    letter-spacing: 1.2px;
}
.services-title .services-title__title{
    font-family: 'Impact';
    font-weight: normal;
    letter-spacing: 1.2px;
}
.services-box .services-box__title,
.services-block-alt .caption .title a,
.single-service-title{
    font-family: 'Impact';
    font-weight: normal;
    letter-spacing: 1.2px;
}
.btn-invert:hover{
    color: white!important;
}
.page-footer .copyright,
.filters-by-category ul li a{
    font-family: 'Impact';
    letter-spacing: 1.2px;
}

/* Modal */
.appartment-dialog{
    margin-top: 5% !important;
}
.appartment-dialog .modal-body{
    padding: 10% !important;
}
#appointmentForm.modal .modal-title-main{
    font-family: 'Impact';
    text-align: center;
    font-weight: normal;
    margin-bottom: 20px;
}
.modal-appartment-p{
    text-align: center;
    font-family: 'Impact';
    font-size: 19px;
    font-weight: normal;
    margin-bottom: 30px!important;
}

/* Map */
#google-map{
    width: 100%;
    z-index: 99;
    margin-top: -503px;
    float: right;
    margin-left: 370px;
    min-height: 502px;
    position: relative;
}
.footer-section02 .footer-section02__box01{
    z-index: 100;
}
.page-footer .container{
    pointer-events: none;
}

/* ============================================================
   Responsive
   ============================================================ */

/* Tablet range (fixed media query) */
@media (min-width: 790px) and (max-width: 991px) {
    header .heade-mobile .logo>a img {
        max-width: 215px;
        margin-top: 0px;
    }
    #mainSlider .slide-content h3{
        font-size: 24px!important;
    }
    #google-map{
        display:block;
        margin-top: 0px;
        margin-left: 0px;
    }
}

/* Service menu */
.has-parents{
    display: block;
}
.parent-service-menu{
    display: none;
}
.has-parents:hover .parent-service-menu{
    display: contents;
}
.parent-service-menu a:before{
    display: none;
}
.has-many-int{
    font-size: 33px!important;
}
.parent-service-menu li:hover{
    background-color: #f7f7f7;
}

.tab-services .services-block-alt{
    min-height: 450px;
}

/* Small phones */
@media (max-width: 479px) {
    .fix_top_h3 {
        font-size: 33px !important;
        line-height: 40px!important;
    }
    .breadcrumbs span .breadcrumb_last{
        color: black;
    }
    .breadcrumbs .breadcrumb a{
        color: black;
    }
    .readMore_btn{
        width: 100%!important;
    }
    html body:not(.home) #pageContent,
    .slidertop-space{
        padding-top: 0px;
    }
    #pageTitle{
        padding-bottom: 20px;
    }
    .services-single-slider{
        display: none!important;
    }
    .service-single .img-responsive{
        max-width: 350px;
    }
}

/* ============================================================
   Mobile phone row (Yii2 HMWidget mobile header)
   Goal: show ONE fixed phone under the top bar on mobile
   ============================================================ */

/*
  IMPORTANT:
  - Mobile header is rendered by HMWidget (header-mobile-widget.php)
  - Desktop header blocks (.header-phone etc.) do not exist in mobile DOM
  - So we style only .mobile-phone-row inserted into mobile header view
*/

/* Default: hidden on desktop */
.mobile-phone-row{
    display:none;
}

/* Mobile styles */
@media (max-width: 767px){

    /* Strong, DOM-path-specific override (beats theme CSS / minified CSS) */
    header.page-header.page-header-1 nav#slide-nav.navbar .container .mobile-phone-row{
        display:block !important;
        width:100% !important;
        background:#111 !important;
        padding:10px 12px !important;
        text-align:center !important;
        border-top:1px solid rgba(255,255,255,.12) !important;

        /* Prevent "dim" effects from animations/overlays */
        opacity:1 !important;
        visibility:visible !important;
        filter:none !important;
        transform:none !important;

        position:relative !important;
        z-index:2147483647 !important;
    }

    header.page-header.page-header-1 nav#slide-nav.navbar .container .mobile-phone-row a.mobile-phone-link,
    header.page-header.page-header-1 nav#slide-nav.navbar .container .mobile-phone-row a.mobile-phone-link:visited,
    header.page-header.page-header-1 nav#slide-nav.navbar .container .mobile-phone-row a.mobile-phone-link:hover,
    header.page-header.page-header-1 nav#slide-nav.navbar .container .mobile-phone-row a.mobile-phone-link:active{
        color:#fff !important;
        opacity:1 !important;
        font-weight:900 !important;
        font-size:16px !important;
        line-height:20px !important;
        white-space:nowrap !important;
        text-decoration:none !important;

        /* If theme uses blending, force normal */
        mix-blend-mode: normal !important;
        text-shadow:none !important;
    }

    /* If theme dims parent containers, neutralize common culprits */
    header.page-header.page-header-1,
    header.page-header.page-header-1 #slide-nav,
    header.page-header.page-header-1 nav#slide-nav.navbar,
    header.page-header.page-header-1 nav#slide-nav.navbar .container{
        opacity:1 !important;
        filter:none !important;
    }

    /* Optional: if theme overlays are used in mobile header, disable them */
    header.page-header-1:before,
    header.page-header-1:after,
    #slide-nav:before,
    #slide-nav:after{
        display:none !important;
    }
}

/* ============================================================
   Debug marker (enable temporarily if you suspect caching)
   Uncomment for 1 test, then comment back.
   ============================================================ */
/*
body:before{
    content:"NEWCSS_OK";
    position:fixed;
    bottom:0;
    left:0;
    background:#000;
    color:#fff;
    z-index:2147483647;
    padding:4px 6px;
    font-size:12px;
}
*/
