/*
Theme Name: Custom Tailored WordPress theme based
Author: CAD UIX
Version: 0.0.1a
*/
@import url('https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i');

#appointment-call {
    background-color: #44B9DF;
    border-color: #F0E889;
    border-width: 3px 0;
    border-style: solid;
    width: 100% !important;
}
.footer-kml-text{
    padding-bottom: 20px;
}
#top-header {
    font-size: 18px;
    background-color: #00196b;
}

.pad_lf_0 { padding-left: 0; padding-right: 0; }
/* Video Page */

.pg-video {
    padding: 30px 20px 0px 20px;
}
/* - - - - - - - - - - - - - - - - */


#service-img .module.image-module img {
    position: relative;
    top: 45%;
    left: 50%;
    width: 100%;
    outline: 5px solid white;
    outline-offset: -15px;
    -webkit-transform: translateY(-50%) translateX(-50%);
    -moz-transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
    -o-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
}

.btn-primary {
transform-style: preserve-3d;
}

.btn-primary:hover{
	transform-origin: center bottom;
	transform: rotateX(-90deg) translateY(100%);
}



.btn-primary:after {
	top: -100%;
	left: 0px;
	width: 100%;
	position: absolute;
	background: #44b9df ;
	content: 'LEARN MORE';
	transform-origin: left bottom;
	transform: rotateX(90deg);
    font-size: 19px;
    border-radius: 0;
    padding: 22px 35px;
    white-space: normal;
    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.3);
    -moz-box-shadow: 1px 1px 2px rgba(0,0,0,.3);
    box-shadow: 1px 1px 2px rgba(0,0,0,.3);
    border: 1px solid #fff !important;
}

#list_pp figcaption > a{
transform-style: preserve-3d;

}


#list_pp figcaption > a:hover{
	transform-origin: center bottom;
	transform: rotateX(-90deg) translateY(100%);
}



#list_pp figcaption > a:after {
	top: -100%;
	left: 0px;
	width: 100%;
	position: absolute;
	background: #44b9df ;
	content: 'LEARN MORE';
	transform-origin: left bottom;
	transform: rotateX(90deg);
    font-size: 19px;
    border-radius: 0;
    padding: 14px 20px;
    white-space: normal;
    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.3);
    -moz-box-shadow: 1px 1px 2px rgba(0,0,0,.3);
    box-shadow: 1px 1px 2px rgba(0,0,0,.3);
    border: 1px solid #fff !important;
}


.pad_0 { padding: 0; }

#gform_wrapper_1 .gform_footer { text-align: right; }

.pad-r-0 { padding-right: 0; }

#services .blurb-title { min-height: 65px; }

#services-body {
    padding-top: 35px;
    padding-bottom: 50px;
}

