﻿/*---Margins---*/
.margin-all10 {
    margin: 10px;
}

.margin-all15 {
    margin: 15px;
}

.margin-all20 {
    margin: 20px;
}

.margin-top5 {
    margin-top: 5px;
}

.margin-top7 {
    margin-top: 7px;
}

.margin-top10 {
    margin-top: 10px;
}

.margin-top15 {
    margin-top: 15px;
}

.margin-top17 {
    margin-top: 17px;
}

.margin-top20 {
    margin-top: 20px;
}

.margin-top30 {
    margin-top: 30px;
}

.margin-right5 {
    margin-right: 5px;
}

.margin-right10 {
    margin-right: 10px;
}

.margin-bottom10 {
    margin-bottom: 10px;
}

.margin-bottom20 {
    margin-bottom: 20px;
}

/*---Paddings---*/
.padding-all10 {
    padding: 10px;
}

.padding-all20 {
    padding: 20px;
}

.padding-top10 {
    padding-top: 10px;
}

/*---Colors---*/
.color-white,
.nav-font,
.portal-header {
    color: white;
}

.color-black,
.tooltiptext {
    color: black;
}

.color-x2r-darkblue {
    color: #104c5d;
}

.color-x2r-lightgreen {
    color: #c2d21c;
}

.color-x2r-middlegreen {
    color: #27a736;
}

.color-x2r-darkgreen {
    color: #00805d;
}

.color-x2r-lightblue {
    color: #4aa5ac;
}

.color-gray,
.list-item-value,
.subscription-method {
    color: gray;
}

.color-dark-gray,
.select-isAdmin {
    color: #555555;
}

.color-green,
.fa-check-circle {
    color: green;
}

.color-red,
.fa-times,
.fa-times-circle,
.fa-exclamation-circle,
.fa-ban {
    color: red;
}

/*---Background colors---*/
.background-color-white,
.details-dialog,
.tooltiptext,
.select-isAdmin,
.profile-panel {
    background-color: white;
}

.background-color-black {
    background-color: black;
}

.background-color-green {
    background-color: green;
}

.background-color-red {
    background-color: red;
}

.background-color-gray {
    background-color: gray;
}

.background-color-lightgrey,
.navigation-section {
    background-color: lightgrey;
}

.background-color-x2r-darkblue,
.portal-header {
    background-color: #104c5d;
}

/*---Widths---*/
.width10perc,
.name-column-dropdown {
    width: 10%;
}

.width20Perc,
.subscription-method {
    width: 20%;
}

.width25Perc {
    width: 25%;
}

.width33Perc {
    width: 25%;
}

.width50Perc,
.general-statistics-col {
    width: 50%;
}

.width90perc,
.details-dialog,
.name-column {
    width: 90%;
}

.width100Perc,
.backdrop,
.select-isAdmin,
.tooltiptext {
    width: 100%;
}

/*---Heights---*/
height80perc,
.details-dialog {
    height: 80%;
}

height100perc,
.container-fluid,
.backdrop {
    height: 100%;
}

/*---Align content---*/
.align-content-center {
    align-content: center;
}

/*---Text positions---*/
.text-left,
.general-statistics-table {
    text-align: left;
}

.text-right,
.subscription-method {
    text-align: right;
}

/*---Float positions---*/
.float-left,
.name-column,
.name-column-dropdown {
    float: left;
}

.float-right,
.list-item-value {
    float: right;
}

/*---Font sizes---*/
.font-size16,
.nav-font {
    font-size: 16px;
}

.font-size20,
.fa-check-circle,
.fa-times-circle,
.fa-exclamation-circle {
    font-size: 20px;
}

.font-size26,
.list-item-value,
.subscription-method {
    font-size: 26px;
}

.font-size36{
    font-size: 36px;
}

.position-relative{
    position: relative;
}

.row-title {
    margin-top: 7px;
}

