@keyframes movie-rating-modalAppear {
    0% {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes movie-rating-shimmer {
    0% {
        transform: translateX(-100%)
    }

    to {
        transform: translateX(100%)
    }
}

#main-contents {
    position: relative;
    width: 100%;
}

.info-movie .head .last>div.list_cate a {
	background: rgb(255 255 255/15%)!important
}

.info-movie .head {
	display: flex;
	align-items: center;
	color: #fff;
	border-radius: 0
}

.info-movie .head .first {
	width: 19%;
	padding: 5px;
	background: #000
}

.info-movie .head img {
	width: 100%;
	display: block
}

.info-movie .head .last {
	margin-left: 10px;
	width: 81%
}

.info-movie .head .last>div {
	display: flex;
	align-items: center;
	border-top: 1px solid #1e2838;
	padding: 6px
}

.info-movie .head .last>div:first-child {
	border-top: 0
}

.info-movie .head .last>div>div {
	padding: 10px 5px;
	flex: .8
}

.info-movie .head .last>div>div:first-child {
	flex: .2;
	color: #a7a7a7;
	font-weight: 700
}

.info-movie .head .last>div.list_cate>div+div {
	padding: 3px
}

.info-movie .head .last>div>div:last-child {
	font-weight: 500;
	color: #a7a7a7
}

.info-movie .head .last>div.list_cate a {
	background: #661a21;
	border-radius: 5px;
	padding: 5px;
	margin: 2px;
	display: inline-flex;
	color: #efefef
}

.info-movie .head .last>div:last-child {
	margin-bottom: 0
}

.info-movie .head .last>div:last-child {
	border-bottom: 0
}

.movie_name {
    font-size: 17px;
    font-weight: 700;
    padding: 0;
    margin: 0;
    color: var(--text-color);
}

.new-ep {
    padding: 3px 7px 3px;
    color: #fff;
    background-size: 300% 100%;
    background-image: linear-gradient(to right,#25aae1,#043ea5,#04befe,#3f86ed);
    border-radius: 3px;
    font-size: 12px;
    text-transform: capitalize
}

.halim-rating-container {
    align-items: center;
    background-color: #1111118a;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 8px 12px;
    flex-wrap: wrap;
}

.halim-star-rating {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 15px
}

.halim-star-icon {
    color: #f5c518;
    font-size: 20px;
    margin-right: 5px
}

.halim-rating-score {
    font-size: 18px;
    font-weight: 700
}

.halim-rating-slash {
    margin: 0 2px;
    opacity: .8
}

.halim-rating-max {
    opacity: .8
}

.halim-rating-votes {
    font-size: 14px;
    margin-left: 5px;
    opacity: .7
}

.halim-rating-button {
    background: linear-gradient(135deg,#3a47d5,#00d2ff);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 15px;
    transition: all .2s ease
}

.halim-rating-button:hover {
    box-shadow: 0 15px 30px rgba(0,210,255,.4);
    transform: translateY(-2px)
}

.movie-rating-modal-overlay {
    align-items: center;
    backdrop-filter: blur(5px);
    background-color: rgba(0,0,0,.8);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999
}

.movie-rating-modal-overlay:not(.active) {
	display: none;
}

.movie-rating-modal {
    animation: movie-rating-modalAppear .4s ease-out;
    background: linear-gradient(135deg,#1a1f38,#2d3250);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
    font-family: Montserrat,sans-serif;
    max-width: 600px;
    overflow: hidden;
    transform: translateY(0);
    width: 100%
}

.movie-rating-modal-header {
    background: linear-gradient(135deg,#3a1c71,#d76d77 50%,#ffaf7b);
    padding: 30px 25px;
    position: relative;
    text-align: center
}

.movie-rating-modal-close {
    align-items: center;
    background-color: hsla(0,0%,100%,.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    height: 30px;
    justify-content: center;
    position: absolute;
    right: 15px;
    top: 15px;
    transition: all .2s;
    width: 30px
}

.movie-rating-modal-close:hover {
    background-color: hsla(0,0%,100%,.3);
    transform: rotate(90deg)
}

.movie-rating-movie-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,.2)
}

.movie-rating-movie-rating {
    align-items: center;
    background-color: rgba(0,0,0,.2);
    border-radius: 30px;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    padding: 8px 15px
}

.movie-rating-rating-icon {
    color: gold;
    font-size: 18px;
    margin-right: 8px
}

.movie-rating-modal-body {
    padding: 25px
}

.movie-rating-rating-title {
    color: hsla(0,0%,100%,.9);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center
}

.movie-rating-rating-options {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit,minmax(80px,1fr));
    margin-bottom: 30px
}

.movie-rating-rating-option {
    align-items: center;
    background-color: rgba(0,0,0,.3);
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 15px 10px;
    position: relative;
    transition: all .3s
}

.movie-rating-rating-option:hover {
    background-color: hsla(0,0%,100%,.1);
    transform: translateY(-5px)
}

.movie-rating-rating-option.selected {
    background: linear-gradient(135deg,#3a47d5,#00d2ff);
    box-shadow: 0 10px 20px rgba(0,210,255,.2);
    transform: translateY(-5px)
}

.movie-rating-rating-option.selected:before {
    animation: movie-rating-shimmer 2s infinite;
    background: linear-gradient(90deg,transparent,hsla(0,0%,100%,.8),transparent);
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0
}

.movie-rating-rating-option img {
    border-radius: 50%;
    filter: drop-shadow(0 5px 10px rgb(0 0 0/.2));
    height: 50px;
    margin-bottom: 10px;
    transition: all .3s;
    width: 50px
}

.movie-rating-rating-option.selected img {
    transform: scale(1.1)
}

.movie-rating-rating-option-text {
    color: hsla(0,0%,100%,.9);
    font-size: 14px;
    font-weight: 500;
    text-align: center
}

.movie-rating-rating-option.selected .movie-rating-rating-option-text {
    color: #fff;
    font-weight: 600
}

.movie-rating-modal-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 0 25px 25px
}

.movie-rating-btn {
    align-items: center;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex: 0 1 auto;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    min-width: 120px;
    padding: 12px 25px;
    transition: all .3s
}

.movie-rating-btn-primary {
    background: linear-gradient(135deg,#f96,#ff5e62);
    box-shadow: 0 10px 20px rgba(255,94,98,.3);
    color: #fff
}

.movie-rating-btn-primary:hover {
    box-shadow: 0 15px 25px rgba(255,94,98,.4);
    transform: translateY(-3px)
}

.movie-rating-btn-primary:active {
    transform: translateY(0)
}

.movie-rating-btn-secondary {
    background-color: hsla(0,0%,100%,.1);
    color: #fff
}

.movie-rating-btn-secondary:hover {
    background-color: hsla(0,0%,100%,.15)
}

.button-default {
    background-color: #6b6a6a;
    display: flex;
    align-items: center;
    border-radius: 5px;
    margin-right: 5px;
    padding: 6px 10px;
    cursor: pointer;
    color: #fff;
    border: 0px;
}

.button-default i {
    margin-right: 5px
}

#follow-btn.followed {
    background: rgb(125, 72, 72);
}

.bg-lochinvar {
    transition: all .4s ease-in-out;
    background-image: var(--btn-bg-color);
    background-size: 300% 100%
}

a.bg-lochinvar:hover {
    color: #dbdbdb
}

.list-movies-part {
    background: #3333334a;
    padding: 13px 8px 0!important;
    border-radius: 3px;
    max-height: 78px;
    overflow-y: overlay
}

.list-movies-part li {
    display: inline-block;
    margin: 0 7px 14px 0!important
}

.list-movies-part li a {
    background: #1f2c3e;
    padding: 7.5px 10px 6px;
    border-radius: 3px;
    transition: .6s all;
    font-size: 12px;
    color: #fff;
    cursor: pointer
}

.list-movies-part li a.active {
    background: #1b2a39;
    border: 1px solid #1b2a3900;
    background-size: 200% 100%;
    background-image: linear-gradient(to right,#f5ce62,#e43603,#fa7199,#e85a19);
    background-image: linear-gradient(to right,#f0c 0%,#339 51%,#f0c 100%)
}

.list-movies-part li a:hover {
    color: #f90;
    background: #1b2a39;
    background-size: 200% 100%;
    background-image: linear-gradient(to right,#070f19 0%,#010408 51%,#6d2323 100%);
    background-position: right center
}

.filter-episode {
    padding-top: 8px;
    color: #fff;
    margin: 0 0 15px;
    text-align: left
}

.filter-episode span {
    line-height: 25px;
    padding: 4px 0;
    font-size: 14px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,.1)
}

.list-episode-filter input {
    display: block;
    padding: 0 34px 0 10px;
    height: 35px;
    font-family: Nunito,sans-serif;
    font-size: 12px;
    font-weight: 300;
    text-transform: none;
    min-width: 200px;
    border: 1px solid #4f5b55;
    margin-bottom: 10px;
    border-radius: 4px;
    background-color: #161616;
    color: #abb7c4;
}

/* Server */
#halim-list-server {
    margin-top: 15px
}

#halim-list-server .halim-server-name {
    background: #365979;
    padding: 6px 10px;
    margin: -1.6px 6px 0 0;
    font-size: 12px;
    color: #fff;
    border-radius: 3px;
    display: inline-block;
    line-height: 16px;
    float: left
}

#halim-list-server ul {
    padding: 0;
    list-style: none;
    width: 99%
}

#halim-list-server li {
    display: inline-block;
    margin: 0 4px 10px 0
}

#halim-list-server li:hover span {
    background: linear-gradient(to right,#1a2980,#26d0ce)
}

#halim-list-server ul li span.active {
    background: linear-gradient(to right,#1a2980,#26d0ce)
}

#halim-list-server ul li:hover span.active {
    background: #315c84
}

