/*
Theme Name: Allmotorcycles
Theme URI: https://wpastra.com/
Author: 1232Web
Author URI: https://1232web.com.au/
Description: Theme for Allmotorcycles
Template: astra
Version: 1.6.2
*/
@media (min-width: 922px){
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu{width:100%;}
}
@media (max-width: 921px){
  #ast-mobile-popup-wrapper .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .ast-menu-toggle{border: 0;outline: none;}
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {
    background-color: inherit;
  }
  
  .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-item > .menu-link,.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-parent > .menu-link , .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item .sub-menu .menu-link,
  .ast-builder-menu-mobile .main-navigation .main-header-menu .ast-submenu-expanded>.menu-link,
  .ast-builder-menu-mobile .main-navigation .main-header-menu .ast-submenu-expanded .sub-menu .menu-item .menu-link {
    color: #0a0a0a;
    font-weight: bold;
    background-color: #e4ecff;
  }
  #ast-mobile-popup-wrapper .ast-builder-menu-mobile .main-navigation .main-header-menu .ast-submenu-expanded>.menu-link{border: 0;}
  #ast-mobile-popup-wrapper .ast-builder-menu-mobile .main-navigation .menu-item.ast-submenu-expanded .ast-menu-toggle, #ast-mobile-popup-wrapper .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item .ast-menu-toggle{
    color: #0a0a0a!important;
  }
  
  #ast-mobile-popup-wrapper .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor > .ast-menu-toggle{background-color: transparent;}
  #ast-mobile-popup-wrapper .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-item.ast-submenu-expanded > .ast-menu-toggle,
  #ast-mobile-popup-wrapper .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item.current-menu-item.ast-submenu-expanded > .menu-link{
    color: #084af3!important;
  }
  #ast-mobile-popup-wrapper .ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close:focus{border: 0; outline: none;}
}


@media (max-width: 544px){
  .ast-builder-menu-mobile .main-navigation .main-header-menu{background-color: inherit;}
}

/* grid subcategories */
.ast-archive-description .cattop-info .desc-wrap img.cat-banner{margin-bottom: 20px;}
@media (min-width: 769px){
  .ast-archive-description .cattop-info{
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;  
  }
  /* .ast-archive-description .cattop-info>div {
    display: flex;
    width: 48%;
    margin: 0 1%;
  } */
  .ast-archive-description .cattop-info>div, .ast-archive-description .cattop-info>div p{font-size: 19px;}
  .ast-archive-description .cattop-info .desc-wrap img.cat-banner{
    width: 49%;
    text-align: left;
    float: left;
    margin-right: 3%;
  }
}

.ast-archive-description .sub-cats {
  display: inline-block;
  width: 100%;
}
.ast-archive-description .cattop-info>div{margin-bottom: 20px;}
.cat-title{margin: 30px 0;}
.sub-cats-grid {
  display: flex;
  flex-wrap: wrap;
}
.sub-cats-item {
  display: flex;
  width: 31.3%;
  margin: 0 1%;
  margin-bottom: 20px;
}
.sub-cats-wraper {
  width: 100%;
}
.sc-info .scat-title {
  font-size: 16px;
  margin-top: 10px;
}
#post-categories{width: 100%;}
#post-categories .site-main .ast-row {
  display: flex;
  flex-wrap: wrap;
}
#post-categories .ast-article-post {
  width: 32%!important;
  display: flex;
  margin: 0 0.6%;
  padding: 0;
  margin-bottom: 20px;
}
#post-categories .ast-article-post .entry-title{
  font-size: 18px;
}
#post-categories .ast-article-post>div{
  -webkit-box-shadow: 0px 6px 12px rgba(0,0,0,0.175);
  -moz-box-shadow: 0px 6px 12px rgba(0,0,0,0.175);
  box-shadow: 0px 6px 12px rgba(0,0,0,0.175);
}
#post-categories .ast-article-post .entry-header, #post-categories .ast-article-post .entry-content{padding: 10px 15px;}
@media (max-width: 768px){  
  .sub-cats-item, #post-categories .ast-article-post{width: 48%!important;margin: 15px 1%;} 
  body.archive #post-categories .ast-archive-description{padding-left: 0; padding-right: 0;}
  #post-categories .site-main .ast-row{margin-left: 0; margin-right: 0;}
}

