/*
Theme Name: Keko Frankfurt - Salient Child Theme
Theme URI: http://mysite.com/
Description: This is a custom child theme for Salient
Author: Chris Griggs
Author URI: http://keko.de
Template: salient
Version: 0.1
*/

/* ===============================================
   FONTS
   =============================================== */

@font-face {
    font-family: 'Outfit-Light';
    src: url('/wp-content/themes/de_salient-child/css/fonts/Outfit-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit-Thin';
    src: url('/wp-content/themes/de_salient-child/css/fonts/Outfit-Thin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit-Black';
    src: url('/wp-content/themes/de_salient-child/css/fonts/Outfit-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===============================================
   GLOBAL TYPOGRAPHY & COLORS
   =============================================== */

h1, h2, h3, h4, h5, h6, p, span, a, ul, li, .bold, strong, b {
    font-family: 'Outfit-Thin' !important;
}

body em, body i, body strong, body b, body ul, body li, body span {
    font-size: inherit;
}

body #ajax-content-wrap a {
    color: #999999 !important;
}

a {
  color: #f7ff2e !important;
}

body a { color: #f7ff2e !important; }

a.sbi_load_btn {
    color: #fff !important;
}

.team-desc {
    font-family: 'Outfit-Thin' !important;
    color: #000000;
}

/* ===============================================
   LAYOUT & CONTAINERS
   =============================================== */

body div.container.main-content {
  max-width: 1500px !important;
  width: 100%;
  padding: 0;
}

body #header-outer .container,
body #footer-outer[data-full-width="1"] .container {
  padding: 0 25px;
}

body div.container {
  max-width: 1500px !important;
  width: 100%;
  padding: 0;
}

/* Main container height and padding */
#ajax-content-wrap .container-wrap {
    padding-top: 0 !important;
    padding-bottom: 40px !important;
}

/* Minimum container heights */
@media only screen and (max-width: 689px) {
    #ajax-content-wrap .container-wrap {
        min-height: calc(100vh - 45px - 174px);
    }
}

@media only screen and (min-width: 690px) {
    #ajax-content-wrap .container-wrap {
        min-height: calc(100vh - 45px - 66px);
    }
}

@media only screen and (min-width: 1001px) {
    #ajax-content-wrap .container-wrap {
        min-height: calc(100vh - 124px - 66px);
    }
}

@media only screen and (max-width: 1000px) {
    #ajax-content-wrap .container-wrap {
        padding-top: 40px !important;
    }
}

/* Content row padding and fullbleed elements */
.container-wrap > .main-content > .row {
    padding-left: 25px;
    padding-right: 25px;
}

.container-wrap > .main-content > .row .fullbleed-element {
    margin-left: -25px;
    margin-right: -25px;
}

.container-wrap > .main-content > .row .nobleed-element {
    padding-left: 25px;
    padding-right: 25px;
}

.container-wrap > .main-content > .row .full-width {
    width: 100%;
}

/* Utility classes */
.disable-scroll {
    height: 100% !important;
    overflow: hidden !important;
}

/* Hidden elements */
#raw-code {
    display: none !important;
}

.awsm-job-form {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-height: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    top: -100vh !important;
    left: -100vw !important;
}

.awsm-job-wrap {
    margin-top: 30px !important;
}

/* ===============================================
   HEADER & NAVIGATION
   =============================================== */

/* Header full-width container */
#header-outer {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #fff;
}

#header-outer .container {
    max-width: 1500px !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Header layout */
#header-outer .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

#header-outer .col {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#header-outer .col.span_9.col_last {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Logo styling */
#header-outer #logo {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

#header-outer #logo img {
    height: 40px !important;
    /* margin-left: 0 !important;
    padding-left: 0 !important; */ /* nicht in fullbleed.css enthalten */
}

/* Main navigation */
#header-outer nav {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

#header-outer nav ul,
#header-outer nav ul li {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

#header-outer nav > ul,
#header-outer .sf-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
}

