﻿@font-face {
    font-family: "entypo";
    src: url("fonts/entypo.eot?#iefix") format("embedded-opentype"), url("fonts/entypo.woff") format("woff"), url("fonts/entypo.ttf") format("truetype"), url("fonts/entypo.svg#entypo") format("svg");
}
/* HS: Removes the yellow background when Chrome autofills form input */
input:-webkit-autofill 
{ 
    -webkit-box-shadow:0 0 0 50px white inset; 
    -webkit-text-fill-color: #333;
}
    
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 8px rgba(82, 168, 236, 0.6), 0 0 0 50px white inset;
    -webkit-text-fill-color: #333;
}

body {
    font-family:  Helvetica, Arial, "Lucida Grande", sans-serif;
}

/* HS Note: Global chance to all headers? */
h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 10px;
}

h5 {
    margin-bottom:4px;
}
/*General*/
.marginbottom {
    margin: 0px 0px 15px 0px;
}

.search-results {
    width: 900px;
    margin: 0 auto;
}

.search-addresses,
 .search-cpr-birthdate-and-name {
    text-align: center;
    margin: 0 auto;
    float: none;
}

table.table-addresses td {
    padding: 20px 0;
    border-top: 1px solid #CCCCCC;
    float: none;
}

table.search-result {
    width: 900px;
    float: none;
}

    table.search-result tr.address {
        border-bottom: solid;
        border-bottom-width: 1px;
        border-color: #E45324;
    }

    table.search-result td {
        border-width: 0;
        border-style: none;
        padding: 5px 0 0 0;
        text-align: left;
    }

        table.search-result td.contact-details {
            width: 60%;
        }

