/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

 @media only screen and (max-width: 1440px) {
    #nav > li > a{

        font-size: 12px;
        padding: 12px 5px;
    }
 }

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	#nav > li > a {
		font-size: 11px;

	}

	.hr-contact a {
		font-size: 13px;
	}

	.videos-title {
		white-space: normal;
	}

	.cta-desc h3 {
		font-size: 30px;
	}

	.agent-desc {
		padding: 40px 20px;
	}

	.agent-desc h3 {
		font-size: 26px;
		line-height: 26px;
	}

	.agent-img canvas {
		height: 100%;
	}

	.ac-contact {
		font-size: 14px;
	}

	.about-right {
		padding-left: 50px;
	}

	#main-slideshow * {
		height: 100% !important;
	}

	#main-slideshow img {
		object-fit: cover;
	}
	.qs-submit {
		    min-width: 111px;
	}

	#interested-in > span {
	    margin-left: 5px;
	}
}



@media only screen and (max-width: 1100px) {

  #nav > li > a {
      font-size: 11px;
      padding: 11px 5px;
  }
}


/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

	.sac-label {
	    display: block;
	}

	#interested-in > span.first {
	    margin-left: 0;
	}

	#interested-in {
	    margin-top: 5px;
	    display: block;
	}

  #main-slideshow .sac {
    bottom: 10px;
    height: 64px !important;
}

	.qs-flex button.btn-default {
		border: 1px solid #c3c3c3;
	}

	.qs-submit {
		    width: 100%;
	}

	.city {
		width: 100%;
	}

	.agents-img {
		max-width: 400px;
		margin: 0 auto;
	}

	#main-slideshow {
		height: auto !important;
	}

	.mobile-logo {
		display: block;
	}

	#main-wrapper {
		margin-top: 52px;
	}

	#main-header {
		display: none;
	}

	.fixed-smi {
		display: none;
	}

	.main-qs {
		position: relative;
		top: unset;
		padding: 20px 0;
	}

	.videos-flex {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.videos-left {
		width: 100%;
	}

	.videos-right {
		width: 100%;
		margin-left: 0;
		max-width: none;
	}

	.videos-title {
		text-align: center;
	}

	.vid-flex {
		justify-content: center;
	}

	.vid-button {
		display: flex;
		justify-content: center;
	}

	.cta-flex {
		flex-wrap: wrap;
		justify-content: center;
	}

	.cta-item {
		width: 50%;
		margin: 15px !important;
	}
    #main-mtt {
        padding-bottom: 105px;
    }
	.agent-flex {
		flex-flow: column;
        max-width: 586px;
        margin: 0 auto;
	}

	.agent-item {
		margin: 5px auto !important;
		width: 100%;

	}

	.agent-desc {
		padding: 40px 20px 40px 40px;
	}

	.about-flex {
		flex-direction: column-reverse;
	}

	.about-right {
		width: 100%;
		padding-left: 0;
		margin: 0 auto;
		text-align: center;
	}

	.al-list {
		text-align: left;
	}

	.about-btn {
		display: flex;
		justify-content: center;
	}

	.about-left {
		width: 100%;
		margin: 30px auto 0;
	}

	.awards-flex {
		flex-direction: column;
	}

	.awards-item {
		width: 100%;
		margin:  0 auto 30px !important;
	}

	.footernav li a {
		font-size: 13px;
	}

	.footernav li {
		margin: 0 5px;
	}

	.about-img:last-child {
		position: relative;
		margin: -87px 0 0 auto;
	}

	.full-section {
		min-height: auto;
		display: block;
	}
	/* 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%;
	}

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-banner .container{
        width: 100%;
    }

	.blog-wrap {
		flex-direction: column;
	}

	.blog-item {
		margin: 30px auto !important;
		width: 100%;
	}

	.ft-flex {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-contact {
		width: 100%;
		margin-bottom: 30px;
	}

	.fc-flex {
		justify-content: center;
	}

	.fc-contact {
		justify-content: center;
	}

	.footer-newsletters {
		width: 100%;
	}

	.footernav {
		flex-direction: column;
	}

	.footernav li {
		margin: 5px 0;
	}

	.cta-item {
		width: 100%;
	}

	.sac-field.sac-h {
	    width: 100%;
	}

	.sac-field.sac-h.sac-checkbox {
	    padding: 10px 0;
	}
}

@media only screen and (max-width: 567px) {
	.qs-flex {
		flex-direction: column;
	}

	.qs-flex .city input {
		border: 1px solid #c3c3c3;
		font-size: 12px;
		padding-left: 35px;
		background: rgba(255,255,255,0.87) url(images/magnify.png) no-repeat left 10px center;
	}

	.qs-submit {
		margin-top: 10px;
		width: 100%;
	}

	.vid-flex {
		flex-direction: column;
	}

	.vid-flex .vid-item {
		width: 100%;
		margin: 10px auto !important;
	}

	.fl-buttons button {
		width: 32px;
		height: 32px;
		font-size: 12px;
	}

	.fl-desc {
		padding: 15px 10px;
	}

	.fl-desc .price {
		font-size: 20px;
		margin-bottom: 5px;
	}

	.fl-desc .address {
		font-size: 12px;
	}

	.agent-item {
		flex-direction: column !important;
	}

	.agent-img {
		width: 100%;
	}

	.agent-desc {
		width: 100%;
	}

	.about-lists {
		flex-direction: column;
	}

	.al-list {
		width: 100%;
		margin-left: 0;
	}

	.awards-content {
		padding: 0;
	}

	.awards-item {
		flex-direction: column;
	}

	.ai-left {
		width: 100%;
	}

	.ai-right {
		width: 100%;
		text-align: center;
	}

	.ai-right .hp-btn {
		margin: 25px auto 0;
	}

	.git-flex {
		flex-direction: column;
		margin-bottom: 0;
	}

	.git-flex > div {
		width: 100%;
		margin: 5px auto;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
  .sac-field.sac-h {
      width: 100%;
  }

  .sac-title h2 {
	font-size: 25px;
	}
}
