/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        2.1.4
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
/* from divi options */

#mobile_menu .sub-menu ul li {
    display: none;
}
#logo {
max-height: 64px !important;
}

.header-phone-numbers {
  float: right;
  margin: 22px 0 0;
  font-size: 150%;
}

.header-phone-numbers #et-info-phone {
  margin-right: 0;
}

.header-phone-numbers__phone {
  margin-left: 20px;
}

@media only screen and ( max-width: 980px ) {

.header-phone-numbers {
  float: none;
  text-align: left;
  margin: 10px 0;
}

.header-phone-numbers__phone {
  margin: 0 10px 0 0;
}

}

@media only screen and ( max-width: 479px ) {

.header-phone-numbers {
  margin: 10px 0 5px;
  text-align: center;
}

.header-phone-numbers__phone {
  margin: 0 0 10px;
  display: block;
}
}
.woocommerce ul.products li.first, .woocommerce-page ul.products li.first {
clear: none !important;
}

.last {
clear: none !important;
}

.woocommerce-ordering { display: none!important; }


/* Increases height of speed dial */
.longer .card--big {
    height: 470px;
}

/* Simpro API Form: */

.makeweb-alert.success {
    display: block;
}



/* Ul positioning since 1.0.1 */
.et_pb_text ul, .et_pb_tab ul{
	list-style-position: inside;		
}

.et_overlay {
    background: rgba(0, 0, 0, 0.15) !important;
}


/* Slide Headers */
.wpc-slider .et_pb_slide_description {
background: rgba(0, 0, 0, 0.8);
padding: 30px !important;
margin: 7% 0;

}

.wpc-slider .et_pb_slide_description .et_pb_slide_title{
font-weight: 500;	
}

.wpc-slider .et_pb_slide_title{
	font-size: 30px;
}

.wpc-slider .et_pb_slide_image{
/* 	display: none; */
}
/*
 .wpc-slider .et_pb_slide_with_image .et_pb_slide_description {
    float: left;
    width: 60%;
    text-align: left;
}
*/

.wpc-slider .et_pb_container{
	width: 100%;
}

.wpc-slider .et_pb_button {
    color: #ffffff !important;
    background: #980000;
    border-width: 0px !important;
    border-radius: 1px;
    letter-spacing: 0px;
    font-size: 16px;
    padding: 0.3em 1em;
}

@media only screen and ( min-width:981px ) {
    /* Set the slider height */
    .wpc-slider.et_pb_slider,  .wpc-slider.et_pb_slider .et_pb_container { 
        height: 425px !important; 
    }
    .wpc-slider.et_pb_slider, .wpc-slider.et_pb_slider .et_pb_slide { 
        max-height: 425px; 
    }
    .wpc-slider.et_pb_slider .et_pb_slide_description { 
        position: relative; 
        height:auto !important; 
    }
}

/* mw-slider */
.mw-slider .et_pb_slide_description {
background: rgba(0, 0, 0, 0.8);
padding: 40px !important;
margin: 5% 0;
max-width: 450px !important;

}

.mw-slider .et_pb_slide_description .et_pb_slide_title{
font-weight: 500;	
}

.mw-slider .et_pb_slide_title{
	font-size: 30px;
}

.mw-slider .et_pb_container{
	width: 85%;
}

.mw-slider .et_pb_button{
	float: right;
	font-size: 16px !important;
	background: #980101 !important;
	border-radius: 0px !important;
	border: none !important;
}
.mw-slider .et_pb_button:after{
	font-size: 25px !important;
}
@media only screen and ( min-width:981px ) {
    /* Set the slider height */
    .mw-slider.et_pb_slider,  .mw-slider.et_pb_slider .et_pb_container { 
        height: 425px !important; 
    }
    .mw-slider.et_pb_slider, .mw-slider.et_pb_slider .et_pb_slide { 
        max-height: 425px; 
    }
    .mw-slider.et_pb_slider .et_pb_slide_description { 
        position: relative; 
        height:auto !important; 
    }
}

/* test slider */

@media only screen and ( min-width:981px ) {
    /* Set the slider height */
    .test-slider.et_pb_slider,  .test-slider.et_pb_slider .et_pb_container { 
        height: 325px !important; 
    }
    .test-slider.et_pb_slider, .test-slider.et_pb_slider .et_pb_slide { 
        max-height: 325px; 
    }
    .test-slider.et_pb_slider .et_pb_slide_description { 
        position: relative; 
        height:auto !important; 
        padding: 50px;
    }
}

.et_header_style_left .logo_container {
    float: left;
}

a.button:hover, button:hover {
    color: #C6302C !important;
}

div#et-footer-nav ul {
    text-align: center;
}
body{
    background-image: url('/wp-content/uploads/2014/08/iStock_000019025609XLarge-2000.jpg');
    background-repeat: repeat;
    background-position: top left;
    background-attachment: scroll;

}
#main-content {
    /* background-color: #fff; */
    background-color: none;
    background: none;
}
body.woocommerce-page #main-content{
background: white;
}

body.single.single-post, body.category, body:not(.et_pb_pagebuilder_layout)  {
    background: none !important;
}

