/* 
    Document   : responsive style
*/

/* ========================================================================== 
    RESPONSIVE NAVIGATION
============================================================================= */
.dl-menuwrapper {
    width: 100%;
    max-width: 300px;
    float: left;
    position: relative;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    perspective: 1000;
    -webkit-perspective-origin: 50% 200%;
    -moz-perspective-origin: 50% 200%;
    perspective-origin: 50% 200%;
    display: none;
    z-index: 1002;
}

.dl-menuwrapper:first-child {
    margin-right: 100px;
}

.dl-menuwrapper button {
    background: transparent;
    border: none;
    width: 48px;
    height: 45px;
    text-indent: -900em;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    outline: none;
	float: right;
margin-top: 20px;
}

.dl-menuwrapper button:hover,
.dl-menuwrapper button.dl-active,
.dl-menuwrapper ul {
    background: #aaa;
}

.dl-menuwrapper button:after {
    content: '';
    position: absolute;
    width: 68%;
    height: 5px;
    background: #000;
    top: 10px;
    left: 16%;
    box-shadow: 
        0 10px 0 #000, 
        0 20px 0 #000;
}

.dl-menuwrapper ul {
    padding: 0;
    list-style: none;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.dl-menuwrapper li {
    position: relative;
}

.dl-menuwrapper li a {
    display: block;
    position: relative;
    padding: 15px 20px;
    font-size: 17px;
    line-height: 20px;
    font-weight: 300;
    color: #000;
	font-weight: bold;
	
    outline: none;
}

.no-touch .dl-menuwrapper li a:hover {
    background: rgba(255,248,213,0.1);
}

.dl-menuwrapper li.dl-back > a {
    padding-left: 30px;
    background: rgba(0,0,0,0.1);
}

.dl-menuwrapper li.dl-back:after,
.dl-menuwrapper li > a:not(:only-child):after {
    position: absolute;
    top: 0;
    speak: none;
    -webkit-font-smoothing: antialiased;
}

.dl-menuwrapper li.dl-back:after {
    left: 10px;
    color: rgba(212,204,198,0.3);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

.dl-menuwrapper li > a:after {
    right: 10px;
    color: rgba(0,0,0,0.15);
}

.dl-menuwrapper .dl-menu {
    margin: 5px 0 0 0;
    position: absolute;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    transform: translateY(10px);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.dl-menuwrapper .dl-menu.dl-menu-toggle {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.dl-menuwrapper .dl-menu.dl-menuopen {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
}

/* Hide the inner submenus */
.dl-menuwrapper li .dl-submenu {
    display: none;
}

/* 
When a submenu is openend, we will hide all li siblings.
For that we give a class to the parent menu called "dl-subview".
We also hide the submenu link. 
The opened submenu will get the class "dl-subviewopen".
All this is done for any sub-level being entered.
*/
.dl-menu.dl-subview li,
.dl-menu.dl-subview li.dl-subviewopen > a,
.dl-menu.dl-subview li.dl-subview > a {
    display: none;
}

.dl-menu.dl-subview li.dl-subview,
.dl-menu.dl-subview li.dl-subview .dl-submenu,
.dl-menu.dl-subview li.dl-subviewopen,
.dl-menu.dl-subview li.dl-subviewopen > .dl-submenu,
.dl-menu.dl-subview li.dl-subviewopen > .dl-submenu > li {
    display: block;
}

/* Dynamically added submenu outside of the menu context */
.dl-menuwrapper > .dl-submenu {
    position: absolute;
    width: 100%;
    top: 50px;
    left: 0;
    margin: 0;
}

/* Animation classes for moving out and in */
.dl-menu.dl-animate-out-2 {
    -webkit-animation: MenuAnimOut2 0.3s ease-in-out;
    -moz-animation: MenuAnimOut2 0.3s ease-in-out;
    animation: MenuAnimOut2 0.3s ease-in-out;
}

@-webkit-keyframes MenuAnimOut2 {
    100% {
    -webkit-transform: translateX(-100%);
    opacity: 0;
}
}

@-moz-keyframes MenuAnimOut2 {
    100% {
    -moz-transform: translateX(-100%);
    opacity: 0;
}
}

@keyframes MenuAnimOut2 {
    100% {
    transform: translateX(-100%);
    opacity: 0;
}
}

.dl-menu.dl-animate-in-2 {
    -webkit-animation: MenuAnimIn2 0.3s ease-in-out;
    -moz-animation: MenuAnimIn2 0.3s ease-in-out;
    animation: MenuAnimIn2 0.3s ease-in-out;
}

@-webkit-keyframes MenuAnimIn2 {
    0% {
    -webkit-transform: translateX(-100%);
    opacity: 0;
}
100% {
    -webkit-transform: translateX(0px);
    opacity: 1;
}
}

@-moz-keyframes MenuAnimIn2 {
    0% {
    -moz-transform: translateX(-100%);
    opacity: 0;
}
100% {
    -moz-transform: translateX(0px);
    opacity: 1;
}
}

@keyframes MenuAnimIn2 {
    0% {
    transform: translateX(-100%);
    opacity: 0;
}
100% {
    transform: translateX(0px);
    opacity: 1;
}
}

.dl-menuwrapper > .dl-submenu.dl-animate-in-2 {
    -webkit-animation: SubMenuAnimIn2 0.3s ease-in-out;
    -moz-animation: SubMenuAnimIn2 0.3s ease-in-out;
    animation: SubMenuAnimIn2 0.3s ease-in-out;
}

@-webkit-keyframes SubMenuAnimIn2 {
    0% {
    -webkit-transform: translateX(100%);
    opacity: 0;
}
100% {
    -webkit-transform: translateX(0px);
    opacity: 1;
}
}

@-moz-keyframes SubMenuAnimIn2 {
    0% {
    -moz-transform: translateX(100%);
    opacity: 0;
}
100% {
    -moz-transform: translateX(0px);
    opacity: 1;
}
}

@keyframes SubMenuAnimIn2 {
    0% {
    transform: translateX(100%);
    opacity: 0;
}
100% {
    transform: translateX(0px);
    opacity: 1;
}
}

.dl-menuwrapper > .dl-submenu.dl-animate-out-2 {
    -webkit-animation: SubMenuAnimOut2 0.3s ease-in-out;
    -moz-animation: SubMenuAnimOut2 0.3s ease-in-out;
    animation: SubMenuAnimOut2 0.3s ease-in-out;
}

@-webkit-keyframes SubMenuAnimOut2 {
    0% {
    -webkit-transform: translateX(0%);
    opacity: 1;
}
100% {
    -webkit-transform: translateX(100%);
    opacity: 0;
}
}

@-moz-keyframes SubMenuAnimOut2 {
    0% {
    -moz-transform: translateX(0%);
    opacity: 1;
}
100% {
    -moz-transform: translateX(100%);
    opacity: 0;
}
}

@keyframes SubMenuAnimOut2 {
    0% {
    transform: translateX(0%);
    opacity: 1;
}
100% {
    transform: translateX(100%);
    opacity: 0;
}
}

/* No JS Fallback */
.no-js .dl-menuwrapper .dl-menu {
    position: relative;
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
}

.no-js .dl-menuwrapper li .dl-submenu {
    display: block;
}

.no-js .dl-menuwrapper li.dl-back {
    display: none;
}

.no-js .dl-menuwrapper li > a:not(:only-child) {
    background: rgba(0,0,0,0.1);
}

.no-js .dl-menuwrapper li > a:not(:only-child):after {
    content: '';
}


.dl-menuwrapper button:hover,
.dl-menuwrapper button.dl-active,
.dl-menuwrapper ul {
    background: #ecc35c;
}

/* ========================================================================== 
    RESPONSIVE STYLES - DEVICES RESOLUTION
============================================================================= */

@media only screen and (min-width: 320px) and (max-width: 479px){
    p, a {
  font: 16px 'Open Sans', Arial, sans-serif;
  line-height: 25px;
}
	.container{max-width:  96%;}
	
	.page-content .row{margin-bottom: 0px;}
	
	.page-content .row_wide {padding: 50px 0;}

    .grid_1,
    .grid_2,
    .grid_3,
    .grid_4,
    .grid_5,
    .grid_6,
    .grid_7,
    .grid_8,
    .grid_9,
    .grid_10,
    .grid_11, 
    .grid_12{
        float: left;
        width: 96%;
		margin-left: 9px;
    }
	
    .page-content *[class*="grid_"]{margin-bottom: 15px;}

    *[class*="grid_"] *[class*="grid_"]:last-child{margin-bottom: 0;}

    *[class*="grid_"] *[class*="grid_"]{margin-left: 0 !important; }
	
	h2 {font-size: 1.9rem;}
	
	h3, h3 a {font-size: 28px; line-height: 35px;}
	
	h4, h4 a {font-size: 20px;}
	
	#page-title2 {padding: 0px 0 0;  margin-top: 0px;}
	
	#page-title2 .row{margin-bottom: 0px;}

    .header,
    #header, 
    #top-bar{
        width: 96%;
    }
	#page-title3-t4 {
  background: url('../img/pictures/bkg-11b.png');
    background-color: rgba(0, 0, 0, 0);
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
  background-color: #f3f4fa;
  background-repeat: no-repeat, no-repeat;
  background-size: 130%;
    background-position: 180px 0px;
  position: relative;
  min-height: 420px;
  max-width: 100%;
  height: auto;
}
	.rate-form-main {
    text-align: left;
    margin-top: 0px;
		margin-left: 5px;
		margin-bottom: 50px;
}
	.rate-form-main .btn-group a .button_slide_color2{
		
		float: none; margin: 15px auto;
	}
	.header-style-4 .contact-info li{margin-left: 0px;}
	.mt-lg {
  margin-top: 40px !important;
}
 .rate-form-carousel h4 {
    padding-bottom: 0px;
    font-size: 16px;
    line-height: 25px !important;
  }
    #top-bar .contact-info{
        width: 60%;
        max-width: 100%;
		padding-right: 0px;
		display: none;
    }
	#top-bar .contact-info li{margin-right: 0px}
    #top-bar .contact-info li a {
  line-height: 20px;
  font-size: 16px !important;
}
	#top-bar .contact-info li a.btn-medium {
  line-height: 18px;
  font-size: 14px !important;
  margin-left: 15px;
}
	#top-bar .social-links{
		display:none;
    }
	.rate-form-main .btn-group{
	
	text-align: center;
}
	.btn-group-banner.main {
    display: inline-block;
    width: 80%;
}
	.banner-content {
    margin-top: 5px;
}
	.banner-content h1 {font-size: 32px;
line-height: 40px; text-align: center}
	.banner-content h3 {font-size: 23px;
line-height: 35px;
	color: #fff; 
	text-align: center}
	.grp-right{
	margin-top: 0px;
}
	.quickquote-form .title_form{
	font-size: 23px;
line-height: 32px;	
		padding: 0 20px;
	}
	#quote .name-container, #quote .loan-amount, #quote .property-type, #quote .phone, #quote .score {
    float: left;
    width: 100%;
}
	
	
    #page-title3 {
    background: url('../img/pictures/bkg-11a.jpg') center center;
        background-position-x: center;
        background-position-y: center;
        background-size: auto;
    background-size: cover;
    padding: 70px 0 50px 0;
    margin-bottom: 60px;
    position: relative;
    background-position: 30% 0px;
    min-height: 500px;
    margin-top: -111px;
}
	#logo{
        width: 32%;
    max-width: 100%;
    float: left;
    margin-top: 5px;
    margin-left: 20px;
    }
	#page-title2a{
		padding: 60px 0 50px 0;
		min-height: 500px;
		background-position: 60% 0px;
	}
	.dl-menuwrapper {float: right; margin-right:4%; }
	
	.dl-menuwrapper button {margin-top: 5px}
	
	.dl-menuwrapper .dl-menu {margin: 50px 0 0 0;}
	
	.ml-lg {
    	float: none;
		padding: 10px 20px;
		font-weight: normal
	}
	.shadow-bx {
float: none;
width: 100%;
display: block;
height: auto !important;
text-align: left;
align-items: center;
margin-top: 0px;
}
	.shadow-bx .shadow-body { 
	padding: 0 0;
    box-shadow: 0px 0px 0px 0px;
    margin-bottom: 40px;
    width: 100%;
    text-align: center;}
	
	.tab-content-wrap { padding: 0px;
	margin-top: 30px;}
	.box1 {
		margin-top: -40px;
		margin-right: 0px;
		margin-left: 0px
	}
	.container-iframe-afford1 {
    position: relative;
    overflow: hidden;
    padding-top: 40rem;
}
	.container-iframe-refi1 {
    position: relative;
    overflow: hidden;
    padding-top: 120rem;
}
	.box2,
	.box3{
		margin: 0 0;
	}
	.service-box-1 .content {
  padding: 25px;
}
	.service-box-1 .content img{
	max-width: 45px;
}
	.service-box-1 h4 {
  padding-top: 15px;
  margin-bottom: 10px;
  padding-left: 0px;
		font: 22px Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";}
	.title_lg {
		font-size: 2.3rem;
		font-weight: bold;
	}
	.container.wide {width: 100%}
	
	.container.wide .grid_6 { width: 96%;}
	
	.row-pad-tb {padding: 0px 0}
	
	.heading-frame {
		width: 85%;
		padding: 1.5rem !important;
	}
	.background-gradiant-red {
  padding: 30px 30px;
  margin-top: 0px;
  height: 44.5rem;
}
	.page-content.parallax-8 {padding: 50px 0;}
	
	.page-content.parallax-6,
	.page-content.parallax-8{
		background-attachment: scroll !important;
		max-width: 800px;
		background-size: auto;

	}
	.logo_footer {
    margin: 0 auto;
}
	.heading-frame::before, .heading-frame::after  {width: 100%}
	
	#footer p, footer a {font-size: 12px;}
	
	.footer-widget-container li.widget:last-child {margin-bottom: 30px;}
	
	.widget h6 {
		margin-bottom: 10px;
		text-transform: uppercase;
	}
    #contact-social {
    	float: right;
    	margin:2px 0 5px 0;
		max-width: 65%;
		text-align: right;
	}
	.header-style-4 .contact-info li p { font-size: 11px; line-height: 11px; margin-bottom: 5px}
	.header-style-4 .contact-info li a {font-size: 11px; line-height: 11px}
	.header-style-4 .contact-info li span {font-size: 16px; line-height: 2px}
    #nav-container{
        display: none;
    }
    .dl-menuwrapper{
        display: block;
        margin-bottom: 0px;
        max-width: 200px;
    }
    
    .dl-menuwrapper li a:hover{
        color: #fff !important;
    }
    
    .header-style-4 .social-links{
		display:none;
    }
    
    .header-style-4 .social-links li:first-child{
        margin-left: 0;
    }
    .btn-group a.btn-medium, .btn-group a.btn-big {
		display: table-row;
		line-height: 20px;
    font-size: 14px;
    font-weight: bold;
		padding: 13px 20px;
	}
	.btn-group1 a.btn-medium, .btn-group1 a.btn-big {
		display: table-row;
		line-height: 20px;
    font-size: 14px;
    font-weight: bold;
		padding: 13px 20px;
	}
	.accordion .title{padding-top: 30px;}
	
	.title {
		font-size: 0rem;
		line-height: 0;
		font-weight: bold;
	}
   
	#quote123side form {
		margin: 20px 0 0 20px;
		width: 100%;
	}
	
	.banner123_text {
		font-size:30px; 
		line-height: 30px;
		padding-top:15px; 
		padding-bottom:0px;	
	}

	.banner123_text span {
		font-size:20px; 
		color:#ffffff;
	}
	
    .step123img{
		width:50%;
		max-width:100%;
		padding:0 0 8px 10px;
	}
	
	.step123imgside{
		width:50%;
		max-width:100%;
		padding:0 0 8px 10px;
	}
	
	.step123imgapp {
		width: 50%;
		max-width: 80%;
		padding: 0 0 8px 10px;
	}
	
    .grid_3 .numbers-counter li, 
    .grid_4 .numbers-counter li, 
    .grid_5 .numbers-counter li, 
    .grid_6 .numbers-counter li, 
    .grid_8 .numbers-counter li, 
    .grid_7 .numbers-counter li, 
    .grid_9 .numbers-counter li, 
    .grid_12 .numbers-counter li{
        width: 134px;
        height: 134px;
    }
    
    .grid_3 .numbers-counter li span, 
    .grid_4 .numbers-counter li span, 
    .grid_5 .numbers-counter li span, 
    .grid_6 .numbers-counter li span, 
    .grid_7 .numbers-counter li span, 
    .grid_8 .numbers-counter li span, 
    .grid_9 .numbers-counter li span, 
    .grid_12 .numbers-counter li span{
        padding-top: 35px;
    }
    
    .latest-posts li.post{ width: 100%;}
    
    .tabs li{
    
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
		box-sizing: border-box;
    }
    
    .tabs.vertical, 
    .tab-content-wrap.vertical{
        width: 100%;
    }
    
    .tab-content-wrap.vertical .tab-content{
        padding-left: 0;
        padding-top: 30px;
    }
    
    .team-alternative li{width: 100%;}
    
    .team-member-hover .team-member-info .position{margin-bottom: 20px;}
    
    .team-member-hover .btn-medium{left: 85px;}
    
    .team-member-hover .team-member-info h5{padding-top: 50px;}
    
    .team-img-container .team-img-hover{display: none;}
    
    .history-arrow-right, 
    .history-arrow-left{
        background-size: 170px 35px !important;
    }
    
    #page-title.page-title-2 .pt-title{
        width: 100%;
        text-align: center;
        float: none;
        margin-bottom: 10px;
    }
    
    #page-title.page-title-2 .breadcrumbs{
        float: none;
        display: table;
        margin: 0 auto;
    }
    
    .chart{
        width: 51px;
        height: 51px;
        min-height: 120px;
        margin-bottom: 20px;
    }
    
    .skills-circular.big .chart{
        width: 96px;
        height: 96px;
    }
    
    .skills-circular.big .percent{
        width: 68px;
        height: 68px;
        font-size: 18px;
    }
    
    .skills-circular.big canvas{
        height: 92px !important;
        width: 92px !important;
    }
    
    .skills-circular.big li{
        margin-right: 0;
        margin-left: 25px;
    }
    
    .widget.social-feed li:nth-child(4n){margin-right: 0;}
    
    .portfolio-items-holder .grid_6{
        width: 100% !important;
        margin-bottom: 2px;
    }
    
    .portfolio-items-holder .grid_4{
        width: 100% !important;
        margin-bottom: 2px;
    }
    
    .portfolio-items-holder .grid_3{
        width: 100% !important;
        margin-bottom: 2px;
    }
    
    .container.full .portfolio-items-holder .isotope-item{
        width: 100%;
        margin-bottom: 2px;
    }
    
    .blog-posts.blog-post-small-image .post-info-container .date-category{
        width: 100%;
        margin-bottom: 10px;
    }
    
    .blog-posts.blog-post-small-image .post-info-container .post-info{padding-left: 0;}
    
    .blog-posts.blog-post-small-image li .post-media-container, 
    .blog-posts.blog-post-small-image li .post-body, 
    .blog-posts.blog-post-small-image li .post-media-container img{
        width: 100%;
    }
    
    .blog-posts.blog-post-small-image li .post-body{padding-left: 0;}
    
    .blog-posts.isotope.cols li.blog-post.isotope-item{width: 100% !important;}
    
    #post-slider.nivoSlider{
        min-height: 142px;
    }
    
    .blog-post.isotope-item iframe{min-height: 142px;}
    
    .blog-posts.isotope.full li.blog-post.isotope-item{width: 430px !important; }
    
    .post-body{
        padding-left: 0;
        float: left;
        width: 100%;
    }
    
    #respond .name-container input, #respond .email-container input{width: 100%;}
    
    .blog-posts.isotope.cols li.blog-post.isotope-item .post-body, 
    .blog-posts.isotope.full li.blog-post.isotope-item .post-body{
        float: none;
    }
    
    .grid_12.blog-posts .blog-post.isotope-item .post-media-container iframe{min-height: 125px;    }
    
    .blog-posts.isotope.full li.blog-post.isotope-item .nivoSlider{ min-height: 125px; }
    
    .map_canvas{height: 300px; }
    
    .copyright-container p{
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }
	.rate .price{text-align:center;}
	
	.rate .applyr .btn-medium{
		margin: 5px auto;
		float: none;
	}
	.rate_lp {
		width:45%;	
		padding:2px 10px 2px 2px;
	}
	#demoWrapper {padding: 40px 15px}
	
	#demoWrapper select{
		height:38px;
		background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
	}
	.rate_rt {
		width:20%;
		padding:2px 2px;
	}

	.rate_ipr {
		width:20%;
		padding:2px 2px;
	}
	#quote .email-container, #quote .property-value, #quote .loan-type, #quote .zip {
    float: left;
    width: 100%;
}
	#quote .name-container input, 
	#quote .email-container input,
	#quote .loan-amount input, 
	#quote .property-value input,
	#quote .phone input,
	#quote .zip input{
		width: 93%;
	}
	#quote .code input{width: 232px;}
	
	#quote .property-type select,
	#quote .loan-type select{
		width:253px;
		height:38px; 
		background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
	}

	#quote .score select{
		width:254px;
		height:38px; 
		background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
	}

	.quote-parameters {height: 380px;}

	.backbtn {top: 540px;}
	
	.container-iframe {padding-top: 50rem;}
	
	.container-iframe-afford{padding-top: 105rem;}
	
	.grid_4.process-box {width: 95% !important}
	
	.widget_text {text-align: center;}
	
	#page-title11{
		background: url('../img/page-titles/page-title-bkg2b.jpg') center center;
		background-size: cover;
		padding: 30px 0 30px 0;
		margin-bottom: 70px;
		overflow: hidden;
		position: relative;
	}
	.banner123_text {
		 padding-top: 10px !important;
		padding-bottom: 100px !important;
		text-align: center;
	}
	body[ng-app="rates"] .page-content .container #rateform .sidepanel::before {
    content: 'Rate Scenario';
    font: 600 26px 'Raleway', Arial , sans-serif;
    color: #1083ca;
    padding-bottom: 20px;
    float: left;
    width: 100%;
}
	
