div#related
{
    overflow:              hidden;
}

div#related>div
{
    float:                  left;
    width:                  480px;
    overflow:               hidden;
}

div#related>div:first-child
{
    margin:                0 20px 0 0;
}

div#related h3
{
    font-size:             150%;
    padding:               5px 0 5px 10px;;
    margin:                10px 0 0 0;
    background-color:      #787878;
    color:                 #ffffff;    
    float:                 left;
    width:                 470px;
}

div#related ul
{
    list-style-type:        none;
    overflow:               hidden;
    width:                  463px;
    margin:                 0;
    padding:                5px 0 5px 15px;
    border:                 1px solid #787878;
}

div#related ul>li
{
    
}

div#related a
{
    float:                 left;
    clear:                 both;
    display:               block;
    padding:               3px 5px;
    margin:                0 3px;
    color:                 #0245B4;
}

div#related a:hover
{
    
}

div.full#local-guide
{
    color:                #0245B4;
    font-size:            12px;
    font-family:        Arial,Helvetica,sans-serif;
}
div.full#local-guide div#categories>ul
{
    overflow:            hidden;
    list-style-type:    none;
    
    width:                980px;                                                        
    
    border-bottom:         1px solid #dddddd;
}

div.full#local-guide div#categories>ul>li
{    
    min-height:             70px;
    width:                  912px;                                                         
    margin:                 10px 5px;
    padding:                0 0 0 58px;                                                    
}

div.full#local-guide div#categories>ul.narrow>li
{
    width:                 422px;                                                        
    
    float:                left;
    clear:                none;
}

div.full#local-guide div#categories>ul>li ul
{
    overflow:            hidden;
    list-style-type:    none;
}

div.full#local-guide div#categories>ul>li ul>li
{
    float:                left;
    clear:                none;
    margin-right:         8px;
}

div.full#local-guide h3
{
    font-size:            130%;
    font-weight:          bold;
    
    margin-bottom:        5px;
}

div.full#local-guide h4
{
    font-size:            100%;
}

div.full#local-guide h3>a, div.full#local-guide h4>a
{
    color:                #0245B4;
}

div.full#local-guide li
{
    background-repeat:    no-repeat;
    background-position: left top;
}

div.full#local-guide div#categories > ul.narrow > li#front-right-column
{
    float:              right;
    padding:            10px 0px;
    padding-bottom:     30px;
    overflow:           hidden;
}

div.full#local-guide div#front-banner-block
{
    margin-bottom:      2.0em;
    text-align:         center;
    overflow:           hidden;
}

div.full#local-guide div.local-guide-front-ads-container
{
    margin:             auto;
    display:            inline-block;
    overflow:           hidden;
}

div.full#local-guide div.local-guide-front-ads
{
    width:              365px;
    height:             120px;
    margin-right:       1.0em;
    float:              left;
}

div#front-form input[type=text]
{
    vertical-align:       middle;
    border:               1px solid #666666;
    height:               16px;
    line-height:          16px;
    width:                150px;
    padding:              2px;
    margin:               0;
}

div#front-form button
{
    vertical-align:        middle;
    border:                1px solid #999999;
    border-color:          #999999 #666666 #666666 #999999;
    height:                22px;
    margin:                5px 0;
    background-image:      url('/derdubor/img/button_bg.png');
    background-repeat:     repeat-x;
}

span.category-has-customers
{
    font-weight:            bold;
}

/* Front search */
#local-guide h1, #local-guide h2
{
    font-family: "Droid Serif",cambria,palatino,arial,sans-serif;
    font-weight: normal;
}

#local-guide h3, #local-guide h4
{
    font-weight: normal;
}

#local-guide h4 a
{
    text-decoration: none;
}

#front-search-container
{
    min-height: 250px;
    background: #efefef;
    margin-bottom: 2.0em;
    text-align: center;
    background: url('/derdubor/img/merhimmel2.jpg');
    border-radius: 5px 5px 0px 0px;
    background-position: bottom;
    position: relative;
    padding-top: 48px;
}

#front-search-container>h1
{
    padding-top: 0;
    font-size: 4.0em;
    color: white;
    text-shadow: 1px 1px 1px #000000;
}

#front-search-result
{
    display:    none;
    text-align: center;
    overflow:   hidden;
}

