:root {
    --mainMargin: calc(100% - 30rem);
    /* --mainMarginFolioList: calc(100% - 4rem); */
    --white: #ffffff;
    --colorDarkMode: rgb(49, 49, 49);
}

input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-warning {
    background-color: rgb(250, 250, 179);
    border: none;
}

    .btn-warning:hover,
    .btn-warning:focus {
        background-color: rgb(250, 250, 179) !important;
    }

.btn-primary {
    border: none;
    background-color: rgb(114, 114, 255);
}

.btn-danger {
    background-color: rgb(184, 63, 164);
    max-height: 2.4rem;
}

.folioReserve {
    background-color: #ff2b3d;
    color:white
}
.folioReserve:hover {
    background-color: #ff6370
}
.folioBeforeReserve {
    background-color: rgb(73, 0, 119);
    color:white
}
.folioBeforeReserve:hover {
    background-color: rgb(125, 79, 153)
}
/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.btnRefresh {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background-color: rgb(255, 255, 120);
    padding: 0.6rem 1.6rem;
    border-radius: 10px;
    border: 1px solid rgb(110, 110, 110);
    font-size: 14px;
    z-index: 199;
}

    .btnRefresh:hover {
        opacity: 0.8;
    }

@media only screen and (max-width: 1600px) {
    :root {
        --mainMargin: calc(100% - 15rem);
        
        --white: #ffffff;
    }
}
@media only screen and (min-width: 1500px) {
     #tableFolio{
        width:calc(100% - 10rem);
        max-width: 100rem;
        margin:auto !important
    } 

     #filterBoxFolio{
        width:calc(100% - 10rem);
        max-width: 100rem;
        margin: auto !important;
    }  
}

@media only screen and (max-width: 1500px) {
    #folioTableContainer{
        padding-right: 10px;
    }
    #filterBoxFolio{
        padding-right: 10px;
    }
   
}

@media only screen and (max-width: 1200px) {
    :root {
        --mainMargin: calc(100% - 4rem);
        --white: #ffffff;
    }


}




.primaryTable {
    margin: auto;
    width: var(--mainMargin);
}

.primaryFilterBox {
    margin: auto;
    width: var(--mainMargin);
}

#filterBox {
    margin: auto;
    width: var(--mainMargin);
    padding: 0 16px 0 16px;
}

.emptyRoomAlert {
    margin: auto;
    width: var(--mainMargin);
    padding: 1rem 4rem;
    margin-bottom: 2rem;
}

@media only screen and (max-width: 1024px) {
    .primaryTable {
        width: 100%;
    }

    .primaryFilterBox {
        width: 100%;
    }

    #filterBox {
        width: 100%;
    }

    #myTable {
        margin-right: 0 !important;
        width: 100% !important;
    }
  
    :root {
        --mainMargin: calc(100% - 8px);
        --white: #ffffff;
    }

    .btnRefresh {
        bottom: 0.7rem;
        left: 0.7rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
}

body {
    font-family: iranyekan;
    background-color: var(--colorDarkMode);
}

label {
    color: white;
}

.empty {
    background-color: white;
}

#myTable {
    margin: auto;
    width: var(--mainMargin);
}

.reserveBtn a:hover {
    opacity: 0.6;
}

.reserveBtn a {
    border-radius: 4px;
    padding: 5px 10px 5px 10px;
    width: calc(100% - 8px);
    color: white;
    text-decoration: none;
    display: inline-block;
    min-width: 3rem;
}

.reserveBtn button {
    border-radius: 4px;
    padding: 5px 10px 5px 10px;
    width: calc(100% - 8px);
    color: white;
    text-decoration: none;
    display: inline-block;
}

.reserveBtn {
    padding: 2px !important;
}

.foliobtn a {
    background-color: rgb(122, 122, 122);
}

.nav-link {
    margin: 0.5rem;
}

    .nav-link.btn {
        display: inline-block;
        padding: 8px 1rem !important;
    }

.table-danger1 {
    color: white;
}

    .table-danger1:hover td {
        color: white !important;
    }

#tableReserve td:nth-child(13) {
    border-right: 4px solid black !important;
}

.deleteButton i {
    font-size: 1.6rem;
    color: red;
    cursor: pointer;
}

