@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Poppins&display=swap');

/*
Font Gray = #737370
Pink #F26193
Purple #B969BA
Pink / purple which is the make a referral colours is #D464B6
Aqua #29c9Bc
Blue #85C8E6
Orange #FD924D
Where the pink is lighter such as on the bottom left settings and log out buttons - the colour has been reduced to 70% opacity. Same with the orange buttons in places like "Send to Patient".
The fillable form spaces is aqua with a 42% opacity
Most common font size is Poppins regular 18pt in Grey
Titles are Playfair reg 88pt
*/

:root {
    --backgroundcolor: white;
    --shadowcolor: #ccc;
    --chatbg: white;
    --font-color: #737370;
    --highlight: #f7f7f7;
    --highlight-2: #e2e3e5;
    --link: #0366d6;
    --border-color: #d6d5d5;
    --title-color: black;
}

.dark-mode {
    --backgroundcolor: #383838;
    --shadowcolor: #222222;
    --chatbg: #555555;
    --font-color: #cccccc;
    --highlight: #454545;
    --highlight-2: #414648;
    --link: #3ca4ff;
    --border-color: #777777;
    --title-color: white;
}

html, body {
    font-family: 'Poppins';
    font-size: 18px;
}

a, .btn-link{
    font-size: 18px;
    text-decoration:none;
}

.tooth-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100px;
    cursor: pointer;
    fill: black;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

a {
    color: var(--font-color);
    height:125px;
    border-radius: 4px;
    align-items: center;
    line-height: 3rem;
}

.active {
    color: var(--title-color);
}

a:hover {
    opacity: 75%;
    color:#F26193;
    text-decoration:none;
}

