/*************************
    General
*************************/
body {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    color: #1C3244;
    background: rgb(242, 242, 242);
}



a, .btn {
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    text-decoration: none;
}

a:focus {
    text-decoration: none;
    outline: none;
}

a:focus, a:hover {
    color: #2E5E7D;
    text-decoration: none;
}

a, button, input, .btn:focus, .form-control:focus {
    outline: medium none;
    color: #2E5E7D;
    box-shadow: none;
    border-color: inherit;
}

a:hover {
    color: #1C3244;
}

.btn:focus {
    box-shadow: inherit;
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", sans-serif;
    color: #000000;
    margin-top: 0px;
    margin-bottom: 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
}

h1 {
    font-size: 64px;
    font-style: normal;
    line-height: 78px;
    font-weight: 900;
}

h2 {
    font-size: 32px;
    font-style: normal;
    line-height: 42px;
    font-weight: 600;
}

h3 {
    font-size: 28px;
    font-style: normal;
    line-height: 29px;
    font-weight: 700;
}

h4 {
    font-size: 22px;
    font-style: normal;
    line-height: 32px;
}

h5 {
    font-size: 20px;
    font-style: normal;
    line-height: 30px;
}

h6 {
    font-size: 18px;
    font-style: normal;
    line-height: 28px;
}

ul {
    margin: 0px;
    padding: 0px;
}

p {
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
}

.tetx-primary{
    color: #2E5E7D !important;
}

.tetx-secondary{
    color: #1C3244 !important;
}

*::-moz-selection {
    background: #1e2327;
    color: #ffffff;
    text-shadow: none;
}

::-moz-selection {
    background: #1e2327;
    color: #ffffff;
    text-shadow: none;
}

::selection {
    background: #1e2327;
    color: #ffffff;
    text-shadow: none;
}

ul {
    list-style-type: none;
}

section {
    position: relative;
}

.btn {
    background: rgb(15, 96, 155);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    border: 1px solid rgb(15, 96, 155);
}

.btn:hover {
    background-color: rgb(10, 67, 108);
    border: 1px solid rgb(10, 67, 108);
    color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px -1px, rgba(0, 0, 0, 0.14) 0px 4px 5px 0px, rgba(0, 0, 0, 0.12) 0px 1px 10px 0px;
}


/* Header */
.header {
    padding: 10px 15px;
    background: rgb(220, 238, 251);
    position: relative;
}

.logo a img {
    height: 60px;
}

.header .menu ul {
    display: flex;
    justify-content: end;
}

.header .menu ul li {
    padding: 0 15px;
}

.header .menu ul li a {
    color: rgb(15, 96, 155);
    font-size: 24px;
}

.header .btn-right {
    display: flex;
    justify-content: end;
    align-items: center;
}


.header .logo{
    padding-left: 0px;
}

.header .sidebar-toggle-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.side-menu.offcanvas{
    width: 320px;
}

.side-menu.offcanvas .offcanvas-header{
    border-bottom: none;
}

.side-menu.offcanvas .offcanvas-body{
    padding: 15px 0px;
}
.side-menu a{
    display: flex;
    align-items: center;
    padding: 15px 15px;
    border-top: 1px solid rgba(0,0,0,0.15);
}


.page-content-tab .table tbody tr {
    cursor: pointer;
}


/* Side Menu */
.side-menu-btn .button-toggle-nav {
    color: #1C3244;
    position: absolute;
    left: 500px;
    top: 110px;
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    z-index: 99;
    justify-content: center;
    height: 40px;
    width: 40px;
    box-shadow: 1px 1px 5px rgb(0 0 0 / 10%);
    transition: all 0.5s ease;
}

.side-menu-btn .button-toggle-nav:hover {
    background: #1C3244;
    color: #ffffff;
}

.slide-menu .side-menu-btn .button-toggle-nav svg {
    transform: rotate(180deg);
}

.side-menu-fixed {
    /* position: absolute; */
    top: 100px;
    left: 0;
    /* width: 305px; */
    margin-left: -12px;
    bottom: 0;
    padding: 0;
    transition: all 0.5s ease;
    background: #ffffff;
    height: 89vh;
}

.slide-menu .side-menu-fixed {
    left: -60%;
}

.slide-menu .side-menu-btn .button-toggle-nav {
    left: 15px;
}

.scrollbar {
    height: 100%;
    width: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    overflow: auto;
}


.side-menu-fixed .question-box p {
    background: #F0EFF5;
    padding: 20px;
    text-align: center;
    color: #000000;
    font-size: 14px;
    line-height: 24px;
    border-radius: 10px;
}