.btn { border: 1px solid #fff !important; }

.card-header:hover { background-color: #0551a4; }

.btn-primary:hover, #gform_wrapper_1 .gform_button:hover {
    background-image: none !important;
    background-color: #229DC7;
}

/* Title insurance services child banner */

section.banner-654 {
    background-image: url(https://viewourdesign.com/fnt/wp-content/uploads/2018/03/tools-banner.jpg) !important;
}

section.banner-815 {
    background-image: url(https://viewourdesign.com/fnt/wp-content/uploads/2018/03/tools-banner.jpg) !important;
}

section.banner-811 {
    background-image: url(https://viewourdesign.com/fnt/wp-content/uploads/2018/03/tools-banner.jpg) !important;
}

section.banner-807 {
    background-image: url(https://viewourdesign.com/fnt/wp-content/uploads/2018/03/tools-banner.jpg) !important;
}

section.banner-804 {
    background-image: url(https://viewourdesign.com/fnt/wp-content/uploads/2018/03/tools-banner.jpg) !important;
}

section.banner-793 {
    background-image: url(https://viewourdesign.com/fnt/wp-content/uploads/2018/03/tools-banner.jpg) !important;
}

/* - - - - - - - - - - - - */

.wp-megamenu-sub-menu, .wp-megamenu-sub-menu li { padding: 0 !important; }

.wp-megamenu-sub-menu li a { padding: 15px !important; }

.wp-megamenu-sub-menu li a:hover {
	background-color: #0350a5 !important;
	color: #fff !important;
}

.ban-layout-2 .banner-title h1 {
	color: #fff;
	font-size: 60px;
	text-align: center;
}

.banner .ban-layout-2 .banner-content { padding: 20px; }

.banner .ban-layout-2 .banner-content:before { display: none; }

#wp-megamenu-primary-nav.wpmm-sticky-wrap { background-color: #fff; }

.page:not(.home) .banner .col-md-6, .blog .banner .col-md-6, .archive .banner .col-md-6 {
	margin-right: auto;
	margin-left: auto;
	float: none;
}

.page:not(.home) .banner-content:before, .blog .banner-content:before, .archive .banner-content:before { background-color: transparent; }

.single-post #main-header { position: relative; }

#headline h2 {
    color: #0350A5;
    font-weight: 400;
    margin-bottom: 22px;
}

.banner-251 { background-position: top; }

#appointment-call {
	background-color: #44B9DF;
	border-color: #F0E889;
	border-width: 3px 0;
	border-style: solid;
}

.gform_wrapper span.gform_description, .gf_message { font-size: 13px; }

#gform_wrapper_1 {
	margin-top: 0;
	margin-bottom: 1em;
}


#gform_wrapper_1 .gf_message, #gform_wrapper_1 h3.gform_title { letter-spacing: 3px!important; }

.img-bordered-style .image-module {
	border: 8px solid white;
	margin-bottom: 30px;
	-webkit-box-shadow: 7px 7px 12px 0 rgba(0,0,0,0.2) ;
	box-shadow: 7px 7px 12px 0 rgba(0,0,0,0.2) ;
}

#blog-list { margin-top: 30px; }

#blog-list .current-month { color: #0150A5; }

.date-paging a {
	font-size: 14px;
	font-weight: bold;
	color: #0150A5;
}

.posts-list {
	color: #484848;
	line-height: 2;
}

.posts-list .post {
	margin-top: 30px;
	margin-bottom: 30px;
}

.posts-list .post-thumbnail {
    padding-top: 267px;
    position: relative;
    overflow: hidden;
}

.posts-list .post-thumbnail .thumb, .posts-list .post-thumbnail a {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
}

.posts-list .post-thumbnail .thumb {
	background-size: cover;
	background-position: center;
	-webkit-transition: all .4s;
	-moz-transition: all .4s;
	-ms-transition: all .4s;
	-o-transition: all .4s;
	transition: all .4s;

	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
}

.posts-list .post-thumbnail a { z-index: 1; }

.posts-list .post-heading {
	margin-top: 15px;
	margin-bottom: 30px;
}

.posts-list .post-heading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.posts-list .post-heading .day-number {
	background-color: #0150A5;
	color: white;
	font-size: 35px;
	text-align: center;
	/*width: 77px;*/
	width: 23%;
	height: 77px;
	line-height: 70px;
	margin-right: 15px;
	position: relative;
}

.posts-list .post-heading .post-title {
	overflow: hidden;
	flex: 1;
	width: 77%;
}

.posts-list .post-heading .post-title h4 {
	color: #0050A5;
	font-weight: normal;
	text-transform: uppercase;
	white-space: nowrap;
	margin-top: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.posts-list .post:hover .post-thumbnail .thumb {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}
#appointment-call { width: 100%; cursor: pointer;color: #fff; }
#appointment-call:hover
{
	color: #fff;
    -webkit-box-shadow: inset 0px 0px 20px 10px #f0e889;
    -moz-box-shadow: inset 0px 0px 20px 10px #f0e889;
    box-shadow: inset 0px 0px 20px 10px #f0e889;
}
#text-2 a.btn.btn-round
{
    -webkit-box-shadow: inset 0px 0px 20px 10px rgba(90, 52, 183, 0.5);
    -moz-box-shadow: inset 0px 0px 20px 10px rgba(90, 52, 183, 0.5);
    box-shadow: inset 0px 0px 20px 10px rgba(90, 52, 183, 0.5);
}
#team-members
{
	padding-top: 200px;
    padding-bottom: 40px;
}
.mmbr-box
{
	background: #0050A5;
}
.mmbr-box > figure
{
	position: relative;
	top: -110px;
}
.mmbr-box figure > img
{
    text-align: center;
    margin: 0 auto;
    border: 15px solid #0050A5;
    border-radius: 165px;
    width: 250px;
    height: 250px;
    object-fit: cover;
}
.mmbr-box > figcaption
{
	margin-top: -110px;
	text-align: center;
    padding: 0 15px 15px;
}
.mmbr-box > figcaption h4 a
{
	color: #fff
}
.mmbr-box > figcaption h5
{
	text-transform: uppercase;
	color: #fff;
}
.mmbr-box > figcaption > p
{
	color: #fff;
	line-height: 40px;
}
.mmbr-box .social-icons
{
	display: block;
	text-align: center;
	padding-bottom: 25px;
}

.excerpt-content {
    color: #ffffff;
}

.mmbr-box .social-icons .social-icon
{
	color: #fff;
}
#list_pp
{
	padding: 30px 0;
}
/*#list_pp .row
{
	padding-bottom: 50px;
}*/
#list_pp .row.gray_row
{
	background-color: gray;
}
#list_pp figure > div,
#list_pp figure > h3,
#list_pp figure
{
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
}
#list_pp figure > h3
{
	margin-left: 20px;
	font-weight: normal;
}
#list_pp figcaption > p
{
	margin: 40px 0;
}
#list_pp figcaption > a
{
	padding: 15px 25px;
	color: #fff;
	background-color: #0350A5;
}
.banner.banner-blog
{
	height: 400px;
	padding-top: 0;
}
.banner-blog .meta
{
	text-align: center;
	color: #fff;
}
.banner-blog .meta .text-muted,
.banner-blog .meta li > a
{
	color: #fff;
}
.banner-blog .meta li > a:hover
{
	color: #0350A5;
}
.entry-blog
{
	padding: 30px 0;
}


.circular-square {
    border-top-left-radius: 50% 50%;
    border-top-right-radius: 50% 50%;
    border-bottom-right-radius: 50% 50%;
    border-bottom-left-radius: 50% 50%;
    border: 15px solid #0350A5;
    margin-bottom: -144px;
    width: 260px;
}
.team-name {
    color: #ffffff;
    font-size: 25px;
}
.team-content {
    background: #0350A5;
    padding: 120px 30px 25px 30px;
}
.team-position {
    color: #fff;
    font-weight: 500;
    margin-top: -10px;
}

.team-details {
    color: #ffffff;
    text-align: justify;
}
#team {
    padding-top: 35px;
    padding-bottom: 10px;
}
.btn-primary:after,
#list_pp figcaption > a:after
{
	display: none;
}
.btn-primary,
#list_pp figcaption > a
{
	display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.btn-primary:hover,
#list_pp figcaption > a:hover
{
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}
.btn-primary:before,
#list_pp figcaption > a:before
{
    pointer-events: none;
    position: absolute;
    z-index: -1;
    content: '';
    top: 100%;
    left: 5%;
    height: 10px;
    width: 90%;
    opacity: 0;
    background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform, opacity;
    transition-property: transform, opacity;
}
.btn-primary:hover:before,
#list_pp figcaption > a:hover:before
{
    opacity: 1;
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
}
#service-img .module.image-module img
{
	cursor: pointer;	
	transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
#service-img .module.image-module img:hover
{
    outline-offset: -30px;
}
ul.menu-footer-copy
{
	list-style: none;
    white-space: normal;
    padding-left: 0;
}
ul.menu-footer-copy > li
{
    display: inline-block;
    margin: 0 5px;
}

@keyframes shake
{
	50%
	{
		-webkit-transform: translateX(3px) rotate(2deg);
    	transform: translateX(3px) rotate(2deg);
	}
	100%
	{
	    -webkit-transform: translateX(-3px) rotate(-2deg);
    	transform: translateX(-3px) rotate(-2deg);
	}
}
@-webkit-keyframes shake
{
	50%
	{
		-webkit-transform: translateX(3px) rotate(2deg);
    	transform: translateX(3px) rotate(2deg);
	}
	100%
	{
	    -webkit-transform: translateX(-3px) rotate(-2deg);
    	transform: translateX(-3px) rotate(-2deg);
	}
}
@keyframes spinner 
{
  	from { -webkit-transform: rotateY(0deg); }
  	to { -webkit-transform: rotateY(-360deg); }
}
@-webkit-keyframes spinner 
{
  	from { -webkit-transform: rotateY(0deg); }
  	to { -webkit-transform: rotateY(-360deg); }
}

@keyframes sink 
{
  	100% { -webkit-transform: translateY(8px); transform: translateY(8px); }
}
@-webkit-keyframes sink 
{
  	100% { -webkit-transform: translateY(8px); transform: translateY(8px); }
}

@keyframes hang 
{
  	0% { -webkit-transform: translateY(8px); transform: translateY(8px); }
  	50% { -webkit-transform: translateY(4px); transform: translateY(4px); }
  	100% { -webkit-transform: translateY(8px); transform: translateY(8px); }
}
@-webkit-keyframes hang 
{
  	0% { -webkit-transform: translateY(8px); transform: translateY(8px); }
  	50% { -webkit-transform: translateY(4px); transform: translateY(4px); }
  	100% { -webkit-transform: translateY(8px); transform: translateY(8px); }
}


#home-contacts .blurb-icon > img
{
	cursor: pointer;
}
#home-contacts > div > div > div:nth-child(2):hover .blurb-icon a > img
{
    -webkit-animation-name: shake;
    animation-name: shake;
    -webkit-animation-duration: 0.15s;
    animation-duration: 0.15s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}
#home-contacts > div > div > div:nth-child(1):hover .blurb-icon a > img {
	animation-name: spinner;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-duration: 3s;
	transform-style: preserve-3d;
 	-webkit-animation-name: spinner;
 	-webkit-animation-timing-function: linear;
 	-webkit-animation-iteration-count: infinite;
 	-webkit-animation-duration: 3s;
 	-webkit-transform-style: preserve-3d;
}
#services .blurb-icon a > img:hover
{
    -webkit-animation-name: sink, hang;
    animation-name: sink, hang;
    -webkit-animation-duration: .3s, 1.5s;
    animation-duration: .3s, 1.5s;
    -webkit-animation-delay: 0s, .3s;
    animation-delay: 0s, .3s;
    -webkit-animation-timing-function: ease-out, ease-in-out;
    animation-timing-function: ease-out, ease-in-out;
    -webkit-animation-iteration-count: 1, infinite;
    animation-iteration-count: 1, infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-direction: normal, alternate;
    animation-direction: normal, alternate;
}
#home-contacts .btn-primary
{
	display: none;
}
.banner .banner-content h1.team-title { text-align: center; font-size: 40px; }
.pagination-nav.prev { text-align: left; }
.pagination-nav.next { text-align: right; }
.pagination-numbers 
{ 
	text-align: center; 
    height: 71px;
    display: table;
}
.pagination-numbers > .pagination
{
	display: table-cell;
	vertical-align: middle;
}
.pagination-numbers > .pagination > span:first-child
{
	margin-right: 10px;
}
.pagination-numbers > .pagination > .current,
.pagination-numbers > .pagination > .inactive
{
    padding: 10px 15px;
    background: #0350A5;
    margin: 0 5px;
    color: #fff;
    display: inline-block;
}
.pagination-numbers > .pagination > .inactive:hover
{
    background: #44B9DF;
}
.pagination-nav > a { font-size: 50px; }
#services .blurb-content { height: 120px; }
#services .blurb-icon
{
	height: 85px;
}
#services-2 .blurb-module
{
	height: 430px;
}
.day-number > span
{
    display: block;
    font-size: 14px;
    position: absolute;
    bottom: -20px;
    left: 25px;
}
footer p, footer a, footer span
{
	font-size: 17px;
}
#gform_wrapper_1
{
	padding-bottom: 40px;
}
#gform_wrapper_1 .gf_message
{
	margin-right: 0 !important;
	max-width: 250px;
}

@media ( max-height: 414px ) {
	footer {
		text-align: center;
	}
}

@media (min-width: 641px) {
	#gform_wrapper_1 {
		padding-top: 10px;
	}
	#gform_wrapper_1 .gform_footer { text-align: right; }
	#gform_wrapper_1 .gform_button { margin: 0; 	}
	#gform_wrapper_1 .gf_message {
	    margin-right: 40%;
	    position: absolute;
	}
	.date-paging a { font-size: 20px; 	}
}

@media (min-width: 768px) {
	.pt30 { padding-top: 30px; }
	.pb30 { padding-bottom: 30px; }
	#headline h2 {
	    margin-top: 50px;
	    margin-bottom: 50px;
	}
	#gform_wrapper_1 .gf_message { margin-right: 34%; }
	#socket .social-icons, #copyright { float: none; }
	#blog-list .current-month h3 { font-size: 30px; }
	.date-paging a { padding-top: 30px; }

	.mmbr-box {
    background: #0050A5;
    margin-bottom: 150px;
}


}

@media (min-width: 992px) {
	#section-1-about { padding-bottom: 30px; }
	#section-2-about { padding-bottom: 50px; }
	#footer-widgets .footer-widget:first-child { flex: 31% 0 0; }
}

@media (min-width: 992px) and (max-width: 1199px) {
	#gform_wrapper_1 { padding-bottom: 25px; }
	#gform_wrapper_1 .gf_message {
	    margin-right: 0;
	    position: relative;
	}

}

@media (min-width: 1200px) {
	.page:not(.home) .banner.has-featured-img, .blog .banner.has-featured-img, .archive .banner.has-featured-img { height: 560px; }
	#services #headline h2 {
	    margin-top: 60px;
	    margin-bottom: 60px;
	}
	#gform_wrapper_1 .gf_message { margin-right: 40%; }
	#socket ul { white-space: nowrap; }
	#socket .social-icons { display: block; }
	#socket .social-icons, #copyright { padding-top: 25px; }
}

