/*
Theme Name: Allergro Industries
Theme URI: http://www.allegrosafety.com
Bitbucket Theme URI: https://bitbucket.org/ideapeopledev/allegro-wordpress
Description: Custom Wordpress Theme for Allegro Industries
Version: 1.5.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: allegro
Tags:
*/

header .social-list .social,
header .social-list .social a {
	-ms-flex: 1;
	flex: 1;
}

a.icon-linkedin {
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='%23F04144' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.556 0H1.445A1.444 1.444 0 00.001 1.444v17.111A1.444 1.444 0 001.445 20h17.111A1.444 1.444 0 0020 18.555V1.445A1.444 1.444 0 0018.556 0zM5.933 17.042H2.964V7.498h2.969zM4.45 6.193a1.72 1.72 0 11-.003-3.44 1.72 1.72 0 01.003 3.44zm12.594 10.849h-2.966v-4.641c0-1.107-.019-2.531-1.541-2.531-1.543 0-1.779 1.207-1.779 2.45v4.722H7.795V7.498h2.843v1.304h.041c.396-.75 1.364-1.541 2.807-1.541 3.003 0 3.559 1.977 3.559 4.547v5.234z'/%3E%3C/svg%3E");
	width: 1em;
	height: 1em;
	max-width: 1em;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

a.icon-linkedin:hover {
  -webkit-filter: brightness(0%);
  filter: brightness(0%);
}

footer a.icon-linkedin:hover {
	-webkit-filter: brightness(0%) invert(100%);
	filter: brightness(0%) invert(100%);
}

.icon-linkedin:before {
	content: none;
}

.site-notification-bar-content-mobile {
	padding: 10px;
}

.site-notification-bar-content-mobile-app-icon {
	display: none;
}


@keyframes slideDownFromTop {
  0% {
	transform: translateY(-100%);
	opacity: 0;
  }
  50% {
	transform: translateY(-100%);
	opacity: 0;
  }
  100% {
	transform: translateY(0);
	opacity: 1;
  }
}

.site-notification-bar-wrapper .site-notification-bar {
  animation: 1s ease-out 0s 1 slideDownFromTop;
}

:root:root:root .state--uncovered {
	opacity: 0.4;
	cursor: default;
}

:root:root .map-content-width {
	max-width: calc(700px + 2rem);
}

:root:root .map-padding {
	padding: 1.5rem 1rem;
}

/* changing to a sticky header July 2021 */
header.full.site-header-wrapper > a.site-header-logo-wrapper {
	text-align: center;
}
@media (min-width: 1024px) {
	header.full.site-header-wrapper {
		transition: height 1s;
	}
	header.full.site-header-wrapper.stickyHeader {
		position: fixed;
		height: 140px;
	}
	header.full.site-header-wrapper.stickyHeader.searchSticky {
		position: sticky;
	}
	header.stickyHeader .site-header-nav-wrapper {
		border-bottom: 1px solid #f04144;
	}
	header.full.site-header-wrapper.stickyHeader > a.site-header-logo-wrapper {
		top: 18px;
	}
	header.full.site-header-wrapper > a.site-header-logo-wrapper > svg {
		transition: width 1s;
	}
	header.full.site-header-wrapper.stickyHeader > a.site-header-logo-wrapper > svg {
		width: 50%;
	}
	.section-products-left-inner {
		padding-top: 140px !important;
	}
	.section-products-left-inner.sticky-element-original.element-is-sticky {
		bottom: 0 !important;
		padding-top: 140px !important;
	}
}
@media (min-width: 1024px) {
	header.full.site-header-wrapper {
		position: fixed;
	}
	.archive > .site-wrapper > section.section-banner,
	.page-template > .site-wrapper > section.section-banner,
	.page-template-default > .site-wrapper > section.section-banner,
	.single-product > .site-wrapper > main#content,
	.home > .site-wrapper > main#content,
	.page-template-tpl-videos > .site-wrapper > main#content,
	.blog > .site-wrapper > section.section-banner,
	.single-post > .site-wrapper > .section-banner-single,
	.page-template-tpl-videos-spotlight > .site-wrapper > main#content,
	.page-template-tpl-search-results > .site-wrapper > main#content {
		margin-top: 214px;
	}
}
@media (max-width: 768px) {
	.archive > .site-wrapper > section.section-banner,
	.page-template > .site-wrapper > section.section-banner,
	.page-template-default > .site-wrapper > section.section-banner,
	.single-product > .site-wrapper > main#content,
	.home > .site-wrapper > main#content,
	.page-template-tpl-videos > .site-wrapper > main#content,
	.blog > .site-wrapper > section.section-banner,
	.single-post > .site-wrapper > .section-banner-single,
	.page-template-tpl-videos-spotlight > .site-wrapper > main#content,
	.page-template-tpl-search-results > .site-wrapper > main#content {
		margin-top: 0 !important;
	}
}

