.container {
    margin: 1rem auto;
    padding: 1rem;
    color: black;
}

.property-header {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: auto;
    font-size: large;
}

.main-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    align-items: center;
    border-bottom: 1px solid #f2f2f2;
}

.property-name {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0;
    padding: 0;
}

.property-address {
    font-size: 1.5rem;
    line-height: 1.5;
}

.property-price {
    text-align: right;
    font-size: 2.4rem;
    line-height: 1.5;
}

.property-agent a {
    text-decoration: none;
    color:black;
    font-size: 1.2rem;
}

.property-images {
    margin-top: 1em;
}

.property-images img {
    width: 100%;
    aspect-ratio: 16/9;
	border-radius: 20px;
}

.property-wrap {
    padding: 2rem 0 0;
}

.property-socials {
    display: flex;
    justify-content: flex-end;
    column-gap: 1rem;
    margin-bottom: 1rem;
}

.property-socials a {
    text-decoration: none;
    color: lightgray;
    font-size: large;
}

.property-bbs {
    display: flex;
    column-gap: 2rem;
    margin-top: 1rem;
}

.property-bbs label {
    display: block;
    margin-bottom: 0.5rem;
}

.amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
}

table.table {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-collapse: collapse;
    border-color: #f2f2f2;
}

table.table button {
    background-color: #fff;
    padding: 10px 20px 10px 20px;
	border-radius: 20px;
	border: 2px solid #044345;
}
table.table button a {
    text-decoration: none;
}

table.table button:hover {
    text-decoration: none;
	color: #fff !important;
	background-color: #044345 !important;
}

.applybutton a:hover {
background-color: #044345 !important;
color: #fff !important;
}

.floorplan .panel {
    font-size: large;
    padding: 0 1rem;
    background-color: #f2f2f2;
    margin-bottom: 0.1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.floorplan .panel-right {
    display: flex;
    justify-content: flex-end;
    column-gap: 1rem;
    align-items:center;
}
.floorplan .panel-item button {
    background-color: #fff;
	color: #044345;
    padding: 10px 20px 10px 20px;
	border-radius: 20px;
	border: 2px solid #044345;
}
.floorplan .panel a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

.floorplan .panel-item button:hover {
	background-color: #044345 !important;
	color: #fff !important;}



.floorplan .content {
    display: none;
}

.floorplan.active .content {
    display: block;
}

.floorplan a span.dashicons-plus-alt2 {
    display: inline-block;
}
.floorplan a span.dashicons-minus {
    display: none;
}
.floorplan.active a span.dashicons-minus {
    display: inline-block;
}
.floorplan.active a span.dashicons-plus-alt2 {
    display: none;
}


.floorplan_img {
    text-align: center;
    max-width: 100%;
    margin: 0.5rem;
}
.floorplan_img img {
    max-width: 100%;
}

.property-map {
    width: 100%;
    min-height: 50vh;
	border-radius: 20px;
}

.rentcafe-form input[type='text'], .rentcafe-form input[type='email'], .rentcafe-form input[type='tel'] {
    font-size: 1rem;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    -webkit-transition: .2s all linear;
    transition: .2s all linear;
    border: 1px solid rgba(128,128,128,.2);
    color: gray;
    text-indent: 0.5em;
    max-width: 100%;
}
.rentcafe-form textarea {
    font-size: 1rem;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    -webkit-transition: .2s all linear;
    transition: .2s all linear;
    border: 1px solid rgba(128,128,128,.2);
    color: gray;
    max-width: 100%;
    text-indent: 0.5em;
}
.rentcafe-form .col-2 {
    display: grid; grid-template-columns:1fr 1fr; column-gap:2rem;
}

.sales-form input[type='text'], .sales-form input[type='email'], .sales-form input[type='tel'] {
    font-size: 1rem;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    -webkit-transition: .2s all linear;
    transition: .2s all linear;
    border: 1px solid rgba(128,128,128,.2);
    color: gray;
    text-indent: 0.5em;
    max-width: 100%;
}
.sales-form textarea {
    font-size: 1rem;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    -webkit-transition: .2s all linear;
    transition: .2s all linear;
    border: 1px solid rgba(128,128,128,.2);
    color: gray;
    max-width: 100%;
    text-indent: 0.5em;
}
.sales-form .col-2 {
    display: grid; grid-template-columns:1fr 1fr; column-gap:2rem;
}

.similar-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
}

.similar-item label {
    display: block;
    margin-bottom: 0.25rem;
    color: darkgray;
}

.similar-item .item-title {
    margin: 0.5rem 0;
}
.similar-item .item-address {
    margin-bottom: 0.5rem;
}
.similar-item .item-address2 {
    margin-bottom: 1rem;
}

.similar-item .item-title a {
    font-size: 1.4rem;
    text-decoration: none;
    color: black;
}

.similar-item .item-thumb {
    width: 100%;
}

.similar-item .item-thumb img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    object-fit: cover;
}

.similar-item .item-price {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.similar-item .item-metas {
    display: flex;
    column-gap: 1rem;
    margin-bottom: 1rem;
}

.property-thumbs {
    display: none;
}

.rentcafe-form > form:nth-child(2) > input:nth-child(4), #name, #phone, #message, #email {
	border-radius: 10px;	
}

.rentcafe-form > form:nth-child(2) > input:nth-child(4) {
	padding-left: 20px !important; padding-right: 20px !important;
}

@media only screen and (max-width: 2006px) {
    .floorplan .panel {grid-template-columns: 1fr 2fr !important;}
}

@media only screen and (max-width: 1545px) {
    .floorplan .panel {grid-template-columns: 1fr 3fr !important;}
}

@media only screen and (max-width: 801px) {
    /* For mobile phones: */
    .floorplan .panel {grid-template-columns: 1fr 4fr !important;}
}

@media only screen and (max-width: 755px) {
    /* For mobile phones: */
    .floorplan .panel {grid-template-columns: 1fr 5fr !important; font-size: 15px !important;}
}

@media only screen and (max-width: 727px) {
    .floorplan .panel {grid-template-columns: 1fr 6fr !important; font-size: 14px !important;}
	.panel-item:nth-of-type(2) {display:none !important;}
	.floorplan .panel-item button {padding: 5px 7px 5px 7px !important; margin-right: -10px; margin-top: -5px;}
	.panel {padding-left: 5px !important;}
}

@media only screen and (max-width: 558px) {
	.floorplan .panel {
		grid-template-columns: 1fr 4fr !important;
		font-size: 14px !important;
    }
	.floorplan .panel-right {column-gap: 0.5rem !important;}
	.panel-left {margin-top: 3px;}
}

@media only screen and (min-width : 768px) and (max-width: 1400px) {
    .amenities {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 1rem;
        row-gap: 1rem;
    }

    .property-thumbs {
        display: flex;
        column-gap: 5px;
        flex-wrap: wrap-reverse;
        flex-direction: row;
        justify-content: flex-start;
    }

    .property-thumb a img{
        width: 100px;
        border-radius: 5px;
    }

}

@media only screen and (min-width : 1400px) {
    .container {
        width: 60%;
        margin: 4rem auto;
        padding: 0;
    }

    .property-main {
        padding: 2rem;
        border: 1px solid lightgrey;
        border-radius: 1rem;
    }

    .amenities {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        column-gap: 1rem;
        row-gap: 1rem;
    }

    .property-thumbs {
        display: flex;
        column-gap: 5px;
        flex-wrap: wrap-reverse;
        flex-direction: row;
        justify-content: flex-start;
    }
    .property-thumb a img{
        width: 100px;
        border-radius: 5px;
    }
    

}