body[ng-app="rates"] .page-content .container #rateform .sidepanel {
		/*width: 195px;*/
		width: 100%;
		min-height: 400px;
	    overflow: hidden;
	    background: #3e5155;
	    border: 4px solid #3e5155;
	    z-index: 100;
	    /* margin-left: -226px; */
	    padding: 30px 10px 30px 10px;
	    /* top: 175px; */
	    top: 145px;
	    border-radius: 8px;
		color: #fff;
	}
	#rateform .field select, #rateform .field input{
		width: 142px !important;
	}
	body[ng-app="rates"] .page-content .container {  width:auto;  margin-top: 80px } 
	body[ng-app="rates"] .page-content .container #rateform .field { margin: 0 10px 8px 10px }
	.rateform-submit {margin-top: 20px}
	
	.home-rate {border-bottom: 1px solid #E2E6EB;}
	.divider_hm{
		display: none
	}
	.down-arrow{
	background: url("../img/down-arrow1.png");
    background-position-x: 50%;
    background-position-y: 50%;
    width: 50px;
    height: 50px;
    float: none;
    display: block;
		margin: 0 auto;
   
  }
	.mb-xlg{
	 margin-bottom: 40px !important;
}
}

@media only screen and (min-width: 480px) and (max-width: 767px){
    .container{
        max-width: 96%;
    }

    .grid_1,
    .grid_2,
    .grid_3,
    .grid_4,
    .grid_5,
    .grid_6,
    .grid_7,
    .grid_8,
    .grid_9,
    .grid_10,
    .grid_11, 
    .grid_12{
        float: left;
        width: 96%;
		margin-left: 9px;
	}
    .container.wide {
    width: 96%;
    max-width: 96%;}
	
	.container.wide .row { padding: 40px 0}
	
	.container.wide .grid_6 { width: 96% !important;}
	
    .page-content .row{margin-bottom: 0px;}
	
	.box2,
	.box3 {margin-top:0px;}
	
    /*.page-content *[class*="grid_"]{margin-bottom: 15px;}

    *[class*="grid_"] *[class*="grid_"]:last-child{ margin-bottom: 0;}

    *[class*="grid_"] *[class*="grid_"]{margin-left: 0 !important;} */
	
    .header,
    #header, 
    #top-bar{width: 100%; }
    #top-bar .contact-info li {
  float: right;
  font-size: 14px !important;
  text-align: right;
  margin-bottom: 5px;
}
    #logo{
        width: 25%;
        max-width: 100%;
		float:left;
		margin-left: 30px;
    }	
	.grid_color1 {
    
    padding: 0px 0;
    display: flex;
}
	#top-bar .contact-info{
		margin-top: 10px;
	}
	#top-bar .contact-info li a.btn-medium{
		font-size: 0.8rem !important;
		padding: 10px 20px;
	}
	.header-style-3 #top-bar-wrapper {
  width: 230px;
}
	.dl-menuwrapper button{
		margin-top: 10px;
	}
	.grid_4.arrow2 {background-color: transparent}
	.arrow1::before,
	.arrow2::before{display: none !important}
	
    .header-style-4 .contact-info li p {
		text-align: right;
		font-weight: bold;
		font-size: 13px;
	}
	.header-style-4 .contact-info li span {font-size: 20px;}
	
	.header-style-4 .contact-info li a {font-size: 15px;}

    .header-style-4 .social-links{display:none;}
	
	.header-style-4 .contact-info li{float:left;}
	
	#nav-container{display: none;}
    
	  .dl-menuwrapper {
    display: block;
    margin-bottom: 0px;
    max-width: 200px;
    float: left;
    margin-right: 5px;
    padding-left: 30px;
  }
	.dl-menuwrapper button{
		float: left;
		margin-top: 0px;
	}
	#page-title3 {
    background: url('../img/pictures/bkg-11a.jpg') center center;
       
}
	.dl-menuwrapper .dl-menu {margin: 0px 0 0 0;}
  
	.dl-menuwrapper li a:hover{color: #fff !important;}
	
	.accordion .title{padding-top: 30px;}
	#top-bar .contact-info {padding-right:30px; width: 60%; }
    
	.rate-form-main {
  margin-top: 0px;
}
	#page-title3-t4{
		min-height: 400px;
		background-position: 400px top;
		background-size: 70%;
	}
	.title {
		font-size: 0rem;
		line-height: 0;
		font-weight: bold;
	}
    #contact-social{
		margin:5px 0 5px 0;
		max-width: 50%;
		text-align: right;
	}
   .banner-content h1 {
    font-size: 35px;
    line-height: 45px;
}
	.banner-content h3{
		color: #fff;
		text-shadow: 0 2px 10px #132e42;
	}
	.banner123_text {
		 font-size:30px; 
		 line-height: 30px;
		 padding-top:15px; 
		 padding-bottom:0px;	
	}
	.banner123_text span {
		font-size:20px; 
		color:#ffffff;
	}
	
    .step123img{
		width:30%;
		max-width:100%;
		padding:0 0 8px 10px;
	}
	
	.step123imgside{
		width:30%;
		max-width:100%;
		padding:0 0 8px 10px;
	}
	
	.step123imgapp {
		width: 30%;
		max-width: 50%;
		padding: 0 0 8px 10px;
	}
  
    .grid_3 .numbers-counter li, 
    .grid_4 .numbers-counter li, 
    .grid_5 .numbers-counter li, 
    .grid_6 .numbers-counter li, 
    .grid_8 .numbers-counter li, 
    .grid_7 .numbers-counter li, 
    .grid_9 .numbers-counter li, 
    .grid_12 .numbers-counter li{
        width: 142px;
        height: 142px;
    }
    
    .grid_3 .numbers-counter li span, 
    .grid_4 .numbers-counter li span, 
    .grid_5 .numbers-counter li span, 
    .grid_6 .numbers-counter li span, 
    .grid_7 .numbers-counter li span, 
    .grid_8 .numbers-counter li span, 
    .grid_9 .numbers-counter li span, 
    .grid_12 .numbers-counter li span{
        padding-top: 35px;
    }
    
    .latest-posts li.post{
        width: 100%;
    }
    
    .tabs li{
       
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
		box-sizing: border-box;
    }
    
    .tabs.vertical, 
    .tab-content-wrap.vertical{width: 100%;}
    
    .tab-content-wrap.vertical .tab-content{
        padding-left: 0;
        padding-top: 30px;
    }
    
    .team-alternative li{ width: 214px;}
    
    .team-member-hover .team-member-info .position{ margin-bottom: 10px;}
    
    .team-member-hover .btn-medium{left: 55px;}
    
    .team-member-hover .team-member-info h5{padding-top: 30px;}
    
    .team-img-container .team-img-hover{display: none;}
    
    .history-arrow-right, 
    .history-arrow-left{ background-size: 170px 35px !important;}
    
    #page-title.page-title-2 .pt-title{
        width: 100%;
        text-align: center;
        float: none;
        margin-bottom: 10px;
    }
    
    #page-title.page-title-2 .breadcrumbs{
        float: none;
        display: table;
        margin: 0 auto;
    }
    
    .chart{
        width: 51px;
        height: 51px;
        min-height: 120px;
        margin-bottom: 20px;
    }
    
    .skills-circular.big .chart{
        width: 96px;
        height: 96px;
    }
    
    .skills-circular.big .percent{
        width: 68px !important;
        height: 68px !important;
        font-size: 18px;
    }
    
    .skills-circular.big canvas{
        height: 92px !important;
        width: 92px !important;
    }
    
    .skills-circular.big li{
        margin-right: 20px;
        margin-left: 25px;
    }
    
    .widget.social-feed li:nth-child(6n){
        margin-right: 0;
    }
    
    .widget.social-feed li:nth-child(4n){
        margin-right: 1px;
    }
    
    .portfolio-items-holder .grid_6{
        width: 100% !important;
        margin-bottom: 2px;
    }
    
    .portfolio-items-holder .grid_4{
        width: 100% !important;
        margin-bottom: 2px;
    }
    
    .portfolio-items-holder .grid_3{
        width: 100% !important;
        margin-bottom: 2px;
    }
    
    .container.full .portfolio-items-holder .isotope-item{
        width: 100%;
        margin-bottom: 2px;
    }
    
    .blog-posts.blog-post-small-image li .post-media-container, 
    .blog-posts.blog-post-small-image li .post-body, 
    .blog-posts.blog-post-small-image li .post-media-container img{
        width: 100%;
    }
    
    .blog-posts.blog-post-small-image li .post-body{
        padding-left: 0;
    }
    
    .blog-posts.isotope.cols li.blog-post.isotope-item{
        width: 430px !important;
    }
    
    #post-slider.nivoSlider{
        min-height: 142px;
    }
    
    .blog-post.isotope-item iframe{
        min-height: 142px;
    }
    
    .blog-posts.isotope.full li.blog-post.isotope-item{
        width: 430px !important;
    }
    
    .post-body{
        padding-left: 0;
        float: left;
    }
    
    .blog-posts.isotope.cols li.blog-post.isotope-item .post-body, 
    .blog-posts.isotope.full li.blog-post.isotope-item .post-body{
        float: none;
    }
    
    .grid_12.blog-posts .blog-post.isotope-item .post-media-container iframe{
        min-height: 125px;
    }
    
    .blog-posts.isotope.full li.blog-post.isotope-item .nivoSlider{
        min-height: 125px;
    }
    
    .map_canvas{
        height: 300px;
    }
    
    .copyright-container p{
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }
	
	#quote{
		width: 100%;
		margin-bottom:15px;
	}
	#demoWrapper {
		width: 390px;
		padding: 40px 20px;
		
	}
	#quote form{
		width:91%;
		margin-right:0;
	}
	#quote123side form {
		margin: 20px 0 0 20px;;
		width: 100%;
	}

	#quote #quote-submit{
		width: 320px;
		padding: 12px 22px;
	}
	
	.rate-form-carousel form > div.bckfrwd {
		left: 43%;
		transform: translateX(-50%);
	}
	.heading-frame {
		padding: 1.5rem;
		width: 91%;
	}
	.rate .price{text-align:center;}
	
	.rate_lp {width:40%;}

	.rate_rt {width:20%;}

	.rate_ipr {
		width:20%;
		padding:5px 5px;
	}
	#quote .name-container input, 
	#quote .email-container input,
	#quote .loan-amount input, 
	#quote .property-value input,
	#quote .phone input,
	#quote .zip input{
		width: 280px;
	}
	#quote .code input{
		width: 402px;
	}
	#quote .property-type select,
	#quote .loan-type select{
		width:202px; 
		height:38px;
		background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
	}
	#quote .score select{
		width:202px;
		height:38px;
		background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
	}
	#demoWrapper select{
		height:38px;
		background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
	}
	 .footer-widget-container .logoft{
		width:30%;
		max-width:100%;
		 margin-bottom: 15px;
	}
	.quote-parameters {
    	height: 210px;
	} 
	.backbtn {left: 38%;}
	
	.container-iframe {padding-top: 50rem;}
	
	.container-iframe-afford{padding-top: 105rem;}
	
	.widget_text {text-align: center;}
	
	#page-title11{
		background: url('../img/page-titles/page-title-bkg2b.jpg') center center;
		background-size: cover;
		padding: 30px 0 30px 0;
		margin-bottom: 70px;
		overflow: hidden;
		position: relative;
	}
	.banner123_text {
		padding-top: 10px !important;
		padding-bottom: 100px !important;
		text-align: center;
	}
	
	body[ng-app="rates"] #header-wrapper { position: fixed; }
	/*body[ng-app="rates"] .page-content { padding-left: 210px; margin-top: 175px !important}*/
	body[ng-app="rates"] .page-content { }
	body[ng-app="rates"] .page-content .container {  overflow: hidden; width:auto; min-height: 850px; margin-top: 150px } 
	body[ng-app="rates"] .footer-wrapper .container { width: auto }
	body[ng-app="rates"] .page-content .container .hidden-xs { display: none; }
	body[ng-app="rates"] .page-content .container .hidden-xs + .row .grid_12 { width: 100%; margin: 0; }
	body[ng-app="rates"] .page-content .container #rateform .sidepanel {
		/*width: 195px;*/
		width: 100%;
		min-height: 400px;
	    overflow: hidden;
	    background: #3e5155;
	    border: 4px solid #3e5155;
	    z-index: 100;
	    /* margin-left: -226px; */
	    padding: 15px;
	    /* top: 175px; */
	    top: 145px;
	    border-radius: 8px;
		color: #fff;
	}
	#rateform .field select, #rateform .field input{
		width: 152px !important;
	}
	body[ng-app="rates"] .page-content .container #rateform .sidepanel:before {
	    content: 'Rate Scenario';
	    font: 600 26px 'Raleway', Arial , sans-serif;
	    color: #fc6b14;
	    padding-bottom: 20px;
	    float: left;
	    width: 100%;
    }
	body[ng-app="rates"] .page-content .container #rateform .sidepanel .grid_12 { text-align: center; width: 100%;
