/*
Theme Name: Fenton Theme
*/  

/* Text */
@font-face {
  font-family: Montserrat;
  src: url('fonts/Montserrat.ttf');
}

a{
	color:#1a1b1f;
}

a:hover{
	text-decoration:none;
	color: #41434d
}

h1{
	color: #004959;
	font-size: 4rem;
	font-weight:700;
	text-align:center;
	margin:2rem 0px;
}

h2{
	color: #004959;
	font-size: 2.5rem;
	font-weight:700;
	text-align:center;
	margin-bottom:2rem;
}

.news-item h1, .news-item h2{
	text-align:left;
}

sup{
	margin-left: 0px !important;
}

@media  (min-width:992px){
	#news-item-header-container.container, #news-item-header-image-container.container{
		max-width: 900px;
	}
	
	.news-item h1{
		font-size:3rem;
		margin-bottom:1rem;
	}

	.news-item h2{
		font-size:2rem;
	}

}

@media  (min-width:992px) and  (max-width:1199px){
	h1{
		font-size:3.5rem;
		margin:2rem 0px 1rem;
	}
	
	h2{
		font-size:2rem;
	}
}

@media  (max-width:991px){
	h1{
		font-size:2.5rem;
		margin-bottom:1rem
	}
	
	h2{
		font-size:2rem;
		margin-bottom:1rem
	}
}


/* Containers */
.d-flex{
	display: -webkit-box;  
	display: -ms-flexbox; 
	display: -webkit-flex;
	display: flex;        
}

body,html{
	height:100%;
}

body, main{
	flex-direction:column;	
}

body{
	font-family: 'Montserrat';
	font-size: 16px;
	line-height: 24px;
}





/* Header */
#header-container{
	justify-content:space-between;
	align-items: center;
	margin:1rem 0px;
}

#header-logo{
	width:320px;
}

.has-submenu{
	cursor:pointer;
}

#call_us,  #main-menu #call_us_mobile{
	background-color:black;
	color:white;
	font-size: 12px;
	padding: 10px 25px;
	border-radius: 22px;
	width:fit-content;
}

#call_us:hover{
	background-color: #00A79D
}

.carousel-indicators li{
	background-color: #004959;
	height: 5px;
	  margin-right: 5px;
	  margin-left: 5px;
}

@media  (min-width:992px){
	#burger-menu{
		display:none !important
	}
	
	#main-menu ul{
		padding-left:0px;
		margin-bottom:0px;
		justify-content:center;
	}
	
	#main-menu li {
		display: inline;
		padding:0px 15px;
		font-size: 14px;
	}
	
	.has-submenu{
		position:relative;
	}
	
	 #main-menu .submenu{
		position: absolute;
		left: 14px;
		z-index: 5;
		display: block;
		visibility: hidden;
		width:auto;
		box-shadow: 0 10px 20px #00000017;
		transform: translate3d(0,0px,0);
		background-color: white;
		width:200px;
	}
	
	 #main-menu .has-submenu:hover .submenu{
		display: block;
		visibility: visible;
		transform: translateZ(0);
		transition: all .3s cubic-bezier(.2,.06,.05,.95);
	}
	
	 #main-menu .submenu li{
		padding: 8px 15px;
		display:block;
	}
	
	#call_us_container{
		border-left: 1px solid lightgray;
		padding-left: 1rem;
	}
	
	/*.carousel-inner img, .header_image{
		height:500px;
	}*/
}


@media  (min-width:992px) and (max-width:1199px){
	#header-logo{
		width:200px;
	}
}

@media  (max-width:991px){
	#menu-container{
		display:none
	}
	
	.menu-visible #menu-container{
		display:block;
	}
		
	#burger-menu{
		font-size:30px;
		cursor:pointer;
		z-index:20;
		position:fixed;
		right:2rem;
		top:2rem;
	}	
	
	.menu-visible #burger-menu{
		color:white;
	}
	
	#main-menu{
		width: 100%;
		background: linear-gradient(90deg, #044660  0%, #08A59C 101.85%);
		position: fixed;
		top: 0;
		left: 0;
		align-items: center;
		-webkit-box-align: center;
		height: 100%;
		z-index:20;
		
	}
	
	#main-menu ul{
		text-align: center;
		width: 100%;
		flex-direction: column;
		height: calc(100% - 4rem);
		padding: 2rem 0px;
		justify-content:center;
	}
	
	#main-menu li{
		position:relative;
	}
	
	#main-menu li a, #main-menu li span{
		padding:1rem 0px;	
		font-size:20px;
		color:white;
		display: block;
	}
	
	#main-menu a{
		width:100%;
		display:block
	}
	
	#main-menu ul.submenu{
		height:unset;
		padding:0px;
		display:none;
	}
	
	#menu-container .menu_arrow{
		position:absolute;
		right:1rem;
		top: 0px;
		cursor:pointer;
		display:none;
	}

	#menu-container .menu_arrow.menu_arrow_visible{
		display:block
	}
	
	 #main-menu .menu-arrow-open{
		font-size:33px;
	}
	
	 #main-menu .submenu.open{
		display:block;
		margin-bottom: 0.5rem;
		margin-top: -1rem;
	}
	
	 #main-menu .submenu a{
		font-size:18px;
	}
	
	 #main-menu #call_us_mobile{
		margin: 2rem auto 0px;
		font-size:18px;
	}
	
	
}


