/*
 Theme Name:     New Elec
 Theme URI:      https://www.newelec.co.za
 Description:    New Elec
 Author:         BlueMagnet
 Author URI:     https://www.bluemagnet.co.za
 Template:       Divi
 Version:        1.0.0
*/

@import url("../Divi/style.css");

/* =Theme customization starts here
------------------------------------------------------- */

#logo {
    max-width: 200px !important;
}
.et_pb_main_blurb_image img {
    border-radius: 10px !important;
}
div#et-top-navigation {
	padding-left: 220px !important;
}
ul#menu-footermenu {
    position: relative;
    float: right;
    z-index: 9999;
}
div#et-info {
	width: 100%;
}
.et-social-icons {
    float: right !important;
}
div#et-secondary-menu {
    display: none;
}
@media screen and (max-width: 1370px) {
	#et-top-navigation nav > ul > li > a {
		padding-bottom: 10px !important;
	}
	div#et-top-navigation {
		padding-left: 220px !important;
		padding-top: 25px !important;
		padding-bottom: 20px !important;
	}
}
@media screen and (max-width: 450px) {
    html, body, div, p, a, td {
        font-size: 16px;
    }
}
@media screen and (max-width: 770px) {
	ul#menu-footermenu {
		float: none;
	}
	#logo {
		min-height: 70px !important;
		max-width: 100% !important;
	}
}
header#main-header {
    background-image: url(https://www.newelec.co.za/wp-content/uploads/2017/07/NewElec_Swish.png) !important;
    background-position: center !important;
}

/*------ Contact Form ------*/
.CF5f688a6945223 {
	float:right;
	width:50%;
	margin-left:10px
}
#CF5f688a6945223_1 .row{
    width: 100%;
}

.formInput {
    float: left;
    width: 100%;
    margin-bottom: 10px;
    color: #444;
    font-size: 12px;
}

.formInput input, .formInput textarea {
    color: #444;
    font-size: 14px;
    width: 100%;
    font-family: Arial Narrow !important;
    margin-bottom: 0px;
}

.formInput textarea {
    min-height: 150px;
}

.formtext textarea {
	min-height: 100px;
}

input.fld_944035_1 {
    transform: scale(0.66);
    -webkit-transform: scale(0.66);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
	margin-bottom: -20px !important;
}

input.subBut {
    background: #273278 !important;
	color: #fff;
}

/*------ Applications Table ------*/
td.appCell {
    vertical-align: center;
}
table#appTable {
    border: 1px #1e295a solid;
	border-radius: 10px;
}
table#appTable td {
    border: 1px #1e295a solid;
    font-size: 12px;
    padding: 3px 5px;
	color: #111;
}
td.appHead {
    background: #303a66;
    color: #fff !important;
    font-weight: bold;
}
td.appCell img {
    max-width: 180px;
    margin: 10px;
    background-color: #fff;
    border-radius: 21px;
}
td.appCell {
	width: 27%;
    min-width: 100px;
}
td.appFirstCell {
	width: 19% !important;
}
.appCell h3 {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}
.appCell h2 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}
tr.appMining td { background-color: transparent; }
tr.appWater td { background-color: transparent; }
tr.appChem td { background-color: transparent; }
tr.appRefine td { background-color: transparent; }
tr.appPaper td { background-color: transparent; }
tr.appMills td { background-color: transparent; }
tr.appAgri td { background-color: transparent; }
tr.appMaterial td { background-color: transparent; }
tr.appCable td { background-color: transparent; }