#halim-list-server ul.nav-tabs li {
    margin: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px
}

#halim-list-server ul.nav-tabs li a {
    margin: 0;
    border: none;
    padding: 7px 12px;
    border-radius: 0;
    font-size: 12px
}

#halim-list-server ul.nav-tabs li a:hover {
    margin: 0
}

#halim-list-server ul.nav-tabs li.active {
    background: #263a4c
}

#halim-list-server ul.nav-tabs li.active a {
    margin: 0;
    border: none;
    padding: 7px 12px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px
}

#halim-list-server .tab-content ul {
    margin: 0;
    padding: 15px 0
}

#halim-list-server .tab-content {
    background: #172331;
    padding: 0 15px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px
}

.halim-light-mode #halim-list-server .tab-content {
    background: #e9ebee;
    padding: 0 15px
}

.halim-light-mode #halim-list-server ul li span {
    background-color: #fff;
    color: #333;
    border: 1px solid #cacaca;
    padding: 7.5px 10px 6px;
    text-shadow: none;
    box-shadow: none
}

.halim-light-mode #halim-list-server li:hover span {
    background: #f90;
    color: #fff;
    border-color: #f90
}

.halim-light-mode #halim-list-server ul li span.active {
    background: #e46565;
    border-color: #e46565;
    color: #fff
}

