/* Search and team buttons from header */

body.et_fixed_nav.et_secondary_nav_enabled #main-header {
  top: 40px;
}

@media (min-width: 981px) {
  .et-search-form input {
    left: 30px;
    padding: 0 30px;
  }
  
  .et-search-form input:focus, .et-search-form input:focus-visible {
    outline: 3px solid #1282a2;
    outline-offset: -15px;
  }

  span.et_close_search_field,
  button.et_close_search_field{
    right: 30px;
  }
  
  span.et_close_search_field::after,
  button.et_close_search_field {
    color: #999;
    transition: 0.3s all;
  }
  
  span.et_close_search_field:hover::after,
  button.et_close_search_field:hover::after {
    color: #1282a2;
  }
  
  .chai-menu-right .menu-item.join-chai a {
    transition: 0.3s all;
  }
  
  .chai-menu-right .menu-item.join-chai a:hover {
    color: #fff;
    background-color: #1282a2;
  }
}

@media (max-width: 980px) {
  .et-search-form input {
    font-size: 14px;
    width: 98%;
    margin-top: 1.5rem !important;
    height: 45px;
  }

  li.menu-item.back-menu {
    text-align: left;
    padding-left: 30px;
  }

  .mobile_menu_bar::before {
    color: #003e78;
    cursor: pointer;
    font-size: 40px !important;
    left: 0 !important;
    top: 0 !important;
    position: relative;
  }
  .opened .mobile_menu_bar::before {
    content: "\4d";
  }
  .closed .mobile_menu_bar::before {
    content: "\61";
  }
}

/* Back to top button */
.et_pb_scroll_top.et-pb-icon {
  background: #117996;
  border-radius: 50%;
  bottom: 25px;
  font-size: 40px;
  height: 60px;
  line-height: 47px;
  padding: 5px 8px 5px 4px;
  right: 15px;
  width: 60px;
}

.et_pb_scroll_top.et-pb-icon:focus-visible {
  outline: 5px solid #117996;
}
.et_pb_scroll_top.et-pb-icon:hover {
  background: #0d647d;
}

.et_pb_scroll_top.et-pb-icon:focus, .et_pb_scroll_top.et-pb-icon:focus-visible {
  outline: 3px solid #1282a2;
  outline-offset: 3px;
}

























#menu-item-3085:not(.current) > a::after {
  background-color: transparent !important;
}

.mapsvg-buttons.right {
  transform: none;
  -webkit-transform:  none;
}

.slick-initialized .post-box .post-content {
  height: auto;
}
.recent_posts .post-box .post-content .post-link > span,
.slick-initialized .post-box .post-content .post-link > span {
  display: inline-flex;
  width: fit-content;
  justify-content: flex-start;
  align-items: center;
  margin-top: auto !important;
}
.recent_posts .post-box .post-content .post-link > span::after,
.slick-initialized .post-box .post-content .post-link > span::after {
  margin: 0;
  display: flex;
  align-items: center;
  top: 4px;
  bottom: 0;
  right: -25px;
}



@media (max-width: 769px) {

  .single-post #main-content .container .featured-image {
    min-height: initial;
  }

}





.home-slide-content .subtitle {
  margin-top: 20px;
  color: #fff;
  font-size: 20px;
}













/* SVG map on home page height fixes */
.svg-maps__section .map-efe-container {
  display: flex;
  flex-direction: row;
}
#map-left ul {
  width: 100%;
}
.svg-maps__section #map-left,
.svg-maps__section #map-right {
  float: none;
  clear: both;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
.svg-maps__section #map-left {
  width: 30%;
  position: relative;
}
.svg-maps__section #map-right {
  width: 70%;
}
.svg-maps__section #map-right .mapsvg-wrap-all,
.svg-maps__section #map-right .mapsvg-wrap-all .mapsvg-wrap {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.svg-maps__section #map-right .mapsvg-wrap-all .mapsvg-wrap .mapsvg-map-container > .mapsvg {
  display: flex;
  flex-direction: column;
  height: 100% !important;
}

@media (max-width: 1400px) {
  .svg-maps__section > .home-row {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1279px) {
  .svg-maps__section #map-left {
    width: 40% !important;
  }
  .svg-maps__section #map-right {
    width: 60% !important;
    display: flex !important;
  }
}

@media (max-width: 830px) {
  .svg-maps__section #map-left {
    width: 100% !important;
  }
  .svg-maps__section #map-right {
    display: none !important;
  }
}
/* @end SVG map on home page height fixes */













/* Post images grey background color */
.wp-caption,
.post-main-content .wp-caption {
  background-color: #fff;
  border-color: transparent;
  padding: 0;
  margin-bottom: 0;
}

.wp-caption .wp-caption-text,
.post-main-content .wp-caption .wp-caption-text {
  font-size: 14px !important;
  text-align: left !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  color: #516c86 !important;
}
.wp-caption .wp-caption-text a {
  font-size: 14px !important;
}
/* @End Post images grey background color */





/* TASK #6 taiga.userproduct.design/project/swarm-chai/us/6?kanban-status=31 */

#section-careers .career-4-col .et_pb_column {
  margin-bottom: 70px;
}
#section-careers .career-4-col .et_pb_column .career-box,
#section-careers .career-4-col .et_pb_column .et_pb_module,
#section-careers .career-4-col .et_pb_column .career-content,
#section-careers .career-4-col .et_pb_column .et_pb_code_inner {
  height: 100%;
}
#section-careers .career-4-col .et_pb_column .career-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#section-careers .career-4-col .et_pb_column .career-content > a {
  margin-top: auto;
}
@media (max-width: 980px) {
  .career-content p {
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  body.page-id-208 .slick-track {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  body.page-id-208 .slick-track .slick-slide {
    height: auto !important;
  }
  body.page-id-208 .post-item .post-content {
    height: 300px !important;
  }
  body.page-id-208 .post-item .subtitle {
    font-size: 14px;
  }

}


body.page-id-4701 .recent_posts .subtitle,
body.page-id-4701 .recent_posts_mobile .subtitle {
  display: none;
}

.search-result-posts {
  padding-bottom: 8%;
}
.search-result-posts .result-pagination {
  padding-top: 0;
}