/*
Theme Name: Weldco-Beales

red: 871719
gray: 231f20
light-gray: e2e2e2
dark-gray: 474747
yellow: f7e700

*/

/* Generic START */
body {
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	font-weight: lighter;
}

.pt-sans { font-family: 'PT Sans', sans-serif; }

.pt-sans-narrow { font-family: 'PT Sans Narrow', sans-serif; }

.titillium { font-family: 'Titillium Web', sans-serif; }

a.black:hover { color: #000000; }

a.red:hover { color: #871719; }

a.white:hover,
a.white:focus { color: #ffffff; }

/* 
separate long URLs into 2 lines
to prevent horizontal scrolling
*/
#content a {
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: break-word;
	
	/* fix for anchor tags that have button images with an align class; gives it a proper height */
	border: 1px solid transparent;
}

img {
	max-width: 100%;
	height: auto;
}

.alignright,
.alignleft,
.aligncenter {
	display: block;
	margin-bottom: 1em;
}

.aligncenter {
	margin-right: auto;
	margin-left: auto;
}

.text-align-right { text-align: right; }

.text-align-left { text-align: left; }

.padding-025 {
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}

.padding-right-025 { padding-right: 0.25em; }

.padding-left-025 { padding-left: 0.25em; }

.margin-top-05 { margin-top: 0.5em; }

.padding-05 {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

.padding-1 {
	padding-top: 1em;
	padding-bottom: 1em;
}

.margin-1 {
	margin-top: 1em;
	margin-bottom: 1em;
}

.margin-top-1 { margin-top: 1em; }

.margin-bottom-1 { margin-bottom: 1em; }

.margin-bottom-15 { margin-bottom: 1.5em; }

.padding-right-1 { padding-right: 1em; }

.padding-left-1 { padding-left: 1em; }

.margin-15 {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.padding-15 {
	padding-top: 1.5em;
	padding-bottom: 1.5em;
}

.margin-top-15 { margin-top: 1.5em; }

.margin-2 {
	margin-top: 2em;
	margin-bottom: 2em;
}

.margin-top-2 { margin-top: 2em; }

.margin-3 {
	margin-top: 3em;
	margin-bottom: 3em;
}

.margin-bottom-3 { margin-bottom: 3em; }

.margin-top-4 { margin-top: 4em; }

.padding-6 {
	padding-top: 6em;
	padding-bottom: 6em;
}

.margin-bottom-6 { margin-bottom: 6em; }

.text-align-center { text-align: center; }

.font-size-085 { font-size: 0.85em; }

.font-size-09 { font-size: 0.9em; }

.font-size-1 { font-size: 1em; }

.font-size-125 { font-size: 1.25em; }

.font-size-2 { font-size: 2em; }

/* YouTube videos */
#content iframe { width: 100%; }

.uppercase { text-transform: uppercase; }

.black { color: #000000; }

.black-bg { background-color: #000000; }

.gray-bg { background-color: #231f20; }

.dark-gray-bg { background-color: #474747; }

.light-gray-bg { background-color: #e2e2e2; }

.red { color: #871719; }

.red-bg { background-color: #871719; }

.white { color: #ffffff; }

.text-shadow { text-shadow: 0 0 2em #000000; }

.btn {
	display: inline-block;
	margin-top: 0.5em;
	border: 0.05em solid;
	border-radius: 0;
	padding: 0.5em 2em;
	margin-bottom: 0.5em;
	max-width: 100%;
	white-space: normal;
}

	.btn:hover {
		background-color: #000000;
		transition: 0.5s;
	}


.btn.clear { background-color: transparent; }

.opacity-05 { opacity: 0.5; }

.position-relative { position: relative; }

.z-index-5 { z-index: 5; }

@media (max-width: 767px) {
	.single-product table td {
		display: block;
		width: 100%;
	}
}
/* Generic END */

/* Bootstrap Overrides START */
.navbar {
	margin-bottom: 0;
	z-index: 10;
}

.navbar-default {
	border: none;
	border-radius: 0;
	background-color: #871719;
	padding-top: 0.75em;
	padding-bottom: 0.75em;	
}

	@media (min-width: 768px) {
		.navbar-default .navbar-nav {
			float: right;
		}
	}

	.navbar-default .navbar-toggle { border-color: #ffffff; }

	.navbar-default .navbar-toggle .icon-bar { background-color: #ffffff; }

	.navbar-default .navbar-nav > li > a,
	.navbar-default .navbar-nav > li.active > a{
		padding: 15px 20px;
		color: white;
		font-family: 'PT Sans Narrow', sans-serif;
		text-transform: uppercase;
		font-size: 21px;
		font-weight: bold;
	}

	.navbar-default .navbar-nav > li.active > a {
		background-color: #222222;
	}
	
	.navbar-default .navbar-nav > li > a:hover,
	.navbar-default .navbar-nav > .open > a:hover,
	.navbar-default .navbar-nav > .active > a:hover {
		color: white;
		background-color: #444444;
	}

	/*
	.navbar-default .navbar-nav > .open > a,
	.navbar-default .navbar-nav > .open > a:focus,
	.navbar-default .navbar-nav > .active > a {
		background-color: transparent !important;
		color: #000;
	}
	*/

	.navbar-default .navbar-nav .open .dropdown-menu > li > a,
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a {
		font-family: 'PT Sans Narrow', sans-serif;
		font-size: 18px;
		color: white;
		background-color: transparent;
		padding: 3px 20px;
	}
	
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
		background-color: transparent;
		transition: 0.5s;
	}	
	 
 .dropdown-menu {
	background-color: #000;
	border: none;
}
/* Bootstrap Overrides END */

/* Header START */
.header-top .left { text-align: center; }

.header-top #searchform input {
	color: black;
}

.header-top #searchform input[type="submit" i] {
	background-color: #871719;
	color: white;
}

.weldco-header-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
}

@media (max-width: 991px) {
	.weldco-header-row {
		justify-content: center;
	}
}

.weldco-header-row > a,
.weldco-header-row > a:hover,
.weldco-header-row > a:focus {
	display: inline-block;
	margin: 2px 1em;
	color: white;
}

.weldco-header-row a.covid-link,
.weldco-header-row a.covid-link:hover,
.weldco-header-row a.covid-link:focus {
	padding: 4px 12px;
	background-color: #D60107;
	color: white;
	font-weight: bold;
	font-size: 1.2em;
}

#weldco-site-search {
	width: 300px;
	max-width: 100%;
}
#weldco-site-search .gsc-control-cse {
	padding-top: 10px;
}
/* Header END */

/* Menu START */
.is-sticky #sticker {
	background: rgba( 255, 255, 255, 0.8 );
	z-index: 10;
	width: 100% !important;
	transition: 0.25s; /* helps removes transition flicker */
}

	.is-sticky #sticker .nav {
		position: relative;
		right: 0.8em;
	}

.is-sticky #sticker-product {
	background: rgba(255, 255, 255, 0.95);
	z-index: 5;
}

@media (max-width: 767px) {
	.weldco-menu-row {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
	}
}

#header-logo { width: 20em; }

.ubermenu-main .ubermenu-target,
.ubermenu-main .ubermenu-nav .ubermenu-item-level-0 .ubermenu-target { font-family: 'PT Sans Narrow', sans-serif; }

.ubermenu-main .ubermenu-submenu.ubermenu-submenu-drop { background: rgba(0, 0, 0, 0.9) !important; }

/* move the drop-down indicator a little to the right */
.ubermenu-sub-indicators .ubermenu-has-submenu-drop>.ubermenu-target:after { right: 5px !important; }

.ubermenu-sub-indicators .ubermenu-has-submenu-drop > .ubermenu-target > .ubermenu-sub-indicator { font-size: 0.75em; }

/* submenu */
.ubermenu-main .ubermenu-submenu .ubermenu-item-header > .ubermenu-target { font-family: 'PT Sans', sans-serif; }

.ubermenu-responsive-toggle {
	margin-top: 0.5em;
	padding: 0.25em;
}

/* add bullet point on the drop-down */
.ubermenu .ubermenu-submenu-type-stack>.ubermenu-item-normal>.ubermenu-target::before {
    content: '\2022';
    margin-right: 1rem; 
}
/* Menu END */

/* Content START */
.header-title { margin-top: -1px; }

	.header-title .overlay {
		height: 100%;
		background-color: rgba(0, 0, 0, 0.35);
	}

	.header-title .featured-image { height: 5em; }

	.header-title h1 {
		margin-top: -1.25em;
		padding-bottom: 0.16em;
		border-bottom: 0.4em solid #871719;
	}

#content p {
	/* put content paragraphs on top of the footer map */
	position: relative;
	z-index: 5;
}

#content h1,
#content h2,
#content h3 {
	font-family: 'Titillium Web', sans-serif;
	text-transform: uppercase;
}

#content h1 { font-size: 2em; }

#content h2 { font-size: 1.6em; }

#content h3 { font-size: 1.45em; }

#content .parallax .black-layer {
	padding-top: 1.5em;
	font-size: 2em;
	font-weight: bold;
	padding-bottom: 0.5em;
}
/* Content END */

/* Sidebar START */
#secondary {}

	#secondary .widget-title { color: #000; }
	
	#secondary ul {
		list-style-type: none;
		padding-left: 0;
	}
/* Sidebar END */

/* Blog START */
/* Blog END */

/* Front Page START */
.home .carousel {
	margin-top: -0.02em;
	border-bottom: 0.9em solid #871719;
}

	.home .carousel .gradient {
		position: absolute;
		top: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient( rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.35) );
		z-index: 5;
	}

    @media (min-width: 768px) {
        .home .carousel .gradient { padding-top: 17rem; }
    }

			.home .carousel .gradient .btn:hover { background-color: #871719; }

	.home .carousel img { margin-top: -1.25em; }

	.home .carousel h1,
	.home .visible-xs h1 {
		margin-top: -0.5em;
		font-size: 1.85em !important;
	}

.home .carousel-inner { max-height: 25.5em; }

.home .carousel-inner img { width: 100%; }

.home .carousel-control { z-index: 7; }

.home .visible-xs .gradient {
    background: linear-gradient( rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7) );
    padding-top: 17rem;
}

.three-columns .column,
.one-column .column {
	position: relative;
	height: 25em;
}

.three-columns .col-md-4 .column {
	background-position: center;
	background-size: cover;
}

.home .three-columns .text,
.home .one-column .text {
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.7);
}

