html,
body {
    font-family: 'Lato', "Tahoma", serif !important;
}

body {
    background: url(../config/background.jpg?1754225914.1686406);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

#router-body {
    background-color: white;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 2em 1em 2em 1em;
    margin-bottom: 2em;
    border: 1px solid #e8ebf4;

}

a {
    background-color: #f4f7fe;
    border-radius: 4px;
    padding: 3px 12px;
    display: inline-block;
    text-decoration: none;
    color: #0f4aa6;
    border: 1px solid #0f4aa6;
}
.task-active {
    border-radius: 4px;
    padding: 3px 12px;
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: #0f4aa6;
    border: 1px solid #0f4aa6;
}

h1 {
    font-size: 1.9rem;
}

h2 {
    font-size: 1.65rem;
}

h3 {
    font-size: 1.4rem;
}

.form-list-header,
.main-title {
    margin-top: 1em;
    margin-bottom: 0.5em;
    color:rgba(28, 130, 247, 0.7)!important;
    font-weight: bold;
    border-bottom: 1px solid rgba(28, 130, 247, 0.7);
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-color: #fff;
    color: #333;
}

/* Style for readonly inputs */
input[type="text"][readonly],
input[type="email"][readonly],
input[type="number"][readonly],
select[readonly] {
    background-color: #f5f5f5;
    /* light gray background */
    color: #666;
    /* slightly dimmed text */
    cursor: default;
    /* normal arrow cursor */
    border-color: #ddd;
    /* softer border */
}

.rounded-5 {
    border-radius: 8px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: #3f51b5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
}


/* override buttons start  */

.btn {
    border-radius: 12px;
}

.btn-primary {
    background-color: #357ff3;
    border-color: #357ff3;

    color: #fff;
    border: none;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(63, 81, 181, 0.2);
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #4d8aec;
    border-color: #4d8aec;
}

.btn-secondary {
    background-color: #e0e0e0;
    border-color: #bdbdbd;
    color: #333;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #d5d5d5;
    border-color: #aaa;
}

.btn-outline-primary {
    border-color: #357ff3;
    color: #357ff3;
}

.btn-outline-primary:hover {
    background-color: #357ff3;
    color: #fff;
}

.btn-outline-secondary {
    border-color: #bdbdbd;
    color: #555;
}

.btn-outline-secondary:hover {
    background-color: #f5f5f5;
}


/* override button end */

/* badges - start */

.badge-status {
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
    padding: 0.25rem 0.6rem;
}

.status-buffer,
.status-1 {
    background-color: #dfdfdf;
    color: #6e6e6e;
}

.status-neutral {
    background-color: #dfdfdf;
}

.status-active,
.status-2 {
    background-color: #f2f4e6;
    color: #7d7c2e;
}

.status-ended,
.status-10 {
    background-color: #ebf3f7;
    color: #3d47cc;
}

.status-error,
.status-66 {
    background-color: #f7ebeb;
    color: #cc3d3d;
}


/* badges end */

.modal-edit {
    position: fixed;
    width: 40vw;
    min-width: 280px;
    top: 60px;

    background-color: white;
    padding: 20px;
    z-index: 2000;
    margin: 0 auto;
    left: 0;
    right: 0;
    display: none;
    border: 1px solid #a0a0a0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}

.icon img {
    max-width: 96px;
    width: 80%;
}

.icon span {
    font-size: 0.9rem;
    /*xfont-size: 1.6vmin;*/

}

.icon-side {
    filter: brightness(0) invert(1);
}

.hand {
    cursor: pointer;
}

.status {
    width: 20px;
    height: 20px;
    border-radius: 15px;
    display: inline-block;
}

.active {
    background-color: green;
}

.inactive {
    background-color: lightgray;
}

.pointer {
    cursor: pointer;
}

/*boostrap */
/*
.text-primary {
    color: #2780E3 !important;
} 

.border-primary {
    border-color: #2780E3 !important;
}
*/

/*WebDashboard */

#dashboard {
    width: 100%;
    /*min-height: 100%;*/
    margin-top: 65px;
}

#hamburger {
    z-index: 1;
    margin: 8px 0px 0px 8px;
    width: 40px;
    height: 32px;
    cursor: pointer;
    background-color: rgba(28, 130, 247, 0.7);
    border-radius: 5px;
    text-align: center;
    color: white;
    font-size: 21px;
    display: inline-block;
}