@media(min-width: 1600px) {
	nav.wp-megamenu-wrap .wpmm-nav-wrap > ul > li > a {
		padding-left: 12px;
		padding-right: 12px;
	}
}

@media(max-width: 1599px){
	nav.wp-megamenu-wrap .wpmm-nav-wrap > ul > li > a {
		font-size: 17px;
		padding-left: 8px;
		padding-right: 8px;
	}

}

@media(max-width: 1440px){


.top-header-right-content .inner-wrapper {
    margin: 0;
    line-height: 30px;
    font-size: 14px;
}
#main-header .free-quote-btn a {
    padding: 0px !important;
    font-size: 12px;
    font-weight: 700;
}

#wp-megamenu-primary-nav>.wpmm-nav-wrap ul.wp-megamenu>li>a {
    font-family: 'Lato';
    color: #0350a5;
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
}

}

@media(max-width: 1366px){


.top-header-right-content .inner-wrapper {
    margin: 0;
    line-height: 30px;
    font-size: 14px;
}
#main-header .free-quote-btn a {
    padding: 0px !important;
    font-size: 12px;
    font-weight: 700;
}

}



@media(max-width: 1280px){


.top-header-right-content .inner-wrapper {
    margin: 0;
    line-height: 30px;
    font-size: 13px;
}

#main-header .free-quote-btn a {
    padding: 0px !important;
    font-size: 12px;
    font-weight: 700;
}
}