.home .quick-links a {
	color: #000000;
	text-decoration: underline;
}

.home .quick-links a:hover { color: #871719; }

.home #logos img { margin: 1em 2em; }
/* Front Page END */

/* Careers START */
.single-bupuf-careers button[type=submit]:hover { color: #ffffff; }
/* Careers END */

/* Products START */
#products .image { min-height: 9em; }

#products .image a {
	position: absolute;
	width: 100%;
	height: 100%;
}

#product-category ul { padding-left: 1em; }

#product-category .category .col-md-4:nth-child(3n+1),
#product-taxonomy .category .col-md-4:nth-child(3n+1){
	display: block;
	clear: both;
}

#product-taxonomy img { max-height: 7em; }

#product-taxonomy h2 { font-size: 1.25em; }

.single-product .carousel-inner img {
	max-height: 30em;
	margin: auto;
}

.single-product .featured {
	background: url('images/featured-banner.png') right no-repeat;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-size: auto 100%;
}

.single-product .btn:hover { background-color: #666666; }

.single-product .image { cursor: pointer; }

	.single-product .image a {
		position: absolute;
		width: 100%;
		height: 100%;
	}

.single-product #product-image-1,
.single-product .thumb { min-height: 7.35em; }
/* Products END */

/* Contact Form START */
.page-id-345 .wpcf7 input[type=text],
.page-id-345 .wpcf7 input[type=email],
.page-id-345 .wpcf7 input[type=tel],
.page-id-345 .wpcf7 textarea {
	width: 100em;
	max-width: 100%
}
/* Contact Form END */

/* News START */
.blog .entry-title a { color: #000; }

.blog #secondary { background-color: #eeeeee; }
/* News END */

/* Order Status START */
.order-status .btn.white:hover { color: #ffffff; }

.order-status .btn#status { margin-top: 0em; }

.order-status .dataTable th,
.order-status .dataTable td {
	border: 1px solid #cccccc;
	padding: 0.25em;
}

.order-status .dataTable th { background-color: #f0f0f0; }

.order-status h2 { text-transform: none !important; }
/* Order Status END */

/* Footer START */
.footer .form-control { max-width: 80%; }

.footer .social-media a:hover { text-decoration: none; }

#footer-top {}

	#footer-top .social-media { margin-top: 2rem; }

		#footer-top .social-media a img:hover { opacity: 0.8; }

	#footer-top span.wpcf7-not-valid-tip { color: #f7e700; }

	#footer-top .validation_error,
	#footer-top .validation_message { color: #ff0; }

	#footer-top li.hidden_label input { margin-top: 0; }

	#footer-top input[type=text] { color: #555555; }

	#footer-top .ginput_container label { display: none; }

	#footer-top .gform_footer { padding: 0; }

	#footer-top input[type=submit] {
		background-color: #871719; 
		border: 0.1em solid #ffffff;
		padding: 0.25em 3em 0.1em;
	}

#footer-bottom {
	position: relative; /* moves footer-bottom above the map */
	background-color: #000000;
	color: #ffffff;
}

	#footer-bottom a { color: #ffffff; }

#mc_embed_signup,
#mc_embed_signup input { font-family: 'Titillium Web', sans-serif !important; }

	#mc_embed_signup input[type=email] { color: #000000; }

	#mc_embed_signup label {
		font-size: 3rem !important;
		font-weight: 300 !important;
		text-transform: uppercase;
	}

	#mc_embed_signup input[type=submit] {
		border-radius: 0;
		padding-top: 0;
	}
