/**************************
RESPONSIVE STYLES 
**************************/
@media (min-aspect-ratio: 16/9) {
  #video2 {
    width: 100%;
    height: auto;
  }
}

@media (max-aspect-ratio: 16/9) {
  #video2 {
    width: auto;
    height: 100%;
  }
}

@media screen and (max-width: 1200px) {
    .main-content .content.col-left {
	    padding-left: 20px
    }
    
    .main-content .content.col-left:only-child {
	    padding-right: 20px;
    }
    
    .banner .slick-dots{
        right: 20px;
        padding: 0;
    }
    .banner .slick-dots:after{
        top: 100%;
        right: 4px;
        height: 130px;
    }
    .sub-banner .container:after{
        content: none;
    }
    .banner .slick-dots li:last-child{
        margin: 0 0 17px;
    }
    .featured-wrapper h2:after{
        margin: 5px 0 10px 280px;
    }
    .featured-top .container{
        padding: 0 40px;
    }
    .main-content .col-left,
    .inner-section .container{
        padding: 0 45px;
    }
    .inner-section .flexbox > div:last-child{
        padding-left: 80px;
    }
    .prop-listing-items {
	    justify-content: center;
    }
    
    #project-details {
	    padding-bottom: 100px;
    }
}

@media screen and (max-width: 1100px) {
    .header-menu .logo-item{
        padding: 0 15px 0 30px;
    }
    .about-wrapper{
        justify-content: flex-start;
        text-align: center;
    }
    .about-main,
    .about-main .flexbox div:first-child,
    .about-main .flexbox div:last-child{
        width: 100%;
    }
    .about-main .flexbox div:first-child{
        padding: 0;
    }
    .about-main .inner-box{
        max-width: 100%;
        padding: 50px 30px;
    }
    .project-info .inner-box{
        padding: 50px 30px;
    }
    .featured-wrapper h2:after{
        width: 300px;
        margin: 5px auto 35px;
    }
    .featured-wrapper .more-link-lg{
        float: none;
    }
    .featured-top .container{
        padding: 0 15px;
        text-align: center;
    }
    .featured-items{
        margin: -20px 0 20px;
    }
    .sidebar-menu {
        min-height: 170px;
    }
    .main-content .col-left,
    .inner-section .container{
        padding: 0 30px;
    }
    .main-content .sidebar{
        width: 480px;
    }
    .main-content .sidebar .inner-box{
        padding: 105px 55px 40px;
    }
    .inner-section {
        padding: 55px 0;
    }
    .inner-section .flexbox > div:last-child{
        padding-left: 60px;
    }
}

