/*
    CSS Document

    Site: KEYnet 4
    Version: 1.0

    Date: 2012.12.31
*/

/* ==========================================================================
   Default
   ========================================================================== */

html {
    height: 100%;
}

body {
    margin: 0;
    background: #fff;
    height: 100%;
}

form {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.primary-content {
}

/* Header
   ========================================================================== */
#logo {
    background-image: url('https://pwr.keynet.se/$1/imageuploader/9a3f5822-ec6a-401e-b9af-d5bf515ab01c/resized');
    background-size: 100px 35px;
}

#placeholder-header {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.global-header {
    background: #f9b233;
    /*height:32px;*/
}

:root {
    --keynet-header-bg: #f2f1f1;
    --keynet-header-color: #666666;
    --keynet-header-font-weight: 300;
    --keynet-dialog-header-bg: #f9b233;
    --keynet-dialog-header-color: #666666;
    --keynet-global-header-bg: #f9b233;
    --keynet-global-header-color: #666666;
    --keynet-widget-header-bg: #ffffff;
    --keynet-widget-header-color: #666666;
    --keynet-startpage-bg: #fdfdfd;
}

a {
    text-decoration: var(--bs-link-decoration);
}

[data-bs-theme='dark'] {
    --keynet-header-bg: black;
    --keynet-header-color: white;
}

.kn-nav {
    --primary-bg-color: var(--keynet-header-bg);
    background-color: var(--keynet-header-bg);
    --primary-text-color: var(--keynet-header-color);
}

.modal-header {
    background-color: var(--keynet-dialog-header-bg);
    color: var(--keynet-dialog-header-color);
}

.table > thead > tr > th {
    background-color: #ececec;
    font-weight: 600;
}

#logo {
    float: left;
    padding: 0;
    position: relative;
    width: 100px; /*190px  15% / 1100px */
    background-repeat: no-repeat;
    background-position: center center;
    width: 100px;
    height: 35px;
    padding: 0;
    margin-top: 7px;
}

#top-right {
    float: right;
    width: 85%;
}

#main-search {
    text-align: center;
    width: 100%;
    background: #e9e9e9;
    padding: 10px;
}



#main-nav {
    float: left;
}

#top-tools {
    float: right;
    height: 30px;
    padding: 2px 0 15px 0;
    width: 50px;
}

#my-account {
    display: flex;
}

    #my-account img {
        left: -2px;
    }

    #my-account p a, #my-account {
        color: #fff;
        font-size: 12px;
    }

        #my-account a {
            font-size: 12px;
        }

        #my-account strong {
            margin-right: 5px;
        }

.my-account__date-today:after {
    content: "|";
    margin: 0px 10px;
}

/* ==========================================================================
   Middle section
   ========================================================================== */
main.main-content {
    min-height: 86vh;
}

    main.main-content > .row {
        min-height: 83vh;
    }

#contentStartpage {
    background: #fdfdfd;
    display: table-cell;
    padding: 15px 15px;
    min-height: 50%;
}

    #contentStartpage .help-nav {
        border-bottom: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

/* Content Common
   ========================================================================== */


/* Content Three columns
   ========================================================================== */

.three-column #primary-content {
    float: left;
    margin-right: 0.5%; /* 30px / 880px */
    width: 26%; /* 220px / 880px */
}

.three-column #secondary-content {
    float: left;
    margin-left: 0.5%;
    margin-right: 0.5%; /* 30px / 880px */
    width: 46%; /* 350px / 880px */
}

.three-column #tertiary-content {
    float: left;
    margin-left: 0.5%; /* 30px / 880px */
    width: 26%; /* 220px / 880px */
}

/* =========================================================================== */
/* Widgets                                                                     */
/* =========================================================================== */
.widget {
    background: #fff;
    border: none;
    margin-bottom: 15px;
    /*box-shadow: 3px 3px 5px #414141;*/
}