.input-group.search {
    margin-bottom: 10px;
    padding: 0 15px;
}

.sidebar-menu .menu-title {
    padding: 0 15px;
    margin-bottom: 10px;
}

.sidebar-menu li a {
    display: flex;
    padding: 10px 15px;
    border-top: 1px solid rgb(0 0 0 / 15%);
}

.sidebar-menu li a:hover {
    background: rgb(15, 96, 155);
    color: #ffffff;
}


.side-menu-fixed span.select2-selection {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 10px;
}

.side-menu-fixed .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 12px;
}

.select-dropdown span.select2.select2-container.select2-container--default {
    width: 100% !important;
}

.select-dropdown {
    padding: 0 15px 10px 15px;
}


/* trivalry */
.trivalry-large-logo {
    height: 89vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.trivalry-large-logo .trivalry-large-img .trivalry-title {
    margin-top: 30px;
}

.trivalry-large-logo .trivalry-large-img {
    padding: 0 50px;
}

.trivalry-large-logo .trivalry-large-img img {
    width: 100%;
}

/* allgames */
.filter-tags {
    display: flex;
    align-items: center;
    position: absolute;
    top: 37px;
    right: 30px;
}

.filter-tags .status_filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-tags .tag {
    background: #dceefb;
    margin-left: 15px;
    font-size: 16px;
    padding: 7px 10px;
    border-radius: 3px;
    border: none;
}

.filter-tags .tag .tag-remove {
    background: #0f609b;
    border: none;
    color: #fff;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    line-height: 3px;
    margin-left: 5px;
    font-size: 14px;
}

.page-content-tab {
    padding: 30px 30px 50px 0px;
    position: relative;
}

.page-content-tab .page-title-box {
    display: flex;
    margin-bottom: 15px;
    justify-content: space-between;
    align-items: center;
}


#add-Question.btn {
    padding: 6px 15px;
}
.page-content-tab .table .actions-th,
.page-content-tab .table .actions-td{
  text-align: end;
}
.page-content-tab .table tbody tr td.width-30 {
    width: 50%;
}

.page-content-tab .table tbody tr td.width-30 button {
    padding-left: 0;
}

.page-content-tab .table thead tr th{
    padding: 15px 10px;
    vertical-align: middle;
}
.page-content-tab .table tbody tr td {
    padding: 10px 10px;
    vertical-align: middle;
}

.page-content-tab .table tbody tr td img {
    height: 50px !important;
    width: 50px !important;
    border-radius: 4px;
    transition: 0.3s;
}

.page-content-tab .table tbody tr td img:hover {
    transform: scale(1.2);
}

.table>:not(:last-child)>:last-child>* {
    border-bottom-color: rgb(204, 204, 204);
}


.page-content-tab .table tbody tr td .upload-btn-wrapper, .upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
}

.page-content-tab .table tbody tr td .upload-btn-wrapper input[type=file], .upload-btn-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.page-content-tab .table tbody tr td button.upload-btn, .upload-btn-wrapper button.upload-btn {
    border: 1px solid rgba(15, 96, 155, 0.5);
    color: rgb(15, 96, 155);
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    background-color: inherit;
}

.page-content-tab .table tbody tr td button.upload-btn svg, .upload-btn-wrapper button.upload-btn svg {
    margin-right: 10px;
}


/* .page-content-tab .table {
    border: 1px solid rgb(204, 204, 204);
    background: #ffffff;
} */

.page-content-tab .table-responsive {
    display: block;
    overflow-y: auto;
    height: 100vh;
    max-height: calc(-200px + 100vh);
    position: relative;
    background: #ffffff;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 4px;
}

.page-content-tab .table thead {
    font-size: 16px;
    border-bottom: 1px solid rgb(204, 204, 204);
    font-weight: 600;
    background-color: rgb(255, 255, 255);
    position: sticky;
    z-index: 50;
    top: -30px;
}

.btn-border {
    background: none;
    border: 1px solid rgba(15, 96, 155, 0.5);
    color: rgb(15, 96, 155);
}

.page-content-tab .page-title-box .button-right button svg {
    margin-right: 10px;
}

.page-content-tab .page-title-box .button-right {
    display: flex;
    align-items: center;
}

.page-content-tab .page-title-box .button-right .input-group-append {
    margin-right: 10px;
}

.page-content-tab .page-title-box .button-right .input-group-append:last-child {
    margin-right: 0;
}

.page-content-tab .user-profile .list-group .game_name{
 width: 48%;
}
.page-content-tab .user-profile .list-group .game_name a{
   word-break: break-word;
}

