﻿/*
======================
Fix style för portalen
======================
*/

#top-bar,
#top-menu,
.history-container {
    display: none;
}

.HistoryLink,
.HistoryLink_Separator,
.HistoryLink_Last {
    display: none;
}

#divTab,
#divStrip,
#divTools,
#divProgressBar,
#divNewFavorite,
#divAboutApplication {
    display: none;
}

/* Startpage */

.nav-link-container {
    background-color: #fafafa;
    padding: 15px;
    display: block;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: background-color 0.2s;
    overflow: hidden;
}

.nav-link-container:hover {
    background-color: #f1f1f1;
}


.nav-link-container-circle {
    background-color: #e5e5e5;
    display: block;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    text-align: center;
    float: left;
    margin-right: 20px;
    color: #444444;
    transition: background-color 0.2s, color 0.2s;
}

.nav-link-container:hover .nav-link-container-circle {
    background-color: #3987bf;
    color: #ffffff;
}

.nav-link-container-circle>.icon {
    font-size: 28px;

    line-height: 50px !important;
}

.nav-link-container-circle>.icon:before {
    line-height: inherit;
}

.nav-link-container-text-container {
    display: block;
    padding-left: 70px;
}

.nav-link-container strong {
    font-size: 22px;
    font-weight: 600;
    color: #272727;
    display: block;
    margin-bottom: 5px;
    margin-top: 5px;
    /*white-space:nowrap;*/
}

@media screen and (max-width:768px) {
    .nav-link-container-text-container {
        padding-left: 0px;
    }

    .nav-link-container {
        text-align: center;
    }

    .nav-link-container-circle {
        float: none;
        margin: 0 auto;
    }

    .nav-link-container strong {
        font-size: 18px;
        /*margin-top:10px;*/
    }
}

@media screen and (max-width:500px) {
    .nav-link-container strong {
        font-size: 16px;
        /*margin-top:10px;*/
    }
}

.nav-link-container-sub-text {
    font-size: 14px;
    color: #696969;
}

/* General */

