/* Container */

#main_content {
    background-color: #f7f7f7;
    margin: 0 auto;
    padding: 4rem 0;
    max-width: unset;
}

@media (max-width: 768px) {
    #main_content {
        padding: 2rem 0 1rem;
    }
}

/* Filters */

.flr-srch-fltr form {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 8rem 4rem;
}

@media (max-width: 768px) {
    .flr-srch-fltr form {
        width: 100%;
        flex-direction: column;
        padding: 2rem;
    }
}

.flr-srch-fltr .input-container {
    display: flex;
    flex-direction: column;
    width: calc((100% / 5) - 1rem);
    flex: 0 0 auto;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .flr-srch-fltr .input-container {
        width: 100%;
    }
}

.flr-srch-fltr label {
    font-weight: 600;
}

.flr-srch-fltr input[type="text"],
.flr-srch-fltr input[type="email"],
.flr-srch-fltr input[type="number"],
.flr-srch-fltr select {
    border: #ccc 1px solid;
    box-shadow: none;
    height: 50px;
    border-radius: 3px;
    width: 100%;
}

.flr-srch-fltr select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: calc(100% - 5px);
    background-position-y: 50%;
    background-color: #fff;
}

.flr-srch-fltr input[type="submit"] {
    font-family: var(--headerFont) !important;
    width: 100%;
    color: #fff;
    letter-spacing: 1px;
    border: none;
    background: var(--primaryColor);
    font-size: 1.25rem;
    height: 50px;
    border-radius: 3px;
    display: block;
    padding: unset;
}

/* Floor Plans */

.floor-plan-list {
    gap: var(--gap);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 8rem;
}

@media screen and (max-width: 768px) {
    .floor-plan-list {
        margin: unset !important;
    }
}

@media screen and (max-width: 1200px) {
    #viewer {
        max-width: 85vw;
    }
}

.floorplan {
    border-right: #fff 1px solid;
    border: #ddd 1px solid;
    min-height: 560px;
    position: relative;
    text-align: left;
    width: calc((100% - (3 * var(--gap))) / 4);
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

@media (max-width: 768px) {
    .floorplan {
        width: calc((100% - (3 * var(--gap))) / 2);
    }
}

@media screen and (max-width: 640px) {
    .floorplan {
        width: calc((100% - (3 * var(--gap))) / 1);
    }
}

.floorplan .owl-theme .owl-nav {
    margin: 0;
}

.floorplan .imgcol a img.img-responsive {
    width: 100% !important;
}

.floorplan .head {
    text-align: left;
    padding-bottom: 0.35rem;
}

.floorplan .head h3 {
    margin: 0 0 0.15rem;
    line-height: 1;
}

.floorplan .head a {
    font-size: 1.5rem;
    color: #333;
    font-family: var(--headerFont);
    text-transform: capitalize;
}

.floorplan .head h4 {
    margin: 0;
    opacity: 0.5;
    line-height: 1;
    font-family: var(--bodyFont);
    font-weight: 300;
}

.floorplan .info {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    flex-grow: 1;
}

.floorplan .inner-icons {
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

.floorplan .inner-icons button {
    background: none;
    margin: 0;
    border: 0;
    flex: 0 1 20%;
    box-shadow: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    aspect-ratio: 1;
    padding: 0;
    transition: 250ms ease all;
}

.floorplan .inner-icons button:hover {
    transform: scale(1.15);
}

.floorplan .inner-icons svg {
    width: 30px;
    aspect-ratio: 1;
    height: auto;
    fill: var(--primaryColor);
}

.floorplan .specs {
    font-family: var(--bodyFont);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.floorplan .specs .spec {
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 300;
}

.floorplan .specs a {
    color: #333;
}

.floorplan .specs a:hover {
    text-decoration: underline !important;
}

.floorplan .specs .icon {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.floorplan .specs .icon svg {
    width: 20px;
    height: 20px;
    fill: #333333;
}

.floorplan .pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.floorplan .pills a {
    font-size: 12px;
    padding: 5px 7px 7px;
    background-color: #f0f0f0;
    border-radius: 3px;
    line-height: 1;
    color: #333333;
    transition: 250ms ease all;
}

.floorplan .pills a:hover {
    background-color: var(--primaryColor);
    color: #fff;
    text-decoration: none !important;
}

.floorplan .global-btn {
    display: block;
    background-color: var(--primaryColor);
    margin: auto 0 0;
    text-align: center;
    transition: 250ms ease all;
    font-size: 0.85rem;
}

.floorplan .global-btn:hover {
    color: #fff;
    background-color: #17487d;
}

.floor-pans-sc .tabs .nav-tabs li a,
.floor-pans-sc .filters .btn.btn-primary {
    margin-left: 0 !important;
    margin-right: 10px !important;
    text-transform: uppercase !important;
    font-size: 17px !important;
    letter-spacing: 2.5px !important;
}

@media screen and (min-width: 600px) {
    .floor-pans-sc .floor-plan-list li .head h3,
    .floor-pans-sc .floor-plan-list li .head h3 a {
        min-height: 70px;
    }
}

@media screen and (max-width: 1199px) {
    .floor-pans-sc .floor-plan-list li {
        /*float: left;*/
    }
    .floor-pans-sc .floor-plan-list {
        text-align: left;
    }
}

.quickmove .floorplan {
    position: relative;
}

.quickmove .master-down .imgcol img {
    width: 100%;
}

.owl-theme .owl-nav [class*="owl-"] {
    margin: 0;
    padding: 0 !important;
    width: 35px;
    height: 35px;
    background-color: var(--primaryColor) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: unset !important;
}

.owl-theme .owl-nav [class*="owl-"].disabled {
    display: none !important;
}

.owl-theme .owl-nav [class*="owl-"] i::before {
    color: #fff !important;
    font-size: 20px !important;
}

.owl-theme .owl-nav .owl-next {
    right: 0px !important;
    border-radius: 3px 0 0 3px;
}

.owl-theme .owl-nav .owl-prev {
    left: 0px !important;
    border-radius: 0 3px 3px 0;
}

/* Form */

#cta {
    padding: 0 !important;
}

#cta .container {
    padding: 0 !important;
}

.fp-form {
    margin: 0 auto;
    width: 75%;
}

/* Tablet Portrait and Landscape */

@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
    .flr-srch-fltr form {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .flr-srch-fltr input[type="submit"] {
        padding: 0 !important;
    }
    .floorplan .global-btn {
        padding: 12px !important;
        line-height: 1.2 !important;
    }
}

/* Mobile adjustments */

@media screen and (max-width: 768px) {
    .flr-srch-fltr form {
        margin: unset !important;
    }
}

