:root {
    --border-color: #ddd; /* #A7C7E7; */
    --pale-bg: #d1edf2;
    --white: #ffffff;
    --black: #000;
    --txt-gray: #555;
    --txt-black: #000;
    --screen-bg: #eee;
    --editable: #87CEEB;
    --deep-blue:#3f51b5;
    --hover:#dedede;
    --bg-handle:#dedede;
    --txt-handle:#555;
}


* {
    -webkit-tap-highlight-color: rgba(0,0,0,0)!important;
}

* {
    -ms-overflow-style: -ms-autohiding-scrollbar!important;
    -ms-overflow-style: none!important;
}
::-webkit-scrollbar {
    display:none!important;
}

::selection {
    background: #E86850!important; /* WebKit/Blink Browsers */
    color: #ffffff!important;
}
::-moz-selection {
    background: #E86850!important; /* Gecko Browsers */
    color: #ffffff!important;
}


body {
    font-family: Muli, sans-serif;
    margin: 0px;
    padding: 0px;

    background-image: url('../icon.png'); /* Replace with your icon's path */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center center; /* Centers the image horizontally and vertically */
    background-size: auto;
    min-height: 100vh; 
}

hr {
    border: 1px solid var(--border-color);
}

.pointer {
    cursor: pointer;
}

.bold {
    font-weight: 800;
}

.bolder {
    font-weight: 900;
}
.text-deep-blue {
    color: var(--deep-blue);
}
.deep-blue {
    background-color: var(--deep-blue);
}

.imgfit {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.btn-rounded {
    padding: initial;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    vertical-align: middle;
}

#main {
    position: fixed;
    width: 100vw;
    height: 100%;
    z-index: 0;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

#header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    border: 0px solid red;
}
#main-content {
    position: absolute;
    left: 5px;
    right: 5px;
    top: 115px;
    bottom: 75px!important;
    width: calc(100% - 10px);

    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 0px solid #ddddee;

    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
    background: var(--pale-bg)!important;
}
#footer {
    position: absolute;
    left: 0;
    bottom: 0px!important;
    width: 100%;
    height: 70px;

    border: 0px solid blue;
    padding: 10px 15px 15px 15px!important;
    text-align: center;
}

#footer .w3-button {
    font-weight: 700;
}

.vumeter {
    border: 1px solid #ccc;
    border-radius: 16px;
    height: 16px;
    width: 100%;
    background: var(--white);
}

#transcript-plus-menu, #summary-plus-menu, #patient-instructions-plus-menu, #patient-summary-plus-menu, #diagnostics-plus-menu {
    position: fixed;
    width: 320px;
    max-height: 350px;
    left: calc(50vw - 160px);
    bottom: 75px;
    z-index: 150!important;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: left;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}


#is-recording {
    position: fixed;
    top: 5px;
    left: 5px;
    right:  5px;
    height: 120px;
    z-index: 100;
    padding: 15px;
    background: var(--pale-bg);
    border-radius: 8px;
    border-bottom: 0px solid #ccc;
}

#is-recording-soundwave {
    position: fixed;
    top: 30px;
    right:  15px;
    width: 250px;
    height: 120px;
    z-index: 110;
}

#is-recording-soundwave img {
    width:150px;
}

#conversation-create-form {
    position: fixed;
    top: 125px;
    left: 5px;
    right:  5px;
    height: 120px;
    z-index: 100;
    padding: 15px;
    background: transparent;
}

ul li.separator {
    border-bottom: 2px solid var(--black)
}

.screen {
    position: fixed;
    width: 100vw;
    height: 100%;
    z-index: 100;
    background: var(--pale-bg);
}

.screen .header {
    height: 70px;
}

.screen .header .title {
    font-size: 14pt;
    font-weight: 900;
    padding-left: 15px;
    padding-top: 10px;
    display: inline-block;
    width: calc(100% - 40px - 10px);
    height: 70px;
    line-height: 70px;
    vertical-align: middle;
}

.screen .header .close {
    text-align: right;
    padding-right: 15px;
    padding-top: 5px;
    display: inline-block;
    width: 40px;
    height: 70px;
    line-height: 70px;

}

.screen .header .back {
    border: 0px solid red;
    height: 15px;
    padding: 0px 10px 0px 10px;
    border-radius: 10px;
    cursor: pointer;
}

.screen .header .back:hover {
    background: var(--hover);
}

.screen .content {
    height: calc(100% - 70px - 5px);
    padding: 10px 15px;
    margin: 0px 4px 0px 4px;

    font-size: 12pt;
    font-weight: 500;

    border-radius: 16px;
    border: 1px solid var(--border-color);

    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    background: var(--screen-bg);
}

.screen .content.with-buttons {
    height: calc(100% - 70px - 5px - 70px);
}

#transcription {
    border: 0px solid #ccc;
    padding: 10px;
    min-height: 100px;
    line-height: initial;
    /* white-space: pre-wrap; */
    white-space: pre;
}

#summary {
    padding: 10px;
    border: 0px solid #ddd;
    min-height: 100px;

}

.topbar {
    height: 70px;
}

.topbar-item {
    padding-top: 20px;
    text-align: center;
}

.topbar .icon {
    display: inline-block;
    border: 0px solid red;
    width: 50px;
    height: 50px;
    text-align: center;
    float: left;
    color: var(--txt-gray);
}

.topbar .rest {
    display: inline-block;
    border: 0px solid blue;
    width: calc(100vw - 3 * 50px - 5px);
    height: 50px;
    float: left;
    overflow: hidden;
}

