/* reset font for CMS */
html {
    font-size: 100%;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 1rem;
	line-height: 1;
}

/* MP Default font */
.masterportal-container {
    color: inherit;
    font-size: 14px;
    line-height: normal;
    font-family: "MasterPortalFont", Helvetica, Arial, sans-serif;
}

/*
        Override specific selectors
 */

/* MP Font-Size */
.masterportal-container,
.masterportal-container label,
.masterportal-container .navbar,
.masterportal-container .search-results a,
.masterportal-container .search-results a:hover,
.masterportal-container #messages p {
    font-size: 14px;
    line-height: 1.42857143;
}

.masterportal-container .footer-custom {
    line-height: 34px;
}

.masterportal-container .dropdown-menu.open {
    margin-bottom: 0;
}

.masterportal-container .footer-custom .footer-custom-flex-container .projection-switcher .dropdown.bootstrap-select.-projectionSwitcher.dropup.bs3 {
    width: 180px !important;
}

.masterportal-container .tool-window .header .win-icon {
    font-size: 17px;
}

.masterportal-container .quick-help-window a,
.masterportal-container .quick-help-window p,
.masterportal-container .win-body label,
.masterportal-container .win-body a,
.masterportal-container .quick-help-window a:hover,
.masterportal-container .quick-help-window p,
.masterportal-container .tool-window p,
.masterportal-container .footer-custom a:visited,
.masterportal-container .footer-custom a {
    font-size: 12px;
}

/* MP Font-Family */
.masterportal-container [type='text'],
.masterportal-container [type='email'],
.masterportal-container [type='number'],
.masterportal-container textarea,
.masterportal-container .quick-help-window a,
.masterportal-container .quick-help-window p,
.masterportal-container .tool-window p,
.masterportal-container #messages p,
.masterportal-container label{
    font-family: "MasterPortalFont", Helvetica, Arial, sans-serif;
}

/* MP Font-Weight and Font-Style */
.masterportal-container .tool-window .header .title,
.masterportal-container .legend-win .legend-win-header .title {
    font-weight: bold;
}
.masterportal-container h4 {
    font-style: normal;
}
.masterportal-container .glyphicon-arrow-left::before {
    content: "\F104";
}
.masterportal-container .glyphicon-arrow-right::before {
    content: "\F105";
}

/*
    Icons
 */
.masterportal-container .glyphicon.fas,
.masterportal-container .fa-lg {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}
.masterportal-container .glyphicon.far{
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;
}
.fa-lg {
	font-size: 1.1em;
}

.masterportal-container .dropdown-menu > li > a {
    font-size: 14px;
}

.masterportal-container .close-button {
    line-height: 1.4;
}


/*
    MP Background Switcher
 */
@media screen and (min-width: 768px) {
    .masterportal-container .background-switcher{
        bottom: 50px;
    }
}

@media screen and (max-width: 768px) {
    .masterportal-container .background-switcher{
        /*max-width: 90%;
		max-height: 90%;*/
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .masterportal-container .background-switcher .titlebar {
       display: none;
    }
	
	.masterportal-container .background-switcher .collapsed .backgroundswitcher-preview.active img {
	   width: 70px;
    }
	
	.masterportal-container .background-switcher .collapsed .backgroundswitcher-preview.active .backgroundswitcher-label {
	   width: 70px;
	   font-size: 11px;
    }
}

/*
    MP Search
 */
.masterportal-container .container-object-filter ul {
    padding-left: 40px;
}
 
@media screen and (min-width: 768px) {
	.masterportal-container #detailedSearchbar #detailedSearchForm .container-detailed-search .container-object-filter ul {
		margin-left: 0;
		padding-left: 10px;
	}
}

@media screen and (max-width: 768px) {
    .masterportal-container #detailedSearchbar {
       margin-left: 0;
	   padding-left: 5px;
    }
}

@media screen and (max-width: 768px) {
    .masterportal-container #detailedSearchForm.form-group.form-inline .input-group.has-feedback {
       margin-bottom: 0;
    }
}

.masterportal-container .search-dropdown-list {
	margin-left: 0;
}

.masterportal-container .detailed-search-pagination li.previous {
    flex: none;
}

.masterportal-container .search-result-list-item div.search-result-list-item-footer ul.list-inline li:nth-child(2) {
    display: none;
}

/*
    MP Footer custom
 */
.masterportal-container #map {
    float: none;
}

@media screen and (max-width: 768px) {
    .masterportal-container .footer-custom {
        display: none;
    }
}

/*      
    GP Footer 
*/
@media screen and (max-width: 768px) {
    .bb-area-footer-bar #bb-footer-bar > span {
        font-size: 12px;
    }
    .bb-footer-items-right > a > span {
        font-size: 12px;
    }
    .bb-footer-items-right a[href="/de/cms/info/sitemap"] {
        display: none;
    }
}


/*
    3D Controls
 */
 .masterportal-container .btn-group-wrap.pull-right {
    display: flex;
}

.masterportal-container .control-box-btn {
    margin-right: 5px;
}

.masterportal-container #orientation3d {
    position: absolute;
    right: 200px;
    top: 5px;
}
  

/*
    3D GFI
 */
.masterportal-container #map .gfi.gfi-detached.ui-draggable .gfi-content table.table.table-condensed tbody tr td.font-bold {
    border: none;
}

.masterportal-container #map .gfi.gfi-detached.ui-draggable .gfi-content table.table.table-condensed tbody tr td {
    border: none;
}


/*
    Other resets
 */
.masterportal-container input[type='text'],
.masterportal-container input[type='email'],
.masterportal-container input[type='number'],
.masterportal-container textarea{
    margin-bottom: 0;
}

.masterportal-container #ds-wrapper .input-group {
    margin-bottom: inherit;
}

.masterportal-container select {
    appearance: auto;
}

.masterportal-container .slider {
    position: relative;
    height: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.masterportal-container .list-inline {
    margin-left: -5px;
}

.masterportal-container input[type="number"].pageselector{
     display: inline-block;
}

.masterportal-container #window.tool-window.ui-widget-content.ui-draggable .win-body #wizzardMain li.list-group-item.hit #selectHeader.nav.nav-pills.nav-justified {
	margin-left: 0;
}

.masterportal-container .footer-custom .footer-custom-flex-container .mouse-position-custom.hidden-xs.hidden-sm {
    width: 240px;
}