/*------ Product Section ------*/
mark.count {
    display: none;
}
h2.woocommerce-loop-category__title,
h2.woocommerce-loop-product__title {
    background-color: #1e295a;
    text-align: center;
    color: #fff;
    font-weight: bold;
    padding: 10px !important;
    min-height: 50px;
    border-radius: 10px;
    font-size: 13px !important;
}
.product_meta {
    margin-top: 20px;
    font-size: 12px;
	border-top: 0px;
}
.prodDownload {
    float: left;
    min-height: 150px;
    text-align: center;
    width: 150px;
    padding: 0px;
    margin: 0px 20px 0px 0px;
}
.prodDownload h4 {
    font-size: 14px;
    font-weight: bold;
}
#tab-configuration-software h2, #tab-product-kits h2, #tab-documentation h2, #tab-presentation h2, #tab-brochure h2 {
	display: none;
}
body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li.active {
    background: #1e295a !important;
    color: #fff !important;
}
body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li.active a {
	color: #fff !important;
}
div#tab-configuration-software, 
div#tab-description, div#tab-brochure, div#tab-product-kits, div#tab-product-part-list, div#tab-config-software, 
div#tab-firmware-updates, div#tab-communication-config-protocol-files, div#tab-communication-protocol-config-file, 
div#tab-communication-protocol-config-files, div#tab-brochures, div#tab-configuration-software, div#tab-other, 
div#tab-documentation, div#tab-documents, div#tab-presentation, div#tab-presentations, div#tab-product-list {
    min-height: 200px;
    border-top: 5px #1e295a Solid;
}

@media screen and (max-width: 450px) {
	div#tab-documentation, div#tab-presentation , div#tab-brochure {
		min-height: 350px;
	}
}

body.woocommerce .woocommerce-tabs {
    border: 0px !important;
}

section.related.products {
    position: relative;
    width: 100%;
    float: left;
}

td a{
	text-decoration: underline;
}


#enqform .formInput {
    float: left;
    width: 100%;
    margin-bottom: 5px;
    color: #444;
    font-size: 12px;
}
#enqform .formInput input,
#enqform .formInput select,
#enqform .formInput textarea {
    color: #444;
    font-size: 14px;
    width: 100%;
    font-family: Arial Narrow !important;
    margin-bottom: 0px;
}
#capfld_944035_1 {
    transform: scale(0.66);
    -webkit-transform: scale(0.66);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
	margin-bottom: -20px !important;
}
#enqform .realSub {
	color: #fff !important;
}
span.posted_in, 
span.sku_wrapper {
    width: 60% !important;
    float: left;
    position: relative;
}

