﻿@font-face {
    font-family: 'Lynstone';
    src: url('LynstoneWeb-Regular.eot'); /* IE9 Compat Modes */
    src: url('LynstoneWeb-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('LynstoneWeb-Regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('LynstoneWeb-Regular.woff') format('woff'); /* Pretty Modern Browsers */
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+000D-FB04;
}

@font-face {
    font-family: 'Lynstone-SemiBold';
    src: url('LynstoneWeb-SemiBold.eot'); /* IE9 Compat Modes */
    src: url('LynstoneWeb-SemiBold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('LynstoneWeb-SemiBold.woff2') format('woff2'), /* Super Modern Browsers */
    url('LynstoneWeb-SemiBold.woff') format('woff'); /* Pretty Modern Browsers */
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+000D-FB04;
}

@font-face {
    font-family: 'Lynstone-Book';
    src: url('LynstoneWeb-Book.eot'); /* IE9 Compat Modes */
    src: url('LynstoneWeb-Book.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('LynstoneWeb-Book.woff2') format('woff2'), /* Super Modern Browsers */
    url('LynstoneWeb-Book.woff') format('woff'); /* Pretty Modern Browsers */
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+000D-FB04;
}

@font-face {
    font-family: bureau-grot, sans-serif;
    font-style: normal;
}

.mainColor {
    color: #009ba4 !important;
}

.selectedColor {
    color: #f3524c !important;
}

.bold {
    font-weight: bold;
}

.borderless {
    border: none !important;
}

.uppercase {
    text-transform: uppercase;
}

.imgLegend{
    display: block;
    margin-top: 10px;
    font-family: Lynstone-Book;
    font-size: 10pt;
}

html, body, #map-container {
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    font-family: Lynstone;
    font-style: normal;
    font-size: 12pt;
}

table td {
    /*font-feature-settings: "tnum";*/
}

/*
 * Header / Footer
 */
#header, #footer {
    position: absolute;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 100;
    padding: 10px;
}

#header {
    top: 0;
    height: 80px;
}

#logo {
    position: absolute;
    top: 10px;
    height: 60px;
}

#footer {
    bottom: 0;
    height: 60px;
    overflow: hidden;
}

    #footer img {
        height: 40px;
    }

    #footer > * {
        display: inline-block;
        margin-right: 50px;
    }

    #footer > div {
        height: 30px;
        width: 1px;
        background-color: #000;
    }

    #footer div.social {
        text-align: right;
        float: right;
        width: auto;
        background-color: unset;
        margin-right: unset;
    }

        #footer div.social > a{
            vertical-align: bottom;
            margin-left: 10px;
        }

.searchBox {
    position: absolute !important;
    left: 300px;
    right: 300px;
    margin-top: 8px;
}

.searchTitle {
    font-family: Lynstone !important;
    font-size: 12pt;

    margin-top: 18px;
    padding: 0px 10px 5px 0px;
    border-bottom: 1px solid #000;
}

#search {
    font-family: Lynstone !important;
    font-size: 12pt;

    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0;
    border-color: #000;
    padding-bottom: 0px;
}

.menuBox {
    position: absolute;
    top: 5px;
    right: 16px;
    text-align: right;
}

.goToMenu, .goToMap, .goToList {
    font-family: Lynstone !important;
    font-size: 12pt;
    cursor: pointer;
}

    .goToMenu:hover, .goToMap:hover, .goToList:hover {
        color: #009ba4;
    }

/*
 * Categories (Header)
 */
#categories {
    font-family: bureau-grot, sans-serif;
    text-transform: uppercase;
    position: absolute;
    top: 10px;
    right: 110px;
}

#filters {
    font-family: bureau-grot, sans-serif;
    text-transform: uppercase;
    position: absolute;
    top: 10px;
    right: 250px;
}

#categories > div, #filters > div {
    margin-top: 0px;
    height: 30px;
}

    #categories > div:not(:first-of-type), #filters > div:not(:first-of-type) {
        margin-top: -2px;
    }

    .category, .filter {
        display: inline-block;
        cursor: pointer;
        margin: 0px 0px 0px -1px;
        padding: 0;
    }

#categoryInfo {
    font-family: bureau-grot, sans-serif;
    text-transform: uppercase;
    position: absolute;
    top: 10px;
    right: 300px;
    background-color: #FFF;
    height: 50px;
    padding-left: 10px;
    text-align: right;
    display: none;
}


/*
 * Containers (content, list, menu)
 */
#content, #list, #menu {
    position: absolute;
    top: 80px;
    right: 0;
    bottom: 60px;
    z-index: 100;
    background-color: #fff;
    overflow-y: scroll;
    overflow-x: auto;
}

#content, #list {
    max-width: 1200px;
}

#menu {
    bottom: 0;
    left: 0;
    z-index: 101;
    border-top: 2px solid #000;
}