div#front-search-field
{
    width: 600px;
    border-radius: 3px;
    margin: auto;
    padding: 1.0em;
}

div#front-search-field>form>input
{
    font-size: 1.4em;
    margin-right: 1.0em;
}

div#front-search-field>form>input[type=text]
{
    width: 450px;
    box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 6px;
    border: 1px solid #999;
    padding: .4em .45em;
    margin: -0.05em .4em .3em .2em;
    outline: none;
}

div#front-search-field>form>input[type=text]:focus
{
    border: 1px solid #000;
}


div#front-search-field>form>input[type=submit]
{
    padding: 0.3em;
    width: 50px;
}

div#front-search-disclaimer
{
    position: absolute;
    bottom: 0px;
    background: white;
    opacity: 0.5;
    right: 0px;
    padding: 8px;
    color: black;
}

div.front-section-block h2
{
    margin-bottom: 0.5em;
}

div.front-section-block
{
    overflow: hidden;
    margin-bottom: 2.0em;
}

div.front-section-block>h2
{
    font-size: 3.0em;
    color: black;
    font-family: "Droid Serif",cambria,palatino,arial,sans-serif;
    float: left;
    width: 275px;
}

div.new2015 div.front-section-block>h2
{
    width: inherit;
    float: none;
    display: block;
    font-family: arial;
    text-transform: uppercase;
    text-align: center;
}

div.front-section-block>div.front-section-block-section
{
    width: 700px;
    margin-left: 295px;
    margin-top: 8px;
}

div.new2015 div.front-section-block>div.front-section-block-section
{
    width: inherit;
    display: block;
    margin: 0;
}

div.front-section-block-section li.guide-entry
{
    width: 300px;
    height: 55px;
    font-size: 1.4em;
    float: left;
    margin-bottom: 15px;
    text-align: center;
}

div.new2015 div.front-section-block-section li.guide-entry
{
    width: 480px;
    margin: 0;
    height: auto;
    margin-bottom: 2.0em;
}

div.preferred-advertisers
{
    padding: 10px 0;
    overflow: hidden;
    border: 1px solid #ccc;
}

div.front-section-block-section li.guide-entry div.preferred-advertisers a.link-full-guide
{
    float: right;
    margin-right: 10px;
    font-size: 0.8em;
}

div.preferred-advertiser
{
    width: 460px;
    margin: auto;
    height: 160px;
    background: #6666ff;
    margin-bottom: 1.0em;
    text-align: left;
    position: relative;
    font-size: 24px;
}

div.preferred-advertiser .shade
{
    opacity: 0.5;
    background: black;
    z-index: 1;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1.6em;
}

div.preferred-advertiser h5
{
    position: absolute;
    bottom: 4px;
    padding-bottom: 4px;
    font-family: "Droid Serif",cambria,palatino,arial,sans-serif;
    margin: 0;
    left: 4px;
    font-size: 1.0em;
    color: white;
    padding-right: 5px;
    text-shadow: 2px 2px 3px #333;
    overflow: hidden;
    z-index: 2;
}

div.preferred-advertiser span
{
    font-size: 0.8em;
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    color: white;
    text-decoration: underline;
    text-shadow: 2px 2px 3px #333;
}

div.preferred-logo-container
{
    position: absolute;
    right: 4px;
    padding: 3px;
    background: white;
    top: 8px;
    border: 1px solid #bbb;    
    display: inline-block;
}

ul.guide-preferred-advertisers
{
    overflow: hidden;
}

ul.guide-preferred-advertisers li
{
    
}

li.guide-entry h4
{
    color: black;
    margin-bottom: 4px;
    margin-top: 1.5em;
    opacity: 0.5;
}

div.front-section-block-section li.guide-entry h4 a
{
    font-size: 1.0em;
}


div.new2015 li.guide-entry img
{
    max-width: 480px;
}

div.front-section-block-section li.guide-entry a
{
    font-size: 1.4em;
    text-decoration: none;
}

div.front-section-block-section ul.category-list>li
{
    float: left;
    width: 300px;
    margin-right: 20px;
    margin-bottom: 2.0em;
}

div.front-section-block-section ul.category-list>li li
{
    margin-bottom: 6px;
}

#front-ads-list li
{
    overflow:   hidden;
    text-align: center;
    margin-bottom: 1.0em;
    width:      200px;
    padding-bottom: 2.0em;
}