.page-content-tab .user-profile .list-group .game_cr_date{
 width: 48%;
}


/* cropper */
/* .cropper-bg {
    width: 400px !important;
    height: 400px !important;
}

.cropper-crop-box {
    transform: none !important;
}  */

/* Register Form */
.register-form, .login {
    height: 89vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.register-form .register, .login .login-form {
    background: #fff;
    padding: 50px;
    border-radius: 4px;
}

.section-title h2 {
    margin-bottom: 30px;
}

.register-form .register form input, .login .login-form form input {
    height: 50px;
    border-radius: 4px;
}

.register-form .register form input:focus, .login .login-form form input:focus {
    box-shadow: none;
    outline: none;
    border-color: #ced4da;
}

.logo.without-header {
    margin-bottom: 30px;
}

.logo.without-header img {
    height: 100px;
}



/* Modal Popup  */
.modal-content .modal-header {
    border-bottom: none;
    padding: 0;
    padding-top: 0px;
}

.modal-content .modal-body {
    padding: 15px 0;
}

.modal-content .modal-footer {
    border-top: none;
    padding-top: 0;
    padding-bottom: 0px;
}

.modal.show .modal-dialog {
    max-width: 600px;
}

.modal-content {
    padding: 30px 30px;
}

#modal .modal-content {
    flex-direction: column-reverse;
}

.modal-content .modal-footer .btn {
    padding: 8px 15px;
}

.modal-content .modal-footer .btn.cancel-btn {
    background: inherit;
    box-shadow: none;
    color: rgb(10, 67, 108);
}

.modal-content nav .nav-tabs .nav-link {
    color: rgb(10, 67, 108);
}

/* Offcanvas */
.offcanvas {
    width: 600px;
}

.offcanvas-header {
    border-bottom: 1px solid rgb(204, 204, 204);
    padding: 15px 30px;
}

.offcanvas .offcanvas-header .offcanvas-btn {
    display: flex;
    align-items: center;
}

.offcanvas .offcanvas-header button.btn-close {
    background: none;
    margin: 0;
    padding: 0;
    width: inherit;
    margin-right: 15px;
    display: flex;
    height: auto;
    color: rgb(15, 96, 155) !important;
    opacity: 1;
    font-weight: 500;
}

.offcanvas .question {
    width: 100%;
    /* display: flex; */
    border-bottom: 1px solid rgb(204, 204, 204);
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    padding: 15px 30px;
    gap: 12px;
}

/* .offcanvas .question label.form-label {
    margin-bottom: 0;
} */

.offcanvas .question textarea, .game-list ul li textarea {
    height: 50px;
}

.offcanvas .box-details .head-title {
    display: flex;
    justify-content: space-between;
    background: rgb(242, 242, 242);
    align-items: center;
    padding: 15px 30px;
}

.offcanvas .box-details .head-title p {
    margin-bottom: 0;
}

.offcanvas .media-btn, .game-list, .question-details-form {
    width: 100%;
    display: flex;
    border-bottom: 1px solid rgb(204, 204, 204);
    padding: 25px;
    flex-flow: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    row-gap: 16px;
}

.offcanvas .media-btn button.upload-btn {
    padding: 8px 20px;
    margin-top: 0;
    border: 1px solid rgba(15, 96, 155, 0.5);
    max-height: 50px;
}
.offcanvas .media-btn span.delete-btn {
    color: red;
    position:relative;
    size: 18px;
    right: 5px;
    bottom: 50px;
    cursor: pointer;
}

.offcanvas .media-btn button.upload-btn svg {
    margin-right: 10px;
}

.offcanvas .game-list ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.offcanvas .question-details-form {
    flex-flow: nowrap;
    gap: 20px;
}

/* Setting Page */
.setting-list, .profile-list {
    background: #fff;
}


.setting-list ul{
    width: 30%;
    padding: 30px;
}

.setting-list ul.site-settings-list {
    padding-right: 10px;
}
.setting-list ul.smit-settings-list {
    padding-left:10px;
}

.setting-list ul li {
    margin-bottom: 10px;
}
.setting-list ul li img {
    height: 70px;
}

.setting-list ul li .form-label{
    margin-bottom: 4px;
}

.setting-list ul li .form-check label.form-check-label {
    font-size: 14px;
    font-weight: 400;
}


.offcanvas-body .box-details .question-list {
    padding: 25px;
}


.setting-dropdown {
    font-size: 22px;
    margin-left: 10px;
    position: relative;
}