/*
 * Menu
 */
    .extraGridSpaceTop {
        margin-top: 20px !important;
    }
    
    #menu > .menu {
        position: fixed;
        top: 80px;
        left: 0px;
        bottom: 0px;
        background-color: #FFF;
        z-index: 103;
        margin-bottom: 0px;
        overflow-y: scroll;
        border-top: 2px solid #000;
        width: 300px !important;
        float: left;
    }

    #menu > .menu > .item {
        padding-left: 0px;
        border-bottom: 2px solid #000;
        border-radius: 0px !important;
        margin-bottom: 0px;
    }

        #menu > .menu > .item > * {
            padding-left: 16px;
        }

        #menu > .menu > .item > .header {
            font-family: bureau-grot, sans-serif;
            text-transform: uppercase;
            font-size: 18pt;
            color: black;
            cursor: pointer;
            display: block;
            text-align: center;
            margin-bottom: 0px;
        }

        #menu > .menu > .item > .menu {
            display: none;
        }

            #menu > .menu > .item > .menu > .item {
                font-family: Lynstone !important;
                font-size: 12pt;
                line-height: 1.25;
                color: #000;
            }

    #menu > .slideshow > .content {
        z-index: 102;
        padding: 25px;
    }

    #menu h2 {
        font-family: bureau-grot, sans-serif !important;
        font-size: 26pt;
        text-transform: uppercase;
    }
    
    #menu h3 {
        font-family: Lynstone !important;
        font-size: 18pt;
    }

    #menu h4 {
        font-family: Lynstone-SemiBold !important;
        font-size: 12pt;
        margin-bottom: 0px;
    }

    #menu div.ui.grid > div {
        border-right: 1px solid #000;
    }
    #menu div.ui.grid > div:last-of-type {
        border-right: 0px;
    }

.slideshow{
    padding-left: 300px;
}

.slideshow > .content a {
    color: #009ba4 !important;
}

#menu section {
    font-family: Lynstone-Book !important;
    font-size: 12pt;

    min-height: 100vh;
    min-height: calc(100vh - 80px);
    position: relative;
    margin: 0px;
    padding: 10px 20px 50px 0px;
    display: block;
    z-index: 0;
}

    #menu h2, #menu h3 {
        border-bottom: 2px solid #000;
        padding-bottom: 10px;
    }

/*
 * Content
 */
.titleLine {
    border-bottom: 2px solid #000;
    width: 100%;
    height: 0px;
    margin: 5px 0px;
}

.titleText{
    height: 70px;
    overflow-y: hidden;
    margin-bottom: 15px;
}

.titleIcons{
    /*position: absolute;*/
    margin-top: -10px;
    display: block;
    text-align: center;
    width: 100%;
}
.titleIcons > div{
    display: inline-block;
    margin-right: 10px;
}

#content h3 {
    font-family: Lynstone !important;
    font-weight: bold;
    font-size: 14pt;
}

#control {
    position: fixed;
    width: inherit;
    z-index: 100;
    background-color: #fff;
    margin-right: 16px;
    padding: 16px 250px 16px 16px;
}

    #control a:hover {
        color: #009ba4 !important;
    }

    #control h2 {
        font-family: bureau-grot, sans-serif;
        text-transform: uppercase;
        text-align: center;
        margin: 10px 0px;
    }

#content section {
    min-height: 100vh;
    min-height: calc(100vh - 130px - 60px - 80px);
    position: relative;
    margin: 130px 0px -60px 0px;
    padding: 0;
    display: block;
    z-index: 0;
}

    #content section:last-of-type {
        margin-bottom: 20px;
    }

#objectContent {
    padding: 20px 250px 20px 20px;
}

#content section .column.images > img {
    margin: 0px auto 20px auto;
}

#content table, #content tr, #content td, #menu table, #menu tr, #menu td {
    border: 1px solid #009ba4 !important;
    border-radius: 0px !important;
    vertical-align: top;
}

.objectDetailLabel {
    width: 200px;
}

.objectTag {
    background-color: #009ba4;
    color: #fff;
    display: block;
    text-align: center;
    padding: 3px;
    margin-right: 15px;
    margin-top: 15px;
}

/*
 * List
 */
#objectListTable thead th > * {
    font-family: Lynstone-SemiBold !important;
    font-size: 12pt;
    cursor: pointer;
    display: inline-block;
}

#objectListTable tbody{
    font-family: Lynstone-Book !important;
    font-size: 12pt;
}
/*
#objectListTable thead th {
    background-color: #b5e7e8;
}
*/
    #objectListTable tbody tr {
        border-bottom: none;
        border-top: none;
    }


#objectListTable tbody tr:hover {
    cursor: pointer;
    background-color: #73c6cb;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.column {
    margin-right: 20px;
}

.columnFlex {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}

.filterSelected {
    border-bottom: 2px solid #abc;
}

.objectListKT {
    width: 70px;
}

.objectListGemeinde, .objectListAdresse {
    width: 200px;
}

.objectListUID {
    width: 120px;
}

.objectListPDF {
    width: 100px;
}

    .objectListPDF > * {
        cursor: pointer;
        color: #009ba4;
    }


/*
 * Preview Window (Map)
 */
#preview {
    font-family: Lynstone;
    position: absolute;
    left: 10px;
    bottom: 160px;
    width: 300px;
    border: 1px solid #000;
    text-align: center;
    background-color: #fff;
    display: none;
    cursor: pointer;
    padding: 10px;
}
/*
#preview > h3 {
    padding: 10px 10px 0px 10px;
}
*/

.previewHint {
    /*background-color: #009ba4;*/
    font-size: .9em;
    display: block;
    text-align: center;
    padding: 3px;
}

/*
 * Map (ol)
 */
.ol-zoom {
    left: 10px !important;
    top: 90px !important;
}

.ol-attribution {
    right: unset !important;
    left: 0px;
    bottom: 60px !important;
}

.ol-scale-line {
    bottom: unset !important;
    top: 90px !important;
    left: 50px !important;
}

.ol-scale-line-inner {
    font-size: 0.5em !important;
    height: 20px !important;
}

.ol-touch .ol-control button {
    font-size: 1em !important;
}