.btn-success {
    font-size: 12px;
    margin: 0px 2px 1px 0px;
    padding: 1px 4px;
    color: #0092b0;
    border-color: #eaf7f6;
    background-color: #eaf7f6;
    background-image: linear-gradient(to bottom, #eaf7f6, #eaf7f6);
}

    .btn-success:disabled {
        color: #0092b0;
        border-color: #eaf7f6;
        background-color: #eaf7f6;
    }

    .btn-success:hover {
        color: #0092b0;
        border-color: #eaf7f6;
        background-color: #eaf7f6;
    }

.btn-warning {
    font-size: 12px;
    margin: 0px 2px 1px 0px;
    padding: 1px 4px;
    color: #4b3f43;
    border-color: #eaeaea;
    background-color: #eaeaea;
    background-image: linear-gradient(to bottom, #eaeaea, #eaeaea);
}

    .btn-warning:disabled {
        color: #4b3f43;
        border-color: #eaeaea;
        background-color: #eaeaea;
    }

    .btn-warning:hover {
        color: #4b3f43;
        border-color: #eaeaea;
        background-color: #eaeaea;
    }

.btn-info {
    border-color: #db2d14;
    background-color: #e34f10;
    background-image: linear-gradient(to bottom, #e34f10, #db2d14);
}

    .btn-info .badge {
        color: #e34f10;
        background-color: #fff;
    }

    .btn-info:hover, .btn-info:focus, .btn-info[disabled]:focus  {
        border-color: #db2d14;
        background-color: #db2d14;
    }

    .btn-info.active, btn-info:active {
        border-color: #db2d14;
        background-color: #c32e18;
    }

table.search-result td.contact-type {
    width: 50px; /* added by jk*/
    text-align: center; /* org left, changed by jk */
    vertical-align: top;
}

.sort-arrows {
    color: grey;
    cursor: pointer;
    margin-right: 1px;
}

    .sort-arrows.selected {
        color: black;
    }

.sort-column {
    float: right;
}

/* added by jk*/
table.search-result td.contact-attention-bad {
    width: 13%;
    vertical-align: top;
    text-align: right;
}
/* added by jk*/
table.search-result td.contact-attention-good {
    width: 13%;
    vertical-align: top;
    text-align: right;
}

    /* added by jk*/
    table.search-result td.contact-attention-good p {
        color: #0092b0;
        font-weight: bold;
    }
/* added by jk*/
table.search-result td.contact-attention-bad p {
    color: #4c4044;
    font-weight: bold;
}
/* added by jk*/
a.open-contact {
    color: #e34f10; /* org #5c5753,changed by jk*/
}
a.open-in-crm {
    color: #e34f10; /* org #5c5753,changed by jk*/
}
/* added by jk*/
p.contact {
    color: #0092b0;
}

span.form-control {
    color: #555;
    vertical-align: middle;
    background-color: inherit;
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
}

table.search-result td.search-source-header {
    text-align: center;
    font-size: 75%;
    width: 16px;
}

table.search-result td.search-source {
    text-align: center;
    vertical-align: top;
    padding-top: 10px;
}

/* Search source labels */
.led-search-source {
    display: inline-block;
    background-color: #e9f6f5;
    border: 1px solid #a6d9e1;
    border-radius: 3px 3px 3px 3px;
    width: 12px;
    height: 12px;
}

    .led-search-source.active {
        background-color: #a6d9e1;
    }

    .led-search-source > .error {
        background-color: #ef7536;
        border: 1px solid #db2d14;
    }

table.search-result td.search-action {
    width: 120px;
    text-align: right;
    vertical-align: top;
    padding: 5px;
}

table.search-result tr.customer {
    background-color: white;
}

table.search-result tr.current-customer {
    background-color: #FFFFBC;
}

table.search-result tr.dissolved-customer {
  opacity: 0.5;
  filter: alpha(opacity=50); /* IE8 and lower */
}

table.search-result tr.inactive-customer {
  opacity: 0.5;
  filter: alpha(opacity=50); /* IE8 and lower */
}

table.search-result tr.bad-result {
  opacity: 0.5;
  filter: alpha(opacity=50); /* IE8 and lower */
}

a.btn-action {
    width: 56px;
    height: 28px;
    font-size: 12px;
    margin: 0px 2px 1px 0px; /* changed by jk, org. 0 2px */
    padding: 4px 2px;
}

.form-actions {
    background-color: #F5F5F5;
    border-top: 1px solid #E5E5E5;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 20px 0;
}

.open-contact {
    cursor: pointer;
}

.open-in-crm {
    cursor: pointer;
}

img.result-mini-image {
    width: 20px;
    height: 20px;
}

input[type='text'].ui-autocomplete-loading {
    background: url('images/loading.gif') no-repeat right center;
}

.search-input {
    padding-left: 15%;
}


.rounded-box {
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left:20px;
    margin-right:10px;
    border: 1px solid #eee;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 6px 6px 6px 6px;
}

    .rounded-box legend {
        margin-bottom: 10px;
    }

    .rounded-box fieldset {
        margin-bottom: 0;
    }

a.open-address {
    cursor: pointer;
    color: #e34f10; /* org #EF5617, changed by jk */
}

a.property-for-sale {
    cursor: pointer;
    float: right; 
    margin-right: 15px; 
    font-size: 12px; 
    background-color: #e34f10; 
    color: white; 
    padding: 2px 5px 2px 5px;
    text-transform: uppercase;
}

span.underline-address {
    color: #4c4044;
    text-decoration: none;
}

span.underline-contact {
    color: #5C5955;
    text-decoration: none;
}

#statusbar {
    display: none;
    position: absolute;
    left: 50%;
    top: 0px;
    width: 400px;
    margin-left: -200px;
    opacity: 0.85;
    z-index: 1040;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    padding-left: 20px;
    padding-right: 20px;
}


/* HS Note: I guess these <dl> styles are for the details view. Might want to give most of these styles a base class. */
dl.dl-horizontal {
    margin: 0;
}

.dl-container .dl-horizontal dt {
    width: 200px;
}

.dl-container .dl-horizontal dd {
    margin-left: 215px;
}

.dl-container h4 {
    margin-right:30%;
    text-align:center;
    margin-top:18px;
}

.dl-container h5 {
    margin-right:30%;
    text-align:center;
    margin-top:18px;
}

dl.odd {
    background-color: #efefef;
}

.dl-horizontal > dd:after {
    display: table;
    content: "";
    clear: both;
}

dl.dl-contact {
    border-bottom: thin solid #C0C0C0;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

/* Special formatting for Tinglysning */
.tinglysning-container .dl-horizontal dt {
    font-weight: normal;
}

.tinglysning-container h1, 
.tinglysning-container h2, 
.tinglysning-container h3, 
.tinglysning-container h4, 
.tinglysning-container h5 {
    font-weight: bold;
    text-transform: uppercase;
}

.tinglysning-container h5 {
    margin-left: 10px;
}

.tinglysning-container hr {
    border-top-color: #C3C3C3;
}

hr.hr-shorter {
    width: 92%;
}

hr.hr-new-group {
    border-top-width: 2px;
    border-top-color: #C3C3C3;
}

/* HS Note: Figure out what this is for, then make rule specific */
.dropdown-menu {
    text-align: left;
}

.address {
    font-family: "Lucida Sans Unicode","Lucida Grande",Tahoma,sans-serif;
    font-size: 18px;
    line-height: 1;
    margin: 0 0 5px;
    color: #4c4044; /* added by jk */
}

.contact {
    color: #5C5955;
    font-family: "Lucida Sans Unicode","Lucida Grande",Tahoma,sans-serif;
    font-size: 14px;
    line-height: 1.2;
    margin: 0 0 2px;
    padding: 3px 0 0 5px;
}

/* 
    Validation
*/

.validation-summary-errors {
    color: #B94A48;
    background-color: #F2DEDE;
    border-color: #EED3D7;
    border-radius: 4px 4px 4px 4px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    vertical-align: middle;
    margin-bottom: 20px;
    padding: 2px 4px 2px 4px;
}

    .validation-summary-errors > ul {
        margin: 10px 0px 10px 25px;
        padding-left: 5px;
    }

    .validation-summary-errors > span {
        font-weight: bold;
    }

.validation-summary-valid {
    display:none;
}

.field-validation-valid {
    display: none;
}

.field-validation-error, span.field-validation-error {
    color: #B94A48;
    font-size: 16px;
    font-weight: bold;
    padding-top: 7px;
    padding-left: 0;
    margin-left: -15px;
}

span.field-validation-label {
    margin-left: 5px;
}

/*
    Navigation bar
*/
.navbar {
    margin-bottom: 10px;
    min-height: 40px;
}

    .navbar .nav > li > a {
        padding: 10px 10px 7px;
        margin: 0 10px 0;
        color: #999999;
    }

.navbar-default {
    background-image: none;
    background-repeat: no-repeat;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    border-color: #FFFFFF;
}

.navbar .nav > .active > a,
.navbar .nav > .active > a:hover,
.navbar .nav > .active > a:focus {
    border-bottom: solid;
    border-bottom-width: 2px;
    border-color: #E45324;
    color: #555555;
    text-decoration: none;
    background-color: #FFFFFF;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-image: none;
    background-repeat: no-repeat;
}

/*
    Tabs
*/
.nav-tabs {
    margin-bottom: 5px;
}

    .nav-tabs li a {
    height:55px;
    }

    .nav-tabs li a:focus {
        outline:none;
    }

/* Container for page content */
#content {
    background-color: #f4f4f4;
    padding: 2em 2em 1em 2em;
}

/* Container for page footer */
#footer {
    text-align: right;
    color: #939393;
    padding: 5px 0px;
    font-size: 12px;
}

.btn-primary {
    text-transform: uppercase;
    background-color: #e65222;
    background-image: -moz-linear-gradient(top, #ef7536, #db2d14);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ef7536), to(#db2d14));
    background-image: -webkit-linear-gradient(top, #ef7536, #db2d14);
    background-image: -o-linear-gradient(top, #ef7536, #db2d14);
    background-image: linear-gradient(to bottom, #ef7536, #db2d14);
    font-weight: bold;
    font-size: 15px;
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary.disabled,
    .btn-primary[disabled] {
        color: #FFFFFF;
        background-color: #db2d14;
        *background-color: #db2d14;
    }

    
/*
    Sticky notes
*/
.sticky-note,
.master-data-editing {
    background-color: #FFFFBC;
    float: right;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    outline: medium none;
}

.sticky-note-header,
.master-data-editing-header {
    border-bottom: 1px solid #CFCFCF;
    padding-bottom: 10px;
    font-weight: bold;
}

.sticky-note-body,
.master-data-editing-body {
    padding-top: 10px;
}

.sticky-note-footer,
.master-data-editing-footer {
    border-top: 1px solid #CFCFCF;
    padding-top: 5px;
    font-style: italic;
    font-size: .83em;
}

.sticky-note .close {
    margin-left: 6px;
}

legend + .control-group {
    margin-top: 0px;
}

fieldset {
    margin-bottom: 20px;
}

.popover-title {
    font-weight: bold;
}

.modal-body {
    padding: 6px;
}

.modal-body h1, .modal-body .h1, 
.modal-body h2, .modal-body .h2, 
.modal-body h3, .modal-body .h3, 
.modal-body h4, .modal-body .h4 {
    margin-top: 25px;
}

.modal-footer .btn {
    height: 44px;
}



/* 
    Approve Event
*/

.eventtab.active{
        border-color: #d76c5c;
        border-width: 1px 1px 1px 1px;
        border-style: solid ;
}


.table-approve-event,
.table-other-events {
    border-collapse: separate;
    margin-bottom: 0;
    table-layout: fixed;
}

    .table-approve-event > thead > tr > th, 
    .table-other-events > thead > tr > th {
        height: 40px;
        padding-top: 4px;
        padding-bottom: 4px;
        vertical-align: middle;
    }

    .table-approve-event > thead > tr > th,
    .table-approve-event > tbody > tr > td,
    .table-other-events > thead > tr > th,
    .table-other-events > tbody > tr > td {
        vertical-align: middle;
        word-wrap: break-word;
        padding-left: 4px;
        padding-right: 4px;
    }

    .table-approve-event > tbody > tr > td:first-child {
        font-weight: bold;
    }
    .table-approve-event > tbody > tr > td:only-child {
        font-weight: normal;
    }

    .table-approve-event > tbody > tr,
    .table-other-events > thead > tr 
    {
        height: 43px;
    }

        .table-approve-event > tbody > tr > input[type="text"] {
            margin-bottom: 0;
        }
    .table-approve-event > tfoot, 
    .table-other-events > tfoot {
        text-align: center;
    }

.btn-approve-event {
    float: left;
    margin-right: 5px;
}

.btn-edit-event {
    float: left;
    margin-left: 5px;
    margin-right: 5px;
}

.eventstatus {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.dropdown-menu-200 {
    width: 200px;
}

.dropdown-menu .li-with-checkbox {
    margin-left: 10px;
}

.table-union-events {
    float: left;
}

span.pictogram {
    float: right; 
    font-family: entypo; 
    font-size: 1.6em; 
    line-height: 14px; 
    margin-top: -2px;
    cursor: pointer;
}

span.pictogram-new {
    color: goldenrod; 
}

span.pictogram-match {
    color: #00AA00; 
}

span.dot {
    height: 14px;
    width: 14px;
    border-radius: 50%;
    border-color: #fffefe;
    border-style: double;
    border-width: 2px;
    display: inline-block;
    position: relative;
    top: 2px;
    box-shadow: 1px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 1px 1px rgba(0,0,0,0.3);
    -webkit-box-shadow: 1px 1px rgba(0,0,0,0.3);
    -o-box-shadow: 1px 1px rgba(0,0,0,0.3);
}

span.dot-green {
    background-color: #1b9e2e;
}

span.dot-yellow {
    background-color: #f8ac08;
}

span.dot-red {
    background-color: #fc4243;
}

span.dot-gray {
    height: 25px;
    width: 25px;
    background-color: #8f8f8f;
    border-radius: 50%;
    display: inline-block;
}

/*
    Multiselect
*/
.multiselect-container a {
    margin-bottom: 0px;
}

.multiselect {
    text-align: left;
}

.multiselect b.caret {
    float:right;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    margin-top:9px;
    margin-right:-2px;
}

.multiselect-group-clickable label {
    text-decoration: underline;
}

/* Clipboard */
.clipboard-container {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 0px;
  height: 0px;
  z-index: 100;
  display: none;
  opacity: 0;
}
#clipboard {
  width: 1px;
  height: 1px;       
  padding: 0px;
}

#clipboard-label {
    padding-top: 8px;
    text-align: right;
    padding-left: 20px;
    padding-right: 20px;
}

/*
    Notification widget
*/
.news-icon {
    background: url('images/TwitterLogo_Blue_24x24.png') no-repeat right center;
    display: inline-block;
    height:24px;
    width:24px;
}

#news .popover {
    max-width: 500px;
    width: 500px;
    height: auto;
}

#news .badge {
    font-size: 9px;
    background-color: #F56363;
    vertical-align: top;
    margin-left: -4px;
}

/*
    Settings for Event, CvrEvent (whatever other events might come in future...)
*/
.form-settings label.control-label {
    display: block;
    text-indent: -18px;
}

.form-settings input[type='checkbox'] {
    width: 13px;
    height: 13px;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
    position: relative;
    top: -3px;
    *overflow: hidden;
}

.form-settings .form-actions {
    padding: 10px;
    margin-left: 20px;
}

    .form-settings .form-actions div.form-group {
        margin-left: 0;
        padding-left: 0;
    }

.form-settings .rounded-box div.form-group {
    margin-left: 0;
    padding-left: 5px;
}

.form-settings input[type="text"] {
    padding-left: 6px;
    padding-right: 6px;
}

/*
    FAQ
*/

#modal-faq  .dl-horizontal dt {
    width: 40px;
}

#modal-faq .dl-horizontal dd {
    margin-left: 60px;
}

/*
    NN Markedsdata
*/
.table-details {
    border-collapse: separate;
    margin-bottom: 0;
    table-layout: fixed;
}

    .table-details > thead > tr > th {
        height: 40px;
        padding-top: 4px;
        padding-bottom: 4px;
        vertical-align: middle;
    }

    .table-details > thead > tr > th,
    .table-details > tbody > tr > td {
        vertical-align: middle;
        word-wrap: break-word;
        padding-left: 4px;
        padding-right: 4px;
        text-align: right;
    }

    .table-details > tbody > tr.totals-row > td {
        border-top-width: 2px;
        border-top-color:  #959595;
        font-weight: bolder;
    }

    .table-details > thead > tr > th:first-child,
    .table-details > tbody > tr > td:first-child {
        font-weight: bold;
        width: 40%;
        text-align: left;
    }
    .table-details > tbody > tr > td:only-child {
        font-weight: normal;
    }

    .table-details > tbody > tr
    {
        height: 43px;
    }

        .table-details > tbody > tr > input[type="text"] {
            margin-bottom: 0;
        }
    .table-details > tfoot {
        text-align: left;
    }

/*
    Skibsregister
*/
table.table-skibsregister > tbody > tr > th,
table.table-skibsregister > tbody > tr > td {
    padding: 0 2px 0 2px;
    font-size: 12px;
}

table.table-skibsregister > tbody > tr > td.Boldtext {
    font-weight: bold;
}

table.table-skibsregister > tbody > tr > td.ItalicText {
    font-style: italic;
}

/* Print 
------------------------- */
@media print {
    a[href]:after {
        content: none !important;
    }

    .dl-horizontal dt {
        float: left;
        width: 160px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dl-horizontal dd {
        margin-left: 180px;
    }

    .modal-dialog {
        background-color: white !important;
    }

    hr.hr-new-group {
        border-top-width: 0;
        page-break-after: always;
    }
}

/*SPE: Exists in current bootstrap version*/
@media (min-width: 992px) {
    .modal-lg {
        width: 900px;
    }
}

/* Tablets, phones, etc.
------------------------- */
@media (max-width: 979px) {
    /* Remove any padding from the body */
    body {
        padding: 0 20px;
    }

    #content {
        padding: 1em 1em 1em 1em;
    }

    .container {
        width: auto;
    }

    .search-results {
        width: 100%;
        margin: 0 auto;
    }

    table.search-result {
        width: 100%;
        float: none;
    }

    table.table-addresses {
        /*max-width: 768px;*/
        width: 100%;
    }
}

@media (max-width: 767px) {
    form.form-inline {
        margin-left: 2px;
        padding-bottom: 10px;
        margin-bottom: 0;
    }

    table.table-addresses {
        max-width: 320px;
        width: auto;
    }

    .navbar-default {
        width: 100%;
    }
}

/*
    Collapsible panels (bootstrap override)
*/

/* symbol for "opening" panels */
.panel-heading .accordion-toggle:after {
    font-family: 'Glyphicons Halflings'; 
    content: "\e114"; 
    float: right;
    color: grey;
}

/* symbol for "collapsed" panels */
.panel-heading .accordion-toggle.collapsed:after {
    content: "\e080";
}

/* make whole panel clickable */
.panel-heading a {
    display: block;
    padding: 10px 15px;
    margin: -15px -15px;
    outline: none;
}
