﻿
/*Location-details*/

.cpc-sidepanel.cpc-location-detail-sidepanel {
    padding: 0px;
    background: #e6e6e8;
    width: 360px;
}

.cpc-location-detail.cpc-full-width {
    width: 100%;
}


#cpc-location-detail-mobile-div {
    bottom: 0px;
    position: absolute;
    width: 100%;
    padding: 0px;
    z-index: 1004;
    padding-top: 10px;
    padding-bottom: 10px;
    display: none;
}
#cpc-location-detail-mobile-div span {
    margin: 10px;
}

/*
@media(max-width: 800px) {
    #cpc-location-detail-mobile-div {
        display: inline;
        cursor: pointer;
    }
    .cpc-sidepanel.cpc-location-detail-sidepanel {
        width: 100%;
    }
    .cpc-sidebar-full-width {
        width: 100%;
    }

   .cpc-closebutton-corner .cpc-closebutton-white {
        float: right;
        position: relative;
        top: -17px;
    }
    #cpc-navigation-control-container.mobile-margin {
        bottom: 4em;
    }
}*/

.cpc-mobilesize #cpc-location-detail-mobile-div {
    display: inline;
    cursor: pointer;
}

.cpc-mobilesize .cpc-sidepanel.cpc-location-detail-sidepanel {
    width: 100%;
}
.cpc-mobilesize .cpc-sidebar-full-width {
    width: 100%;
}

.cpc-mobilesize .cpc-sidebar-full-width .cpc-sidebar-handler {
    display: none !important; 
}

.cpc-mobilesize .cpc-closebutton-corner .cpc-closebutton-white {
    float: right;
    position: relative;
    top: -17px;
}

.cpc-mobilesize #cpc-navigation-control-container.mobile-margin {
    bottom: 4em;
}



.cpc-closebutton-corner.cpc-closebutton-white.cpc-close-media-div {
    float: right;
    position: relative;
    top: -17px;
}

.cpc-location-detail-title {
    font-weight: bold;
    font-size: 16px;
    width: calc(100% - 30px);
}

.cpc-location-detail-div {
    background: #fff;
    padding: 20px;
    box-shadow:0px 1px 2px 0px rgba(0,0,0,0.2);
    overflow: hidden;
    margin-bottom: 10px;

}

.cpc-location-detail-ferd-button {
    background-image: url('../../Images/ikoner/nk_011-beregn_rute-B-48px.png');
    position: absolute;
    right: 50px;
    top: calc(100% - 20px);
    box-shadow: 0 0 2px 0;
    border-radius: 20px;   
}

.cpc-location-detail {
    width: 50%;
    float: left;
    margin-bottom: 10px;
}
.cpc-location-detail-description {
    font-weight: bold;
}
.cpc-location-details-coordinates {
    float: left;
    width: 50%;
}

.cpc-location-details-coordinates-chevron {
    transform: translateY(-23%);
    border:none;
}

.key-nav .cpc-location-details-coordinates-chevron:focus {
    outline: solid 2px rgba(81, 160, 38, 1);        
}

.cpc-full-width .cpc-location-details-coordinates {
    width: auto;
}


/*GFI*/
.cpc-location-detail-gfi-div button {
    
}

.cpc-gfi-group-list {
    /*max-height: 570px;
    overflow-y: auto;*/
}
.cpc-gfi-group-button {
    width: 100%;
}
.cpc-gfi-button {
    width: 100%;
    background-color: transparent;
    color: black;
    padding: 10px;
    padding-left:0;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-align:left;

    
}
.cpc-gfi-group-button {
    /*font-weight: bold;*/
    height: 40px;
    padding-left: 30px;
}

.move-right.sprite-chevron-down.gfi-chevron, .move-right.sprite-chevron-up.gfi-chevron {
    background-position: 0 0;
} 

.gfi-chevron {
    height: 30px !important;
}


.cpc-gfi-group-header {
    background-color: #fff;
    /*border-bottom: 1px solid #cacaca;*/
    font-weight: bold;
}

.cpc-gfi-group-header:hover {
    background-color:whitesmoke;
    /*background-color: #efefef;*/
    
}

.cpc-gfi-list-item {

    /*border-bottom: 1px solid #cacaca;*/
}

.gfi-item-border-top {
    /*border-top: 1px solid #cacaca;*/
}
.cpc-gfi-list-item:hover {
    /*background-color: #e6e6e8;*/
}
.cpc-gfi-button.cpc-gfi-item {
    /*background-color:#f6f6f6;*/
    background-color:white;
    padding-left: 20px;
    font-size:14px;
}

.cpc-gfi-button.cpc-gfi-group-button,
.cpc-gfi-button.cpc-gfi-item {
   background-size: 24px 24px;
   background-repeat: no-repeat;
   background-position-x: right;
   background-position-y: center;
   background-image: url(/Images/ikoner/nk_004-ned-B-48px.png);
}

.cpc-gfi-button.cpc-gfi-group-button.expanded,
.cpc-gfi-button.cpc-gfi-item.expanded {
    background-image: url(/Images/ikoner/nk_003-opp-B-48px.png);

} 
.cpc-gfi-button.cpc-gfi-item.expanded {
    background-color: #efefef;
    font-weight:bold;
    /*background-color: #efefef;*/
    
}

.cpc-gfi-button.cpc-gfi-item:hover {
    background-color:whitesmoke;
}

.cpc-gfi-list-item-div {
}

/*.cpc-icon-error {
    background-image: url('../../images/ikoner/nk_023-advarsel_roed-b-48px.png');
    background-size: 24px;
}*/