@media (max-width: 1399px) {
	#main-header .free-quote-btn a { padding: 20px;	}

	nav#wp-megamenu-primary-nav>.wpmm-nav-wrap ul.wp-megamenu>li>a {
		font-size: 15px;
		padding-right: 5px;
	}

	nav#wp-megamenu-primary-nav>.wpmm-nav-wrap .wpmm_brand_logo_wrap img {
		max-width: 175px;
		height: auto;
	}
}


@media(max-width: 1199px){
	.top-header-right-content .inner-wrapper { text-align: center; }

	#main-header .free-quote-btn a {
		padding: 15px;
		font-size: 16px;
	}

	nav#wp-megamenu-primary-nav>.wpmm-nav-wrap .wpmm_brand_logo_wrap img {
		max-width: 150px;
		margin-right: 5px;
	}

	nav#wp-megamenu-primary-nav>.wpmm-nav-wrap ul.wp-megamenu>li>a {
	    font-size: 13px;
	    padding-right: 0px;
	    padding-top: 35px;
	    padding-bottom: 35px;
	}

	nav#wp-megamenu-primary-nav { height: auto; }
	#gform_wrapper_1 .gf_message
	{
		max-width: 200px;
		position: absolute !important;
	}
	#gform_wrapper_1 .gform_button
	{
		padding: 15px 20px !important;
	}
	#gform_wrapper_1
	{
		padding-bottom: 75px;
	}
}