margin-right: 0px; }
	.ratetable > p { display: none; }
	body[ng-app="rates"] .page-content .container > div:last-child .grid_12 {width: 100%; }
	body[ng-app="rates"] .page-content .container > div:last-child .heading-centered {display:none}
	body[ng-app="rates"] .row { margin-right: 0 } 
	body[ng-app="rates"] .page-content .container #rateform .field { margin: 0 10px 8px 10px }
	.rateform-submit {margin-top: 20px}
	.home-rate {border-bottom: 1px solid #E2E6EB; margin-bottom: 30px}
	.divider_hm{
		display: none
	}
	
}

@media only screen and (min-width: 768px) and (max-width: 991px){
    
	.container { max-width: 756px;}
	
    .grid_1 { width: 33px !important;}
    
    .grid_3 {
        width: 38vw !important;
		margin-bottom: 30px;
    }
    .grid_4 {width: 222px !important;}
    .grid_5 {width: 285px !important;}
    .grid_6 {width: 45% !important;}
    .grid_7 {width: 411px !important;}
    .grid_8 {width: 474px !important;}
    .grid_9 {width: 420px !important;}
    .grid_10 {width: 600px !important;}
    .grid_11 {width: 663px !important; }
    .grid_12 {width: 726px !important;}
    
	.container.wide {
		width: 90%;
		max-width: 90%;
	}
	.container.wide .row { padding: 40px 0}
	
	.container.wide .grid_6 {width: 97% !important;}
	
	.grid_4.process-box{width: 96% !important}
    
	.three-container .grid_4{width: 40% !important}
	
	.box2 { margin: -10px 0 0 0 }
	
	.box3 {margin: -40px 0 0 0;}
	
	.container.wide .grid_6 { text-align: center; margin-bottom: 40px}
	
	.container.wide .grid_6 ul li {text-align: left}
	
    #page-title .grid_8, 
    #page-title .grid_4{
        width: 100% !important;
    }
	
    .header,
    #header, 
    #top-bar{
        width: 100%;
    }
    
    #logo{
        width: 35%;
        max-width: 100%;
    }
        
    .header-style-4 .social-links{max-width: 526px;} 
    
    .header-style-4 #logo{max-width: 170px;}
	
	#nav-container{display: none;}
    .header-style-3 #top-bar-wrapper {
  border-bottom: none;
  z-index: 1000;
  position: relative;
  padding-bottom: 10px;
  max-width: 50%;
  float: right;
}
	.dl-menuwrapper {
		display: block;
        margin-bottom: 0px;
        max-width: 220px;
		float: right;  
		margin-right: 45px;
	}
	.dl-menuwrapper button {
		margin-top: 0px;
    margin-bottom: 10px;
   
    margin-left: 15px;	
	}
	.dl-menuwrapper .dl-menu {margin: 65px 0 0 0;}
  
	.dl-menuwrapper li a:hover{color: #fff !important;}
	
	.accordion .title{padding-top: 30px;}
	
    #top-bar .contact-info {padding-right:48px; }
    
	.banner123_text {
		font-size:35px; 
		padding-top:40px; 
		padding-bottom:0px;	
	}
	
	.rate-form-main {
  margin-top: 0px;
		margin-left: 0px;
}
	#page-title3-t4{
		min-height: 550px;
		background-position: 480px top;
	}
	.service-box-1 .content {
  padding: 45px 20px;
}
	.banner123_text span {
		font-size:25px; 
		color:#ffffff;
	}
	.header-style-3 #top-bar-wrapper {
  border-bottom: none;
  z-index: 1000;
  position: relative;
  padding-bottom: 10px;
  max-width: 60%;
  float: right;
}
	#top-bar .contact-info li {
  float: right;
  font-size: 16px !important;
  text-align: right;
  margin-bottom: 10px;
}
	.service-box-1{
		height: 30rem;
	}
	.btn-group .button_slide_color {
    padding: 15px 20px !important;
    display: table;
    max-width: 250px;
    margin-bottom: 10px;
}
	.banner-content h1{font-size: 36px;
		line-height: 50px;
	}
	.banner-content h3{
	font-size: 28px;
	line-height: 40px;
	}
	.quickquote-form .title_form{
		padding: 0 15px;
	}
	.quickquote-form{
		margin-top: 30px
	}
    #demoWrapper {
		width:100%;
	}
	#demoWrapper select{
		height:38px;
		background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
	}
	#quote123 form {
		margin: 20px 0 0px 0;
		width: 100%;
	}
	
	.quickquote-123step{min-width:130px;}
	
	.rate-form-carousel form > div.bckfrwd {
		left: 10%;
		transform: translateX(-50%);
	}
	.step123img {
		width: 40%;
		max-width: 100%;
		padding: 3px 0 8px 10px;
	}
	
	.step123imgside {
		width: 53%;
		max-width: 100%;
		padding: 3px 0 8px 10px;
	}
	
	.step123imgapp {
		width: 30%;
		max-width: 50%;
		padding: 0 0 8px 10px;
	}
	#quote123side form {margin: 20px 0 0 0;}
	
    .tp-caption.list-left p, 
    .tp-caption.list-right p {
        font-size: 14px !important;
    }
    
    .grid_3 .numbers-counter li{
        width: 159px;
        height: 159px;
    }
    
    .grid_3 .numbers-counter li span{
        padding-top: 45px;
    }
    
    .grid_4 .numbers-counter li{
        width: 110px;
        height: 110px;
    }
    
    .grid_4 .numbers-counter li span{
        padding-top: 25px;
    }
    
    .grid_5 .numbers-counter li{
        width: 141px;
        height: 141px;
    }
    
    .grid_5 .numbers-counter li span{ padding-top: 35px;}
    
    .grid_6 .numbers-counter li{
        width: 115px;
        height: 115px;
    }
    
    .grid_6 .numbers-counter li span{padding-top: 27px;}
    
    .grid_7 .numbers-counter li{
        width: 136px;
        height: 136px;
    }
    
    .grid_7 .numbers-counter li span{ padding-top: 32px;}
    
    .grid_8 .numbers-counter li{
        width: 117px;
        height: 117px;
    }
    
    .grid_8 .numbers-counter li span{padding-top: 28px;}
    
    .grid_9 .numbers-counter li{
        width: 133px;
        height: 133px;
    }
    
    .grid_9 .numbers-counter li span{padding-top: 30px;}
    
    .grid_12 .numbers-counter li{
        width: 144px;
        height: 144px;
    }
    
    .grid_12 .numbers-counter li span{padding-top: 37px;}  
    
    .latest-posts li.post{width: 159px; }
    
    .tabs li{
     
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
		box-sizing: border-box;
    }
    
    .tabs.vertical, 
    .tab-content-wrap.vertical{
        width: 100%;
    }
    
    .tab-content-wrap.vertical .tab-content{
        padding-left: 0;
        padding-top: 30px;
    }
    
    .team-alternative li{width: 173px;}
    
    .team-member-hover .team-member-info .position{margin-bottom: 10px;    }
    
    .team-member-hover .btn-medium{left: 35px;}
    
    .team-member-hover .team-member-info h5{ padding-top: 20px;}
    
    .chart{
        width: 51px;
        height: 51px;
        min-height: 120px;
        margin-bottom: 20px;
    }
    
    .skills-circular.big .chart{
        width: 96px;
        height: 96px;
    }
    
    .skills-circular.big .percent{
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .skills-circular.big canvas{
        height: 72px !important;
        width: 72px !important;
    }
    
    .skills-circular.big li{
        margin-right: 0;
        margin-left: 25px;
    }
    
    .widget.social-feed li:nth-child(2n){margin-right: 0;}
    
    .widget.social-feed li:nth-child(3n){margin-right: 1px;}
    
    .portfolio-items-holder .grid_6{width: 361px !important;}
    
    .portfolio-items-holder .grid_4{ width: 240px !important;}
    
    .portfolio-items-holder .grid_3{ width: 180px !important;}
    
    .portfolio-img-container figcaption .portfolio-item-like{float: none;}
    
    .container.full .portfolio-items-holder .isotope-item{ width: 33%;}
    
    .blog-posts.blog-post-small-image .post-info-container .date-category{
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .blog-posts.blog-post-small-image .post-info-container .post-info{ padding-left: 0;}
    
    .blog-posts.isotope.cols li.blog-post.isotope-item{width: 100%;}
    
    #post-slider.nivoSlider{min-height: 142px;}
    
    .blog-post.isotope-item iframe{min-height: 142px; }
    
    .blog-posts.isotope.full li.blog-post.isotope-item{width: 348px;}
    
    .grid_12.blog-posts .blog-post.isotope-item .post-media-container iframe{min-height: 125px; }
    
    .blog-posts.isotope.full li.blog-post.isotope-item .nivoSlider{min-height: 125px;}
    
    .map_canvas{ height: 300px; }
	
	.rate_lp {width:40%;}

	.rate_rt {width:20%;}

	.rate_ipr {
		width:20%;
		padding:5px 5px;
	}
	#quote .name-container input, 
	#quote .email-container input,
	#quote .loan-amount input, 
	#quote .property-value input,
	#quote .phone input,
	#quote .zip input{
		width: 150px;
		padding-right:5px;
	}
	#quote .code input{
		width: 260px;
	}
	#quote .property-type select,
	#quote .loan-type select{
		width:132px;  
		padding-right:5px; 
		height:38px; 
		background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
	}

	#quote .score select{
		width:132px;
		padding-right:5px;
		height:38px; 
		background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
	}
	 .footer-widget-container .logoft{
		width:80%;
		max-width:100%;
	}  
	.quote-parameters {height: 210px;}  

	.backbtn {left: 310px}
	
	.container-iframe {padding-top: 50rem;}
	
	.container-iframe-afford{padding-top: 105rem;}
	
	body[ng-app="rates"] #header-wrapper { position: fixed; }
	/*body[ng-app="rates"] .page-content { padding-left: 210px; margin-top: 175px !important}*/
	body[ng-app="rates"] .page-content { }
	body[ng-app="rates"] .page-content .container {  overflow: hidden; width:auto; min-height: 850px; margin-top: 150px } 
	body[ng-app="rates"] .footer-wrapper .container { width: auto }
	body[ng-app="rates"] .page-content .container .hidden-xs { display: none; }
	body[ng-app="rates"] .page-content .container .hidden-xs + .row .grid_12 { width: 100%; margin: 0; }
	body[ng-app="rates"] .page-content .container #rateform .sidepanel {
		/*width: 195px;*/
		width: 100%;
		min-height: 400px;
	    overflow: hidden;
	    background: #3e5155;
	    border: 4px solid #3e5155;
	    z-index: 100;
	    /* margin-left: -226px; */
	    padding: 30px;
	    /* top: 175px; */
	    top: 145px;
	    border-radius: 8px;
		color: #fff;
	}
	body[ng-app="rates"] .page-content .container #rateform .sidepanel:before {
	    content: 'Rate Scenario';
	    font: 600 26px 'Raleway', Arial , sans-serif;
	    color: #fc6b14;
	    padding-bottom: 20px;
	    float: left;
	    width: 100%;
    }
	body[ng-app="rates"] .page-content .container #rateform .sidepanel .grid_12 { text-align: center; width: 100%;
