﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}


.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}


.nav-pills {
    border-radius:10px;
}
.nav-pills .nav-item .nav-link {
    padding: 1rem 1.2rem;
    border-radius: 0
}
.nav-pills .nav-item {

    border-bottom:1px solid #fff;
}
.nav-pills .nav-item:first-child .nav-link {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.nav-pills .nav-item:last-child .nav-link {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
    .nav-pills .nav-item .fas,
    .nav-pills .nav-item .fa {
        opacity: 0.6;
        margin-right:5px
    }

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}


.link-full-table {
    display:block;
    width:100%;
    height:100%;
}


.page-header-fixed .hero-static {
    min-height: 90vh;
}



.badge-flat {
    background-color: #36b3a0;
}

.list-group-sm .list-group-item {
    padding: 0.5rem 0.75rem;
}

.list-group-item {
    border: 1px solid #e4e7ed !important;
}

table.table-left-heading tr td:first-child { font-weight:bold;
}



/* DataTables */

.dt-buttons {
    margin-bottom:20px;
}
.dt-buttons::after {
    display:block;
    clear:both;
    content:"";
}

.dt-button {
    border: 0;
    display: block;
    float: left;
    margin-right: 1px;
    font-weight: 500;
    line-height: 1.5;
    color: #3e444a;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: 0.2rem 0.5rem;
    font-size: 13px;
    border-radius: 0rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: #fff;
    background-color: #32a67f;
}

    .dt-button:hover {
        background-color: #acaba050;
        color: #acaba0;
    }

.dt-buttons .dt-button:first-child {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}
.dt-buttons .dt-button:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}


#datatables_buttons_info {
    border:0;
    border-radius:10px;
    background:#fff;
    box-shadow:0px 0px 20px #00000020;
}
    #datatables_buttons_info * {
        background:transparent;
    }

.dataTables_paginate, .dataTables_info, .dataTables_length, .dataTables_filter {
    font-size: .875rem;
}

.dataTables_length {
    float:left;
}

.no-sort::after {
    display: none !important;
}

.no-sort {
    pointer-events: none !important;
    cursor: default !important;
}


table .nav-users a:hover {
    background-color: transparent !important;
}


.alert blockquote {
    padding:0.5rem 1rem;
    border-left:10px solid #fff;
    margin-left:0.5rem;
    font-style:italic;
    background-color:#ffffff50;
}
    .alert blockquote p {
        margin-bottom:0;
    }

.highlight-conversation {
    transition: all 0.5s;
    /*    box-shadow:0px 0px 20px yellow;*/
    border: 10px solid #ffffdc !important;
    box-sizing: content-box;
}

.text-bricknova-light {
    color:#BEBEAA;
}
.bg-bricknova-lightest {
    background-color: #e7e7dc !important;
}

.text-ssbeige {
    color: #ACABA0;
}


.fa-stack .badge.rounded-pill {
    position: absolute;
    margin-top: -3px;
}

.btn-group-xs > .btn, .btn-xs {
    padding: 0.1rem 0.3rem !important;
    font-size: .7rem !important;
    border-radius: 0.2rem !important;
}



/* Tree View */


/* It's supposed to look like a tree diagram */
.tree, .tree ul, .tree li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.tree {
    margin: 0 0 1em;
    text-align: center;
}

    .tree, .tree ul {
        display: table;
    }

        .tree ul {
            width: 100%;
        }

        .tree li {
            display: table-cell;
            padding: .5em 0;
            vertical-align: top;
        }

            .tree li .img-avatar-thumb-holder {

                width:50px;
                height:50px;
            }
            /* _________ */
            .tree li:before {
                outline: solid 0.5px #666;
                content: "";
                left: 0;
                position: absolute;
                right: 0;
                top: 0;
            }

            .tree li:first-child:before {
                left: 50%;
            }

            .tree li:last-child:before {
                right: 50%;
            }

        .tree code, .tree div {
            border: solid .05em #666;
            background:#fff;
            border-radius: .2em;
            display: inline-block;
            margin: 0 .2em .5em;
            position: relative;
        }

            .tree div span {
                display:block;
            }
            /* If the tree represents DOM structure */
            .tree code {
                font-family: monaco, Consolas, 'Lucida Console', monospace;
            }

            /* | */
            .tree ul:before,
            .tree code:before,
            .tree div:before {
                outline: solid 0.5px #666;
                content: "";
                height: .5em;
                left: 50%;
                position: absolute;
            }

        .tree ul:before {
            top: -.5em;
        }

        .tree code:before,
        .tree div:before {
            top: -.55em;
        }

        /* The root node doesn't connect upwards */
        .tree > li {
            margin-top: 0;
        }

            .tree > li:before,
            .tree > li:after,
            .tree > li > code:before,
            .tree > li > div:before {
                outline: none;
            }


