/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

#masthead .flex-col.hide-for-medium.flex-right {
    width: 100%;
}
#masthead .header-inner {
    padding: 0 5%;
}
.nav>li>a {
    font-size: 14px;
}
.header-search-form-wrapper form.searchform input#woocommerce-product-search-field-0 {
    border-radius: 6px;
    border-color: #DEDEDE;
    height: 44px;
    width: 90% !important;
    padding-left: 38px;
}
.header-search-form-wrapper .form-flat .button.icon {
    position: absolute;
    left: 6px;
    top: 7px;
}
ul.header-nav.header-nav-main .menu-item {
    padding-right: 10px;
}
ul.header-nav.header-nav-main .menu-item .sub-menu {
    padding: 5px;
    border: 2px solid #ddd;
}
ul.header-nav.header-nav-main .menu-item .sub-menu .menu-item a {
    font-size: 13px;
}
.searchform .button.icon i{
    color: #828282;
}
.nav>li.has-icon>a>i.icon-user {
    color: #000;
    display: none;
}
li.account-item.has-icon {
    background-image: url("user-icon.png");
    background-position: center;
    background-size: cover;
    width: 32px;
}
li.account-item.has-icon a{
    width: 100%;
    height: 24px;
}
.footer-widgets.footer.footer-2 .row,.absolute-footer .container.clearfix{
    max-width: 100%;
    padding: 0 5%;
}
div#block_widget-3 {
    max-width: 36%;
    flex-basis: 36%;
    padding-left: 0;
}
div#block_widget-4 {
    max-width: 22%;
    flex-basis: 22%;
    padding-right: 0;
    display: none;
}
div#nav_menu-2,div#nav_menu-3,div#nav_menu-4{
    max-width: 14%;
    flex-basis: 14%;
}
.footer-about-us,.footer-2 .widget_nav_menu ul li a{
    font-size: 14px;
    color:#3F3F3F;
}
.footer-widgets .widget-title {
    font-size: 16px;
    color: #EA1F29;
    font-weight: 600;
}
.footer-2 .is-divider {
    display: none;
}
.footer-2 .widget_nav_menu ul.menu>li+li {
    border: none;
}
.footer-2 .widget_nav_menu ul {
    margin-top: 15px;
}
.footer-about-us .desc-box,.footer-about-us .info-list {
    padding-right: 25%;
}
.footer-about-us .logo-img img{
    max-width: 177px;
}
.footer_newsletter{
    margin-top: 25px;
}
.footer_newsletter input[type="email"] {
    font-size: 14px;
    box-shadow: none; 
    border-radius: 6px;
    height: 48px;
}
.footer_newsletter input[type=submit] {
    border-radius: 6px;
    width: 100%;
    font-size: 12px;
    height: 48px;
    background: #3E3E3E;
    text-transform: capitalize;
}
.footer_payment img {
    max-width: 182px;
}
#block_widget-4 form.wpcf7-form {
    margin-bottom: 5px;
}
.absolute-footer{
    font-size: 16px;
    height:50px;
}
.absolute-footer .payment-icons {
    display: none;
}
.footer-secondary .social-icons a {
    margin-bottom: 0;
    padding-bottom: 0;
    border: navajowhite;
}
.absolute-footer .footer-primary {
    margin-top: 6px;
}
.footer-secondary .social-icons .button.icon i {
    font-size: 24px;
}
.footer-secondary .social-icons .button.icon:hover {
    background: none !important;
}
.row {
    max-width: 100%;
}
.home .page-wrapper {
    padding-top: 0px;
}
.home-banner-quote-btn {
    width: 217px;
    vertical-align: middle;
    padding: 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #EA1F29 !important;
    border-color: #fff;
    margin-top: -280px;
}
.section_title {
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    line-height: 1.3;
}
.t-red{
    color: #DE2A1B;
}
.col{
    padding: 0 0px 30px;
}
.section_sub_title{
    font-size: 14px;
    color: #A5A5A5;
}
.section_sub_title::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-left: 12px;
    width: 20px;
    height: 1px;
    background: #e64c4c;
    border-radius: 0px;
    position: relative;
    top: -1px;
}
.why_choose_home_section {
    padding-left: 5% !important;
    padding-right: 5% !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}