.setting-dropdown .game-options {
    width: 30px;
    display: flex;
    justify-content: center;
    height: 44px;
    align-items: center;
}

.setting-dropdown .dropdown-menu {
    padding: 30px 20px;
    transition: all 0.3s ease-in-out;
    font-size: 16px;
    right: -15px;
    min-width: 250px;
    /* display: block; */
    /* top: 50px; */
}

.setting-dropdown:hover .dropdown-menu {
    display: block;
}

.setting-dropdown .dropdown-menu ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.setting-dropdown .dropdown-menu ul li:last-child {
    margin-bottom: 0px;
}

.setting-dropdown .dropdown-menu .setting-list li img {
    height: 40px;
}

.setting-dropdown .dropdown-menu ul li svg {
    font-size: 16px;
    width: 18px;
}

.setting-dropdown .swith {
    margin-top: 1px;
}

.setting-dropdown input {
	display: none;
	opacity: 0;
}
.setting-dropdown label {
	position: relative;
	width: 20px;
	height: 14px;
	display: inline-block;
	background: #666666;
	border-radius: 30px;
	cursor: pointer;
	transition: all 0.3s;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
}

.setting-dropdown label:after {
	content: "";
	position: absolute;
	left: 2px;
	top: 2px;
	width: 9px;
	height: 9px;
	background: #FFF;
	border-radius: 50%;
	box-shadow: 1px 3px 6px #666666;
}

.setting-dropdown input:checked + label {
	background: #009900;
}

.setting-dropdown input:checked + label:after {
	left: auto;
	right: 2px;
}

/* add question modal */
.modal-body.add-question .box-details {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(204, 204, 204);
}

.modal-body.add-question .question-tabs-content .box-details {
    padding-bottom: 0;
    border-bottom: 0;
}

.modal-body.add-question .box-details:last-child {
    margin-bottom: 0;
}

.modal-body.add-question .box-details .head-title {
    display: flex;
    justify-content: space-between;
}


.modal-body.add-question .box-details .question-list .list-question, .offcanvas-body .box-details .question-list .list-question {
    display: flex;
    align-items: center;
    padding: 16px 15px;
    gap: 15px;
}

.list-question-header{
    display: flex;
    align-items: center;
    padding: 15px 15px;
    gap: 15px;
    background-color: rgba(242, 242, 242,1);
    border-radius: 4px;
    justify-content: space-between;

}

.list-question .action{
    display: flex;
    gap: 15px;
}
.list-question .answers{
     width: 100%;
}
.list-question .correct-answer{
    flex: 0 0 48px;
    text-align: center;
}

.modal-body.add-question .box-details .question-list .list-question .form-floating,
.offcanvas-body .box-details .question-list .list-question .answers,
.offcanvas-body .box-details .question-list .list-question .form-floating {
    width: 100%;
}

.modal-body.add-question .box-details .question-tabs {
    margin-top: 10px;
    margin-bottom: 15px;
}

.modal-body.add-question .box-details .more-question-detail {
    margin-top: 20px;
}

.modal-body.add-question .box-details .form-question-details {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.modal-body.add-question .box-details .question {
    display: flex;
    align-items: center;
    gap: 30px;
}

.modal-body.add-question .box-details:nth-child(2) .select-dropdown {
    margin: 15px 0 10px 0;
    padding: 0;
}

.modal-body.add-question .box-details:nth-child(2) .select-dropdown span.select2-selection {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 10px;
}

.modal-body.add-question .box-details:nth-child(2) .select-dropdown span.select2-selection .select2-selection__arrow {
    top: 12px;
}

.page-content-tab.template .table-responsive {
    height: auto;
}


/* Profile List */
.user-profile {
    background: #ffffff;
    padding: 30px 30px;
    display: flex;
}

.user-profile .profile-img {
    margin-right: 30px;
}
.user-profile .profile-img a{
    display:block;
}
.user-profile .profile-img img {
    height: 150px;
}

.user-profile form.user-details input {
    width: 100%;
    height: 50px;
}

.user-profile .user-form {
    width: 600px;
}

.user-profile .user-form form .form-label{
    margin-bottom: 3px;
}

.user-profile .menu-title{
    text-align: center;
    margin-bottom: 20px;
}

.user-profile ul.list-group{
    gap:10px;
    flex-direction: row;
    flex-wrap: wrap;
    max-height: 550px;
    overflow: hidden;
    overflow-y: auto;
}
.user-profile ul.list-group li{
    background-color: #f2f2f2;
    padding: 5px 10px;
    border-radius: 3px;
}

.add-assign span.select2-selection {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 10px;
}

.add-assign .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 12px;
}