.widget-highlight {
    box-shadow: 0px 0px 7px 2px #4e7c90 !important;
}

.widget header {
    background: var(--keynet-widget-header-bg);
    color: var(--keynet-widget-header-color);
    padding: 5px 10px;
    border-radius: 7px 7px 0 0;
    margin: 0 !important;
}

.widget .header {
    background: var(--keynet-widget-header-bg);
    color: var(--keynet-widget-header-color);
    padding: 5px 0px;
    border-radius: 7px 7px 0 0;
    margin: 0 !important;
}

    .widget .header .btn {
        color: #666666 !important;
    }

    .widget header .btn {
        color: #666666 !important;
    }
.widget-content {
    padding: 8px 12px;
}

    .widget-content h3 {
        font-size: 16px;
        /*color: #666666 !important;*/
    }

    .widget-content table,
    .widget-content label,
    .widget-content td,
    .widget-content span,
    .widget-content p,
    .widget-content th,
    .widget-content a {
        /*color: #666666 !important;*/
    }

.widget-background-color {
    /*background: #ffffff;*/
}

@media all and (min-width: 768px) {
    .widget-desktop {
        display: block;
        border-radius: 7px;
    }
}

@media all and (max-width: 767px) {
    .widget-mobile {
        display: block;
        border-radius: 7px;
    }
}

.grouping-border {
    border-left: solid 5px #e5e4e4;
    padding: 5px 5px 0px 10px;
    margin-bottom: 10px;
}

.widget-actiontab-color {
    color: #666666 !important;
}

/* Info
   ========================================================================== */

#info {
    width: 92.6%;
    margin: 10px 10px 0 80px;
    float: left;
    text-align: right;
}

    #info p {
        font-weight: bold;
        margin-left: 3.409090909091%; /* 30px / 880px */
        text-align: right;
        color: #A6A6A6;
        margin-bottom: 0px !important;
    }

    #info a {
        color: #A6A6A6;
    }


/* ==========================================================================
   Classes
   ========================================================================== */

/* For modern browsers */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* For IE 6/7 (trigger hasLayout) */

.clearfix {
    zoom: 1;
}

/* Eriks roddkod */
#sidebar1 {
    border: none;
    display: table-cell;
    min-height: 500px;
    padding: 50px 13.636363636364% 0 0; /* 30px / 220px */
    padding: 50px 2.727272727273% 0 0; /* 30px / 1100px */
    vertical-align: top;
    width: 20%; /* 220px / 1100px */
}

.container:not(.container-2k, .container-4k) {
    position: relative !important;
    /*top: 7px !important;*/
}

.searchbox {
    position: relative !important;
    min-width: 40px !important;
    width: 0% !important;
    height: 37px !important;
    float: right !important;
    overflow: hidden !important;
    -webkit-transition: width 0.3 !important;
    -moz-transition: width 0.3 !important;
    -ms-transition: width 0.3 !important;
    -o-transition: width 0.3s !important;
    transition: width 0.3s !important;
    top: 0px !important;
    border-radius: 4px;
}

.searchbox-input {
    border: 0;
}

    .searchbox-input::-webkit-input-placeholder {
        color: #333 !important;
    }

    .searchbox-input:-moz-placeholder {
        color: #333 !important;
    }

    .searchbox-input::-moz-placeholder {
        color: #333 !important;
    }

    .searchbox-input:-ms-input-placeholder {
        color: #333 !important;
    }

.searchbox-icon,
.searchbox-submit {
    width: 40px !important;
    height: 38px !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    text-align: center !important;
    cursor: pointer !important;
    background: #fff url('images/icon-magnifier.png') no-repeat center center;
    border-left: 1px solid #6c757d !important;
}

.searchbox-open {
    width: 200px !important;
}

@media (max-width: 600px) {
    primary-content,
    secondary-content,
    tertiary-content {
        width: 100%;
        padding: 0 20px;
        margin-bottom: 20px;
    }
}

