.wbox-haendler {
    position: relative;
}
.wbox-map{
    width:100%;
    height: 550px;
    margin-bottom: 20px;
}

.address {
    margin: 15px 0;
}

.tab-content {
    padding: 30px 0;
}
[id^="wbox-geolocation-filter-"] {
    width: 100%;
    max-width: 300px;
}
.table-location-manager tr {
    border: none!important;
}
.table-location-manager td {
    border: none!important;
    vertical-align: middle;
}

.table-location-manager {
    margin-bottom: 0;
}

.form-group-location-manager {

}
.form-group-location-manager > * {
    display: block;
}

.form-group-location-manager .form-control {
    height: auto;
    margin-left: 0;
    padding: 3px 12px;
}

.wbox-darstellung-filter {
    display: inline-block;
    margin-left: 30px;
}

.wbox-darstellung-filter .radio {
    display: inline-block;
    margin-right: 10px;
}

/*Tabs*/
.wbox-haendler .nav-tabs {
    border-bottom: none;
}


.wbox-haendler .nav-tabs li {
    display: inline-block;
    float: none;
}
.wbox-haendler .nav-tabs li a {
    padding: 13px 15px;
    border: 2px solid #ddd;
    background-color: #ffffff;
    cursor: pointer;
}
.wbox-haendler .nav-tabs li.active a {
    border: 2px solid #0095df;
    background-color: #0095df;
    color: #ffffff;
}

.wbox-haendler .nav-tabs li.active a:hover {
    border: 2px solid #0095df;
    cursor: default;
    /*background-color: transparent;*/
}

.wbox-haendler .nav-tabs {
    text-align: center;
    padding-left: 0 !important;
}
.wbox-haendler .nav-tabs li a {
    padding: 15px 30px;
}

@media (min-width: 768px) {
    .form-group-location-manager > * {
        display: inline-block;
    }

    .form-group-location-manager .form-control {
        height: auto;
        margin-left: 15px;
    }
    .tab-content {
        padding: 15px 0;
    }
}


/* TABS */


ul.wbox-tabs {
    padding-left:0;
    margin:0;
    position: relative;
    top: 2px;
}
ul.wbox-tabs li {
    list-style-type: none;
    display: inline-block;
    position: relative;
    width: auto;
    border: 2px solid #ddd;
/*    border-bottom:none;*/
    border-right: none;
    border-left-width: 1px;
}

@media (max-width: 559px) {
    ul.wbox-tabs li {
            width: 50%;
            text-align: center;
    }
    ul.wbox-tabs li:nth-child(1), ul.wbox-tabs li:nth-child(2) {
        border-bottom: none;
    }
    ul.wbox-tabs li:nth-child(2) {
        border-right: 2px solid #ddd;
    }
}

ul.wbox-tabs li:last-child {
border-right: 2px solid #ddd;
}
ul.wbox-tabs li:first-child {
border-left-width: 2px;
}

ul.wbox-tabs li a {
display: block;
padding:15px 30px;
background-color: #ffffff;
color: #0095df!important;
}

ul.wbox-tabs li.active a {
background-color: #0095df;
color: #ffffff!important;
}

ul.wbox-tabs li.active a:hover {
color: #ffffff;
cursor: default;
}

.wbox-tabscontent {
padding:30px 15px 15px 15px;
border: 2px solid #ddd;
/*border-top: none;*/
margin-bottom: 15px;
background-color: #ffffff;
}

/* Sepcial for Naloo 
------------------------------------------------------------------------------------
*/

[id^="wbox-country-filter-"]{
    width: 32.5%;
}

/* Style Error */
div[id^="msg-box"] {
    color: #0095df;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: center;
}

div[id^="msg-box"]:empty {
    margin-bottom: 0;
}

.form-group.location-manager-filter {
    text-align: right;
}
.form-group.location-manager-filter select {
    width: 200px !important;
}
.form-group.location-manager-search input {
    width: 300px !important;
}

.location-manager-searchgroup {
    display: flex;
}
.form-group.location-manager-search {
    padding-right: 25px;
}
.form-group.location-manager-search label {
    width: 80px;
}
.form-group.location-manager-radius {
    
}
.form-group.location-manager-myposition,
.form-group.location-manager-reset {
    margin-left: 15px;
}

