.nav-shadow {
  height: 20px;
  position: absolute;
  top: 90px;
  background-color: white;
}

.box {
  display: none;
}

@media (min-width: 1200px) {
  .contrat_navbar {
    padding-left: 100px !important;
    padding-right: 150px !important;
    width: 90vw;
    margin: auto;
  }
}

.navbar {
  height: 100px;
  display: flex;
  flex-direction: row-reverse;
  padding: 0px;
}
.navbar .nav-contents {
  padding: 0px 50px 0px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition-duration: 0.5s;
}
.navbar .nav-contents .navbar-brand {
  font-weight: bold;
  font-size: 30px;
}
.navbar .nav-contents .navbar-brand .logo_house {
  display: none;
}
.navbar .nav-contents .nav-link {
  transition-duration: 0.5s;
}
.navbar .nav-contents .navbar-nav .nav-item {
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 600;
}
.navbar .nav-contents .navbar-nav #login-nav-button {
  margin-left: 10px;
  border: solid 2px;
  transition-duration: 0.5s;
}
.navbar .nav-contents .navbar-nav #login-nav-button:hover {
  border: solid #0066DF 2px;
  color: #0066DF;
}
.navbar .nav-contents .navbar-nav #account-nav-button {
  margin-left: 10px;
  border: none;
  transition-duration: 0.5s;
  height: 40px;
  width: 40px;
  border-radius: 50px;
  background-color: #0066DF;
  color: white;
  display: flex;
  padding: 0px;
}
.navbar .nav-contents .navbar-nav #account-nav-button p {
  align-self: center;
  margin: auto;
}
.navbar .nav-contents .navbar-nav #contrat-nav-button {
  margin-left: 10px;
  border: solid 2px #1f1f1f;
  transition-duration: 0.5s;
  background-color: #1f1f1f;
  font-weight: initial;
  color: white;
}
.navbar .nav-contents .navbar-nav #contrat-nav-button:hover {
  border: solid #0066DF 2px;
  background-color: #0066DF;
}
.navbar .nav-item {
  font-size: 12px;
}
@media (max-width: 960px) {
  .navbar .navbar-nav {
    display: none;
  }
  .navbar .box {
    display: block;
  }
}

.box {
  border-radius: 2px;
  z-index: 10;
  position: fixed;
  right: 30px;
  top: 55px;
  transform: translate(-50%, -50%);
  box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
}
.box .btn-menu {
  z-index: 15;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px;
  cursor: pointer;
}
.box .btn-menu span {
  display: block;
  width: 100%;
  border-radius: 3px;
  height: 4px;
  background: #00FFFF;
  transition: all 0.3s;
  position: relative;
}
.box .btn-menu span + span {
  margin-top: 8px;
}

.active span:nth-child(1) {
  -webkit-animation: ease 0.7s top forwards;
          animation: ease 0.7s top forwards;
}

.not-active span:nth-child(1) {
  -webkit-animation: ease 0.7s top-2 forwards;
          animation: ease 0.7s top-2 forwards;
}

.active span:nth-child(2) {
  -webkit-animation: ease 0.7s scaled forwards;
          animation: ease 0.7s scaled forwards;
}

.not-active span:nth-child(2) {
  -webkit-animation: ease 0.7s scaled-2 forwards;
          animation: ease 0.7s scaled-2 forwards;
}

.active span:nth-child(3) {
  -webkit-animation: ease 0.7s bottom forwards;
          animation: ease 0.7s bottom forwards;
}

.not-active span:nth-child(3) {
  -webkit-animation: ease 0.7s bottom-2 forwards;
          animation: ease 0.7s bottom-2 forwards;
}

@-webkit-keyframes top {
  0% {
    top: 0;
    transform: rotate(0);
  }
  50% {
    top: 22px;
    transform: rotate(0);
  }
  100% {
    top: 14px;
    transform: rotate(45deg);
  }
}

