/* Barlow font loaded from Google Fonts (see index.html) */

@font-face {
    font-family: onelove;
    src: url(fonts/onelove.ttf); 
}

@font-face {
    font-family: Paul Signature;
    src: url(fonts/PaulSignature.ttf);
}

@font-face {
    font-family: Royalia;
    src: url(fonts/Royalia.ttf);
}

@font-face {
    font-family: Saitik Handwritten;
    src: url(fonts/Saithik-Handwritten.ttf);
}

@font-face {
    font-family: Tahu;
    src: url(fonts/Tahu!.ttf);
}

@font-face {
    font-family: Segoe Script;
    src: url(fonts/segoesc.ttf);
}

@font-face {
    font-family: Impact;
    src: url(fonts/Impact.ttf);
}

@font-face {
    font-family: Calibri;
    src: url(fonts/calibri-regular.ttf);
}

@font-face {
    font-family: a Amenity Kits;
    src: url(fonts/aAmenityKits.ttf);
}

@font-face {
    font-family: a Apotik;
    src: url(fonts/aApotik.ttf);
}

@font-face {
    font-family: a Authorized Signature;
    src: url(fonts/aAuthorizedSignature.ttf);
}

@font-face {
    font-family: Bestermind;
    src: url(fonts/BestermindRegular.ttf);
}

@font-face {
    font-family: Bringshoot;
    src: url(fonts/Bringshoot.ttf);
}

@font-face {
    font-family: Indonesian;
    src: url(fonts/Indonesian.ttf);
}

@font-face {
    font-family: a Auto signature;
    src: url(fonts/aAutoSignature.ttf);
}

@font-face {
    font-family: My_handwriting;
    src: url(fonts/My_handwriting.ttf);
}
/* path app-v4.css */
:root {
    /* dominant colors - will change with theme */
    --primary: #0D99FF;
    --secondary: #0D73B1;
    --tertiary: #6244bb;

    /* fixed colors - does not change with theme */
    --error: #dc3545;
    --success: #198754;
    --information: #4684f7;
    --caution: #dda809;
    --muted: #808080;
    --purple: #F402D1;
    --orange: #FB651E;

    /* text color dependent on theme */
    --primary-text: #0f1216;
    --secondary-text: #797979;

    /* background colors dependent on theme */
    --primary-bg: white;
    --secondary-bg: #ebebeb;
    --secondary-bg-gradient: radial-gradient(circle at 18.7% 37.8%, rgb(250, 250, 250) 0%, rgb(225, 234, 238) 90%);
    --body-bg: #e9e9e9;
    --card-bg: #f5f5f5;
    --selected-bg: #f5f5f5;
    --footer-bg: #e1e2e2;

    /* border colors dependent on theme */
    --primary-border: rgba(0, 0, 0, 0.15);
    --secondary-border: rgba(0, 0, 0, 0.02);
    --tertiary-border: rgba(0, 0, 0, 0.03);

    --font-family: 'Barlow', sans-serif;
    --base-font: 1.063rem;
    --font-sm: 0.875rem;
    --font-xs: 0.75rem;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    --shadow: 0px 0px 25px -5px rgba(0, 0, 0, 0.1);
}

*,
:after,
:before {
    border: 0 solid #e5e7eb;
}

html, body {
    color: var(--primary-text);
    background-color: var(--primary-bg);
    font-family: var(--font-family);
    font-size: var(--base-font);
    font-weight: 400;
    margin: 0;
    padding: 0;

}

a {
    color: #0D99FF;
}

.container {
    background-color: var(--body-bg);
}
.btn-error,
.bg-error {
    background-color: var(--error);
}
.btn-success,
.bg-success {
    background-color: var(--success);
}
tr:hover {
          background-color: rgba(0,0,0,.05);
        }
main.content{
    padding: 30px 40px;
}

header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--secondary-border);
    z-index: 999999999;
}

.page-logo {
    width: 100%;
    height: 100%;
    min-height: 24px;
    max-height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
}