/* fixing search to work with sticky header August 2021 */
@media (min-width: 1024px) {
	.global-search.global-search-nav {
		min-height: 100%;
	}
}

/* smaller font size on product sub menu August 2021 */
.product-category .section-products-left-title {
	margin-bottom: 0.5em !important;
}
.section-products .product-category-list ul {
	max-width: 270px;
}
.section-products .product-category-list ul li {
	line-height: 1.5;
}
.section-products .product-category-list ul li a {
	font-size: 14px;
	margin-top: 3px !important;
	margin-bottom: 3px !important;
	line-height: 1.25 !important;
}

/* removing header border on blog */
.blog .site-header-wrapper {
	border-bottom: none !important;
}

/* hover animation on featured products on homepage */
@media (min-width: 650px) {
	.page-template-tpl-home .section-categories .category,
	.post a.image-link .post-image,
	.blog .section-banner-news-right a .section-banner-news-image {
	  background-size: 100% 100%;
	  background-position: center center;
	}
	.page-template-tpl-home .section-categories .category:hover,
	.post a.image-link .post-image:hover,
	.blog .section-banner-news-right a .section-banner-news-image:hover {
		animation: zoom 500ms linear forwards;
	}
	.page-template-tpl-home .section-categories .category:hover a {
		color: #f04144;
	}
}
@keyframes zoom {
  0% {
    background-size: 100% 100%;
  }
  100% {
    background-size: 110% 110%;
  }
}
.page-template-tpl-home .section-categories .category-title {
	line-height: 1;
	padding-bottom: 50px;
}

/* blog updated styling */
@media (min-width: 1440px){
	.post-content {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}
.blog .section-banner-news .btn-wrapper a.btn.black:hover {
	background: #f04144;
}
.blog .section-post-list li.post .post-content .post-meta {
	margin-top: 20px;
	margin-bottom: 10px;
    border-top: 1px solid red;
    padding-top: 10px;
}
.blog .section-post-list li.post .btn-wrapper a.btn.transparent-white {
	margin-top: 15px;
	padding-left: 20px;
	padding-right: 20px;
	background: #000;
	color: #fff;
}
.blog .section-post-list li.post .btn-wrapper a.btn.transparent-white:hover {
	background: #f04144;
	color: #fff;
}
@media (max-width: 767px) {
	.section-banner-news .section-banner-news-inner .btn-wrapper a.btn.transparent-white {
		margin-top: 15px;
		padding-left: 20px;
		padding-right: 20px;
		background: #f04144;
		color: #fff;
	}
}
.wp-pagenavi {
	justify-content: center;
}
/* settings to force blog background images to print */
@media print {
	.single-post main.site-content-wrapper {
		color-adjust: exact;
		-webkit-print-color-adjust: exact;
	}
}
/* linkedin share button styling */
.linkedin-icon svg {
	width: 20px;
	fill: #aaaaaa;
}
.linkedin-icon:hover svg {
	fill: #f04144;
}

/* form on each product--hidden on default, display on button click */
.product-hidden-form {
	display: none;
}
.product-hidden-form.visible {
/* 	display: block; */
}
.section-overview-description .repbutton {
	display: inline-block;
	text-align: center;
}
a.repbutton.popmake-24691 {
	background: #fff;
}
.repbutton.popmake-24691 span {
	color: #f04144 !important;
}
a.repbutton.popmake-24691:hover {
	background: #f04144;
}
.repbutton.popmake-24691:hover span {
	color: #fff !important;
}
#frm_form_15_container legend {
	display: none !important;
}
#frm_form_15_container .frm_half {
	display: inline-block;
	width: 50%;
}
#frm_form_15_container .frm_first.frm_half {
	width: 49%;
}
#frm_form_15_container #frm_field_196_container select,
#frm_form_16_container select {
	width: 100%;
    padding: 1rem;
}
#frm_form_15_container input,
#frm_form_15_container textarea {
	background-color: #fff !important;
}
#frm_form_15_container .frm_submit,
#frm_form_16_container .frm_submit {
	text-align: center;
}
#frm_form_15_container input::placeholder {
    color: #aaa;
}
.pum-theme-24682, .pum-theme-default-theme {
	background-color: rgba(255,255,255,0) !important;
}
#frm_form_15_container .frm_form_field {
    margin-top: 12px;
    margin-bottom: 12px;
}
#frm_form_16_container div.frm_primary_label,
#frm_form_16_container div.form-field > label {
    font-weight: bold;
}
#frm_form_16_container .form-field.frm_none_container .frm_primary_label {
	display: block;
}