margin-right: 0px; }
	.ratetable > p { display: none; }
	body[ng-app="rates"] .page-content .container > div:last-child .grid_12 {width: 100%; }
	body[ng-app="rates"] .page-content .container > div:last-child .heading-centered {display:none}
	body[ng-app="rates"] .row { margin-right: 0 } 
	body[ng-app="rates"] .page-content .container #rateform .field { margin: 0 14px 10px 14px }
	#rateform .field select, #rateform .field input {
		width: 188px !important;
	}

}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 972px;
    }
    .grid_1,
    .grid_2,
    .grid_3,
    .grid_4,
    .grid_5,
    .grid_6,
    .grid_7,
    .grid_8,
    .grid_9,
    .grid_10,
    .grid_11 {
        float: left;
    }
    .grid_1 {
        width: 51px;
    }
    .grid_2 {
        
    }
    .grid_3 {
        width: 213px;
    }
    .grid_4 {
        width: 294px;
    }
    .grid_5 {
        width: 375px;
    }
    .grid_6 {
        width: 456px;
    }
    .grid_7 {
        width: 537px;
    }
    .grid_8 {
        width: 618px;
    }
    .grid_9 {
        width: 699px;
    }
    .grid_10 {
        width: 780px;
    }
    .grid_11 {
        width: 861px;
    }
    .grid_12 {
        width: 942px;
    }
