/* 
 Theme Name:     Divi Child Theme
 Author:         Magnetas
 Author URI:     http://www.magnetas.in
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 


.flex .et_pb_column:first-child {
    order: 2;
}

/*------------ FLOOR PLAN CUSTOMIZATIONS ------------*/

/* FLOOR PLAN TABLE */

.floorplan-table table tbody tr:nth-child(odd) {
    background: #f4f4f4;
}
.floorplan-table table thead tr td {
    padding: 10px;
    text-align: center;
    font-weight: 700;
}
.floorplan-table table thead tr td:nth-child(-n+2) {
    text-align: left;
}
.floorplan-table table tbody tr td {
    padding: 10px;
    text-align: center;
}
.floorplan-table table tbody tr td:first-child {
    width: 15%;
}
.floorplan-table table tbody tr td:first-child img {
    width: 75%;
}
.floorplan-table table tbody tr td:nth-child(2) {
    text-align: left;
    font-weight: 700;
}

a.fp-button {
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid #666666;
    color: #666666;
    margin-top: 10px;
    text-transform: uppercase;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
a.fp-button:hover {
    color: #fff;
    background: #04b3c4;
    border-color: #04b3c4;
}


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

/*------------ FLOOR PLAN CUSTOMIZATIONS ------------*/

/* FLOOR PLAN TABLE */

.floorplan-table table, .floorplan-tablethead, .floorplan-table tbody, .floorplan-table tr, .floorplan-table td {
	display: block;
}
.floorplan-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
.floorplan-table tr {
    border: 1px solid #e1e1e1;
}
.floorplan-table td {
    border: none;
    border-bottom: 1px solid #e7e7e7;
    position: relative;
    padding-left: 50% !important;
    text-align: right !important;
}
.floorplan-table tbody td {
    border-top: 0 !important;
}
.floorplan-table tbody td:first-child {
    padding: 10px !important;
    width: 100% !important;
	border: none !important;
}
.floorplan-table tbody td:first-child img {
    display: block;
    margin: 0 auto;
    width: 50% !important;
}
.floorplan-table td:before {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    content: attr(data-label);
    text-align: left;
    font-weight: 700;
}
.floorplan-table table tbody tr td:last-child {
    padding: 10px !important;
    text-align: center !important;
}
.floorplan-table tbody td:nth-child(2) {
    padding: 10px !important;
    text-align: center !important;
    font-size: 4vw;
}

}