.select-dropdown span.select2.select2-container.select2-container--default {
    width: 100% !important;
}

.add-assign .select-dropdown {
    padding: 0;
    width: 100%;
}

.add-assign{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:15px;
}

.add-assign .btn{
    flex: 0 0 140px;
    padding: 10px 5px;
}

.add-assign .select2-container{
    z-index: 9999;
}

.assign-game{
    background: #ffffff;
    padding: 50px 40px;
}

.assign-user-box{
    margin-top: 40px;
}

.assign-user-box .assign-user-header{
   display: flex;
    align-items: center;
    padding: 15px 15px;
    gap: 15px;
    background-color: rgba(242, 242, 242, 1);
    border-radius: 4px;

}
.assign-user-box .assign-user{
    width: 100%;
}
.assign-user-box .remove-assign-user{
    flex: 0 0 100px;
    text-align: center;
}

.assign-user-box .assign-user-list{
   display: flex;
   align-items: center;
   padding: 15px 15px;
    gap: 15px;
    border-bottom: 1px solid rgba(242, 242, 242, 1);
}

.assign-user-box .assign-user-list .assign-user a span{
    padding-left: 10px;
}

/*Game Edit Sidebar*/
.game-site-content{
    height: 89vh;
    overflow:hidden;
    overflow-y: auto;
}
.game-edit-sidebar{
    border-left: 1px solid rgba(0, 0, 0, .2);
    background-color: #fff;
    height: 89vh;
    overflow: auto;
}

.game-edit-sidebar .game-edit-header {
    border-bottom: 1px solid rgb(204, 204, 204);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.game-edit-sidebar .game-edit-header .game-edit-btn {
    display: flex;
    align-items: center;
}

.game-edit-sidebar .game-edit-header .game-edit-btn .save-btn{
    border: 1px solid #0f609b;
}

.game-edit-sidebar .game-edit-header .game-edit-btn .save-btn:hover{
    border: 1px solid #0a436c;
}



.game-edit-sidebar .game-edit-header button.btn-close {
    background: none;
    margin: 0;
    padding: 0;
    width: inherit;
    margin-right: 15px;
    display: flex;
    height: auto;
    color: rgb(15, 96, 155) !important;
    opacity: 1;
    font-weight: 500;
}

.game-edit-body .box-details .question-list {
    padding: 25px;
}

.game-edit-body .box-details .question-list .list-question {
    display: flex;
    align-items: center;
    padding: 16px 15px;
    gap: 15px;
}

.game-edit-sidebar .question {
    width: 100%;
    display: flex;
    border-bottom: 1px solid rgb(204, 204, 204);
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    padding: 15px 30px;
    gap: 12px;
}

.game-edit-sidebar .question label.form-label {
    margin-bottom: 0;
}

.game-edit-sidebar .question textarea,
.game-list ul li textarea {
    height: 50px;
}

.game-edit-sidebar .box-details .head-title {
    display: flex;
    justify-content: space-between;
    background: rgb(242, 242, 242);
    align-items: center;
    padding: 15px 30px;
}

.game-edit-sidebar .box-details .head-title p {
    margin-bottom: 0;
}

.game-edit-sidebar .media-btn, .game-list, .question-details-form {
    width: 100%;
    display: flex;
    border-bottom: 1px solid rgb(204, 204, 204);
    padding: 25px;
    flex-flow: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    row-gap: 16px;
}

.game-edit-sidebar .media-btn button.upload-btn {
    padding: 8px 20px;
    margin-top: 0;
    border: 1px solid rgba(15, 96, 155, 0.5);
}

.game-edit-sidebar .media-btn button.upload-btn svg {
    margin-right: 10px;
}

.game-edit-sidebar .game-list ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.game-edit-sidebar .question-details-form {
    flex-flow: nowrap;
    gap: 20px;
}

.question-tabs-content .select-dropdown{
    padding: 0;
}

.question-tabs-content .select2-container--default .select2-selection--single{
  border: 1px solid #ced4da;
}
.question-tabs-content .select2-container .select2-selection--single{
    height: 50px;
}

.question-tabs-content .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 48px;
}
.question-tabs-content .select2-container--default .select2-selection--single .select2-selection__arrow{
   height: 48px;
}

.select2-container{
    z-index: 9999;
}


.side-menu-fixed .select2-container{
    z-index: 999;
}

.ui-autocomplete-loading {
    background: white url("../images/ui-anim_basic_16x16.gif") right center no-repeat;
}