.why_choose_home_section .icon-box-img img {
    height: 60px;
    width: auto;
}
.why_choose_home_section .icon-box-text h3{
    color: #121926;
    min-height: 55px;
}
.why_choose_home_section .icon-box-text p{
    font-size: 14px;
}
.why_choose_home_section .icon-box-img {
    margin-bottom: 40px;
}
.home_main_banner_column {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0px;
}
.home_usp_section .col-inner .text h2{
    font-size: 40px !important;
    color: #252525 !important;
}
.home_usp_section .col-inner .text p{
    font-size: 16px !important;
    color: #5E5E5E !important;
}
.home_about_us_section,.pcb_splutions_section {
    padding-left: 5% !important;
    padding-right: 5% !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}
.home_about_us_main_title{
    margin-bottom: 20px;
}
.about_section_bottom_row .col-inner h2{
    font-size: 48px;
    color: #362C2D;
}
.about_section_bottom_row .col-inner h4{
    font-size: 18px;
    color: #202939;
    font-weight: normal;
}
.about_section_bottom_row .col-inner p {
    font-size: 16px;
    color: #828282;
}
.rotate-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-weight: 600;
}
.banner-large .box-text {
  background: rgba(0,0,0,0.4);
  padding: 20px;
  border-radius: 12px;
}
.home_pcb_images_section .col.large-5{
    flex-basis: 42%;
    max-width: 42%;
}
.home_pcb_images_section .col.large-1 {
    flex-basis: 11.11%;
    max-width: 11.11%;
    padding-left: 13.8px !important;
}
.home_pcb_banner_small .overlay {
    border-radius: 12px;
}
.home_pcb_banner_large .text-box-content h3,.home_pcb_banner_small .text-box-content h3{
    font-size: 28px;
    font-weight: 600;
}
.home_pcb_banner_large .text-box-content p{
    font-size: 14px;
}
.pcb_main_title {
    margin-bottom: 40px;
}
.page_title_section .col.large-12{
    padding: 30px 0px;
}
.page_title_section .col.large-12 {
    padding: 5% 0px;
}
.page-wrapper {
    padding-top: 0px;
}
.page_sections {
    padding-left: 5% !important;
    padding-right: 5% !important;
}
.br_radius_5 img{
    border-radius: 5px;
}
.about_vision_mission_row .icon-box .icon-box-text {
    min-height: 170px;
}
.about_us_what_we_do_row_top .section_title {
    margin-bottom: 30px;
}
.about_us_what_we_do_row_bottom .col-inner h4 {
    font-weight: 600;
    font-size: 14px;
    color: #121926;
    border-bottom: 2px solid #EA1F29;
    margin-bottom: 20px;
    line-height: 1.1;
    min-height: 40px;
}
.about_us_what_we_do_row_bottom .col-inner ul li {
    font-size: 14px;
    line-height: 1.2;
    color: #828282;
}
.about_capabilities_cards .img-inner{
    text-align: center;
}
.about_capabilities_cards .img-inner img {
    max-height: 160px;
    width: auto;
    margin: 0 auto;
}
.about_certification_slider .flickity-prev-next-button {
    bottom: AUTO;
    color: #797979;
    opacity: 1;
    top: -75px;
}
.about_certification_slider .flickity-prev-next-button.previous {
    right: 45px;
    left: auto;
}
.about_certification_slider .flickity-prev-next-button.next {
    right: 0%;
}
.about_certification_slider .slider-nav-circle .flickity-prev-next-button svg{
    border-color: #797979;
    color: #797979;
}
.about_certification_slider .slider-nav-circle .flickity-prev-next-button:hover svg {
    background: #797979;
    border-color: #797979;
}
.contact_us_title .col.large-12 {
    padding: 5% 0px 10% 0;
}

