:root {
    --menu-index: 999;

    --primary: #2E7D32;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.modal-open {
    height: 100vh;
    width: 100vw !important;
}

.evn-container {
    max-width: 100%;
    margin: 0 40px;
}

.evn-header {
    background: linear-gradient(305deg, rgba(46, 125, 50, 1) 0%, rgba(62, 162, 67, 1) 37%, rgba(117, 196, 42, 1) 100%);
    z-index: 1;
}

.evn-header .env-nav {
    height: 115px;
    width: calc(100% - 400px);
}

.navbar-toggler:focus {
    box-shadow: 0px 0px 0 1px !important;
}

.navbar-toggler {
    border: none;
}

.evn-header .env-nav .active {
    background: url(/images/corner-top-left.png), url(/images/corner-top-right.png), url(/images/corner-bottom-left.png), url(/images/corner-bottom-right.png);
    background-size: 6px 6px, 6px 6px, 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    background-position: 0 0, 100% 0, 0 100%, 100% 100%;
}

.env-nav-mobile a::after {
    content: "";
    width: 0;
    height: 2px;
    position: absolute;
    bottom: 6px;
    background: yellow;
    transition: all .5s;
    left: 50%;
}

.env-nav-mobile .active::after {
    left: 25%;
    width: 50%;
}

.env-logo {
    height: 115px;
}

