@font-face {
    font-family: 'SiemensSans_Prof_Black';
    src: url('./application_root/../fonts/SiemensSans_Prof_Black.ttf');
}

@font-face {
    font-family: 'SiemensSans_Prof_Bold';
    src: url('./application_root/../fonts/SiemensSans_Prof_Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: 'SiemensSans_Prof_Roman';
    src: url('./application_root/../fonts/SiemensSans_Prof_Roman.ttf');
    font-weight: bold;
}

* {
    font-family: 'SiemensSans_Prof_Roman';
    margin: 0
}

/* Typography */

#energy-landscape h1 {
    font-size: 20px;
    font-family: 'SiemensSans_Prof_Black';
}

#energy-landscape h2:not(:first-of-type){
    padding-top: 10px;
}

#energy-landscape h2 {
    font-size: 17px;
}

#energy-landscape p, #energy-landscape li {
    font-size: 13px;
}

#energy-landscape, #energy-landscape-image {
    width: 100%;
}

#energy-landscape {
    overflow: hidden;
    position: relative;
    user-select: none;
    touch-action: none;
}

#energy-landscape-image{
    will-change: transform;
}

#energy-landscape-container {
    position: relative;
    transition: 1s ease-in-out;
}

#energy-landscape-help-text {
    position: absolute;
    top: 2%;
    color: white;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    transition: opacity 0.2s ease-in-out;
}

#energy-landscape-label-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.energy-landscape-label {
    position: absolute;
    padding: 5px;
    font-size: 13px;
    width: 51px;
    height: 51px;
    background-color: #8A00E5;
    color: #F8F8F8;
    border: 2px solid #F8F8F8;
    border-radius: 50%;
    transition: box-shadow 0.1s ease-in-out, transform 0.1s ease-in-out;
}

.energy-landscape-label:hover {
    box-shadow: 0 0 16px 12px #009999;
}

.energy-landscape-label:active {
    background-color: #3D0F4D;
}

.energy-landscape-label.energy-landscape-number {
    width: 25px;
    height: 25px;
    padding: 0;
}

.energy-landscape-label.energy-landscape-number:active {
    background-color: #641E8C;
}

.energy-landscape-label.energy-landscape-number.energy-landscape-zoom-out {
    width: 51px;
    height: 51px;
    background-image: url(https://new.siemens.com/content/dam/applications/siemens-energy/master/en/offerings/power-transmission/lupe.png);
    background-repeat: no-repeat;
    background-size: contain;
}

#energy-landscape-text-box {
    display: none;
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    color: black;
    background-color: rgba(255, 255, 255, 0.9);
    width: 20%;
    padding: 10px;
    line-height: 25px;
    user-select: text;
}

@media (hover: none) {
    #energy-landscape-help-text {
        display: block;
        opacity: 1;
    }
    #energy-landscape-help-text.hide {
        opacity: 0;
    }

    .energy-landscape-label {
        width: 10px;
        height: 10px;
        color: transparent;
        transition: 0.1s ease-in-out;
    }
    .user-touching .energy-landscape-label {
        width: 20px;
        height: 20px;
    }
    .user-touching .energy-landscape-label.energy-landscape-number {
        width: 30px;
        height: 30px;
    }
    .energy-landscape-label.energy-landscape-number.energy-landscape-zoom-out {
        width: 25px;
        height: 25px;
        background-image: url(https://new.siemens.com/content/dam/applications/siemens-energy/master/en/offerings/power-transmission/lupe.png);
        background-repeat: no-repeat;
        background-size: contain;
    }
    .user-touching .energy-landscape-label.energy-landscape-number.energy-landscape-zoom-out {
        width: 30px;
        height: 30px;
        background-image: url(https://new.siemens.com/content/dam/applications/siemens-energy/master/en/offerings/power-transmission/lupe.png);
        background-repeat: no-repeat;
        background-size: contain;
    }
    .energy-landscape-label.hover {
        width: 51px;
        height: 51px;
        box-shadow: 0 0 16px 12px #009999;
        color: white;
    }
    .energy-landscape-label.energy-landscape-number.hover {
        width: 35px;
        height: 35px;
        color: white;
    }
    .user-touching .energy-landscape-label.energy-landscape-zoom-out.hover {
        width: 51px;
        height: 51px;
        color: white;
    }
}