.ui-autocomplete{
    overflow: auto;
    height: 200px;
}

.ui-front {
    z-index: 1500 !important;
}

/*Template*/

.edit-temp-box{
  padding: 30px;
  background-color: #ffffff;
}

.edit-temp-box .queList{
  margin-bottom: 10px;
}

.edit-temp-box .questions-template-title-box{
  margin-bottom: 10px;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

/* Game List */
#game-list-sortable .question {
    display: flex;
    gap: 15px;
}

#game-list-sortable .answer-part {
    display: flex;
    gap: 15px;
}

#game-list-sortable .ans-detail {
    width: 75%;
}

#game-list-sortable .ans-detail .head-title {
    display: flex;
    justify-content: space-between;
}

#game-list-sortable .accordion-collapse.ui-sortable-handle {
    background: #f2f2f2;
}

#game-list-sortable .accordion-button:not(.collapsed) {
    color: #0f609b;
    background-color: transparent;
    box-shadow: none;
    font-weight: bold;
}

#game-list-sortable .box-details {
    background: #fff;
    padding: 15px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    margin-top: 20px;
}

#game-list-sortable .box-details .media-btn {
    display: flex;
}

#game-list-sortable .box-details .media-btn .openmedia,
#game-list-sortable .box-details .media-btn .endmedia {
    position: relative;
    margin-right: 20px;
}

#game-list-sortable .box-details .media-btn .delete-btn {
    position: absolute;
    top: -7px;
    right: 0px;
    z-index: 9999999;
    margin-left: 0;
    background: red;
    height: 15px;
    width: 15px;
    line-height: 13px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
}

#game-list-sortable .box-details .question-list .list-question-items {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    justify-content: space-between;
    padding:0 20px;
}


#game-list-sortable .box-details .question-list .list-question-items .ans-action{
   display: flex;
    align-items: center;
    gap: 10px;
}

/*new css*/
.user-profile#questionListTable #game-list-sortable .box-details .question-list .list-question-items .form-floating{
    width: 100%;
 }

 .pgs-maincontent .pgsClass .page-content-tab .game-top{
   display: flex;
   justify-content: end;
 }

  .pgs-maincontent .pgsClass .page-content-tab .game-top a.game-btn{
    color: #fff;
    margin: 2px;
    padding: 6px 16px;
    border-radius: 4px;
    background-color: #0f609b;
  }
  .pgs-maincontent .pgsClass .page-content-tab .game-top a.game-btn:hover{
     background-color: #0a436c;
   }
 .pgs-maincontent .pgsClass .page-content-tab .table.table-user.dataTable td.action-archive.dt-type-numeric{
    text-align: left !important;
 }

 .user-games li a{
   font-size: 24px;
 }
.page-title-box.add-user-button {
    position: absolute;
    right: 32px;
    top: 25px;
}
.search-align div.dt-search {
    text-align: right;
    margin-right: 180px !important;
}




.ui-tabs.ui-corner-all.ui-widget.ui-widget-content{
 border-radius: 10px;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active{
     background: #0f609b;
}
.ui-tabs .ui-tabs-nav .ui-tabs-anchor{
    padding: 13px 25px !important;
    margin-right: 5px;
}

.pgs-maincontent #bulk-action-form .dt-empty-footer table.dataTable th.dt-type-numeric,
.pgs-maincontent #bulk-action-form .dt-empty-footer .table.table-user.dataTable tbody td.dt-type-numeric{
  text-align: left;
}

#nav-content .nav-button.active{
    color: #0dcaf0;
    background: #fff;
    margin-left: 0;
    padding-left: 30px;
}
#nav-toggle:checked ~ #nav-content .nav-button span {
    opacity: 0;
    transition: opacity 0.1s;
    display: none;
}

.game-library .table .myTable.table .game-item .actions a.btn.btn-primary,
.game-library .table .myTable.table .game-item .actions a.btn.btn-secondary,
.assigned-games .table .myTable.table .game-item .actions a.btn.btn-primary,
.assigned-games .table .myTable.table .game-item .actions a.btn.btn-secondary,
.created-games .table .myTable.table .game-item .actions a.btn.btn-secondary,
.created-games .table .myTable.table .game-item .actions a.btn.btn-primary{
 color: #ffffff;
}