#halim-list-server .halim-server.show_all_eps .halim-server-name {
    float: none;
    margin-bottom: 5px;
    background: #0b0f15;
    padding: 8px 10px 5px;
    color: var(--text-color);
    font-weight: 700;
    text-transform: uppercase
}

.halim-light-mode #halim-list-server .halim-server.show_all_eps .halim-server-name {
    background: #e9ebee;
    color: var(--text-color);
}

#halim-list-server li {
    display: inline-block;
    text-align: center;
    padding-left: 6px;
    padding-right: 6px;
    margin: 0;
    width: 8.3%;
}

#halim-list-server ul li span {
    background: #333;
    border-radius: 3px;
    transition: .6s all;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    margin-bottom: .7rem;
    padding: 6px 10px
}

#halim-list-server ul.nav-tabs li a {
    margin: 0;
    border: none;
    padding: 7px 12px;
    border-radius: 0;
    font-size: 12px;
    display: none!important
}

.halim-server.show_all_eps ul.halim-list-eps {
    padding: 5px;
    border-radius: 3px;
    background: #3333334a!important
}

.halim-light-mode .halim-server.show_all_eps ul.halim-list-eps {
    background: #0b0f15;
    padding: 10px 5px 5px;
    border-radius: 3px
}

.halim-list-eps {
    max-height: 265px;
    overflow-y: overlay
}
/* End of Server */

