#sapporo3c-town-images-modal .sapporo3c-town-images {
    justify-content: center;
    align-items: flex-end;
    max-width: 1000px;
    border-radius: 0.5rem 0;
    margin-bottom: 0;
    min-height: calc(100% - 1.75rem);
}

#sapporo3c-town-images-modal .modal-header {
    border: none;
    z-index: 99;
}

#sapporo3c-town-images-modal .modal-header .close-modal span {
    line-height: 1.25rem;
    font-size: 20px;
    color: var(--yellow);
    margin-right: -8px;
}

#sapporo3c-town-images-modal .modal-header .close-modal img {
    height: 24px;
}

#sapporo3c-town-images-modal .modal-content {
    background-image: url("/static/images/sapporo/bg.png") !important;
    max-width: 90%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

#sapporo3c-town-images-modal .sapporo3c-town-images .modal-body {
    max-height: 85vh;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
}

#sapporo3c-town-images-modal .sapporo3c-town-images .modal-body .images-group {
    flex: 1 1 100%;
    position: relative;
    overflow: scroll;
}
/* 
#sapporo3c-town-images-modal
    .sapporo3c-town-images
    .modal-body
    .images-group
    img {
    object-fit: cover;
    height: 164px;
} */

@media only screen and (max-width: 480px) {
    #sapporo3c-town-images-modal
        .sapporo3c-town-images
        .modal-body
        .images-group
        img {
        object-fit: cover;
        height: auto;
    }
}

#sapporo3c-town-images-modal
    .sapporo3c-town-images
    .modal-body
    .sapporo3c-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#sapporo3c-town-images-modal
    .sapporo3c-town-images
    .modal-body
    .sapporo3c-title
    img {
    height: 72px;
}

@media only screen and (max-width: 767px) {
    #sapporo3c-town-images-modal .modal-header .close-modal img {
        height: 20px;
    }

    #sapporo3c-town-images-modal
        .sapporo3c-town-images
        .modal-body
        .sapporo3c-title
        img {
        height: 52px;
    }
}

@media only screen and (max-width: 576px) {
    #sapporo3c-town-images-modal .sapporo3c-town-images {
        min-height: calc(100% - 0.5rem);
        margin-left: 0;
        margin-right: 0;
    }

    #sapporo3c-town-images-modal .modal-content {
        max-width: 100%;
        border-radius: 0;
    }
}

@media only screen and (max-width: 480px) {
    #sapporo3c-town-images-modal
        .sapporo3c-town-images
        .modal-body
        .sapporo3c-title
        img {
        height: 48px;
    }
}

.sapporo3c-header-content {
    z-index: 9;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    text-align: center;
}

/* .sapporo3c-header-content .sapporo3c-header-description {
    max-width: 500px;
} */

.sapporo3c-header-content p {
    font-size: 14px;
}

@media only screen and (max-width: 480px) {
    .sapporo3c-header-content {
        padding: 16px 0 16px 16px;
    }

    .sapporo3c-header-content p {
        font-size: 13px;
    }
}

.sapporo3c-prize .sapporo3c-prize-title {
    text-align: center;
}

.sapporo3c-prize .sapporo3c-prize-title img {
    height: 48px;
}

.sapporo3c-prize .sapporo3c-prize-group {
    max-width: 1000px;
    margin: 0 auto;
}

@media only screen and (max-width: 767px) {
    .sapporo3c-prize .sapporo3c-prize-title img {
        height: 40px;
    }
}

@media only screen and (max-width: 576px) {
    .sapporo3c-prize .sapporo3c-prize-title img {
        height: 32px;
    }
}

.sapporo3c-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sapporo3c-tabs .sapporo3c-tab-item img {
    height: 32px;
    width: 115px;
    cursor: pointer;
}

.sapporo3c-tabs .sapporo3c-tab-item.tab-item-1 img {
    height: 40px;
    margin-top: -2px;
    object-fit: contain;
    object-position: left;
}

.sapporo3c-tabs .sapporo3c-tab-item img.image-active {
    display: none;
}

.sapporo3c-tabs .sapporo3c-tab-item.active img {
    display: none;
}

.sapporo3c-tabs .sapporo3c-tab-item.active img.image-active {
    display: block;
}

.sapporo3c-tabs .tab-split {
    height: 28px;
    width: 4px;
    margin: 0 30px;
    background: #f6a95a;
}

@media only screen and (max-width: 480px) {
    .sapporo3c-tabs .sapporo3c-tab-item.tab-item-1 img {
        object-position: center;
    }
}

.sapporo3c-content-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.sapporo3c-upload-image {
    position: relative;
    width: 540px;
    height: 360px;
    max-width: 100%;
    margin: 1rem auto;
}