/* Area Layouts */

/**[data-area=customerservice] #sidebar {
    background-color: #af7b7b !important;
}
    *[data-area=customerservice] #sidebar .nav-main-heading {
        color:#fff;
    }

*[data-area=sales] #sidebar {
    background-color: #786a90 !important;
}

    *[data-area=sales] #sidebar .nav-main-heading {
        color: #fff;
    }

*[data-area=organization] #sidebar {
    background-color: #548e7b !important;
}

    *[data-area=organization] #sidebar .nav-main-heading {
        color: #fff;
    }


*[data-area=reports] #sidebar {
    background-color: #4788ce !important;
}
    *[data-area=reports] #sidebar .nav-main-heading {
        color: #fff;
    }*/



/* ---------------------- Steps Plugin ---------------------- */

/*#form-steps {
    max-width: 500px;
    background-color: #ffffff;
    margin: 40px auto;
    padding: 40px;
    box-shadow: 0px 6px 18px rgb(0 0 0 / 9%);
    border-radius: 12px;
}*/

    #form-steps .form-header {
        gap: 5px;
        text-align: center;
        font-size: .9em;
    }

        #form-steps .form-header .stepIndicator {
            position: relative;
            flex: 1;
            padding-bottom: 30px;
        }

            #form-steps .form-header .stepIndicator.active {
                font-weight: 600;
            }

            #form-steps .form-header .stepIndicator.finish {
                font-weight: 600;
                color: #009688;
            }

            #form-steps .form-header .stepIndicator::before {
                content: "";
                position: absolute;
                left: 50%;
                bottom: 0;
                transform: translateX(-50%);
                z-index: 9;
                width: 20px;
                height: 20px;
                background-color: #d5efed;
                border-radius: 50%;
                border: 3px solid #ecf5f4;
            }

            #form-steps .form-header .stepIndicator.active::before {
                background-color: #a7ede8;
                border: 3px solid #d5f9f6;
            }

            #form-steps .form-header .stepIndicator.finish::before {
                background-color: #009688;
                border: 3px solid #b7e1dd;
            }

            #form-steps .form-header .stepIndicator::after {
                content: "";
                position: absolute;
                left: 50%;
                bottom: 8px;
                width: 100%;
                height: 3px;
                background-color: #f3f3f3;
            }

            #form-steps .form-header .stepIndicator.active::after {
                background-color: #a7ede8;
            }

            #form-steps .form-header .stepIndicator.finish::after {
                background-color: #009688;
            }

            #form-steps .form-header .stepIndicator:last-child:after {
                display: none;
            }

/*    #form-steps input {
        padding: 15px 20px;
        width: 100%;
        font-size: 1em;
        border: 1px solid #e3e3e3;
        border-radius: 5px;
    }
*/
        #form-steps input:focus {
            border: 1px solid #009688;
            outline: 0;
        }

        #form-steps input.invalid {
            border: 1px solid #ffaba5;
        }

    #form-steps .step {
        display: none;
    }

    #form-steps .form-footer {
        overflow: auto;
        gap: 20px;
    }

        #form-steps .form-footer button {
            background-color: #009688;
            border: 1px solid #009688 !important;
            color: #ffffff;
            border: none;
            padding: 13px 30px;
            font-size: 1em;
            cursor: pointer;
            border-radius: 5px;
            flex: 1;
            margin-top: 5px;
        }

            #form-steps .form-footer button:hover {
                opacity: 0.8;
            }

        #form-steps .form-footer #prevBtn {
            background-color: #fff;
            color: #009688;
        }






.swal-footer {
text-align:center;
}


#comments .new {
    background: #ecfdf8;
    opacity:0;
}

#comments .comment i {
color: #00000040;
}

#comments .border-bottom:last-child {
border:0 !important;
}


.bg-primary-lightest {
    background-color: #d9f0e8 !important;
}



.fc button {
    background-image: none !important;
    box-shadow: none !important;
    text-shadow:none !important;
    border:0px !important;
}


/* Collapse */

button.collapse-button {
    line-height: 0.2 !important;
}

.collapse-button:before {
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
}
.collapse-button.collapsed:before {
    content: '+';
}
.collapse-button:before {
    content: '-';
}




/* Phone */

@media (max-width: 575.98px) {
    .fc button {
        font-size: 0.7em !important;
    }
    .service-ticket, .service-ticket-reply {
        margin: 0 !important;
        margin-bottom: 10px !important;
    }
}


.img-over-input {
    height:60px !important; position:absolute; right:0; z-index:100;
}


.img-avatar-thumb-holder {
    overflow:hidden;
}
    .img-avatar-thumb-holder img {
        max-width:100%;
    }

.img-avatar-xs {
    width:40px !important;
    height:40px !important;
}