/* ===== Contact Form Styling ===== */
.contact_us_page_form {
  max-width: 900px;
  margin: 0 auto;
}

.contact_us_page_form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 5px;
}

.contact_us_page_form .form-col {
  flex: 1;
  min-width: 250px;
}
.contact_us_page_contact_details_row form {
    margin-bottom: 0;
}
.contact_us_page_form span.wpcf7-spinner {
    display: none;
}
.contact_us_page_contact_details_row {
    margin-top: -10%;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0px 5px 21px -8px rgba(0, 0, 0, 0.72);
}
/* Make textarea & button full width */
.contact_us_page_form .form-full {
  width: 100%;
  margin-bottom: 20px;
}

/* Input + Textarea Fields */
.contact_us_page_form input[type="text"], .contact_us_page_form input[type="email"], .contact_us_page_form input[type="url"], .contact_us_page_form input[type="tel"], .contact_us_page_form textarea ,.contact_us_page_form select{
    width: 100%;
    padding: 14px;
    border: 1px solid #F3F3F3;
    border-radius: 8px;
    background: #F3F3F3;
    font-size: 15px;
    line-height: 1.4;
    transition: all 0.3s ease;
    height: 51px;
    box-shadow: none;
    color: #58595CCC;
}
.contact_us_page_form .wpcf7-acceptance input[type="checkbox"] {
    margin-bottom: 0;
}

.contact_us_page_form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    font-weight: normal;
    line-height: 1 !important;
}

.contact_us_page_form input:focus,
.contact_us_page_form textarea:focus {
  border-color: #d00; /* Red border on focus */
  background: #fff;
  outline: none;
}

/* Textarea height */
.contact_us_page_form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Acceptance Checkbox */
.contact_us_page_form .checkbox {
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
}

.contact_us_page_form .checkbox input {
  margin-top: 4px;
  margin-right: 10px;
}

/* Submit Button */
.contact_us_page_form input[type="submit"] {
    width: 100%;
    background: #EA1F29;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    height: 45px;
    font-size: 14px;
    text-transform: capitalize;
}
.contact_us_page_form input[type="submit"]:hover {
  background: #c20810;
}
.info-list.contact_us_page .info-item-title img {
    height: 30px;
    width: 30px;
    background: #FEEFEF;
    border-radius: 50%;
    padding: 4px;
} 
.blog_page_blogs_lists .col.post-item {
    padding: 0 10px;
    margin-bottom: 20px;
}
.blog_page_blogs_lists .col.post-item .col-inner .box {
    background: #F3F3F3;
}
.blog_page_blogs_lists .col.post-item .col-inner .box {
    background: #F3F3F3;
    border-radius: 6px;
    border: 1px solid #F3F3F3;
}
.blog_page_blogs_lists .col.post-item .col-inner .box .box-image{
    border-radius: 6px;
}
.blog_page_blogs_lists .col.post-item .col-inner .box .box-text {
    padding: 15px;
}
.blog_page_blogs_lists .col.post-item .col-inner .box .box-text .is-divider{
    display: none;
}
.blog_page_blogs_lists .col.post-item .col-inner .box .box-text .post-title {
    font-size: 20px;
    font-weight: 600;
    color: #121926;
    min-height: 60px;
}
.blog_page_blogs_lists .col.post-item .col-inner .box .box-text .from_the_blog_excerpt {
    color: #828282;
    font-size: 16px;
    line-height: 1.2;
    margin-top: 25px;
} 
.blog_page_blogs_lists .col.post-item .col-inner .box .box-text .post-meta{
    color: #828282;
    font-size: 16px;
}
.blog_page_blogs_lists .col.post-item .col-inner .box .box-text .button:hover{
    color: #DE2A1B;
    text-decoration: underline;
}
.blog-wrapper.blog-single.page-wrapper .article-inner {
    margin-top: 50px;
}
.blog-wrapper.blog-single.page-wrapper .article-inner h1.entry-title {
    font-size: 32px;
    color: #121926;
    font-weight: 600;
}
.blog-wrapper.blog-single.page-wrapper .article-inner .entry-header-text .entry-divider {
    display: none;
}
.open_positions_row_content .col-inner .section_title{
        margin-bottom: 20px;
}
.career_job_posts_tab ul li {
    margin-right: 15px;
}
.career_job_posts_tab .tab a span{
    font-size: 16px;
    color: #828282;
}
.career_job_posts_tab .tab.active a span {
    color: #EA1F29;
    font-weight: 600;
}
.career_job_posts_tab .nav-line-bottom>li.active>a:before,
.career_job_posts_tab .nav-line-bottom>li:hover>a:before{
    background-color:#EA1F29;
} 
.career_job_posts_tab .tab-panels {
    padding-top: 30px;
}
.job-card {
  background: rgb(227 227 227 / 60%);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 20px;
  position: relative;
  min-height: 250px;
  color: #3F3F3F;
}