.cpc-gfi-item {
    /*padding: 10px;*/
}

.cpc-gfi-item-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.cpc-gfi-group-header .cpc-checkbox-container {
    padding: 0;
}

.cpc-gfi-group-header .cpc-checkbox-container  .cpc-checkbox + label {
    height: 40px !important;
    width:24px !important;
    background-size:20px !important;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
    background-image: url('/Images/ikoner/nk_094-ikke-synlig-B-48px.png') !important;
    opacity: 0.6;
    /*"margin:0;
    padding:0 !important;*/
}
.cpc-gfi-group-header .cpc-checkbox-container {
    width:24px;
}

.cpc-gfi-group-header [type=checkbox]:checked.cpc-checkbox + label {
    background-image: url('/Images/ikoner/nk_093-synlig-B-48px.png') !important;
}

.cpc-gfi-group-toggle-container {
    position:absolute; 
    border: inherit;
    background: transparent;
    padding: 0;
}


.cpc-location-detail-div.cpc-gfi-div {
    /*padding: 0px;*/
}

.cpc-location-detail-text {
     margin-left: 10px; 
}

.cpc-gfi-list-item-div {
    padding: 10px 20px;
    /*background-color: #f6f6f6;*/
    background-color:#efefef;
    margin-bottom:8px;

}

.cpc-link {
    cursor: pointer;
    font-weight: bold;
    color: #51a026;
    text-decoration: none;
}

.cpc-label.cpc-gfi-label {
    width: 50%;
    max-width: 50%;
    float: left;
    margin-bottom: 0px;
    opacity:0.65;
    
}

.cpc-value.cpc-gfi-value {
    width: 50%;
    max-width: 50%;
    margin-bottom: 0px;

}

.cpc-feature-attribute {
    margin-bottom: 15px;
    word-break: break-all;
}

.cpc-location-detail-header.cpc-header {
    font-size: 16px;
    /*margin-left: 10px;*/
}


.cpc-link-icon {
    background-position: 0px 7px;
    background-image: url(../../images/ikoner/nk_028-lenke-b-48px.png);
    background-size: 18px;
    width: 18px;
    height: 25px;
    background-repeat: no-repeat;
    float: left;
}

.cpc-gfi-link {
    padding: 0px;
    /*float: left;*/
    /*margin-left: 5px;*/
    width: 48% !important;
    display: inline-block;
    margin: 0;
    height: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal;
    vertical-align: top;
}

.cpc-gfi-group {
    display: block;
}

.sprite-trash-background {
    display: inline-block;
    width: 30px;
    height: 30px;    
    background-image: url('../../images/ikoner/nk_036-soppelbotte-b.png');
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: 8px 12px;
    opacity: 0.6;
}


.cpc-remove-gfi-polygons {
    /*padding-left: 30px;*/
    height: 20px;
    background-image: url(../../images/ikoner/nk_036-soppelbotte-b.png);
    background-size: 18px;
    background-repeat: no-repeat;
    opacity: 0.6;
    display: inline-block;
    margin-left:10px;
}

.cpc-button-link.cpc-remove-gfi-polygons:hover {
    opacity: 1;
}


.cpc-button-link.cpc-remove-gfi-polygons {
    width: auto;
    /*margin-left: 30px; */
}

/*
        HJEMMELSHAVERE

*/


[name=cpc-hjemmelshaver-title] {
    font-weight:bold;
    line-height:40px;
    background-image:url('/Images/ikoner/nk_004-ned-B-48px.png');
    background-size:24px 24px;
    background-repeat: no-repeat;
    background-position-x:right;
    background-position-y: center;
    cursor: pointer;
}

[name=cpc-hjemmelshaver-title].expanded {
    background-image:url('/Images/ikoner/nk_003-opp-B-48px.png');
} 

[name=cpc-hjemmelshaver-title].cpc-hjemmelshaver-title-right-arrow {
    background-image: url('/Images/ikoner/nk_025-hoyrepil-B-48px.png');
}


[name=cpc-hjemmelshaver-title] {
    border:none;
    font-size:inherit;
    text-align:left;
    width:100%;
    padding:0;
    cursor:pointer;
}

.key-nav [name=cpc-hjemmelshaver-title]:focus,   
.key-nav .cpc-location-detail-sidepanel [name=headerButton].cpc-owners-header:focus,
.key-nav .cpc-password-container [name=input_source].cpc-password-field:focus,
.key-nav .cpc-password-container [name=click_source].cpc-password-button:focus    {
    outline: solid 2px rgba(81, 160, 38, 1);    
    opacity: 1;

}

.key-nav .cpc-button-link.cpc-remove-gfi-polygons:focus {
    outline: solid 2px rgba(81, 160, 38, 1);    
    opacity: 1;
}
[name=cpc-location-detail-hjemmelshavere] li:hover,
[name=cpc-hjemmelshaver-title]:hover {
    background-color: whitesmoke;


}



[name=cpc-hjemmelshaver-title],
[name=cpc-hjemmelshaver-message] button {
    background-color:transparent;
    font-weight:bold;
}


[name=cpc-hjemmelshaver-title] {
    font-size:16px;
}

[name=share_button].cpc-button-secondary {
    margin:0;
    padding-left:48px;
    background-image:url('/Images/ikoner/nk_017-dele-B-48px.png');
    background-size:24px;
    background-position:8px center;
    
    background-repeat: no-repeat;
    background-color:white;
    border-color:lightgray;
    
}

[name=share_button].cpc-button-secondary:hover {
    border-color:gray;
}

.cpc-sidepanel .cpc-location-detail-div h2 {
    width:100%;
}
