:root {
    --primary: #503047;
    --primary_hover: #4c2354;
    --secondary: #727272;
    --secondary_hover: #727272;
    --danger: #dc3545;
    --danger_hover: #c82333;
    --success: #28a745;
    --success_hover: #2b9644;
}


/* body{
    overflow-y: hidden;
} */
.rotate-90{
    transform: rotate(90deg);
}
.add-remove-moving{
    text-align: center;
}
.cloud-images-wrapper {
    background: #f3f3f3;
    padding: 10px;
}
.cloud-icon {
    margin: 10px 0;
    position: relative;
}

.cloud-icon .check-icon {
    position: absolute;
}

.cloud-icon img {
    width: 100%;
    cursor: pointer;
    height: 60px;
    object-fit: cover;
}

.cloud-icon {
    padding: 0;
    margin: 5px;
    border: 5px solid #fff;
    height: 100%;
}

.cloud-icon .cloud-fancybox {
    width: 100%;
    text-align: center;
    display: block;
    color: #fff;
    font-size: 14px;
    background: #28a745;
}

.cloud-icon .cloud-fancybox:hover {
    background: #218838;
}
.site-setting-image ,.table-image{
    width: 50px;
    height: 35px;
    object-fit: cover;
    margin-right: 5px;
}
.button {
    border: none;
    border-radius: 0.25rem;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    padding: 5px 10px;
    outline: none;
    cursor: pointer;
}
.swal2-content{
    padding: 0 !important;
}
.swal2-close{
    background: #fff !important;
}
.button-primary,
.bg-primary {

    color: #fff;
    background: var(--primary) !important;

}

.button-outline-success {
    color: #fff;
    background: var(--primary) !important;
}

.button-primary:hover {
    background: var(--primary_hover);
    color: #fff;
}

.button-danger {

    color: #fff;
    background: var(--danger);

}

.button-danger:hover {
    background: var(--danger_hover);
    color: #fff;
}

.button-secondary {

    color: #fff;
    background: var(--secondary);

}

.button-secondary:hover {
    background: var(--secondary_hover);
    color: #fff;
}

.button-success {

    color: #fff;
    background: var(--success);

}

.button-success:hover {
    background: var(--success_hover);
    color: #fff;
}

li {
    display: list-item !important;
    list-style-position: inside;
}

.font-weight-semi-bold {
    font-weight: 500;
}

/* width */
.w10 {
    width: 10%;
}

.w25 {
    width: 25%;
}

.w50 {
    width: 50%;
}

.w100 {
    width: 100%;
}

.wl-300 {
    width: 300px;
}

.wl-150 {
    width: 150px;
}

.wl-200 {
    width: 200px;
}

.wlpx-100 {
    width: 100px;
}

.m-b {
    margin-bottom: 15px !important;
}

.m-both-side {
    margin: 0px 20px;
}


.form-format {
    width: 100%;
}

.form-header {
    display: flex;
    justify-content: space-between;
}


.table-responsive th,
.table-responsive td {
    white-space: nowrap;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.form-logo img {
    width: 120px;
    height: auto;
}

.participate-photo img {
    width: 150px;
    height: auto;
    object-fit: cover;
}

.navbar__list {
    background: #fff;
    padding: 20px 0;
    border-radius: 25px;
}

.view-image img {
    width: auto;
    height: 50px;
}

.view-image-award img {
    width: auto;
    height: 85px;
}

.table-borderless tbody tr {
    border-bottom: 2px solid #747171;

}

.table-data3 thead {
    background: rgb(90, 90, 235);
}



/* close width */
/* input */
.bg-dg {
    background: #343a40;
    color: white;
}

.bg-g {
    background: #6c757d;
    color: white;

}

label.req:after {
    content: "*";
    color: #ff4b5a;
}

.ar-input {
    line-height: 43px;
    border: 1px solid #666;
    font-size: 14px;
    color: #666;
    padding: 0 16px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#textarea-input {
    height: 100px;
}

.form-check-label {
    margin-left: 5px;
}

.page-container3 {
    padding-top: 10px;
}

/* #loading {
    -webkit-animation: rotation 2s infinite linear;
}

@-webkit-keyframes rotation {
    from {
            -webkit-transform: rotate(0deg);
    }
    to {
            -webkit-transform: rotate(359deg);
    }
} */

/* close input */
@media (max-width: 800px) {

    .header4-wrap {
        padding-bottom: 5px;
        display: block;
    }

}

@media (max-width: 400px) {


    .header4-wrap .header__tool .setting-dropdown {
        top: 40px;
        left: -127px;
        border: none;
        min-width: auto;
    }



}

@media (max-width: 350px) {

    .wl-300 {
        width: 200px;
    }

    .ar-input {

        width: 100%;
        border: 1px solid #000000;
        font-size: 14px;
        color: #666;
        padding: 0 5px;

    }

}

@media (max-width: 222px) {

    .wl-300 {
        width: 200px;
    }

    .ar-input {

        width: 80px;
        border: 1px solid #000000;
        font-size: 14px;
        color: #666;
        padding: 0 5px;

    }


}


.add-remove-ticket {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}


::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 10px var(--primary);

}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary);

}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}



.small-scroll {
    max-height: 255px !important;
    overflow: hidden;
    overflow-y: auto;

}

.form-pad {
    padding: 7px;
}

.serialized-category {

    display: flex;
    column-gap: 10px;
    flex-wrap: nowrap;
    align-items: flex-end;
    flex-direction: row;
}

.serialized-category label {
    width: 35px;
}

.add-remove-ticket label,
.add-remove-category label,
.add-remove-more label {
    display: block;
}

.merchant-profile-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.msg-alert-merchant .alert {
    position: relative;
    padding: 0 1.25rem;
    margin-bottom: 0;
}

.add-remove-category,
.add-remove-question {
    text-align: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    top: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #477b5a;
}

input:focus+.slider {
    box-shadow: 0 0 1px #477b5a;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.click-dropdown-menu .active {
    color: #ffffff !important;
    background: #60749f;
}

.ticket-option {
    background: #e6e6e6;
    border-radius: 20px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.click-dropdown-menu {
    display: none;
    margin-left: 20px;
}
.click-dropdown-menu.active {
    display: block;
}

.click-dropdown-menu i {
    font-size: 12px;
}
.arrow-slide.active{
    transition: all 0.5s ease;
    transform: rotate(180deg);
}
.arrow-slide{
    transition: all 0.5s ease;
    transform: rotate(0deg);
}

img.form-image-pp{
    width: 55px;
    height: auto;
    margin-right: 10px;
}
.modal-content{
    overflow: hidden;
}
/* .modal-body{
    padding:0;
} */
