/*
 * INITIAL              VERSION         DATE(YYYY-MM-DD)        CHANGE DESCRIPTION
 * ========================================================================================================
 * RIFQI                1.0             2023-08-23	        - CREATE INIT, set low opacity if button is disabled
 */

/*form {
    border: 3px solid #f1f1f1;
}*/
body {
    background: #f0f0f0;
}
/* skeleton loading */
.skeleton-bar {
    display: inline-block;
    height: fit-content;
    position: relative;
    overflow: hidden;
    background-color: rgb(246, 246, 246);
    border-radius: 3px;
}

.skeleton-bar::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg, rgb(246, 246, 246) 0, rgba(255, 255, 255, 0.5) 30%, rgba(255, 255, 255, 0.5) 60%, rgb(246, 246, 246) 80%);
    animation: shimmer 1s infinite;
    content: '';
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.skeleton-bar * {
    visibility: hidden;
}

/* skeleton loading */

.custom-top-bar {
    padding: 10px 0px;
    width: 100%;
    height: 40px;
    text-align: center;
}

.custom-top-bar p.left-menu {
    float: left;
    width: 50%;
    left: 0;
    text-align: left;
}

.custom-top-bar p.right-menu {
    float: right;
    width: 50%;
    left: 0;
    text-align: right;
}

.custom-top-bar p a span {
    margin: 5px;
    font-size: 20px !important;
    color: #fb5b26;
}

.carousel-container {
    padding: 10px;
    margin-top: 50px;
    background: rgb(251,91,38);
    background: linear-gradient(180deg, rgba(251,91,38,1) 20%, rgba(255,110,63,1) 50%, rgba(240,240,240,1) 80%);
    /* padding-bottom: 80px;
    margin-bottom: -150px; */
}

#myCarousel, #myCarousel .carousel-inner, #myCarousel img, .carousel-control {
    border-radius: 7px;
}

#notifIcon {
    background-color: crimson;
    color: white;
    height: 16px;
    border-radius: 5px;
    padding: 1px 5px;
    text-align: center;
    font-size: 10px !important;
    margin-left: -35px;
    position: absolute;
    line-height: 1;
    margin-top: 10px;
    font-weight: bold;
    border: 2px solid #fff;
}

#profileIcon {
    background-color: crimson;
    color: white;
    height: 10px;
    border-radius: 5px;
    padding: 3px;
    text-align: center;
    margin-left: -20px;
    position: absolute;
    line-height: 1;
    margin-top: 12px;
    font-weight: bold;
    border: 2px solid #fff;
}

input[type=text], input[type=password], input[type=email], input[type=number], textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 25px;
}

input[type=select], select {
    width: fit-content;
    height: 46px;
    padding: 8px;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    background: #fff;
    border-radius: 25px;
}

button, button.btn {
    background-color: #fb5b26;
    color: white;
    padding: 10px;
    margin: 5px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    font-weight: bold !important;
    border-radius: 25px;
    width: 250px;
}

button:hover {
    opacity: 0.8;
}

button.btn.close-modal {
    color: #fff;
    border: 1px solid #fb5b26;
    background-color: #ff0000;
}

button.btn.plain {
    color: #fb5b26;
    border: 1px solid #fb5b26;
    background-color: #fff;
}

.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #ea0000;
}

/* .imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
} */

img.avatar {
    width: 40%;
    border-radius: 50%;
}

.container {
    padding: 10px;
    background: #f0f0f0;
    padding-bottom: 30px;
    /* padding-top: 80px; */
}

.container.content-holder {
    padding-top: 60px;
    padding-bottom: 80px;
    text-align: left;
}

.container.content-holder .card-view {
    text-align: left;
}

span.psw {
    float: right;
    padding-top: 16px;
}

/* card view */
/* member name panel */

