/*
    CSS Document

    Site: KEYnet 4
    Version: 1.0

    Date: 2012.12.31
*/

/* ==========================================================================
   Default
   ========================================================================== */

body {
    margin: 0;
    background: #fff;
}

/* Header
   ========================================================================== */
#logo {
    background-image: url('https://kdfeddersen-fi-test.web11.keynet.se/$1/imageuploader/b2f3eb1c-c51c-4a01-bf92-9841d8c7710a/resized');
    background-size: 100px 35px;
}

#placeholder-header {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.global-header {
    background: #002fff;
}

.navbar {
    --primary-bg-color: #f2f1f1;
    --primary-text-color: #666666;
}

#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 p strong {
        color: #fff;
        font-weight: bold;
        font-size: 12px;
    }

    #my-account a {
        font-size: 12px;
    }

    #my-account strong {
        margin-right: 5px;
    }

        #my-account strong:after {
            content: "|";
            margin-left: 10px;
        }

/* ==========================================================================
   Middle section
   ========================================================================== */
#placeholder-middle-section {
    width: 100%;
}

#middle-section {
    border-collapse: collapse;
    display: table;
    margin: 0 auto;
    text-align: left;
    vertical-align: top;
    width: 97%;
}

#sidebar {
    border: none;
    display: table-cell;
    min-height: 500px;
    vertical-align: top;
    width: 20%; /* 220px / 1100px */
}

#content {
    border-collapse: collapse;
    display: table-cell;
    min-height: 500px;
    padding-top: 25px;
    padding-left: 20px; 
    text-align: left;
    vertical-align: top;
    width: 85%;
    padding-bottom: 25px;
    min-height: 50%;
    height: 75vh;
    /*box-shadow:0 0 10px #888888;*/
}

#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 One column
   ========================================================================== */

.one-column #dialog-content {
    float: left;
    width: 100%; /*96.59090909090909%; */ /* 850px / 880px */
}

.one-column #primary-content {
    float: left;
    width: 98%; /*96.59090909090909%; */ /* 850px / 880px */
}

/* Content Two columns
   ========================================================================== */

.two-column #primary-content {
    float: left;
    width: 68.181818181818%; /* 600px / 880px */
}

.two-column #secondary-content {
    float: left;
    margin-left: 3.409090909091%; /* 30px / 880px */
    width: 25%; /* 220px / 880px */
}

/* 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: #ffffff;
    border: none;
    margin-bottom: 15px;
    box-shadow: 3px 3px 5px #dbdbdb;
    display: none;
}

.widget-highlight {
    box-shadow: 0px 0px 7px 2px #4e7c90 !important;
}

.widget header {
    background: #ffffff;
    color: #666666;
    padding: 5px 10px;
    border: none !important;
    margin: 0 !important;
}

.widget-content {
    padding: 10px;
}

    .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;
    }
}

@media all and (max-width: 767px) {
    .widget-mobile {
        display: block;
    }
}

.grouping-border {
    border-left: solid 5px #f9b233;
    padding: 5px 5px 0px 10px;
    margin-bottom: 10px;
}

.widget-actiontab-color {
    color: #666666 !important;
}


/* ==========================================================================
   Footer
   ========================================================================== */
#placeholder-footer {
    width: 100%;
}

#footer {
    min-height: 70px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: left;
    width: 97%;
}

    #footer a {
        color: #fff;
    }

/* Help
   ========================================================================== */

#help {
    float: left;
    width: 20%; /* 220px / 1100px */
}

#footer .support {
    color: #333;
    font-weight: bold;
}

    #footer .support a {
        color: #333;
    }

/* 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 {
    position: relative !important;
    top: 7px !important;
}

.searchbox {
    position: relative !important;
    min-width: 50px !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: 7px !important;
}

.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: 50px !important;
    height: 25px !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;
}

.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;
}

    .widget-block-has-value a {
        color: #000;
    }

.widget-block-has-novalue {
    background-color: #f0f0f0;
}

    .widget-block-has-novalue a {
        color: #000;
    }

.news-users {
    background-color:  !important; /*TODO: Theme*/
    color:  !important; /*TODO: Remove this from here and from the theme*/
}

    .news-users a {
        color:  !important;
    }

    .news-users img {
        max-width: 100%;
    }

.news-title {
    color: #4e7c90 !important;
    margin-bottom: 10px;
}


/* Global header color */
.global-nav mark {
    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 {
    color: #ffffff !important;
}


/* Calender style */
.RadScheduler.RadScheduler_Metro .rsCurrent.rsDatePickerActivator {
    color: #000 !important;
}

.RadScheduler_Metro .rsVerticalHeaderTable th, .RadScheduler_Metro .rsAllDayHeader, .RadScheduler_Metro .rsHorizontalHeaderWrapper th {
    background-color: #ffffff !important;
    color:  !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 {
    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;
    }
}
