/*
 Theme Name:   Texas Pools
 Template:     twentytwenty
 Author: Zain
*/
 

/* =================================================================== */
/* ========== Default ========== */
/* =================================================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  }

  body {
	font-family: "Playfair Display", serif;
	
  }

  a {
	text-decoration: none;
	color: inherit;
	transition: 0.5s;
  }
  p{
	font-size: 18px;
	font-weight: 400;
	color: #333333;
	line-height: 26px;
	padding-bottom: 15px;
	font-family: "Lato", sans-serif;
  }
.cst-text-top {
	letter-spacing:3px;
	text-transform:uppercase;
}
.single-left ul{
	margin-left:20px;
	margin-bottom:15px;
}
.single-left ol{
	margin-left:20px;
	margin-bottom:15px;
}
.single-left li{
	font-size: 18px;
	font-weight: 400;
	color: #333333;
	line-height: 26px;
	font-family: "Lato", sans-serif;
  }

.manual-list li strong{
	font-size:20px;
	margin-bottom:5px;
}
.manual-list li{
	margin-bottom:15px;
}
  h1{
	font-size: 62px;
	line-height: 72px;
	color: #323471;
	margin-bottom: 30px;
  }
#rev_slider_1_1_forcefullwidth h1 {
/*   text-shadow: 0px 0px 4px #000,0px 0px 4px #000,0px 0px 4px #000,0px 0px 4px #000 !important; */
	text-shadow:0px 0px 15px #323471;
	padding-left:20px;
	font-weight:400 !important;
}
  h2{
	font-size: 52px;
	line-height: 60px;
	color: #009291;
	margin-bottom: 20px;
  }
  h3{
	font-size: 42px;
	line-height: 50px;
	color: rgb(95, 131, 255);
	margin-bottom: 20px;
  }
  h4{
	font-size: 32px;
	line-height: 40px;
	color: #5f83ff;
	margin-bottom: 20px;
  }
  .book-btn{
	color: #323471 !important;
	background: #a9fdac;
	display: inline-block;
	margin-top: 10px;
	padding: 15px 35px;
	font-size: 18px;
	font-weight: 700;
	border-radius: 8px;
	font-family: "Lato", sans-serif;
	text-shadow: none !important;
  }
  .book-btn:hover{
	background: #1f51ff;
	color: #fff !important;
  }
  .btn-icn {
	margin-left: 8px;
	color: #323471 !important;
  }
  .book-btn:hover .btn-icn {
	color: #fff !important;
  }

.dark-btn{
	background: #1f51ff;
	color: #fff !important;
}
.dark-btn:hover{
	color: #323471 !important;
	background: #a9fdac;
}
.dark-btn .btn-icn {
	color: #fff !important;
  }
 .dark-btn:hover .btn-icn {
	color: #323471 !important;
  }
  
.shadow-text{
	text-shadow:2px 2px 4px rgba(0, 0, 0, 0.5);
}
.shadow-text p{
	color: #fff;
}
  
.alignright {
	text-align: right;
	float: right;
	width: 400px;
	height: auto;
	margin-left: 15px;
	margin-bottom: 10px;
  }
.gmedia_header {
  display: none;
}
.page-id-5 .footer-top {
  display: none;
}
/* =================================================================== */
/* ========== Header CSS ========== */
/* =================================================================== */
#header {
  background:
rgba(50,52,113,0.7) !important;
  position: absolute;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
	padding:10px 15px;
	box-sizing:border-box;
}
.color-change{
	position:fixed !important;
	top: 0px;
  transition:
0.5s;
	z-index:3;
}
.head-left img{
	width:340px;
}
#header .book-btn{
	margin-top:0px;
}
  #mega-menu-wrap-primary {
    background:
transparent;
  }

.head-center {
  font-family: "Lato", sans-serif;
  font-weight: 600;
}
  

/* =================================================================== */
/* ========== Homepage CSS ========== */
/* =================================================================== */
.main-heading-width{
	max-width:
}
.gmedia_UltraBox_JustifiedCollection_Item img {
  border-radius:
8px;
}

