.modal {
   width: auto;
   max-width: 800px;
   height: auto;
   /* min-height: 500px; */
   display: table;
   background: #fff;
   margin: 0 auto;
   padding: 0;
   position: relative;
   border-radius: 10px;
   overflow: hidden;
}

.mfp-close {
   border-radius: 10px 0 0 10px !important;
   width: 44px !important;
   height: 30px !important;
   background: #fff !important;
   display: block !important;
   position: absolute;
   top: 15px;
   right: 0;
}

.mfp-close:hover {
   background: var(--orange) !important;
   color: #fff !important;
}

.reg-code {
   max-width: 710px;
   min-height: 400px;
}

.reg-code .title {
   width: 100%;
   height: auto;
   text-align: center;
   font-weight: 700;
   font-size: 40px;
   text-align: center;
   color: var(--black);
   margin-top: 78px;
   margin-bottom: 50px;
}

.reg-code form {
   width: 100%;
   height: auto;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 30px;
   margin: 0 auto;
}

.reg-code form .inputItem {
   border: 2px solid #e5e5e5;
   border-radius: 10px;
   width: 100px;
   height: 100px;
   display: block;
}

.reg-code form .inputItem input {
   width: 100%;
   height: 100%;
   border: 0;
   background: rgba(0, 0, 0, 0);
   outline: none;
   text-align: center;
   font-size: 48px;
   color: var(--red);
   -moz-appearance: textfield;
   appearance: textfield;
}

.reg-code form .inputItem .line {
   width: 50px;
   background: var(--red);
   height: 2px;
   display: none;
   margin: 0 auto;
   position: relative;
   bottom: 15px;
}

.reg-code form .inputItem.active {
   border: 2px solid var(--red);
}

.reg-code form .inputItem.active .line {
   display: block;
}

.reg-code .notification {
   width: 100%;
   margin-top: 25px;
   text-align: center;
}

.reg-success {
   max-width: 710px;
   min-height: 400px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.reg-success .center {
   width: auto;
   height: auto;
}

.reg-success .title {
   font-weight: 700;
   font-size: 40px;
   text-align: center;
   color: var(--black);
   width: 100%;
   margin-bottom: 50px;
}

.reg-success p {
   font-weight: 300;
   font-size: 20px;
   line-height: 140%;
   text-align: center;
   color: var(--black);
   padding: 0 73px;
}

.reg-success p a {
   color: var(--red);
}

.modal-dialog {
   width: 615px;
   height: 520px;
   display: block;
   background: #fff;
   box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
   border-radius: 10px;
   overflow: hidden;

   position: fixed;
   bottom: 30px;
   left: 30px;
   z-index: 4;
}

.modal-dialog.loading {
   display: flex;
   align-items: center;
   justify-content: center;
}

.modal-dialog .top {
   padding: 14px 10px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 100%;
}

.modal-dialog .top .name {
   display: flex;
   align-items: center;
   gap: 10px;
   color: var(--red);
   font-weight: 500;
   font-size: 17px;
}

.modal-dialog .top .name b {
   font-weight: 700;
}

.modal-dialog .top .close {
   color: #424242;
   font-size: 25px;
   text-decoration: none;
}

.modal-dialog .top .close:hover {
   color: var(--red);
}

.modal-dialog .comments {
   width: 100%;
   height: 330px;
   background: rgba(66, 66, 66, 0.1);
   overflow-x: scroll;
   padding: 0 31px;
}

.modal-dialog .comments .comment {
   width: 100%;
   height: auto;
   display: flex;
   align-items: flex-start;
   justify-content: flex-start;
   gap: 10px;
   margin-top: 27px;
}

.modal-dialog .comments .comment.delete_comment {
   opacity: 0.5;
}

.modal-dialog .comments .comment picture {
   width: 30px;
   min-width: 30px;
   height: 30px;
   border-radius: 255px;
}

.modal-dialog .comments .comment .data {
   width: 100%;
}

.modal-dialog .comments .comment .data .text {
   box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.25);
   background: #fff;
   width: auto;
   max-width: 100%;
   height: auto;
   display: table;
   padding: 14px 16px;
   border-radius: 10px;
   font-weight: 300;
   font-size: 17px;
   color: var(--black);
}

.modal-dialog .comments .comment .data .text .files {
   width: 100%;
   height: auto;
   display: flex;
   align-items: center;
   justify-content: flex-end;
   flex-wrap: wrap;
   gap: 0 10px;
}