#logo-license {
    margin-top: 0px;
    background-image: url(../config/lic-logo.png?1754225914.1686406);
    width: 200px;
    height: 50px;
    float: right;
    background-repeat: no-repeat;
    background-size: 200px 50px;
}

#menu-top {
    position: fixed;
    background-color: #c0dff3;
    color: #f0f0f0;
    width: 100%;
    height: 48px;
    z-index: 1;
    top: 0;
    left: 0;
}

#menu-left {
    width: 260px;
    float: left;
    display: none;
    background: linear-gradient(-45deg, #3498dbC0 0%, #3498db 100%);
    /*background:  linear-gradient(-45deg, rgba(147, 26, 222, 0.83) 0%, rgba(28,206,234,0.82) 100%);*/
    min-height: 100%;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 48px;
    padding-top: 40px;
}

#menu-left img {
    height: 30px;
    margin-right: 12px;
    margin-left: 12px;
}

#menu-right {
    backdrop-filter: blur(6px);
    box-sizing: border-box;
    width: 100%;
    max-width: 320px;
    float: left;
    display: none;
    border-radius: 10px;
    /*xborder: 1px solid lightgray;*/
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    background: transparent;
    background: linear-gradient(-45deg, rgba(147, 26, 222, 0.2) 0%, rgba(28, 206, 234, 0.2) 100%);
    height: 80vh;
    position: fixed;
    z-index: 2550;
    right: 20px;
    top: 64px;
    padding: 20px 12px;
    overflow: auto;
}

#menu-right .content-note-edit:hover {
    text-decoration: underline;
}

#menu-right:-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px black;
    background-color: #F5F5F5;
}

#menu-right::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

#menu-right::-webkit-scrollbar-thumb {
    background-color: #3498db50;
    border: 0px solid #555555;
}

#embed-preview {
    z-index: 10;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 80vw;
    background-color: white;
    padding: 8px;
    ;
    width: 100%;
    height: 85vh;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.embed-popup-abs {
    z-index: 10;
    position: absolute;
    left: 50%;
    top: 130px;
    transform: translate(-50%, 0%);
    max-width: 1000px;
    background-color: white;
    padding: 12px;
    ;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

.bar {
    height: 20px;
    font-size: 0.8em;
    border-left: 2px solid #303030;
}

.dropzone {
    border: 1px dashed rgb(82, 85, 187);
    background-color: #f4f4f4;
    padding: 50px 10px;
    line-height: 30px;
}

.dropzone-hover {
    background-color: cornflowerblue !important;
}

#drop_zone {
    border: 5px solid blue;
    width: 200px;
    height: 80px;
}


.draggable-window {
    background-color: white;
    border: 1px solid #a0a0a0;
    width: 320px;

    padding: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 100;
    background: url(../config/background.jpg?1754225914.1686406);
    background-size: 800px;
}

.draggable-window #draggable-handler {
    cursor: pointer;
}

/* compatilbile with boostrap 4 */
.text-right {
    text-align: right;
}

/* fix summernote */
.note-editable {
    background-color: white;
}

.note-toolbar {
    background-color: #e9f6ff;
}

.desktop-marker {
    background-color: red;
    color: white;
    ;
    font-size: 11px !important;
    font-weight: 600;
    border-radius: 25px;
    padding: 3px 6px;
    margin-left: 2px;
}

#main-help-container {
    display: none;
    flex-direction: column;
    width: 80vh;
    max-width: 1000px;
    height: 80vh;
    position: fixed;
    z-index: 1112;
    left: 50%;
    top: 50%;
    background-color: white;
    transform: translate(-50%, -50%);
    border: 1px solid #e0e0e0;
}

#main-help-container>.toolbox {
    text-align: right;
    padding-right: 20px;
}

#main-help-container>#main-help-body {
    overflow: scroll;
    padding: 12px;
}

#main-help-container>#main-help-body img {
    max-width: 70%;
}

.ajax-list-popup {
    display: none;
    width: 50vh;
    max-width: 1000px;
    height: 50vh;
    position: fixed;
    z-index: 1111;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ajax-list-result {
    margin: 10px;
    background-color: white;
    height: calc(100% - 60px);
    overflow-y: scroll;
    overflow-x: hidden;
}

.small-toolbar {
    display: inline-block;
    padding: 8px;
    margin: 0px 0px 0px 20px;
    font-size: 20px;
}