html,
body {
    background-repeat: no-repeat;
    background-attachment: fixed;
    /*background-position: right bottom;*/
    background-position: calc(100% - 20px) 100%;
}

.input-validation-error {
    border-color: red !important;
    background-color: #ffeee6 !important;
}

.dropShadow {
    box-shadow: 5px 10px 10px lightgray;
}

.main {
    height: calc(100% - 50px);
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    overflow-y: scroll;
    overflow-x: hidden;
    position: absolute;
    transition: margin-left .5s;
}

a.hyperlink:link,
a.hyperlink:hover,
a.hyperlink:visited {
    font-size: 36px;
    text-decoration: none;
    color: black;
}

.inline {
    display: inline;
}

.switch {
    color: inherit !important;
    text-decoration: none !important;
}

.backdrop {
    position: fixed;
    z-index: 2;
    background: rgba(66,66,66,0.7);
    top: 0px;
    left: 0px;
    display: none;
}

.details-dialog {
    position: fixed;
    top: 10%;
    left: 5%;
    border: 1px solid lightgrey;
    z-index: 3;
    box-shadow: 5px 10px 10px lightgray;
    visibility: hidden;
    display: none;
}

.pointer,
.sla-selection-panel {
    cursor: pointer;
}

.button-link {
    padding-left: 5px;
}

#btnBulkEnable, #btnBulkDisable, #btnBulkDelete, #btnBulkActions,
#Tab2, #Tab3, #Tab4, #Tab5,
#percentage,
#template,
#slaLevel,
#SearchDialog,
#userInfo,
#confirmationPage,
#WaitForServer, #WaitForServerTab2,
#ResponseMessage, #ResponseMessageTab2 {
    /*visibility: hidden;*/
    display: none;
}

.plus-mini {
    font-size: 8px;
    padding-right: 2px;
}

#successChart {
    height: 300px;
}

.statisticPanelBody {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 300px
}

.fa-ellipsis-v {
    width: 50px
}

.tooltiptext {
    visibility: hidden;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: normal;
    font-size: 14px;
    text-align: left;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    width: auto;
    padding: 5px;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    /*top: 10px;*/
    /*left: 10%;*/
}

.fa-exclamation-circle:hover .tooltiptext,
.name-tooltip:hover .tooltiptext {
    visibility: visible;
}

.dashboard-icon {
    font-size: 120px;
    font-weight: 200;
}

.line {
    border-bottom: 1px solid lightgray;
}

.label-enabled {
    padding-top: 10px;
    margin-right: 10px;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    color: white;
    background-color: #104c5d;
}

    .nav-pills > li > a,
    .nav-pills > li.active > a,
    .nav-pills > li.active > a:hover,
    .nav-pills > li.active > a:focus {
        border-radius: 10px;
        /*font-size: 16px;*/
    }

.general-statistics-table {
    width: calc(100% - 30px);
}

.border-collapse,
.general-statistics-table,
.general-statistics-row,
.general-statistics-col {
    border-collapse: collapse;
}

.general-statistics-row {
    border: 1px solid gray;
}

.general-statistics-col {
    border: 1px solid #dddddd;
    padding: 10px 15px 1px 15px;
}

.list-item-value {
    position: relative;
    top: -10px;
}

.subscription-method {
    font-weight: bold;
}

.activityMonitor {
    height: 500px;
    overflow-y: scroll;
    border: 1px solid lightgrey;
    padding: 1em
}

.top-panel, .admin-WhoOnline {
    height: 335px;
}

.admin-WhoOnline {
    overflow-y: auto;
    overflow-x: hidden
}

.bottom-panel {
    height: 415px;
}

.overflow-y-scroll,
.navigation-section,
.details-body,
.profile-panel {
    overflow-y: scroll;
}

.overflow-y-auto,
.underlying-customers,
.search-modal,
.about-modal {
    overflow-y: auto;
}

.overflow-y-hidden {
    overflow-y: hidden;
}