.modal-dialog .comments .comment .data .text audio {
   margin-top: 10px;
   overflow: hidden;
   border-radius: 10px;
}

.modal-dialog .comments .comment .data .text .files a.picture {
   width: 100px;
   height: 100px;
   text-align: center;
   color: var(--black);
   font-size: 15px;
   margin-top: 10px;
}

.modal-dialog .comments .comment .bottom {
   width: max-content;
   max-width: 100%;
   margin-top: 5px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 10px;
}

.modal-dialog .comments .comment .bottom .delete {
   color: var(--red);
   font-size: 15px;
}

.modal-dialog .comments .comment .bottom .nameUser {
   font-weight: 300;
   font-size: 15px;
   color: var(--red);
}

.modal-dialog .comments .comment .bottom .idUsersTo {
   font-weight: 600;
   font-size: 12px;
   color: rgba(66, 66, 66, 0.5);
}

.modal-dialog .comments .comment .bottom .date {
   font-weight: 300;
   font-size: 12px;
   color: rgba(66, 66, 66, 0.5);
}

.modal-dialog form {
   width: 100%;
   height: auto;
   padding: 18px;
   display: flex;
   align-items: flex-start;
   justify-content: space-between;
}

.modal-dialog form textarea {
   padding: 0;
   width: 100%;
   height: 100px;
   font-weight: 300;
   font-size: 15px;
   color: var(--black);
   font-family: 'Inter', serif;
   border: 0;
   outline: none;
   resize: none;
}

.modal-dialog form .buttons {
   width: 40px;
   height: auto;
   display: flex;
   flex-direction: column;
   gap: 5px;
   align-content: center;
   justify-content: center;
}

.modal-dialog form .buttons button {
   border: 0;
   background: rgba(0, 0, 0, 0);
   width: 30px;
   height: 30px;
   padding: 0;
   margin: 0 auto;
}

.modal-dialog form .buttons button i {
   font-size: 30px;
   color: var(--black);
   position: relative;
   z-index: 2;
}

.modal-dialog form .buttons button:hover i {
   color: var(--red);
}

.modal-dialog form .buttons .file {
   width: 30px;
   height: 30px;
   display: block;
   overflow: hidden;
   position: relative;
   cursor: pointer;
   margin: 0 auto;
}

.modal-dialog form .buttons .file i.mso {
   font-size: 30px;
}

.modal-dialog form .buttons .file:hover i.mso {
   color: var(--red);
}

.modal-dialog form .buttons .file input {
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
   z-index: 1;
   opacity: 0;
   cursor: pointer;
}

.modal-dialog form .buttons .bComments {
   text-align: center;
   font-size: 30px;
   color: var(--black);
   cursor: pointer;
   position: relative;
   width: 30px;
   height: 30px;
   margin: 0 auto;
}

.modal-dialog form .buttons .bComments i {
   position: relative;
   z-index: 2;
   font-size: 30px;
}

.modal-dialog form .buttons .bComments:hover i {
   color: var(--red);
}

.modal-dialog form .buttons .bComments .quantity {
   position: absolute;
   z-index: 3;
   top: 0;
   right: 0;
   border-radius: 255px;
   width: 16px;
   height: 16px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 300;
   font-size: 10px;
   color: #fff;
   background: var(--red);
}

.modal-dialog form .buttons .bComments .modalMin {
   position: absolute;
   bottom: -12px;
   right: -12px;
   background: #fff;
   padding: 12px;
   border: 1px solid #e5e5e5;
   border-radius: 10px;
   font-weight: 300;
   font-size: 14px;
   color: var(--black);
   min-width: 260px;
   z-index: 1;
   display: none;
}

.modal-dialog form .buttons .bComments.active .modalMin {
   display: table;
}

.modal-dialog form .buttons .bComments .modalMin .group {
   width: 100%;
   height: auto;
   display: flex;
   align-items: center;
   flex-direction: column;
   gap: 10px;
   margin-top: 10px;
}

.modal-dialog form .buttons .bComments .modalMin .group .name-group {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: flex-start;
   gap: 0;
   user-select: none;
}

.modal-dialog form .buttons .bComments .modalMin .group .name-group label {
   padding: 0 8px;
   font-weight: 500;
   font-size: 14px;
   color: #424242;
}

.modal-dialog form .buttons .bComments .modalMin .group .name-group i.mso {
   font-size: 20px;
   color: #1C1B1F;
}

.modal-dialog form .buttons .bComments .modalMin .group.active .name-group i.mso {
   transform: rotate(-90deg);
}