.container.wide {
    width: 100%;
    max-width: 9100%;
}
	.heading-frame{ width: 100%}
	.container.wide .grid_6 {
    width: 45%;
}
	.three-container .grid_4{width: 40%}
	.header,
    #header, 
    #top-bar{
        width: 100%;
    }
	#nav-container{
		margin-top: 0px;
	}
    .container.wide .row { padding: 40px 0; margin-bottom: 0px}
	.rate-form-main {
  margin-top: 70px;
}
	.service-box-1 {
  height: 22rem;
}
	#logo {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 50px;
  float: left;
max-width: 240px;}
	
	#page-title3-t4{
		min-height: 700px;
		background-position: 45rem top;
	}
	p, a {
  font: 16px 'Open Sans', Arial, sans-serif;
    line-height: normal;
  line-height: 25px;
}
	.service-box-1 .content img {
  width: 50px;
}
    .header-style-4 #nav-container #nav, 
    .header-style-5 #nav-container #nav{
        max-width: 872px;
    }
    
    .header-style-4 .social-links{
        max-width: 742px;
    } 
    
    #nav-container{
        width: 902px;
    }
	#nav > ul > li > a {
    padding: 20px 13px;
    font-weight: bold;
}
	#top-bar .contact-info {padding-right:59px }
	
	.btn-group .button_slide_color {
    padding: 20px 20px !important;
    display: table;
    max-width: 300px;
    margin-bottom: 10px;
}
	.banner123_text {
		font-size:39px; 
	 	padding-top:60px; 
	 	padding-bottom:0px;	
	}
	.container-iframe-afford{padding-top:60rem;}

	.banner123_text span {
	font-size:30px; 
	color:#ffffff;
	}
    #quote123side form {
    margin: 20px 0 0 0;
    width: 100%;
	}
	.step123img {
    width: 40%;
    max-width: 100%;
    padding: 0 0 8px 10px;
	}
	.quote-parameters {
		width:60%;
    height: 210px;
	}
	.rate-form-carousel form > div.bckfrwd {
	left: 10%;
	transform: translateX(-50%);
	}
    .grid_3 .numbers-counter li{
        width: 105px;
        height: 105px;
    }
    
    .grid_3 .numbers-counter li span{
        padding-top: 15px;
    }
    
    .grid_4 .numbers-counter li{
        width: 146px;
        height: 146px;
    }
    
    .grid_4 .numbers-counter li span{
        padding-top: 35px;
    }
    
    .grid_5 .numbers-counter li{
        width: 124px;
        height: 124px;
    }
    
    .grid_5 .numbers-counter li span{
        padding-top: 23px;
    }
    
    .grid_6 .numbers-counter li{
        width: 151px;
        height: 151px;
    }
    
    .grid_6 .numbers-counter li span{
        padding-top: 37px;
    }
    
    .grid_7 .numbers-counter li{
        width: 133px;
        height: 133px;
    }
    
    .grid_7 .numbers-counter li span{
        padding-top: 31px;
    }
    
    .grid_8 .numbers-counter li{
        width: 153px;
        height: 153px;
    }
    
    .grid_8 .numbers-counter li span{
        padding-top: 38px;
    }
    
    .grid_9 .numbers-counter li{
        width: 138px;
        height: 138px;
    }
    
    .grid_9 .numbers-counter li span{
        padding-top: 34px;
    }
    
    .grid_12 .numbers-counter li{
        width: 156px;
        height: 156px;
    }
    
    .grid_12 .numbers-counter li span{
        padding-top: 40px;
    }
    
    .latest-posts li.post{
        width: 213px;
    }
    
    .team-alternative li{
        width: 227px;
    }
    
    .team-member-hover .btn-medium{
        left: 65px;
    }
    
    .team-member-hover .team-member-info h5{
        padding-top: 40px;
    }
    
    .chart{
        width: 51px;
        height: 51px;
    }
    
    .skills-circular.big .chart{
        width: 72px;
        height: 72px;
    }
    
    .skills-circular.big .percent{
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .skills-circular.big canvas{
        height: 72px;
        width: 72px;
    }
    
    .widget.social-feed li:nth-child(4n){
        margin-right: 1px;
    }
    
    .widget.social-feed li:nth-child(3n){
        margin-right: 0;
    }
    
    .portfolio-items-holder .grid_6{
        width: 470px;
    }
    
    .portfolio-items-holder .grid_4{
        width: 312px;
    }
    
    .portfolio-items-holder .grid_3{
        width: 234px;
    }
    
    .container.full .portfolio-items-holder .isotope-item{
        width: 33%;
    }
    
    .blog-posts.isotope.cols li.blog-post.isotope-item{
        width: 334px;
    }
    
    #post-slider.nivoSlider{
        min-height: 142px;
    }
    
    .blog-post.isotope-item iframe{
        min-height: 142px;
    }
    
    .blog-posts.isotope.full li.blog-post.isotope-item{
        width: 294px;
    }
    
    .grid_12.blog-posts .blog-post.isotope-item .post-media-container iframe{
        min-height: 125px;
    }
    
    .blog-posts.isotope.full li.blog-post.isotope-item .nivoSlider{
        min-height: 125px;
    }
    
    .map_canvas{
        height: 300px;
    }
	#quote{
			width: 100%;
	}

	
	#demoWrapper select{
	height:38px;
	background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
}
	.step123imgapp {
    width: 40%;
    max-width: 50%;
    padding: 0 0 8px 10px;
	}
	.rate_lp {
	width:40%;	
}
.step123imgside {
    width: 40%;
    max-width: 100%;
}