.portal-top-bar {
    background-color: #ffffff;
    padding: 15px 30px;
    box-shadow: 0px 1px 3px 1px #d1d3d8;

    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.portal-top-bar>a>img {
    max-height: 70px;
    width: auto;
    max-width:100%;
}

.portal-top-bar .portal-top-bar-right-side {

    display: flex;
    align-items: center;
    flex-grow: 0;
}

.portal-top-bar .portal-top-bar-header {
    font-size: 26px;
    font-weight: 600;
    /*text-align:center;*/
    margin-left: 10px;
    padding-left: 10px;
    border-left: 2px solid #f1f1f1;
    line-height: 1em;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.portal-top-bar .read-more-button {
    white-space: nowrap;
    border: 1px solid #efefef;
    background-color: #efefef;
    border-radius: 2px;
    color: #456595;
    padding: 14px;
    vertical-align: top;
    margin-right: 10px;
}

.portal-top-bar .phone-info .small-text {
    font-size: 12px;
    font-weight: 600;
    color: #666666;
}

.portal-top-bar .phone-info .phone-number .icon {
    transform: rotate(10deg);
    color: #4b8ab5;
    margin-right: 10px;
    margin-left: 10px;
}

.portal-top-bar .phone-info .phone-number {
    font-size: 24px;
    white-space: nowrap;
}

@media screen and (max-width:768px) {
    .portal-top-bar {
        flex-direction: column;
    }

    .portal-top-bar .portal-top-bar-header {
        border-left: none;
        /*border-top:1px solid #ebebeb;*/
        padding-left: 0;
        margin-left: 0;
        /*margin-top:5px;*/
        padding-top: 5px;
        padding-bottom: 5px;
        font-size: 16px;
    }

    .portal-top-bar .read-more-button {
        padding: 5px;
    }

    .portal-top-bar .portal-top-bar-right-side {

        margin-top: 4px;
    }

    .portal-top-bar .phone-info .phone-number {
        font-size: 12px;
        display: inline-block;

    }

    .portal-top-bar .phone-info .phone-number .icon {
        font-size: 14px;
        margin-left: 4px;
        margin-right: 4px;
    }
}



.btn .icon:before {
    line-height: inherit;
}

.panel {
    border: 0 !important;
    padding: 0 !important;
}

.form-section {
    background-color: #f4f8f2 !important;
    padding: 15px !important;
}

.form-container>label {
    text-transform: none;
    font-size: 14px;
}

.form-container.horizontal>label {
    padding-left: 0;
}


@media screen and (min-width:768px) {
    .panel .panel-body {
        padding: 20px;
    }

    /*.panel-body .form-section {
            margin-left: -10px;
            margin-right: -10px;
        }
            .panel-body > .form-section:first-child {
                margin-top: -10px;
            }
            .panel-body .form-section:last-child {
                margin-bottom: -10px;
            }*/
}

.panel .panel-body.no-padding {
    padding: 0;
}

h1 {
    margin-top: 0 !important;
}


@media screen and (max-width:1124px) {
    span.MenuPoint:not(.active-menupoint):not(.LastPoint) {
        display: none;
    }


    span.MenuDots {
        display: inline-block;
    }
}

@media screen and (max-width:500px) {
    span.LastPoint {
        display: none;
    }

    span.MenuDots {
        display: none;
    }
}

/* Popup */

@media screen and (max-width:768px) {
    .AJAX_Window {
        width: 96% !important;
        left: 3% !important;
        right: 3% !important;
    }
}

.top-with-button h1 {
    float: left;
}

.top-with-button .top-with-button_right {
    float: right;
}

@media screen and (max-width:768px) {

    .top-with-button h1,
    .top-with-button .top-with-button_right {
        float: none;
    }
}


.search-list-amount {
    float: right;
    color: #8c8c8d;
}

.search-list {
    overflow-y: scroll;
    overflow-x: hidden;
}

.search-list .list-item {
        padding: 5px 7px;
        display: block;
        border-bottom: 1px solid #e2e2e2;
        vertical-align: middle;
}

.search-list a:hover {
    text-decoration: none !important;
}

.search-list .list-item:nth-child(even) {
    background-color: #f6f6f6;
}

.search-list a.list-item:hover {
    background-color: #f1f1f1;
}
.search-list .list-item.fastighet {
    background-color: rgba(84,155,205,0.15);
    border-color: rgba(84,155,205,0.45);
    font-weight: 600;
}
.search-list .list-item.fastighet:nth-child(even) {
    background-color: rgba(84,155,205,0.20);
}

.search-list a.list-item.fastighet:hover {
    background-color: rgba(84,155,205,0.25);
}
.search-list a.list-item.fastighet.active {
    background-color: rgba(84,155,205,1);
}

.search-list .list-item.structure {
    background-color: rgba(144,177,121,0.15);
    border-color: rgba(144,177,121,0.55);
    font-weight: 400;
}
.search-list .list-item.structure:hover {
    background-color: rgba(144,177,121,0.25);
}
.search-list a.list-item.structure.active {
    background-color: rgba(144,177,121,1);
}
    .search-list .list-item.spatisystem {
    background-color: rgba(211,162,91,0.15);
    border-color: rgba(211,162,91,0.55);
    font-weight: 400;
}
.search-list .list-item.spatisystem:hover {
    background-color: rgba(211,162,91,0.25);
}
.search-list a.list-item.spatisystem.active {
    background-color: rgba(211,162,91,1);
}
.search-list .list-item.space {
    background-color: rgba(202,119,90,0.15);
    border-color: rgba(202,119,90,0.55);
    font-weight: 400;
}
.search-list .list-item.space:hover {
    background-color: rgba(202,119,90,0.25);
}
.search-list a.list-item.space.active {
    background-color: rgba(202,119,90,1);
}
.search-list .list-item.installsystem {
    background-color: rgba(169,80,82,0.15);
    border-color: rgba(169,80,82,0.55);
    font-weight: 400;
}
.search-list .list-item.installsystem:hover {
    background-color: rgba(169,80,82,0.25);
}
.search-list a.list-item.installsystem.active {
    background-color: rgba(169,80,82,1);
}

.search-list .list-item.localequipment {
    background-color: rgba(153,99,133,0.15);
    border-color: rgba(153,99,133,0.55);
    font-weight: 400;
}
.search-list .list-item.localequipment:hover {
    background-color: rgba(153,99,133,0.25);
}
.search-list a.list-item.localequipment.active {
    background-color: rgba(153,99,133,1);
}
.search-list a .icon-container {
    display: inline-block;
    height: 26px;
    width: 26px;
    border-radius: 50%;
    background-color: #6490bd;
    text-align: center;
    margin-right: 10px;
}
.search-list a.active {
    background-color: #8db376;
    color: #ffffff !important;
    border-color: #81a66a;
}
.search-list a.list-item {
    color:rgba(0,0,0,0.85);
}
.search-list a.active .SubList,
.search-list a.active .date {
    color: #ffffff;
}
.search-list a.active:hover .SubList {
    color: #ffffff;
}
.search-list a.red .icon-container,
.search-list a.red.active {
    background-color: #000000;
}
.search-list a.green .icon-container,
.search-list a.green.active {
    background-color: #000000;
}
.search-list a.squared .icon-container {
    border-radius: 2px;
}
.search-list a .icon-container .icon {
    color: #ffffff;
    line-height: 20px;
    vertical-align: middle;
}
.search-list a .SubList {
    color: #000000;
    line-height: 20px;
}
.search-list a:hover .SubList {
    color: #272727;
}
.search-list a .date {
    color: #8c8c8d;
    float: right;
    line-height: 20px;
}

.customer-search-list {
    overflow-y: scroll;
    overflow-x: hidden;
}

.customer-search-list .list-item {
    padding: 5px 7px;
    display: block;
    border-bottom: 1px solid #e2e2e2;
    vertical-align: middle;
}

.customer-search-list a:hover {
    text-decoration: none !important;
}

.customer-search-list .list-item:nth-child(even) {
    background-color: #f6f6f6;
}

.customer-search-list a.list-item:hover {
    background-color: #f1f1f1;
}


.customer-search-list a .icon-container {
    display: inline-block;
    height: 26px;
    width: 26px;
    border-radius: 50%;
    background-color: #6490bd;
    text-align: center;
    margin-right: 10px;
}

.customer-search-list a.active {
    background-color: #8db376;
    color: #ffffff !important;
    border-color: #81a66a;
}

.customer-search-list a.list-item {
    color: rgba(0,0,0,0.85);
}

.customer-search-list a.active .SubList,
.customer-search-list a.active .date {
    color: #ffffff;
}

.customer-search-list a.active:hover .SubList {
    color: #ffffff;
}

.customer-search-list a.red .icon-container,
.customer-search-list a.red.active {
    background-color: #000000;
}

.customer-search-list a.green .icon-container,
.customer-search-list a.green.active {
    background-color: #000000;
}

.customer-search-list a.squared .icon-container {
    border-radius: 2px;
}

.customer-search-list a .icon-container .icon {
    color: #ffffff;
    line-height: 20px;
    vertical-align: middle;
}

.customer-search-list a .SubList {
    color: #000000;
    line-height: 20px;
}

.customer-search-list a:hover .SubList {
    color: #272727;
}

.customer-search-list a .date {
    color: #8c8c8d;
    float: right;
    line-height: 20px;
}


.case-table-list-amount {
    float: right;
    color: #8c8c8d;
}
.SubList {
    padding-left: 10px;
    display: inline-block;
}
.SubList2 {
    padding-left: 20px;
    display: inline-block;
}
.SubList3 {
    padding-left: 30px;
    display: inline-block;
}

.responsive-input-with-button-big .input {
    padding-right: 45px;
}

.responsive-input-with-button-big .input>input,
.responsive-input-with-button-big .button>.btn {
    height: 42px !important;
}

.responsive-input-with-button-big .button>.btn {
    width: 46px;
}

.responsive-input-with-button-big .input>input {
    box-shadow: none !important;
}


.search-pop-up #result {
    position: absolute;
    z-index: 340;
    width: 100%;
    /*display: none;*/
    top: 10px;
    box-shadow: 0px 1px 10px 1px rgba(0, 0, 0, 0.15);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, top 0.2s ease-in-out, visibility 0.2s ease-in-out;
    top: 40px;
}

.search-pop-up #result.show-result {
    /*dvisibility:hidden;display:block;*/
    visibility: visible;
    opacity: 1;
    top: 10px;
}

.search-pop-up #customerResult {
    position: absolute;
    z-index: 340;
    width: 100%;
    /*display: none;*/
    top: 10px;
    box-shadow: 0px 1px 10px 1px rgba(0, 0, 0, 0.15);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, top 0.2s ease-in-out, visibility 0.2s ease-in-out;
    top: 40px;
}

.search-pop-up #customerResult.show-result {
    /*dvisibility:hidden;display:block;*/
    visibility: visible;
    opacity: 1;
    top: 10px;
}

#clearResultList {
    margin: -10px 0 -10px 10px;
    text-decoration: none;
    color: #666666;
    line-height: 32px;
    display: inline-block;
    display: none;

}

#clearResultList .clean-result-text {
    opacity: 0;

}

#clearResultList:hover .clean-result-text {
    opacity: 1;
}

@media screen and (max-width:768px) {
    #clearResultList .clean-result-text {
        display: none;
    }
}