@media screen and (max-width: 1000px) { /* Target Screen Width */
    .header-menu:before, .header-menu:after{
        content: "";
        width: calc(50% - 120px);
    }
    .header-menu .logo-item{
        padding: 0 20px 0 30px;
    }
    .header-menu .logo{
        width: 200px;
    }
    .nav-menu > li:not(.logo-item) > a{
        padding: 0 10px;
        font-size: 18px;
    }
    .nav-menu > li:first-child > a{
        padding-left: 0;
    }
    .nav-menu > li:last-child > a{
        padding-right: 0;
    }

    .quick-links-wrapper header{
        line-height: 1;
        font-size: 100px;
    }
    .quick-links-wrapper .container > .flexbox{
        margin: 0 -15px;
    }
    #home .quick-links-wrapper .container > .flexbox{
        margin: 0 -15px 50px;
    }
    .about-main .inner-box,
    .project-info .inner-box{
        padding: 50px 15px;
    }
    .project-info h3{
        margin-bottom: 16px;
        line-height: 46px;
        font-size: 40px;
    }
    .featured-wrapper h2{
        line-height: 50px;
        font-size: 42px;
    }
    .featured-items{
        margin: -50px 0 0;
    }
    .footer-wrapper .flexbox > div:last-child{
        text-align: inherit;
    }
    .sub-banner{
        height: 250px;
    }
    .sub-banner .banner-text{
        padding: 40px 15px 85px 50px;
    }
    .main-content .col-left,
    .inner-section .container{
        padding: 0 15px;
    }
    .inner-section .flexbox > div:last-child{
        padding-left: 50px;
    }
}
@media screen and (max-width: 940px) {

	.property-details,
	.property-details > .cell {
		display: block;
		width: 100%;
		height: auto;
		padding: 0;
	}
	
	.property-details {
		padding-bottom: 60px;
	}
	
}
@media screen and (max-width: 900px) {
    .banner-text .large-text {
	    text-align: center !important;
    }
    .filter-paging {
	    flex-wrap: wrap;
    }
    
    .prop-type-filter,
    .sort-by-filter {
	    width: 49%;
    }
    
    .prop-type-filter {
	    justify-content: flex-start !important;
	    padding: 0px !important;
    }
    
    .sort-by-filter {
	    justify-content: flex-end !important;
	    margin: 0 !important;
    }
    
    .paging-option {
	    margin-right: auto;
    }
    
    .results-count,
    .paging-option {
	    margin-top: 20px;
    }
    
    #header{
        height: 72px;
    }
    .header-wrapper{
        height: inherit;
        -webkit-box-shadow: 0 2px 10px -3px rgba(16,26,48,0.2);
        -moz-box-shadow: 0 2px 10px -3px rgba(16,26,48,0.2);
        box-shadow: 0 2px 10px -3px rgba(16,26,48,0.2);
    }
    .top-bar{
        height: inherit;
        color: #000;
        background-color: #fff;
    }
    .top-bar span,
    .header-menu .logo-item{
        display: none;
    }
    .top-bar a{
        margin: 0;
        vertical-align: middle;
    }
    .logo-mobile{
        display: block;
        width: 175px;
    }
    .logo-mobile img{
        display: block;
    }
    .header-menu{
        height: 0;
        border: 0;
    }
    .header-menu:before,
    .header-menu:after,
    .nav-menu > li:not(.logo-item) > a:after{
        content: none;
    }

    /*=== Navigation ===*/
    #nav-btn{
        display: inline-block;
        vertical-align: middle;
    }
    #nav-close-btn{
        position: absolute;
        top: 35px;
        right: 55px;
        display: block;
        z-index: 5;
    }
    .main-nav,
    .main-nav nav,
    .nav-menu,
    .nav-menu > li,
    .nav-menu > li:not(.logo-item) > a{
        height: auto;
    }
    .main-nav{
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        margin: 0;
        -webkit-transition: all 0.5s ease 0s;
        -moz-transition: all 0.5s ease 0s;
        -ms-transition: all 0.5s ease 0s;
        -o-transition: all 0.5s ease 0s;
        transition: all 0.5s ease 0s;
        color: #fff;
        background-color: #282828;
        overflow: hidden;
        overflow-y: auto;
        z-index: 110;
    }
    .open .main-nav{
        width: 450px;
    }
    .main-nav nav{
        position: relative;
        min-width: 450px;
        padding: 80px 80px 40px 40px;
        text-align: left;
    }
    .nav-menu{
        padding: 0;
        text-align: inherit;
    }
    .nav-menu > li{
        display: block;
        padding: 0;
    }
    .nav-menu > li:not(.logo-item) > a{
        display: block;
        padding: 15px 30px 12px 15px;
        border-bottom: 1px solid #000;
        text-transform: uppercase;
        font-size: 20px;
        letter-spacing: 0.03em;
        color: inherit;
        -webkit-box-shadow: 0px 1px rgba(255, 255, 255, 0.2);
        -moz-box-shadow: 0px 1px rgba(255, 255, 255, 0.2);
        box-shadow: 0px 1px rgba(255, 255, 255, 0.2);
    }
    .nav-menu > li:not(.logo-item) > a:hover{
        color: inherit;
    }
    .nav-menu > li.active > a,
    .nav-menu > li.active > a:hover{
        color: #c51500;
    }
    .sub-ctrl{
        position: absolute;
        top: 6px;
        right: 0;
        width: 30px;
        height: 40px;
        text-align: center;
        cursor: pointer;
        z-index: 1;
    }
    .sub-ctrl:after{
        content: "\f105";
        font: 22px/40px Font Awesome\ 5 Pro;
        font-weight: bold;
    }
    .sub-ctrl.show{
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
    }
    .sub-menu{
        position: static;
        display: none;
        min-width: 100%;
        width: 100%;
        margin: 0;
        border: 0;
        padding: 8px 20px;
        text-align: inherit;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform:none;
        -o-transform: none;
        transform: none;
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
        background-color: transparent;
        opacity: 1;
        visibility: visible;
    }
    .sub-menu a{
        padding: 10px;
        letter-spacing: 0.03em;
        color: inherit;
    }
    .sub-menu a:hover{
        color: inherit;
        background-color: transparent;
    }

    .banner .banner-text{
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .banner .banner-text > div:first-child,
    .banner .banner-text > div:last-child{
        max-width: 100%;
        border: 0;
        padding: 0;
    }
    .banner .banner-text > div:last-child:before{
        content: "";
        display: block;
        width: 200px;
        height: 3px;
        margin: 10px auto 30px;
        background: #ba151b;
    }
    .banner-content,
    .banner-content p{
        line-height: 28px;
        font-size: 18px;
    }
    .sub-banner:after{
        background: rgba(21, 21, 21, 0.7);
    }
    .sub-banner .flexbox{
        justify-content: center;
        align-items: center;
    }
    .sub-banner .banner-text{
        max-width: 600px;
        margin-bottom: 15px;
        padding: 30px 0 15px;
    }
    .sub-banner .banner-text:before{
        left: 50%;
        bottom: 0;
        width: 200px;
        height: 3px;
        margin-left: -100px;
        background-color: #ba151b;
    }
    .sub-banner .large-text{
        text-align: center;
    }
    .more-link-lg,
    .quick-links-wrapper .more-link-lg{
        margin-right: 0;
        border-bottom: 1px solid;
    }
    .more-link-lg:before,
    .more-link-lg:after,
    .banner .slick-dots:after{
        content: none;
    }
    .quick-links-wrapper{
        padding: 55px 0 25px;
    }
    .quick-links-wrapper .container > .flexbox{
        flex-wrap: wrap;
        justify-content: center;
        margin: 0;
    }
    .quick-links-wrapper header{
        margin-bottom: 15px;
        font-size: 65px;
        color: #fff;
    }
    .quick-links-wrapper .more-link-lg{
        float: none;
    }
    #home .quick-links-wrapper .container > .flexbox{
        margin: 0 0 20px;
    }
    .ql-box{
        width: 300px;
        margin: 0 15px 30px;
    }
    .about-main .large-text{
        margin-bottom: 20px;
        font-size: 28px;
    }
    .projects-wrapper{
        height: auto;
        text-align: center;
    }
    .projects-wrapper > div,
    .inner-section .flexbox > div{
        width: 100%;
    }
    .project-info .inner-box{
        display: flex;
        flex-direction: column;
        max-width: 100%;
        float: none;
    }
    .project-inner-top {
        order: 1;
        margin: 30px 0 0;
    }
    .project-slider-arrows{
        display: none;
    }
    .project-slider-dots{
        position: static;
        margin-top: 30px;
    }
    .project-image-box{
        height: 500px;
    }
    #carousel{
        height: 0;
        padding: 0;
        overflow: hidden;
    }
    #mobile-carousel-replace{
        height: auto;
        padding: 55px 0;
        overflow: visible;
    }
    .featured-wrapper h2:after{
        width: 200px;
    }
    .footer-wrapper{
        padding: 40px 0 30px;
    }
    .footer-wrapper .logo{
        width: 160px;
    }
    .footer-wrapper p{
        margin-bottom: 5px;
    }
    .footer-wrapper .flexbox{
        flex-direction: column;
    }
    .footer-wrapper .flexbox > div:nth-child(2){
        order: -1;
        width: auto;
        margin: 0 0 20px;
        border: 0;
        padding: 0;
    }
    .footer-wrapper .flexbox > div:last-child{
        margin-top: 20px;
    }
    .main-content .container > .table{
        display: block;
        height: auto;
    }
    .main-content .col-left{
        display: block;
    }
    .main-content .sidebar{
        display: block;
        width: 100%;
        margin-top: 30px;
        padding: 0 25px;
    }
    .main-content .sidebar.padding-top {
	    padding-top: 40px;
    }
    .main-content .sidebar .inner-box{
        padding: 50px 15px 30px;
    }
    .main-content .sidebar iframe[src*="google"] {
	    width: 100%;
    }
    .sidebar-menu{
        min-height: auto;
        margin: 14px 0 50px;
    }
    .inner-section {
        padding: 50px 0;
    }
    .inner-section .flexbox{
        flex-wrap: wrap;
    }
    .inner-section .flexbox > div:last-child{
        margin-top: 35px;
        padding: 0;
    }
}   