.job-card .job-title {
  margin: 0 0 5px;
  font-size: 20px;
  font-weight: 600;
  color: #121926;
}

.job-card .job-location {
  margin: 0 0 15px;
  font-size: 14px;
  color: #777;
}

.job-card .apply-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #e60012;
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
}

.job-card .apply-btn:hover {
  background: #b3000e;
}
.job-card hr {
  margin: 15px 0;
  border-color: #eee;
}
.job-card .more-text {
  display: none;
}
.job-card .toggle-more {
  color: #828282;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.footer-about-us .info-item {
    padding-top: 15px;
}
.home_pcb_banner_small .banner-layers.container .text-box {
    bottom: 20%;
    text-wrap: nowrap;
}

@media (max-width: 1330px) {
    .home_pcb_banner_small .text-box-content h3{
        font-size: 20px;
    }
}

/*************** ADD MOBILE ONLY CSS HERE  ***************/

@media (max-width: 849px) {
    .blog-wrapper.blog-single.page-wrapper .article-inner{
        margin-left: 5%;
        margin-right: 5%;
    }
    div#block_widget-3,div#nav_menu-2, div#nav_menu-3, div#nav_menu-4,div#block_widget-4{
        flex-basis: 100%;
        max-width: 100%;
    }
    .nav>li>a>i.icon-menu{
        color:#000;
    }
    .home_usp_section .col-inner .is-dashed {
        border: none;
    }
    .home-banner-quote-btn{
        margin-top: -120px;
        font-size: 12px;
        padding: 5px 0;
    }
    .why_choose_home_section .row.row-small.row-full-width{
        margin-left: 0px;
    }
    .home_pcb_images_section .col.large-5 {
        flex-basis: 100%;
        max-width: 100%;
    }
    .home_pcb_images_section .col.large-1 {
        flex-basis: 52%;
        max-width: 45%;
        padding-left: 0px !important;
        margin-top: 10px;
        padding-right: 0px !important;
        margin-left: 10px;
    }
    .header-search-form-wrapper .form-flat .button.icon{
        position: static;
    }
    li.account-item.has-icon{
        width: 100%;
        background: none;
    }
    li.account-item.has-icon a{
        height: auto;
    }
    .row .row:not(.row-collapse){
        margin-left: 0;
        margin-right: 0px;
    }
    .about_us_what_we_do_row_bottom .col-inner {
        padding: 0px 5px;
    }
    .about_us_what_we_do_row_bottom .col-inner h4{
        font-size: 13px;
    }
    .job-card .apply-btn{
            top: 85px;
    }
    .home_pcb_banner_small .text-box-content h3{
        font-size: 28px;
    }
    .home_main_banner img {
        margin-top: 0;
    }
}


@media (max-width: 600px) { 
    .contact_us_page_form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    .home_about_us_section, .pcb_splutions_section,.why_choose_home_section {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
    .home_usp_section{
        margin-top:-15px ;
    }
    .page_title_section h1 {
        font-size: 28px !important;
    }
    .about_us_what_we_do_row_top .section_title,.section_title{
        font-size: 26px;
    }
    .copyright-footer {
        font-size: 14px;
    }
}