/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1440px) {
	.about_right_wrap {
		padding-left: 85px;
		padding-right: 85px;
	}
	.about_title .accent_title {
		left: -25%;
	}
	.team_arrows.custom_site_arrows .team_prev {
		left: -85px;
	}
	.team_arrows.custom_site_arrows .team_next {
		right: -85px;
	}
	.awards_list_wrap li {
		padding: 23px 25px;
	}
	.hp_reviews {
		width: 90%;
	}
	.reviews_title .accent_title {
		top: -75%;
	}
	.reviews_prev {
		left: 3.45%;
	}
	.reviews_next {
		right: 3.45%;
	}
}

@media only screen and (max-width: 1366px) {
	.cta_text_wrap {
		padding: 0 40px;
	}
	.about_right_wrap {
		padding-right: 0;
	}
	.team_slider_wrap {
		padding: 0 30px;
	}
	.team_arrows.custom_site_arrows .team_prev {
		left: -50px;
	}
	.team_arrows.custom_site_arrows .team_next {
		right: -50px;
	}
	.awards_list_wrap li strong {
		font-size: 43px;
	}
	.fv_item_title {
		font-size: 25px;
	}
}
@media only screen and (max-width: 1280px) {
	.about_right_wrap {
		padding-left: 50px;
		padding-right: 20px;
	}
	.about_title .accent_title {
	    left: -15%;
	}
	.team_slider_wrap {
		padding: 0 60px;
	}
	.team_arrows.custom_site_arrows .team_prev {
		left: -20px;
	}
	.team_arrows.custom_site_arrows .team_next {
		right: -20px;
	}
	.awards_list_wrap li strong {
	    font-size: 35px;
	}
	.reviews_prev {
		left: 1.45%;
	}
	.reviews_next {
		right: 1.45%;
	}

	.rvws_video_slider_wrap {
		padding: 0 60px;
	}
}
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	#nav li {
		margin: 0 10px;
	}
	.hp_slide_button {
		margin-top: 30px;
	}

	.hp_about {
	    padding-left: 1.75%;
	    padding-right: 1.75%;
	}
	.about_text {
		margin-top: 30px;
	}
	.about_button {
		margin-top: 10px;
	}
	.team_position {
		font-size: 12px;
		letter-spacing: 0.05em;
	}

	.fc_top_wrap, .fv_top_wrap {
		padding-left: 0;
	}
	.fc_title_wrap .custom_site_title h2 {
		font-size: 65px;
	}

	.cta_item_title {
		font-size: 55px;
	}
	.cta_item_title span {
		font-size: 20px;
		margin-bottom: 10px;
	}
	.cta_description {
		margin-top: 40px;
	}
	.cta_link {
		padding-left: 13px;
		letter-spacing: 0.1em;
	}

	.fl_text_wrap {
		bottom: 20px;
	}
	.fl_address {
		font-size: 16px;
	}
	.fl_other_info span {
		font-size: 15px;
		padding-left: 15px;
	}

	.awards_list_wrap li {
		padding: 23px 18px;
	}
	.awards_list_wrap li strong {
	    font-size: 30px;
	}
	.awards_list_wrap li span {
	    font-size: 15px;
	}

	#reviews_slider {
		width: 75%;
	}

	.rvws_video_small_item .rvws_video_item_title {
		font-size: 16px;
	}
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	.custom_site_title {
		text-align: center;
	}
	.custom_site_title .accent_title {
	    display: none;
	}
	#header_wrap {
		position: relative;
		z-index: 2;
		margin-top: 52px;
		padding: 20px 0;
		background-color: #ffffff;
	}
	.header_logo {
		width: 100%;
		text-align: center;
	}
	.header_logo img.default_logo {
		display: none;
	}
	.header_logo img.fixed_logo {
		width: 100%;
		max-width: 225px;
		position: relative;
		opacity: 1;
		pointer-events: auto;
	}
	.header_logo .site_logo span {
		color: var(--accent-color-dark);
	}

	.hp_slide_tagline_wrap {
		text-align: center;
		top: 50%;
    	transform: translate(0,-50%);
	}
	.hp_slide_tagline > div {
		display: inline-block;
		margin: 0 auto;
	}
	.hp_slide_tagline h2 {
		text-align: center;
		padding-left: 0;
	}
	.hp_slide_tagline h2::before, .hp_slide_tagline h2::after {
		display: none;
	}
	.hp_slide_button {
		margin-top: 15px;
		transform: scale(0.8);
    	transform-origin: bottom center;
	}

	#hp_about_wrap {
		padding: 50px 0;
	}
	.hp_about {
		padding: 0 15px;
	}
	.about_content_wrap {
		flex-flow: column-reverse;
		text-align: center;
	}
	.about_left_wrap, .about_right_wrap {
		width: 100%;
		height: auto !important;
	}
	.about_right_wrap {
		padding: 50px 15px;
	}
	.about_photo {
		max-width: 650px;
		margin: 30px auto 0;
	}

	.team_slider_wrap {
		padding: 0;
	}
	#team_slider {
		margin: 0 auto;
	}
	#team_slider {
		max-width: 263px;
		margin: 0 auto;
	}
	.team_arrows {
		max-width: 140px;
		position: relative;
		top: auto;
		margin: 30px auto 0;
	}
	.team_arrows.custom_site_arrows .team_prev {
		left: 0;
	}
	.team_arrows.custom_site_arrows .team_next {
		right: 0;
	}
	

	#hp_featcomm_wrap {
		padding-top: 70px;
	}
	.fc_top_wrap, .fv_top_wrap {
		flex-flow: column;
		align-items: center;
	}
	.fc_btns_wrap, .fv_btns_wrap, .fl_btns_wrap {
		margin-top: 30px;
	}
	.fc_item a {
		max-width: 354px;
		margin: 0 auto;
		text-align: center;
	}
	.fc_item a .fc_item_text {
		padding-left: 0;
	}
	.fc_item_btn {
		opacity: 1;
	    visibility: visible;
	    pointer-events: auto;
	}
	.fc_item a .fc_item_text::before,
	.fc_item a .fc_item_text::after {
	    display: none;
	}

	#hp_cta_wrap {
		padding-top: 60px;
	}
	.cta_item {
		width: 100%;
		max-width: 531px;
		margin: 0 auto;
		display: block;
		padding: 1px 0;
	}
	.cta_item a:hover {
		transform: none;
	}
	.cta_text_wrap {
		padding: 0 20px;
		text-align: center;
	}
	.cta_item_title, .cta_description {
		text-align: center;
	}

	#hp_featlist_wrap {
		padding-bottom: 60px;
	}
	#fl_slider {
		margin: 0 auto;
	}
	.fl_item a {
		max-width: 531px;
		margin: 0 auto;
	}

	#hp_awards_wrap {
		padding: 60px 0;
	}
	.awards_list_wrap {
		max-width: 300px;
    	margin: 30px auto 0;
	}
	.awards_list_wrap li {
		width: 100%;
		padding: 30px 0;
		text-align: center;
		border-left: none;
		border-top: 2px solid rgba(255,255,255,0.3);
	}
	.awards_list_wrap li:first-child {
		border-top: none;
	}

	#hp_featvideo_wrap {
		padding: 60px 0 80px;
	}
	.fv_left_wrap {
		width: 100%;
		max-width: 650px;
		margin: 0 auto;
	}
	.fv_slider_wrap {
		margin-top: 35px;
	}
	.fv_main_item .fv_item_photo canvas {
		min-height: auto;
	}
	.fv_main_item .icon_play {
		transform: translate(0,-50%) scale(0.7);
	}
	.fv_text_wrap {
		padding: 0 10px 15px;
		text-align: center;
	}

	#hp_reviews_wrap {
		padding-bottom: 60px;
	}
	.hp_reviews {
	    width: 100%;
	}
	.reviews_slider_wrap {
		margin-top: 40px;
		padding: 50px 0;
	}
	#reviews_slider {
	    width: 90%;
	}
	.reviews_author {
		line-height: 1.5;
	}
	.reviews_more_btn {
		margin-top: 30px;
	}
	.reviews_arrows {
		max-width: 140px;
		margin: 30px auto 0;
		position: relative;
	}


	#footer_form_wrap {
		padding: 50px 0;
	}
	.footer_contact_form {
		padding: 60px 0;
	}
	.footer_form {
		margin: 50px auto 0;
	}

	.footer_bottom_wrap {
		padding: 50px 0;
	}
	.foot_logo {
		display: block;
		margin: 0 auto;
	}
	.foot_logo:first-child {
		margin-bottom: 30px;
	}
	.footer_info {
		margin-top: 40px;
	}
	.foot_info {
		display: block;
		margin: 0 auto 15px;
	}
	.footer_smi {
		margin-top: 25px;
	}
	.footer_disclaimer {
		margin-top: 30px;
		padding-top: 30px;
	}
	
	/* The following are used on inner pages. Please edit carefully. */

	.inner {
	    width: 100%;
	}
	#content-sidebar, #content-full {
	    width: 100%;
	}	
	.outer{
		width: 100%;
		min-width: 100%;
	}
	#content-sidebar #content{
		width: 100%;
	}
	
	#pojo-a11y-toolbar {
        display:none;
    }

    #team_slider:not(.slick-initialized) .team_item:nth-child(n+2){
	    display: none;
	}

    .team_item {
        width: 100%;
        padding: 0;
    }

    .rvws_video_slider_wrap {
		padding: 0;
	}
    .rvws_video_slider_wrap .icon_play {
		transform: translate(0,-50%) scale(0.7);
	}
	.rvws_video_btns_wrap {
		max-width: 130px;
		position: relative;
		margin: 30px auto 0;
		top: auto;
	}
	.rvws_video_btns_wrap .slick-arrow.rvws_video_prev {
		left: 0;
	}
	.rvws_video_btns_wrap .slick-arrow.rvws_video_next {
		right: 0;
	}

	.post-page-mortgage-calculator .srp_MortgageCalcwidget input[type=text] {
		width: 82%;
	}
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	.custom_site_title h2 {
		font-size: 55px !important;
	}
	.about_text strong {
		font-size: 20px;
		line-height: 1.3;
	}
	.fv_item_title {
	    font-size: 20px;
	}
	.form_field_short {
		width: 100%;
		margin: 0 0 15px;
	}
	.foot_info span {
		max-width: 92%;
	}
    .ip-banner .container{
        width: 100%;
    }
    #content .entry-title, #content .archive-title {
    	font-size: 40px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.custom_site_title h2 {
	    font-size: 40px !important;
	}
	.fc_btns_wrap, .fv_btns_wrap, .fl_btns_wrap {
		transform: scale(0.8) !important;
	}
	.fv_item_title {
	    font-size: 15px;
	}

}
 
 @media print{
	#idx-print-template #listing-details > .pagination {
		display:none !important;
	}
	#idx-print-template #listing-details a.main-photo-link[href]:after {
	    content: none !important;
	}
}