.thumb-inner-box {
  position: relative;
	text-align:center;
	height:505px;
}
/* .thumb-inner-box:hover {
  transform: scale(1.1) !important;
  transition:0.5s;
  z-index: 2;
} */
.thumb-inner-box img {
  width: 100%;
  height: 505px;
  object-fit: cover;
}
.thumb-inner-box strong {
  position: absolute;
  z-index: 1;
  top: 30%;
	left:27%;
  width: 100%;
  display: block;
  color: #fff;
  border:5px solid #fff;
  padding:80px 20px;
  box-sizing: border-box;
  max-width: 370px;
  
  border-radius:10px;
  font-size: 32px;
  text-shadow: 0px 0px 4px #000,0px 0px 4px #000,0px 0px 4px #000,0px 0px 4px #000;
  box-shadow: 1px 1px 4px #000,1px 1px 4px #000,0px 0px 4px #000,0px 0px 4px #000;
}


.review-text .wpb_wrapper{
	display: flex;
	justify-content: space-between;
	gap: 25px;
	font-family: "Lato", sans-serif;
}
.review-text .wpb_wrapper div{
	color: #333;
	font-size: 18px;
}
.user-name{
	color: #323471;
	font-family: "Playfair Display", serif;
}
.review-box {
  width: 33%;
}
.consult-row{
	position: relative;
	height: auto;
	padding: 100px 0px;
	background-image: url('https://www.texaspools.com/wp-content/uploads/2025/05/consult-bg-new.jpeg'); 
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}
.book-col{
	max-width: 500px;
}
.book-col h3{
	margin-bottom: 10px;
	font-size: 40px;
}
.book-col p{
	font-size: 20px;
	line-height: 28px;
	padding-bottom: 10px;
}
/* =================================================================== */
/* ========== Inner Page CSS ========== */
/* =================================================================== */
#inner-page{
	padding: 70px 0px;
}
.container {
	width: 100%;
	margin: 0 auto;
	max-width: 950px;
	padding: 0 15px;
	box-sizing: border-box;
}
.page-id-5 .container {
	width: 100%;
	margin: 0 auto;
	max-width: 100%;
	padding: 0px 0px;
	box-sizing: border-box;
}
#rev_slider_1_1_forcefullwidth  h1{
	font-size: 80px;
	line-height: 95px;
	color: #fff;
	margin-bottom: 25px;
  }
.page-id-5 #inner-page{
	padding: 0px 0px;
}
.page-id-5 .single-left {
	overflow: hidden;
}

.single-left a {
  color: #1f51ff;
}
.single-left a:hover {
  color: #009291;
}

.pool-box {
	box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
	padding-bottom: 10px;
	text-align: center;
	border-radius:8px;
  }
  .pool-box img{
	width: 100%;
	height: 220px;
	object-fit: cover;
	margin-bottom: 5px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}
.pool-box strong{
	color: #009291;
	font-size: 22px;
}
.pool-box:hover strong{
	color: #fff;
	font-size: 22px;
}
.pool-box:hover {
	transform: scale(1.1) !important;
	transition: 0.5s;
  background: #009291;
  }
.team-box img{
	height:270px;
}
.team-box:hover strong{
	color:#009291;
}
.team-box:hover {
  transition:
none;
  transform: none !important;
  background:
#fff;
}