#front-ads-list li>div
{
    margin: auto;
}

a.front-company-link
{
    font-size:              2.0em;
    text-decoration:        none;
    display:                inline-block;
    background:             #f6f6f6;
    border:                 1px solid #999;
    width:                  198px;
}

#front-search-result h2
{
    font-size: 1.6em;
}

#front-search-result-result
{
    display:    none;
}

#front-search-result-activity
{
    margin-bottom: 1.0em;
    padding-bottom: 1.0em;
    border-bottom:  1px solid #eee;
}

ol#front-search-categories
{
    overflow:   hidden;
}

ol#front-search-categories>li
{
    float: left;
    width: 288px;
    margin-right: 13px;
    border: 1px solid #efefef;
    padding: 14px;
    text-align: left;
    margin-bottom: 14px;
    cursor: pointer;
}

ol#front-search-categories>li>span
{
    color: #999;
    display: block;
    text-align: right;
}

ol#front-search-companies
{
    overflow:  hidden;
}

ol#front-search-companies>li
{
    text-align: left;
    padding: 14px;
    border: 1px solid #efefef;
    overflow: hidden;
    margin-bottom: 14px;
    min-height: 90px;
    position: relative;
    padding-bottom: 42px;
}

ol#front-search-companies>li>h3.search-hit-header
{
    font-size: 24px;
}

ol#front-search-companies>li>h3>span.search-hit-header-number
{
    float: right;
    color: black;
    margin-right: 1.0em;
    font-size: 0.9em;
}

ol#front-search-companies>li div.search-hit-logo
{
    float: right;
    text-align: right;
    background: white;
    padding: 16px;
    border: 1px solid #999;
}

ol#front-search-companies>li p
{
    font-size: 1.2em;
    color: black;
}

ol#front-search-companies>li p.search-hit-snippet
{
    margin-bottom: 1.0em;
    font-style: italic;
}

div.front-search-error
{
    font-size: 1.4em;
    color: black;
    margin-bottom: 1.0em;
    min-height: 100px;
    letter-spacing: 1px;
}

div.front-search-error span
{
    border-bottom: 1px solid #f00;
}

div.front-search-error p
{
    margin-bottom: 1.0em;
}

li.search-hit-priority-500
{
    background-color:       #ffffe0;
    border-color:           #333333;    
}

li.search-hit-priority-300, div.search-hit-priority-400
{
    background-color:       #eefaff;
    border-color:           #cccccc;
}

li.search-hit-priority-200
{
    background-color:       #f8f8f8;
}

div.front-search-action-bar
{
    position: absolute;
    bottom: 12px;
    font-size: 1.3em;
}

div.front-search-action-bar a
{
    margin-right:   16px;
    color:          #0245B4;
    letter-spacing: 1;
}

div.front-search-action-bar a:visited
{
    color: #6666ff;
}

div.front-search-action-bar a.icon
{
    background-position:  left;
    background-repeat:    no-repeat;    
    padding:              0 0 0 20px;
}

p#front-disclaimer
{
    color: grey;
    width: 640px;
    margin: auto;
    margin-top: 2.0em;
    margin-bottom: 2.0em;
    text-align: center;
}

p#front-disclaimer a
{
    color: grey;
}

div.front-search-phone-block
{
    font-size:  1.3em;
    margin-bottom: 0.5em;
    color: black;
}

span.front-search-phone-label
{
    margin-right: 1.2em;
}

span.front-search-phone-number
{
    font-style: italic;
    margin-right: 2.0em;
}

div.front-search-companies-more-hits
{
    text-align: right;
}

div.front-search-companies-more-hits a
{
    display: inline-block;
    background: #eefaff;
    border: 1px solid #ccdadd;
    padding: 10px 14px;
    font-size: 1.4em;
    text-decoration: none;
}

div.front-search-companies-more-hits a:hover
{
    text-decoration: underline;
}

/** These rules fixes a few global rules from Rogalands Avis own stylesheet.. **/
html.RogalandsAvis ol
{
    margin: 0;
    padding: 0;
}

html.RogalandsAvis ol li
{
    list-style-type: none;
}

html.RogalandsAvis h3, html.RogalandsAvis h2
{
    float: none;
}

#ddbContent h1 a
{
    position: static;
    background: none;
    color: white;
    text-decoration: none;
    
}