.form-group.location-manager-reset button {
    border-radius: 50%;
    margin-left: 15px;
}
.location-manager-or {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #7e858b;
    width: 100%;
    max-width: 300px;
    display: block;
    margin-top: -10px;
}
.location-manager-back {
    cursor: pointer;
    display: none;
    color: #0095df;
}
.location-manager-or span {
    background: #fff;
    padding: 0 5px;
    position: relative;
    top: 7px;
}
.location-manager-radius select {
    width: 100px;
}

/* List */

.wbox-map-list {
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

.wbox-map-list .address img {
    max-height: 100px;
}

/* Settings Section */
.wbox-haendler-settings {
    display: flex;
}

.wbox-haendler-settings > div{
    width: 50%;
}

.wbox-haendler-settings select.form-control {
    border: 1px solid #ccc;
    padding: 0.5em;
    font-size: 1em;
    height: 38px;
}
.wbox-haendler-settings input[type="text"] {
    border: 1px solid #ccc;
    padding: 0.5em;
    font-size: 1em;
}

.wbox-haendler-legende-entry {
    overflow: auto;
}

.wbox-haendler-legende-entry .description {
    float: left;
    max-width: 95%;
    width: calc(100% - 75px)
}
span.flag {
    width: 46px;
    height: 46px;
    background: transparent url(img/flag-partner.png) no-repeat top right;
    display: inline-block;
    margin-right: 25px;
    float: left;
}

span.icon-partner {
    background-image: url(img/flag_partner2.png);
    background-size: cover;
}
span.icon-premium {
    background-image: url(img/flag_mtb_testcenter2.png);
    background-size: cover;
}
span.icon-clickcollect {
    background-image: url(img/flag_montagepartner2.png);
    background-size: cover;
}

@media (min-width: 1200px) {
    .wbox-haendler-settings .wbox-haendler-col:nth-child(1) {
        width: 65%;
    }
    .wbox-haendler-settings .wbox-haendler-col:nth-child(2) {
        width: 35%;
    }
}

@media (max-width: 1200px) {
    .wbox-haendler-settings .wbox-haendler-col:nth-child(1) {
        width: 70%;
    }
    .wbox-haendler-settings .wbox-haendler-col:nth-child(2) {
        width: 30%;
    }
    .form-group.location-manager-filter select {
        width: 120px !important;
    }
}

@media (max-width: 991px) {
    .tab-content {
        padding-top: 10px;
    }
    .wbox-haendler-settings {
        display: block;
    }

    .wbox-haendler-settings .wbox-haendler-col,
    .location-manager-searchgroup {
        display: block;
    }

    .wbox-haendler-settings .wbox-haendler-col:nth-child(2) {
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin-bottom: 20px;
    }

    .wbox-haendler-settings .wbox-haendler-col:nth-child(1),
    .wbox-haendler-settings .wbox-haendler-col:nth-child(2) {
        width: 100%;
    }

    .form-group.location-manager-search input {
        width: 100% !important;
    }

    .form-group.location-manager-myposition, .form-group.location-manager-reset {
        padding-left: 0;
    }
    .form-group.location-manager-reset {
        text-align: center;
    }

    .location-manager-back {
        text-align: center;
        padding-bottom: 10px;
    }
    .form-group.location-manager-search {
        padding-right: 15px;
    }

    .form-group.location-manager-radius {
        overflow: hidden;
        height: 0;
        padding: 0;
        margin: 0;
    }
    .location-manager-filter label {
        text-align: center;
    }

    .location-manager-or {
        max-width: 100%;
        margin-top: -10px;
    }

    .location-manager-myposition button {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    #locationSelect:empty,
    .form-group-location-manager:empty {
        display: none;
    }
}

@media (max-width: 767px) {
    .form-group.location-manager-search {
        padding-right: 0;
    }
    .wbox-haendler-settings .wbox-haendler-col:nth-child(2) {
        display: none; /* hide filter mobile */
    }   
}