.card-view {
    padding: 15px;
    border-radius: 7px;
    /* border: 1px solid #ececec; */
    background: #ffffff;
    text-align: center;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.card-view .card-view {
    padding: 0px;
}

.card-view p.member-name {
    color: #fb5b26;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    width: 100%;
}

.card-view p.member-point {
    color: #fb5b26;
    font-size: 50px;
    font-weight: bold;
    line-height: 1.2;
    display: inline-grid;
}

.card-view p.member-point span {
    color: #fb5b26;
    font-weight: bold;
}

.card-view span {
    color: #000;
    font-size: 14px;
    font-weight: normal;
}

/* Change styles for span and cancel button on extra small screens */

@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
}

.alert {
    padding: 20px;
    background-color: #f44336;
    color: white;
    opacity: 1;
    transition: opacity 0.6s;
    margin-bottom: 15px;
}

.alert.success {
    background-color: #4CAF50;
}

.alert.info {
    background-color: #2196F3;
}

.alert.warning {
    background-color: #ff9800;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

/*.closebtn2 {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn2:hover {
    color: black;
}*/

.no-border {
    border: hidden;
}

/*tabs*/

.nav>li>a {
    background-color: #f2f2f2;
    border-color: #fb5b26;
    color: #bfbfbf;
    width: 100%;
    border-left: hidden;
    border-right: hidden;
    border-top: hidden;
    height: 50px;
}

.nav-tabs>li {
    height: 50px;
}

.nav-tabs>li.active>a:hover, .nav-tabs>li.active>a {
    color: #fb5b26;
    font-weight: bold;
    border-color: #fb5b26;
    border-bottom: hidden;
    height: 50px;
}

.nav-width {
    width: 50%;
}

.img-wrap {
    position: relative;
    display: inline-block;
    font-size: 0;
}

.img-wrap .close {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 100;
    background-color: #FFF;
    padding: 5px 2px 2px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    opacity: 1;
    text-align: center;
    font-size: 22px;
    line-height: 10px;
    border-radius: 50%;
}

.img-wrap:hover .close {
    opacity: 1;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    z-index: 2;
    cursor: pointer;
}

#text {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    background-color: white;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.custom_column {
    float: left;
    width: 33.33%;
}

.custom_column span {
    font-size: 12px;
}

.custom_column.right_bar {
    border-right: 1px #ccc solid;
}

/* Clear floats after the columns */

.custom_row {
    text-align: center;
    width: 100%;
    /* margin: 15px auto; */
    margin: 0px auto 15px auto;
    padding: 10px 7px;
    border-radius: 7px;
    background: #fff;
    /* border: 1px solid #e4e4e4; */
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}

.custom_row.info {
    text-align: left;
    background: #ffff9a;
    padding: 3px 10px 5px;
    display: inline-flex;
}

.custom_row.success {
    text-align: left;
    background: rgb(198, 242, 198);
    padding: 3px 10px 5px;
    display: inline-flex;
}

.custom_row.danger {
    text-align: left;
    background: rgb(255, 173, 173);
    padding: 3px 10px 5px;
    display: inline-flex;
}

.custom_row.info span,
.custom_row.success span,
.custom_row.danger span {
    font-size: 12px;
}

.custom_row.info i,
.custom_row.success i {
    font-size: 14px;
    margin: auto 7px auto 0px;
}

.custom_row:after {
    content: "";
    display: table;
    clear: both;
}

.edit_btn {
    float: right;
    font-size: 16px;
    background-color: #fb5b26;
    color: #fff;
    padding: 2px;
    border: none;
    border-radius: 3px;
}

.active_icon {
    color: green;
}

.deactive_icon {
    color: red;
}

/* scoll bar */
/* width */
::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #fb5b26; 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #fb5b26; 
  }

/* modals */
.modal-header {
    text-align: center;
    padding: 15px 15px 8px 15px;
}

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

.modal-footer, .modal-header {
    border: none;
}

#info-modal .modal-body {
    height: 90%;
    max-height: 450px;
    overflow: hidden;
    overflow-y: scroll;
}

#qrcode-modal .modal-body {
    text-align: center;
}

#qrcode-modal .modal-body img {
    box-shadow: 0 3px 10px rgb(0 0 0 / 20%);
    margin-bottom: 15px;
}

/*1.0 [S]*/
button[disabled], html input[disabled] {
    cursor: default;
    opacity: 0.8;
}
/*1.0 [E]*/