html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}


@font-face {
    font-family: 'prompt-regular';
    src: url('../fonts/prompt-regular.ttf') format('truetype');
}

body {
    height: inherit;
    background: #f3f4f5;
    font-family: 'prompt-regular', sans-serif;
    color: #333;
    font-size: 0.85rem;
}

.main-wrapper {
    height: 100%
}

header {
    height: 80px;
}

.custom-button {
    color: red;
    border-color: red;
    background-color: white;
    border-radius: 40px;
}

    .custom-button:hover {
        background-color: red;
        color: white;
    }

.header-middle-wrap {
    padding: 1rem 0px;
    max-width: 140px;
}

/**************************/
.breadcrumb-item + .breadcrumb-item {
    display: block;
}

.card-no-shadow {
    box-shadow: none !important;
    border-radius: 0.5rem !important;
    padding: 1rem 0px;
}

.card-only-border {
    border: 1px solid #A8A7A780 !important;
}

.card, .card-body {
    border-radius: 1.5rem;
    border-color: transparent;
}

.card {
    box-shadow: 0px 2px 4px 2px #afafaf
}

    .card.card-hc {
        border-color: #ddd;
        padding: 1rem;
    }
.card-parent.active, .card-parent:hover {
    background: #E7E7E7;
}

.pl-0 {
    padding-left: 0 !important;
}

label {
    padding-left: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-control, .form-select {
    border-radius: 0.5rem;
    border-color: #c0c8d5;
}

.form-group {
    margin-bottom: 0.75rem;
}

span.text-danger {
    padding-left: 10px;
}

.radious-05 {
    border-radius: 0.5rem;
}

.radious-1 {
    border-radius: 1rem;
}

.radious-2 {
    border-radius: 2rem;
}

.small-title {
    color: #777;
}

.color-darkgray {
    color: #333;
}

.color-main {
    color: #D43232;
}

.bigger-number {
    font-size: 1.5rem;
}

:root {
    --main-theme: #D43232;
}

.panel-main {
    background-color: #FEEAE3;
    min-height: 30px;
}

.btn:hover {
    opacity: .8;
    color: inherit;
}

.btn-primary {
    background-color: var(--main-theme) !important;
    border-color: var(--main-theme) !important;
    color: #fff !important;
}

.btn-cal {
    min-width: 150px;
}

    .btn-cal.btn-info {
        color: var(--main-theme);
        border: 1px solid var(--main-theme);
        background-color: #fff;
    }

.btn-round {
    border-radius: 40px;
    padding: 0.375rem 1.4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}
/*****************  Form ************************/
/*.form-check-parent {
    padding: 8px 10px 6px 10px !important;
    background: #FEEAE3;
    border-radius: 2rem;
    border: 1px solid #98A2B3;
}

    .form-check-parent .form-check {
        margin: 0px !important;
    }

        .form-check-parent .form-check .form-check-input {
            width: 1.5em;
            height: 1.5em;
            margin-top: 0em;
        }

            .form-check-parent .form-check .form-check-input:checked {
                background-color: #ffffff;
                border-color: #ffffff;
            }
*/

/********************/
.form-check-input:checked {
    background-color: var(--main-theme);
    border-color: var(--main-theme);
    width: 18px;
    height: 18px;
}
.form-check-input[type=radio] {
    border-radius: 50%;
    width: 18px;
    height: 18px;
}

.radio-custom-parent {
    /*margin-top: 0.3125rem !important;*/
}

.radio-custom {
    opacity: 0;
    position: absolute;
}

.radio-custom, .radio-custom-label {
    display: inline-block;
    vertical-align: middle;
    /*margin: 5px;*/
    cursor: pointer;
}

.radio-custom-label {
    position: relative;
}

.radio-custom:checked + .radio-custom-label:before {
    content: '';
    background: #fff;
    border-color: #fff;
    display: inline-block;
    vertical-align: middle;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: calc((100% - 50px)/2);
    text-align: center;
    padding: 1px;
}

.radio-custom + .radio-custom-label:before {
    content: '';
    background: #fff;
    border: 2px solid #ddd;
    display: inline-block;
    vertical-align: middle;
    width: 1.3rem;
    height: 1.3rem;
    margin-right: calc((100% - 50px)/2);
    text-align: center;
    padding: 2px;
}

.radio-custom + .radio-custom-label:before {
    border-radius: 50%;
}

.radio-custom:checked + .radio-custom-label:before {
    content: "\f00c";
    font-family: 'FontAwesome';
    color: #d43232;
    font-size: 0.85rem;
}

.radio-custom + .radio-custom-label {
    padding: 5px 6px !important;
    background: #fff;
    border-radius: 2rem;
    border: 1px solid #c0c8d5;
    width: 100%;
}

.radio-custom:checked + .radio-custom-label {
    padding: 5px 6px !important;
    background: #FEEAE3;
    border-radius: 2rem;
    border: 1px solid #98A2B3;
    width: 100%;
    color: var(--main-theme)
}



.radio-custom:focus + .radio-custom-label {
    outline: 1px solid #ddd; /* focus style */
}

.error {
    color: #e74c3c;
}
.center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

    .switch input[type="checkbox"] {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #D43232;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.swal2-html-container {
    overflow: unset !IMPORTANT;
}


/* Nav Bar Menu*/
/*
    DEMO STYLE
*/


a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    perspective: 1500px;
}





