
.hd-w1000 {
    margin-top: 3.3vh;
    max-width: 1000px; 
    margin: 0 auto;
}

.trigger-video {
    cursor: pointer;
    position: relative;
    overflow: hidden
}

.trigger-video .hd-cover {
    transition: transform 0.6s ease
}

.trigger-video:hover .hd-cover,.trigger-video:focus-visible .hd-cover {
    -webkit-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05)
}

.trigger-video:active .play {
    -webkit-transform: scale(.95, .95);
    transform: scale(.95, .95)
}

.trigger-video .play {
    width: 5em;
    height: 5em;
    border-radius: 4em;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    transition: transform 0.6s ease
}

.vid-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: #000;
    position: relative;
    overflow: hidden
}

.vid-container.trigger-video-toggle .vid-control {
    cursor: pointer
}

.vid-container.trigger-video-toggle .vid-control:focus {
    opacity: 1
}

.vid-container video,.vid-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: opacity 0.25s ease
}

.vid-container h2 {
    opacity: 0
}

.vid-control {
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    box-shadow: none;
    position: absolute;
    right: 5%;
    bottom: 20px;
    margin: 5px;
    transition: all 0.3s ease-out;
    z-index: 9999
}

.vid-control svg {
    width: 100%;
    height: 100%
}

.vid-control img,.vid-control svg {
    width: 80%;
    height: 80%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto
}

.vid-control .play {
    display: none !important
}

.vid-control.hd-active .play {
    display: block !important
}

.vid-control.hd-active .pause {
    display: none !important
}

@media screen and (max-width: 768px) {
    .trigger-video .play {
        width:3em;
        height: 3em
    }

    .vid-control {
        width: 44px;
        height: 44px
    }
}

body.no-scroll {
    overflow: hidden
}

.hd-lightbox {
    width: 100%;
    height: 100vh;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 1000
}

.hd-lightbox .hd-filter {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    position: absolute;
    top: 0;
    left: 0
}

.hd-lightbox .hd-box {
    width: 90%;
    height: auto;
    max-width: 960px;
    max-height: 540px;
    background: black;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin-top: 50px;
    box-sizing: border-box
}

.hd-lightbox .vid-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative
}

.hd-lightbox .vid-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto
}

.hd-lightbox .hd-close {
    width: 4em;
    height: 4em;
    position: absolute;
    bottom: 100%;
    right: 0;
    cursor: pointer;
    z-index: 9999
}

.hd-lightbox .hd-close>span {
    display: block;
    width: 1.5em;
    height: 2px;
    background: white;
    -webkit-border-radius: 1.5px;
    -moz-border-radius: 1.5px;
    border-radius: 1.5px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto
}

.hd-lightbox .hd-close>span:first-child {
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg)
}

.hd-lightbox .hd-close>span:last-child {
    -webkit-transform: rotateZ(-45deg);
    transform: rotateZ(-45deg)
}

.hd-term-lightbox .hd-box {
    height: calc(100% - 120px)
}

.hd-term-lightbox .hd-content {
    padding: 2em 2em 4em;
    height: 100%;
    position: relative;
    overflow-y: auto
}

.hd-term-lightbox .hd-content::-webkit-scrollbar {
    width: 5px
}

.hd-term-lightbox .hd-content::-webkit-scrollbar-track {
    background: #555
}

.hd-term-lightbox .hd-content::-webkit-scrollbar-thumb {
    background: #b99770
}

.hd-term-lightbox .hd-content::-webkit-scrollbar-thumb:hover {
    background: #aaa
}

.hd-term-lightbox h4 {
    margin-top: 1em
}

.hd-form-lightbox .hd-box {
    max-width: 40em;
    height: auto
}

.hd-form-lightbox .hd-content {
    padding: 2em 2em 4em;
    height: 100%;
    position: relative;
    overflow-y: auto
}

.hd-form-lightbox .hd-content::-webkit-scrollbar {
    width: 5px
}

.hd-form-lightbox .hd-content::-webkit-scrollbar-track {
    background: #555
}

.hd-form-lightbox .hd-content::-webkit-scrollbar-thumb {
    background: #b99770
}

.hd-form-lightbox .hd-content::-webkit-scrollbar-thumb:hover {
    background: #aaa
}

.hd-form-lightbox h4 {
    margin-top: 1em
}

.trigger-play {
    cursor: pointer
}

@media screen and (max-width: 1024px) {
    .hd-lightbox .hd-box {
        margin-top:20px
    }

    .hd-lightbox .hd-close {
        width: 2.75em;
        height: 2.75em
    }

    .hd-lightbox .hd-close>span {
        width: 1.25em;
        height: 2px
    }
}

@media screen and (max-width: 620px) {
    .hd-lightbox .hd-box {
        width:100%
    }

    .hd-term-lightbox .hd-content {
        padding-left: 1em;
        padding-right: 1em
    }

    .hd-term-lightbox .hd-content li {
        font-size: .9em
    }

    .hd-term-lightbox .hd-content li>p {
        font-size: 1em
    }

    .hd-term-lightbox .hd-content p {
        font-size: .9em
    }
}