/* Phone Number Mobile FIX */
@media (max-width: 980px){
	.et_header_style_left .logo_container {
    position: absolute;
    width: 100%;
    height: 60px;
    top: 10px;
	}
.header-phone-numbers {
    float: none;
    text-align: left;
    margin: 0 !important;
    position: absolute;
    right: 55px;
    top: 28px;
}
}
@media (max-width: 660px){
		.et_header_style_left .logo_container {
    position: absolute;
    width: 100%;
    height: 60px;
    top: 0px;
	}
	.header-phone-numbers {
    left: 0;
    top: 60px;
    width: 100%;
    text-align: right !important;
}
#main-header{
	height: 100px;	
}
.mobile_menu_bar {
    padding-bottom: 54px !important;
}
#et-top-navigation {
    display: block;
    padding-top: 12px !important;
}
}
@media (max-width: 480px){
		.header-phone-numbers { text-align: center !important; }
		.hidden-phone { display: none; }
}

/* New Reveal Footer Styles */
#main-footer  h5 {
	color: rgb(119, 126, 131) !important;
	    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
#main-footer  a {
    color: rgb(226, 227, 228);
    transition: color 0.2s;
}
#main-footer  a:hover {
    color: rgb(119, 126, 131);
}
.et-social-icons {
    float: none !important;
    display: block;
    text-align: center;
    padding-bottom: 30px;
    color: rgb(226, 227, 228);
}

	#main-footer ul {
    display: table;
    margin: 0 auto;
}

#main-footer .et-social-icon a {
    display: inline-block;
    position: relative;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    transition: color 300ms ease 0s;
    padding: 11px;
    background: #2B2B2B;
    width: 48px;
    border: solid #424242;
    font-weight: normal;
}
#main-footer .et-social-google-plus a.icon:before {
    font-size: 16px;
}
@media (max-width: 480px){
	#main-footer li {
    text-align:  center;
	}
	.et_pb_column{
		margin-bottom: 0 !important;
	}
}


/* menu phone number */
.et-fixed-header #top-menu .phone_number a, #top-menu .phone_number a{
	color: #980000 !important;
}

#top-menu .phone_number a:before {
    position: relative;
    top: 2px;
    margin-right: 7px;
    content: "\e090";
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
}
#main-header .container{
	width: 90%;
}
@media (min-width: 980px){
	.header-phone-numbers{
		display: none;
	}
}


.black-header .header-content{	
	background: rgba(0, 0, 0, 0.8);
    padding: 30px 50px !important;
}

.intro{
	font-size: 32px !important;
    line-height: 1.4;
}
.et_section_transparent{
	background-image: url('//www.superiorsolar.com.au/wp-content/uploads/2014/11/solarflare.jpg');
}


.single-post #et-main-area, .category #et-main-area, .page-child #et-main-area{
	background: white;
}
 @media (min-width: 980px){
	 .border-right{ 
		 border-right: solid 2px #eee;
		 padding-right: 30px;
		 }

}
.rinnai-cta{
	box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
}
 

.rinnai-cta .et_pb_promo_button{
	background: #555;
    border-width: 0px !important;
    border-radius: 2px;
    letter-spacing: 0px;
    font-size: 16px;
    color: white !important;
    margin: 10px 0px;
    transition: all 0.1s;
    box-shadow: 0px 3px 0px black;
    padding: 7px 15px;
    position: relative;
    float: right;
}
.rinnai-cta.primary .et_pb_promo_button{
	background: #980000 !important;
	box-shadow: 0px 3px 0px #5c0000;
}
.rinnai-cta .et_pb_promo_button:after{
	display: none;
}
.rinnai-cta .et_pb_promo_button:hover{
	    background: #444 !important;
    border-radius: 2px;
}
.rinnai-cta.primary .et_pb_promo_button:hover{
	background: #8a0000 !important;
	box-shadow: 0px 3px 0px #770000;	
}
.rinnai-cta .et_pb_promo_button:active{
	box-shadow: 0px 0px 0px black;
    position:relative;
    top:2px;
}
.modal_header{
	    border-bottom: 3px solid #980000;
    margin-bottom: 19px;
    color: #777;
    line-height: 1.3;
}
.modal_list{
	list-style: circle;
    list-style-position: inside;
}

/* Caldera Feedback Form styling since 1.1.0 */
.form-group input[type="submit"]{
    display: inline-block;
    margin: 0 0 0 15px;
    font-family: inherit;
    position: relative;
    padding: 0.3em 1em;
    border: 2px solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #980000;
    color: #ffffff;
    border-color: #980000;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7em !important;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    float: right;
} 
.form-group input[type="submit"]:hover{
	cursor: pointer;
	background-color: rgba(152, 0, 0, 0.5) !important;
        color: #ffffff;
        border: 2px solid;
        border-color: #980000;
}
.alert {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #980000 !important;
    text-shadow: none !important;
}



.et_pb_mw_actiontiles .tile.tesla .image{
    width: 35%;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 0 !important;
    left: -7%;
}

.et_pb_mw_actiontiles .tile.tesla{
	background: #EEE;
}
.et_pb_mw_actiontiles .tile.tesla .content{
	width: 75%; 
	margin-left: 25%;
}

