﻿body, #wrapper { background-color: var(--mag-page-bg-color); }
#wrapper.enlarged .logo-lg { display: none; }
#wrapper.enlarged .logo-sm { display: block; }
#wrapper.enlarged .topbar .topbar-left .logo .icon-c-logo { opacity: 1; position: relative; top: 13px; left: 20px; }
#wrapper.enlarged #sidebar-menu .label { display: none !important; }
.siteBody { min-height: calc(100vh - 200px);}
.content-width {max-width:unset; }
/* Components overrides */
.thContents .title { text-transform: uppercase; margin-left: 50px; }
.thContents .subTitle { font-size: 1.3em; margin-left: 50px; }
.thContents .mag-icon { font-size: 42px; margin-top: 0; }
.sys-instace-type { background-color: #e02424; padding: 4px 8px; color: #fff; display: inline-flex; align-items:center; position: relative;
                    margin-left: 15px; border-radius: var(--mag-border-radius); max-width: 250px; font-size:smaller;}
.sys-instance-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-grow: 1; }

.siteFooter .site-footer .footerTabs { display: none; }
.siteFooter { border-top: 1px solid var(--mag-element-border-color); }
.siteFooter .site-footer a { text-decoration: none; }
.siteFooter .site-footer a:hover { text-decoration: underline; }
.siteFooter .siteFooter-flexBox { gap: 5rem; }
.siteFooter-flexBox .site-footer .footerLinks-actions,
.siteFooter-flexBox .site-footer .copyright,
.siteFooter-flexBox .site-footer .poweredby { text-align: left; }
.public .site-footer .footerLinks-actions { margin-top: 0; }
.site-footer .copyright { margin-top: 5px; }

.topbar { left: 0; position: fixed; right: 0; top: 0; z-index: 1001; }
.topbar .topbar-left { float: left; position: relative; width: 240px;line-height:70px; display: inline-block; z-index: 1; }
.topbar .topbar-left-sm { width: 180px; }
.logo .icon-c-logo { display: none; }
.topbar .logo { width: 100%; height: 50px !important; margin: 0; position: relative; }
.topbar .logo img { width: auto; max-height: 100%; max-width: 210px; vertical-align: middle; margin: auto 0 auto 15px; }
.topbar .navbar-default { border:0;border-bottom: 1px solid var(--mag-element-border-color); background: var(--mag-header-bg-color); border-radius: 0; margin-bottom: 0; height: 70px; }
.btn-mag-lang-picker.open > a, 
.btn-mag-lang-picker.open > a:hover,
.btn-mag-lang-picker.open > a:focus { background: transparent; }
.topbar .navbar-default .badge { position: absolute; top: 12px; right: 7px; }

.side-menu .nav > li > a i { font-size: 16px; }
.profile img { border: 2px solid var(--mag-element-border-color); height: 36px; width: 36px; }

.btn-user-menu.open > .userinfo-popover-link:hover,
.btn-user-menu.open > .userinfo-popover-link:focus,
.btn-user-menu.open > .userinfo-popover-link { background-color: transparent !important; }

.navbar-nav { margin: 0px; }
.side-menu { background-color: var(--mag-nav-bg-color); bottom: 0; top: 0; width: 240px; z-index: 2; }
.side-menu.left { position: absolute; top: 60px; border-right: 1px solid var(--mag-element-border-color); }
body.fixed-left .side-menu.left { bottom: 50px; height: 100%; margin-bottom: -70px; margin-top: 0px; padding-bottom: 70px; position: fixed;
                                  z-index: 1000; border-right: 1px solid var(--mag-element-border-color); }