/* Footer END */

@media (min-width: 768px) {	
	.alignright {
		float: right;
		margin-left: 2em;
	}
	
	.alignleft {		
		float: left;
		margin-right: 2em;
	}
	
	.ubermenu-responsive-toggle { margin-top: 7em; }
	
	.btn {
		padding-right: 3em;
		padding-left: 3em;
	}
	
	.single-product #product-image-1 { min-height: 24em; }	
}

@media (min-width: 992px) {
	.header-top .left { text-align: right; }
	
	.header-title .featured-image { height: 10em; }

	.home .carousel h1 { font-size: 2.5em !important; }
	
	.home .carousel .description { font-size: 1.75em; }
	
	.home .carousel .year { font-size: 1.5em; }
	
	.footer .map {
		position: relative;
		top: -4em;
	}
}

@media (min-width: 1200px) {	
	.header-title .featured-image { height: 15em; }

	.footer .map {
		position: relative;
		top: -5em;
		margin-bottom: -7em;
	}
}

@media (min-width: 1755px) {
	#header-logo { width: auto; }
	
	.ubermenu { margin-top: 1em !important; }
	
	.ubermenu-main .ubermenu-item-level-0 > .ubermenu-target { font-size: 2.25em !important; }
	
	.home .carousel-inner { max-height: 34em; }
	
	.footer .map {
		position: relative;
		top: -7em;
	}
}

.language-link {
	display: inline-block;
}

/* Accordion styles */
#content .layout-accordion .bupuf-accordion:first-child a.panel-heading {
	border-top: 2px solid #FAFAFA;
}
#content .layout-accordion .bupuf-accordion a.panel-heading {
	/* background-color: white; */
	border-bottom: 2px solid #FAFAFA;
}

.layout-accordion a.panel-heading:hover,
.layout-accordion a.panel-heading:focus,
.layout-accordion a.panel-heading:visited {
	text-decoration: none;
}

#content  .layout-accordion .bupuf-accordion .accordion-body {
	padding: 0;
}
#content  .layout-accordion .panel-group .panel + .panel, .bupuf-accordion.panel + .panel {
	margin-top: 0;
}

/* AODA Multi-Year Plan */
.page-id-6547 #content,
.page-id-6547 .table-responsive {
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.page-id-6547 th {
	background-color: #eee;
}

.page-id-6547 li li {
	list-style-type: lower-roman;
}