#header-outer nav > ul > li,
#header-outer .sf-menu > li {
    display: inline-block !important;
    margin: 0 5px !important;
    vertical-align: middle;
}

/* Menu link styling */
#header-outer nav ul li a {
    font-family: 'Outfit-Thin', Arial, sans-serif !important;
    font-size: 14px !important;
    color: #000 !important;
    background: transparent !important;
    text-decoration: none !important;
}

#header-outer nav ul li a:hover {
    color: #f7ff2e !important;
}

/* Special "DE" home menu item as yellow circle */
li.menu-item-home {
    position: relative !important;
}

li.menu-item-home > a {
    visibility: hidden !important;
}

li.menu-item-home::after {
    content: 'DE';
    display: inline-block;
    background: #f7ff2e;
    color: #000;
    font-family: 'Outfit-Thin', Arial, sans-serif;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-weight: normal;
    font-size: 14px;
    z-index: 2;
}

@media (max-width: 900px) {
    #header-outer nav > ul > li,
    #header-outer .sf-menu > li {
        margin: 0 8px !important;
    }
} 

/* Mobile: "DE" home menu item as yellow circle */
.slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container.mobile-only li.menu-item-home {
    position: relative !important;
}
.slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container.mobile-only li.menu-item-home > a {
    visibility: hidden !important;
}
.slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container.mobile-only li.menu-item-home::after {
    content: 'DE';
    display: inline-block;
    background: #f7ff2e;
    color: #000;
    font-family: 'Outfit-Thin', Arial, sans-serif;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-weight: normal;
    font-size: 14px;
    z-index: 2;
}


/* Off-canvas mobile menu */
.off-canvas-menu-container.mobile-only li.menu-item.menu-item-type-custom.menu-item-object-custom {
    display: inline-block;
}

#slide-out-widget-area.fullscreen .inner .off-canvas-menu-container.mobile-only .menu li,
#slide-out-widget-area.fullscreen .menuwrapper li + li,
#slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container.mobile-only .menu li,
#slide-out-widget-area.fullscreen-alt .menuwrapper li + li {
    margin-left: 20px !important;
}

body #slide-out-widget-area.fullscreen .inner .off-canvas-menu-container.mobile-only li a,
body #slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container.mobile-only li a {
    display: block;
    font-size: 1em !important;
}

.off-canvas-menu-container {
    text-align: right;
    max-width: 1500px !important;
    padding-right: 25px !important;
    margin-left: auto;
    margin-right: auto;
}

#slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container {
    margin: 0 auto;
}

#slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container.mobile-only li.menu-item-home::after {
    font-size: 0.9em !important;
}

#slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container li a:hover {
    color: #ebff00 !important;
}

#slide-out-widget-area.fullscreen-alt .bottom-text {
    display: none !important;
}

#slide-out-widget-area.fullscreen-alt .off-canvas-social-links {
    right: 8% !important;
}

#slide-out-widget-area.fullscreen-alt .inner-wrap {
    right: 0 !important;
    margin-right: 0;
}

#slide-out-widget-area.fullscreen-alt .inner {
    position: relative;
}

@media only screen and (max-width: 1000px) {
    #slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container {
        margin-bottom: 40px !important;
    }
}

/* ===============================================
   SOCIAL MEDIA
   =============================================== */

/* Off-canvas social links */
#slide-out-widget-area.fullscreen-alt .inner #keko-off-canvas-social-links li {
    display: inline-block;
}

#slide-out-widget-area.fullscreen-alt .inner #keko-off-canvas-social-links li i[class*="fa-"],
#slide-out-widget-area.fullscreen-alt .inner #keko-off-canvas-social-links li span[class*="fa-"] {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    padding: 6px;
}

#slide-out-widget-area.fullscreen-alt .inner #keko-off-canvas-social-links li:last-child i[class*="fa-"],
#slide-out-widget-area.fullscreen-alt .inner #keko-off-canvas-social-links li:last-child span[class*="fa-"] {
    margin-right: -10px;
}

