/*
 Theme Name: Astra Child
 Template: astra
*/

:root {
  --bs-secondary-rgb: 209, 20, 62;
  --content-width: min(100%, var(--container-max-width, 1320px)) !important;
}


body {
  background: #fff;
}


.img-height {
  height: 100%;
  img {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: right;
  }
}

@media screen and (max-width: 650px) {
 .sm-hide img {
    display: none !important;
  }
}


.bg-transp1 {
  background-color:#ffffff80;
}

/* TOP HEADER  */
/* ------------------------------------------------------------------------------  */
#ast-desktop-header {
  .ast-above-header-wrap  {

    .ast-above-header-bar .site-above-header-wrap {
      min-height: 40px !important;
      max-width: 100% !important;    
      padding: 0;
    }
    
    .ast-builder-grid-row {
        grid-template-columns: 1fr 525px !important;
        gap: 0;
        .ast-grid-right-section {
          background-color: rgb(209, 20, 62);
          height: 40px;
          padding-right: 10px;          
        }
        .icon {
          display: flex;
          align-items: flex-start;
          padding-right: 6px;
          i {
            color: #76bfff;
            font-size: 1rem;
            padding-right: 5px;
        }
    }
  }

    .ast-above-header-bar.ast-above-header.site-header-focus-item {      
      background-color: var(--e-global-color-astglobalcolor6);  
      color: #fff;  
    }
    .contact_top {
      display: flex;
      align-items: center;
      p {
        margin: 0;
      }
    }
  }
}

/* FOOTER  */
/* ------------------------------------------------------------------------------  */
.site-footer {
  margin-top: 60px;
  font-size: 0.9em;
  font-weight: 200;
  font-family: 'Roboto';
  color: #eee;  
  .name {
    margin-bottom: 10px;
    font-size: 1.2rem;
  }
  i.bi {
    color: #78b6ff;
    margin-right: 10px;
  }

  #abel {
    height: 30px;
  } 

  .site-below-footer-wrap[data-section="section-below-footer-builder"] {
      border-top: 0;
      .ast-builder-grid-row {
        border-top: 1px solid #eeeeee2b
      }
  }
  .site-primary-footer-wrap {  
    padding-bottom: 5px;
  }
}

/* MAIN MENU  */
/* ------------------------------------------------------------------------------  */
body.home {
  .ast-builder-menu-1 .menu-item > .menu-link {
    color: #fff !important;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
  }
  .sub-menu .menu-item > .menu-link {
    color: #222 !important;
  }
  
}

.main-header-menu .sub-menu {
  opacity: 0;
  transition: opacity 0.3s ease-in-out; 
  background-color: #ffffffb3; 
}

.main-header-menu .menu-item.focus>.sub-menu,
.main-header-menu .menu-item:hover>.sub-menu,
.main-header-menu .menu-item>.sub-menu.toggled-on {
  opacity: 1;
}

.main-header-menu .menu-link {
  font-weight: 600;
}

.main-header-menu .sub-menu .menu-link {
  padding: .3em 1em !important;
  text-transform: none !important;
}

.main-header-menu .sub-menu .menu-link:hover {
  background-color: #f5f5f5 !important;
  color: #000 !important;
}


/* Tytuł strony  */
.main-header-bar {
  background-color: #fff;
  
  border-bottom-color: unset;
  border-bottom-style: none;
}

.main-header-bar.ast-header-breadcrumb {
  background-image: url('images/breadcrumb.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  padding: 80px 0;    
  h1 {
    color: #fff;
  }
  .trail-items li::after {
    color:rgb(209, 20, 62)
  }
  .trail-items .trail-end span {
    color: #bbb;
  }
}  


/* Strona główna */
#main-services1 {  
  .e-con-inner {
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1);
    > div:first-child, > div:nth-child(2) {
      min-width: 375px;
    }
    > div:nth-child(3) {
      min-width: 757px;
    }
  }
}


/* best-in-english1 */
#best-in-english1 {
  h1 {
    font-weight: 200;
    span {
      display: block;
      font-weight: 700;
    }
  }
  ul { list-style-type: none;}
  li { border: 0;}
  ul>li:before {
    font-family: 'Bootstrap-Icons';
    content: '\F26E';
    font-size: 20px;
    font-weight: 100;
    color: #17be74;
    margin-right: 15px;   
  }
}

#front-wymiana {
  .elementor-widget-icon-box {
    padding: 20px 0;
    transition: all 0.3s ease-in-out;
  }
  .elementor-widget-icon-box:hover {
    background-color:#364357;
  }
}


/* LOGA PARTNERZY  */
#partnerzy {
  .swiper-slide-image {
    height: 100px !important;
    object-fit: contain;
  }
}


.border-bottom {
  border-bottom: 1px solid #ddd;
}


/* Załącznik - plik link  */
.wp-block-file:not(.wp-element-button) {
  font-size: 1em !important;
  margin-bottom: 5px;
}