.overflow-x-scroll {
    overflow-x: scroll;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-x-hidden,
.underlying-customers,
.details-body {
    overflow-x: hidden;
}

.underlying-customers {
    height: auto;
    max-height: calc(100vh - 440px);
}

.display-none {
    display: none;
}

.display-block {
    display: block;
}

.navigation-section {
    position: fixed;
    height: calc(100% - 140px);
}

.select-isAdmin {
    border: 1px solid rgb(204, 204, 204);
    height: 34px;
}

.section {
    /*border-style: solid;
        border-width: 1px;*/
    padding-left: 10px;
}

.sla-selection-panel {
    height: 60vh
}

.sla-image {
    position: absolute;
    top: 20px;
    right: 20px
}

.sla-most-popular {
    position: absolute;
    left: 130px;
    top: 25px;
}

.search-modal {
    height: 300px;
}

.about-modal {
    height: 400px;
}

.details-body {
    height: calc(100% - 75px);
}

.alert-message {
    position: absolute;
    z-index: 1100;
    width: 60%;
    left: 20%;
    top: 30px;
    border-radius: 5px;
    display: none;
}

.alert-call-container {
    display: inline-block
}

.payment-checkbox {
    width: 20px;
    height: 20px;
}

.payment-text {
    height: 30px;
    padding-top: 4px;
}

.profile-panel {
    position: absolute;
    top: 0px;
    left: 50%;
    border: 1px solid #AAAAAA;
    height: calc(100% - 10px);
    width: calc(50% - 10px);
}

.dropdown-icon {
    width: 16px;
}

.input-description {
    padding: 3px 0px 0px 25px;
    font-size: 12px;
}

.sla-shield-add {
    font-size: 64px;
}

.sla-shield-details {
    font-size: 64px;
}

.gold {
    color: #FFD700;
}

.silver {
    color: #C0C0C0;
}

.bronze {
    color: #cd7f32;
}

.center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.resize-none {
    resize: none;
}

.panel-description {
    padding: 15px;
    border-bottom-style: solid;
    border-width: 1px;
    border-color: #ddd;
}

.condition-select {
    width: 100%;
    padding: 10px 15px 0px;
}

.btnPrevious {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

    .btnPrevious:focus,
    .btnPrevious.focus {
        color: #333333;
        background-color: #e6e6e6;
        border-color: #8c8c8c;
    }

    .btnPrevious:hover {
        color: #333333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

.btnNext {
    color: #fff;
    background-color: #313131;
    border-color: #252525;
}

    .btnNext:focus,
    .btnNext.focus {
        color: #ffffff;
        background-color: #181818;
        border-color: #000000;
    }

    .btnNext:hover {
        color: #ffffff;
        background-color: #181818;
        border-color: #060606;
    }

.callsToday-row {
    height: 25%;
    border-collapse: collapse;
    border: 1px solid gray;
}

.callsToday-col {
    border-collapse: collapse;
    border: 1px solid #dddddd;
    padding: 10px 15px 1px 15px;
    width: 50%;
}

.dashboard-panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 0;
    height: 100%;
    box-shadow: 5px 10px 10px lightgray;
}


.statistic-item {
    position: relative;
    display: inline;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.data-item {
    position: relative;
    height: 100%;
    float: left;
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.data-item-title {
    position: absolute;
    top: calc(60% - 1vw);
    left: 10px;
    font-size: 1vw;
}

.data-item-value {
    position: absolute;
    top: calc(60% - 1vw);
    right: 10px;
    color: gray;
    font-size: 1vw;
    font-weight: bold;
}

.counter-panel {
    height: calc(100% - 50px);
    padding: 0;
    position: relative;
}

.counter-container {
    position: relative;
    width: 100%;
    height: calc(100% - 41px);
    text-align: center;
}

.widget-body .counter-container{
    height: 100%;
}

.counter {
    font-size: 129px;
    font-weight: 200;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.counter-value {
    line-height: 0.6;
    font-size: 130px;
    font-weight: 200;
    height: 100px;
}

.counter-center {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.counter-description {
    font-size: 16px;
}

.dropdown-menu {
    z-index: 10000;
}

.dashboard_container {
    /*margin-left: 50px;
    margin-right: 20px;*/
    margin: 0 20px 0 50px;
    padding: 0px 10px;
}

.panel, .widget-panel {
    /*container-type: inline-size;*/
    container-type: size;
}

    .panel .panel-heading,
    .widget-panel > .widget-header {
        font-size: 14px;
    }

@container (max-width: 300px) {
    .panel .panel-heading,
    .counter-description,
    .widget-panel > .widget-header {
        font-size: 1vw;
    }

    .panel .panel-heading,
    .widget-panel > .widget-header {
        font-size: 12px;
    }

    .counter-value {
        font-size: 4vw;
        height: 4vw;
    }
}


/* DashboardLayout element styles  */
#defaultLayout {
    padding: 10px;
}

.alert-list {
    height: calc(100% - 50px);
    overflow-y: scroll;
    padding: 10px;
}

.widget-panel .alert-list{
    height: 100%;
}

.alert-list .alert {
    margin: 0px 5px 20px;
}

.alert-dark{
    background-color: #808080;
}


/* multiview sidenav */
.sidenav {
    height: calc(100% - 50px);
    width: 260px;
    position: fixed;
    z-index: 10000;
    top: 50px;
    left: -220px;
    overflow-x: hidden;
    transition: 0.5s;
    box-shadow: 5px 10px 18px #888888;
}

.sidenav-container {
    width: 100%;
    height: 100%;
    background-color: #f2f2f2;
    color: black;
}

.sidenav-content {
    height: 100%;
    overflow-y: auto;
    padding-top: 10px;
}

.sidenav a {
    text-decoration: none;
}

.sidenav-navbar {
    width: 40px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

.sidenav-navbar-purple {
    background-color: #104c5d;
    color: white;
}

.sidenav-navbar-lightgray {
    background-color: #f2f2f2;
    color: gray;
    /*border-right: 1px solid gray;*/
}

.sidenav-navbar i {
    text-decoration: none;
    font-size: 26px;
    width: 100%;
    padding: 5px 0px;
    text-align: center;
    cursor: pointer;
}

.sidenav-navbar img {
    width: 100%;
    padding: 5px 9px;
    cursor: pointer;
}

.sidenav-navbar-purple i:hover,
.sidenav-navbar-purple img:hover {
    background-color: #166b83;
}

.sidenav-navbar-lightgray i:hover,
.sidenav-navbar-lightgray img:hover {
    background-color: #e6e6e6;
}

.sidebar-icon{
    width: 8px;
}

.sidebar-option {
    padding: 0px 5px;
    cursor: pointer;
}

.sidebar-option-selected,
.sidebar-option:hover {
    background-color: #cccccc;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

/*.btn-modal {
    display: none;
}*/


.collapse-panel { }

    .collapse-panel > .collapse-button {
        background-color: #f5f5f5;
        color: #333;
        cursor: pointer;
        padding: 10px 15px;
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
    }

    

.collapse-panel > .collapse-button:after {
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}


.collapse-panel > .collapse-content {
    padding: 0 18px;
    max-height: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    transition: max-height 0.2s ease-out;
    background-color: #f3f3f3;
}

    .collapse-panel > .collapse-content.active {
        background-color: #f1f1f1;
        max-height: 200px;
    }


.widget-panel {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .widget-panel > .widget-header {
        color: #333;
        background-color: #f5f5f5;
        border-color: #ddd;
        border-bottom: 1px solid transparent;
    }

    .widget-panel > .widget-body {
        flex: 1;
        overflow: auto;
    }

.timer {
    display: none;
}

    .timer.ongoing {
        display: inline-block;
    }