.swimming-page-box{
	box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
	text-align: center;
}
.swimming-page-box img{
	width: 100%;
	height: 330px;
	object-fit: cover;
	margin-bottom: 10px;
	background: #2B4462;
}
.swimming-page-box:hover h4{
	color: #51A9DA;
}
.swimming-page-box h4:hover{
	color: #51A9DA;
	transition: .5s;
}
.swimming-page-box a:hover{
	text-decoration: none;
	color: #51A9DA;
}
.heading-space h4{
	padding-top: 5px;
	padding-bottom: 10px;
}
.bg-parallax {background-attachment: fixed;}
/* =================================================================== */
/* ========== Footer CSS ========== */
/* =================================================================== */
.footer-top{
	padding: 15px 0px;
}
.footer-top img{
	width: 100%;
	height: auto;
}
.main-footer {
	position: relative;
	height: auto;
	padding: 100px 0px;
	background-image: url('https://www.texaspools.com/wp-content/uploads/2025/04/footer-bg.webp'); /* Replace with your image path */
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
  }
  
  .main-footer .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(31, 81, 255, 0.8); 
	
	z-index: 0;
  }
  .main-footer .container {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
	width: 100%;
	z-index: 1;
	position: relative;
  }
  .main-footer .footer-box {
	display: flex;
	justify-content: space-between;
	gap: 20px;
  }
  .main-footer h3{
	color: #fff;
	font-size: 24px;
	line-height: 32px;
	font-weight: 400;
	border-bottom: 1px solid #fff;
  width: 100%;
  padding-bottom: 4px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  .main-footer h4{
	color: #fff;
	font-size: 20px;
	line-height: 28px;
	font-weight: 400;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  .main-footer p{
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	font-family: "Playfair Display", serif;
  }
  .footer-menu ul {
	margin-left: 10px;
  }
  .footer-menu li {
	list-style: none;
	margin-bottom: 5px;
  } 
  .footer-menu li a{
	font-size: 18px;
	color: #fff;
	line-height: 26px;
  } 
  .footer-menu li a:hover{
	text-decoration: underline;
  } 
.footer-menu .sub-menu {
  display: none;
}
  .box-one{
	width: 40%;
	padding-right: 10%;
	box-sizing: border-box;
  }
  .box-one .social-icons a {
	color: #3a53d7;
  background:#a9fdac;
  padding:6px 10px;
  box-sizing: border-box;
  margin-right: 8px;
  border-radius:99px;
  width: 38px;
  height: 38px;
  display: inline-block;
  }
  .box-one .social-icons a:hover{
	color: #a9fdac;
	background: #3a53d7;
  }
  .social-icons{
	text-shadow: none !important;
	margin-top: 20px;
  }
  .box-one img{
	width: 245px;
	height: auto;
  }
  .box-two {
	width: 30%;
	padding-right: 5%;
	box-sizing: border-box;
  }
  .box-three {
	width: 30%;
	padding-left: 5%;
	box-sizing: border-box;
  }  
  .box-three p{
	font-size: 22px;
	line-height: 30px;
  }
  .box-three p a{
	font-size: 22px;
	line-height: 30px;
	color: #fff;
  }
  .box-three p a:hover{
	text-decoration: underline;
  }

  .footer-btm{
	background: #323471;
	padding: 10px 0px;
	font-family: "Playfair Display", serif;
	
  }
  .footer-btm-content{
	display: flex;
	justify-content: space-between;
	align-items: center;
  }
  .footer-btm .container {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
	width: 100%;
	z-index: 1;
	position: relative;
  }
  .footer-btm p{
	font-size: 16px;
	font-weight: 400;
	color: #fff;
	padding-bottom: 0px;
	font-family: "Playfair Display", serif;
  }
  .footer-btm p a{
	color: #fff;
  }
  .footer-btm p a:hover{
	color: #fff;
	text-decoration: underline;
  }
  .footer-btm img{
	width: auto;
	height: 20px;
  }


.home-blogs {
  overflow:hidden;
}
.blog-box {
  width: 48%;
  float: left;
  margin:
1%;
  box-shadow: rgba(17,17,26,.1) 0 1px 1px,rgba(17,17,26,.1) 0 1px 24px,rgba(17,17,26,.1) 0 1px 1px;
  min-height: 590px;
}
.blog-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.blog-btm {
  padding:15px;
  padding-bottom: 40px;
}
.blog-detail-page h1 {
  text-align: center;
}
.blog-detail-page .attachment-post-thumbnail {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 15px;
}
.sm-bk-btn{
	font-size:15px;
	padding:12px 15px;
}
/* =================================================================== */
/* ========== Responsive CSS ========== */
/* =================================================================== */
@media (max-width: 1359px) {
	.head-left img {
  width: 250px;
}
	#header .book-btn {
  margin-top: 0px;
  font-size: 16px;
  padding:10px 20px;
}
	.thumb-inner-box strong {
  top: 28%;
	left: 24%;}
}

@media (max-width: 1279px) {
	.container{
	padding-left:15px;
	padding-right:15px;
	box-sizing:border-box;
	}
	.thumb-inner-box strong {
	left: 20%;}
}
}
@media (max-width: 1199px) {
button#responsive-menu-button {
    background:transparent;
  }
}