#slide-out-widget-area.fullscreen-alt .inner #keko-off-canvas-social-links li i[class*="fa-"]::before,
#slide-out-widget-area.fullscreen-alt .inner #keko-off-canvas-social-links li span[class*="fa-"]::before {
    font-size: 27px;
}

/* General social media links */
#custom-social-container a {
    border: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 6px !important;
    margin-right: 6px !important;
}

#custom-social-container a li,
.nectar-sharing i,
.nectar-sharing-alt i {
    border: none !important;
    padding: 6px !important;
}

#custom-social-container a li:before,
.nectar-sharing i:before,
.nectar-sharing-alt i:before {
    font-size: 30px !important;
}



/* Instagram integration */
#sb_instagram,
#sb_instagram.sbi_fixed_height {
    margin-top: -12px;
    margin-left: -12px;
    margin-right: -12px;
    width: auto !important;
}

#sb_instagram #sbi_images,
#sb_instagram.sbi_fixed_height #sbi_images {
    padding: 6px;
}

#sb_instagram .sbi_item,
#sb_instagram.sbi_fixed_height .sbi_item {
    padding: 6px;
}

@media (max-width: 640px) {
    #sb_instagram,
    #sb_instagram.sbi_fixed_height {
        width: auto !important;
    }
}

/* ===============================================
   HOME PAGE
   =============================================== */

#keko-banner.wpb_row {
  margin-top: 0;
  margin-bottom: 12px;
}

.row #keko-home-work .col img.top {
  object-position: 50% 0%;
}

.row #keko-home-work .col img.left {
  object-position: 0% 50%;
}

.row #keko-home-work .col img.right {
  object-position: 100% 50%;
}

.row #keko-home-work .col img.bottom {
  object-position: 100% 50%;
}

.row #keko-home-work .divider-wrap {
  display: none;
}

.row #keko-home-work .col .img-with-aniamtion-wrap {
  position: relative;
  max-height: 0;
  overflow: hidden;
  padding-bottom: 25%;
}

.row #keko-home-work.image-margin .col .img-with-aniamtion-wrap {
  margin-bottom: 12px !important;
}

.row #keko-home-work.image-margin .no-margin .col .img-with-aniamtion-wrap {
  margin-bottom: 0 !important;
}

.row #keko-home-work .col.vc_col-sm-6 {
  width: 100%;
  margin-bottom: 12px;
}

.row #keko-home-work .col.vc_col-sm-6:last-child {
  margin-bottom: 0;
}

.row #keko-home-work .col.vc_col-sm-6 .img-with-aniamtion-wrap {
  position: relative;
  max-height: 0;
  overflow: hidden;
  padding-bottom: 50%;
}

@media screen and (min-width: 641px) {
  .row #keko-home-work .col.vc_col-sm-6 {
    width: calc(50% - 6px);
    margin-left: 12px;
    margin-bottom: 0px;
  }
  .row #keko-home-work .col.vc_col-sm-6:first-child {
    margin-left: 0;
  }
}

#sb_instagram, #sb_instagram.sbi_fixed_height {
  margin-top: -12px;
  margin-left: -12px;
  margin-right: -12px;
  width: auto !important;
}

@media (max-width: 640px) {
  #sb_instagram, #sb_instagram.sbi_fixed_height {
    width: auto !important;
  }
}

#sb_instagram #sbi_images, #sb_instagram.sbi_fixed_height #sbi_images {
  padding: 6px;
}

#sb_instagram .sbi_item, #sb_instagram.sbi_fixed_height .sbi_item {
  padding: 6px;
}

/* ===============================================
   TEAM SECTION
   =============================================== */

   .team-desc {
  font-family: 'Outfit-Thin' !important;
  color: #000000;
}

/* Teams overlay fix */
.nectar_team_member_overlay {
  z-index: 9999;
}

.nectar_team_member_close .inner,
.nectar_team_member_overlay .team_member_details .bio-inner span.mobile-close {
  border-color: #333;
}

.nectar_team_member_close .inner::before {
  color: #333;
}

