.user-panel {
    background-image: url('../src/user-panel.jpg');
    background-size: cover;
    min-height: 100vh;
    overflow: auto
}

.user-tictickets-container, #ticket-chats-container {
    overflow: auto;
}

.ticket-details-container, .user-tictickets-container {
    background-color: rgba(0, 0, 0, 0.5);
    height: 60vh;
    padding: 5px;
}

.main-container {
    background-color: rgba(51, 52, 57, 0.5);
    padding: 15px;
    margin-top: 30px;
    /* overflow: auto; */
}

/*new tabs*/

.tab-wrap {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
    list-style: none;
}

.tab {
    display: none;
}

.tab:checked:nth-of-type(1)~.tab__content:nth-of-type(1) {
    opacity: 1;
    -webkit-transition: 0.5s opacity ease-in, 0.2s transform ease;
    transition: 0.5s opacity ease-in, 0.2s transform ease;
    position: relative;
    top: 0;
    z-index: 10;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    text-shadow: 0 0 0;
}

.tab:checked:nth-of-type(2)~.tab__content:nth-of-type(2) {
    opacity: 1;
    -webkit-transition: 0.5s opacity ease-in, 0.2s transform ease;
    transition: 0.5s opacity ease-in, 0.2s transform ease;
    position: relative;
    top: 0;
    z-index: 10;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    text-shadow: 0 0 0;
}

.tab:checked:nth-of-type(3)~.tab__content:nth-of-type(3) {
    opacity: 1;
    -webkit-transition: 0.5s opacity ease-in, 0.2s transform ease;
    transition: 0.5s opacity ease-in, 0.2s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    text-shadow: 0 0 0;
}

.tab:checked:nth-of-type(4)~.tab__content:nth-of-type(4) {
    opacity: 1;
    -webkit-transition: 0.5s opacity ease-in, 0.2s transform ease;
    transition: 0.5s opacity ease-in, 0.2s transform ease;
    position: relative;
    top: 0;
    z-index: 10;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    text-shadow: 0 0 0;
}

.tab:checked+label {
    background-color: transparent;
    color: gray;
    cursor: default;
}

.tab:checked+label:hover {
    box-shadow: 0 -1px 0 #fff inset;
    background-color: #fff;
}

.tab+label {
    cursor: pointer;
    display: block;
    text-decoration: none;
    background-color: #000;
    color: lightgray;
    -webkit-box-flex: 3;
    -webkit-flex-grow: 3;
    -ms-flex-positive: 3;
    flex-grow: 3;
    text-align: center;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    height: 40px;
    box-sizing: border-box;
    padding: 5px;
}

@media (min-width:768px) {
    .tab+label {
        width: 20px;
    }
}

.tab+label:hover {
    background-color: #fff;
    color: #000;
}

tab__content>div {
    height: 300px;
    overflow: auto;
}

/*#############*/

.ticket-item {
    min-height: 50px;
    background: #000;
    margin-bottom: 5px;
}

.ticket-item>div {
    display: flex;
    justify-content: center;
}

.ticket-item:hover, .reservtion-item:hover {
    cursor: pointer;
    box-shadow: 0px 1px 2px gray;
}

.ticket-item>label {
    display: block;
    text-align: center;
    color: lightgray;
    padding-top: 3px;
}

.ticket-item label:hover {
    cursor: pointer;
}

.ticket-item>div label {
    text-align: center;
    color: lightgray;
    font-size: small;
}

/* .open{

}
.closed{
    } */

#new-ticket-btn {
    width: 50%;
    border-radius: 15px;
    margin: 8px auto;
    display: block;
    background-color: #fff;
    border: 1px solid #000;
    padding: 3px 0;
}

#new-ticket-btn:hover, #send-answer:hover, #send-new-ticket:hover {
    background-color: #000;
    border: 1px solid #fff;
    color: #fff
}

.ticket-toolbox {
    text-align: left;
}

.ticket-toolbox button {
    border-radius: 15px;
    width: 100px;
    background-color: #fff;
    border: 1px solid #fff;
    padding: 2px;
    margin: 5px auto;
    display: block;
    color: #000;
}

.ticket-toolbox button:hover {
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
}

#subject-selector {
    display: block;
    margin: 5px auto;
    border: none;
    color: #fff;
    border-radius: 15px;
    min-width: 200px;
    text-align: center;
    text-align-last: center;
    background-color: #333;
}

.hide {
    display: none;
}

.show {
    display: block;
}

#ticket-details-header {
    background-color: #000;
    padding: 10px;
    color: lightgray;
    display: flex;
    justify-content: space-between;
    position: fixed;
}

#ticket-chats-container {
    position: relative;
    top: 40px;
    height: 50vh;
}

.user-text {
    text-align: right;
    padding: 10px;
    background-color: rgba(96, 96, 96, 0.5);
    margin: 10px;
}

.admin-text {
    text-align: right;
    padding: 10px;
    background-color: rgba(81, 183, 102, 0.5);
    margin: 10px;
}

.reservtion-history-container {
    height: 60vh;
    overflow: auto;
}

.reservtion-item>div {
    text-align: center;
}

.error {
    max-width: 500px;
}

/* new 99.6.25 */

.reservtion-item {
    background-color: #000;
    padding: 10px;
    color: lightgray;
    margin: 0 0 5px 0;
}

.reservtion-item label {
    /* border-left: 1px solid #fff; */
    /* padding:0 10px; */
}

/* .reservtion-item div{
text-align: center;
padding-right:15px ;
width: 400px;
} */

@media (min-width:991px) {
    .reservtion-item>div:not(:last-child) {
        border-left: 1px solid #aaa;
    }
}

.fa-check-square-o {
    float: right;
    margin: 5px;
}

.reservtion-item>div {
    float: right !important;
}

/* new 99.6.28 */

.message-container {
    margin: 0 15px;
    padding: 5px 15px;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 10;
}

.message-container label {
    float: right;
    font-size: 20px;
}

.message-container label:hover {
    cursor: pointer;
    color: gray;
}

/* exist befor */

.tab__content {
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: -1;
    opacity: 0;
    left: 0;
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    margin-top: 10px;
}

.ticket-item i {
    color: rgb(20, 151, 47);
    font-size: 18px;
    margin-top: 2px;
}

.clicked-ticket {
    background-color: rgb(60, 60, 60);
    color: #000 !important;

}