a[data-bs-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    /*font-size: 0.9em !important;*/
    padding-left: 30px !important;
    background: #fff;
}

ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

a.download {
    background: #fff;
    color: #fff;
}

a.article, a.article:hover {
    background: #fff !important;
    color: #fff !important;
}



/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
}

#sidebarCollapse {
    display: none;
}

#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    cursor: pointer;
}

    #sidebarCollapse span {
        width: 80%;
        height: 2px;
        margin: 0 auto;
        display: block;
        background: #555;
        transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
        transition-delay: 0.2s;
    }

        #sidebarCollapse span:first-of-type {
            transform: rotate(45deg) translate(2px, 2px);
        }

        #sidebarCollapse span:nth-of-type(2) {
            opacity: 0;
        }

        #sidebarCollapse span:last-of-type {
            transform: rotate(-45deg) translate(1px, -1px);
        }


    #sidebarCollapse.active span {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebarCollapse {
        display: block;
    }


    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }

    #sidebarCollapse.active span {
        margin: 0 auto;
    }

        #sidebarCollapse.active span:first-of-type {
            transform: rotate(45deg) translate(2px, 2px);
        }

        #sidebarCollapse.active span:nth-of-type(2) {
            opacity: 0;
        }

        #sidebarCollapse.active span:last-of-type {
            transform: rotate(-45deg) translate(1px, -1px);
        }
}

/* Custom */
#wrapper {
  overflow-x: hidden;
}

#sidebar-wrapper {
  min-height: 100vh;
  margin-left: -15rem;
  transition: margin 0.25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
  padding: 0.5rem 1.25rem;
  font-size: 1.2rem;
}

#sidebar-wrapper .list-group {
  width: 15rem;
}

#page-content-wrapper {
  min-width: 100vw;
}

body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
  margin-left: 0;
}

#sidebarToggle {
  display: block;
}
@media (min-width: 768px) {
  #sidebarToggle {
    display: none;
  }
  #sidebar-wrapper {
    margin-left: 0;
  }
  #page-content-wrapper {
    min-width: 0;
    width: 100%;
  }
  body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
    margin-left: -15rem;
  }
}

#sidebar > a.active, #sidebar div a.active {
    color: #e02626 !important;
    background: #FEEAE3 !important;
    border: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);
}
#sidebar > a:hover, #sidebar div a:hover {
    color: #e02626 !important;
    background: #FEEAE3 !important;

}
/* End Nav Bar Menu*/

code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #FEEAE3;
    border-radius: 4px;
}

.alert > p, .alert > ul {
    margin-bottom: 0;
}

table {
    border-collapse: collapse;
    border-radius: 0.5em;
    overflow: hidden;
}