.has-tabs .content-page, .has-tabs .siteFooter { margin-left: 240px; }
.no-tabs-visible .left.side-menu { display:none;}
.siteFooter { overflow: hidden; }
.public .content-page, .public .siteFooter { margin-left: 0; }
.content-page .content-area-pane {padding: 35px 15px 55px 15px; }
.siteFooter { padding: 15px; }
.button-menu-mobile { background: transparent; border: none; color: var(--mag-header-text-color); opacity: 0.6; font-size: 21px; padding: 0px 22px; line-height:68px; }
.button-menu-mobile:hover { opacity: 1; }
.button-menu-mobil:active, .button-menu-mobil:hover { border: none }
.sidebar-inner { height: 100%; }
#sidebar-menu,
#sidebar-menu ul,
#sidebar-menu li,
#sidebar-menu a { border: 0; font-weight: normal; line-height: 1; list-style: none; margin: 0; padding: 0; position: relative; text-decoration: none; }
#sidebar-menu { padding-bottom: 30px; padding-top: 15px; width: 100%; }
#sidebar-menu a { line-height: 1.3; }
#sidebar-menu .label { margin-top: 2px; }

#sidebar-menu > ul > li > a { display: block; padding: 7px 15px; margin: 4px 0px; font-size: 15px; 
                              border-left: 3px solid transparent; 
                              overflow: hidden;text-overflow: ellipsis;white-space: nowrap;
}
#sidebar-menu > ul > li > a:hover { text-decoration: none; }
#sidebar-menu > ul > li > a > span { vertical-align: middle; }
#sidebar-menu ul li .menu-arrow { -webkit-transition: -webkit-transform 0.15s; -o-transition: -o-transform 0.15s; transition: transform .15s; position: absolute; right: 20px; display: inline-block; font-family: 'Material-Design-Iconic-Font'; text-rendering: auto; line-height: 26px; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-transform: translate(0, 0); -ms-transform: translate(0, 0); -o-transform: translate(0, 0); transform: translate(0, 0); color: var(--mag-page-text-color); }
#sidebar-menu ul li .menu-arrow:before { content: "\f2fb"; }
#sidebar-menu ul li a.subdrop .menu-arrow { -ms-transform: rotate(90deg); -webkit-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); }
#sidebar-menu ul li a i { display: inline-block; font-size: 20px; line-height: 17px; margin-left: 3px; margin-right: 15px; text-align: center; vertical-align: middle; width: 20px; }
#sidebar-menu ul li > a > .mag-entity-ico { width: 20px !important; height: 20px !important; margin-right: 15px; }
#sidebar-menu ul li a i.md { font-size: 18px; }
#sidebar-menu > ul > li > a > i.i-right { float: right; margin: 3px 0 0 0; }
#sidebar-menu > ul > li > a.active { background: var(--mag-nav-active-bg-color) !important; border-left: 3px solid var(--mag-nav-bg-color); color: var(--mag-nav-text-color) !important; }
#sidebar-menu > ul > li > .appLink { padding-left: 15px; font-weight: bold; font-size: 15px; }

.menu-title { padding: 12px 20px !important; letter-spacing: .035em; pointer-events: none; cursor: default; font-size: 13px; }
/* Small Menu */
.side-menu-sm { width: 180px; text-align: center; }
.side-menu-sm #sidebar-menu > ul > li > a > i { display: block; font-size: 18px; line-height: 24px; width: 100%; margin: 0px; }
.side-menu-sm #sidebar-menu ul ul a { padding: 10px 20px 10px 20px; }
.side-menu-sm + .content-page .footer { left: 180px; }
#wrapper.enlarged .side-menu-sm { text-align: left; }
#wrapper.enlarged .side-menu-sm #sidebar-menu ul li a i { display: inline-block; font-size: 18px; line-height: 17px; margin-left: 3px; margin-right: 15px; vertical-align: middle; width: 20px; }
.side-menu-sm + .content-page { margin-left: 180px; }
#wrapper.enlarged .menu-title,
#wrapper.enlarged .menu-arrow { display: none !important; }

#wrapper.enlarged .left.side-menu { width: 70px; z-index: 5; }
#wrapper.enlarged .left.side-menu #sidebar-menu > ul > li > a { padding: 15px 20px; }