/* Footer */
footer{
	text-align:center;
	margin:5rem 0px;
}

footer h2{
	font-weight:500;
}

footer #footer_subtitle{
	color: #00343f;
	font-size:1.5rem;
}

#branches{
	margin-top:2rem;
	flex-wrap: wrap;
	justify-content:center;
}

.branch{
	background-color: #004959;
	border-radius:20px;
	color:white;
	text-align:left;
	font-weight:500;
	flex-direction:column;
}

.branch a{
	color:white;
}

.branch:hover{
	background-color: #00A79D;
}

.branch_name, .branch_email, .branch_tel{
	margin-bottom:10px;
	word-break: break-all;
}

.representative_details{
	align-items:center;
}

.representative_photo img{
	height:50px;
	border-radius:5px;
}

.representative_name{
	font-weight:600;
	margin-left:10px;
}

#footer_logo{
	margin: 1rem 0px 2rem;
}

.footer_col h3{
	font-weight:400;
}

#head_office_title, #get_directions{
	color: #8e8c87;
	font-weight:700;
}

.head_office_address{
	font-size:0.85rem;
	color: #8e8c87;
}

footer ul{
	padding-left:0px;
	margin-bottom:0px;
}

footer li {
	display:block;
	padding-bottom:15px;
}

footer a{
	color:#8e8c87
}

#contact_col{
	flex-direction:column;
}
	
#contact_col span{
	margin:1rem 0px;
}

#contact_col a{
	color: #8e8c87;
	font-weight:700;
}

#linkedIn_link{
	display:block;
}

#linkedIn, #linkedIn_hover{
	border:10px solid #004959;
	border-radius:30px;
}

#linkedIn_hover{
	display:none;
}

#linkedIn_link:hover #linkedIn{
	display:none;
}

#linkedIn_link:hover #linkedIn_hover{
	display:inline-block;
	border-color: #00A79D;
}

#legal_content{
	font-size:10px;
}

#legal_content p{
	margin-bottom:0px;
}

@media  (min-width:1200px){
	footer h2{
		font-size: 3rem;
		margin-bottom:1.5rem;
	}

	.branch{
		padding:2.5rem;
		font-size:1.5rem;
	}
	
	.branch_email{
		font-size:1.4rem;
		line-height: 1.8rem;
	}

	.representative_name{
		font-size:1.3rem;
	}
}


@media  (min-width:992px){
	.branch{
		width:calc(33.3333% - 1rem);
		margin: 0px 0.5rem 1rem;
		justify-content:space-between;
	}
	
	.branch_details{
		margin:2rem 0px 6rem; 
	}
	
	#footer_menus_top, #footer_menus_bottom{
		justify-content: center;
	}
	
	.footer_col{
		width:33.33%;
	}
	
	.footer_col h3{
		margin-bottom:1.5rem;
		font-size:1.8rem;
	}
	
	footer{
		font-size:0.85rem;
	}
	
	#head_office_title, #get_directions{
		margin-bottom:1rem;
	}
	
	#linkedIn_link{
		margin:5rem 0px;
	}

	#legal-menu ul{
		justify-content:center;
	}
	
	#legal-menu a{
		border-right: 1px solid #8e8c87;
		padding:0px 20px;
	}
	
	#legal-menu ul li:last-child a{
		border:none;
	}
	
	#legal_content{
		margin-bottom:5rem;
	}
}

@media  (min-width:992px) and  (max-width:1199px){
	footer h2{
		font-size: 2.5rem;
		margin-bottom:1.2rem;
	}
	
	.branch{
		padding:2rem;
		font-size:1.3rem;
	}
	
	.branch_email{
		font-size:1.2rem;
		line-height: 1.6rem;
	}
	
	.representative_name{
		font-size:1.1rem;
	}
}