@media (max-width: 1024px) {
.box-one .social-icons a {
	padding:1px 5px;
	width: 28px;
	height: 28px;
  }
}
@media (max-width: 810px) {
	
	h1{
	font-size: 42px;
	line-height: 50px;
	margin-bottom: 20px;
  }
#rev_slider_1_1_forcefullwidth h1 {
  text-shadow: 0px 0px 4px #000,0px 0px 4px #000,0px 0px 4px #000,0px 0px 4px #000 !important;
	padding-left:20px;
}
  h2{
	font-size: 34px;
	line-height: 40px;
	margin-bottom: 15px;
  }
  h3{
	font-size: 26px;
	line-height: 34px;
	color: rgb(95, 131, 255);
	margin-bottom: 15px;
  }
  h4{
	font-size: 22px;
	line-height: 30px;
	color: #5f83ff;
	margin-bottom: 15px;
  }
	.thumb-inner-box strong {
  position: absolute;
  z-index: 1;
  top: 30%;
  left: 20%;
  width: 100%;
  padding:
40px 20px;
  box-sizing: border-box;
  max-width: 60%;
	}
	
.review-box {
  width: 100%;
}
	.review-text .wpb_wrapper{
		display:block;
	}
	nav {
	  display: none;
	}

	.menu-btn {
	  display: block;
	}

	.mobile-menu.show {
	  display: flex;
	}

	.slide-content h1 {
	  font-size: 28px;
	}

	.slide-content p {
	  font-size: 16px;
	}
	.main-footer{
		padding-bottom: 40px;
	}
	.main-footer .footer-box {
		display: block;
	}
	.box-one {
		width: 100%;
		padding-right: 0px;
		box-sizing: border-box;
		margin-bottom: 20px;
	  }
	  .box-two{
		display: none;
	  }
	  .box-three {
		width: 100%;
		padding-right: 0px;
		padding-left: 0px;
		box-sizing: border-box;
	  }
	  .footer-btm img{
		display: none;
	  }
  }

@media (max-width: 575px) {
 .head-left img {
    width: 150px;
}
	.head-right{
		margin-right:50px;
	}
	  #header .book-btn {
    margin-top: 0px;
    font-size: 12px;
		  padding:10px;
	}
	#header{
		padding-left:5px;
		padding-right:5px;
	}
	button#responsive-menu-button {
    width: 40px !important;
    height: 50px !important;
   
  }
	.blog-box {
  width: 98%;
  float: left;
  margin:
1%;
  box-shadow: rgba(17,17,26,.1) 0 4px 16px,rgba(17,17,26,.1) 0 8px 24px,rgba(17,17,26,.1) 0 16px 56px;
  min-height: auto;
}
	.award-about-img img {
  width: 120px !important;
  height: auto !important;
  margin-left: 8px;
}
	.video-stl{
		width:100% !important;
		height:auto !important;
	}
	.video-stl video{
		width:100% !important;
		height:auto !important;
	}
	
	.thumb-inner-box strong {
  position: absolute;
  z-index: 1;
  top: 30%;
  left: 15%;
  width: 100%;
  padding:
40px 10px;
  box-sizing: border-box;
  max-width: 70%;
		font-size:24px;
	}
}