.nectar_team_member_overlay .team_member_details .bio-inner span.mobile-close::before,
.nectar_team_member_overlay .team_member_details .bio-inner span.mobile-close::after {
  background-color: #333;
}

.nectar_team_member_overlay .team_member_details .bio-inner .mobile-close {
  position: relative;
  top: -1em;
  left: -1em;
}


@media only screen and (min-width: 1001px) {
  body > .nectar_team_member_overlay.null.open {
    cursor: none !important;
  }
}

#team {
  margin-left: -25px;
  margin-right: -25px;
}

#team .wpb_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  grid-gap: 12px;
}

@media only screen and (min-width: 480px) {
  #team .wpb_wrapper {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media only screen and (min-width: 690px) {
  #team .wpb_wrapper {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media only screen and (min-width: 1000px) {
  #team .wpb_wrapper {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

#team .team-member {
  position: relative;
  overflow: hidden;
  max-height: 0;
  padding-bottom: 100%;
}

#team .team-member .team-meta .arrow-end,
#team .team-member .team-meta .arrow-line {
  top: -10px !important;
}

#team .team-member .team-meta h3 {
  line-height: normal;
}

#team .team-member .team-meta p {
  max-width: 100%;
  margin-right: 20px;
  word-wrap: break-word;
}

.nectar_team_member_overlay .team_member_picture {
  width: 60.46511628vh;
  max-width: 35vw;
  flex: 0 0 auto;
}

@media only screen and (max-height: 440px) and (min-width: 691px) {
  .nectar_team_member_overlay .team_member_picture {
    min-width: 270px;
    /* minimumImageWidth */
  }
}

@media only screen and (max-width: 1000px) {
  .nectar_team_member_overlay .team_member_picture {
    width: 45.34883721vh;
  }
}

/*
.nectar_team_member_overlay .team_member_details {
  width: 65vw;
  min-width: calc(100vw - 60.46511628vh);
}

@media only screen and (max-height: 440px) and (min-width: 691px) {
  .nectar_team_member_overlay .team_member_details {
    max-width: calc(100vw - 270px);
    width: calc(100vw - 60.46511628vh);
    min-width: initial;
  }
}

@media only screen and (max-width: 1000px) {
  .nectar_team_member_overlay .team_member_details {
    width: calc(100vw - 45.34883721vh);
  }
}
  */



/* ===============================================
   PORTFOLIO
   =============================================== */

/* Portfolio header */
#page-header-bg .container {
    display: none;
}

#page-header-bg[data-bg-pos="top"] .page-header-bg-image[style*="KekoGedanken_01d.jpg"] {
    background-position: center right;
}

/* Portfolio items */
.portfolio-items .col[data-default-color="true"] .work-item:not(.style-3) div.work-info-bg {
    background-color: #333333 !important;
}

body div.portfolio-wrap[class*=portfolio-wrap] div.col[class*=col].elastic-portfolio-item[class*=elastic-portfolio-item] {
    position: initial !important;
    float: none !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
    margin: 12px 0 !important;
    padding: 0 !important;
    transform: none !important;
    transition: none !important;
}

body div.portfolio-wrap[class*=portfolio-wrap] div.col[class*=col] div.work-info .vert-center h3 {
    font-size: 32px !important;
    line-height: 1.2em !important;
    letter-spacing: 0.05em;
}

body div.portfolio-items[class*="portfolio-items"][data-gutter][data-col-num="elastic"].fullwidth-constrained[class*="fullwidth-constrained"] {
    width: auto !important;
    height: auto !important;
    margin-left: -25px !important;
    margin-right: -25px !important;
    margin-top: 0 !important;
}

body div.portfolio-items[data-col-num="elastic"] .col img {
    width: 100%;
    min-height: 170px;
    max-height: 375px;
    object-fit: cover;
    object-position: center;
}

#portfolio-extra {
    max-width: 1000px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wpb_wrapper > .wpb_gallery {
    margin-left: -25px;
    margin-right: -25px;
}