.sapporo3c-upload-image-title img {
    height: 40px;
}

.sapporo3c-upload-image .image-empty,
.sapporo3c-upload-image .has-image {
    background-color: rgb(172, 172, 172);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.sapporo3c-upload-image .sapporo3c-webRTC {
    flex-direction: column;
    justify-content: space-between;
}

.sapporo3c-upload-image .sapporo3c-webRTC-content {
    flex: 1 1 auto;
    max-height: calc(100% - 56px);
    width: 100%;
    position: relative;
}

.sapporo3c-upload-image .sapporo3c-webRTC .permission-denied {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sapporo3c-upload-image .sapporo3c-webRTC .sapporo3c-webRTC-action {
    background: rgb(0, 0, 0, 0.6);
    width: 100%;
    position: relative;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sapporo3c-upload-image .sapporo3c-webRTC video,
.sapporo3c-upload-image .sapporo3c-webRTC canvas {
    width: 100%;
    height: 100%;
    flex: 1 1 100%;
}

.sapporo3c-upload-image .has-image {
    position: relative;
}

.sapporo3c-upload-image .background-preview {
    background-color: #f1f1f1;
    position: absolute;
    width: 42.037037%;
    height: 42%;
    top: 29.1666667%;
    left: 38.3333333%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sapporo3c-upload-image .has-image img {
    max-width: 100%;
    max-height: 100%;
}

.sapporo3c-upload-image .image-empty img {
    height: 48px;
    cursor: pointer;
}

.sapporo3c-upload-image .image-empty span {
    font-size: 16px;
}

.sapporo3c-upload-image .upload-image-success {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sapporo3c-upload-image .upload-image-success img {
    height: 96px;
}

.sapporo3c-upload-image .upload-image-success p {
    font-size: 14px;
}

.sapporo3c-upload-actions {
    width: 540px;
    max-width: 100%;
    margin: 1rem auto;
    display: flex;
    justify-content: space-between;
}

.sapporo3c-upload-note {
    width: 540px;
    margin: 1rem auto;
}

@media only screen and (max-width: 767px) {
    .sapporo3c-upload-image {
        width: 480px;
        height: 320px;
    }

    .sapporo3c-upload-actions, .sapporo3c-upload-note {
        width: 480px;
    }

    .sapporo3c-upload-image .image-empty img {
        height: 40px;
    }

    .sapporo3c-upload-image .image-empty span {
        font-size: 14px;
    }

    .sapporo3c-upload-image .upload-image-success img {
        height: 72px;
    }

    .sapporo3c-upload-image .upload-image-success p {
        font-size: inherit;
    }
}

@media only screen and (max-width: 480px) {
    .sapporo3c-upload-image-title img {
        height: 32px;
    }

    .sapporo3c-upload-image {
        width: 100%;
        height: 220px;
    }

    .sapporo3c-upload-actions, .sapporo3c-upload-note {
        width: 100%;
    }

    .sapporo3c-upload-image .image-empty img {
        height: 32px;
    }

    .sapporo3c-upload-image .image-empty span {
        font-size: 13px;
    }

    .sapporo3c-upload-image .has-image {
        width: 100%;
        margin: 0 auto;
    }

    .sapporo3c-upload-image .upload-image-success img {
        height: 60px;
    }
}

.vector-update {
    top: calc(50% - 100px);
    left: calc(50% - 104.5px);
    height: auto !important;
    width: auto !important;
    z-index: 5 !important;
}

.vector-update a {
    z-index: 6;
}

@media only screen and (max-width: 1168px) {
    .page-main {
        margin-top: 64px;
    }
}

@media only screen and (max-width: 767px) {
    .page-main {
        margin-top: 0;
    }
}

.font-sans-serif {
    font-family: sans-serif;
}

.sapporo3c-webRTC-action .photo-button {
    width: 48px;
    height: 48px;
    position: absolute;
    cursor: pointer;
}
.sapporo3c-webRTC-action .circle {
    position: absolute;
    top: 6px;
    left: 6px;
    bottom: 6px;
    right: 6px;
    border-radius: 100%;
    background-color: #ffffff;
    opacity: 0;
}
.sapporo3c-webRTC-action .ring {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 100%;
    border: 4px solid #ffffff;
    opacity: 0.8;
}
.sapporo3c-webRTC-action .photo-button .circle,
.sapporo3c-webRTC-action .photo-button .ring {
    transition: all 0.25s;
}
.sapporo3c-webRTC-action .photo-button:hover .circle {
    opacity: 1;
}
.sapporo3c-webRTC-action .photo-button:active .ring {
    opacity: 1;
}
.sapporo3c-webRTC-action .photo-button:active .circle {
    opacity: 0.5;
}
