/*
 Theme Name:   B2BImmo
 Theme URI:    http://mylisting.27collective.net/my-city/
 Description:  Theme enfant de MyListing for B2BImmo
 Author:       NBP
 Author URI:   https://nuitblanche.re
 Template:     my-listing
 Version:      1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  B2BImmo
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;600;700&display=swap');

/*** Body ***/
body,
html {
  font-family: Montserrat;
}
body {
  position: relative;
}
body {
  overflow-x: hidden;
}
p {
  font-family: Montserrat;
}

body.home header .logo {
  display: none;
}

body.home header .i-nav li a {
  color: #0a5c84;
  font-weight: bold;
}

body.home header #menu-main-menu li a:before {
  content: '';
  width: 50%;
  height: 1px;
  border-bottom: 5px solid #0a5c84;
  position: absolute;
  bottom: -10px;
  left: 0;
  transform: scale(0);
  transition: all 0.2s ease-in;
}
body.home header #menu-main-menu li a:after {
  content: '';
  width: 50%;
  height: 1px;
  border-bottom: 5px solid #0097c4;
  position: absolute;
  bottom: -10px;
  right: 0;
  transform: scale(0);
  transition: all 0.2s ease-in;
}
body.home header #menu-main-menu li:hover a:before {
  transform: scale(1);
  transform-origin: top right;
}
body.home header #menu-main-menu li:hover a:after {
  transform: scale(1);
  transform-origin: top left;
}
body.home header #menu-main-menu li:hover {
  background: transparent;
}
body.home header #menu-main-menu {
  height: auto;
}

header.header-menu-right .header-right {
  display: none;
}

body.home .header {
  background: transparent;
  box-shadow: none;
  height: auto;
  position: absolute;
  top: 4vh;
}
body.home .header .header-center {
  display: flex !important;
  position: relative;
  transform: none;
  right: 64px;
}
body.home .header .header-left {
  display: flex !important;
}

.scroll {
  position: absolute !important;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  height: auto !important;
}
.scroll .arrow {
  text-align: center;
  width: 4vw;
  margin: 0 auto;
}

/*** Header ***/
#header-top {
  height: 100vh;
}
#header-top .header-content {
  height: 100vh;
  width: 100vw;
  z-index: 1;
}
#header-top .header-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url('/wp-content/themes/b2b-immo/img/header.jpg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.3;
}
#header-top .logotype {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 100%;
  text-align: center;
}
#header-top .logotype svg {
  width: 51vw !important;
  margin: 0 auto;
  height: auto !important;
}

/*** Scroll to top ***/
#scrolltotop {
  position: fixed;
  bottom: 25px;
  left: 20px;
  z-index: 1000;
  display: none;
  cursor: pointer;
  width: 45px;
  height: 45px;
  background: #0097c2;
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
}

#scrolltotop i {
  font-size: 1.8em;
  color: rgba(255, 255, 255, 0.8);
  width: 24px;
  height: 24px;
  display: inline-block;
  position: relative;
  z-index: 1001;
}

#scrolltotop.bottom {
  bottom: 385px;
}

/* Search Feature */
.featured-search {
  margin: 0 auto;
  width: 60%;
}

/* Tabs Navigation */
.finder-tabs .nav-tabs {
  li {
    width: 25%;

    &:first-child {
      width: 50%;
    }

    > a {
      padding-right: 0;
    }
  }
}

/* Buttons */
.btn-tel {
  background-color: #fff;
  padding: 10px;
  font-weight: bold;
}

.tel a {
  color: #fff;
}

#c27-site-wrapper {
  overflow: hidden;
  border-bottom: none;
  margin-bottom: 0 !important;
}

#c27-site-wrapper .c27-main-header:not(.header-scroll) .header-skin {
  border-color: transparent !important;
}

.c27-main-header:not(.header-scroll) .header-skin {
  background: transparent !important;
}

@media (max-width: 480px) {
  .header {
    height: 80px !important;
  }
}

/*** ANIMATION ***/
@-webkit-keyframes slide-out-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
}
@keyframes slide-out-top {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
}
@-webkit-keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes pulsate-bck {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@-webkit-keyframes shake-horizontal {
  0%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
  }
  80% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  90% {
    -webkit-transform: translateX(-4px);
    transform: translateX(-4px);
  }
}
@keyframes shake-horizontal {
  0%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }
  20%,
  40%,
  60% {
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
  }
  80% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  90% {
    -webkit-transform: translateX(-4px);
    transform: translateX(-4px);
  }
}
@-webkit-keyframes flip-vertical-right {
  0% {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
  }
  100% {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
  }
}
@keyframes flip-vertical-right {
  0% {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
  }
  100% {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
  }
}