@media (max-width: 480px){
  .sub-cats-grid, #post-categories .site-main .ast-row {
    display: block;
  }
    
  .sub-cats-item, #post-categories .ast-article-post{width: 100%!important;}
}
.type-post .post-content> :not(.post-thumb){
  padding: 0 20px;
}

/* START - Customer language switcher  */
.toogle_language-switcher{cursor: pointer;}
body.show-language-switcher {overflow: hidden;}
.toogle_language-switcher.closeicon{
    displaY:none;
    position: fixed;
    z-index: 90000;
    top: 50px;
    right: 100px;
}
body.show-language-switcher .toogle_language-switcher.closeicon {
    display: block;    
}
.toogle_language-switcher>.ast-lswitcher-item-header{
    float:left;
}
.ast-lswitcher-item-header.ast-builder-language-switcher-native-name{height: 20px;line-height: 20px;}
.ast-header-language-switcher-element  .ast-builder-language-switcher-element{
    display:none;
    width: 100%;
}
.ast-builder-language-switcher-element.open{
    display: block;
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: #f2f2f2;
    z-index: 1000;
    overflow: scroll;
}
body.admin-bar .ast-builder-language-switcher-element.open{top:33px;}
.ast-header-language-switcher-element ul.ast-builder-language-switcher-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 20px;
}
li.ast-builder-language-switcher-menu-item-header {
    width: 25%;
    flex: 0 0 auto;
    margin: 20px;
}
.ast-lswitcher-item-header.dashicons.dashicons-arrow-down-alt2{
  font-size: 16px;
    display: inline-block;
    margin-top: 3px;
}
.ast-builder-language-switcher-item[aria-label="Finnish"]{
      height: 14px;
    background-image: url('data:image/svg+xml,<svg width="20px" height="14px" viewBox="0 0 20 14" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="14" fill="%23fff"/><rect width="2" height="14" x="6" fill="%23003580"/><rect width="20" height="2" y="6" fill="%23003580"/></svg>');
    background-size: 20px 14px;
    background-repeat: no-repeat;
    padding-left: 26px;
}
.ast-builder-language-switcher-item[aria-label="Finland"]{
      height: 14px;
    background-image: url('data:image/svg+xml,<svg width="20px" height="14px" viewBox="0 0 20 14" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="14" fill="%23fff"/><rect width="2" height="14" x="6" fill="%23003580"/><rect width="20" height="2" y="6" fill="%23003580"/></svg>');
    background-size: 20px 14px;
    background-repeat: no-repeat;
    padding-left: 26px;
}
.ast-builder-language-switcher-item[aria-label="Tagalog"]{
      height: 14px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 5"><rect width="9" height="5" fill="%23CE1126"/><polygon points="0,0 3.6,2.5 0,5" fill="%23FFF200"/><rect width="9" height="2.5" y="0" fill="%23000"/><polygon points="0,0 3.6,2.5 0,5" fill="%23FFFFFF"/><circle cx="1.5" cy="2.5" r="0.75" fill="%23F2C500"/><polygon points="1.5,2.5 1.2,1.5 1.8,1.5" fill="%23F2C500"/><polygon points="1.5,2.5 1.2,3.5 1.8,3.5" fill="%23F2C500"/><polygon points="1.5,2.5 0.5,2.2 0.5,2.8" fill="%23F2C500"/><polygon points="1.5,2.5 2.5,2.2 2.5,2.8" fill="%23F2C500"/></svg>');
    background-size: 20px 14px;
    background-repeat: no-repeat;
    padding-left: 26px;
}
.ast-builder-language-switcher-item[aria-label="Flemish"]{
      height: 14px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 10"><rect width="16" height="10" fill="%23FFD700"/><path d="M5.5,3.5 c0,-1 1,-1.5 1,-1.5 s0.5,-1 1.5,-1 s1.5,1 1.5,1 s1,-0.5 1,-1.5 s1.5,-1 1.5,-1.5 c0,0 0.5,0 0.5,0.5 s-0.5,1 -0.5,1 s0.5,0.5 0.5,1 s-0.5,1 -0.5,1 s0.5,0.5 0.5,1 s-0.5,1 -0.5,1 s0.5,0.5 0.5,1 s-0.5,1 -0.5,1 s0.5,0.5 0.5,1 s-0.5,1 -0.5,1 s0.5,0.5 0.5,1 s-0.5,1 -0.5,1 s-0.5,-0.5 -0.5,-1 s-0.5,-1 -0.5,-1 s-0.5,0.5 -0.5,1 s-1,-0.5 -1,-1 s-1.5,-1.5 -1.5,-1.5 s-1,-1 -1.5,-1.5 s-0.5,0 -0.5,-0.5 Z" fill="%23000000"/></svg>');
    background-size: 20px 14px;
    background-repeat: no-repeat;
    padding-left: 26px;
}
.ast-builder-language-switcher-item[aria-label="Danish"]{
      height: 14px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 12"><rect width="16" height="12" fill="%23C60C30"/><rect x="5" width="2" height="12" fill="%23FFF"/><rect y="5" width="16" height="2" fill="%23FFF"/></svg>');
    background-size: 20px 14px;
    background-repeat: no-repeat;
    padding-left: 26px;
}
.ast-builder-language-switcher-item[aria-label="Tagalog"]>.ast-lswitcher-item-header:not(.ast-builder-language-switcher-native-name),
.ast-builder-language-switcher-item[aria-label="Flemish"]>.ast-lswitcher-item-header:not(.ast-builder-language-switcher-native-name),
.ast-builder-language-switcher-item[aria-label="Danish"]>.ast-lswitcher-item-header:not(.ast-builder-language-switcher-native-name){display: none;}
@media (max-width: 480px){
  .ast-theme-transparent-header #masthead {
    position: initial;
  }
  .ast-header-language-switcher-element ul.ast-builder-language-switcher-menu{
    padding: 40px 20px;
  }
  .toogle_language-switcher.closeicon{
    right: 20px;
  }

  .elementor-element[data-widget_type="uael-posts.news"] .uael-post__inner-wrap {
    flex-wrap: wrap;
  }
  .elementor-element[data-widget_type="uael-posts.news"] .uael-post__thumbnail{width: 100%;}
}
/* END - Customer language switcher  */