@media  (max-width:991px){
	footer{
		margin:3rem 0px;
	}

	footer h2{
		font-size: 1.6rem;
		margin-bottom: 1rem;
	}
	
	footer #footer_subtitle{
		font-size:1.2rem;
	}
	
	.branch{
		width:100%;
		padding:2rem;
		font-size:1.3rem;
		margin-bottom:1rem;
	}
	
	.branch_details{
		margin:0px 0px  5rem; 
	}
	
	.branch_email{
		font-size:1.2rem;
		line-height: 1.6rem;
	}
	
	#footer_menus_top, #footer_menus_bottom{
		flex-direction:column;
		text-align:left;
	}
	
	.footer_col{
		margin-bottom:1.5rem;
	}
	
	.footer_col h3{
		margin-bottom:0.75rem;
		font-size: 1.4rem;
	}
	
	#head_office_title{
		margin-bottom:0.5rem
	}
	
	.head_office_address{
		margin-bottom:1rem
	}
	
	#linkedIn_link{
		margin:1.5rem 0px 2rem;
	}
	
	#legal-menu ul{
		flex-direction:column;
	}
	
	#legal_content{
		margin:1rem 0px 2rem;
	}
}



/* Text Row */
 .text-row{
	color: #004959;
	font-size:1.2rem;
	line-height:1.8rem;
	margin:3rem 0px;
 }
 
 .news-item .text-row{
	color: #212529;
	font-size:1rem;
	margin:0px 0px 2rem;
 }
 
 .text-row p{
	 margin:0px;
 }
 
 @media (min-width: 992px) {
	.news-item .text-row .container, .product .text-row .container, #product_ranges .container{
		max-width: 900px;
	}
}
 
 
 /* Section Heading */
.section-heading{
	color: #004959;
	padding:3rem 0px;
}

.section-heading h2{
	margin-bottom:0px;
}
 
/* Product Boxes */ 
 #product_boxes{
	flex-wrap: wrap;
	justify-content: space-between;
}

.product_box{
	background-color: #004959;
	border-radius: 20px;
	text-align: center;
	font-weight: 500;
	padding:15px;
	position:relative;	
}

.product_box img{
	border-radius: 10px;
}

.product_box span{
	left: 0px;
	width: 100%;
}

.product_box a{
	color:white;
}

.product_box span{
	position:absolute;
}

@media  (min-width:992px){
	.product_box {
		width: calc(33.3333% - 0.5rem);
		margin-bottom: 1rem;	
	}
	
	.product_box span{
		font-size: 1.5rem;
		bottom: 40px;
	}
}

@media  (min-width:992px) and  (max-width:1199px){
	.product_box span{
		font-size: 1.25rem;
		bottom: 33px;
	}
}

@media  (max-width:991px){
	.product_box{
		width:100%;
		margin-bottom:1rem;
	}
	
	.product_box span{
		font-size: 1.25rem;
		bottom: 10%;
	}
}


/* Icon Row */
.icons{
	margin-top:3rem;
	color: #004959;
	text-align:center;
}

.icon img{
	height:80px;
}
 
.icon .icon_title{
	font-weight:500;
}

.icon p{
	margin-bottom:0px;
}

@media  (min-width:992px){
	.icon{
		flex: 1 1 0;
		padding-right:30px;
	}
	
	.icons .icon:last-child{
		padding-right:0px;
	}
	
	.icon img{
		margin-bottom:2rem;
	}
}

@media  (max-width:991px){
	.icons{
		flex-wrap:wrap;
	}
	
	.icon{
		width:100%;
		margin-bottom:3rem;
	}
	
	.icon img{
		margin-bottom:10px;
	}
}


/* LinkedIn Feed */
#linkedin_feed{
	margin-top:5rem;
}

#linkedin_feed h3{
	color: #004959;
	font-size: 2.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 1.5rem;
}

@media  (max-width:991px){
	#linkedin_feed{
		margin-top:2rem;
	}
	
	#linkedin_feed h3{
		font-size: 2rem;
	}
}


/* Image Row */
 .image-row img{
	 width:100%;
 }
 
 
 /* Quote Row */
.quote-row{
	font-weight:700;
	color: #004959;
	margin:5rem 0px;
	font-size:35px;
	line-height:42px;
	font-style: italic;
	text-align:center;
}

@media  (max-width:991px){
	.quote-row{
		font-size:30px;
		line-height:35px;
		margin:3rem 0px;
	}
}


/* Logo Row */
#logo_carousel_container {
    width: 100%;
    overflow: hidden;  
}

