/*css file for Midland Fire Sprinklers */

html { scroll-behavior: smooth; }

* {
  box-sizing: border-box;
  }

.img_container{ /*img container for scolling images section of site*/
position:relative;
color:white;
size:12px;
}

.scroll_item{
/*position text bottom left of image container*/
border:solid 10px blue;
z-index:100;
}

.btnytclose{
font-size:14px;
font-weight:400;
background-color:var(--primary);
color:white;
font-weight:400;
border:solid black 1px;

padding:0;
margin:0;
height:50px;
width:100%;
}


.response table{
width:100%;
table-layout:fixed;
border-collapse:collapse;
}

.response th,td{
font-size:10px;
text-align:center;
border-bottom:solid 1px var(--blue);
border-collapse:collapse;
padding:10px;
}

.response th{
background-color:var(--light_blue);
color:var(--grey);
width:30%;
}

.response caption{
color:var(--grey);
}

.response input{
height:48;
padding:10px;
width:300px;
font-size:18px;
border:solid 1px var(--blue);
display:block;
margin:auto;
margin-bottom:10px;
}

.response button{
height:48;
padding:10px;
width:300px;
margin:10px;
font-size:16px;
background-color:var(--blue);
color:white;
border:none;
display:block;
margin:auto;
}

.response .ifcontainer{
 display:flex;
 align-items:center;
 justify-content:center;
 position:relative;
 width:100%;
 height:0;
 padding-bottom: 177.77%;
}

.response .ifcontainer iframe{
position:absolute;
width:100%;
height:100%;
left:0;
top:0;
}


/*logo and icon section ie phone email, burger menu*/
	
 .icon_container{
display:flex;
justify-content:flex-end;
/*border:solid pink 3px;*/
}
	 
.icon{
 position:relative;
 width:30px;
 height:30px;
 margin-right:15px;
}


/* searchbar styles */
/*a grouping wrapper for search input and search button*/

.searchWidgetsContainer{
/*border:pink solid 1px;*/
/*height:100px;*/
display:flex;
justify-content:center;
align-items:center;
}

/*scrolling image section domestic, residential, ico etc */
.scrolling{
	position:relative;
	overflow-x: scroll;
	overflow-y:hidden;
	white-space: nowrap;
	}
	
	.scrolling > div{
	box-sizing: border-box;
	display:inline-block;
	width:150px;
	height:180px;
	margin:5px;
	}
	
          .scrolling > div img{
          filter: grayscale(0.5);
          width:100%;
          border:1px solid grey;
          aspect-ratio: 1/1;
          object-fit:cover;
          display: flex;
          justify-content: center;
          align-items: center;
          overflow: hidden!important;
          }
          
	.scrolling > div .img_title{
	height:auto;
	display:inline-block;
	padding:5px;
	width:100%;
	text-align:center;
	background-color:var(--red);
	color:white;
	font-size:10px;
	}
	
	.scrolling > div .play_video{
	color:white;
	padding:5px;
	background: rgb(0, 0, 0); /* Fallback color */
  	background: var(--grey);
	font-style:bold;
	font-size:10px;
	position:absolute;
	width:50px;
	height:30px;
	/*background-color:var(--red);*/
	top:0;
	margin-top:5px;
	display:flex;
	justify-content:center;
	align-items:center;
	}
	
	.center{
	position:relative;
	color:blue;
	}
	
/*footer*/
	.footer_container{
	position:relative;
	display:flex;
	flex-direction:column;
	align-items:center;
	width:100%;
	background-color:black;
	padding:10px;
	}
	
	.footer_container>div{
	padding:5px;
	}
	
	.container > .address{
	/*border:solid blue 3px;*/
	background-color:black;
	color:white;
	font-size:12px;
	padding:10px;
	border-radius:5px;
	}
	
	.address > div{
	margin:20px;
	}
	.address a{
	color:white;
	}
	
	.footer_container > .memberships{
	/*border:solid blue 3px;*/
	background-color:var(--grey);
	color:white;
	}
	
	.membership{
	display:flex;
	justify-content:space-around;
	position:relative;
	}
	
	.membership > div{
	border-radius:5px;
	display:flex;
	justify-content:center;
	align-items:center;
	width:50px;
	background-color:white;
	padding:5px;
	}
	
	/*media queries responsive desktop*/
	@media only screen and (min-width: 1024px) {
	       	
		.container > .address{
		font-size:16px;
		}
	
		/*.footer_container > div{
		border:black 1px solid;
		width:60%;
		margin:10px;
		}*/
		
		.footer_div .address{
		width:50%;
		border:red solid 2px;
		padding:10px;
		}
		
		.footer_div .membership{
		width:50%;
		border:red solid 2px;
		padding:10px;
		}
		
		.footer_container{
		margin-top:30px;
		display:flex;
		align-items:center;
		justify-content:start;
		/*border:solid green 3px;*/
		}
		
		.footer_container > .container{
		width:60%;
		border-left:solid grey 1px;
		}
		
		.membership{
		justify-content:left;
		margin-left:20px;
		}
		
		.membership > div{
		margin-top:0;
		margin:10px;
		width:70px;
		}
		
		.up{
		display:hidden;
		}
		
		
	
	}/*eo@media*/
	
/*navigation menu*/

.sidenav{
overflow-y:hidden;
width:100%;
height:100%;
color:white;
background-color:var(--red);
position:fixed;
overflow-x:hidden;
z-index:1;
top:0;
padding-top:10px;
}



.sidenav > div{
border-bottom:solid white 1px;
padding:30px;
font-size:16px;
}

.up button{
display:flex;
justify-content:center;
align-items:center;
width:40px;
height:40px;
border-radius:20px;
background-color:white;
border:grey solid 1px;
color:grey;
position:fixed;
bottom:50px;
right:0;
margin:25px;
}


.x{
font-weight:bold;
position:relative;
display:flex;
align-items:center;
justify-content:center;
width:36px;
height:36px;
border-radius:18px;
padding:2px;
border:solid 2px white;
}
@media only screen and (min-width: 1024px) {
	.sidenav{
	border:solid pink 5px;
	width:300px;
	position:absolute;
	right:0;
	top:50px;
	}
	
	.up {
	display:none;
	}
}


	
	

	
	