.btnDelete {
    text-align: right;
    vertical-align: bottom;
}

    .btnDelete button {
        color: rgb(255, 0, 0);
        padding: 2px;
        border-radius: 3px;
        background-color: transparent;
    }

        .btnDelete button:hover {
            opacity: 0.6;
        }

.frmReserveValidation span {
    color: red;
    font-size: 18px;
    font-weight: bold;
    margin-left: 0.5rem;
}

.reserveBtn button:hover {
    opacity: 0.6;
}

thead th {
    text-align: center;
    vertical-align: middle;
}

tbody td {
    text-align: center;
    vertical-align: middle;
}

.folioRed {
    background-color: rgb(202, 3, 3) !important;
    color: white !important;
}
.FolioHasExpense{
    background-color: rgb(60, 71, 118) !important;
    color: white !important;
}
.neutral {
    background-color: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
}
.allPaymentsConfirmed{
    background-color: rgb(141, 195, 141) !important;;
    color: white !important;
} 
.allPeymentsConfirmedAndCheckout{
    background-color: rgb(0, 136, 0) !important;;
    color: white !important;
}
.peymentsMoreThanBedehi{
    background-color: rgb(78, 55, 84) !important;;
    color: white !important;
}
.folioCheck {
    background-color: purple !important;
    padding: 4px 8px;
    border-radius: 4px;
}
.folioCode{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
} 
.FolioExpense{
    position: relative;
}
.FolioExpense a{
    background-color: rgb(246, 246, 246);
    min-width: 100% !important;
    padding:8px 10px;
    border-radius: 4px;
    color: black;
    text-decoration: none;
    display: block;
}
.FolioExpense a:hover{
    background-color: rgb(170, 170, 170);
    cursor: pointer;
}
.minibar{
    position: relative;
}
.minibar a{
    background-color: rgb(194, 87, 0);
    min-width: 100% !important;
    padding:8px 10px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    display: block;
}
.minibar a:hover{
    background-color: rgb(170, 116, 72);
    cursor: pointer;
}
.totalPayments:hover{
    color: rgb(253, 203, 97) !important;
    cursor: pointer;
}
.btnLogout:hover {
    background-color: rgb(221, 54, 54) !important;
}

.frmReserveValidationHafDay {
    color: red;
    font-size: 18px;
    font-weight: bold;
    margin-left: 0.5rem;
}

.form-check {
    display: inline-block;
}

.NameFamilyLink,
.NameFamilyLink:hover {
    text-decoration: none;
    color: white;
}

    .NameFamilyLink:hover {
        color: rgb(197, 197, 197);
    }

.tableData {
    margin-top: 1rem;
}

.btnChangeRoom {
    width: 4rem !important;
}

    .btnChangeRoom a {
        text-decoration: none;
    }

        .btnChangeRoom a:hover {
            opacity: 0.7;
        }


.bi-pen{
    cursor:pointer;
}

.editReserve i{
    position:absolute;
    font-size:12px;
    top:2px;
    right:2px;
}
.editReserve i:hover{
    opacity: .7;
}
.editReserveBox{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: gray;
    z-index: 10;
}

.editInputValue{
    position: absolute;
    bottom: 0;
    left: 0;
}

.btnSubmitEditReserve{
    position: absolute;
    top:-4px;
    right: 0;
    cursor: pointer;
}
.btnSubmitEditReserve:hover{
    opacity: .7;
}

.btnEditWebsite{
    position: absolute;
    top:2px;
    right: 2px;
    cursor: pointer;
    font-size: 12px;
}

.btnEditWebsite:hover{
    opacity: .7;
}

.chooseWebsiteToEdit{
    z-index:99; background-color:rgba(0,0,0,.7)
}

.chooseWebsiteToEdit div{
    width: 80%;
    max-width: 12rem;
    bottom: 50%;
    right: 50%;
    transform: translate(50%,50%);
    position: absolute;
}
.chooseWebsiteToEdit li{
    padding: 1rem;
    cursor: pointer;
}
 ul{
    margin: 0;
    padding: 0;
}
.chooseWebsiteToEdit li:hover{
background-color:  rgb(224, 224, 224);
}

.inputCheckFaktor{
    width:1.5em;
    height:1.5rem;
}

.dontChangeRoom{
    border: 6px solid rgb(47, 103, 255) !important;
}