#logo_carousel, #logo_row{
    white-space: nowrap;
}

#logo_row_container{
	overflow: hidden; 
}

#logo_row{
	text-align:center;
}

.logos_hidden{
	height:0px;
}

#logo_carousel .logo, #logo_row .logo{
    white-space: nowrap;
	display: inline-block;
	margin:0px 10px;
	max-width: 250px;
}

@media  (min-width:992px){
	.product #logo_carousel_container{
		margin-top:5rem;
	}
}

@media  (max-width:991px){
	.product #logo_carousel_container{
		margin-top:3rem;
	}
}


/* Contact Page */
#contact_page{
	text-align:center;
	color: #00343f;
	background-color: #FBFBFB
}

#contact_page h1{
	font-size:2.5rem;
	margin-top:0px;
}

#contact_page h1, #contact_page h2{
	margin-bottom:1.2rem
}

#contact_page a{
	font-weight:700;
	color: #00343f
}

#main_contact_address_title{
	font-weight:700;
	margin:1.2rem 0px;
}

.wpcf7, .wpcf7-form{
	display:flex;
	width:100%;
	flex-direction:row;
	flex-wrap:wrap;
}

.wpcf7 label{
	width:100%;
}

.wpcf7-form p{
	width:100%;
	margin-bottom:0px;
	white-space: normal;
}

.wpcf7-form textarea, .wpcf7-form input{
	width:100%;
	padding:5px;
	margin:5px 0px;
}

textarea{
	resize:none;
	height:100px;
}

.wpcf7-form .wpcf7-submit{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 10px;
	background: #004959;
	border: none;
	border-radius: 10px;
	width: 140px;
	color: white;
	margin: 0px auto;
}

.wpcf7-submit:hover{
	background-color: #00A79D
}

#contact-form label{
	color: #004959;
	font-weight:700;
}

.wpcf7 form .wpcf7-response-output{
	width:100%;
}

@media  (min-width:992px){	
	#contact_page{
		margin-top:3rem;
		padding:3rem 0px 2rem;
	}
	
	#contact_page .container{
		align-items:center;
	}
	
	#text-col{
		width:calc(40% - 50px);
		margin-right:50px;
	}
	
	#contact-form{
		width:60%
	}
}


@media  (max-width:991px){
	#contact_page .container{
		flex-wrap:wrap;
	}
	
	#contact_page #text-col{
		padding-top:2rem;
	}
	
	#contact_page #contact-form{
		padding-top:2rem;
	}
}


/* Text Image Row */
.text-image-row{
	margin-bottom:2rem;
}

.text-image-row .container.full_width{
	margin-bottom:-2rem;
}

.text-image-row .text-image{
	align-items: center;
}

.product .text-image-row{
	font-size:1.1rem;
	color: #004959;
	line-height:1.7rem;
}

.text-image-row h3{
	font-weight:700;
	font-size:25px;
	margin-bottom:1rem;
}

.text-image-row .text-image p:last-of-type{
	margin-bottom:0px;
}

.text-image-row  .container.full_width img{
	border-radius:10px;
}

@media  (min-width:1200px){	
	.text-image-row .container.full_width .text,.text-image-row .container.full_width .image{
		width:47%;
	}
}

@media  (min-width:992px){	
	.text-image-row .container.full_width .text-image{
		justify-content:space-between;
	}

	.text-image-row .text, .text-image-row .image{
		width:50%;
	}

	.text-image-row .image img{
		margin:auto;
		display:block;
	}
	
	.text-image-row .text-image :nth-child(2){
		margin-left:2rem;
	}
	
	.text-image-row .text-image p, .text-image-row .text-image ul,.text-image-row li{
		margin-left:0px !important;
	}
	
	.text-image-row .text-image ul{
		padding-left: 16px;
	}
	
}

@media  (max-width:991px){
	.text-image-row .container.full_width{
		padding:2rem;
	}
	
	.text-image-row .text-image{
		flex-direction:column;
	}
	
	.text-image-row .image{
		order:2;
		margin-top:1rem;
	}
}

@media (min-width: 992px) {
	.news-item .text-image-row .container, .product .text-image-row .container{
		max-width: 900px;
	}
}

.text-image-row .container.full_width{
	max-width:100%;
}

.text-image-row  .container.full_width.bg_w{
	background-color: #fbfbfb
}

.text-image-row  .container.full_width.bg_g{
	background-color: #8DC63F;
	color: white;
}

.text-image-row  .container.full_width.bg_dt{
	background-color: #004959;
	color: white;
}