.rate_rt {
	width:20%;
}

.rate_ipr {
	width:20%;
	padding:5px 10px;
}
	.banner-content h1{font-size: 40px;
		line-height: 50px;
	}
	.banner-content h3{
	font-size: 28px;
	line-height: 40px;
	}
	#quote fieldset {
    margin-bottom: 20px;
    max-width: 100%;
    font-size: 14px;
}
#quote .name-container input, 
#quote .email-container input,
#quote .loan-amount input, 
#quote .property-value input,
#quote .phone input,
#quote .zip input{
    width: 85%;
}
#quote .code input{
    width: 340px;
}
#quote .property-type select,
#quote .loan-type select{
    width:172px;  
	height:38px;
	background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6; 
}

#quote .score select{
    width:172px;
	height:38px;
	background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
}

	.backbtn {left: 410px}
	
	body[ng-app="rates"] #header-wrapper { position: fixed; }
	/*body[ng-app="rates"] .page-content { padding-left: 210px; margin-top: 175px !important}*/
	body[ng-app="rates"] .page-content { }
	body[ng-app="rates"] .page-content .container {  overflow: hidden; width:auto; min-height: 850px; margin-top: 180px } 
	body[ng-app="rates"] .footer-wrapper .container { width: auto }
	body[ng-app="rates"] .page-content .container .hidden-xs { display: none; }
	body[ng-app="rates"] .page-content .container .hidden-xs + .row .grid_12 { width: 100%; margin: 0; }
	body[ng-app="rates"] .page-content .container #rateform .sidepanel {
		/*width: 195px;*/
		width: 100%;
		min-height: 400px;
	    overflow: hidden;
	    background: #3e5155;
	    border: 4px solid #3e5155;
	    z-index: 100;
	    /* margin-left: -226px; */
	    padding: 30px;
	    /* top: 175px; */
	    top: 145px;
	    border-radius: 8px;
		color: #fff;
	}
	body[ng-app="rates"] .page-content .container #rateform .sidepanel:before {
	    content: 'Rate Scenario';
	    font: 600 26px 'Raleway', Arial , sans-serif;
	    color: #fc6b14;
	    padding-bottom: 20px;
	    float: left;
	    width: 100%;
    }
	body[ng-app="rates"] .page-content .container #rateform .sidepanel .grid_12 { text-align: center; width: 100%;
