/*
	Floating lead stylesheet
*/

#floating_lead{
	position: fixed;
	bottom: 0;
	right: 10%;
	z-index: 99999;
	width: 367px;
	max-width: 100%;
}
#floating_lead *{
	-webkit-appearance: none;
}
#floating_lead_overlay{
	background-color: rgba(255, 255, 255, 0.3);
	position: fixed;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
	display: none;	
	z-index: 9999;
}
.lead_btn{
	background-color: #54c9ea;
	color: #fff;
	height: 45px;
	padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
   	-webkit-box-align: center;
   	    -ms-flex-align: center;
   	        align-items: center;
	cursor: pointer;
}
.lead_btn i:before{
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    position: absolute;
    }
.lead_btn span{
	font-size: 22px;
	font-weight: 300;
}

.lead_btn i{
	width: 28px;
	height: 28px;
	background-color: #212226;
	color: #fff;
	position: absolute;
    left: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;	-webkit-box-align: center;	-ms-flex-align: center;	align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

.lead_content{
	padding: 20px 10px 20px 10px;
	background-color: rgba(23, 24, 29, 0.86);
	color: #FFF;
	text-align: center;
	display: none;
}

.lead_content a{
	color: #FFF;
}

#floating_lead .widgettitle{
	font-size: 32px;
	font-weight: 400;
	color: #fff;
}

.lead_sub_ttl{
	font-size: 17px;
	font-weight: 400;	
}

.lead_callus{
	font-size: 19px;
	font-weight: 300;
}

#floating_lead .wpcf7-response-output{
	color: #fff;
}
#floating_lead .wpcf7-not-valid {
    background-color: #ffb6b6 !important;
}
#floating_lead div.wpcf7 .ajax-loader {
	position: absolute;
}
#floating_lead .wpcf7-form .flat-wrap-field{
	margin: 0;
}
#floating_lead input {
    margin-bottom: 10px;
    width: 100%;
}
#floating_lead input[type="submit"]{
	background: rgb(255, 170, 5);
}
#floating_lead div.wpcf7-response-output {
    margin: 1em 0.5em 1em;
}
#floating_lead a.lead_callus{
	display: inline-block;
}
@media (max-width: 768px){
	#floating_lead{
		left: 0;
		right: 0;
		margin: auto;
		width: 578px;
		max-width: 80%;
	}
	.lead_btn{
		background-color: rgba(33, 34, 38, 0.95);
	}
	.lead_btn span{
		color: #fff;
	}
	.lead_btn i{
		width: 28px;
		height: 28px;
		background-color: #FFAA05;
		color: #fff;
		position: absolute;
	    left: 10px;
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    -webkit-box-orient: horizontal;
	    -webkit-box-direction: normal;
	        -ms-flex-flow: row wrap;
	            flex-flow: row wrap;
   		-webkit-box-align: center;
   		    -ms-flex-align: center;
   		        align-items: center;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}
}

@media (max-width: 425px){
	#floating_lead .lead_title{
		font-size: 7vw;
	}
	.lead_btn span {
    	font-size: 5.5vw;
	}
	p.lead_sub_ttl {
    	font-size: 4.5vw;
	}
	a.lead_callus {
    	font-size: 5vw;
	}
	#floating_lead{
	    max-height: 95%;
		overflow-y: scroll;
	}
}