.pgs-maincontent .ui-tabs .ui-widget-header{
    margin: 5px;
    padding: 10px;
    border-radius: 6px;
    border: none;
    background: #dceefb;
}
.pgs-maincontent .ui-tabs .ui-tabs-nav li.ui-tabs-tab {
    border-radius: 6px !important;
    border: none;
    margin-right: 5px;
}
.pgs-maincontent .ui-tabs .ui-tabs-nav li.ui-tabs-tab:hover {
    background: #0f609b;
      color: #ffffff;
}
.pgs-maincontent .ui-tabs .ui-tabs-nav li.ui-tabs-tab:hover a{
    color: #ffffff;
}

.pgs-maincontent #bulk-action-form .dt-empty-footer .table.table-user.dataTable tbody td{
      width: 16.66% !important;
}

 table.table-bordered.table-hover.dataTable,
 table.table-user.table-align{
  width: inherit !important;
}

/* Responsive */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
}

@media (max-width: 1199px)  {

  .user-profile {
    flex-direction: column;
    gap:15px;
  }

  .user-profile .profile-img{
    margin-right: 0px;
  }

  .user-profile .user-form {
    width: 100%;
  }

}

@media (max-width: 991px)  {

    h2 {
      font-size: 24px;
    }

    .side-menu-fixed {
      position: relative;
      top: 0;
      width: 100%;
      overflow: hidden;
      /* height: 385px; */
    }


    .header {
      padding: 15px 0px 15px 0px;
    }

    .trivalry-large-logo{
      height: auto;
      padding: 50px;
    }

    .trivalry-large-logo .trivalry-large-img img {
      width: 50%;
    }

    .trivalry-large-logo .trivalry-large-img .trivalry-title {
      margin-top: 20px;
    }

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



    /*Game Edit Sidebar*/

    .game-edit-sidebar{
      height: auto;
    }


  .setting-list ul.site-settings-list {
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 15px;
  }

  .setting-list ul.smit-settings-list{
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 15px;
  }

  .setting-list ul li:last-child{
    margin-bottom: 0px;
  }



}

@media (max-width: 767px)  {
    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    .page-content-tab .page-title-box {
        align-items: self-start;
        flex-direction: column;
    }

    .side-menu-fixed {
        margin-left: 0;
        height: auto;
    }

    .page-content-tab {
        padding: 30px 0px 50px 0px;
    }

    .game-site-content{
        height: auto;
    }

    .trivalry-large-logo {
        height: auto;
        padding: 50px 15px;
    }
}