.halim_showtime_movies {
    background-color: #232323;
    background-image: url('/wp-content/themes/haunmovies/assets/images/weekly-calendar.webp');
    background-position: 10px;
    background-repeat: no-repeat;
    background-size: 25px;
    color: #bdbdbd;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 15px;
    padding: 10px 15px 10px 45px;
    text-transform: uppercase;
}

.halim_showtime_movies p,.halim-film-notice p,.halim--notice p {
    margin: 0
}

.halim_showtime_movies p span {
    color: var(--text-color);
}

.entry-content,
.post-content {
    background: #292929;
    border: 1px solid #1d2731a6;
    font-size: 14px;
    border-radius: 6px;
    padding: 15px;
    margin: 10px 0;
}

.halim-entry-box .item-content {
    max-height: 50px;
    overflow: hidden;
    transition: all .2s ease
}

.halim-entry-box .item-info {
    margin-bottom: 10px;
    font-size: 11px
}

.halim-entry-box .item-content,.content-single img {
    max-width: 100%
}

.halim-entry-box .item-content {
    max-height: 110px;
    overflow: hidden;
    transition: all .2s ease
}

.halim-entry-box .item-content.toggled {
    max-height: none
}

.ratings_wrapper {
    z-index: 1;
}

.button-watch .luotxem:has([href="#moretool"]) {
    display: none !important;
}

#explayer {
    display: none !important;
}

/* Halimn comments */
#wpdcom {
    max-width: 100%;
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea,
#wpdcom textarea.wc_comment {
    height: 54px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    box-shadow: inset 1px 1px 8px rgba(0,0,0,.1);
    font-family: inherit;
    outline: none;
    -webkit-transition: .18s ease-out;
    -moz-transition: .18s ease-out;
    -o-transition: .18s ease-out;
    transition: .18s ease-out;
    resize: none
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea:hover {
    box-shadow: inset 1px 2px 8px rgba(0,0,0,.02)
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea::placeholder {
    line-height: 20px !important;
    color: #666;
    font-size: 14px !important;
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea::-webkit-input-placeholder {
    line-height: 20px !important;
    color: #666;
    font-size: 14px !important;
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea::-moz-placeholder {
    line-height: 20px !important;
    color: #666;
    font-size: 14px !important;
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea:-ms-input-placeholder {
    line-height: 20px !important;
    color: #666;
    font-size: 14px !important;
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea:-moz-placeholder {
    line-height: 20px !important;
    color: #666;
    font-size: 14px !important;
}


#wpdcom .wpd-form-row .wpdiscuz-item input[type=text],#wpdcom .wpd-form-row .wpdiscuz-item input[type=email],#wpdcom .wpd-form-row .wpdiscuz-item input[type=url],#wpdcom .wpd-form-row .wpdiscuz-item input[type=color],#wpdcom .wpd-form-row .wpdiscuz-item input[type=date],#wpdcom .wpd-form-row .wpdiscuz-item input[type=datetime],#wpdcom .wpd-form-row .wpdiscuz-item input[type=datetime-local],#wpdcom .wpd-form-row .wpdiscuz-item input[type=month],#wpdcom .wpd-form-row .wpdiscuz-item input[type=number],#wpdcom .wpd-form-row .wpdiscuz-item input[type=time],#wpdcom textarea,#wpdcom select {
    background: #161616 !important;
    border: 1px solid #161616 !important;
    color: #e3e3e3 !important
}

#wpdcom .wpd-form-head {
    display: none;
}

#wpdcom .wpd-comment {
    margin-bottom: 8px;
}

#wpdcom .wpd-comment .wpd-comment-right {
    background-color: #171717;
    padding: 5px 15px;
    border-radius: 12px;
    position: relative;
}

#wpdcom .wpd-form .wpdiscuz-textarea-wrap textarea, 
#wpdcom textarea.wc_comment {
    padding-left: 40px;
}