@media (max-width: 1024px)
{
	.review-icon-stars
	{
		width: 100%;
		height: auto;
		max-width: 115px;
	}
	.wpmm-sticky.wpmm-sticky-wrap .wpmm-nav-wrap
	{
		padding: 0 20px;
	}
	.col-md-push-10.free-quote-btn
	{
		left: 82.333333%;
	}

	#wp-megamenu-primary-nav>.wpmm-nav-wrap ul.wp-megamenu>li.wpmm_dropdown_menu ul.wp-megamenu-sub-menu,
	#wp-megamenu-primary-nav>.wpmm-nav-wrap ul.wp-megamenu li.wpmm-type-widget .wp-megamenu-sub-menu li .wp-megamenu-sub-menu {
		width: 300px;
	}

	/* .col-md-push-10.free-quote-btn {
		left: auto;
	} */
}

@media(max-width: 991px){
	.top-header-right-content .inner-wrapper > span:first-child { display: block; }

	.pad-r-sm-15 { padding-right: 15px; }

	nav#wp-megamenu-primary-nav>.wpmm-nav-wrap .wpmm_brand_logo_wrap img {
		margin-top: 15px;
		margin-bottom: 15px;
		margin-left: 25%;
	}

	.sm-text-left { text-align: left; }

	#wp-megamenu-primary-nav.wpmm-mobile-menu a.wpmm_mobile_menu_btn { margin-top: 30px; }

	section#banner { background-position: 44% center; }

	#appointment-call p >span:first-child { display: block; }

	#quote .image-module img { width: 100%; }
	.img-bordered-style { text-align: center; }
	.img-bordered-style .image-module { display: inline-block; }
	.img-bordered-style .image-module img {
		width: auto;
		height: auto;
		max-width: 100%;
	}
	#section-1-about .img-bordered-style .image-module { height: auto!important; }
	#section-1-about .img-bordered-style .image-module img {
		top: auto;
	    left: auto;
	    -webkit-transform: none;
	    -moz-transform: none;
	    -ms-transform: none;
	    -o-transform: none;
	    transform: none;
	}
	#gform_wrapper_1
	{
		padding-bottom: 10px;
	}
	#gform_wrapper_1 .gf_message
	{
		position: relative !important;
		max-width: none;
	}
	#gform_wrapper_1 .gform_footer
	{
		text-align: center;
	}
	.col-md-push-10.free-quote-btn
	{
		left: auto;
	}
	#wp-megamenu-primary-nav.wpmm-sticky-wrap
	{
		background-color: transparent;
		box-shadow: none;
	}
	.wpmm-sticky.wpmm-sticky-wrap .wpmm-nav-wrap
	{
		padding: 0;
	}
}

