/**
 * @Project NUKEVIET 4.x
 * @Author BCB SOLUTIONS <bachdinhcao@gmail.com>
 * @Copyright (C) 2023 BCB SOLUTIONS. All rights reserved
 * @License: Not free read more http://nukeviet.vn/vi/store/modules/nvtools/
 * @Createdate Fri, 16 Jun 2023 03:01:30 GMT
*/

#contest-slider .contest-item img{
    width: 100%;
    height: 720px;
    -o-object-fit: cover;
    object-fit: cover;
}

#contest-slider .contest-info{
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px 0 90px;
    text-align: center;
    color: #fff;
    background: linear-gradient(0deg, rgba(52,67,82,1) 0%, rgba(52,67,82,0.7511379551820728) 50%, rgba(52,67,82,0) 100%);
}

#contest-slider .contest-info h3{
    font-size: 26px;
    font-weight: 500;
}

#contest-slider .owl-dots{
    position: absolute;
    bottom: 55px;
    width: 100%;
    text-align: center;
    z-index: 9999;
}

#contest-slider .owl-dots .owl-dot{
    position: relative;
    height: 4px;
    width: 30px;
    margin: 0 2px;
    background-color: #fbffff !important;
    opacity: 0.5;
    border-radius: 8px;
}

#contest-slider .owl-dots .owl-dot.active{
    opacity: 1;
}

.post-content .box-content{
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #f8f9fa;
    padding: 20px 15px;
    margin-bottom: 20px;
}

.post-content .box-content h2{
    text-transform: uppercase;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 15px;
    color: #0052a2;
}

.post-content .box-content .file{
    background-color: #fff;
    border: 1px solid #d2d1d0;
    color: #999999;
    box-shadow: none;
    height: 40px;
    width: 100%;
}

.post-content .box-content .form-group{
    position: relative;
}

.post-content .box-content p{
    position: absolute;
    font-size: 13px;
    top: 10px;
    right: 20px;
}

.secondary-btn{
    background-color: #00509d;
    border: 1px solid #00509d;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 25px;
    border-radius: 5px;
}

.secondary-btn:hover{
    background-color: #ffcf00;
    color: #00509d;
}

/*author-content*/
.author-content h1{
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 10px;
    text-align: center;
    color: #004a93;
}

/*contest-item*/
#contest-list .contest-item{
    position: relative;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
}

#contest-list .contest-item img{
    width: 100%;
    height: 200px;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

#contest-list .contest-info{
    padding: 10px;
}

#contest-list .contest-info h3{
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

#contest-list .contest-info span{
    font-style: italic;
    color: #333;
}

/*Detail*/

.detail-box h1{
    font-weight: 400;
    font-size: 15px;
}

.detail-img{
    text-align: center;
}

.detail-img img{
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.detail-box .button-box{
    display: flex;
    justify-content: space-between;
}

.detail-box .button{
    display: block;
    width: 48%;
    background-color: #004e9a;
    border: 1px solid #004e9a;
    padding: 8px 30px;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    border-radius: 22px;
    transition: all .25s ease;
}

.detail-box .button:hover{
    background-color: #fff;
    color: #004e9a;
}

.scoring .contest-item{
    display: flex;
    border: 1px solid #ddd;
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    padding: 5px 10px;
}

.scoring .contest-item.bg{
    background-color: #4caf505c;
}

.scoring .contest-item img{
    width: 100px;
    height: 80px;
    margin-right: 10px;
    -o-object-fit: cover;
    object-fit: cover;
}

.scoring .contest-item .contest-info{
    position: relative;
    width: 100%;
}

.scoring .contest-item .contest-info h3{
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 3px;
    cursor: pointer;
}

.scoring .contest-item .contest-info .name{
    font-size: 13px;
}

.scoring .contest-item .contest-info .score{
    position: absolute;
    bottom: 2px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    font-size: 14px;
    cursor: pointer;
}

.scoring .contest-item .contest-info .fa{
    font-size: 16px;
}

.scoring h1{
    font-size: 20px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 15px;
    color: #044F9B;
}

.photo-info .detail-img{
    margin-bottom: 20px;
}


@media (max-width: 991.98px) {
    #contest-slider .contest-item img{
        height: 600px;
    }
}

@media (max-width: 767.98px) {
    #contest-slider .contest-item img{
        height: 500px;
    }

    #contest-slider .contest-info{
        padding: 20px 0 70px;
    }

    #contest-slider .owl-dots{
        bottom: 40px;
    }

    .detail-box .author{
        margin-bottom: 15px;
    }

    .detail-img{
        .margin-bottom: 10px;
    }
}

@media (max-width: 499.98px) {
    #contest-slider .contest-item img{
        height: 450px;
    }

    #contest-slider .contest-info{
        padding: 20px 0 60px;
    }
}