.halim-comments {
    background: #202020;
}

.halim-comments .open-emoji-picker {
    position: absolute;
    top: 16px;
    left: 15px;
    font-size: 18px;
    color: #fff;
}

.halim-comments .block-emoji-picker {
	display: none;
	position: absolute;
	z-index: 1;
	max-width: 100%;
}

.halim-comments .block-emoji-picker emoji-picker {
	max-width: 100%;
}

.halim-comments .block-emoji-picker.show {
	display: block;
}

.halim-comments #wpdcom .wpd-tools {
    position: absolute;
    right: 18px;
    top: 18px;
}

.halim-comments #wpdcom .wpd-tools-actions {
	right: 0%;
    left: unset;
}
/* End of Halimn comments */


@media(max-width: 767px) {
    .info-movie .head .first {
        width:28%
    }

    .info-movie .head .last {
        width: 72%;
        font-size: 12px;
        margin-left: 5px
    }

    .info-movie .head .last>div {
        padding: 2px
    }

    .info-movie .head .last>div>div:first-child {
        display: none
    }

    .info-movie .head .last>div>div {
        flex: 1
    }

    .halim-entry-box .item-content {
        height:80px
    }

    .halim-entry-box .item-content.toggled {
        height: auto
    }

    #halim-list-server li {
        width: 25%;
    }

    .movie-rating-modal {
        max-width: 450px;
        width: 98%
    }

    .movie-rating-modal-header {
        padding: 20px 15px
    }

    .movie-rating-movie-title {
        font-size: 20px
    }

    .movie-rating-movie-rating {
        font-size: 12px;
        padding: 6px 12px
    }

    .movie-rating-modal-body {
        padding: 20px 15px
    }

    .movie-rating-rating-title {
        font-size: 16px;
        margin-bottom: 15px
    }

    .movie-rating-modal-footer {
        gap: 10px;
        padding: 0 15px 20px
    }

    .movie-rating-rating-options {
        gap: 10px;
        margin-bottom: 20px
    }

    .movie-rating-rating-option {
        padding: 10px 8px;
    }

    .movie-rating-btn {
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 500px) {
    .movie-rating-modal {
        max-width: 400px;
        width: 98%
    }

    .movie-rating-rating-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .movie-rating-rating-option {
        flex-direction: row;
        justify-content: flex-start;
        padding: 10px
    }

    .movie-rating-rating-option img {
        height: 35px;
        margin-bottom: 0;
        margin-right: 10px;
        width: 35px
    }

    .movie-rating-rating-option-text {
        font-size: 13px;
        text-align: left
    }

    .halim-rating-container {
        padding:6px 10px
    }

    .halim-star-icon {
        font-size: 18px
    }

    .halim-rating-score {
        font-size: 16px
    }

    .halim-rating-votes {
        font-size: 12px
    }

    .halim-rating-button {
        font-size: 13px;
        padding: 6px 15px;
        margin-left: auto;
    }
    
}

@media (max-width: 400px) {
    #halim-list-server ul li span {
        padding: 6px;
    }

    .halim-star-rating,
    .halim-rating-score {
        font-size: 14px;
    }
}

@media (max-width: 350px) {
    .halim-rating-container {
        padding: 6px;
    }

    .halim-rating-button {
        font-size: 11px;
        padding: 4px 6px;
    }

    .halim-star-icon {
        margin-right: 2px;
    }

    #halim-list-server ul li span {
        padding: 6px;
    }
}