/* #Tablet ================================================== */

@media only screen and (max-width: 1024px) {
    body {
        background-size: 1024px;
        overflow-x: hidden !important;
        width: 100%;
    }
    #primary-navigation .nav-container .sf-menu a {
        font-size: 17px;
    }
    #primary-fullwidth {
        width: 100% !important;
    }
    .header-container {
        margin-bottom: 10px;
    }
    #primary-navigation {
        padding-top: 65px;
        padding-left: 200px;
    }
    #header #logo {
        max-width: 150px;
    }
    #slider {
        width: 90% !important;
        height: calc(100vw / 2.75) !important;
        margin-top: 25px;
    }
    .slider-holder {
        max-width: 100% !important;
        margin: 0;
        overflow: hidden !important;
    }
    #prevSlide {
        left: 20px;
    }
    #nextSlide {
        right: 20px;
    }
    .container {
        width: 100%;
        padding: 0;
    }
    .call-to-action {
        height: 115px;
        width: 100px;
    }
    .call-to-action h3 {
        width: 700px;
        text-align: center;
        font-size: 52px;
        left: -300px;
    }
    .call-to-action h4 {
        width: 700px;
        font-size: 30px;
        left: -300px;
        text-align: center;
        bottom: 7px;
    }
    .page-title {
        height: 115px;
        width: 100px;
    }
    .page-title h3 {
        width: 525px;
        text-align: center;
        font-size: 52px;
        left: -205px;
    }
    .page-title h4 {
        width: 525px;
        font-size: 30px;
        left: -205px;
        text-align: center;
        bottom: 7px;
        letter-spacing: 1px;
    }
    .one-half.column {
        width: calc(100% - 50px) !important;
        padding: 0 25px;
    }
    .feature-column {
        width: 31%;
        margin: 0 8px;
    }
    .floorplan {
        width: 40%;
    }
    .floorplan:nth-of-type(odd) {
        margin: 0 2% 40px 8%;
    }
    .floorplan:nth-of-type(even) {
        margin: 0 8% 40px 2%;
    }
    .details-right .floorplan {
        width: 98% !important;
        margin: 0 1% !important;
    }
    .back-to-floorplans {
        left: 7%;
    }
    .details-text {
        width: 94%;
        margin: 0 auto;
    }
    .one-half.column:nth-of-type(2) {
        margin: 0 !important;
    }
    .one-half.column img {
        margin: 0 auto;
    }
    .amenity {
        height: 380px;
    }
    .amenity .amenity-title {
        font-size: 30px;
        margin: 0 0 10px 0;
    }
    .amenity-text {
        height: calc(100% - 50px);
    }
    .amenity-text li,
    .amenity-text P {
        font-size: 16px;
        line-height: 20px;
    }
    .photo-row {
        height: 275px;
    }
    .neighborhood-wrapper {
        width: 100%;
    }
    .neighborhood-wrapper .column.one-half:nth-of-type(2) {
        font-size: 16px;
        width: 325px !important;
        margin: 0 calc(50% - 185px) !important;
        padding: 0 !important;
    }
    #footer h4 {
        font-size: 14px;
    }
    #footer p,
    #footer a {
        font-size: 12px;
    }
    #footer .right-bar {
        min-height: 100px;
    }
    #footer .one-fourth.column.right-bar:nth-of-type(1) {
        width: calc(25% - 25px);
        padding-left: 25px;
    }
    #footer .one-fourth.column.right-bar:nth-of-type(2) {
        padding: 0;
        text-indent: 15%;
    }
    #footer .one-fourth.column.right-bar:nth-of-type(3) {
        text-indent: 20%;
    }
    #footer .one-fourth.column:not(.right-bar) {
        width: calc(25% - 50px);
        padding-left: 25px;
    }
}


/*  #Mobile ================================================== */

