/* ------------ Google Fonts ------------ */

.header-style {
  font-family: 'Roboto Condensed', sans-serif;    
}

.p-style {
  font-family: 'Roboto', sans-serif;
}

.menu-style {
  font-family: 'Roboto Condensed', sans-serif;
}

.thin-style {
  font-family: 'Roboto Condensed', sans-serif;
}

.maname-regular {
  font-family: "Maname", serif;
  font-weight: 400;
  font-style: normal;
}


/* ------------ Navbar Background Blur ------------ */
.bg-black-t {
    /* Transparency */
    background: rgba(0, 0, 0, 0.5);
}

/* ------------ Navbar 4D Size ------------ */
.font-lg {
  font-size: 60px;
  color: #56c1ff;
}

.head-text-margin {
  margin-bottom: 0px;
}

/* ------------ Nav Height ------------ */
.h-28{
  height: 28px;
}



@media (max-width: 998px) { 
  .nav-custom {
    height: 104px;
  };      
}

@media (min-width: 998px) { 
  .nav-custom {
    height: 88px;
  };      
}

.logo-v-space {
  margin-top: -10px;
  margin-bottom: -10px;
}

.slide-center {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.slide-center-nav {
  position: relative;
  left: 20%;
  transform: translateX(-80%);
}

/* ------------ Header Padding Small Screen ------------ */
@media (max-width: 750px) { 
  .header-mar-sm {   
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 20px;
    margin-right: 20px;
  };      
}

@media (min-width: 750px) { 
  .header-mar-sm {   
    margin-top: 50px;
    margin-bottom: 50px;
  };      
}

.overlay-container {
    position: relative;
  }

.overlay-content {
  background-color: rgba(0, 0, 0, 0.3); /* Black with 50% transparency */
}

.screen-mp {
  z-index: 2; /* Ensures text is above the overlay */
}

/* ------------ Screen Size Text Margin and Padding ------------ */
@media (max-width: 992px) { 
  .screen-mp{   
    padding: 1rem !important;    
  };      
}

@media (min-width: 992px) { 
  .screen-mp{   
    padding: 3rem !important;
    margin: 0.5rem !important;
  };      
}

/* ------------ Hide on Small Screen ------------ */
@media (max-width: 750px) { 
  .hide-small {   
    display: none;
  };      
}

/* ------------ Hide on Medium Screen ------------ */
@media (max-width: 992px) { 
  .hide-medium {   
    display: none;
  };      
}

/* ------------ Hide on Large Screen ------------ */
@media (min-width: 992px) { 
  .hide-large {   
    display: none;
  };      
}

/* ------------ Small Screen Contact Us Button Center ------------ */
@media (min-width: 992px) { 
  .sm-button-center{   
    margin-left: 1rem;
  };      
}

/* ------------ Small Screen Text Center ------------ */
@media (max-width: 992px) { 
  .sm-text-center{   
    text-align: center;
  };      
}

/* ------------ Centering Form Fields ------------ */
@media (max-width: 575.98px) { 
  .center-form {
    margin: auto;
    width: 100%;
    text-align: center;
  };      
}

@media (min-width: 576px) { 
  .center-form {
    margin: auto;
    width: 90%;
    text-align: center;
  };
}

@media (min-width: 992px) { 
  .center-form {
    margin: auto;
    width: 90%;
    text-align: left;
  };
}

@media (min-width: 1200px) { 
  .center-form {
    margin: auto;
    width: 80%;
    text-align: left;
  };
}

@media (min-width: 1400px) { 
  .center-form {
    margin-left: 40px;
    width: 70%;
    text-align: left;
  };
}

@media (min-width: 1600px) { 
  .center-form {
    margin-left: 20px;
    width: 60%;
    text-align: left;
  };
}

@media (min-width: 1800px) { 
  .center-form {
    margin-left: 20px;
    width: 50%;
    text-align: left;
  };
}

@media (min-width: 2000px) { 
  .center-form {
    margin-left: 20px;
    width: 50%;
    text-align: left;
  };
}

/* ------------ Centering Form Fields ------------ */
@media (max-width: 575.98px) { 
  .bg-dark-red-cover {
  background: linear-gradient(90deg, rgba(30,38,59,1) 0%, rgba(30,38,59,0.3) 50%);
  margin-bottom: -16px;
  };      
}

@media (min-width: 576px) { 
  .bg-dark-red-cover {
  background: linear-gradient(90deg, rgba(30,38,59,1) 0%, rgba(30,38,59,0.3) 50%);
  margin-bottom: -16px;
  };
}

@media (min-width: 992px) { 
  .bg-dark-red-cover {
  background: linear-gradient(90deg, rgba(30,38,59,1) 0%, rgba(0,0,0,0) 80%);
  margin-bottom: -16px;
  };
}

@media (min-width: 1200px) { 
  .bg-dark-red-cover {
  background: linear-gradient(90deg, rgba(30,38,59,1) 0%, rgba(0,0,0,0) 90%);
  margin-bottom: -16px;
  };
}

@media (min-width: 1400px) { 
  .bg-dark-red-cover {
  background: linear-gradient(90deg, rgba(30,38,59,1) 0%, rgba(0,0,0,0) 90%);
  margin-bottom: -16px;
  };
}

@media (min-width: 1600px) { 
  .bg-dark-red-cover {
  background: linear-gradient(90deg, rgba(30,38,59,1) 0%, rgba(0,0,0,0) 95%);
  margin-bottom: -16px;
  };
}

@media (min-width: 1800px) { 
  .bg-dark-red-cover {
  background: linear-gradient(90deg, rgba(30,38,59,1) 0%, rgba(0,0,0,0) 100%);
  margin-bottom: -16px;
  };
}

@media (min-width: 2000px) { 
  .bg-dark-red-cover {
  background: linear-gradient(90deg, rgba(30,38,59,1) 0%, rgba(0,0,0,0) 100%);
  margin-bottom: -16px;
  };
}

.img-h {
  height: 80px;
}

.img-h-2 {
  height: 300px;
}

/* ------------ Background Images ------------ */
.bgimg {
    background-image: url('https://s3.amazonaws.com/tristatepoolcompany.com/assets/img/jpg/pool1.JPG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bgimg2 {
    background-image: url('https://s3.amazonaws.com/tristatepoolcompany.com/assets/img/jpg/pool2.JPG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bgimg3 {
    background-image: url('https://s3.amazonaws.com/tristatepoolcompany.com/assets/img/jpg/pool3.JPG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bgimg4 {
    background-image: url('https://s3.amazonaws.com/tristatepoolcompany.com/assets/img/jpg/pool4.JPG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bgimg5 {
    background-image: url('https://s3.amazonaws.com/tristatepoolcompany.com/assets/img/jpg/house5.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bgimg6 {
    background-image: url('https://s3.amazonaws.com/tristatepoolcompany.com/assets/img/jpg/house6.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bgimg7 {
    background-image: url('https://s3.amazonaws.com/tristatepoolcompany.com/assets/img/jpg/house7.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bgimg8 {
    background-image: url('https://s3.amazonaws.com/tristatepoolcompany.com/assets/img/jpg/house8.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bgimg-min {
  min-height: 625px;
}

@media (min-width: 992px) { 
  .bgimg-min {
    min-height: 625px;
  };
}

@media (min-width: 1200px) { 
  .bgimg-min {
    min-height: 625px;
  };
}

@media (min-width: 1400px) { 
  .bgimg-min {
    min-height: 625px;
  };
}

@media (min-width: 1600px) { 
  .bgimg-min {
    min-height: 625px;
  };
}

@media (min-width: 1800px) { 
  .bgimg-min {
    min-height: 700px;
  };
}


.bgimg-full {
  min-height: 100vh;
}

.bgimg-75 {
  min-height: 75vh;
}

.bgimg-half {
  min-height: 50vh;
}

/* ------------ Custom Buttons ------------ */
.btn-tri-state {
    color: #000;
    background-color: #fff;
    border-radius: 0px;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
    min-width: 350px;
}
.btn-tri-state:hover {
    color: #000;
    background-color: #dee2e6;
}

.btn-tri-state-2 {
    color: #fff;
    background-color: #2697E1;
    border-color: #fff;
}
.btn-tri-state-2:hover {
    color: #fff;
    background-color: #436399;
    border-color: #fff;
}

.btn-tri-state-3 {
    color: #2697E1;
    background-color: #fff;
    border-color: #2697E1;
}
.btn-tri-state-3:hover {
    color: #fff;
    background-color: #2697E1;
    border-color: #2697E1;
}

.btn-tri-state-dark {
    color: #fff;
    background-color: #436399;
    border-color: #436399;
}
.btn-tri-state-dark:hover {
    color: #fff;
    background-color: #21314c;
    border-color: #21314c;
}

.btn-tri-state-wildlife {
    color: #fff;
    background-color: #E95902;
    border-color: #E95902;
}
.btn-tri-state-wildlife:hover {
    color: #fff;
    background-color: #8b3501;
    border-color: #8b3501;
}

.btn-tri-state-green {
    color: #fff;
    background-color: #00713c;
    border-color: #00713c;
}
.btn-tri-state-green:hover {
    color: #fff;
    background-color: #004324;
    border-color: #004324;
}

.btn-tri-state-nav {
    color: #fff;
    background-color: #2697E1;
    border-color: #2697E1;
    border-radius: 50px;
}
.btn-tri-state-nav:hover {
    color: #fff;
    background-color: #222222;
    border-color: #222222;
    border-radius: 50px;
}

.btn-review {
    color: #000;
    background-color: #f8f9fa ;
    border-color: #f8f9fa ;
}
.btn-review:hover {
    color: #000;
    background-color: #c6c7c8;
    border-color: #c6c7c8;
}

.btn-red-dark {
    color: #fff;
    background-color: #2697E1;
    border-color: #fff;
}
.btn-red-dark:hover {
    color: #fff;
    background-color: #8c2025;
    border-color: #fff;
}

.btn-form {
  color: #efefef;
  background-color: #a9a19b;
  border-color: #7F7B6F;
  width: 100%;
  border-radius: 0px;
}

.btn-form:hover {
  color: #fff;
  background-color: #45483D;
  border-color: #7F7B6F;
  width: 100%;
}

::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* ------------ Custom Form Fields ------------ */
.form-red-dark,
.form-red-dark:focus {
  color: #fff;
  background-color: #8f3316;
  border-color: #8f3316;
}

.form-blue-dark,
.form-blue-dark:focus {
  color: #fff;
  background-color: #075082;
  border-color: #dee2e6;
}

.form-grey-dark,
.form-grey-dark:focus {
  color: #000;
  background-color: #a9a19b;
  border-color: #7F7B6F;
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
  border-radius: 0px;
}

/* ------------ Center Objects ------------ */
.center {
margin: auto;
width: 70%;
}

/* ------------ Bottom Text ------------ */
.bottom-text {
  margin-top: 30vh;
}

/* ------------ Center Google Partner ------------ */
.center-google {
margin: auto;
}

.margin-top-full {
  margin-top: 10vh;
}

/* ------------ Custom Form Text ------------ */
.form-text {
  color: #efefef;
}

/* ------------ Background Colors ------------ */
.bg-tri-state {
    background-color: #2697E1 !important;
}

.bg-tri-state-2 {
    background-color: #87C9F5 !important;
}

.bg-tri-state-3 {
    background-color: #065D96 !important;
}

.bg-tri-state-4 {
    background-color: #F4B400 !important;
}

.bg-tri-state-5 {
    background-color: #F28C28 !important;
}

.bg-tri-state-6 {
    background-color: #F5F9FB !important;
}

.bg-tri-state-7 {
    background-color: #E2EEF5 !important;
}

.bg-tri-state-8 {
    background-color: #2D2D2D !important;
}

.bg-tri-state-9 {
    background-color: #5AD0C4 !important;
}

.bg-tri-state-10 {
    background-color: #C2F2EF !important;
}



/* ------------ Vertical Div Spacing ------------ */
.vertical-div-spacing {
    margin-top: 3em;
    margin-bottom: 3em;
}

.vertical-div-spacing-2 {
    margin-top: 8em;
    margin-bottom: 8em;
}

.header-vertical-div-spacing {
    margin-top: 2em;
}

@media (max-width: 575px) { 
  .min-h-400 {
    min-height: 275px;
  };
}

@media (min-width: 576px) { 
  .min-h-400 {
    min-height: 150px;
  };
}

@media (min-width: 992px) { 
  .min-h-400 {
    min-height: 450px;
  };
}

@media (min-width: 1200px) { 
  .min-h-400 {
    min-height: 350px;
  };
}

@media (min-width: 1400px) { 
  .min-h-400 {
    min-height: 300px;
  };
}


.min-h {
  min-height: 300px;
}

.min-h-200 {
  min-height: 250px;
}

.min-h-500 {
  min-height: 500px;
}

.min-h-700 {
  min-height: 700px;
}

.max-w-600 {
  max-width: 600px;
}

/* ------------ Text Colors ------------ */
.text-tri-state {
    color: #a9a19b !important;
}

.text-blue {
    color: #1c537f !important;
}

.text-tri-state-dark {
    color: #222222;
}

/* ------------ Red Text ------------ */
.red-text {
  color: #2697E1;
}

/* ------------ Vertical Line ------------ */
.vertical-line {
    padding-left: 1rem;
    border-left: 1px solid #212529 !important;
}

.vertical-line-grey {
    padding-left: 1rem;
    border-left: 1px solid #bdbdbd !important;
}

/* ------------ Center Image ------------ */
.center-img {
display: flex;
justify-content: center;
vertical-align: middle;
}

/* ------------ Custom Image Size ------------ */
.img-size {
  width: 300px;
  height: 300px;
  vertical-align: middle;
  border-radius: 25px;
}

/* ------------ Center Services Text ------------ */
.center-services {
margin: auto;
width: 100%;
margin-top: 50px;
}

/* ------------ Red Text Color ------------ */
.svg-red {
  color: #2697E1;
}

/* ------------ Custom Rounded Shape ------------ */
.custom-rounded {
  border-radius: 25px;
}

/* ------------ Custom Red Circle ------------ */
.circle-svg-red {
  color: #ffffff;
  background-color: #2697E1;
  border: solid 2px #ffffff;
  border-radius: 100px;
  padding: 15px;
  width: 100px;
}

/* ------------ Nav Dropdown ------------ */
.dropdown {
    position:static; !important;
}

.navbar {
  transition: top 0.5s ease-in-out;
}

/* ------------ Custom Nav Dropdown Color ------------ */
@media (max-width: 999.99px) {
  .nav-link-tri-state {
    color: #000 !important;
  }
  .nav-link-tri-state:focus,
  .nav-link-tri-state:hover {
    color: #000 !important;
    text-decoration: underline 5px #2697E1;
  };
}

@media (min-width: 1000px) {
  .nav-link-tri-state {
    color: #fff !important;
    border: solid 1px;
    
  }
  .nav-link-tri-state:focus,
  .nav-link-tri-state:hover {
    background-color: #2697E1;
    
  };
}


.nav-link-tri-state-pools {
  color: #000 !important;
}
.nav-link-tri-state-pools:focus,
.nav-link-tri-state-pools:hover {
  color: #000 !important;
  text-decoration: underline 5px #2697E1;
}




.custom-item-tri-state:focus,
.custom-item-tri-state:hover {
  background-color: #2697E1;
}

/* ------------ Header Top Spacing ------------ */
.header-vert-space {
  padding-top: 150px;
  padding-bottom: 50px;
}

/* ------------ Custom Nav Dropdown ------------ */
.nav-link {
  text-align: center;
}
.custom-item:focus,
.custom-item:hover {
  color: #ffffff;
}
.custom-line {   
  display: inline-block;
  align-items: center;
  margin-left: 5px;
  margin-right: 5px;
}

@media (max-width: 575.98px) {
  .nav-link {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .nav-link:focus,
  .nav-link:hover {
    text-underline-offset: 8px;
  }
  .nav-center {
    text-align: center;
    margin-top: 10px;
  }
  .custom-dropdown {
    background-color: transparent;
    border: transparent;
  }
  .custom-box {
    background-color: none;
    border: none; 
  }
  .custom-item {
    background-color: #ffffff;
    width: 150px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  };      
}

@media (min-width: 576px) { 
  .nav-link {
    margin-top: 20px;
    margin-bottom: 20px;
    min-width: 100px;
  }
  .nav-link:focus,
  .nav-link:hover {
    text-underline-offset: 8px;
  }
  .nav-center {
    text-align: center;
  }
  .custom-dropdown {
    margin-top:0px !important;
    width:100% !important;
    
    padding: 10px;
  }
  .custom-box {
    background-color: #EBEBF5;
    border: solid 1px #dee2e6;
    border-radius: 25px;
    padding: 20px;
  }
  .custom-item {
    background-color: #ffffff;
    width: 150px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  };
}

@media (min-width: 992px) { 
  .nav-link {
    margin-top: 5px;
    margin-bottom: 5px;
    min-width: 150px;
  }
  .nav-link:focus,
  .nav-link:hover {
    text-underline-offset: 18px;
  }
  .custom-dropdown {   
    width:70% !important;
    border-top: 1px solid #EBEBF5;
    border-radius: 0px 0px 25px 25px;
    margin-left: 15%;
  };
}

@media (min-width: 1200px) {
  .nav-link {
    min-width: 200px;
  }  
  .custom-dropdown {    
    width:60% !important;    
    margin-left: 20%;    
  }  
  .custom-item {    
    padding-top: 20px;
    padding-bottom: 20px;
  };
}

@media (min-width: 1600px) {   
  .custom-dropdown {
    width:50% !important;
    margin-left: 25%;
  };
}



/* ------------ Footer Link ------------ */
.footer-link {
  color: #efe;
  text-decoration: none;
}

.footer-link:hover {
  color: #a9a19b;
  text-decoration: underline;
}

/* ------------ Square Button ------------ */
.square-button-text {
    color: #2697E1 !important;
}

.square-button-text:focus,
.square-button-text:hover {
    color: #ffffff !important;
}

.square-button-text.active,
.square-button-text:active {
    color: #2697E1;
    text-decoration: none;
    background-color: transparent;
}

.btn-square {
    background-color: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
    border-radius: 25px !important;
    margin: 1rem 1rem 1rem 1rem !important;
    padding: 1rem 0rem 0rem 0rem !important;
    width: 8rem;
    display: block;
    text-decoration: none;
}

.btn-square:focus,
.btn-square:hover {
    background-color: #2697E1 !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
    border-radius: 25px !important;
}

.box-center {
  background-color: #ffffff !important;
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
  border-radius: 15px 15px 15px 15px !important; 
  text-decoration: none;
  text-align: center;
  width: 200px;
  padding: 25px;
}

.overlap-up {
  margin-top: -95px;
}

@media (max-width: 575.98px) { 
  .align-xs-items{   
    flex: 0 0 auto;
    width: 50%;
  };      
}

.rounded-box {
  background-color: #ffffff !important;
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
  border-radius: 15px 15px 15px 15px !important; 
  text-decoration: none;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 25px;
}

.min-h-260 {
  min-height: 260px;
}

.box-width {
  max-width: 400px;
}

.profile-box {
  background-color: #ffffff !important;
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
  border-radius: 15px 15px 15px 15px !important; 
  text-decoration: none;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 25px;
  min-height: 580px;
}

/* ------------ Rounded Image ------------ */

.rounded-image {
  border-radius: 25px;
}






.header-text-shadow {
    text-shadow: 1px 1px 5px #000000;
}

::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* ------------ All Rights Text Size Mobile ------------ */
@media (max-width: 575.98px) { 
  .all-rights {
    font-size: 0.75em;
  };
}

/* ------------ Webaam Logo Bottom ------------ */

.logo-bottom {
    width: 100px;
    height: 35px;
    position: relative;
    display: inline-block;
}

.max-w-500 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.circle-border {
  margin: auto;
  width: 200px;
  border-radius: 50%;
  border-color: #1c537f !important;
}

.rounded-box-grey {
  background-color: #EBEBF5 !important;
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
  box-shadow: 1px 5px 6px #6f7173, -1px 5px 6px #6f7173 !important;
  border-radius: 15px 15px 15px 15px !important; 
  text-decoration: none;
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 25px;
  max-width: 450px;
}

.dropdown-menu {
  background-color: #EBEBF5 !important; 
}

.phone-button {
  max-width: 300px;
}

.neg-vert-align {
  margin-top: -220px;
}

.neg-vert-align-nav {
  margin-top: -50px;
}

@media (min-width: 768px) {
  .fill {
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden
  }
  .fill img {
      flex-shrink: 0;
      min-width: 100%;
      min-height: 100%
  };
}



@media (max-width: 575px) { 
  .pic-height {
    max-height: 100vh;
  };
}

@media (min-width: 576px) { 
  .pic-height {
    max-height: 100vh;
  };
}

@media (min-width: 992px) { 
  .pic-height {
    max-height: 100vh;
  };
}

@media (min-width: 1200px) { 
  .pic-height {
    max-height: 100vh;
  };
}

@media (min-width: 1400px) { 
  .pic-height {
    max-height: 100vh;
  };
}
