.tgpPanel {
    position: relative;     
    display: flex;      
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 2.5vw;
    width: 100vw;
    margin-left: auto;
    margin-right: auto;
}

.tgp {
    width: 100vw;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.tgp .tgpItem {
    width: 20vw;
    height: 30vh;
    position: relative;
    overflow: hidden;
}

.tgp .tgpItem .title {
    position: absolute;
    color: black;
    font-family: Raleway;
    font-weight: 700;
    font-size: 2.25vh;
    line-height: 2.25vh;
    height: 5vh;
}

.tgp .tgpItem.top.left .title {
    text-align: left;
    width: 20vw;
    padding-left: 3vh;
    padding-top: 1.5vh;
    top: 0;
    left: 0;
    /*background: linear-gradient(white, transparent);*/
    padding-bottom: 5vh;
}

.tgp .tgpItem.top.center .title {
    text-align: center;
    width: 20vw;
    padding-top: 1.5vh;
    top: 0;
    /*background: linear-gradient(white, transparent);*/
    padding-bottom: 5vh;
}

.tgp .tgpItem.top.right .title {
    text-align: right;
    width: 18vw;
    padding-right: 3vh;
    padding-top: 1.5vh;
    top: 0;
    right: 0;
    /*background: linear-gradient(white, transparent);*/
    padding-bottom: 5vh;
}

.tgp .tgpItem.middle.left .title {
    text-align: left;
    width: 17vw;
    padding-left: 3vh;
    padding-right: 3vh;
    padding-top: 1.5vh;
    top: 0;
    left: 0;
    /*background: linear-gradient(white, transparent);*/
    padding-bottom: 5vh;
}

.tgp .tgpItem.middle.right .title {
    text-align: right;
    width: 19vw;
    padding-right: 3vh;
    padding-top: 1.5vh;
    top: 0;
    right: 0;
    /*background: linear-gradient(white, transparent);*/
    padding-bottom: 5vh;
}

.tgp .tgpItem.bottom.left .title {
    text-align: left;
    width: 20vw;
    padding-left: 3vh;
    padding-top: 8vh;
    bottom: 0;
    left: 0;
    /*background: linear-gradient(white, transparent);*/
}

.tgp .tgpItem.bottom.center .title {
    text-align: center;
    width: 20vw;
    padding-top: 8vh;
    padding-right: 2vw;
    bottom: 0;
    /*background: linear-gradient(white, transparent);*/
}

.tgp .tgpItem.bottom.right .title {
    text-align: right;
    width: 19vw;
    padding-right: 3vh;
    padding-top: 8vh;
    bottom: 0;
    right: 0;
    /*background: linear-gradient(white, transparent);*/
}

.tgp .image {
    width: 20vw;
    height: 30vh;
    object-fit: cover;
}

.tgp .mask {
    width: 30vw;
    height: 30vw;
    position: absolute;
    top: 0;
    background-color: #eeeeee;
    opacity: 0.35;
}

.tagCloud {
    width: 55vh;
    height: 55vh;
    position: absolute;
    border-radius: 30vh;
    margin-bottom: 1vw;
}

.hrimage {
    width: 90vh;
    margin: auto;
}

/*
.tgp {
    width: 90vw;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 5%;
}

.tgp .tgpItem {
    width: 30vw;
    height: 30vw;
    position: relative;
}

.tgp .tgpItem .title {
    position: absolute;
    color: black;
    font-family: Raleway;
    font-weight: 700;
    font-size: 1.6vw;
    line-height: 2.25vw;
    height: 5vw;
}

.tgp .tgpItem .title.top.left {
    text-align: left;
    width: 30vw;
    padding-left: 3vw;
    padding-top: 1.5vw;
    top: 0;
    left: 0;
    background: linear-gradient(white, transparent);
    padding-bottom: 5vw;
}

.tgp .tgpItem .title.top.center {
    text-align: center;
    width: 30vw;
    padding-top: 1.5vw;
    top: 0;
    background: linear-gradient(white, transparent);
    padding-bottom: 5vw;
}

.tgp .tgpItem .title.top.right {
    text-align: right;
    width: 30vw;
    padding-right: 3vw;
    padding-top: 1.5vw;
    top: 0;
    right: 0;
    background: linear-gradient(white, transparent);
    padding-bottom: 5vw;
}

.tgp .tgpItem .title.middle.left {
    text-align: left;
    width: 24vw;
    padding-left: 3vw;
    padding-right: 3vw;
    padding-top: 1.5vw;
    top: 0;
    left: 0;
    background: linear-gradient(white, transparent);
    padding-bottom: 5vw;
}

.tgp .tgpItem .title.middle.right {
    text-align: right;
    width: 27vw;
    padding-right: 3vw;
    padding-top: 1.5vw;
    top: 0;
    right: 0;
    background: linear-gradient(white, transparent);
    padding-bottom: 5vw;
}

.tgp .tgpItem .title.bottom.left {
    text-align: left;
    width: 30vw;
    padding-left: 3vw;
    padding-top: 8vw;
    bottom: 0;
    left: 0;
    background: linear-gradient(transparent, white);
}

.tgp .tgpItem .title.bottom.center {
    text-align: center;
    width: 30vw;
    padding-top: 8vw;
    bottom: 0;
    background: linear-gradient(transparent, white);
}

.tgp .tgpItem .title.bottom.right {
    text-align: right;
    width: 30vw;
    padding-right: 3vw;
    padding-top: 8vw;
    bottom: 0;
    right: 0;
    background: linear-gradient(transparent, white);
}

.tgp .image {
    width: 30vw;
    height: 30vw;
    object-fit: cover;
}

.tgp .mask {
    width: 30vw;
    height: 30vw;
    position: absolute;
    top: 0;
    background-color: #eeeeee;
    opacity: 0.35;
}

.tagCloud {
    width: 45vw;
    height: 45vw;
    position: absolute;
    border-radius: 27.5vw;
}

.hrimage {
    width: 90vw;
    margin: auto;
}
*/

@media (max-width: 960px) {
    .tgp .tgpItem {
        width: 50vw;
        height: 50vw;
    }
    .tgp .tgpItem.tgp7 {
        width: 100vw;
        margin-bottom: 25vw;
    }
    .tgp .tgpItem.tgp8 {
        width: 100vw;
        margin-top: 25vw;
    }
    .tgp .tgpItem.top.left .title {
        width: 50vw;
    }
    .tgp .tgpItem.top.center .title {
        width: 50vw;
    }
    
    .tgp .tgpItem.top.right .title {
        width: 50vw;
    }
    
    .tgp .tgpItem.middle.left .title {
        width: 50vw;
    }
    .tgp .tgpItem.middle.left.tgp7 .title {
        width: 100vw;
        text-align: center;
    }
    .tgp .tgpItem.middle.right.tgp8 .title {
        width: 100vw;
        text-align: center;
    }
    
    .tgp .tgpItem.middle.right .title {
        width: 50vw;
    }
    
    .tgp .tgpItem.bottom.left .title {
        width: 50vw;
    }
    
    .tgp .tgpItem.bottom.center .title {
        width: 50vw;
    }
    
    .tgp .tgpItem.bottom.right .title {
        width: 50vw;
    }
    
    .tgp .image {
        width: 50vw;
        height: 50vw;
    }

    .tgp .tgpItem.tgp7 .image {
        width: 100vw;
        height: 50vw;
    }

    .tgp .tgpItem.tgp8 .image {
        width: 100vw;
        height: 50vw;
    }
    
    .tgp .mask {
        width: 50vw;
        height: 50vw;
    }
    .tgp .tgpItem.tgp7 .mask {
        width: 100vw;
        height: 50vw;
    }
    .tgp .tgpItem.tgp8 .mask {
        width: 100vw;
        height: 50vw;
    }
}
@media (max-width: 960px) and (orientation: landscape) {
    .tgp .tgpItem .title {
        font-size: 4vh;
    }
    .tagCloud {
        width: 100vh;
        height: 100vh;
    }
}