margin-right: 0px; }
	.ratetable > p { display: none; }
	body[ng-app="rates"] .page-content .container > div:last-child .grid_12 {width: 100%; }
	body[ng-app="rates"] .page-content .container > div:last-child .heading-centered {display:none}
	body[ng-app="rates"] .row { margin-right: 0 } 
	body[ng-app="rates"] .page-content .container #rateform .field { margin: 0 14px 10px 14px }
	#rateform .field select, #rateform .field input {
		width: 190px !important;
	}
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    .grid_1,
    .grid_2,
    .grid_3,
    .grid_4,
    .grid_5,
    .grid_6,
    .grid_7,
    .grid_8,
    .grid_9,
    .grid_10,
    .grid_11, 
    .grid_12{
        float: left;
    }
    .grid_1 {
        width: 70px;
    }
    .grid_2 {
        -ms-flex: 0 0 14.666667%;
    flex: 0 0 14.666667%;
    width: 15.5%;
    }
    .grid_3 {
        width:22%; 
    }
    .grid_4 {
        width:31%; 
    }
    .grid_5 {
        width: 470px;
    }
    .grid_6 {
        width: 47%;
    }
    .grid_7 {
        width: 670px;
    }
    .grid_8 {
        width: 770px;
    }
    .grid_9 {
        width: 60%;
    }
    .grid_10 {
        width: 970px;
    }
    .grid_11 {
        width: 1070px;
    }
    .grid_12 {
        width: 96%;
    }
	.container.wide {
    width: 90%;
    max-width: 90%;
}
	 
	.container.wide .row { padding: 80px 0}
	 .wider {padding: 100px 0}
	.container.wide .grid_6 {
    width: 45%;
}
	.heading-frame{ width: 100%}
	#demoWrapper select{
	height:38px;
	background: url(../img/down-arrow.png) no-repeat right 5px #f6f6f6;
}
	body[ng-app="rates"] #header-wrapper { position: fixed; }
	/*body[ng-app="rates"] .page-content { padding-left: 210px; margin-top: 175px !important}*/
	body[ng-app="rates"] .page-content { }
	body[ng-app="rates"] .page-content .container {  overflow: hidden; width:auto; min-height: 850px; margin-top: 150px } 
	body[ng-app="rates"] .footer-wrapper .container { width: auto }
	body[ng-app="rates"] .page-content .container .hidden-xs { display: none; }
	body[ng-app="rates"] .page-content .container .hidden-xs + .row .grid_12 { width: 100%; margin: 0; }
	body[ng-app="rates"] .page-content .container #rateform .sidepanel {
		/*width: 195px;*/
		width: 100%;
		min-height: 400px;
	    overflow: hidden;
	    background: #3e5155;
	    border: 4px solid #3e5155;
	    z-index: 100;
	    /* margin-left: -226px; */
	    padding: 30px;
	    /* top: 175px; */
	    top: 145px;
	    border-radius: 8px;
		color: #fff;
	}
	body[ng-app="rates"] .page-content .container #rateform .sidepanel:before {
	    content: 'Rate Scenario';
	    font: 600 26px 'Raleway', Arial , sans-serif;
	    color: #fc6b14;
	    padding-bottom: 20px;
	    float: left;
	    width: 100%;
    }
	body[ng-app="rates"] .page-content .container #rateform .sidepanel .grid_12 { text-align: center; width: 100%;
