/*
Theme Name: Trademark Property Services
Theme URI: 
Author: Skyline Internet
Author URI: 
Description: 
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trademark-property-services
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

:root {
  --fonth: "Chivo", sans-serif;
  --fonth_weight: 700;
  --fontp: "Asap", sans-serif;
  --fontp_weight: 200;
  --white: #fff;
  --black: #000;
  --dark-grey: #1c1c1a;
  --gold: #f0b851;

  --sidebarWidth: 80dvw;
}

html {
  scroll-behavior: smooth;
}

:where(.wp-site-blocks *:focus) {
  outline: none !important;
}

.wp-block-navigation a:where(:not(.wp-element-button)):hover {
  text-decoration: none;
}

a:where(:not(.wp-element-button)) {
  font-size: inherit !important;
}

.wp-block-column {
  overflow-wrap: anywhere;
  word-break: keep-all;
}

/* Header */

header {
  margin-bottom: -85px;
  position: relative;
  z-index: 100;
}

/* Homepage */

.about-text {
  margin-left: -200px;
  overflow: visible !important;
}

.portfolio-text {
  margin-right: -180px;
  position: relative;
}

/* Footer */

footer strong {
  font-weight: 400;
}

.wp-block-social-links .wp-social-link svg {
  width: 1.25em;
  height: 1.25em;
}

/* Animation Styling */

@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-left {
  0% {
    opacity: 0;
    transform: translateX(2rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fade-right {
  0% {
    opacity: 0;
    transform: translateX(-2rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@-webkit-keyframes bounceRight {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -webkit-transform: translateX(-40%);
    transform: translateX(-40%);
  }
  60% {
    -webkit-transform: translateX(-28%);
    transform: translateX(-28%);
  }
}
@-moz-keyframes bounceRight {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(-40%);
  }
  60% {
    transform: translateX(-28%);
  }
}
@keyframes bounceRight {
  0%,
  20%,
  50%,
  80%,
  100% {
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -ms-transform: translateX(-40%);
    transform: translateX(-40%);
  }
  60% {
    -ms-transform: translateX(-28%);
    transform: translateX(-28%);
  }
}
/* /right bounce */

/* up bounce*/
@-webkit-keyframes bounceDown {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-40%);
    transform: translateY(-40%);
  }
  60% {
    -webkit-transform: translateY(-28%);
    transform: translateY(-28%);
  }
}
@-moz-keyframes bounceDown {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-40%);
  }
  60% {
    transform: translateY(-28%);
  }
}
@keyframes bounceDown {
  0%,
  20%,
  50%,
  80%,
  100% {
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -ms-transform: translateY(-40%);
    transform: translateY(-40%);
  }
  60% {
    -ms-transform: translateY(-28%);
    transform: translateY(-28%);
  }
}

.aos {
  overflow-x: hidden;
}

.btn-row:hover {
  cursor: pointer;
}

.btn-row:hover .icon-container {
  animation: bounceRight 1s infinite;
}

.btn-row:hover .bounce-down .icon-container {
  animation: bounceDown 1s infinite;
}

.aos.animate {
  animation-delay: 0.5s;
}

.aos.fade-up {
  opacity: 0;
  transform: translateY(2rem);
}
.aos.fade-right {
  opacity: 0;
  transform: translateX(-2rem);
}
.aos.fade-left {
  opacity: 0;
  transform: translateX(2rem);
}

.animate.aos.fade-up {
  animation: fade-up 1s both;
}
.animate.aos.fade-left {
  animation: fade-left 1s both;
}
.animate.aos.fade-right {
  animation: fade-right 1s both;
}

.animation-delay-1 {
  animation-delay: calc(var(--baseDelay, 0.5s) + 0.25s) !important;
}
.animation-delay-2 {
  animation-delay: calc(var(--baseDelay, 0.5s) + 0.5s) !important;
}
.animation-delay-3 {
  animation-delay: calc(var(--baseDelay, 0.5s) + 0.75s) !important;
}
.animation-delay-4 {
  animation-delay: calc(var(--baseDelay, 0.5s) + 1s) !important;
}

