/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com/gallery/foxy/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */
body.et_pb_recaptcha_enabled .grecaptcha-badge {
	visibility: hidden;
}
/*
 * -------[HEADING TAGS]-------*
 */
h1, h2, h3, h4, blockquote {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
}
h1, #page-container h1 {
    font-size: 50px;
}
h2, #page-container h2 {
    font-size: 30px;
}
a.parent-company {
	color: #919191;
	transition: all .3s ease-in-out;
}
.footer-parent-company {
	color: #2e2e2e;
	transition: all .3s ease-in-out;
}
a.parent-company:hover,
a.footer-parent-company:hover {
	color: #63B22A;
}
.post-outlet {
	color: #63B22A;
    font-size: 12px;
    line-height: 1.7;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 20px;
}
#home-featured-blog-module .post-outlet {
	font-size: 15px;
}
#home-featured-blog-module .et_pb_post {
	padding-top: 10px;
	padding-bottom: 27px;
	border-bottom: 1px solid #333;
}
#home-custom-blog-module article {
	margin-bottom: 0;
	padding: 20px 0 10px 0;
}
#home-custom-blog-module .entry-title {
	padding-bottom: 0;
}
#home-custom-blog-module article .entry-title a {
	color: #2e2e2e;
}
#home-custom-blog-module article.category-highlight .entry-title a {
	color: #B90000;
	text-transform: uppercase;
}
#home-custom-blog-module .post-meta {
	display: none;
}
#home-custom-blog-module .et_pb_image_container {
	margin: 10px 0;
    width: 100%;
}
#home-custom-blog-module .entry-featured-image-url {
	margin-bottom: 0;
}
.post-content-inner {
	line-height: 24px;
}
#home-custom-blog-module article.ad img {
	width: 100%;
}
#home-custom-blog-module article.ad {
	padding: 20px 0;
}
#home-custom-blog-module .et_pb_salvattore_content {
	display: flex;
}
.custom-featured-post-content p,
.custom-featured-post-content a.more-link {
	display: inline;
}
footer .et_pb_row {
    align-items: center;
}
.polymath-logo a {
    text-align: right;
    display: block;
}
.polymath-logo a span {
	/*flex: 0 0 auto;*/
	font-size: 12px;
}
.polymath-logo a svg {
	max-width: 80px;
}
.contact-form-popup form {
	display: flex;
    flex-direction: column;
}
.contact-form-popup h2:before {
    display: inline-block;
    content: "";
    border-top: 1px solid #2E2E2E;
    width: 2rem;
    margin: 0 1rem;
    position: absolute;
    top: 50%;
    left: -71px;
}
.contact-form-popup h2 {
    /*font-size: 40px;*/
    font-weight: bold;
    color: #63b22a!important;
    text-transform: uppercase;
    padding-bottom: 0;
}
.wpcf7-form input.text, 
.wpcf7-form input.title, 
.wpcf7-form input[type=email], 
.wpcf7-form input[type=password], 
.wpcf7-form input[type=tel], 
.wpcf7-form input[type=text], 
.wpcf7-form select, 
.wpcf7-form textarea {
	border:none;
	padding: 20px 2px;
    font-size: 20px;
    color: #000;
    font-weight: 300;
    width: 100%;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  	font-size: 20px;
	color: #000;
	font-weight: 300;
}
::-moz-placeholder { /* Firefox 19+ */
	font-size: 20px;
	color: #000;
	font-weight: 300;
}
:-ms-input-placeholder { /* IE 10+ */
	font-size: 20px;
	color: #000;
	font-weight: 300;
}
:-moz-placeholder { /* Firefox 18- */
	font-size: 20px;
	color: #000;
	font-weight: 300;
}
.wpcf7-form label {
    color: #2E2E2E;
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 600;
    border-bottom: 1px solid #000;
    margin-bottom: 50px;
}
.wpcf7-form .row.col-2 {
    display: flex;
    flex-wrap: wrap;
}
.wpcf7-form .row label,
.wpcf7-form .row.col-2 label {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.wpcf7-form .row.col-2 label:last-child {
    margin-left: 20px;
}
.wpcf7-form .row textarea {
	border: none;
    width: 100%;
    height: 40px;
    margin-top: 20px;
    font-size: 20px;
}
.wpcf7-form input[type="submit"] {
	border: 2px solid #63B22A;
    background: transparent;
    text-transform: uppercase;
    font-weight: 600;
    color: #63B22A;
    padding: 8px 25px;
    font-size: 20px;
    margin: auto;
    cursor: pointer;
}
div.wpcf7 .ajax-loader {
	background-image: url('img/ajax-loader.gif');
	width: 43px;
    height: 11px;
    margin: 20px auto 0;
}
.wpcf7-not-valid-tip {
	font-size: 14px;
}
/*
* ----------[MEDIA QUERIES]--------*
*/
@media screen and (min-width: 768px) {
  h1, #page-container h1 {
      font-size: calc(50px + 33 * ((100vw - 320px) / 960));
  }
  h2, #page-container h2 {
      font-size: calc(30px + 10 * ((100vw - 320px) / 960));
  }
}
@media only screen and (min-width: 2200px) {}
@media screen and (min-width: 1280px) {
  h1, #page-container h1 {
      font-size: 88px;
  }
  h2, #page-container h2 {
      font-size: 40px;
  }
}
@media only screen and (min-width: 1101px) {}
@media only screen and (min-width: 992px) {}
@media only screen and (min-width: 981px) {
	#home-custom-blog-module .column.size-1of3 {
		border-right: 1px solid #000;
	    padding-right: 5%;
	}
	.column.size-1of3 article:last-child {
		border-bottom: none;
	}
	#home-featured-blog-module article {
		display: flex;
		margin-bottom: 0;
	}
	#home-featured-blog-module article .post-meta-container {
		padding-left: 30px;
		padding-right: 30px;
	}
	#home-featured-blog-module article .entry-featured-image-url,
	#home-featured-blog-module article .post-meta-container {
		flex: 1 0 50%;
		margin-bottom: 0;
	}
	#home-featured-blog-module .post-content {
		margin-top: 27px;
	}
}
@media only screen and (min-width: 981px) and (max-width: 1100px) {}
@media only screen and (max-width: 980px) {
	.column.size-1of3:last-child article:last-child {
	    border-bottom: none;
	}
	.column.size-1of2 article:last-child {
		border-bottom: none;
	}
	#home-featured-blog-module article {
		margin-bottom: 0;
	}
	footer .et_pb_column {
		margin-bottom: 0;
	}
	.wpcf7-form .row.col-2 {
		flex-direction: column;
	}
	.wpcf7-form .row.col-2 label:last-child {
		margin-left: 0;
	}
	.wpcf7-form .row textarea {
		height: 80px;
	}
	.contact-form-popup h2:before {
		width: 20px;
		left: -45px;
	}
}
@media only screen and (min-width: 480px) and (max-width: 766px) {}
@media only screen and (max-width: 767px) {
	.column.size-1of1 article:last-child {
		border-bottom: none;
	}
}
@media only screen and (max-width: 480px) {}
@media only screen and (max-width: 980px) and (orientation : portrait) {}