.wpb_wrapper > .wpb_gallery > .wpb_wrapper {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.bottom_controls .controls {
    padding-left: 25px !important;
    padding-right: 25px !important;
}

.bottom_controls .container {
    max-width: 1000px !important;
}

@media only screen and (max-width: 690px) {
    body div.portfolio-wrap[class*=portfolio-wrap] div.col[class*=col] div.work-info .vert-center h3 {
        font-size: 20px !important;
    }
}

/* ===============================================
   BLOG & NEWS
   =============================================== */

.posts-container article[id*="post"] .post-header .title {
    text-transform: none;
}

.posts-container article[id*="post"] {
    width: 50% !important;
}

.posts-container article[id*="post"] .post-header {
    max-width: 100% !important;
}

/* News grid layout */
.post-area.auto_meta_overlaid_spaced .posts-container {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: auto;
    grid-gap: 12px;
    margin-left: -25px !important;
    margin-right: -25px !important;
}

.post-area.auto_meta_overlaid_spaced .masonry-blog-item {
    width: 100% !important;
    display: block;
    padding: 0;
}

.auto_meta_overlaid_spaced .masonry-blog-item .inner-wrap {
    border-radius: 0px !important;
}

.post-featured-img {
    background-color: #000000;
}

/* Hide elements */
.meta-category,
.section-title .meta-category,
.section-title #single-below-header {
    display: none !important;
}

.single .heading-title,
.single .heading-title h1.entry-title {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Filter buttons */
.filter-button {
    border: none;
    background-color: inherit;
    padding: 0.78em 0.7em;
    font-size: 20px;
    display: inline-block;
}

.filter-button a {
  position: relative;
  overflow: hidden;
  display: block;
  font-size: inherit !important;
  -webkit-transition: 0.2s color ease;
  -o-transition: 0.2s color ease;
  transition: 0.2s color ease;
}

.filter-button a[href]:hover,
.filter-button.active a {
    color: #000 !important;
}

.filter-button a[href]::after,
.filter-button a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background-color: #000;
  -webkit-transition: 0.2s left ease;
  -o-transition: 0.2s left ease;
  transition: 0.2s left ease;
}

.filter-button a[href]:hover::after,
.filter-button.active a::after {
    left: 0;
}

/* Filter functionality */
.posts-container.show-news article[id*="post"].category-thought-pieces {
    display: none !important;
}

.posts-container.show-thought-pieces article[id*="post"].category-news {
    display: none !important;
}

@media only screen and (max-width: 690px) {
    .filter-button {
        font-size: 16px;
    }
    
    .auto_meta_overlaid_spaced .masonry-blog-item .article-content-wrap,
    .auto_meta_overlaid_spaced article.post.quote.masonry-blog-item .quote-inner,
    .auto_meta_overlaid_spaced article.post.link.masonry-blog-item .link-inner {
        padding: 15px !important;
    }
}

/* ===============================================
   POST PAGES
   =============================================== */

.blog_next_prev_buttons {
    margin-left: -25px;
    margin-right: -25px;
}

.wpb-wrapper > .wpb_gallery {
    margin-left: -25px;
    margin-right: -25px;
}

.wpb-wrapper > .wpb_gallery > .wpb-wrapper {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ===============================================
   FOOTER
   =============================================== */

#footer-outer .col p span {
    margin-left: 0.5em;
}

@media only screen and (max-width: 690px) {
    #footer-outer[data-full-width="1"] .container ul.social {
        float: none !important;
        display: inline-block;
    }
}

@media only screen and (max-width: 689px) {
    #footer-outer .col,
    #footer-outer .col p,
    #footer-outer .col p span {
        text-align: center;
    }
    
    #footer-outer .col p span {
        display: block;
        margin-top: 25px;
        margin-left: initial;
    }
}

/* ===============================================
   ERROR PAGES
   =============================================== */

body #error-404 .nectar-button {
    background-color: #999999 !important;
    color: #000000 !important;
}

/* ===============================================
   INDIVIDUAL PAGES
   =============================================== */

.page-id-7720 .container-wrap {
    background-color: black;
}