@font-face {
    font-family: 'Assistant';
    src: url('font/Assistant-ExtraLight.ttf') format('truetype');
    font-weight: 200;
}

@font-face {
    font-family: 'Assistant';
    src: url('font/Assistant-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Assistant';
    src: url('font/Assistant-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Assistant';
    src: url('font/Assistant-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Assistant';
    src: url('font/Assistant-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Assistant';
    src: url('font/Assistant-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Assistant';
    src: url('font/Assistant-ExtraBold.ttf') format('truetype');
    font-weight: 800;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Assistant, sans-serif;
}

#tec3h_360_player {
    width: 100%;
    height: 100%;
    background-color: black;
    overflow: hidden;
}

#tec3h_360_player_content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#tec3h_360_player_error {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-weight: 800;
    font-size: 20px;
    text-align: center;
}

#tec3h_360_player .fixed-buttons-and-logo {
    position: absolute;
    z-index: 1000;
    user-select: none;
    display: flex;
    flex-direction: column;
}

#tec3h_360_player .action-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#tec3h_360_player .fixed-buttons-and-logo .tec3h-logo {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 6px;
    height: 30px;
    cursor: pointer;
    padding: 0px 8px;
    opacity: 0.6;
    transition: 0.3s;
}

#tec3h_360_player .fixed-buttons-and-logo .tec3h-logo:hover {
    opacity: 1;
}

#tec3h_360_player .fixed-buttons-and-logo .tec3h-logo p {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    padding-right: 4px;
}

#tec3h_360_player .fixed-buttons-and-logo .tec3h-logo img {
    height: 20px;
}

#tec3h_360_player .action-button, #tec3h_360_player .fullscreen-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 1000px;
    width: 45px;
    height: 45px;
    margin: 5px;
    cursor: pointer;
    box-shadow: 0px 0px 8px 0px #00000094;
    transition-duration: 0.5s;
}

#tec3h_360_player .action-button[data-360-button="studio_4d"]:after {
    content: "3D immersif";
}

#tec3h_360_player .action-button[data-360-button="interior_360"]:after {
    content: "Interieur 360";
}

#tec3h_360_player .action-button[data-360-button="exterior_360"]:after {
    content: "Exterieur 360";
}

#tec3h_360_player .fullscreen-button:after {
    content: "Plein ecran";
}

#tec3h_360_player .action-button:after, #tec3h_360_player .fullscreen-button:after {
    position: absolute;
    white-space: nowrap;
    margin: 0 10px;
    color: white;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.88), 0px 0px 10px rgba(0, 0, 0, 0.88), 0px 0px 10px rgba(0, 0, 0, 0.88);
    font-family: Assistant, sans-serif;
}

#tec3h_360_player .action-button-active:after{
    transform: scale(1) translateX(0) !important;
}

#tec3h_360_player .action-button:hover:after, #tec3h_360_player .fullscreen-button:hover:after {
    transition-duration: 0.3s;
    transform: scale(1) translateX(0);
}

#tec3h_360_player .fullscreen-button{
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
}

#tec3h_360_player .action-button-loading {
    background-image: url(assets/360-player-loader.svg);
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: center;
    background-color: #5c5c5c;
    cursor: default;
}

#tec3h_360_player .action-button-loading:hover {
    transform: scale(1) !important;
    box-shadow: none !important;
}

#tec3h_360_player .action-button-loading svg{
    display: none;
}

#tec3h_360_player .action-button-active {
    background-color: var(--player_360_primary_color);
    transform: scale(1.1);
    box-shadow: inset 0px 0px 5px 1px #0000009e, 0 0 8px 0 var(--player_360_primary_color) !important;
}

#tec3h_360_player .action-button-active svg {
    fill: white;
}

#tec3h_360_player .action-button:hover{
    transform: scale(1.1);
    box-shadow: inset 0px 0px 5px 1px #0000009e;
}

#tec3h_360_player .action-button:hover svg, #tec3h_360_player .fullscreen-button:hover svg{
    transform: rotateY(360deg);
}

#tec3h_360_player .action-button svg, #tec3h_360_player .fullscreen-button svg {
    width: 80%;
    transition-duration: 0.5s;
}

#tec3h_360_player .loader-360-player{
    color: white;
}

#tec3h_360_player #studio_4d_canva{
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: grab;
}

#tec3h_360_player #studio_4d_canva:active{
    cursor: grabbing;
}

.tec3h-viewer-container {
    background: none;
    background-color: black;
}

.tec3h-viewer-load-box{
    display: none !important;
}

.tec3h-viewer-hotspot{
    border-radius: 50px !important;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid white;
    animation: shadow-hotspot-anim 2s infinite ease-in-out;
    cursor: pointer !important;
}

.tec3h-viewer-hotspot.tec3h-viewer-equipement{
    background: var(--hotspot_equipment_color) !important;
}

.tec3h-viewer-hotspot.tec3h-viewer-frais{
    background: var(--hotspot_damage_color) !important;
}

.tec3h-viewer-hotspot.tec3h-viewer-equipement:hover{
    box-shadow: var(--hotspot_equipment_color) 0px 0px 15px 5px !important;
}