.env-field-icon {
    float: right;
    margin-right: 10px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.env-main {
    padding-top: 115px
}

.env-text-error {
    color: red;
}

.env-pointer {
    cursor: pointer;
}

.env-color-eye {
    color: #bababa;
}

.env-icon-drop.dropdown-menu.show {
    margin-top: 20px !important;
}

.env-text-competition {
    font-weight: 500;
    color: #000;
}

.env-text-competition:hover {
    color: var(--primary);
}

.env-text-competition-active {
    border-bottom: 3px solid #FEF335;
}

.env-text-competition.active {
    border-bottom: 3px solid #FEF335;
}

.form-select:required:invalid {
    color: gray;
}

.evn-homepage-top {
    border-bottom: 1px solid #ccc
}

.env-contest {
    cursor: pointer;
    transition: all .5s;
}

.env-contest img {
    max-height: 400px;
}

.env-contest-content {
    width: 100%;
    background-image: linear-gradient(180deg, transparent, transparent 37%, #000 89%);
    transform: translateY(500px);
    transition: all .5s;
    bottom: 0;
}

.env-contest-second {
    width: calc(100% - 8px);
}

.env-contest-third {
    width: calc(100% - 12px);
}

@media only screen and (max-width: 767px) {
    .env-contest-content {
        width: calc(100% - 24px) !important;
    }
}

.env-contest:hover .env-contest-content {
    transform: translateY(-5px);
}

.evn-card-competition {
    border-radius: 0px !important;
    border: none !important;
}

.evn-card-competition .card-img-top {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    height: 400px;
}

.env-count-down {
    position: relative;
    top: -79px;
    color: white;
    margin-bottom: -90px !important;
    margin: auto;
    background-image: linear-gradient(180deg, transparent, #000);
    width: 100%;
}

.env-btn-join {
    min-height: 40px;
    background-color: #2b2b2b;
    color: white;
}

.env-btn-join:hover {
    background-color: #1a1919;
    color: white;
}

.env-text-2-row {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 49px;
}

.dropdown-menu {
    max-width: 100% !important;
    width: 100%;
    top: 40px;
}

.env-cursor-pointer {
    cursor: pointer;
}

.env-text-nav {
    font-size: 24px;
}

.env-input-search {
    width: 300px;
}

.env-title-list {
    min-height: 70px;
}

.text-count-down {
    font-size: 32px;
}

.env-title-contest {
    min-height: 67px;
}

@media only screen and (max-width: 960px) {
    .env-text-nav {
        width: 185px;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 650px) {
    .env-text-nav {
        font-size: 14px !important;
        width: 118px;
    }

    .env-input-search {
        width: 230px;
    }

    .env-title-list {
        min-height: 0px;
    }

    .evn-card-competition .card-img-top {
        height: 200px;
    }

    .text-count-down {
        font-size: 24px;
    }

    .env-count-down {
        top: -68px !important;
        margin-bottom: -82px !important;
    }

    .env-avt-examiner {
        width: 100px !important;
        height: 100px !important;
    }

    .env-text-examiner {
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 500px) {
    .env-text-nav {
        width: 86px;
    }
}

@media only screen and (max-width: 575px) {
    .env-main {
        padding-top: 80px !important;
    }

    .evn-container {
        margin: 0 10px !important;
    }
}

.env-count-down-block {
    top: -68px;
}

.env-count-down-block .env-time-text {
    font-size: 36px;
    font-weight: 400;
}

.env-register-btn {
    padding: 17px 34px;
    height: auto;
    background-color: #fff !important;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #1a1819;
}

.env-register-btn {
    background: linear-gradient(305deg, rgba(46, 125, 50, 1) 0%, rgba(62, 162, 67, 1) 37%, rgba(117, 196, 42, 1) 100%);
}

.env-register-btn:hover {
    color: #fff !important;
}

.env-btn-image-detail {
    min-width: 96px;
}

.env-my-slides {
    display: none;
    min-height: 750px;
}

.env-main-img {
    min-height: 750px;
}

.env-my-slides img {
    vertical-align: middle;
    max-height: 750px;
}

.env-slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    min-height: 750px;
}

.env-prev,
.env-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
}

.env-prev {
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
}

.env-next {
    right: 0;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
}

.env-prev:hover,
.env-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.env-fade {
    animation-name: env-animation-fade;
    animation-duration: 1.5s;
}

@keyframes env-animation-fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.env-modal-footer {
    background: linear-gradient(90deg, #fff 50%, #f1f1f1 0);
    color: #000;
    padding-top: 15px;
    min-height: calc(30vh - 152px);
}

.env-modal-content {
    border: none !important;
    border-radius: 0 !important;
}

.env-modal-body {
    background: black
}

#env-competition-detail-left {
    width: 415px;
}

/* .env-competition-detail-left {
    width: 415px !important;
    top: 125px;
    position: fixed;
}

.env-competition-detail-right {
    width: calc(100% - 415px);
} */

.env-scroll-top {
    scroll-margin-top: 130px
}

@media only screen and (max-width: 992px) {

    .env-slideshow-container,
    .env-my-slides img {
        max-height: auto;
    }

}

@media only screen and (max-width: 991px) {
    .env-competition-detail-right {
        width: 100%;
    }
}

@media only screen and (max-width: 575px) {
    .env-logo {
        height: 80px;
    }
}


.env-bg-category.active {
    background-color: #1a1819 !important;
    font-weight: bold !important;
}

.env-bg-category.active>a {
    color: white !important;
}

.nav-pills>span {
    border-bottom: 1px solid rgb(191, 191, 191);
}

.nav-link>a {
    color: rgb(191, 191, 191) !important;
    text-decoration: none;
    font-weight: bold !important;
}

.env-th-table {
    background-color: #2b2b2b !important;
    color: white !important;
}

.env-text-area {
    width: 100%;  /* Chiều rộng đầy đủ */
    min-height: 50px;  /* Chiều cao tối thiểu */
    border: none;  /* Loại bỏ border */
    background: transparent;  /* Nền trong suốt */
    color: black;  /* Màu chữ */
    white-space: pre-wrap;  /* Giữ nguyên khoảng trắng và xuống dòng */
    overflow: hidden;
    outline: none;
}


#pencet {
    display: flex;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

#pencet span {
    background-color: ghostwhite;
    width: 2em;
    height: .2em;
    margin: 0.26em 0;
    display: block;
    transition: all .7s ease;
    transform-origin: 0 0;
}

.env-diam span:nth-child(1) {
    transform: rotate(45deg) translate(1px, -1px);
}

.env-diam span:nth-child(2) {
    Transform: scaleX(0);
}

.env-diam span:nth-child(3) {
    transform: rotate(-45deg) translate(1px, 0);
}

.btn-close:focus {
    box-shadow: none !important;
}

.env-avt-examiner {
    width: 150px;
    height: 150px;
}

.env-text-nav .nav-link:disabled {
    color: rgb(191, 191, 191) !important;
}

.env-input-search {
    padding-left: 28px !important;
    padding-right: 25px !important;
    z-index: 0
}

.env-icon-search {
    margin-block: auto;
    top: 0;
    bottom: 0;
    height: fit-content;
    font-weight: 400;
    position: absolute;
    left: 8px;
}

.env-clear-search {
    margin-block: auto;
    top: 0;
    bottom: 0;
    height: fit-content;
    font-weight: 400;
    position: absolute;
    opacity: .5;
    right: 5px;

}

.env-clear-search:hover {
    opacity: 1
}

.env-text-pre-line {
    white-space: pre-line;
}

.env-h-login-page {
    height: calc(100vh - 115px);
}

.env-h-regis-page {
    height: calc(100vh - 115px);
}

@media only screen and (max-width: 575px) {
    .env-h-login-page {
        height: calc(100vh - 180px) !important;
    }

    .env-h-regis-page {
        height: 100vh;
    }

    .env-text-modal {
        font-size: 20px !important;
    }
}

.bg-home-page {
    background-color: darkgray;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 3rem;
    height: 3rem;
}

.env-text-modal {
    font-size: 23px;
}

.env-result-noti {
    font-size: 20px;
    padding: 12px 12px 30px 12px;
}