﻿/*!
 * MTN Skin
 * Copyright © 2020 Always Active Technologies PTY Ltd
 */

@import url('../../../css/open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: MTNBrighterSans-Regular;
    src: url(../../../assets/fonts/mtn-brighter-sans/otf/MTNBrighterSans-Regular.otf);
}

:root {
    /* --skin-primary: #ffc736;*/
    --skin-primary: #FFCB05;
    --skin-secondary: #00678f;
    --skin-sb-level-2: #FFE9B2;
    --skin-sb-level-3: white;
    --skin-sb-menu-active: #FFDA7B;
    --skin-sb-link-active: #006A8C;
}

html {
    overflow-y: scroll;
}

html, body {
    /*font-size: .875rem;*/
    font-family: MTNBrighterSans-Regular, Helvetica, Arial, sans-serif;
    height: 100%;
}

.mud-typography {
    font-family: MTNBrighterSans-Regular, Helvetica, Arial, sans-serif;
}

.mud-fab {
    font-family: MTNBrighterSans-Regular, Helvetica, Arial, sans-serif;
    text-transform: none !important;
}

a, .btn-link {
    color: #0366d6;
}

thead {
    background-color: lightgray;
}

.btn {
    border-radius: 50rem;
    min-width: 30px;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    pointer-events: none;
    opacity: .65;
}

.btn-tab {
    border-radius: .25rem;
}

.btn-primary {
    color: black !important;
    background-color: var(--skin-primary) !important;
    border-color: var(--skin-primary) !important;

}

/* .btn-primary:focus {
     color: white !important;
     background-color: black !important;
     border-color: black !important;
 }*/

.btn-primary:hover {
    color: black !important;
    background-color: grey !important;
    border-color: grey !important;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: black;
    background-color: var(--skin-primary);
    border-color: var(--skin-primary);
}

.btn-secondary {
    color: black !important;
    background-color: white !important;
    border-color: black !important;
}

/*.btn-secondary:focus {
    color: white !important;
    background-color: black !important;
    border-color: black !important;
}*/

.btn-secondary:hover {
    color: black !important;
    background-color: grey !important;
    border-color: grey !important;
}

.btn-navigation {
    background-color: #c1c1c1;
    padding: 10px;
    width: 200px;
    text-decoration: none;
    color: black;
    border-radius: 6px;
}

.btn-navigation:hover {
    background-color: var(--skin-primary);
    text-decoration: none;
    color: black;
}

.btn-navigation-lg {
    background-color: #c1c1c1;
    padding: 10px;
    width: 650px;
    text-decoration: none;
    color: black;
    border-radius: 6px;
}

.btn-navigation-lg a {
    text-decoration: none;
    color: black;
}

.btn-navigation-lg:hover {
    background-color: var(--skin-primary);
    text-decoration: none;
    color: black;
}

.content {
    /*padding-top: 1.1rem;*/
    padding-top: 1.0rem;
}

.icon-border {
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0px 0px 2px #888;
    padding: 0.5em 0.5em;
    font-size: 18px;
    color: #888;
    vertical-align: top;
}

.valid.modified:not([type=checkbox]) {
    /*outline: 1px solid #26b050;*/
    border: 1px solid #26b050;
    border-radius: .25rem;
    background: lightgreen;
}

.form-check-input:checked {
    border-color: var(--skin-primary);
    background-color: var(--skin-primary);
}

.invalid {
    /*outline: 1px solid red;*/
    border: 1px solid red;
    border-radius: .25rem;
    background: lightpink;
}

.validation-message {
    color: red;
    float: right;
}

.validation-message span i {
    margin-right: 4px;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}


/*-- Sidebar --*/
.sidebar {
    /* position: fixed;*/
    top: 0;
    /* rtl:raw:
  right: 0;
  */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100; /* Behind the navbar */
    /* padding: 100px 0 0;*/ /* Height of navbar */
    padding-bottom: 600px;
    width: 280px;
    /*box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);*/
    background-color: #f5f5f5;
    overflow-y: scroll;
    -ms-overflow-style: none !important; /* IE and Edge */
    scrollbar-width: none !important; /* Firefox */
}

.sidebar_bg {
    background-color: #f5f5f5 !important;
}

/*Overwriting the drawer scrollbar */
.mud-drawer {
    -ms-overflow-style: none !important; /* IE and Edge */
    scrollbar-width: none !important; /* Firefox */

}

.mud-drawer-close-mini-md-left .mud-main-content {
    margin-left: var(--mud-drawer-width-mini-left);
}

/* Hide scrollbar for Chrome, Safari */
.mud-drawer::-webkit-scrollbar,
.sidebar::-webkit-scrollbar {
    display: none !important;
}