.main-window {
    display: flex;
    flex-direction: row;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.pink-header {
    font-size: 26px;
    font-family: 'Playfair';
    color: #F26193;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.main{
    background-color: var(--backgroundcolor);
    color: var(--font-color);
}

.content {
    padding-top: 25px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.highlightrow {
    background-color: lightskyblue;
    color: #383838 !important;
}

.toothe-window {
    box-shadow: 0 4px 8px 0 var(--shadowcolor), 0 6px 20px 0 var(--shadowcolor);
    border-radius: 25px;
}

.toothe-window-header {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    color: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 65px;
    margin: 0px;
    font-size: 30px;
}

.titlebox {
    width: 95%;
    height: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 15px;
    margin-right: 15px;
}

.innerbox {
    min-width: 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-header{
    width: 100%;
    height:80px;
    display:flex;
    justify-content:center;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px var(--shadowcolor);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    .kalascss{
        color:black;
        cursor: pointer;
    }


.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

    .dropbtn:hover, .dropbtn:focus {
        outline: 2px solid #aaa;
    }

.searchInput {
    box-sizing: border-box;
    background-image: url('searchicon.png');
    background-color: #e1f5f3;
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 14px 20px 12px 25px;
    border: none;
    border-bottom: 1px solid #ddd;
    height: 50px;
    width: 100%;
}

    .searchInput:focus {
        outline: 2px solid #aaa;
    }

.dropdown {
    position: relative;
    display: inline-block;
}

.chat-dropdown {
    position: relative;
    display: inline-block;
    width:100%;
}

.dropdown-content {
    margin-left:25px;
    --display: none;
    display: var(--display);
    position: absolute;
    background-color: #f6f6f6;
    min-width: 230px;
    overflow: auto;
    border: 1px solid #ddd;
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        height:60px;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

.dropdown a:hover {
    background-color: #ddd;
}

.chat-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.chat-dropdown-content {
    --display: none;
    display: var(--display);
    position: absolute;
    background-color: #f6f6f6;
    min-width: 230px;   
    overflow: auto;
    border: 1px solid #ddd;
    z-index: 1;
}

    .chat-dropdown-content a {
        color: black;
        height: 60px;
        padding: 12px 16px;
        max-width: 800px;
        text-decoration: none;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.chat-dropdown a:hover {
    background-color: #ddd;
}

.home {
    fill: #29c9Bc;
    background-color: #29c9Bc;
    color: #29c9Bc;
}

.bell {
    fill: #85C8E6;
    background-color: #85C8E6;
    color: #85C8E6;
}

.chat {
    fill: #9F99D0;
    background-color: #9F99D0;
    color: #9F99D0;
}

.dm {
    fill: #B969BA;
    background-color: #B969BA;
    color: #B969BA;
}

.airplane {
    fill: #D464B6;
    background-color: #D464B6;
    color: #D464B6;
}

.referral {
    fill: #F26193;
    background-color: #F26193;
    color: #F26193;
}

/*was #fddb72;*/
.cbct {
    fill: #FD924D;
    background-color: #FD924D;
    color: #FD924D;
}

/*was #FD924D;*/
.email {
    fill: #fddb72;
    background-color: #fddb72;
    color: #fddb72;
}

.company {
    fill: #FD924D;
    background-color: #FD924D;
    color: #FD924D;
}

.invite {
    fill: #F87A70;
    background-color: #F87A70;
    color: #F87A70;
}

.patient {
    fill: #64a2bc;
    background-color: #64a2bc;
    color: #64a2bc;
}

.tooth {
    fill: darkgoldenrod;
    background-color: darkgoldenrod;
    color: darkgoldenrod;
}

.white-icon {
    fill: #ffffff;
    background-color: #ffffff;
    color: #ffffff;
}


.topcornerprint {
    position: absolute;
    top: 10px;
    width: 100%;
    padding: 15px;
    max-width: 1550px;
    text-align: right;
}

.topcornerprintleft {
    position: absolute;
    top: 25px;
}


.sidebar-icon {
    width: 50px;
    height: 50px;
}

.inputbox {
    flex-shrink: 0;
    flex-basis: 50px;
    border-radius: 25px;
    height: 50px;
    width: 300px;
    min-width: 300px;
    background-image: url('searchicon.png');
    background-position: 14px 12px;
    background-repeat: no-repeat;
    background-color: #e1f5f3;
    font-size: 16px;
    padding: 14px 20px 12px 45px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px 0 var(--shadowcolor);
    box-sizing: border-box;
    overflow:auto;
}

.inputboxoffice {
    flex-shrink: 0;
    flex-basis: 50px;
    border-radius: 25px;
    height: 50px;
    width: 700px;
    min-width: 700px;
    background-image: url('searchicon.png');
    background-position: 14px 12px;
    background-repeat: no-repeat;
    background-color: #e1f5f3;
    font-size: 16px;
    padding: 14px 20px 12px 45px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px 0 var(--shadowcolor);
    box-sizing: border-box;
    overflow: auto;
}

.inputbox:focus {
    outline: 2px solid #aaa;
}


.formbox {
    flex-shrink: 0;
    flex-basis: 50px;
    border-radius: 25px;
    width: 400px;
    min-width: 300px;
    background-image: url('searchicon.png');
    background-position: 14px 12px;
    background-repeat: no-repeat;
    background-color: #e1f5f3;
    font-size: 16px;
    line-height: 22px;
    padding: 14px 20px 12px 45px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px 0 var(--shadowcolor);
    box-sizing: border-box;
}

.formbox:focus {
    outline: 2px solid #aaa;
}

input[type="file" i] {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    width: 275px;
    color: white !important;
    border: none;
}

.button {
    border-radius: 25px;
    height: 50px;
    width: 400px;
    color: white !important;
    border: none;
}

    .button:focus {
        outline: 2px solid #aaa;
    }

.half-button {
    border-radius: 25px 0px, 0px, 25px;
    height: 50px;
    width: 300px;
    color: white !important;
    border: none;
}

    .half-button:focus {
        outline: 2px solid #aaa;
    }

.searchbox-header {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid var(--border-color);
    font-weight: bold;
    color: var(--title-color);
}

.seachbox-name {
    flex: 1;
    padding: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size:14px;
}

.seachbox-name-wide {
    flex: 1;
    padding: 12px;
    width:auto;
    font-size: 14px;
    white-space:nowrap;
}

.searchbox-activity {
    flex: 1;
    padding: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.submit-button {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-window {
    height: 88%;
    overflow-y: scroll;
    padding:25px;
}

.scroll-list{
    height:650px;
    overflow-y: scroll;
}


.scroll-buttons{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.scroll-buttons-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.scale-window {
    height: 88%;
    overflow-y: auto;
    padding: 25px;
}

.odontogram-row {
    display: flex;
    grid-gap: 25px;
    padding-bottom: 25px;
}

.patient-label {
    margin-bottom: 5px;
}

.patient-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.patient-column {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    margin-right: 25px;
}
.patient-column-half2 {
    display: flex;
    flex-direction: column;
    min-width: 140px;
    margin-right: 25px;
}

.area-row {
    display: flex;
    align-items:center;
    grid-gap: 25px;
    padding-bottom:25px;
}

.area-column {
    display: flex;
    flex-direction:column;
    justify-content:flex-start;
    grid-gap: 25px;
    padding-right: 25px;
}

.area-column-sm {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    grid-gap: 25px;
    padding-right: 0px;
}

.area-row-fat {
    display: flex;
    align-items:flex-start;
    grid-gap: 10px;
    padding-bottom: 25px;
}

.success-message {
    text-align:left;
    font-weight:bold;
    font-size:14px;
    color:limegreen;
}

.submit-message {
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    color: deepskyblue;
}

.fail-message {
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    color: red;
}

.corner {
    position: absolute;
    top: -50px;
    right: -100px;
}

.smalldot {
    height: 10px;
    width: 10px;
    font-size: 3px;
    border-radius: 50%;
    position: relative;
    left: -12px;
    top: -33px;
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f26193;
    color: darkgoldenrod;
}

.smalldot-inline {
    height: 10px;
    width: 10px;
    font-size: 3px;
    position: relative;
    left: -12px;
    top: 5px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f26193;
    color: darkgoldenrod;
    margin:0px;
}

.grey-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
    margin: 0;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
}

/* Hide the browser's default checkbox */
.grey-label input {
    appearance: none;
    background-color: #fff;
    font: inherit;
    width: 15px;
    height: 15px;
    border: 0.12em solid var(--border-color);
    border-radius: 0.1em;
    transform: translateY(.1em);
    display: grid;
    place-content: center;
    margin-top: 5px;
}

.grey-label input::before {
    content: "";
    width: 8px;
    height: 8px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background-color: #F26193;
}

.grey-label input:checked::before {
    transform: scale(1);
}

/* width */
::-webkit-scrollbar{
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #bfbdbd;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}


@media (max-width: 640.98px) {
    .area-row{
        flex-direction:column;
    }

    .area-row-fat{
        flex-direction:column;
    }

    .main-window {
        flex-direction: column;
    }

    .odontogram-row {      
        width: 100%;
        overflow-x: scroll;
    }    
}

@media (min-width: 641px) {
    .toothe-window {
        height: 790px;
        max-width: 1520px;
    }

    .toothe-window-auto {
        height: auto;
        max-width: 1520px;
        margin:0px auto 0px auto;
    }

    .odontogram-row {
        justify-content: center;
    }  
}