.modal-dialog form .buttons .bComments .modalMin .group input[name='checkbox'] {
   border: 1px solid rgba(68, 34, 68, 0.13);
   width: 17px;
   height: 17px;
}

.modal-dialog form .buttons .bComments .modalMin .group .list-user {
   display: none;
   align-items: flex-start;
   flex-direction: column;
   gap: 7px;
}

.modal-dialog form .buttons .bComments .modalMin .group.active .list-user {
   display: flex;
}

.modal-dialog form .buttons .bComments .modalMin .group .list-user .user {
   display: flex;
   align-items: flex-start;
   justify-content: flex-start;
   gap: 0;
}

.modal-dialog form .buttons .bComments .modalMin .group .list-user .user label {
   font-weight: 300;
   font-size: 14px;
   color: #424242;
   padding: 0 8px;
}

/* .modal-dialog form .buttons .bComments .modalMin p {
   margin-bottom: 12px;
   text-align: left;
}

.modal-dialog form .buttons .bComments .modalMin a {
   display: table;
   margin-bottom: 10px;
   font-weight: 300;
   font-size: 14px;
   text-decoration: underline;
   text-decoration-skip-ink: none;
   color: var(--black);
   text-align: left;
}

.modal-dialog form .buttons .bComments .modalMin a:hover,
.modal-dialog form .buttons .bComments .modalMin a.active {
   color: var(--red);
} */

#game-adver {
   width: auto;
   height: auto;
   position: fixed;
   right: 30px;
   bottom: 30px;
}

#game-adver picture {
   border-radius: 255px;
   width: 241px;
   height: 241px;
   box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
}

#game-adver a.button {
   border: 1px solid #fff;
   border-radius: 10px;
   width: min-content;
   height: auto;
   display: flex;
   align-items: center;
   gap: 5px;
   text-decoration: none;
   background: var(--red);
   font-weight: 600;
   font-size: 18px;
   line-height: 100%;
   color: #fff;
   padding: 13px 16px;
   margin: -26px auto 0;
   position: relative;
   z-index: 2;
   box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
}

#game-adver a.button i {
   font-size: 30px;
}

#game-adver a.button:hover {
   background: #fff;
   color: var(--red);
}

.game-login {
   max-width: 960px;
   min-height: 500px;
   display: flex;
   align-items: center;
   justify-content: flex-start;
   gap: 0;
}

.game-login .data {}

.game-login .data .title {
   font-weight: 600;
   font-size: 45px;
   color: var(--red);
}

.game-login .data .subTitle {
   margin-top: 17px;
   margin-bottom: 54px;
   font-weight: 400;
   font-size: 25px;
   line-height: 140%;
   color: var(--black);
   max-width: 440px;
}

.game-login .data p {
   font-weight: 300;
   font-size: 18px;
   text-align: left;
   color: var(--black);
}

.game-login .data .buttons {
   margin-top: 20px;
   display: flex;
   align-items: center;
   justify-content: flex-start;
   gap: 22px;
}

.game-login .data .buttons a.button {
   border-radius: 10px;
   width: auto;
   height: auto;
   backdrop-filter: blur(100px);
   background: #e5e5e5;
   display: flex;
   align-items: center;
   gap: 8px;
   font-weight: 500;
   font-size: 18px;
   color: var(--black);
   text-decoration: none;
   padding: 18px 23px;
}

.game-login .data .buttons a.button i {
   font-size: 30px;
}

.game-login .data .buttons a.button:hover {
   background: var(--red);
   color: #fff;
}

.game-content {
   width: 550px;
   height: 750px;
   display: block;
   border-radius: 0px;
}

.mfp-container {
   padding: 0 !important;
}

.reg-code form .inputItem input {
   font-size: 30px;
}

.modal-confirm {
   display: none;
   position: fixed;
   z-index: 1000;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5);
}

.modal-confirm .modal-content {
   background-color: #fefefe;
   margin: 15% auto;
   padding: 20px;
   border: 1px solid #888;
   width: 80%;
   max-width: 300px;
   text-align: center;
}

.modal-confirm button {
   margin: 10px;
   padding: 10px 20px;
   cursor: pointer;
}

.open-video {
   width: 90%;
   max-width: 90%;
   height: 90vh;
   background: #fff;
   display: block;
}

.open-video iframe {
   width: 100%;
   height: 100%;
   border-radius: 0px;
   position: relative;
   display: block;
   z-index: 1;
}

@media only screen and (max-width: 780px) {

   .open-video {
      width: 100%;
      max-width: 100%;
      height: 100vh;
   }
}