@media (max-width: 575px) {
  .user-profile{
    padding: 30px 20px;
  }
  .edit-temp-box .questions-template-title-box{
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 479px) {
    .register-form .register, .login .login-form {
        padding: 30px;
    }
}

@media (max-width: 365px)  {

    .game-edit-sidebar .game-edit-header {
        padding: 15px 15px;
    }

    .game-edit-sidebar .game-edit-header button.btn-close {
        margin-right: 10px;
    }

    .game-edit-sidebar .question {
        padding: 15px 15px;
    }

    .game-edit-sidebar .box-details .head-title {
        padding: 15px 15px;
    }


    .game-edit-sidebar .media-btn, .game-list, .question-details-form {
        padding: 15px;
    }

    .game-edit-sidebar .media-btn button.upload-btn {
        padding: 8px 20px;
        margin-top: 0;
        border: 1px solid rgba(15, 96, 155, 0.5);
    }

    .game-edit-sidebar .media-btn button.upload-btn svg {
        margin-right: 10px;
    }

    .game-edit-sidebar .game-list ul {
        gap: 10px;
    }

    .game-edit-sidebar .question-details-form {
        gap: 10px;
    }
}

.search-filter {
    margin: 10px;
    height: 50px;
    border-style: double;
    border-width: 5px;
}

.preview {
    text-align: center;
    overflow: hidden;
    width: 160px;
    height: 160px;
    margin: 10px;
    border: 1px solid red;
}
.modal-lg{
    max-width: 700px !important;
}
.disabled-download {
    pointer-events:none;
    cursor: not-allowed;
    opacity:0.6;
}
.table-user {
    overflow-y: auto;
    /* height: 100vh; */
    position: relative;
    background: #ffffff;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 4px;
}


/* Left sidebar for user menu  */
:root {
    --navbar-width: 256px;
    --navbar-width-min: 80px;
    --navbar-dark-primary: #0f609b;
    --navbar-dark-secondary: #2c3e50;
    --navbar-light-primary: #f5f6fa;
    --navbar-light-secondary: #8392a5;
  }

  html, body {
    margin: 0;
    background: var(--background);
  }

  #nav-toggle:checked ~ #nav-header {
    width: calc(var(--navbar-width-min) - 16px);
  }
  #nav-toggle:checked ~ #nav-content, #nav-toggle:checked ~ #nav-footer {
    width: var(--navbar-width-min);
  }
  #nav-toggle:checked ~ #nav-header #nav-title {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s;
  }
  #nav-toggle:checked ~ #nav-header label[for=nav-toggle] {
    left: calc(50% - 8px);
    transform: translate(-50%);
  }
  #nav-toggle:checked ~ #nav-header #nav-toggle-burger {
    background: var(--navbar-light-primary);
  }
  #nav-toggle:checked ~ #nav-header #nav-toggle-burger:before,
  #nav-toggle:checked ~ #nav-header #nav-toggle-burger::after {
    width: 25px;
    background: #ffffff;
    transform: translate(0, 0) rotate(0deg);
  }
  #nav-toggle:checked ~ #nav-content .nav-button span {
    opacity: 0;
    transition: opacity 0.1s;
  }
  #nav-toggle:checked ~ #nav-content .nav-button .fas {
    min-width: calc(100% - 16px);
  }
  #nav-toggle:checked ~ #nav-footer #nav-footer-avatar {
    margin-left: 0;
    left: 50%;
    transform: translate(-50%);
  }
  #nav-toggle:checked ~ #nav-footer #nav-footer-titlebox, #nav-toggle:checked ~ #nav-footer label[for=nav-footer-toggle] {
    opacity: 0;
    transition: opacity 0.1s;
    pointer-events: none;
  }

  #nav-bar {
    position: absolute;
    left: 1vw;
    top: 100px;
    height: calc(100% - 2vw);
    background: var(--navbar-dark-primary);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    color: var(--navbar-light-primary);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    overflow: hidden;
    user-select: none;
    z-index: 999;
  }
  #nav-bar hr {
    margin: 0;
    position: relative;
    left: 16px;
    width: calc(100% - 32px);
    border: none;
    border-top: solid 1px var(--navbar-dark-secondary);
  }
  #nav-bar a {
    color: inherit;
    text-decoration: inherit;
  }
  #nav-bar input[type=checkbox] {
    display: none;
  }


  #nav-header {
    position: relative;
    width: var(--navbar-width);
    left: 16px;
    width: calc(var(--navbar-width) - 16px);
    min-height: 80px;
    background: var(--navbar-dark-primary);
    border-radius: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    transition: width 0.2s;
  }
  #nav-header hr {
    position: absolute;
    bottom: 0;
  }

  #nav-title {
    font-size: 1.5rem;
    transition: opacity 1s;
  }

  label[for=nav-toggle] {
    position: absolute;
    right: 0;
    width: 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  #nav-toggle-burger {
    position: relative;
    width: 25px;
    height: 2px;
    background: var(--navbar-dark-primary);
    border-radius: 99px;
    transition: background 0.2s;
  }
  #nav-toggle-burger:before, #nav-toggle-burger:after {
    content: "";
    position: absolute;
    top: -6px;
    width: 10px;
    height: 2px;
    background: var(--navbar-light-primary);
    border-radius: 99px;
    transform: translate(2px, 8px) rotate(30deg);
    transition: 0.2s;
  }
  #nav-toggle-burger:after {
    top: 6px;
    transform: translate(2px, -8px) rotate(-30deg);
  }

  #nav-content {
    margin: 0;
    padding: 16px 0;
    position: relative;
    flex: 1;
    width: var(--navbar-width);
    background: rgb(220, 238, 251);
    box-shadow: 0 0 0 16px var(--navbar-dark-primary);
    direction: rtl;
    overflow-x: hidden;
    transition: width 0.2s;
  }
  #nav-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  #nav-content::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background-color: #0f609b;
  }


  .nav-button {
    position: relative;
    margin-left: 32px;
    height: 54px;
    display: flex;
    align-items: center;
    color: #0f609b;
    direction: ltr;
    cursor: pointer;
    z-index: 1;
    transition: color 0.2s;
  }
  .nav-button span {
    transition: opacity 1s;
  }
  .nav-button .fas {
    transition: min-width 0.2s;
  }
  #nav-bar .fas {
    min-width: 3rem;
    text-align: center;
  }


/*Sidebar Css*/
.pgs-maincontent{
  display: flex;
}
/*.left-sidebar .page-content-tab{
    flex: 1 auto;
    margin-left: 80px;
    transition: margin-left .3s ease;
    width: calc(100% - 80px);
}*/
.pgsClass{
    flex: 1 auto;
    margin-left: 100px;
    transition: margin-left .3s ease;
    width: calc(100% - 100px);
}
.pgsClass.active{
    margin-left: 300px;
    width: calc(100% - 300px);
}