.page-title {
    font-family: 'Barlow', sans-serif; /* Corrected font name */
    font-size: 26px;
    font-weight: 700;
    text-align: center;
}

.dialog-footer {
    padding: 0 40px;
    border-top: 1px solid var(--primary-border);
}

.dialog-footer > div {
    display: flex;
    padding: 20px 0;
    column-gap: 4px;
}

.area-content {
    font-weight: 600;
    color: var(--caution);
}

.action-icon.reset {
    background-color: var(--caution);
}

.add-entity > span {
    display: inline-flex;
    align-items: center;
}

.entity-count {
    font-weight: 500;
}

.autocomplete, .fields .input-set{
    border: 1px solid var(--primary-border);
    /* border-radius: 5px ; */
}

.form-label {
    font-weight: 500;
    margin-bottom: 4px;
}

.autocomplete-items {
    background-color: var(--primary-bg);
}

.pagination-bar {
    padding-bottom: 15px;
}

.sms-risk {
    color: black;
    padding: 6px 8px;
    text-align: center;
    display: inline-block;
    border-radius: 5px;
}

.footer-new{
    background-color: var(--footer-bg) !important;
    padding: 0 2px !important;
    bottom: 8px !important;
}

.footer-new > div {
    padding: 0 3px !important;
}


.icon-support::before {
    display: inline-block;
    width: 20px;
    height: 20px;
    content: "";
    background-image: url(https://360audit.azurewebsites.net/app/image/support-black-256.png);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-warning::before {
    content: url(https://360audit.azurewebsites.net/app/image/warning.svg);
}

.icon-bell::before {
    content: url(https://360audit.azurewebsites.net/app/image/bell.svg);
}

.icon-bell.alert{
    animation: alert 300ms infinite;
    display: inline-block;
}

@keyframes alert {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.file-icon {
    width: 15px;
}

/* @specific page elements */
.question-label {
    padding-top: 7px;
    padding-bottom: 7px;
    background: var(--secondary-bg);
    border: 1px dashed var(--primary-border);
    border-radius: 24px;
}

/* @ui styling */
.ui-content-panel { /* main page content inner wrapper */
    margin: 30px 0;
    background-color: var(--primary-bg);
    padding: 30px;
    /* border-radius: 5px; */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-label { /*  */
    color: white;
    background: var(--primary); /* Subject for QA */
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.ui-status {
    padding: 4px 8px;
    border-radius: 5px;
    display: inline-block;
}

.ui-boxed-middle {
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-link {
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
}

/* @utilities */
.relative {
    position: relative;
}

.inline {
    display: inline-block;
}

.w-full {
    width: 100%;
}

.w-half {
    width: 50%;
}

.text-sm {
    font-size: var(--font-sm);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.font-normal {
    font-style: normal !important;
}

.font-semi-bold {
    font-weight: var(--font-semi-bold);
}

.font-bold {
    font-weight: var(--font-bold);
}

.underline {
    text-decoration: underline;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.border-0 {
    border: 0;
}

.border {
    border-width: 1px;
    border-color: var(--primary-border);
}

.border-b {
    border-bottom-width: 1px;
    border-color: var(--primary-border);
}

.shadow {
    box-shadow: var(--shadow);
}

.gap {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.m-2 {
    margin: 0.5rem;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.my-4 { /* Default margin top & bottom */
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mx-4 { /* Default margin left & right */
    margin-left: 1rem;
    margin-right: 1rem;
}

.mt {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb { 
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mr { 
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-8 {
    margin-right: 2rem;
}

.ml-auto {
    margin-left: auto;
}

.ml {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.ml-8 {
    margin-left: 2rem;
}

.px {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.pr-4 {
    padding-right: 1rem;
}

.pl {
    padding-left: 0.25rem
}

.uppercase {
    text-transform: uppercase;
}

.pointer {
    cursor: pointer;
}

/* Station */
.station-inactive img, .station-inactive button{
    background-color: var(--muted);
    cursor: not-allowed;
}

/* @form elements */
select,
input,
textarea {
    height: auto;
    padding: 10px;
    /* border-radius: 1px;  */
    border: solid 1px var(--primary-border);
    background-color: var(--primary-bg);
    color: var(--primary-text);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1rem;
    box-sizing: border-box;
}

input:focus {
    box-shadow:  0 0 0.15rem rgba(13, 153, 255, 0.25);
}

.search-box {
    padding: 0.063rem;
    /* border-radius: 5px !important; */
    background-color: var(--primary-bg);
}

button {
    background: var(--primary);
}

button {
    font-size: 18px;
    color: white;
    cursor: pointer;
    /* display: inline-flex; */
    align-items: center;
    letter-spacing: 0;
    line-height: 1;
    font-size: 16px;
    font-family: var(--font-family);
    font-weight: 500;
    margin: 0 0.2em;
    padding: 14px 25px;
    border-radius: 3px;
    text-align: center;
    text-transform: capitalize;
    touch-action: manipulation;
    transition: all 0.3s ease 0s;
    vertical-align: middle;
    white-space: nowrap;
    border: 0;
}

button.button-circular {
    border-radius: 50%;
    width: 34px;
    height: 34px;
    padding: 0.5em;
}

.fields > div {
    display: flex;
    padding: 8px 0;
    margin-bottom: 10px;
}

.fields > div > div:first-child {
    font-weight: 600;
    font-size: 1rem;
    margin-right: 10px;
    flex: 0 0 70px;
}

.fields > div > div:not(div:first-child) {
    flex-grow: 1;
}


/*
    ** @list 
    ** .icode-list - simple list
    ** .icode-list2 - list with extra div
*/
.icode-list,
.icode-list2 {
    width: 100%;
    margin-top: 10px;
    font-weight: 500;
}

.icode-list > div {
    display: flex;
}

.icode-list > div,
.icode-list2 > div {
    padding: 15px;
    border-left: 1px dashed var(--primary-border);
    border-top: 1px dashed var(--primary-border);
    border-bottom: 1px dashed var(--primary-border);
}

.icode-list > div:not(div:first-child):nth-child(odd),
.icode-list2 > div:not(.icode-list-header):nth-child(odd) {
    background-color: var(--secondary-border);
}

.icode-list > div:not(div:first-child):hover,
.icode-list2 > div:not(.icode-list-header):hover {
    background-color: var(--tertiary-border);
}

.icode-list > div:first-child,
.icode-list2 .icode-list-header {
    align-items: center;
    text-transform: capitalize;
    background: var(--secondary-bg);
}

.icode-list2 .icode-list-header,
.icode-list2 .icode-list-items {
    display: flex;
}

/* @flexbox */
.flex { display: flex; }

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-0 { flex: 0; }

.flex-1 { flex: 1; }

.flex-shrink-5 { flex: 0 0 5%; }

.flex-items-center {
    display: flex;
    align-items: center;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
}

.flex-evenly { justify-content: space-evenly; }

.flex-all-start {
    align-items: flex-start;
    justify-content: flex-start;
}

.flex-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.justify-start {
    justify-content: start;
}

.selected {
    color: var(--primary-text) !important;
    background: var(--selected-bg)
}

.capitalize{
    text-transform: capitalize;
}
.lowercase{
    text-transform: lowercase;
}
.uppercase{
    text-transform: uppercase;
}

/**** three-dots   ****/
@keyframes blink-dot {
    0% {
        opacity: .2;
        /* background-color: rgb(197, 197, 197); */
    }
    20% {
        opacity: 1;
        /* background-color: rgb(0, 0, 0); */
    }
    100% {
        opacity: .2;
        /* background-color: rgb(197, 197, 197); */
    }
}

/*animation for spinner component*/
/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes opacity-animation {
    0% {
        opacity: .2;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: .2;
    }
}

.warning-alert-icon img {
    width: 24px; 
    margin-right: 5px;

    animation-name: opacity-animation;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

@media only screen and (max-width: 600px) {
    main.content{
        padding-left: 15px;
        padding-right: 15px;
    }
}

.more-container .more {
    display:none !important;
}

.only-print {
    display: none !important;
}

@media print
{    
    body {    
        background-color: white !important;
    }

    .only-print {
        display: inherit !important;
    }

    .no-print, .no-print *
    {
        display: none !important;
    }

    .public-dialog{
        display: none !important;
    }

    .page-footer,
    .footer-new,
    .demo{
        display: none !important;
    }

    .page-break{
        /* page-break-before: always;
        break-after: page; */

        /* https://stackoverflow.com/questions/55399491/how-to-avoid-splitting-div-in-html-across-pages */
        page-break-inside: avoid;
    }
}

.icode-list-template {
    font-size: 0.9rem;
}

.icode-list-template .header {
    justify-content: start!important;
    position: relative;
}

.icode-list-template .body {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--primary-bg);
    flex-grow: 1;
    min-height: 250px;
}

.icode-list-template .body>div:hover {
    background-color: #ffff0033;
    color: #000 !important;
}

.icode-list-template .body .selected {
    background-color: yellow !important;
    color: #000 !important;
}

.icode-list-template {
    margin-right: 4px;
    border: solid 1px silver;
}

.icode-list-template .header>div{
    display: flex;
    padding: 8px 4px;
}

.icode-list-template .body>div {
    display: flex;
    border-bottom: solid 1px lightgray;
    padding: 8px 4px;
    cursor: pointer;
}

.icode-list-template .body:empty::after {
    content: "No data available";
    color: var(--secondary-text);
    font-size: 1.2em;
    display: block;
    text-align: center;
}

.icode-list-template .header {
    border-top: solid 1px lightgray;
    background-color: maroon !important;
    color: white;
    align-items: center;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    z-index: 0 !important;
}

.icode-list-template .header>div {
    display: none !important;
    align-items: center;
}

.icode-list-template .header>div,
.icode-list-template .body>div>div {
    flex: 0 0 100px;
    width: 100px;
    padding: 2px 8px;
    /* border-left: solid 1px rgb(221, 221, 221); */
    text-overflow: ellipsis;
    /* white-space: nowrap; */
    overflow: hidden;
    margin: auto 0;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    word-break: break-word;
}

.icode-list-template .body>div>.actions {
    display: flex;
    order: 999999; /* must be last on the list always */
}

.icode-list-template .header>div {
    cursor: pointer;
    display: flex;
}

.icode-list-template #sort-icon {
    width: 24px;
    height: 24px;
}

div[title="asc"] {
    background-image: url("image/sort-down-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 4px;
}

div[title="desc"] {
    background-image: url("image/sort-up-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 4px;
}

.icode-list-template .temporary>div {
    display: flex;
}

.icode-list-template #generate-path-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.icode-list-template #generate-path-container>input {
    width: 300px;
}

.icode-list-template .icode-list .body:hover {
    background-color: var(--primary-bg) !important;
}

.icode-list-template .icode-list {
    overflow: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
}

.icode-list-template .icode-list > div {
    padding: 0px !important;
}

.icode-list-template .icode-list > .header {
    padding: 15px !important;
}

.icode-list-template .icode-list > .body {
    padding: 15px !important;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--primary-bg);
}

.icode-list-template .code-mirror-template {
    min-height: 700px;
    max-height: 700px;
    overflow-y: auto;
}

.icode-list-template .bold {
    font-weight: bold;
}

.icode-list-template .search-by {
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.icode-list-template .search-by small {
    max-width: 300px;
    word-break: break-all;
}

.icode-list-template button {
    vertical-align: top;
}

.pagination-component {
    flex-wrap: wrap;
    display: flex;
    border-width: 0;
}

.pagination-component button:disabled {
    background-color: #ccc;
    color: #aaa;
}

.pagination-component button:disabled:hover {
    background-color: #ccc !important;
    color: #aaa !important;
}

.pagination-component button {
    margin: 4px;
    background: var(--primary-bg);
    color: var(--primary-text);
    padding: 5px 10px !important;
}

.pagination-component button:hover {
    background-color: #0D99FF80 !important;
    color: var(--primary-text) !important;
}

.pagination-component .active-page {
    background-color: #0d99ff !important;
    color: #fff !important;
}


.icode-list-template .sort-by option {
    display: none;
}

.icode-list-template .icode-list #template-spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff80;
}

.icode-list-template select,
.icode-list-template input[type="checkbox"] {
    cursor: pointer !important; 
}

.icode-list-template select:hover {
    border: solid 1px silver;
}

.icode-list-template .entity-container {
    flex-wrap: wrap;
}

.icode-list-template .entity-select {
    display: flex;
    align-items: center;;
}

.icode-list-template .template-container > div {
    margin-bottom: 20px;
}

.icode-item-template .icode-field-list .errors-text {
    color: #d44950 !important;
    font-size: 14px !important;
    margin: 0;
}

.icode-item-template .icode-field-list .w-100{
    width: 100%;
}

.icode-item-template .icode-field-list {
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
}

.icode-item-template .icode-field-list>div {
    padding: 8px;
    display: flex;
}

.icode-item-template .icode-field-list>div {
    padding: 8px;
    display: none;
}

.icode-item-template .icode-field-list>div>div:first-child {
    width: 100px;
    min-width: 100px;
    text-transform: capitalize;
    padding-top: 4px;
}

.icode-item-template .icode-field-list>div>div:not(:first-child){
    width: 100%;
    margin: 0 !important;
}

.icode-item-template .icode-field-list>div>div:first-child {
    color: teal;
    flex: 0 0 75px;
}

.icode-item-template .spinner-small {
    margin-left: 4px;
}

.icode-item-template .btn-save {
    display: inline-flex;
}

.icode-item-template .required::after {
    content: "*";
    color: red;
    margin-left: 4px;
}

.red-bg {
    background: red;
}

.red-text {
    color: red;
}

.green-text {
    color: green
}

.blue-text {
    color: blue
}

.after-comma:not(:last-child)::after {
    content: ", ";
}

.hidden {
    display: none !important;
}

.spinner-small>.loader {
    height: 10px !important;
    width: 10px !important;
    border: 4px solid #f3f3f3 !important;
    border-top: 4px solid #3498db !important;
}

.spinner-small {
    align-self: center;
    margin: 4px;
}

.filter-section>div:not(:last-child){
    margin-right: 1rem;
}

.filter-section{
    display: flex;
    flex-wrap: wrap;
}

.filter-section .view-by{
    display: flex;
    height: 44px;
    align-items: center;
}

.filter-section .view-by select{
    margin: 0 4px;
}

@keyframes pump {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
    }
}


.custom-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.custom-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%; /* Position the tooltip above the link */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    bottom: 130%; /* Position the arrow */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-tooltip:hover::before,
.custom-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 480px) {
    .icode-list-template .sort-by{
        width: 100%;
        margin-bottom: 8px;
        margin-right: 0px !important;
    }
    .icode-list-template .sort-by select {
        width: 100%;
    }
    .icode-list-template .search-by{
        width: 100%;
        margin-bottom: 8px;
        margin-right: 0px !important;
    }
    .icode-list-template .search-by small {
        max-width: 100%;
    }
    .icode-list-template .view-by{
        width: 100%;
    }
    .icode-list-template .view-by > span:first-child{
        display: none;
    }
    .icode-list-template .view-by select {
        width: 100%;
        margin: 0;
        margin-right: 4px;
    }
    .icode-list-template .entity-container .entity-select {
        order: 2;
        width: 100%;
    }
    .icode-list-template .entity-container .entity-select>span:first-child {
        display: none;
    }
    .icode-list-template .entity-container button {
        margin-left: 0;
        margin-bottom: 8px;
    }
    .icode-list-template .entity-container select {
        width: 100%;
        margin-left: 0px;
    }
    .icode-list-template .search-filter-simple-v3>div {
        width: 100%;
    }
    .icode-list-template .template-container > div {
        width: 100%;
        margin-bottom: 20px;
    }
    .icode-list-template .template-btn button {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .icode-list-template .template-container > div {
        width: 100%;
        margin-bottom: 20px;
    }
    .icode-list-template .template-btn button {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .icode-list-template .template-container > div {
        width: 100%;
        margin-bottom: 20px;
    }
}

div[id="caret-down"] {
    background-image: url("image/sort-down-icon-black.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 3px;
    min-width: 18px;
    min-height: 18px;
    width: 18px;
    height: 18px;
}

div[id="caret-up"] {
    background-image: url("image/sort-up-icon-black.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 3px;
    min-width: 18px;
    min-height: 18px;
    width: 18px;
    height: 18px;
}

.copy-icon-v2 {
    background: #3498db;
}

::placeholder {/* Firefox */
    color: #cbcbcb;
    opacity: 1;
}
  
::-ms-input-placeholder { /* Edge 12-18 */
    color: #cbcbcb;
}

.draggable-icon{
    display: inline-block;
    width: 15px;
    height: 4px;
    rotate: 90deg;
    margin-left: 10px;
    margin-bottom: 10px;
    cursor: move;
    margin-top: 12px;
}
.draggable-icon,
.draggable-icon::before {
    background-image: radial-gradient(#1277d9 30%, transparent 50%);
    background-size: 5px 5px;
    background-position: 0 100%;
    background-repeat: repeat-x;
}
.draggable-icon::before{
    content: '';
    display: block;
    width: 15px;
    height: 10px;
}

.errors-text {
    color: #d44950 !important;
    font-size: 14px !important;
    margin: 0;
}

.divider.horizontal {
    height: 2px;
    background-color: #cccccc;
}

.w-100 {
    width: 100%;
}

.w-50{
    width: 50%;
}

.border-dashed {
    border: 1px dashed #aaa;
}

.underline-hover:hover {
    text-decoration: underline;
}

.error-found {
    border: 2px solid red !important;
}


/* THIS AREA IS FOR LOADING ONLY */
/* :root {
    --safe-area-inset-y: calc(env(safe-area-inset-top, 0px) + env(safe-area-inset-bottom, 0px));
    --safe-area-inset-x: calc(env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px));

    --safe-100vh: calc(100vh - var(--safe-area-inset-y));
    --safe-100vw: calc(100vw - var(--safe-area-inset-x));
}

body {
    height: var(--safe-100vh);
    margin:0px;
    padding:0px;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
} */

#init-loading-div {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#init-progress-bar-container {
    height: 9px;
    width: 50%;
    background: silver;
    border-radius: 28px;
}

#init-progress-bar {
    height: 8px;
    border-radius: 28px;
    animation: init-progress-bar-pulse 2s infinite;
}

@keyframes init-progress-bar-pulse {
    0% {
        background-color: #464646;
    }

    50% {
        background-color: #7b7b7b;
    }

    100% {
        background-color: #464646;
    }
}
@keyframes fade-in-animation {
    0% { 
        opacity: 0; 
        transform: translateY(10vh);
    }
    100% {
        opacity: 1; 
        transform: translateY(0);
    }
}
.run-fade-in-animation { animation: fade-in-animation 2s; }

/* ============================================================================
   Dialog Entrance Animation: Fade
   Usage: <base-dialog entrance-animation="fade">
   ============================================================================ */
@keyframes dialog-entrance-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

[data-entrance-fade="true"] .cloak {
    animation: dialog-entrance-fade 0.5s ease-out both;
}

[data-entrance-fade="true"] .container {
    opacity: 0;
    animation: dialog-entrance-fade 0.5s ease-out forwards;
    transition: none !important;
}