@media(max-width: 767px){
	section#banner { background-position: 36% center; }

	#appointment-call p >span { display: block; }

	#appointment-call p >span.dot { display: none; }

	#services .blurb-title { min-height: auto }

	#quote .image-module img { width: auto; }

	.card-header a { font-size: 16px; }

	.footer-widget .menu-primary-container ul, .footer-widget h4.widget-title, .footer-widget .textwidget p { text-align: center; }


}
@media (max-width: 641px)
{
	#gform_wrapper_1 .gf_message
	{
		max-width: none;
	}
	#gform_wrapper_1
	{
		padding-bottom: 10px;
	}
}
@media (max-width: 575px){
	.top-header-right-content .inner-wrapper > * { display: block; }

	nav#wp-megamenu-primary-nav>.wpmm-nav-wrap .wpmm_brand_logo_wrap img { margin-left: 0; }

	section#banner { background-position: 33% center; }

	.mmbr-box {
    background: #0050A5;
    margin-bottom: 150px;
}


.widget select, .wp-caption, embed, iframe, object {
    max-width: 100%;
    height: 220px;
    margin-bottom: 50px;
}

}
@media (max-width: 414px)
{
	.widget_text
	{
		text-align: center;
	}
	#socket ul.list-inline > li > a > img
	{
		margin-bottom: 20px;
	}

	footer {
		text-align: center;
	}
	
}
@media (max-width: 320px)
{
	.banner .banner-content h1, .banner .banner-content h2, .banner .banner-content h3, .banner .banner-content h4, .banner .banner-content h5, .banner .banner-content h6
	{
		font-size: 28px;
	}
	.banner .banner-content > p
	{
		line-height: 1.5;
	}
}