#wrapper.enlarged .left.side-menu #sidebar-menu > ul > li > a i { margin-right: 20px !important; font-size: 20px; }
#wrapper.enlarged .left.side-menu .label { position: absolute; top: 5px; left: 35px; text-indent: 0; display: block !important; padding: .3em .6em .2em !important; }
#wrapper.enlarged .left.side-menu #sidebar-menu ul > li { position: relative; white-space: nowrap; max-height: 49px; }
#wrapper.enlarged .left.side-menu #sidebar-menu ul > li:hover > a { position: relative; width: 260px; background: var(--mag-nav-hover-bg-color); opacity: 1; }
#wrapper.enlarged .left.side-menu #sidebar-menu ul > li:hover a span:not(.caret) { display: inline; }
#wrapper.enlarged .left.side-menu #sidebar-menu ul > li > a span { display: none; padding-left: 10px; }
/*BS5: caret is in "::after"*/
#wrapper.enlarged .left.side-menu #sidebar-menu ul > li > a.dropdown-toggle::after { display: none; padding-left: 10px; }
#wrapper.enlarged .left.side-menu .user-details { display: none; }
.has-tabs #wrapper.enlarged .content-page, #wrapper.enlarged .siteFooter { margin-left: 70px; }
#wrapper.enlarged .footer { left: 70px; }

#wrapper.enlarged .topbar .topbar-left .logo span { display: none; opacity: 0; }
#wrapper.enlarged .topbar .topbar-left .logo .icon-c-logo { display: block; line-height: 60px; }
#wrapper.enlarged #sidebar-menu > ul > li:hover > a.open :after { display: none; }
#wrapper.enlarged #sidebar-menu > ul > li:hover > a.active :after { display: none; }
#wrapper.enlarged .tips-box { display: none; }
.tips-box .portlet { -webkit-box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.05); -moz-box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.05); box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.05); }

#wrapper.right-bar-enabled .right-bar { right: 0; }
#wrapper.right-bar-enabled .left-layout { left: 0; }