#notify {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: none;
    color: #fff;
}

    #notify p {
        padding: 0 0 15px 30px;
        margin: 0;
    }

    #notify a {
        float: right;
        padding: 17px 20px;
        color: #fff;
        text-decoration: none;
    }

        #notify a:hover {
            text-decoration: underline;
        }

.notify-success {
    background-color: rgba(122, 184, 0, 0.92);
}

.notify-alert {
    background-color: rgba(204, 0, 0, 0.92);
}

.notify-error {
    background-color: rgba(204, 0, 0, 0.92);
}

.notify-warning {
    background-color: rgba(255, 204, 0, 0.92);
}

#notify h1 {
    padding: 12px 20px;
    color: rgba(255, 255, 255, 1);
}


#notify h3 {
    font-size: 16px;
    font-weight: bold;
    padding: 10px 10px 0 10px;
}

.widget-block-has-value {
    /*   background-color: #c8c8c8;*/
    background-color: #f0f0f0;
    border: 1px solid #f0f0f0;
}

    .widget-block-has-value a {
        color: #000;
    }

.widget-block-has-novalue {
    background-color: #fff;
    border: 1px solid var(--bs-border-color);
}

    .widget-block-has-novalue a {
        color: #000;
    }

.news-users {
    /*background-color: #ffffff !important;
    color: #666666 !important;*/
}

    .news-users a {
        /*color: #666666 !important;*/
        text-decoration: none;
    }

    .news-users img {
        max-width: 100%;
    }

.news-title {
    /*color: #666666 !important;*/
    margin-bottom: 10px;
}


/* Global header color */
.global-nav mark,
.global-nav .rounded-pill {
    background-color: #666666 !important;
    color: #ffffff !important;
}

a.topBarIcon {
    color: #666666 !important;
}

#my-account, #my-account p a, #my-account a span, #my-account p strong, #my-account .fa.fa-user.fa-fw,
.kn-my-account__date-today,
.kn-my-account__button,
.kn-my-account__kn-icon,
.kn-account__btn {
    color: #666666 !important;
}


/* Calender style */
.RadScheduler.RadScheduler_Metro .rsCurrent.rsDatePickerActivator {
    color: #000 !important;
}
/*
.RadScheduler_Metro .rsVerticalHeaderTable th, .RadScheduler_Metro .rsAllDayHeader, .RadScheduler_Metro .rsHorizontalHeaderWrapper th {
    background-color: $CalendarHeaderBackgroundColor !important;
    color: $CalendarHeaderTextColor !important;
}*/

.rsHorizontalHeaderWrapper > div {
    width: 100%;
}

.RadScheduler .rsInnerFix {
    margin-right: 0 !important;
    margin-left: 0;
}

.rsContentScrollArea {
    overflow-y: hidden !important;
}

.rsHorizontalHeaderWrapper {
    vertical-align: bottom !important;
}

.highlighted-row, .highlighted-row > * {
    background-color:  !important;
}

.menu-item {
    display: none !important;
}

@media all and (min-width: 768px) {
    .menu-item-desktop {
        display: block !important;
    }
}

@media all and (max-width: 767px) {
    .menu-item-mobile {
        display: block !important;
    }
}

.widget h4 {
    margin-bottom: 0px !important;
}

/*Icons*/
a:has(> .fa):not(.nav-link) {
    /*color: #4e7c90;*/
    text-decoration: none;
}

/*Footer*/
footer p {
    margin-top: 7px;
    color: var(--keynet-global-header-color);
}

footer a {
    color: var(--keynet-global-header-color) !important;
}




.action {
    white-space: nowrap;
    text-align: right;
}

    .action a {
        opacity: 0.4;
    }

        .action a:hover {
            opacity: 1;
        }

.main-background {
    /*#e8e7e7;*/
    background-color: var(--keynet-startpage-bg);
}