/* CompanyLookup */
.search-container { margin-bottom: 20px; }

.pagination-nav {
  margin-top: 1rem; 
  display: flex;
  width: 100%;
  justify-content: center;
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 9999px; 
  background-color: #1f2937; 
  padding: 0.5rem; 
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); 
}


.pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff; 
  outline: none; 
  border-radius: 9999px; 
  min-width: 2.25rem; 
  height: 2.25rem; 
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; 
  transition-duration: 150ms; 
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 
}

/* Hiệu ứng focus */
.pagination-item:focus-visible {
  box-shadow: 0 0 0 2px #3b82f6; 
}

.pagination-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #374151; 
}

.pagination-item:not(.active):hover {
  background-color: #374151; 
}
.pagination-item:not(.active):active {
  background-color: #4b5563; 
}


.pagination-item.active {
  background-color: #2563eb; 
  font-weight: 700; 
}

.pagination-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none; 
  color: inherit; 
  margin: 0 0.25rem;
}
.pagination-item svg {
  width: 1.25rem; 
  height: 1.25rem; 
  color: currentColor; 
}

.pagination-item .dots-text {
  font-size: 0.875rem;
}

.company-detail-section .ast-archive-description {
  padding: 4em 2em;
}
.note_company{
  color: #8d8d8d;
  font-style: italic;
}
#company-table th, #company-table td {
  text-align: left;
}
.mtb-40 {
  margin: 40px 0;
}
.box-content {
  background-color: #fafafa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  margin-bottom: 30px;
}
.claimbtn.button{margin: 20px 0;display: inline-block;}
.text-center{text-align: center;}
.box-note, .box-note p, .box-note *, .company-detail-section .ast-archive-description .box-note p{font-size: 0.8rem;text-align: center;}


