
/**
* Media Queries
*
* This is where the Responsive CSS added
* This is Desktop-First responsiveness
* Note: Responsive css starts with class .fbf-responsive
* 
* -----------------------------------------------------------------------------
*/

@media only screen and (min-width: 1690px) {
    .site-header .wrap, 
    .footer-widgets .wrap, 
    .footer-bottom-wrap .wrap,  
    .nav-primary .wrap {
        width: 1700px;   
    }
}

@media only screen and (min-width: 1390px) {
    .site-header .wrap, 
    .footer-widgets .wrap, 
    .footer-bottom-wrap .wrap, 
    .nav-primary .wrap {
        width: 1400px;   
    }
    
    .footer-widgets-3 {
        width: 40%:   
    }
}

@media only screen and (max-width: 1024px) {
	
}

@media only screen and ( max-width: 1023px ) {
    /*Home Section 5*/
    .content-block-5 {
        padding-bottom: 50px;
    }
    /*Home Section 5 End*/
    
    /* Contact Page */
	.contact-page .content-sidebar-wrap .left-side {
	    width: 500px;
	    margin: 0 auto;
	    clear: both;
	}

	.contact-page .content-sidebar-wrap .right-side {
	    width: 500px;
	    margin: 30px auto;
	    clear: both;
	}
    /* Contact Page End*/
    
    /*contact page bottom infos*/
    .right-bar{
        border-right: 0px !important;
        margin-bottom: 50px;
    }

    .left-space{
        padding-left: 0px !important;
        margin-bottom: 50px;
    }
    
    .contact-bottom-content .col-xs-6{
        width: 100%;
        text-align: center;
    }
    /*contact page bottom infos end*/
	
}

@media only screen and (max-width: 767px) {
    
    /*footer styles*/
     
    .footer-widgets-1,
    .footer-widgets-2,
    .footer-widgets-3 {
        padding: 0;
        clear: both;
        margin: 0 auto;
        float: none !important;
        width: 50% !important;
    }
    
    .footer-widgets-2 .widget-title{
        display: none;
    }

    .footer-widgets-2{
        margin-top: -20px !important;
    }
    
    .footer-bottom-wrap .widget-1,
    .footer-bottom-wrap .widget-2,
    .footer-bottom-wrap .widget-3{
        clear: both;
        text-align: center;
        display: inline-block;
        width: 100%;
        margin-bottom: 20px;
        float: left;
    }
    
    .footer-copy {
        float: left;
        clear: both;
        width: 100%;
        text-align: center;
    }
    
    .social-icons a {
        float: none !important;
    }
    
    .social-icons .youtube {
        margin-right: 20px !important;
    }
    
    .social-icons .fb {
        margin-right: 0px !important;
    }
    
    .phone-box{
        background: none !important;
        padding-left: 0px !important;
    }
    /*footer styles end*/
	
}

@media only screen and (max-width: 539px) {
    /*Header*/
    .header-1 .title-area {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .header-1 .header-widget-area {
        float: none;
        text-align: center;
    }
    
    .btn-secondary-v2 {
        margin: 0px 5px 10px 5px;
    }
    /*Header End*/
    
    /*Home CTA */
    .gform_wrapper #gform_3 .gform_footer {
        clear: both;
    }
    
    .gform_wrapper #gform_3 .gform_button.button {
        width: 100%;
        margin-top: 10px;
    }
    
    .apntmnt-name,
    .apntmnt-email,
    .apntmnt-phone {
        width: 100%; 
        margin: 0px 0px 20px 0px;
    }
    /*Home CTA End*/
    
    /* Contact Page */
	.contact-page .content-sidebar-wrap .left-side {
	    width: 100% !important;
	    margin: 0 auto;
	    clear: both;
	}

	.contact-page .content-sidebar-wrap .right-side {
	    width: 100% !important;
	    margin: 30px auto;
	    clear: both;
	}
    
    .contact-page .contact-form .gform_footer .gform_button.button {
        width: 100% !important;
        margin-top: 40px !important;
        height: auto !important;
        padding: 10px 15px !important;
    }
    
    #field_1_5 .top_label .gfield_label {
        margin: -10px 0px !important;
    }
    /* Contact Page End*/
    
    /*Testimonial Page*/
    .testimonial-box{
	   background: #f6f8fb !important;
    }
    
    .testimonial-content-page{
        padding: 25px 25px 25px 25px !important;
    }
    /*Testimonial Page End*/
    
    /*footer styles*/
    .footer-widgets-1,
    .footer-widgets-2,
    .footer-widgets-3 {
        padding: 0;
        clear: both;
        margin: 0 auto;
        float: none !important;
        width: 80% !important;
    }
    /*footer styles end*/

}






/**
* Retina Media Queries 
* -----------------------------------------------------------------------------
*/


@media only screen and (-webkit-min-device-pixel-ratio: 2), 
only screen and (min-device-pixel-ratio: 2) {
    .header-1 .title-area .main-logo {
        background: url('../images/logo@2x.png') no-repeat;
        display: block;
        width: 227px;
        height: 57px;
        background-size: cover;
        margin: 0 auto;
    }
}