.back-to-application { color: #c9c9c9; padding-left: 10px; }
.back-to-application:hover { color: white; }

.no-tabs-visible .navbar-menu-button { display:none;}

@-moz-keyframes pulse { 0% { -moz-transform: scale(0); opacity: 0.0; }
    25% { -moz-transform: scale(0); opacity: 0.1; }
    50% { -moz-transform: scale(0.1); opacity: 0.3; }
    75% { -moz-transform: scale(0.5); opacity: 0.5; }
    100% { -moz-transform: scale(1); opacity: 0.0; }
}

@-webkit-keyframes pulse {
    0% { -webkit-transform: scale(0); opacity: 0.0; }
    25% { -webkit-transform: scale(0); opacity: 0.1; }
    50% { -webkit-transform: scale(0.1); opacity: 0.3; }
    75% { -webkit-transform: scale(0.5); opacity: 0.5; }
    100% { -webkit-transform: scale(1); opacity: 0.0; }
}

.top-right-items { padding-right: 15px; margin-top: 19px; display: flex; align-items: center; }
.top-right-items .user-img { position: relative; }
.top-right-items .user-status { height: 12px; width: 12px; position: absolute; bottom: 8px; right: 15px; line-height: 0px !important; }
.top-right-items .user-status i { font-size: 12px !important; }
.top-right-items .user-status.away i { color: #fbca35; }
.top-right-items .user-status.offline i { color: #e96154; }
.top-right-items .user-status.online i { color: #3ec845; }
.top-right-items .user-status.busy i { color: #9a9da0; }
.top-right-items .btn-mag-lang-picker .btn { text-transform: uppercase; padding: 3px 6px; }
.top-right-items .signin-link, .top-right-items .signup-link { color: var(--mag-header-text-color); }
.top-right-items .signin-link, .top-right-items .signup-link { opacity:0.8; }
.top-right-items .signin-link:hover, .top-right-items .signup-link:hover,
.top-right-items .signin-link:focus, .top-right-items .signup-link:focus { opacity: 1; text-decoration: none; }

/* Right sidebar */
.side-bar.right-bar { float: right !important; right: -266px; top: 0px; }
.side-bar { -moz-transition: all 200ms ease-out; -webkit-transition: all 200ms ease-out; background-color: #ffffff; box-shadow: 0 0px 24px 0 rgba(0, 0, 0, 0.06), 0 1px 0px 0 rgba(0, 0, 0, 0.02); display: block; float: left; height: 100%; position: fixed; transition: all 200ms ease-out; width: 240px; }
.right-bar { background: #ffffff !important; z-index: 9999 !important; }
.right-bar h4 { border-bottom: 1px solid rgba(154, 157, 160, 0.5); padding: 4px 10px 10px 18px; text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: 0.03em; }
.right-bar .right-bar-toggle { float: right; line-height: 46px; font-size: 20px; color: #333; padding: 0px 10px; }

/* Body min-height set */
body.fixed-left-void { min-height: 1000px; }
#sidebar-menu ul ul li:hover { background-color: rgba(0,0,0,0.3); }

#sidebar-menu > ul > li > a { color: var(--mag-nav-text-color); font-weight: 500; opacity:0.7;}
.position-absolute.top-menu { right: 15px; top: -10px; }

.siteFooter .social-media-links a i { opacity: .8 }
.siteFooter .social-media-links a:hover i, .siteFooter .social-media-links a:focus i { opacity: 1; }

.side-menu, .sidebar-inner, #sidebar-menu { background: var(--mag-nav-bg-color); }
#wrapper .left.side-menu #sidebar-menu > ul > li > a:hover { background-color: var(--mag-nav-hover-bg-color); background-image: none; opacity: 1; }
#wrapper .left.side-menu #sidebar-menu > ul > .active a {  background-color: var(--mag-nav-active-bg-color); background-image: none; opacity:1; }

.waves-effect { position: relative; cursor: pointer; display: inline-block; overflow: hidden; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; vertical-align: middle; z-index: 1; will-change: opacity, transform; -webkit-transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; -ms-transition: all 0.3s ease-out; transition: all 0.3s ease-out; }
.waves-effect .waves-ripple { position: absolute; border-radius: 50%; width: 20px; height: 20px; margin-top: -10px; margin-left: -10px; opacity: 0; background: rgba(0, 0, 0, 0.2); -webkit-transition: all 0.7s ease-out; -moz-transition: all 0.7s ease-out; -o-transition: all 0.7s ease-out; -ms-transition: all 0.7s ease-out; transition: all 0.7s ease-out; -webkit-transition-property: -webkit-transform, opacity; -moz-transition-property: -moz-transform, opacity; -o-transition-property: -o-transform, opacity; transition-property: transform, opacity; -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0); pointer-events: none; }
.waves-effect.waves-light .waves-ripple { background: var(--mag-primary-color); filter: opacity(45%); }
.has-tabs #wrapper.enlarged .topbar .topbar-left { width: 70px; }
#wrapper.enlarged .topbar .topbar-left .menu-favicon { max-width: 40px; }
#wrapper .topbar-left .logo a img { display: inline-block; }
#wrapper .topbar-left .logo .menu-favicon { display: none; }
.has-tabs #wrapper.enlarged .topbar-left .logo a img { display: none; }
.has-tabs #wrapper.enlarged .topbar-left .logo .menu-favicon { display: inline-block; }


@media only screen and (max-width: 6000px) and (min-width: 700px) {
    .wrapper.right-bar-enabled .right-bar { right: 0; z-index: 99; }
}

@media (min-width: 768px) and (max-width: 991px) {
    body { overflow-x: hidden; }
}

@media (min-width: 1200px) {
    .container-alt { width: 1170px; }
}

@media(min-width:998px) {
    .siteFooter { padding: 25px; }
}

@media (min-width: 992px) {
    .container-alt { width: 970px; }
}

@media (min-width: 768px) {
    .has-tabs .content-page .content-area-pane { padding-left: 25px; padding-right: 25px; }
    .container-alt { width: 750px; }
    .nav-tabs.nav-justified > .active > a,
    .nav-tabs.nav-justified > .active > a:focus,
    .nav-tabs.nav-justified > .active > a:hover { border-bottom-color: #f5f5f5; }
}

@media (max-width:1250px) {
    .siteFooter .siteFooter-flexBox { gap: 1.25rem; flex-direction: column; }
}

@media (max-width:991px) {
    .sys-instace-type { display: none; }
    .siteFooter .siteFooter-flexBox { gap: 1.25rem; flex-direction: column; }
}

@media (max-width: 767px) {
    body { overflow-x: hidden; }
    .enlarged .left.side-menu { margin-left: -75px; }
    .logo .logo-lg, .back-to-application { display: none !important; }
    .icon-c-logo { display: block !important; line-height: 60px; }
    .navbar-nav { margin: 0px; display: inline-block; }
    .navbar-nav li { display: inline-block; line-height: 1em; }
    .navbar-nav.navbar-right { float: right; }
    .notification-box { display: inline; }
    .notification-box ul li a { line-height: 46px; }
    .notification-box .pulse { top: 5px; }
    .notification-box .dot { top: -7px; left: -3px; }
    #topnav .navbar-toggle { margin-right: 5px; }
    .navbar-nav .open .dropdown-menu { background-color: var(--mag-page-bg-color); box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); 
                                       border:1px solid var(--mag-border-element-muted-color); left: auto; position: absolute; right: 0; }
    .navbar-nav .open .dropdown-menu li { display: block; }
    .content-page, .siteFooter { margin-left: 0px !important; }
    .mobile-sidebar { left: 0px; }
    .mobile-content { left: 250px; right: -250px; }
    .wrapper-page { margin: 0 20px; }
    .dataTables_wrapper .col-xs-6 { width: 100%; text-align: left; }
    div#datatable-buttons_info { float: none; }  
}

@media (max-width:490px) {
    .bs3 .userBox .signin-link, .bs3 .userBox .signup-link { display: block; margin-top: 6px; }
}

@media (max-width: 480px) {
    .side-menu { z-index: 20 !important; }
    .button-menu-mobile { display: block; }
    .search-bar { display: none !important; }
}

@media (max-width: 422px) {
    .no-tabs-visible .navbar-default { height: unset; }
}

@media (max-width: 420px) {
    .hide-phone { display: none !important; }
    .forced .btn-mag-lang-picker {display:none; }
    .forced.enlarged .btn-mag-lang-picker { display: inline-block; }
}

@media (max-width: 419px) {
    .content-page { margin-left: 70px; }
    .ms-container { width: 100%; }
    .display-xs-none { display: none; }
    .footer ul li a { font-size: 11px; }
    .page-title { margin-bottom: 10px; }
}

@media(max-width:385px) {
    .bs3 .userBox .signin-link, .bs3 .userBox .signup-link { padding-bottom: 15px; }
}

    @media(max-width:369px) {
        .topbar .topbar-left { width: 195px; }
        .topbar .logo img { max-width: 175px; }
    }

/* Sticky items on documents and market place*/

/*width and margin left is updated base on the side bar menu (if it is opened or closed) - not to cover the side menu*/
.mag-sticky-container.sticky { width: calc(100% - 240px); margin-left: 240px; z-index: 4; }
#wrapper.enlarged .mag-sticky-container.sticky { width: calc(100% - 70px); margin-left: 70px; }


#mp_listing_main_container #wide-div.item-sticky { width: calc(100% - 240px); margin-left: 240px; z-index: 4; }
#wrapper.enlarged #mp_listing_main_container #wide-div.item-sticky { width: calc(100% - 70px); margin-left: 70px; }

#mp_listing_main_container #wide-div.item-sticky #mag-mp-sticky-container { padding-left: 40px; padding-right: 40px; }