.company-detail .page-title, .section-content h2.section-title{
  color:initial;
  font-size: 1.8rem;
  margin-bottom: 30px;
}
.data-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 10px 0;
  justify-content: space-between;
}

.com-item {
  flex: 0 0 calc(50% - 16px); /* Hai cột, trừ khoảng cách gap */
}
.com-item.col1{
  flex: 0 0 100%;
  margin-bottom: 5px;
}

.com-item strong {
  display: inline-block;
  width: 30%;
  color: #333;
}
.button-default {
  background-color: #d0d0d0;
  color: #000;
}
/* Mobile responsive: 1 cột */
@media (max-width: 767px) {
  .com-item {
      flex: 0 0 100%;
  }
  .com-item strong {width: 40%;}
}

/* Company Widget */
.all-companies-boxes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.single-company-box {
  font-family: Arial, sans-serif;
  color: #333;
  flex: 0 0 calc(33.333% - 13.333px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.single-company-box .section-header {
  background-image: linear-gradient(to right, #050707, #191c1b);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.single-company-box .section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--header-bg-url, url('images/bg_publicly.jpg')); /* This will be set using JavaScript */
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  z-index: 0;
}

.single-company-box .section-header .header-icon,
.single-company-box .section-header .header-title {
  position: relative;
  z-index: 1;
}

.single-company-box .section-header .header-icon {
  margin-right: 15px;
  border-radius: 50%;
  background-color: #fbf9f9ab;
  padding: 15px;
  flex-shrink: 0;
}

.single-company-box .section-header .header-icon img {
  width: 35px;
  height: auto;
}

.single-company-box .section-header .header-title h2 {
  margin: 0;
  font-size: 1.4em;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  text-align: center;
  color: #efefef;
}

.single-company-box .company-list-content {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 15px 5px;
}

.single-company-box .company-item {
  padding: 5px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95em;
  line-height: 1.4;
}

.single-company-box .company-item:last-child {
  border-bottom: none;
}

.single-company-box .company-item .company-name {
  color: #000;
  flex-grow: 1;
  padding-right: 10px;
}
.single-company-box .company-item .company-name a{color: #000;}
.single-company-box .company-item:hover .registration-date,.single-company-box .company-item .company-name a:hover, .single-company-box .company-item .company-name a:focus, .single-company-box .company-item .company-name a:active {
  color:#4169e1;
}

.single-company-box .company-item .registration-date {
  color: #666;
  font-size: 0.9em;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .all-companies-boxes-container {
      padding: 15px;
      gap: 15px;
  }

  .single-company-box {
      flex: 1 1 100%;
      min-width: unset;
  }

  .single-company-box .section-header {
      flex-direction: column;
      text-align: center;
      padding: 15px;
  }

  .single-company-box .section-header .header-icon {
      margin-right: 0;
      margin-bottom: 10px;
  }

  .single-company-box .section-header .header-title h2 {
      font-size: 1.5em;
  }

  .single-company-box .company-item {
      padding: 10px 12px;
      font-size: 0.9em;
  }
}
/* End Compay Widget */

/* Company details */
  .company-detail-section{margin-top: 40px;}
  .company-detail-section .ast-archive-description p{font-size: initial;}
  .company-detail-section .section-header {
    color: white;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-image: var(--header-bg-url, url('images/bg-blue-dark.jpg')); /* This will be set using JavaScript */
    background-size: cover;
    background-position: center;
  }
  .company-detail-section .section-header .header-title h1 {
    color: #fff;
    font-size: 2.2rem;
    line-height: 2em;
  }

  /* Company icon status-class-subclass-type details */  
  .company-features-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      padding: 20px;
      box-sizing: border-box;
  }

  .feature-item {
      background-color: #fff;
      border-radius: 8px;
      padding: 20px;
      text-align: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
      align-items: center;
      box-sizing: border-box;
  }

  .feature-icon {
    margin-bottom: 15px;
    width: auto;
    height: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .feature-icon img {
      max-width: 100%;
      max-height: 100%;
      height: auto;
  }

  .feature-item p {
      color: #555;
      font-size: 1em;
      line-height: 1.5;
      margin: 0;
  }

  .com-item .company-features-container{
    padding:0;
    gap: 10px;
    margin: 30px 0 20px;
  }
  .com-item  .company-features-container .feature-item{
    flex: 0 0 calc(25% - 10px);
    padding: 10px 5px;
    box-shadow: none;
  }
  @media (max-width: 768px) {
    .com-item .company-features-container{gap:5px;}
    .feature-item {
      height: 32%;
    }
  }
  @media (max-width: 480px) {
    .com-item .company-features-container .feature-item {
        flex: 0 0 calc(20% - 5px);
        padding: 10px 1px;
        height: initial;
    }
  }

  /* Company icon status-class-subclass-type details */
  .com-col2 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
  }

  .com-col2 > div:first-child {
      flex: 0 0 20%;
      max-width: 20%;
      padding-right: 10px;
      box-sizing: border-box;
      text-align: right;
  }

  .com-col2 > div:last-child {
      flex: 1;
      box-sizing: border-box;
  }

  @media (max-width: 768px) {
      .com-col2 {
          flex-direction: column;
          align-items: flex-start;
      }

      .com-col2 > div:first-child,
      .com-col2 > div:last-child {
          flex: none;
          width: 100%;
          max-width: 100%;
          padding-right: 0;
          text-align: left;
      }

      .com-col2 > div:first-child {
          margin-bottom: 5px;
      }
  }

  .info-blocks-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    box-sizing: border-box;
    border-radius: 8px;
    margin-bottom: 20px;
  }

  .info-block-item {
      display: flex;
      align-items: center;
      background-color: #ffffff;
      border-radius: 8px;
      padding: 15px 20px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      flex: 1;
      min-width: 280px;
      max-width: calc(33.333% - 20px);
      box-sizing: border-box;
  }

  .info-block-icon {
      flex-shrink: 0;
      margin-right: 15px;
      width: 50px;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .info-block-icon img {
      max-width: 100%;
      max-height: 100%;
      height: auto;
  }

  .info-block-content {
      flex-grow: 1;
  }

  .info-block-content strong {
      display: block;
      font-size: 1.1em;
      color: #333;
  }

  .info-block-content p {
      font-size: 0.95em;
      color: #555;
      margin: 0;
  }

  @media (max-width: 767px) {
    .info-blocks-container {
        padding: 15px;
        gap: 20px;
    }
    .info-block-item {
        flex-direction: row;
        justify-content: flex-start;
        max-width: 100%;
        width: 100%;
        padding: 12px 15px;
    }
    .info-block-icon {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
    .info-block-content strong {
        font-size: 1em;
    }
    .info-block-content p {
        font-size: 0.9em;
    }
  } 
/* END Company details */
.section-divider {
    display: block;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 3px;
    margin: 30px 0;
}
.elementor-shortcode #com-searchfrm{text-align: center;}
#com-searchfrm input, #com-searchfrm select {
    padding: 10px 30px;
    border-radius: 50px;
}
/* END - CompanyLookup */