.text-image-row  .container.full_width.bg_lt{
	background-color: #00A79D;
	color: white;
}




@media (min-width: 992px) {
	.text-image-row  .container.full_width{
		padding:3rem;
	}
}

/* Button Row */
.button-row{
	margin:3rem 0px;
}

.product .button-row{
	margin:0px;
	background-color: #00A79D;
	padding:8rem 0px;
}

.button-row .button{
	background-color: black;
	color: white;
	padding: 10px 25px;
	border-radius: 22px;
	margin:auto;
	display:block;
	width: fit-content;
	border: none;
}

.product .button-row .button{
	padding: 20px;
	background: #004959;
	font-size:1.25rem;
	border-radius: 10px;
	max-width: 100%;
	text-align: center;
	width: 400px;
}

.button-row .button:hover{
	background-color: #00A79D
}

.product .button-row .button:hover{
	background-color:black;
}

@media  (max-width:991px){
	.button-row{
		margin-bottom:2rem;
	}
	
	.product .button-row{
		padding:4rem 0px;
	}
}

/* Blogs */
#blogs_container{
	flex-wrap:wrap;
	justify-content:space-between;
} 

.blog{
	flex-direction:column;
}

.blog .title{
	font-size:20px;
	line-height:25px;
	color: #004959;
	margin:20px 0px;
	font-weight:700;
}

.blog_content{
	flex-direction: column;
}
	
.blog .excerpt{
	margin-bottom:1.5rem;
}

.blog .link{
	padding: 10px;
	background: #004959;
	border: none;
	border-radius: 10px;
	width: fit-content;
	color: white;
	margin: 0px auto;
}

.blog .link:hover{
	background-color: #00A79D
}

@media  (min-width:992px){
	#blogs_container{
		margin-top:5rem;
	}
	
	.blog{
		width:calc(33.3333% - 0.5rem);
		margin-bottom:1rem;
	}
	
	.blog_content{
		justify-content: space-between;
		flex-grow: 1;
	}

	.blog_image img{
		object-fit: contain;
		height: 200px;
	}
}

@media  (max-width:991px){
	.blog{
		margin-bottom:2rem;
	}
	
	.blog img{
		margin-bottom:1rem;
	}
}


/* Products */
.product{
	padding-top:3rem;
}

#product_ranges{
	background-color: #004959;
	margin-top:2rem;
}

#product_ranges .container{
	position:relative;
}

#product_ranges_inner{
	flex-wrap:wrap;
}

#product_ranges h4{
	color:white;
	font-size:24px;
	line-height:30px;
	font-weight:700;
	width: 35%;
}

#product_range_container_main{
	overflow:hidden;
	scroll-behavior: smooth;
	width:65%;
	padding: 0px;
}

#product_ranges i{
	position:absolute;
	cursor:pointer;
	width:30px;
	top:calc(50% - 15px);
	color:white;
}

#product_ranges .carousel-left{
	left: 33%;
}

#product_ranges .carousel-right{
	right:-20px;
}

#product_range_container_main_inner{
	width:100%;
}

.product-container-outer{
	width:50%;
	flex-shrink:0;
	padding-right:10px;
}

.hide-icon{
	visibility:hidden
}


#product_ranges .product_box{
	padding:0px 15px 0px 0px;
	margin:0px;
}

#product_ranges .product_box span{
	font-weight:bold;
	width:calc(100% - 15px);
}


@media (min-width: 992px) {
	#product_ranges{
		padding:5rem 0px;
	}

  #product_ranges .product_box span {
	font-size: 1rem;
	bottom: 20px;
  }
}

@media screen and (max-width: 991px) {
	.product{
		padding-top:1rem;
	}
	
	#product_ranges{
		padding:2rem 0px;
	}
	
	#product_ranges h4{
		margin-bottom:1rem;
		width:100%;
		text-align:center;
	}
	
	#product_range_container_main{
		width: calc(100% - 40px);
		margin-left: 20px;
	}
	
	.product-container-outer{
		width:100%;
	}
	
	#product_ranges .product_box{
		padding: 0px 15px;
	}
	
	#product_ranges .product_box span {
		bottom: 8%;
	  }
	
	#product_ranges .carousel-left{
		left:10px;
	}
	
	#product_ranges .carousel-right{
		right:0px;
	}
	
	#product_ranges i{
		top:calc(50% + 45px);
	}
}


/* MISC */
img{
	max-width:100%;
	height:auto;
}

@media  (min-width:992px){
	.mobile-only{
		display:none !important;
	}	
}

@media  (max-width:991px){
	.desktop-only{
		display:none !important;
	}
}