.sidebar_pushdown {
    padding-bottom: 20rem !important;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.sidebar_icon {
    width: 38px;
    margin-left: -13px;
}

.mud_drawer_toggle {
    border-radius: 0% !important;
    justify-content: flex-start;
    padding-left: 17px;
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-item {
    font-size: 0.9rem;
    /*padding-bottom: 0.4rem;*/
}

.sidebar .nav-link {
    /*font-weight: 500;
    color: #333;*/
    color: #161616;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    /* border-radius: 25px;*/
    border-bottom-color: #e4e4e4;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    /*font-weight: bold;*/
}

/*.sidebar .nav-link:first-child {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }*/
.sidebar .nav-item {
    /*margin-left: 0.5rem;*/
    /*margin-right: 0.5rem;*/
}

/* .sidebar .nav-item a.active {
    background-color: rgba(255,255,255,0.50);
color: #006A8C;
}*/

.sidebar .nav-item a:hover {
    background-color: white;
    border-right: 4px solid var(--skin-primary);
    color: black;
}

.sidebar .nav-item:first-of-type {
    /*padding-top: 0.4rem;*/
}

.sidebar .nav-item:last-of-type {
    /*padding-bottom: 0.4rem;
    margin-bottom: 0.5rem;*/
}

.nav-item-level-1 {
    /*margin-left: 0.5rem;*/
    margin-right: 0.5rem;
    white-space: nowrap;
}

.nav-item-level-2 {
    margin-left: 2.0rem;
    /*margin-right: 1.0rem;*/
    margin-right: 0.5rem;
    white-space: nowrap;
}

.nav-item-level-3 {
    margin-left: 3.5rem;
    /*margin-right: 1.8rem;*/
    margin-right: 0.5rem;
    white-space: nowrap;
}

.nav-icon {
    color: black;
}

.level-1 {
    background-color: #f5f5f5;
    border-right: 4px solid #f5f5f5;
    color: black;
}

.level-1.active {
    /*background-color: var(--skin-sb-menu-active);
    color: var(--skin-sb-link-active);*/
    color: var(--skin-sb-link-active);
    background-color: white;
    border-right: 4px solid var(--skin-primary);
    font-weight: bolder;
}

.level-2 {
    background-color: #F1F1F1;
    border-right: 4px solid #F1F1F1;
    color: black;
}

.level-2.active {
    color: var(--skin-sb-link-active);
    background-color: white;
    border-right: 4px solid var(--skin-primary);
    font-weight: bolder;
}

.level-3 {
    background-color: #FBFBFB;
    border-right: 4px solid #FBFBFB;
    color: black;
}

.level-3.active {
    color: var(--skin-sb-link-active);
    background-color: white;
    border-right: 4px solid var(--skin-primary);
    font-weight: bolder;
}

.sidebar .nav-link.active {
    /* color: #007bff;*/
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    /*color: inherit;*/
}


/*-- Navbar --*/
.navbar {
    height: 85px;
    background-color: #f5f5f5;
    border-bottom: 1px solid black;
    z-index: 1400;
    position: fixed;
    width: 100%;
}

.navbar-unauthorised {
    background-color: white;
}

.navbar-brand {
    /* padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;*/
    /*background-color: rgba(0, 0, 0, .25);*/
    /*box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);*/
    /*--fit to parent--*/
    height: 100%;
    color: black;
}

.navbar-brand-logo {
    height: 100%;
}

.header-brand-line {
    height: 14px;
    width: 100%;
    background-color: black;
}

.navbar a:hover {
    color: black;
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.navbar-dropdown-btn {
    background: none !important;
    border: none;
    padding: 0 !important;
    cursor: pointer;
}


/*-- Sidebar-Nav-Items --*/
.nav-item:first-of-type {
    /*padding-top: 1rem;*/
}

.nav-item:last-of-type {
    /*padding-bottom: 1rem;*/
}

.nav-item a {
    /*color: #161616;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        border-radius: 25px;
        border-color: white;
        border-width: 2px;
        border-style: solid;
        font-weight: bold;*/
}


/*--Main--*/
main {
    /*min-height: calc(100vh - 235px);*/
    /*min-height: calc(100vh - 180px);*/
    min-height: calc(100vh - 100px);
    /*padding: 15px;*/
    padding-bottom: 102px;
    padding-left: 5px;
}

.main-content {
    border-style: solid;
    border-width: thin;
    border-color: lightgray;
    /*border-radius: 12px;*/
    /* min-height: calc(100vh - 216px);*/
    min-height: calc(100vh - 200px);
}

.site-icon {
    color: #006A8C;
}


/*--Footer --*/
.footer {
    /*height: 230px;*/
    background-color: black;
    color: white;
    text-align: center;
    z-index: 1100;
    position: absolute;
    width: 100%;
}

.footer a {
    color: var(--skin-primary);
    /*padding-left: 10px;*/
}

.footer a:hover {
    color: white;
}

.footer-icon {
    color: var(--skin-primary);
}

.footer-content-right {
    font-size: 15px;
    padding-top: 14px;
    color: var(--skin-primary);
}

.footer-content {
    position: absolute;
    display: inline;
    padding-top: 10px;
    left: 5%;
    font-size: 14px;
}

.footer-content a {
    color: white;
}

.footer-content-bottom {
    position: absolute;
    left: 5%;
    font-size: 12px;
    color: grey;
    display: inline;
}


/*--Profile Dropdown--*/
.profile-dropdown {
    right: 1rem;
    position: absolute;
}

.profile-button {
    background: none !important;
    border: none;
    padding: 0 !important;
    cursor: pointer;
}

.profile-button:focus {
    outline: none;
}


/*--Login--*/
.login-main-bg {
    background-image: url("/skins/mtn/login_background.jpg");
    background-color: #e4e2e2;
    min-height: calc(100vh - 94px);
    margin-bottom: -102px;
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: cover;
}

.login-main-block {
    padding: 30px;
    border-radius: 5px;
    background: white;
    width: 540px;
    height: 470px;
    margin: 0 auto;
}

.login-icon {
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0px 0px 2px #888;
    padding: 0.5em 0.5em;
    font-size: 15px;
    color: #888;
    vertical-align: top;
}

.login-icon-dark {
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0px 0px 2px #000000;
    padding: 0.5em 0.5em;
    font-size: 15px;
    color: #000000;
    vertical-align: top;
}

.login-btn-link {
    background-color: #f1f0f0;
    padding: 5px 12px;
    border-radius: 28px;
    text-decoration: none;
    color: black;
    font-size: 14px;
    white-space: nowrap
}

.login-btn-link:hover,
.login-btn-link:focus {
    color: white;
    background-color: var(--skin-secondary);
    border-color: var(--skin-secondary);
}


/*--Tab Control--*/
.tab-content-border {
    border-style: solid;
    border-width: thin;
    /* border-color: #e2e2e2;*/
    border-color: #f5f5f5;
    /* border-bottom-left-radius: 12px;
     border-bottom-right-radius: 12px;
     border-top-right-radius: 12px;*/
    padding: 25px;
    background-color: #f7f7f7;
}

/*--Documentation--*/
.ul_bullet_point {
    margin: 15px;
    list-style: disc;
}

.badge_bg_lightblue {
    background-color: #c8dff5
}

.badge_bg_lightgrey {
    background-color: #e2e2e2;
}

.card_bg_request_head {
    background-color: #3c4257;
}

.card_bg_request_body {
    background-color: #4f566b;
}

.card_bg_response_head {
    background-color: #e3e8ee;
}

.card_bg_response_body {
    background-color: #f5fbff;
}

.badge-vodacom {
    background-color: red;
    color: white;
}

.badge-cellc {
    background-color: black;
    color: white;
}

.badge-telkom {
    background-color: dodgerblue;
    color: white;
}

.badge-mtn {
    background-color: yellow;
    color: black;
}

/*-- Modal --*/
.modal-backdrop {
    z-index: 1999;
}

.modal {
    z-index: 2000;
}

/*-- Loading Animation --*/

.loaderCircle {
    width: 48px;
    height: 48px;
    border: 5px solid var(--skin-primary);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*-- PhoneBook --*/
.select-modal-popover {
    z-index: 2005 !important;
}

/*-- Brochure --*/
.brochure-img {
    background: url(/skins/mtn/brochure_header.png);
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: cover;
}

@media screen and (max-width: 850px) {
    .brochure-img {
        background: url(/skins/mtn/brochure_header_overlay.png);
        background-repeat: no-repeat;
        background-position-x: center;
        background-size: cover;
    }
}

/*-- FAQ --*/
.bar-color {
    background-color: #c1c1c1;
}

.faq-box {
    background-color: #e8e8e8;
    border-bottom: 5px solid var(--skin-primary);
    padding: 10px;
}

.icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.faqIcon {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f078';
}

[data-bs-toggle="collapse"] .faqIcon:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f078';
}

[data-bs-toggle="collapse"].collapsed .faqIcon:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f054';
}

/*Custome start node*/
div.port.right.circle_port {
    width: 18px;
    height: 18px;
    position: absolute;
    background-color: #4582ec;
    border-radius: 50%;
    top: 11px;
    right: 2px;
}

div.port.left.circle_port {
    width: 18px;
    height: 18px;
    position: absolute;
    background-color: #4582ec;
    border-radius: 50%;
    top: 11px;
    left: 2px;
}

div.port.left.end_port {
    background-color: #1ec8a5ff;
}

.val_border_error {
    /* background-color: #CA0B00 !important;*/
    border: 3px dashed #CA0B00 !important;
}

.FlowDesignerExpansionPannelClass {
    background-color: var(--skin-primary);
}

#FlowDesignerExpansionPannel .mud-collapse-container {
    background-color: lightgrey
}