@media screen and (max-width: 770px) { /* Tablet View */
	.top-bar  a {
		font-size: 15px;
	}
    body{
        cursor: pointer; /* iOS Clicking Fix */
    }
    h1{
        margin-bottom: 15px;
        line-height: 56px;
        font-size: 50px;
    }
    .main-nav nav{
        padding-right: 40px;
    }
    #nav-close-btn{
        right: 40px;
    }
    .project-image-box{
        height: 420px;
    }
    .sub-banner{
        height: 230px;
    }
    .breadcrumbs{
        margin: 40px 0 40px;
    }
    .case-study {
	    flex-wrap: wrap;
    }
    .case-study > div {
	    width: 100% !important;
	    min-height: 350px;
	    
    }
    .case-study-gallery .thumbnail {
	    width: 23.1%;
    }
}

@media screen and (max-width: 670px) { /* Phone View */
    h1{
        line-height: 52px;
        font-size: 44px;
    }
    h2,
    .featured-wrapper h2{
        line-height: 42px;
        font-size: 36px;
    }
    .large-text,
    .project-info h3{
        line-height: 38px;
        font-size: 32px;
    }
    .quick-links-wrapper header{
        font-size: 54px;
    }
    .ql-box{
        background: rgba(38, 38, 38, 0.6);
    }
    .ql-box:hover{
        border-color: #fff;
    }
    .ql-box h3,
    .ql-box:hover h3{
        text-decoration: underline;
        margin-bottom: 30px;
    }
    .ql-box .text-hidden{
        height: auto;
        top: 0;
        opacity: 1;
        visibility: visible;
    }
    .about-main .large-text{
        line-height: 32px;
        font-size: 24px;
    }
    .mobile-featured-items{
        width: 400px;
    }
    .item-box{
        height: auto;
        min-height: 560px;
        padding: 12px;
    }
    .item-box figure{
        height: 300px;
    }
    .sub-banner .large-text{
        line-height: 34px;
    }
    .sidebar-menu a{
        line-height: 24px;
        font-size: 16px;
    }
}
@media screen and (max-width: 580px) {
	.prop-type-filter,
	.sort-by-filter {
		width: 100% !important;
		justify-content: center !important; 		
	}
	.sort-by-filter {
		margin-top: 20px !important;
	}
	.prop-header h1 {
		font-size: 34px;
		line-height: 38px;
	}
	.prop-info span {
		display: block;
		font-size: 0;
		width: 100%;
		height: 1px;
		background-color: #282828;
		margin: 6px 0;
	}
	
	.case-study-gallery .thumbnail {
	    width: 31.6%;
    }
}
@media screen and (max-width: 480px) {
	.top-bar  a {
		font-size: 10px;
	}
    h1{
        line-height: 42px;
        font-size: 36px;
    }
    h2,
    .featured-wrapper h2{
        line-height: 36px;
        font-size: 30px;
    }
    h2 span,
    .project-info h3 span{
        margin-bottom: 0;
        font-size: 16px;
    }
    h3,
    .ql-box h3,
    .ql-box:hover h3{
        margin-bottom: 10px;
        font-size: 22px;
    }
    h4{
        font-size: 18px;
    }
    .btn{
        min-width: 160px;
        padding: 11px 15px 10px;
    }

    #nav-close-btn{
        top: 30px;
        right: 30px;
    }
    .open .main-nav{
        width: 350px;
    }
    .main-nav nav{
        min-width: 350px;
        padding: 80px 30px 30px;
    }
    .top-bar a[href^="tel:"],
    .banner-text .large-text br{
        display: none;
    }
    .logo-mobile{
        width: 150px;
    }
    .banner{
        min-height: auto;
    }
    .sub-banner .banner-text{
        margin-bottom: 0;
        padding: 30px 0;
    }
    .sub-banner .banner-text:before{
        content: none;
    }
    .large-text,
    .project-info h3{
        line-height: 36px;
        font-size: 26px;
    }
    .quick-links-wrapper header + p,
    .about-main .large-text{
        line-height: 30px;
        font-size: 20px;
    }
    .quick-links-wrapper header{
        margin-bottom: 5px;
        font-size: 46px;
    }
    #home .quick-links-wrapper .container > .flexbox{
        margin: 0 0 15px;
    }
    .ql-box{
        min-height: 260px;
        margin: 0 0 30px;
    }
    .about-wrapper .btn,
    .info-banner .btn{
        font-size: 16px;
    }
    .about-wrapper .btn::after,
    .info-banner .btn:after{
        font-size: 20px;
        opacity: 1;
        visibility: visible;
    }
    .project-image-box{
        height: 360px;
    }
    .featured-wrapper .container{
        padding: 0 15px;
    }
    .mobile-featured-items{
        width: 320px;
        margin: 40px auto;
    }
    .item-box{
        min-height: 460px;
    }
    .item-box figure{
        height: 250px;
    }
    .item-row,
    .item-row:last-child{
        padding: 16px 0;
    }
    .item-row p{
        margin: 10px 0 0;
        font-size: 16px;
    }
    .item-img-overlay span{
        font-size: 22px;
    }
    .main-content .sidebar .inner-box {
        padding: 50px 15px 20px;
    }
    .jbsystems{
        display: block;
        margin: 5px auto 0;
    }
    .case-study-gallery .thumbnail {
	    width: 100%;
	    margin: 2.5% 0 0 0;
    }
    .video-box figcaption {
	    font-size: 16px;
		background: rgba(255,255,255,0.6);
		line-height: 22px;
		text-align: center;
    }
}

@media screen and (max-width: 360px) {
    #nav-btn{
        font-size: 28px;
    }
    #nav-close-btn{
        right: 20px;
        font-size: 28px;
    }
    .open .main-nav{
        width: 320px;
    }
    .main-nav nav{
        min-width: 320px;
        padding: 80px 20px 25px;
    }
    .sub-menu{
        padding: 8px 15px;
    }

    .quick-links-wrapper header{
        font-size: 40px;
    }
    .ql-box,
    .mobile-featured-items{
        width: 100%;
    }
    .project-image-box{
        height: 320px;
    }
    .attribute-list li{
        width: 88px;
    }
}