margin-right: 0px; }
	.ratetable > p { display: none; }
	body[ng-app="rates"] .page-content .container > div:last-child .grid_12 {width: 100%; }
	body[ng-app="rates"] .page-content .container > div:last-child .heading-centered {display:none}
	body[ng-app="rates"] .row { margin-right: 0 } 
	body[ng-app="rates"] .page-content .container #rateform .field { margin: 0 14px 10px 14px }
}


@media (min-width: 1340px){
    .container.full .portfolio-items-holder .isotope-item{
        width: 16.5%;
    }
}
/* Responsive utilities from bootstrap 3.3.7 */
@-ms-viewport {
  width: device-width;
}
.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
  display: none !important;
}
.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
  display: none !important;
}
@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }
  table.visible-xs {
    display: table !important;
  }
  tr.visible-xs {
    display: table-row !important;
  }
  th.visible-xs,
  td.visible-xs {
    display: table-cell !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-block {
    display: block !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-inline {
    display: inline !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm {
    display: block !important;
  }
  table.visible-sm {
    display: table !important;
  }
  tr.visible-sm {
    display: table-row !important;
  }
  th.visible-sm,
  td.visible-sm {
    display: table-cell !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm-block {
    display: block !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm-inline {
    display: inline !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md {
    display: block !important;
  }
  table.visible-md {
    display: table !important;
  }
  tr.visible-md {
    display: table-row !important;
  }
  th.visible-md,
  td.visible-md {
    display: table-cell !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md-block {
    display: block !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md-inline {
    display: inline !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg {
    display: block !important;
  }
  table.visible-lg {
    display: table !important;
  }
  tr.visible-lg {
    display: table-row !important;
  }
  th.visible-lg,
  td.visible-lg {
    display: table-cell !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-block {
    display: block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-inline {
    display: inline !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-inline-block {
    display: inline-block !important;
  }
}
@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm {
    display: none !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .hidden-lg {
    display: none !important;
  }
}
.visible-print {
  display: none !important;
}
@media print {
  .visible-print {
    display: block !important;
  }
  table.visible-print {
    display: table !important;
  }
  tr.visible-print {
    display: table-row !important;
  }
  th.visible-print,
  td.visible-print {
    display: table-cell !important;
  }
}
.visible-print-block {
  display: none !important;
}
@media print {
  .visible-print-block {
    display: block !important;
  }
}
.visible-print-inline {
  display: none !important;
}
@media print {
  .visible-print-inline {
    display: inline !important;
  }
}
.visible-print-inline-block {
  display: none !important;
}
@media print {
  .visible-print-inline-block {
    display: inline-block !important;
  }
}
@media print {
  .hidden-print {
    display: none !important;
  }
}
