/************ GLOBAL **************/
.hide {
    display: none;
}
.dnone {
    display: none;
}

.show {
    display: block;
}

.dashedline {
    border-bottom: 1px dashed #eee;
}

.solidline {
    border-bottom: 1px solid #eee;
}

img {
    max-width: 100%;
}

/*AJAX*/
.btnloading .ajaxnow {
    display: none;
}

.ajaxloading {
    display: none;
}

.btnloading .ajaxloading {
    display: block;
}

.errnote {
    font-size: 12px;
    line-height: 18px;
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity));
}

.errorborder {
    border: 1px solid #d96b6b;
}

/* AJAX RES */
.ajaxres-container {
    position: fixed;
    max-width: 350px;
    z-index: 201;
    right: 0;
}
.ajaxres-container>div{
    position: relative;
}
#ajaxresults {
    position: absolute;
    top: 10px;
    right: 30px;
    width: 350px;
    max-width: calc(100%-30px);
}
#ajaxresults > div {
    padding: 10px 30px 10px 15px;
    margin-bottom: 10px;
    width: 100%;
    position: relative;
    border: 1px solid;
    border-radius: 3px;
}

@media only screen and (max-width: 400px) {
    .ajaxres-container {
        max-width: 200px;
    }
    #ajaxresults {
        width: 200px;
    }
}

#ajaxresults > div > i.fa-xmark {
    position: absolute;
    right: 10px;
    top: calc(50% - 7px);
    cursor: pointer;
    color: inherit !important;
}

#ajaxresults .success {
    color: #058840;
    background-color: #d5f1e3;
    border-color: #c1ead3;
}

#ajaxresults .danger {
    color: #a91b3e;
    border-color: #ffc5d4;
    background-color: #f6d1dc;
}

#ajaxresults .warning {
    color: #a07700;
    border-color: #f6e7b1;
    background-color: #ffeeb1;
}

#ajaxresults .info {
    color: #484848;
    border-color: #dddddd;
    background-color: #e4e4e4;
}

/*maxlength*/
.mxlgncntrp {
    text-align: right;
    font-size: 9px;
    line-height: 12px;
    position: relative;
    overflow: visible;
}

.mxlgncntrp > span {
    display: block;
    background: rgba(0, 0, 0, 0.05);
    color: #666;
    padding: 0 5px;
    position: absolute;
    right: 0;
    top: -12px;
    border-radius: 3px 0 5px 0;
    border: none;
}
/*errnotediv*/
.errnotediv{
    overflow: auto;
    font-size: 12px;
    line-height: 16px;
    color: var(--bs-text-danger);
}



/* js inline edit */
.inlneditbtnsave {
    display: none;
}

.inlneditbtnset.active .inlneditbtnsave {
    display: inherit;
}

.inlneditbtnset.active .inlneditbtnedit {
    display: none;
}
table .inlneditfield {
    border: 1px solid #ddd;
    padding: 3px;
    border-radius: 3px;
}
table .editmain .errnotediv{
    position: absolute
}


/* MODAL */
.modalwrpbg {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    padding-top: 30px;
}
.modalwrpr {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    max-height: 100%;
    overflow: auto;
}
.modalmain>div{
    margin-left: auto !important;
    margin-right: auto !important;
}
/*modal gen*/
#genmdlbtnmain .modalmain>*:first-child{
    position: relative;
}
#gnmbtclose{
    position: absolute;
    line-height: 25px;
    width: 25px;
    text-align: center;
    background: rgba(0,0,0,0.1);
    padding: 0;
    top: 5px;
    right: 5px;
    border-radius: 3px;
    cursor: pointer;
}





/**********************************************************************************
*************************************** PROJECT ***********************************
***********************************************************************************/

/* head */
#kt_app_sidebar_mobile_toggle i {
    position: absolute;
    right: 10px;
    top: 10px;
    background: rgba(0, 0, 0, 0.1);
}

#kt_app_sidebar_mobile_toggle i {
    padding: 5px;
    border-radius: 3px;
}

/* parent page nav */
.parentpgnav{
    margin-bottom: 10px;
}
.parentpgnav>a{
    border: 1px solid;
    border-radius: 2px;
    padding: 0 5px;
}


/* pagination */
.ulpagination{
	list-style: none;
	display: flex;
}
.ulpagination li{
	background: #f9f9f9;
	padding: 0;
	margin: 0 1px;
	border-radius: 4px;
	line-height: 1.5;
}
.ulpagination li:hover{
	background: #009ef7;
}
.ulpagination li:hover i{
	color: #fff;
}
.ulpagination li.lipagenav{
    margin-right: 2px;
	padding: 0;
	background: transparent !important;
}
.ulpagination li.lipagenav:hover{
	background: transparent !important;
}
.ulpagination li .apagination{
}
.ulpagination i{
	color: #009ef7;
	display: inline-block;
	line-height: 40px;
    padding: 0 7px;
}
.ulpagination li.disabled{
    pointer-events: none;
}
.ulpagination .disabled i{
	color: #999;
}
.ulpagination select{
	margin: 0 2px;
}
.ulpagination .fa-angle-double-right{
	margin-right: 0;
}

/* note zoom */
.noteimgdiv{
    border: 1px solid #ddd;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    width: 200px;
    height: 100px;
}



/*******************************
****** OFFLINE **************
************************/

/*** ADD ST ***/
#DQyZQGLeDD.err {
    background: #ffdede;
    border-color: #ffdede;
}

#IDemaRIuTA,#IDemaRIuTAxm {
    font-size: 9px;
    color: rgb(198, 46, 46);
    text-align: center;
}

.fright {
    float: right;
    font-weight: 900;
}

.adstprcdvmst2 {
    margin-bottom: 15px;
}

.adstprcdvmst2 .fright {
    min-width: 70px;
}

.adstprcdvmst2 .fright span {
    float: right;
}

.adstprcdvmst2 p {
    margin: 0;
    padding: 5px 0;
    border-bottom: 1px dashed #ccc;
}

.stjprch4 {
    border: none;
    margin: 0;
    padding: 5px 0;
}

.stjprch4:first-child {
    border-bottom: 1px dashed #ccc;
}

.dvcpnanddisc {}

.dvcpnanddisc > div {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.dvcpnanddisc input {
    max-width: 200px;
}

.dvcpnanddisc button {
    white-space: nowrap;
}

.prdiscross {
    position: absolute;
    right: -20px;
    top: 8px;
    padding: 5px;
    cursor: pointer;
}

.prdiscrossx {
    position: absolute;
    right: -20px;
    top: 0px;
    padding: 5px;
    cursor: pointer;
}

.prdiscross i,
.prdiscrossx i {
    font-size: 12px;
}


/***sort***/
.crspgsubul {
    list-style: none;
    padding: 0
}

.crspgsubul>li {
    padding: 15px;
    display: flex;
    position: relative;
    margin: 0 0 10px;
    background: #eee;
    border: 1px solid #e5e5e5;
    border-radius: 4px
}

.crspgsubul .crspsubname {
    width: calc(100% - 70px)
}

.crspgsubul .btn {
    width: 35px
}
.resortcrsbtn {
    display: none
}
.crspgsubdv.sorting {
    padding: 10px;
    background: #eee;
    border: 1px solid #ddd
}
.sorting .crspgsubul>li {
    cursor: move!important;
    background: #fff
}

.sorting .crspgsubul .crspsubname {
    width: auto
}

.sorting .srthidebtn {
    display: none !important
}

.sorting .resortcrsbtn {
    display: block
}