.tec3h-viewer-hotspot.tec3h-viewer-frais:hover{
    box-shadow: var(--hotspot_damage_color) 0px 0px 15px 5px !important;
}

.tec3h-viewer-hotspot:after{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: white;
}

.tec3h-viewer-hotspot.tec3h-viewer-equipement:after{
    content: '\2139';
}

.tec3h-viewer-hotspot.tec3h-viewer-frais:after{
    content: '\26A0';
}

div.tec3h-viewer-tooltip:hover span:after{
    display: none !important;
}

.tec3h-viewer-hotspot > span{
    background-color: white !important;
    border-radius: 100px !important;
    color: black !important;
    font-family: 'Assistant' !important;
    font-weight: 700;
    font-size: 14px;
    width: fit-content !important;
    white-space: nowrap;
    max-width: none !important;
    padding: 8px 15px 6px 15px !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60px);
    margin: 0 !important;
}

.tec3h-viewer-hotspot  > span i{
    margin-right: 5px;
}

.tec3h-viewer-hotspot.tec3h-viewer-equipement > span i{
    color: var(--hotspot_equipment_color) !important;
}

.tec3h-viewer-hotspot.tec3h-viewer-frais > span i{
    color: var(--hotspot_damage_color) !important;
}

@keyframes spin-tec3h-viewer {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes shadow-hotspot-anim {
    0%{box-shadow: 0px 0px 0px 4px #ffffff88}
    50%{box-shadow: 0px 0px 0px 2px #ffffff88}
    100%{box-shadow: 0px 0px 0px 4px #ffffff88}
}

#tec3h_interior_360_hotspot_content,
#tec3h_player_360_hotspot_content{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    overflow: hidden;
}

@keyframes hotspot-full-anim {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes hotspot-content-anim {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animation-open-hotspot-content {
    animation: hotspot-full-anim 0.5s ease-in-out forwards;
}

.animation-open-hotspot-details {
    animation: hotspot-content-anim 0.5s ease-in-out forwards;
}

.animation-close-hotspot-content {
    animation: hotspot-full-anim 0.5s ease-in-out forwards;
    animation-direction: reverse !important;
}

.animation-close-hotspot-details {
    animation: hotspot-content-anim 0.5s ease-in-out forwards;
    animation-direction: reverse !important;
}

#tec3h_interior_360_hotspot_content .close-hotspot-content,
#tec3h_player_360_hotspot_content .close-hotspot-content {
    position: absolute;
    top: 6px;
    right: 30px;
    cursor: pointer;
    font-size: 34px;
    color: black;
    font-weight: 800;
    z-index: 10;
}

#tec3h_interior_360_hotspot_content .interior-360-hotspot-details,
#tec3h_player_360_hotspot_content .360-hotspot-details {
    position: relative;
    height: 100%;
}

#tec3h_interior_360_hotspot_content .hotspot-title,
#tec3h_player_360_hotspot_content .hotspot-title {
    padding: 20px;
    margin: 0;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 0 4px 0 #00000020;
    position: relative;
    z-index: 9;
    background-color: white;
}

#tec3h_interior_360_hotspot_content .hotspot-description,
#tec3h_player_360_hotspot_content .hotspot-description{
    display: flex;
    justify-content: center;
    height: calc(100% - 125px);
}

#tec3h_interior_360_hotspot_content .hotspot-description-image,
#tec3h_player_360_hotspot_content .hotspot-description-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

#tec3h_interior_360_hotspot_content .hotspot-description-image img,
#tec3h_player_360_hotspot_content .hotspot-description-image img {
    max-height: 100%;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0px 0px 8px 0px #00000080;
}

#tec3h_interior_360_hotspot_content .hotspot-description-text,
#tec3h_player_360_hotspot_content .hotspot-description-text{
    width: 50%;
    padding: 20px;
    font-size: 18px;
    overflow-y: auto;
}

#tec3h_interior_360_hotspot_content .hotspot-description-text::-webkit-scrollbar,
#tec3h_interior_360_hotspot_content::-webkit-scrollbar{
    width: 10px;
    margin-right: 10px;
}

#tec3h_interior_360_hotspot_content .hotspot-description-text::-webkit-scrollbar-thumb,
#tec3h_interior_360_hotspot_content::-webkit-scrollbar-thumb{
    border-radius: 50px;
    background: var(--player_360_primary_color);
}

@media (max-width: 550px) {
    #tec3h_interior_360_hotspot_content{
        overflow-y: auto;
    }

    #tec3h_interior_360_hotspot_content .interior-360-hotspot-details{
        height: auto;
    }

    #tec3h_interior_360_hotspot_content .hotspot-description{
        flex-direction: column;
        align-items: center;
    }

    #tec3h_interior_360_hotspot_content .hotspot-description-image{
        width: 100%;
        max-width: 90%;
    }

    #tec3h_interior_360_hotspot_content .hotspot-description-text{
        width: 100%;
        max-width: 90%;
        overflow-y: hidden;
    }

}