.tabs {
    background: var(--pale-bg);
    margin: 0px 5px;
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
}

.tabs .tab {
    padding: 5px;
    margin: 10px 15px 8px 15px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 24px;
    font-weight: 700;
}

.tabs .tab.active {
    background: #fff!important;
}

.tabs .tab:hover {
    background: lightgray;
    cursor: pointer;
}

.start-btn-adjust {
    padding-left: 12px;
    padding-right: 12px;
}

.stop-btn-adjust {
    padding-left: 14px;
    padding-right: 14px;
}

.plus-btn-adjust {
    padding-left: 12px;
    padding-right: 12px;
}

#new-conversation-btn-wrapper {
    position: absolute;
    bottom: 85px;
    right: 15px;
    z-index: 10;
    cursor: pointer;
}

.conversation-item, .template-item {
    position: relative;
    width: 100%;
    border-radius: 10px;
    background: var(--white);
    padding: 0px 0px;
    margin: 10px 0px;
    color: var(--txt-gray);
    clear: both;
    border-bottom: 1px solid var(--border-color);
}

.conversation-item .icon, .template-item .icon {
    display: inline-block;
    width: 50px;
    height: 70px;
    line-height: 70px;
    vertical-align: middle;
    text-align: center;
    padding: 0px 10px 10px 10px!important;
    border: 0px solid red;
    float: left;
}

.conversation-item .menu, .template-item .menu {
    display: inline-block;
    width: 20px;
    height: 70px;
    line-height: 70px;
    vertical-align: middle;
    text-align: center;
    vertical-align: middle;
    padding: 10px;
    margin: 0px;
    border: 0px solid green;
    float: left;
}

.conversation-item .icon i, .template-item .icon i {
    font-size: 16pt;
}

.conversation-item .rest, .template-item .rest {
    display: inline-block;
    width: calc(100% - 50px - 20px - 10px);
    min-height: 70px;
    padding: 10px;
    margin: 0px;
    border: 0px solid blue;
    float: left;
}

.conversation-item .title, .template-item .title {
    font-size: 12pt;
    font-weight: 700;
    color: var(--txt-black);
}

.conversation-item .created_at, .template-item .created_at {
    font-size: 8pt;
    font-weight: 700;
    color: var(--txt-gray);
}

.conversation-item .actions, .template-item .actions {
    position: absolute;
    z-index: 110;
    right: 15px;
    top: -20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: var(--white);
}

.ponter {
    cursor: pointer;
}

.editable, .editable:focus {
    outline: none;
    border: 2px solid var(--editable);
    padding: 2px 5px;
    cursor: auto;
    border-radius: 6px;
}

.outline-off, .outline-off:focus {
    outline: none;
    border: 2px solid var(--editable);
    padding: 2px 5px;
    cursor: auto;
    border-radius: 6px;
}

.readonly, .readonly:focus {
    outline: none;
    border: 0px;
}

.label {
    margin: 20px 0px 4px 0px;
}

.left-menu {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 200px;
    height: 100%;
    z-index: 100;
    background: var(--white);
    border-right: 1px solid #ccc;
}

.menu-item {
    cursor: pointer;
}

.user-info {
    padding: 20px 10px;
}

.user-info .fristname {
    font-weight: 800;
}

.user-info .lastname {
    font-weight: 800;
}

/*_________ Shake Effect ________________*/

.shake_effect {
    animation: shake 1s ;
    border: 3px solid orangered!important;
    outline: none!important;
}
@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

#alert .title {
    padding: 10px 0px;
    font-size: 20pt;
}

.screen .content .buttons {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 10px;
    height: 50px;
}
#patient-summary, #patient-instructions {
    height: calc(100% - 60px - 10px);
    border: 0px solid red;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.loading-wrapper {
    text-align:center;
    margin-top:40%;
}

/*___________*/

ul.sections-list {
    list-style-type: none; /* Removes the default bullet points */
    margin: 0;            /* Removes default top/bottom margin */
    padding: 0;
}

.sections-list .section-tiem .handle {
    position: relative;
    text-align: center;
    cursor: pointer;
    color: var(--txt-handle);
    background: var(--bg-handle);
    border-radius: 6px;
    padding: 0px;
    margin: 0px;
}

.sections-list .section-tiem .handle i {
    font-size: 8pt;
}

.section-tiem {
    background: var(--white);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

li.section-tiem:not(:last-child) {
    margin-bottom: 20px;
}

.section-tiem .style-container {
    margin: 20px 0px 10px 0px!important;
}

.section-tiem .style {
    display: inline-block;
    cursor: pointer;
    padding: 20px 15px 12px 15px;
    margin: 5px 10px;
    border: 2px dotted var(--border-color);
}

.section-tiem .style:hover {
    background: var(--hover);
    border-radius: 6px;
}

.section-tiem .style.active {
    outline: none;
    border: 2px solid var(--editable);
    border-radius: 6px;
}

/*___________*/
#settings .tabs {
    padding: 4px 10px!important;
    margin: 0px 0px 10px 0px!important;
    border-radius: 14px;
    background: var(--pale-bg)!important;
    border: 1px solid var(--border-color);
}

#settings .tab {
    padding: 2px 15px!important;
    margin: 0px!important;
    border-radius: 14px;
    border: 1px solid var(--border-color);
}

#settings .tab.active {
    background: white!important;
    color: black!important;
}

#settings .tab-content {
    height: calc(100vh - 150px - 70px);

    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 0px solid var(--border-color);
    border-radius: 16px;
}