/* contact map edits August 2021 */
section#salesmap > div.container > div.btn-wrapper {
	display: none;
}
@media (min-width: 1024px) {
	.page-template-tpl-contact .section-map-bottom {
		display: block !important;
	}
	.page-template-tpl-contact .section-map-bottom .locations-wrapper {
		background: none !important;
		text-align: center;
		width: 100%;
	}
	.page-template-tpl-contact .section-map-bottom .locations-title {
		color: #f04144 !important;
	}
	.locations-wrapper ul.locations-list li.location-item {
		display: inline-block;
		margin: 10px;
	}
	.page-template-tpl-contact .section-map-bottom .location-item.parent > a {
		color: #f04144 !important;
		padding: 10px 20px !important;
		border: 1px solid #f04144;
	}
	.page-template-tpl-contact .section-map-bottom .location-item.parent > a.active {
		background: #f04144;
		color: #fff !important;
	}
	.page-template-tpl-contact .section-map-bottom #region-info {
		margin: 50px 20px;
		display: flex !important;
		justify-content: center;
	}
	.page-template-tpl-contact .section-map-bottom #region-info > div {
		padding: 20px !important;
	}
}
g.state-outer .tooltip {
	visibility: hidden;
}
g.state-outer:hover .tooltip,
g.active .tooltip {
    visibility: visible;
}
.tooltip text {
    fill: #f04144 !important;
	outline: none !important;
	stroke: none !important;
    font-size: 15px;
    font-family: sans-serif;
}
.tooltip.white text {
	fill: #fff !important;
}
svg#sales-representative-canada .tooltip text,
svg#sales-representative-south-america .tooltip text{
	font-size: 30px !important;
}
svg#sales-representative-south-america g#reps-argentina .tooltip text,
svg#sales-representative-south-america g#reps-chile .tooltip text,
svg#sales-representative-south-america g#reps-brazil .tooltip text {
	font-size: 8px !important;
}
.tooltip rect {
    fill: none;
    stroke: none;
}
.section-map-form {
	max-width: 800px;
	margin: 40px auto;
}
/*.rep .rep-email {
	margin-bottom:20px;
}*/

.page-template-tpl-contact h4.officeinfo {
	font-size:0.875rem;
	margin-bottom:0;
	margin-top:20px;
	color: #f04144;
}

.page-template-tpl-contact .rep-office a {
	color: #f04144;
	text-decoration: none;
}

.page-template-tpl-contact h3.rep-role {
	font-size:1.17em;
	margin-bottom:0;
}
.page-template-tpl-contact .section-map-bottom #region-info .rep-title {
	color: #f04144;
	font-size: 1.1em;
	font-style: italic;
}
.page-template-tpl-contact .rep-name {
	font-weight: bold;
}
.page-template-tpl-contact h4.officeinfo {
	border-top: 1px solid gray;
    padding-top: 20px;
}
svg#sales-representative-caribbean {
	height: 25vw;
}
svg#sales-representative-caribbean .tooltip text {
	font-size: 13px;
}
svg#sales-representative-europe {
	height: 44vw !important;
}
svg#sales-representative-latin-america {
	height: 38vw !important;
}
svg#sales-representative-south-america {
	height: 59vw;
}
svg#sales-representative-africa {
	height: 43vw !important;
}
svg#sales-representative-latin-america .tooltip text {
	font-size: 17px;
}
svg#sales-representative-south-america g#reps-ecuador .tooltip text {
	font-size: 7px !important;
}
svg#sales-representative-canada,
svg#sales-representative-caribbean {
	max-width: 100% !important;
}
div#frm_form_16_container .form-field .frm_opt_container .frm_checkbox {
	display: inline-block;
	margin: 5px;
}
.section-map-form {
	padding-top: 50px;
	padding-bottom: 50px;
	margin-top: 0;
	margin-bottom: 0;
/* 	border-top: 1px solid #f04144; */
	background: url('../png/form-bg-01.png');
	max-width: 100%;
}
@media (max-width: 840px) {
	.section-map-form {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.section-map-form > h2 {
	text-align: center;
	color: #f04144;
	margin-bottom: 1em;
}
div#frm_form_16_container {
	max-width: 800px;
	margin: 0 auto;
}
div#frm_form_16_container .form-field .frm_opt_container .frm_checkbox label input {
	position: relative;
	left: 0;
}
div#frm_form_16_container .frm_message {
	text-align: center;
}
div#frm_form_16_container .frm_message h2 {
	color: #f04144;
	margin-bottom: 10px;
	margin-top: 15px;
    text-transform: uppercase;
}
.section-map-top > h2:first-of-type {
	font-family: 'acumin-pro-extra-condensed', sans-serif;
	font-weight: 600;
	font-size: 1.5rem;
	margin-bottom: 3.5rem;
}
.section-map-top > h2:last-of-type {
	color: #f04144;
	margin-bottom: 1em;
}
.section-map-top > p {
	margin-bottom: 0;
}
@media (min-width: 1024px) {
	.section-map-top > h2:first-of-type {
		font-size: 3.25rem;
	}
}
.page-template-tpl-contact .section-intro-left::before {
	height: 30px !important;
}
@media (min-width: 1440px) {
	.page-template-tpl-contact .section-map {
		padding: 80px 0 0 !important;
	}
	.section-map-top > h2:first-of-type {
		font-size: 4.5rem;
	}
	.page-template-tpl-contact .section-intro-left::before {
		height: 50px !important;
	}
}
@media (min-width: 768px) {
	.page-template-tpl-contact .section-intro-left {
		padding: 0px 50px 50px !important;
	}
}
.page-template-tpl-contact .section-map-top > * {
	max-width: 100% !important;
}
.region-info-heading {
	display: none;
}
.region-info-heading.active-heading {
	display: block;
	text-align: center;
    margin-bottom: -1em;
    margin-top: 1em;
/* 	color: #f04144; */
}
.scroll-to-form,
.scroll-to-map {
	margin: -40px auto 40px;
	text-align: center;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	transform-origin: bottom;
	animation-name: bounce-1;
	animation-timing-function: linear;
}
.scroll-to-map {
	margin: -100px auto 40px;
}
.scroll-to-form:hover,
.scroll-to-map:hover {
	cursor: pointer;
}
@keyframes bounce-1 {
	0%   { transform: translateY(0); }
	50%  { transform: translateY(-10px); }
	100% { transform: translateY(0); }
}
@media (max-width: 768px) {
	.scroll-to-form,
	.scroll-to-map {
		display: none;
	}
}