h1.hustle-modal-title {
    font-family: "Open Sans",Arial,sans-serif !important;
    font-size: 40px !important;
}
h2.hustle-modal-subtitle {
    font-size: 22px !important;
    font-weight: normal !important;
}
footer.hustle-modal-footer {
    padding: 0px !important;
    background: #1e2858 !important;
    height: 45px !important;
}
a.hustle-modal-cta {
    font-weight: normal !important;
    font-size: 16px !important;
}
img.size-medium.wp-image-9882.alignright {
    position: relative;
    float: right;
    width: 220px !important;
	margin-bottom: -50px !important;
}
section.hustle-modal-content {
    border: 0px !important;
}
.hustle-modal-message h3 {
    color: #1e2857 !important;
    font-style: italic;
    font-weight: 600 !important;
    font-size: 16px !important;
}
header.hustle-modal-header {
    padding-bottom: 0px !important;
}
.hustle-modal-message ul {
    padding-left: 25px !important;
    margin: 0px !important;
    list-style: disc !important;
}
.hustle-modal-message li {
    font-size: 11px !important;
    line-height: 100% !important;
}
svg.hustle-icon.hustle-i_close {
    background: #1e2857;
    top: 40px !important;
    position: relative;
    right: 20px;
    width: 40px !important;
    height: 40px !important;
}
.hustle-modal-close path {
    fill: #fff !important;
}
h2.yikes-custom-woo-tab-title {
    display: none;
}
.woocommerce-Tabs-panel {
    min-height: 200px;
    border-top: 5px #1e295a Solid;
}
.et-social-rss a.icon:before {
    content: "\e09d";
}
.homeIcon a:before {
    content: "\e074";
    font-family: ETmodules !important;
    font-size: 16px;
}
.homeIcon a {
    font-size: 0px !important;
}
#custom_html-4 input {
    width: 100%;
    background-color: #ffffff;
    color: #000000;
    font-size: 14px;
    font-family: Open Sans;
    font-weight: normal;
    border-radius: 3px;
    padding: 9px;
    border-width: 1px;
    border-style: solid;
}
#custom_html-4 input[type="submit"] {
    color: #ffffff !important;
    border-color: #232856;
    border-radius: 10px;
    font-size: 15px;
    background-color: #232856;
    margin-top: 20px;
}
#custom_html-4 .optionalParent p {
    display: none;
}
.footer-widget {
    width: 23.5% !important;
    margin-right: 2% !important;
}
.footer-widget:last-child {
    margin-right: 0% !important;
}
div#liWidgetBox {
    width: 100%;
    height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
    background: #f8f8f8;
    border-radius: 10px;
}
.fbWidgetBox > div {
    top: -40px;
    position: relative;
}
.et_pb_widget {
	float:none;
}
div#sfsiid_twitter {
    padding: 2px;
    width: 70px;
}
div#sfsiid_facebook {
    padding: 2px;
    width: 72px;
}
.page div#sfsi_floater {
    display: none;
}
#blogGrid a.more-link {
    color: #ffffff !important;
    border-color: #232856;
    border-radius: 10px;
    font-size: 15px;
    background-color: #232856;
    text-transform: capitalize;
    padding: 3px 15px;
    position: relative;
    top: 10px;
}
#liWidgetBox .WidgetBackground__Content-sc-1ho7q3r-2.ciCnpO > a {
    display: none !important;
}
#footWDistList {
    width: 100% !important;
    margin: 10px 0px;
}
#footWDistList a {
    display: inherit;
    width: 100%;
    text-align: center;
}
.actAsDiv {
	margin-top:20px;
}
.et_search_form_container input {
    font-size: initial !important;
}
.homeCatList img {
    border-radius: 10px;
}
#blogGrid img {
    border-radius: 10px 10px 0px 0px;
}
#blogGrid article {
    border-radius: 10px;
}
#lvl2BBBEE img {
    transform: rotate(-25deg);
}
body #page-container .et_pb_section a.neButtonNew:after {
    background: #fff;
    padding: 8px 13px;
    border-radius: 50px;
    margin-left: 16px !important;
    top: 0px;
    font-size: 20px !important;
}
body #page-container .et_pb_section a.neButtonNew2:after {
    background: #232856;
}
#nlSubsForm input {
    width: 100%;
    border-radius: 3px;
    padding: 8px 10px;
    margin-bottom: 10px;
}
#nlSubsForm label {
    float: left !important;
}
#nlSubsForm input[type="submit"] {
    color: #ffffff !important;
    border-color: #232856;
    border-radius: 10px;
    font-size: 15px;
    background-color: #232856;
    margin-top: 10px;
}
div#testimonialSlider {
    overflow-x: visible !important;
}
#testimonialSlider .et_pb_slide {
    padding: 0px;
}
#testimonialSlider .et_pb_slide_description {
    padding: 20px 50px;
    border-radius: 10px !important;
    overflow: hidden;
}
#testimonialSlider a.et-pb-arrow-next {
    right: 0px !important;
    opacity: 1;
}
#testimonialSlider a.et-pb-arrow-prev {
    left: 0px !important;
    opacity: 1;
}
@media screen and (max-width: 1024px) {
	span.posted_in, span.sku_wrapper { width: 100% !important; }
}
@media screen and (max-width: 768px) {
	span.posted_in, span.sku_wrapper { width: 60% !important; }
}
@media screen and (max-width: 425px) {
	span.posted_in, span.sku_wrapper { width: 100% !important; }
	div#rqform {
		float: right !important;
		position: unset;
		width: 100% !important;
	}
	img.size-medium.wp-image-9882.alignright {
		width: auto !important;
		margin-bottom: 0px !important;
	}
	#homeSliderNew h2 a {
		font-size: 30px;
	}
	#homeSliderNew .et_pb_slide_image {
		display: block !important;
		max-width: 90%;
	}
	.homeCatListNew li.product-category {
		width: 100% !important;
	}
}
@media screen and (max-width: 375px) {
	img.size-medium.wp-image-9882.alignright {
		width: 150px !important;
	}
}