.contact-form .row {
  display: flex;
  flex-direction: row;
  gap: 2em;
  margin-bottom: 1em;
}

.contact-form .row.r-1 .wpcf7-form-control-wrap,
.contact-form .row.r-1 .wpcf7-form-control-wrap textarea {
  width: 100%;
}

.contact-form .row.r-1 .wpcf7-form-control-wrap{
 padding-bottom:0;	
}

.contact-form .wpcf7-form-control-wrap {
  width: calc(100% - 1em);
  padding: .5em;
}

.contact-form .wpcf7-form-control-wrap input {
  width: calc(100% - .75em);
  padding: .75em;
  font-family: var(--fontp);
}

.contact-form .wpcf7-form-control-wrap input[type=checkbox]{
  width: fit-content;
}	

.wpcf7-list-item{
 margin-left:0;	
}

.contact-form .wpcf7-form-control-wrap input,
.contact-form .row.r-1 .wpcf7-form-control-wrap textarea {
  border: 1px #9e9e9e solid;
  color: #000;
}

.contact-form .row.r-1 .wpcf7-form-control-wrap textarea {
  max-width: 100%;
  padding: .75em;
  font-family: var(--fontp);
}

.contact-form .row .wpcf7-spinner {
  display: none !important;
}

.contact-form .row.submit {
  justify-content: space-between;
}

.contact-form .row.submit .wpcf7-submit {
  background-color: transparent;
  border: none;
  color: var(--gold);
  font-family: var(--fontp);
  font-weight: 600;
  font-size: 16px;
}

.contact-form .row.row.submit {
  gap: 0 !important;
}

/* Portfolio */
#pfbPortfolio-7902a7c0-6 .pfbPortfolio {
  box-shadow: none !important;
}

.portfolio-grid figure img {
  height: 100% !important;
  object-fit: cover;
  border: 1px solid #f2f2f2;
}

.portfolio-grid.floorplan figure img {
  object-fit: contain !important;
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
  flex-grow: unset !important;
}

@media (max-width: 884px) {
  header {
    margin-bottom: -60px;
  }

  .privacy-policy header .has-custom-white-black-gradient-background {
    background: linear-gradient(180deg,rgb(255,255,255) 60%,rgb(25,25,25) 60%) !important;
  }

  body.page-id-628 .first-gradient,
  body.page-id-1144 .first-gradient {
    background: linear-gradient(180deg,rgb(26,26,26) 12%,rgb(255,255,255) 12%) !important;
    padding-top: 9em !important;
  }

  .wp-elements-d883780580ea126d23ee5a93a5ea167a {
    padding-left: 0 !important;
    color: #000 !important;
  }

  .first-gradient {
    background: linear-gradient(180deg,rgb(26,26,26) 8%,rgb(255,255,255) 8%) !important;
  }

  figure.wp-block-gallery.has-nested-images {
    flex-direction: column !important;
  }

  .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
    width: 100% !important;
  }

  .background-cover {
    flex-direction: column !important;
    padding: 0 !important;
  }

  .background-cover span {
    background: none !important;
  }

  .background-cover img {
    position: relative !important;
  }

  .portfolio-text,
  .about-text {
    margin:0 !important
  }

  footer .copyright {
    flex-wrap: wrap !important;
  }

  header .header-row {
    flex-wrap: nowrap !important;
  }
}

aside#sidebar {
  position: fixed;
  height: 100dvh;
  z-index: 99999 !important;
  background-color: #fff;
  left: 0;
  top: 0;
  min-width: 80dvw;
  transform: translateX(calc(var(--sidebarWidth) * -1));
  transition: all 0.25s;
}

aside#sidebar.open {
  transform: translate(0);
  z-index: 6;
}

body.sidebar-open {
  margin: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
}

body.sidebar-open:after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.5);
}