/*\	
*E*	Fix For Search Results Scroll Issue
*D*	@author: Brent Alexander
*I* @date: 	Feb 3, 2022 8:17:53 AM
*T*	@ticket: https://drumcreative.teamwork.com/desk/tickets/8364607/messages
\*/
.site-header-nav-wrapper .global-search-results-wrapper {
    max-height: calc(100vh - 400px);
	overflow-y: scroll;
	overflow-x: hidden;
  	scrollbar-width: thin;
 	scrollbar-color: #999 #eee;
}
.site-header-nav-wrapper .global-search-results-wrapper::-webkit-scrollbar {
  	width: 12px;
}
.site-header-nav-wrapper .global-search-results-wrapper::-webkit-scrollbar-track {
  	background: #eee;
}
.site-header-nav-wrapper .global-search-results-wrapper::-webkit-scrollbar-thumb {    
  	background-color: #999;
  	border-radius: 20px;
  	border: 3px solid #eee;
}

/*\	
*E*	Product Notificaitons Table Styling
*D*	@author: Brent Alexander
*I* @date: 	Apr 7, 2022 8:38:39 AM
*T*	@ticket: https://drumcreative.teamwork.com/desk/tickets/8580424/messages
\*/
#wpdtSimpleTable-1 a[data-media-content="wpdt-media-content"] {
  font-size: 0;
  color: transparent;
  border: 0;
}
#wpdtSimpleTable-1 a[data-media-content="wpdt-media-content"]::before {
  content: '';
  display: inline-block;
  background: transparent url(../svg/ico-download.svg);
  width: 22px;
  height: 22px;
}
#wpdtSimpleTable-1 a[data-media-content="wpdt-media-content"]:hover::before {
  color: black;
} 
#wpdtSimpleTable-1[data-responsive="1"] td {
	background: transparent !important;
}

/* changing video z-index to account for sticky header April 2022 RR */
.modal-wrapper {
	z-index: 999999;
}

/*\	
*E*	Homepage Slideout Document Image
*D*	@author: Brent Alexander
*I* @date: 	Apr 5, 2023 3:59:49 PM
*T*	@task: 	https://drumcreative.teamwork.com/app/tasks/31735309
\*/
.page-template-tpl-home .document-image.cover {
	position: absolute;
	z-index: 1;
	top: 11.75%;
	background-size: cover;
	opacity: 1;
	transform: skewY(-3deg);
	width: 95%;
	height: 75%;
}

/*\	
*E*	Electronic Literature New Documents Grouping
*D*	@author: Brent Alexander
*I* @date: 	Apr 5, 2023 4:27:35 PM
*T*	@task: 	https://drumcreative.teamwork.com/app/tasks/31735374
\*/
.literature-top {
	position: relative;
}

/*\	
*E*	Hide Captcha Label
*D*	@author: Brent Alexander
*I* @date: 	Apr 11, 2023 5:07:59 PM
*T*	@ticket: https://drumcreative.teamwork.com/desk/tickets/9667167/messages
\*/
.frm_verify {
	display: none;
}