/*
Theme Name: FXBG Fences Theme
Author: GCubed Inc.
Version: 1.1.5
*/

* {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-color: #ffffff;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #000;
}

p {
  font-size: 1rem;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 1.2rem;
}

h3 {
  font-size: 1rem;
}

button {
  font-weight: 700;
  background-color: #ff2121;
  border: none;
  cursor: pointer;
  transition: 0.6s ease;
}

/* Eliminates Wordpress Defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.entry-content * {
  box-sizing: border-box;
}

.entry-content {
  all: unset;
}

.entry-content {
  display: block;
  width: 100%;
}

.entry-content figure,
.entry-content p,
.entry-content ul,
.entry-content ol {
  margin: 0;
}

.entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
}



/* General CSS Classes */
.flexcontainer {
  display: flex;
}

.flexcontainer.spaceevenly {
  justify-content: space-evenly;
}

.flexcontainer.centerchildren {
  justify-content: center;
}

.flexcontainer.flexlayout-squeeze {
  padding: 2rem;
  margin: 2rem;
}

.row {
  flex-direction: row;
}

.column {
  flex-direction: column;
}

.gridcontainer {
  display: grid;
}

.gridcontainer.gridlayout-dynamic {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-content: center;
}

.gridcontainer.gridlayout-2x2 {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.gridlayout-childsqueeze {
  width: 50px;
  justify-self: center;
}

.align-right {
  margin-left: auto;
}

.align-left {
  margin-right: auto;
}

.align-center {
  align-items: center;
}

/* General Text */
.txt-left {
  text-align: left;
}

.txt-center {
  text-align: center;
}

.txt-right {
  text-align: right;
}

.txt-restrict {
  max-width: 15rem;
}

.centercontent {
  align-self: center;
}

.txt-bold {
  font-weight: 600;
}

.txt-italics {
  font-style: italic;
}

.txt-red {
  color: #ff2121 !important;
}

.txt-white {
  color: #fff !important;
}


/* backgrounds */
.background-clear {
  background-color: none;
}

.background-white {
  background-color: #fff;
}

.background-merlingray {
  background-color: #f4f4f4;
}

.background-earlgray {
  background-color: #dcdcdc;
}

.background-fence {
  background-image: url('/img/fxbgfences-cleared/wooden-fence-boards.jpg');
  background-repeat: no-repeat;
  background-position: center -2rem;
  background-size: cover;
}

.background-fence2 {
  background-image: url('/img/fxbgfences-cleared/wooden-fence-boards.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


/* image manipulation */
.img-rounded {
  border-radius: 50%;
  object-fit: cover;
}




/* Advanced */
.txt-white.hover-over:hover {
  color: #000;
  transition: 0.6s ease;
}

button.hover-over:hover {
  background-color: #000;
  color: #fff;
  transition: 0.6s ease;
}


/* Header CSS Classes */
header {
  background-color: #c5e2ff;
  height: 20rem;
}

.header-fxbglogo {
  width: 5rem;
  padding-left: 20px;
  align-self: center;
}

.header-contactinfo {
  display: flex;
  flex-direction: row;
  justify-content: right;
  padding-bottom: 4rem;
  font-weight: 600;
}

.header-contactinfo-content {
  margin-right: 4rem;
}

.header-homeicon-container {
  align-self: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.header-dropdown {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
}

.header-dropdown-container h3 {
  height: auto;
  margin: auto;
}

.header-dropdown-top {
  position: relative;
  cursor: pointer;
  padding: 1rem;
}

.header-dropdown-content {
  visibility: hidden;
  position: absolute;
  background-color: #3b3b3b;
  top: 100%;
  transform: translateX(-16px)
}

.header-dropdown-content a {
  padding: 15px 100px 15px 20px;
  color: #fff;
}

.header-dropdown-content a:hover {
  background-color: #555555;
  transition: 0.6s ease;
}

.header-dropdown-top:hover .header-dropdown-content {
  visibility: visible;
}



.header-socials {
  margin-right: 10px;
  justify-content: space-evenly;
  align-items: center;
}

.header-socials img {
  width: 30px;
  margin-right: 10px;
}

.header-estimatebtn {
  justify-content: center; 
  align-items: center;
  width: 12rem;
  height: 5rem;
}

.header-estimatebox {
  margin-right: 10rem;
}

.header-fxbgtitle {
  margin-left: 5rem;
  font-weight: 600;
}

.header-fxbgtitle h2 {
  font-size: 20px;
}


/* Content CSS Classes */
.content-image {
  background-image: url('img/fence-home.jpg');
  background-position: center;
  background-size: cover;
  height: 600px;
}

.content-subimage {
  width: 50%;
}

.content-subimage2 {
  width: 80%;
  margin: 0 auto;
}

.content-subimage3 {
  width: 90%;
  margin: 0 auto;
}

.content-container {
  background-color: none;
  height: auto; 
  padding-top: 75px; 
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 100px;
}

.content-container div {
  padding-top: 20px;
}

.content-form * {
  border: none;
}

.content-form textarea {
  min-width: 100%;
  max-width: 100%;
  height: 6rem;
}

.content-form .gridcontainer.gridlayout-dynamic {
  column-gap: 20px;
}

.content-form .gridcontainer.gridlayout-dynamic div {
  height: 100%;
}

.content-form input {
  height: 30px;
}

.form-submitbtn {
  background-color: #ff2121;
  transition: 0.6s ease;
}

.form-submitbtn:hover {
  color: #fff;
  background-color: #000;
  transition: 0.6s ease;
}



.content-section {
  width: auto;
  height: auto;
  margin: 10px;
}

.content-section h1 {
  font-size: 4rem;
}

.content-section h2 {
  font-size: 1.7rem;
}

.content-section p,
.content-section ul,
.content-section a {
  font-size: 1.2rem;
}

.content-section ul {
  margin-left: 25px;
}

.content-section * {
  margin-bottom: 10px;
}



.content-announcement {
  padding: 10px;
  background-color: #ff2121;
}

.content-banner {
  height: 12rem; 
  text-align: center; 
  justify-content: center; 
  align-items: center;
}

.content-banner h1 {
  font-size: 2.75rem;
}

.content-banner a {
  margin-left: 5rem;
  width: 15rem;
  color: #000;
}

.content-banner p {
  font-size: 1rem;
  padding-top: 10px;
}

.content-banner button {
  height: 100%;
  width: 100%;
}

/* Gallary Logic */
.content-gallarycontainer {
  width: 100%;
  max-width: 1000px;
  height: 40rem;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.content-gallarycontent {
  width: auto;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 90%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.slide h2 {
  position: absolute;
  color: #ffffff;
  text-align: center;
}

.gallary-prev,
.gallary-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background-color: #3b3b3b5e;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

.gallary-prev { left: 10px; }
.gallary-next { right: 10px; }

.gallary-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  align-items: center;
  transform: translateX(-50%);
  gap: 8px;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #3b3b3b;
  opacity: 0.5;
  cursor: pointer;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.dot.active {
  opacity: 1;
  background: #ff2121;
}


/* care-maintenance page */
.content-border {
  max-width: 75%;
  overflow: hidden;
  border: #b1b1b1 solid 7px;
  border-radius: 1rem;
  align-self: center;
}

.content-care-maint-img {
  width: 100%;
  max-height: 300px;
  height: auto;
  object-fit: cover;
  object-position: 50% 0%;
}


/* Content Styles */
.contentstyle-squeeze {
  padding-left: 150px;
  padding-right: 150px;
}

.contentstyle-testimonial {
  margin: 1rem 6rem;
}



/* Footer CSS Classes */
footer {
  height: auto;
  padding-bottom: 200px;
}

footer * {
  margin-bottom: 10px;
}

footer h1 {
  font-size: 3.5rem;
}

footer h2 {
  font-size: 1rem;
}

footer p {
  font-size: 0.5rem;
}

.footer-subcontent {
  height: auto; 
  padding-top: 75px; 
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 100px;
}

.footer-subcontent p {
  font-size: 1.2rem;
}

.footer-socials {
  height: 20px;
  width: 20px; 
  margin-right: 15px
}

/* MEDIA QUERIES */

/* 4k Monitors */
@media (max-width: 240em) {
  .content-care-maint-img {
    object-position: 50% 10%;
  }
}

/* Landscape Tablets */
@media (max-width: 75em) {
  h1 {
    font-size: 3rem;
  }

  .header-fxbgtitle h2 {
    font-size: 14px;
  }

  p {
    font-size: 0.7rem;
  }


  /* Header CSS Classes */
  header {
    height: 15rem;
  }

  .header-homeicon {
    width: 20px;
  }

  .header-dropdown-content a {
    padding: 10px 50px 10px 20px;
    font-size: 0.9rem;
  }

  .header-socials img {
    width: 20px;
  }


  /* Content CSS Classes */
  .content-image {
    height: 20rem;
  }

  .content-banner {
    height: 9rem;
  }

  .content-banner h1 {
    font-size: 2rem;
  }

  .content-section h1 {
    font-size: 3rem;
  }

  .content-section h2 {
    font-size: 1.2rem;
  }

  .content-section p,
  .content-section ul,
  .content-section a {
    font-size: 0.9rem;
  }

  /* Footer CSS Classes */
  footer h1 {
    font-size: 2rem;
  }

  footer h2 {
    font-size: 0.7rem;
  }

  .footer-subcontent p {
    font-size: 0.7rem;
  }

  .footer-socials {
    height: 15px;
    width: 15px;
  }
}

/* Tablets */
@media (max-width: 59em) {
  /* Header CSS Classes */
  .header-fxbgtitle {
    margin-left: 2rem;
  }

  .header-dropdown {
    height: 3rem;
  }

  .header-dropdown-container {
    gap: 0px;
  }

  .header-dropdown-container h3 {
    font-size: 0.55rem;
  }

  .header-estimatebtn {
    height: 3rem;
    width: 7.4rem;
  }

  .header-estimatebtn p {
    font-size: 0.7rem;
  }

  .header-socials img {
    width: 15px;
  }

  /* Start of Content CSS */
  .content-banner h1 {
    font-size: 1.3rem;
  }

  .contentstyle-squeeze {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* Smaller Tablets */
@media (max-width: 44em) {
  /* General CSS CLasses */
  .flexcontainer.flexdynamic {
    flex-direction: column;
  }


  .gridcontainer.gridlayout-2x2 {
    grid-template-columns: 1fr;
  }

  .gridcontainer.gridlayout-dynamic {
    grid-template-columns: 1fr;
    grid-template-rows: 1;
  }

  .mobile-hide {
    display: none;
  }

  /* Start of Header CSS Classes */
  .header-contactinfo-content {
    margin-right: 2rem;
  }

  .header-homeicon-container {
    padding-left: 0rem;
    padding-right: 0rem;
  }

  .header-estimatebtn {
    width: 3.2rem;
  }

  .header-estimatebtn p {
    font-size: 0.5rem;
  }

  /* Start of Content CSS Classes*/
  .content-gallarycontainer {
    max-height: 27rem;
  }
}

/* Phone Screens */
@media (max-width: 34em) {
  h1 {
    font-size: 2rem;
  }

  .txt-restrict {
    max-width: 100%;
  }

  h2.txt-title {
    padding-bottom: 25px;
    font-size: 1.8rem;
  }

  .flexcontainer.flexlayout-squeeze {
    padding: 1rem;
    margin: 1rem;
    align-items: center;
  }

  /* Start of header CSS Classes */
  .header-contactinfo {
    justify-content: space-around;
  }

  .header-fxbglogo {
    padding-left: 10px;
    padding-right: 10px;
  }

  .header-contactinfo-content {
    margin-right: 0rem;
  }

  .header-dropdown-top {
    padding: 0.5rem;
  }

  .header-dropdown-content {
    transform: translateX(-9px);
  }

  .header-dropdown-content a {
    width: 100%;
    padding: 12px 25px 12px 20px;
    font-size: 0.7rem;
  }


  /* Start of content CSS classes */
  .content-banner h1 {
    font-size: 1rem;
  }

  .content-banner a {
    width: 8rem;
    margin-left: 0.3rem;
    margin-right: 10px;
  }

  .content-banner p {
    font-size: 0.7rem;
  }

  .content-subimage {
    width: 100%;
  }

  .content-subimage2 {
    width: 100%;
  }

  .content-subimage3 {
    width: 100%;
    align-self: center;
  }

  .content-border {
    max-width: 100%;
    border-width: 5px;
  }

  .contentstyle-squeeze {
    padding-left: 25px;
    padding-right: 25px;
  }

  .contentstyle-testimonial {
    margin: 1rem 2rem;
  }

  /*
  .content-gallarycontainer {
    max-height: 20rem;
  }

  .content-gallarybuttons {
    bottom: 10px;
  } */

  .content-gallarycontainer {
    max-height: 25rem;
  }

  .content-container.content-gallarycontainer {
    padding: 0;
  }

  .slide h2 {
    margin-bottom: 10px;
  }

  .gallary-prev,
  .gallary-next {
    transform: translateY(-35%);
    font-size: 1.2rem;
  }

  .gallary-dots {
    gap: 5px;
  }
}