.theme-header {
    background: var(--main-theme);
    color: white
}

.no-border {
    border: 0;
}


.borderred {
    border-radius: 24px !important;
    border: 2px solid #e91a1a;
}


.hide-browse-ctrl {
    display: none;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 10px;
    cursor: pointer;
    line-height: 0.5;
    border-radius: 0.5rem;
    margin-left: 5px;
    margin-top: 5px;
    color: #898989;
}
.parent-file-preview {
    padding: 15px;
    border: 1px solid #ccc;
    margin: 5px;
    border-radius: 0.5rem;
    width: max-content;
    max-height: 140px;
    height: 140px;
}

    .parent-file-preview img {
        height: 108px;
        width: auto
    }

.dragable-info {
    border: 2px solid var(--main-theme);
    border-radius: 0.5rem;
    color: var(--main-theme);
    font-size: 1rem;
}

.list-group-item {
    cursor: grab;
}

.icon-disk, .icon-success, .icon-trash, .icon-alert {
    /*height: 90px;*/
    color: var(--main-theme);
    /*margin-top: -5px;*/
}

/* Custom CSS to style the buttons and icons */
.custom-icon-button {
    background-color: transparent;
    border: none;
    padding: 5px;
}

    .custom-icon-button i {
        color: #f8f9fa;
    }

.custom-textbox-width {
    width: 60%;
}

.custom-label-margin {
    margin-right: 1rem;
}

/* Custom styles for the confirm and cancel buttons */
.custom-swal .swal2-confirm.custom-swal-confirm-button {
    background-color: var(--main-theme);
    border-color: var(--main-theme);
    box-shadow: 0 0 0px 0px var(--main-theme);
    font-size: 14px;
    font-weight: 500;
    border-radius: 24px !important;
    min-width: 100px !important;
}

.custom-swal .swal2-cancel.custom-swal-cancel-button {
    background-color: white;
    color: var(--main-theme);
    border-color: var(--main-theme);
    box-shadow: 0 0 0px 0px var(--main-theme);
    font-size: 14px;
    font-weight: 500;
    border-radius: 24px !important;
    min-width: 100px !important;
}

.add-channel-button {
    border: none;
    background-color: transparent;
    color: var(--main-theme);
    text-decoration: none;
    cursor: pointer;
}

.custom-title {
    color: var(--main-theme);
    font-size: 22px;
}

.icon-disk, .icon-success, .icon-trash, .icon-alert {
    height: 90px;
    color: var(--main-theme) !important;
}

.swal2-title {
    color: var(--main-theme);
    font-size: 22px;
}
.swal2-icon.swal2-icon-show {
    border-color: transparent;
}


/* For question */
.div-questionsName > p {
    margin-bottom: 0px;
}

.title-page {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.div-questionsName, .text-radio-questionsAnswer, .text-checkbox-questionsAnswer {
    font-size: 16px;
    color: #333333;
    font-weight: 400;
}

.card-questionsAnswer {
    background: #FFFFFF;
    border-radius: 10px;
}

.card-questionsAnswer {
    margin-bottom: 15px;
}

.margin-questionsAnswer {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.container-button {
    margin-top: 18px;
}

.input-questionsAnswer {
    font-weight: 400;
    font-size: 14px;
    color: #333333;
}

.label-title {
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 8px;
}

.btn-back, .btn-submit {
    border-radius: 24px;
    min-width: 100px;
}

.btn-back {
    margin-right: 8px;
}

.container-optional-radio {
    border: 1px solid Grey;
    border-radius: 24px;
    display: flex;
    flex-wrap: wrap;
    padding: 6px 12px;
}

.text-indexQuestion {
    font-size: 16px;
    color: #333333;
    font-weight: 400;
}

.container-questionName {
    display: flex;
    margin-bottom: 8px;
}


.blurred-text {
    filter: blur(5px); /* Set the initial blur */
    transition: filter 0.3s ease; /* Add a smooth transition effect */
}

    .blurred-text:hover {
        filter: blur(0); /* Remove the blur on hover */
    }