/*
Theme Name: ThreeJS Test Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A minimal theme that loads a GLB model with Three.js
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: threejs-test
*/

.section-padding {
    padding-top: 96px;
    padding-bottom: 96px;
}
.bg-grey {
    background-color: #333333;
}
.isometry {
    min-height: 600px;
}

.table > :not(caption) > * > * {
    background: transparent;
    color: #fff;
}
.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: rgba(255, 255, 255, 0.5);
}

.modal-backdrop.show {
    opacity: 0;
}
.isometry-col {
    min-height: 900px;
    position: relative;
    & .modal {
        position: absolute;
    }
}
.modal.modal-slide-bottom .modal-dialog {
	transform: translateY(100%);
	transition: transform 0.3s ease-out;
}

.modal.modal-slide-bottom.show .modal-dialog {
	transform: translateY(0);
}
.modal-slide-bottom {
	
	& .modal-dialog {
        box-shadow: 0px 0px 10px 0px black;
		max-width: unset;
		margin: 0;
        border: 2px solid #fff;
		height: 100%;
		& .modal-content {
			border-radius: 0;
			height: 100%;
		}
        & .modal-header {
            border-radius: 0;
            background-color: #a77d4f;
            font-weight: 700;
            border: 0;
            text-transform: uppercase;
            & .modal-title {
                font-weight: 700;
            }
        }
        & .btn-close {
            --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
        }
        & .modal-body {
            background-color: #333;
            color: #fff;
        }
	}
    & .download {
        max-width: 180px;
    }
    & .typo td {
        font-weight: 700;
        border-bottom: 1px solid #fff;
        padding: 5px;
        font-size: 15px;
    }
}
.table-responsive td {
	font-size: 15px;
}
.row-checkbox {
    width: 14px;
    height: 14px;
    appearance: none;
    border-radius: 32px;
    border: 2px solid #fff;
}
.row-checkbox:checked {
    background-color: #5ba340;
}
.pdf-modal-btn {
    padding: 8px;
    font-size: 1em;
    background-color: #a77d4f;
    color: #fff;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
}
.downloads-title {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 16px;
}
.three-tooltip {
    position: absolute;
    pointer-events: none;
    transform: translate(-50%, -100%);
    z-index: 9999;
}

.tooltip-content {
    background: #3a3a3a;
    color: #fff;
    padding: 14px 20px;
    border-radius: 4px;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.tooltip-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.tooltip-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.verfugbar {
    color: #3fa534 !important;
}
.vermietet {
    color: #f49300 !important;
}
.text-red {
    color: red !important;
}

.tooltip-price {
    font-size: 15px;
    font-weight: 600;
    color: #2ecc71;
}

.tooltip-arrow {
    width: 0;
    height: 0;
    margin: 0 auto;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #3a3a3a;
}


    .isometry {
        position: relative;
    }

#buildingCanvas {
    width: 100%;
    height: 100%;
    display: block;
}
.buttons-wrap {
    gap: 24px;
    margin: 24px 0;
    display: flex;
    & .pdf-modal-btn {
        width: 50%;
    }
}


@media (min-width: 992px){
    .buttons-wrap {

        & .pdf-modal-btn {
            width: 50%;
        }
    }
    #building-3d-wrapper {
        width: 50%;
        height: 800px;
        top: 0;
        left: 0;
        position: absolute;
    }
}
@media (min-width: 1440px){
    .container-fluid {
        max-width: 1530px;
    }
}