@import url("https://fonts.googleapis.com/css2?family=Ropa+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Ropa+Sans&display=swap");
@import url("https://use.typekit.net/gmj1otn.css");
@import url("https://use.typekit.net/cpp5owp.css");

:root {
  /* Buttons */
  --btn-txt-font: "Ropa Sans", sans-serif;
  --btn-color-primary: #707070;
  --btn-bg-primary: #bce2d7;
  --sidebar-color-primary: #171725;
  --sidebar-active-bg: rgba(0, 98, 255, 0.05);
  --sidebar-active-color: #0062ff;
  --body-text-font: proxima-nova, sans-serif;
  --body-text-size: 16px;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: fit-content !important;
}

.page-title {
  font-weight: 500;
  color: black;
}

.body-text {
  font-family: var(--body-text-font);
  font-size: var(--body-text-size);
  color: black;
  font-weight: 400;
  font-style: normal;
}

.btn-primary {
  background-color: var(--btn-bg-primary);
  color: var(--btn-color-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 50px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
}

.btn-primary:visited {
  color: var(--btn-color-primary);
}

.tri-column-right {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  column-gap: 50px;
}

@media only screen and (max-width: 1100px) {
  .tri-column-right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    row-gap: 20px;
  }
}

#page {
  height: 100vh;
  position: relative;
}

@media only screen and (max-width: 1100px) {
  #page {
    height: fit-content;
  }
}

.btn-primary:hover,
#masthead #site-navigation #primary-menu li:last-child:hover,
#masthead #site-navigation .menu li:last-child:hover {
  background-color: #bce2d7;
  color: #707070;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

#masthead #site-navigation #primary-menu li:first-child:hover,
#masthead #site-navigation .menu li:first-child:hover {
  color: var(--btn-color-primary);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

#masthead {
  height: 80px;
  background-color: #f2f2f2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#masthead #site-navigation {
  display: flex;
  align-items: center;
  justify-content: right;
  height: 100%;
  opacity: 1;
  transition: 0.2s ease-in-out;
}

.banner-toggle-container {
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Dashboard banner toggle styles */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #707070;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #bce2d7;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #707070;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@media only screen and (max-width: 550px) {
  #masthead #site-navigation {
    justify-content: left;
    padding-left: 15px;
  }

  #masthead #site-navigation .menu-admin-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: right;
    width: 100%;
  }
}

#masthead .site-branding {
  display: none;
}

#masthead .user-profile {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 300px;
  border-left: rgba(112, 112, 112, 0.5) 1px solid;
}

#masthead .user-profile:hover {
  cursor: pointer;
}

@media only screen and (max-width: 550px) {
  #masthead .user-profile {
    position: absolute;
    top: 0;
    right: 0;
    height: fit-content;
    border-left: none;
    justify-content: center;
    height: 80px;
  }

  #masthead .user-profile:hover {
    cursor: unset;
  }

  #masthead .user-profile .avater:hover {
    cursor: pointer;
  }

  #masthead .user-profile .avatar {
    position: absolute;
    right: 20px;
    top: 20px;
  }

  #masthead .user-profile .user-name {
    display: none !important;
  }
}

#masthead .user-profile .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #bce2d7;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

#masthead .user-profile .user-name {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

#masthead .user-profile .user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #f9f9f9;
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
  list-style: none;
}

#masthead .nav-only-mobile {
  display: none;
}

@media only screen and (max-width: 550px) {
  #masthead .nav-only-mobile {
    display: block;
  }
}

#masthead .user-profile .user-menu.show {
  display: block;
  margin: 0;
  padding: 0;
}

#masthead .user-profile .user-menu a {
  color: black;
  text-decoration: none;
  width: 100%;
  padding: 20px 10px;
}

#masthead .user-profile .user-menu li {
  display: flex;
  width: 100%;
  align-items: center;
}

#masthead .user-profile .user-menu li:hover {
  background-color: #f1f1f1;
}

#masthead #site-navigation .menu {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: 25px;
  column-gap: 25px;
}

@media only screen and (max-width: 550px) {
  #masthead #site-navigation .menu {
    column-gap: 10px;
    z-index: 999;
    position: relative;
  }
}

#masthead #site-navigation .menu li:first-child {
  background-color: rgba(0, 0, 0, 0);
  border: 2px solid var(--btn-color-primary);
}

#masthead #site-navigation .menu li:last-child {
  background-color: var(--btn-bg-primary);
  border: none;
}

#masthead #site-navigation .menu li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 50px;
  border-radius: 10px;
}

#masthead #site-navigation .menu li a {
  color: #707070;
  font-family: "Ropa Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  height: 100%;
  /* padding: 0 20px; */
}

.active-property-parent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  row-gap: 5px;
  margin-top: 30px;
  align-self: flex-start;
}

.active-property-label {
  font-size: 24px;
  font-weight: 300;
  color: var(--text-color);
  margin: 0px;
  padding-left: 3px;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.active-property-container .active-property-toggle {
  background: none;
  width: 200px;
  height: 50px;
  border: 2px solid rgba(112, 112, 112, 0.5);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
  align-self: left;
  color: black;
}

.site-footer {
  width: 100%;
  background-color: #465756;
  color: white;
  font-family: var(--body-text-font);
  font-weight: 400;
  font-size: 16px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 0;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: white;
  text-decoration: none;
}

.site-footer a:hover {
  color: #bce2d7;
}

/*max-height: 1492px or max-width: 1000px*/
@media only screen and ((max-height: 1492px) or (max-width: 1000px)) {
  .site-footer {
    position: static;
    bottom: unset;
  }
}

@media only screen and (max-width: 768px) {
  .site-footer {
    padding-bottom: 50px;
  }
}

/* sitewide spinner styles */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.spinner {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid var(--btn-bg-primary);
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}