@media (max-width: 767px) {
    body {
        background-size: 800px;
    }
    #header-container {
        margin: 0px;
    }
    #primary-navigation {
        padding: 0;
        position: absolute;
        right: 20px !important;
        top: 35px;
        cursor: pointer;
        width: 50px;
    }
    #primary-navigation .nav-container {
        display: none;
    }
    #primary-navigation::before {
        display: block;
        content: '\f0c9';
        font-size: 40px;
        font-family: 'FontAwesome';
        height: 50px;
        width: 50px;
        text-align: center;
        position: relative;
        line-height: 40px;
    }
    #primary-navigation:hover {
        color: #951930;
    }
    #primary-navigation:hover .nav-container {
        display: block;
        position: absolute;
        right: 0;
        z-index: 10002;
        padding: 0 15px;
        border: 2px solid #951930;
        background: #ffffff;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    }
    .header-container {
        margin: 20px auto;
    }
    #logo {
        padding-left: 20px;
        max-width: 100px;
    }
    #main-right-block {
        right: 0px;
    }
    .call-to-action {
        height: 60px;
        width: 100px;
    }
    .call-to-action h3 {
        width: 325px;
        text-align: center;
        font-size: 32px;
        left: -112px;
    }
    .call-to-action h4 {
        width: 325px;
        font-size: 15px;
        left: -112px;
        text-align: center;
        bottom: 7px;
        letter-spacing: 1px;
    }
    .page-title {
        height: 60px;
        width: 100px;
    }
    .page-title h3 {
        width: 325px;
        text-align: center;
        font-size: 32px;
        left: -112px;
    }
    .page-title h4 {
        width: 325px;
        font-size: 15px;
        left: -112px;
        text-align: center;
        bottom: 7px;
        letter-spacing: 1px;
    }
    #slider {
        height: calc(100vw / 2.75) !important;
    }
    #prevSlide {
        left: 5px;
    }
    #nextSlide {
        right: 5px;
    }
    .floorplan {
        width: 90%;
        margin: 0 5% 40px 5% !important;
    }
    .details-right .floorplan {
        width: 98% !important;
        margin: 0 1% !important;
    }
    .feature-column {
        width: 31%;
        margin: 0 3px;
    }
    .special-feature h6 {
        height: 28px;
    }
    .amenity {
        height: 300px;
    }
    .amenity .amenity-title {
        font-size: 20px;
        line-height: 24px;
        margin: 0 0 10px 0;
    }
    .amenity-text {
        height: 100%;
        width: calc(50% - 20px - 3%);
        padding-top: 10px;
        padding-left: 20px;
    }
    .amenity-text li,
    .amenity-text P {
        font-size: 11px;
        line-height: 14px;
    }
    .details-text {
        width: calc(94% - 50px);
        margin: 0 auto;
        padding: 10px 25px;
    }
    .details-left {
        width: 94%;
        min-height: unset;
        padding-top: 0px;
        padding-bottom: 0px;
    }
    .details-left .amenity-title {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .details-right {
        width: calc(100% - 20px);
        min-height: unset;
        padding: 10px;
        margin: 0 0 40px 0;
    }
    .photo-row {
        height: 150px;
    }
    .sm-img {
        width: 90%;
        margin: 0 5% 10px 5%;
    }
    .lg-img {
        width: 90%;
        margin: 0 5% 10px 5%;
    }
    .neighborhood-wrapper .column.one-half:nth-of-type(1) {
        font-size: 18px;
    }
    #footer h4 {
        font-size: 10px;
    }
    #footer p,
    #footer a {
        font-size: 9px;
        line-height: 13px;
    }
    #footer .one-fourth.column.right-bar:nth-of-type(1) {
        width: calc(37% - 10px);
        padding-left: 10px;
    }
    #footer .one-fourth.column.right-bar:nth-of-type(2) {
        width: calc(33% - 2px);
        padding: 0;
        text-indent: 7%;
    }
    #footer .one-fourth.column.right-bar:nth-of-type(3) {
        width: calc(29% - 2px);
        border: none;
        text-indent: 10%;
    }
    #footer .one-fourth.column:not(.right-bar) {
        width: 100%;
        border: none;
        padding-left: 0px;
    }
    #footer .social-wrapper {
        clear: both;
        width: 100%;
        margin: 0;
        padding: 10px 0 0 0 !important;
        text-align: center;
    }
    #footer .social-icons {
        padding: 0 5px;
    }
    #footer .social-wrapper:nth-of-type(1) {
        margin-bottom: 0px !important;
    }
    #footer .right-bar {
        min-height: unset;
    }
}