@media (max-width: 414px) and (orientation: portrait) 
{
	#main-header .free-quote-btn a
	{
	    padding: 15px;
	    font-size: 15px;
	    margin-bottom: 10px;
	}
	nav#wp-megamenu-primary-nav>.wpmm-nav-wrap .wpmm_brand_logo_wrap img
	{
	    margin-top: 0px;
	    margin-bottom: 15px;
	    margin-left: 25%;
	}
	#menu-primary
	{
	    background: #0350A5;
	}
	#menu-primary li > a
	{
		padding-top: 5px !important;
		padding-bottom: 5px !important;
		color: #fff !important;
	}
	#menu-primary li > ul
	{
	    border-radius: 4px;
	}
	#menu-primary li > ul > li > a
	{
		color: #0350a5 !important;
		font-size: 14px !important;
	}
	a.wpmm_mobile_menu_btn,
	.wpmm_mobile_menu_btn:hover
	{
		background-color: #0350a5;
	}
}

@media (min-width: 991px) and (max-width: 997px)
{
	#services .blurb-title
	{
		height: 100px;
	}
}

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
	.widget select, .wp-caption, embed, iframe, object {
	    max-width: 100%;
	    height: 300px !important;
	    margin-bottom: 50px;
	}

	#services {
	    color: #474747;
	    font-size: 16px;
	}


	.btn-primary:after {
	display: none;

	}

	#list_pp figcaption > a:after {
		display: none;

	}

}
@media (min-width: 320px)
{
	.banner
	{
	    background-position: 36% center;
    	height: 560px;
	}
}
@media (min-width: 768px)
{
	.container 
	{
	    width: 750px;
	    max-width: none;
	}
	.banner
	{
		height: 560px;
		background-position: center;
	}
}
@media (min-width: 992px)
{
	.container 
	{
        width: 970px;
	    max-width: none;
	}
}
@media (min-width: 1200px)
{
	.container 
	{
	    width: 1170px;
	    max-width: none;
	}
}

@media ( max-width: 1024px ) {

	.banner {
		height: 700px;
		background-position: 36% center;
	}
}

@media ( max-width: 768px ) {
	.col-md-push-10.free-quote-btn {
		left: auto;
	}

	#main-header .hidden-xs {
		display: flex !important;
		justify-content: center;
		align-items: center;
		padding-top: 15px;
	}

	#footer-widgets .footer-widget {
		width: 100% !important;
    	text-align: center;
	}
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.selector { property:value; }
.banner .banner-content::before{

	background-color: rgba(119, 119, 119, 0.5);
	mix-blend-mode: multiply;;
}


}

/* COMPATIBILITY August 30 2018*/

#list_pp figcaption > a{
	margin-bottom: 50px;
}

.page-navigation-wrapper{
	display: flex;
	flex-wrap: wrap;
}

@media screen and (max-width: 767px){
	.pagination-numbers > .pagination > span:first-child{
		display: none;
	}
	.ban-layout-2 .banner-title h1{
		font-size: 25px;
	}
}