/*
Theme Name: Divi Child Theme
Description: Divi Child Theme
Author:  David Tierney
Author URI:  http://designsbytierney.com
Template: Divi
Version:  1.0.2
*/

 
/* =Theme customizations
------------------------------------------------------- */

#top-menu li li { padding: 0; display: block;}
#top-menu li li a { width: 100%;}
.what_we_buy_section .et_pb_blurb_position_left .et_pb_main_blurb_image {width: 200px;}
.what_we_buy_section .et_pb_blurb_position_left .et_pb_blurb_container{vertical-align: middle; padding-top: 20px; padding-bottom: 20px; padding-right: 15px;}
.what_we_buy_section .et_pb_image_wrap {
  width: 100%;
}
.what_we_buy_section .et_pb_image_wrap::before {
  content: "";
  background-color: #26ade4;
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  transform: rotateY(0deg) scale(0.3);
  -ms-transform: rotateY(0deg) scale(0.3);
  -webkit-transform: rotateY(0deg) scale(0.3);
}
.what_we_buy_section .et_pb_blurb:hover .et_pb_image_wrap::before {
  opacity: 0.6;
  transform: rotateY(180deg) scale(1);
  -ms-transform: rotateY(180deg) scale(1);
  -webkit-transform: rotateY(180deg) scale(1);
}
.what_we_buy_section .et_pb_main_blurb_image {
	margin-bottom: 20px
}
.what_we_buy_section .et_pb_main_blurb_image img {
	max-height: 380px;
}
.what_we_buy_section .et_pb_blurb_content .et_pb_blurb_container {
	padding: 0 15px 20px;
}

.products_section .et_pb_blurb:before, 
.products_section .et_pb_blurb:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
.products_section .et_pb_blurb:before {
  border-left: 1px solid #26ade4;
  border-right: 1px solid #26ade4;
  transform: scale(1, 0);
  -webkit-transform: scale(1, 0);
  -moz-transform: scale(1, 0);
  -ms-transform: scale(1, 0);
  -o-transform: scale(1, 0);
}
.products_section .et_pb_blurb:after {
  border-top: 1px solid #26ade4;
  border-bottom: 1px solid #26ade4;
  transform: scale(0, 1);
  -webkit-transform: scale(0, 1);
  -moz-transform: scale(0, 1);
  -ms-transform: scale(0, 1);
  -o-transform: scale(0, 1);
}
.products_section .et_pb_blurb:hover:before, 
.products_section .et_pb_blurb:hover:after {
  transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
}
.products_section .et_pb_blurb .et_pb_main_blurb_image img {
	max-height: 370px;
}
.products_section .et_pb_blurb .et_pb_module_header {
	padding-bottom: 0;
}

#footer-info {float: none; text-align: center;}
.what_we_buy .et_pb_menu .et_pb_menu__menu>nav>ul { flex-direction: column; }
.what_we_buy .et_pb_menu .et-menu li { font-size: 16px; }
.what_we_buy  .et_pb_column_1_4 h3 {font-size: 22px}

.quick_query p.et_pb_contact_field { padding-right: 0; }
.quick_query .et_contact_bottom_container {float: none; text-align: left; flex-direction: column}
.quick_query .et_pb_contact_right p input {padding: 8px;}
.quick_query .et_pb_contact_reset, .quick_query .et_pb_contact_submit {margin-left: 0; margin-top: 10px;}
.et-pb-contact-message ul {color: red;}

@media (min-width: 1141px) and (max-width: 1214px) {
	.et_pb_row { width: 90%; }
}

@media (min-width: 981px) and (max-width: 1140px) {
	.et_pb_row { width: 95%; }
}

@media (max-width: 620px) {
	.et_pb_row { width: 95%; }
}

@media (max-width: 467px) {
	.what_we_buy_section .et_pb_blurb_position_left .et_pb_blurb_content { display: flex; flex-direction: column; }
	.what_we_buy_section .et_pb_blurb_position_left .et_pb_main_blurb_image { width: 100%; margin-bottom: 0;}
}