/*------------------------------
judgeslist
------------------------------*/
#judgeslist {
    padding-top: 80px;
}
.judges-list {
    width: 1080px;
    margin: 0 auto;
    text-align: left;
    font-size: 0;
}
.judges-list-item {
    width: 258px;
    margin: 0 5px 15px;
    display: inline-block;
    vertical-align: top;
    background-size: 20px;
    background-repeat: repeat;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 4px 4px rgba(51,51,51,1);
}
.judges-list-item a {
    width: 100%;
    min-height: 340px;
    display: inline-block;

}
.judges-list-item-container {
    padding: 14px 0;
}
.judges-list-item-inner {
    transform: skewY(-5deg);
}
.judges-img {
    position: relative;
    width: 230px;
    height: 196px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}
.judges-img img {
    position: absolute;
    width: 100%;
    height: 120%;
    object-fit: cover;
    top: -10px;
    left: 0;
    transform: skewY(5deg);
}
.judges-name-box {
    position: relative;
    display: block;
    padding: 5px 0 ;
    text-align: left;
}
.judges-name-box p {
    position: absolute;
    left: -7px;
    width: 250px;
    display: block;
    padding: 5px 0 5px 15px;
    font-size: 22px;
    font-weight: normal;
    background: #333333;
    border-radius: 5px;
}
.judges-info-box {
    padding-top: 40px;
    text-align: right;
}
.judges-info-box p {
    font-size: 13px;
    padding: 0 15px 5px 0;
}
.judges-bg-green {
    background: #49b14f;
    background-image: url(../img/gck2021/judges-bg_pattern.png);
    background-size: 20px;
}
.judges-bg-yellow {
    background: #f5d52a;
    background-image: url(../img/gck2021/judges-bg_pattern.png);
    background-size: 20px;
}
.judges-bg-pink {
    background: #cc52cc;
    background-image: url(../img/gck2021/judges-bg_pattern.png);
    background-size: 20px;
}
.judges-bg-blue {
    background: #249bb3;
    background-image: url(../img/gck2021/judges-bg_pattern.png);
    background-size: 20px;
}
.judges-bg-purple {
    background: #7373e6;
    background-image: url(../img/gck2021/judges-bg_pattern.png);
    background-size: 20px;
}

/*------------------------------
modal
------------------------------*/
.modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    z-index: 100;
}
.is-show {
    opacity:1;
    visibility:visible;
    transition: opacity 0.5s, visibility 0.5s;
}
/* .modal:not(:target) {
    opacity: 0;
    visibility: hidden;
}
.modal:target {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s, visibility 0.5s;
} */
.modal .overlay {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #000;
    background-image: url(../img/gck2021/bg_pattern.png);
    opacity: 0.85;
    top: 0;
    left: 0;
}
.modal-container {
    position: absolute;
    top: 5%;
    left: 0;
    right: 0;
    width: 640px;
    margin: auto;
    z-index: 11;
}
.modal-inner {
    position: relative;
    height: 100%;
    padding: 40px;
    border-radius: 20px;
}
.modal-bg-green {
    background: #49b14f;
    background-image: url(../img/gck2021/judges-bg_pattern.png);
    background-size: 20px;
}
.modal-bg-yellow {
    background: #f5d52a;
    background-image: url(../img/gck2021/judges-bg_pattern.png);
    background-size: 20px;
}
.modal-bg-pink {
    background: #cc52cc;
    background-image: url(../img/gck2021/judges-bg_pattern.png);
    background-size: 20px;
}
.modal-bg-blue {
    background: #249bb3;
    background-image: url(../img/gck2021/judges-bg_pattern.png);
    background-size: 20px;
}
.modal-bg-purple {
    background: #7373e6;
    background-image: url(../img/gck2021/judges-bg_pattern.png);
    background-size: 20px;
}

.modal-img {
    margin: 0 auto;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    text-align: center;
}
.modal-img img {
    width: auto;
    height: 100%;
    object-fit: cover;

}
.modal-content {
    margin-top: 20px;
    text-align: center;
    background: #333333;
    border-radius: 10px;
}
.modal-content-inner {
    height: 360px;
    padding: 20px 50px;
}
.modal-judges-info {
    border-bottom: solid #ffffff 3px;
    margin-bottom: 20px;
}
.modal-judges-name {
    font-size: 30px;
    padding-bottom: 10px;
}
.modal-judges-prof {
    height: 200px;
    text-align: left;
    overflow: auto;
}
.modal-txt {
    font-size: 16px;
    padding-bottom: 10px;
}
.modal-footer {
    margin-top: 20px;
    text-align: center;
}
.modal-close{
    display: inline-block;
}
.modal-close span {
    display: block;
    padding: 15px 30px;
    font-size: 18px;
    color: #333333;
    background: #ffffff;
    border-radius: 10px;
}

@media screen and (max-width: 909px) {
    #judgeslist {
        padding-top: 0;
    }

    .judges-list {
        width: 100%;
        padding: 0 2%;
    }
    .judges-list-item {
        width: 45%;
        margin: 0 2% 4vw;
    }
    .judges-list-item a {
        min-height: 60vw;
        padding: 3.73vw 0 0;
    }
    .judges-img {
        width: 95%;
        height: 32vw;
    }
    .judges-img img {
        top: -2.67vw;
    }
    .judges-name-box p {
        left: -2%;
        width: 99%;
        font-size: 4.27vw;
    }
    .judges-info-box {
        padding-top: 7.45vw;
    }
    .judges-info-box p {
        font-size: 2.67vw;
        padding: 0 5% 1.33vw 0;
    }

    .modal-container {
        width: 300px;
    }
    .modal-inner {
        padding: 20px;
    }
    .modal-img {
        height: 150px;
    }
    .modal-content-inner {
        height: 180px;
        padding: 15px 20px;
    }
    .modal-judges-info {
        margin-bottom: 10px;
    }
    .modal-judges-name {
        font-size: 16px;
        padding-bottom: 10px;
    }
    .modal-judges-prof {
        height: 70px
    }
    .modal-txt {
        font-size: 12px;
        padding-bottom: 10px;
    }
    .modal-close span {
        padding: 15px 30px;
        font-size: 10px;
    }
}