@keyframes top {
  0% {
    top: 0;
    transform: rotate(0);
  }
  50% {
    top: 22px;
    transform: rotate(0);
  }
  100% {
    top: 14px;
    transform: rotate(45deg);
  }
}
@-webkit-keyframes top-2 {
  0% {
    top: 22px;
    transform: rotate(45deg);
  }
  50% {
    top: 22px;
    transform: rotate(0deg);
  }
  100% {
    top: 0;
    transform: rotate(0deg);
  }
}
@keyframes top-2 {
  0% {
    top: 22px;
    transform: rotate(45deg);
  }
  50% {
    top: 22px;
    transform: rotate(0deg);
  }
  100% {
    top: 0;
    transform: rotate(0deg);
  }
}
@-webkit-keyframes bottom {
  0% {
    bottom: 0;
    transform: rotate(0);
  }
  50% {
    bottom: 22px;
    transform: rotate(0);
  }
  100% {
    bottom: 10px;
    transform: rotate(135deg);
  }
}
@keyframes bottom {
  0% {
    bottom: 0;
    transform: rotate(0);
  }
  50% {
    bottom: 22px;
    transform: rotate(0);
  }
  100% {
    bottom: 10px;
    transform: rotate(135deg);
  }
}
@-webkit-keyframes bottom-2 {
  0% {
    bottom: 22px;
    transform: rotate(135deg);
  }
  50% {
    bottom: 22px;
    transform: rotate(0);
  }
  100% {
    bottom: 0;
    transform: rotate(0);
  }
}
@keyframes bottom-2 {
  0% {
    bottom: 22px;
    transform: rotate(135deg);
  }
  50% {
    bottom: 22px;
    transform: rotate(0);
  }
  100% {
    bottom: 0;
    transform: rotate(0);
  }
}
@-webkit-keyframes scaled {
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes scaled {
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(0);
  }
}
@-webkit-keyframes scaled-2 {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes scaled-2 {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 640px) {
  .nav-contents {
    background-color: white;
    left: 0px;
    position: fixed;
    border-bottom: solid 1px #cfcfcf;
    padding: 0px 20px !important;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.39);
  }

  .sidebar-section {
    display: none !important;
  }

  .navbar-brand {
    display: flex;
    align-items: center;
  }
  .navbar-brand .logo_house {
    display: block !important;
    background-image: url("/images/logo/logo_house.png");
    background-size: cover;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
  }

  .hide {
    display: none;
  }

  .btn-menu {
    position: relative !important;
    top: 35px;
  }

  .box {
    position: relative;
    top: 20px;
    z-index: 4;
    width: 30px;
    box-shadow: none;
  }
  .box span {
    height: 3px !important;
    width: 30px !important;
    margin-top: 7px !important;
  }
  @-webkit-keyframes top {
    0% {
      top: 5;
      transform: rotate(0);
    }
    50% {
      top: 5px;
      transform: rotate(0);
    }
    100% {
      top: 10px;
      transform: rotate(45deg);
    }
  }
  @keyframes top {
    0% {
      top: 5;
      transform: rotate(0);
    }
    50% {
      top: 5px;
      transform: rotate(0);
    }
    100% {
      top: 10px;
      transform: rotate(45deg);
    }
  }
  @-webkit-keyframes top-2 {
    0% {
      top: 22px;
      transform: rotate(45deg);
    }
    50% {
      top: 10px;
      transform: rotate(0deg);
    }
    100% {
      top: 0;
      transform: rotate(0deg);
    }
  }
  @keyframes top-2 {
    0% {
      top: 22px;
      transform: rotate(45deg);
    }
    50% {
      top: 10px;
      transform: rotate(0deg);
    }
    100% {
      top: 0;
      transform: rotate(0deg);
    }
  }

  .navbar {
    transition-duration: 0.5s;
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    z-index: 10;
  }
  .navbar .btn-menu {
    top: 25px;
    left: 30px;
  }
  .navbar .logo_h {
    top: 0px;
    height: 60px;
    width: 160px;
    margin: initial;
    background-image: url("/images/logo/ospdom_h.png");
    background-size: 100% !important;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    left: 10px;
    bottom: 10px;
  }
  .navbar .box {
    position: initial;
    left: 0px;
  }

  .navbar {
    height: 60px;
    margin-bottom: 30px;
  }
}
.bg-menu {
  display: none;
  z-index: 8;
  background-color: white;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0px;
}
.bg-menu a {
  color: black;
  list-style: none;
  text-decoration: none;
}
.bg-menu .small_menu {
  position: relative;
  right: 30px;
  top: 20%;
  margin: auto;
  margin-left: 40px;
  color: #313131;
  font-weight: bold;
  list-style: none;
  font-size: 40px;
}
.bg-menu .small_menu li {
  cursor: pointer;
  transition-duration: 0.5s;
  font-size: 30px;
  margin-bottom: 20px;
}
.bg-menu .small_menu li:hover {
  color: #00FFFF;
}

.sidebar-section {
  z-index: 10;
  padding: 0px;
  padding-top: 20px;
  position: fixed;
  height: 100vh;
  width: 80px;
}
.sidebar-section .nav-link {
  height: 60px;
  font-size: 20px;
}
.sidebar-section .logo_house {
  background-image: url("/images/logo/logo_house.png");
  background-size: cover;
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
  margin: auto;
}
.sidebar-section .fluid-nav-container {
  position: relative;
  top: 35vh;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  font-size: 40px;
  cursor: default;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin: auto;
}
.sidebar-section .fluid-nav-container .dot {
  padding: 0px;
  text-align: left;
  margin: 0px;
  font-size: 15px;
  color: rgba(0, 0, 0, 0.383);
  transition-duration: 0.5s;
  height: 20px;
}
.sidebar-section .fluid-nav-container .dot:hover {
  color: #9561e2;
}