@font-face {
     font-family: 'sen';
     src: url('../font/sen.eot');
     src: url('../font/sen.eot?#iefix') format('embedded-opentype'),
        url('../font/sen.woff') format('woff'),
        url('../font/sen.ttf') format('truetype'),
        url('../font/sen.svg#bebas_neueregular') format('svg');
        font-weight: normal;
        font-style: normal;
}

@font-face {
     font-family: 'sen_bold';
     src: url('../font/sen_bold.eot');
     src: url('../font/sen_bold.eot?#iefix') format('embedded-opentype'),
        url('../font/sen_bold.woff') format('woff'),
        url('../font/sen_bold.ttf') format('truetype'),
        url('../font/sen_bold.svg#bebas_neueregular') format('svg');
        font-weight: bold;
        font-style: normal;
}

html {
    min-width: 320px;
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
    outline-offset:0;
}

:focus {
    outline:none;
}

::-moz-focus-inner {
    border:0;
}

input[type='number'] {
    -moz-appearance:textfield;
    margin: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-size: 100%;
    color: #2b2b2b;
    font-family: sen;
    background-color: #2b2b2b;
    min-width: 320px;
}

a {
    text-decoration: none;
    color: inherit;
}

.clear {
    clear:both;
}

.transition {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

h1, h2, h3, h4, h5, h6, strong {
    font-family: sen_bold;
    font-weight: normal;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 24px;
}

ul, ul li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.offerlist_box {
    position: relative;
    width: 100%;
    margin-bottom: 4px;
}

.offerlist_item, .offerlist_li {
    background-color: rgba(255,255,255,0.5);
    padding: 10px 20px;
}

.offerlist_item:HOVER, .offerlist_li:HOVER {
    background-color: rgba(255,255,255,0.7);
}

.offerlist_li {
    padding: 0;
}

.offerlist_li a {
    display: block;
    padding: 10px 20px;
}

.offerlist_ul {
}

.offerlist_price {
    float: right;
}

.offerlist_title {
    float: left;
}

.button {
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px 20px;
    position: absolute;
    bottom: 0;
    right: 0;
    font-family: inherit;
    font-size: inherit;
    border: 0;
    cursor: pointer;
}

.button_left{
    right: auto;
    left: 0;
}

.button:HOVER {
    background-color: #000;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-position: center center;
    background-size: cover;
    opacity: 0.3;
}

nav {
    position: fixed;
    width: 100%;
    height: 50px;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: rgba(0,0,0,0.9);
}

#nav_top {
    width: 950px;
    height: 50px;
    position: absolute;
    left: 0px;
    right: 0px;
    margin: auto;
}

#nav_top h1 {
    color: #fff;
    margin: 0;
    margin-top: 10px;
    margin-left: 50px;
    font-size: 24px;
}

#logo_small {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 10px;
    background-size: 100% auto;
    background-position: center center;
}

#menu_box {
    position: absolute;
    right: 0px;
    top: 0px;
}

.menu {
    display: inline-block;
}

#menu_box .menuhead_img {
    opacity: 0.7;
}

#menu_box .menu:HOVER > li .menuhead .menuhead_img {
    opacity: 1;
}

.menu li {
    display: block;
    position: relative;
    float: right;
    height: 50px;
}

.menu li ul {
    display: none;
    position: absolute;
    right: 0px;
    border-top: 4px solid transparent;
}

.menu li a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    margin-left: 1px;
    white-space: nowrap;
    height: 49px;
}

.menu li:hover ul {
    display: block;
}

.menu li:hover li {
    float: none;
}

.menu li ul li a {
    padding: 15px 25px;
}

.menu li:hover a {
    background: rgba(0,0,0,0.7);
}

.menu li:hover li a:hover {
    background: #000;
    border-left:  4px solid #fff;
    margin-left: -4px;
    padding-left: 26px;
}

.menuhead {
    display: block;
    padding: 0;
    margin: 0;
}

.menu li img {
    display: block;
}

#admin_edit_menu,
#user_edit_menu {
    position: relative;
    background-color: rgba(0,0,0,0.5);
    margin-bottom: 4px;
    z-index: 1000;
    max-height: 49px;
}

#admin_edit_menu .menu,
#user_edit_menu .menu {
    float: right;
}

#user_edit_menu {
    z-index: 999;
}

#about_plattform_box {
    position: relative;
    margin-bottom: 4px;
}

#plattform_contact,
#plattform_about {
    position: relative;
    background-color: rgba(255,255,255,0.7);
    padding: 30px;
    padding-bottom: 50px;
    min-height: 225px;
}

#plattform_contact p {
    padding: 0;
    margin: 0;
}

#plattform_contact p a {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    padding: 2px 5px;
    display: inline-block;
    margin-top: 5px;
}

#plattform_contact p a:HOVER {
    background-color: #000;
}

.pagination_box {
    float: right;
    height: 50px;
    width: auto;
    margin-bottom: 4px;
    font-weight: bold;
    font-size: 20px;
}

.pagination_prev,
.pagination_next {
    background-color: rgba(255,255,255,0.5);
}

.pagination_prev:HOVER,
.pagination_next:HOVER {
    background-color: rgba(255,255,255,0.8);
}

.pagination_prev {
    float: left;
}

.pagination_next {
    float: right;
    margin-left: 4px;
}

.pagination_prev_icon,
.pagination_next_icon {
    width: 49px;
    height: 49px;
    background-color: rgba(255,255,255,0.5);
    float: right;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/icn_pagi_next.png');
}

.pagination_prev_icon {
    float: left;
    background-image: url('../img/icn_pagi_prev.png');
}

.pagination_prev_text,
.pagination_next_text,
.pagination_pages {
    float: right;
    padding: 12px 20px;
}

.pagination_pages {
    background-color: rgba(255,255,255,0.3);
    margin-left: 4px;
}

.pagination_next_text {
    float: left;
}

#wrapper {
    position: relative;
    width: 950px;
    min-width: 320px;
    min-height: 100%;
    top: 0px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1000;
}

header {
    position: relative;
    width: 100%;
    height: 350px;
    background-color: #fff;
    background-size: cover;
    background-position: center center;
    margin-bottom: 4px;
}

header h1, header h2 {
    position: absolute;
    bottom: 50px;
    right: 50px;
    padding: 5px 10px;
    margin: 0;
    background-color: rgba(255,255,255,0.7);
    text-align: right;
    font-weight: normal;
    font-size: 18px;
}

header h1 {
    bottom: 100px;
    font-size: 30px;
}

#header_logo {
    position: absolute;
    bottom: 50px;
    left: 50px;
    height: 150px;
    width: 150px;
    text-align: center;
}

#header_logo img {
    width: auto;
    height: 100%;
}

#header_logo:HOVER {
    bottom: 40px;
    left: 40px;
    height: 170px;
    width: 170px;
}

#header_error {
    position: absolute;
    bottom: 0px;
    background-color: #ff0000;
    font-size: 14px;
    padding: 5px;
    color: #fff;
}

#start_content {
    margin-top: 4px;
}

#search {
    position: relative;
    width: 100%;
    background-color: rgba(255,255,255,0.5);
    padding: 40px 30px;
    margin-bottom: 4px;
}

#search_form {
    position: relative;
    padding: 0;
    margin: 0;
}

#search_input {
    margin: 0;
    width: 70%;
}

#search_zip_input_box{
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    padding-left: 10px;
}

#search_submit {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 60px;
    background-image: url('../img/icn_search.png');
    background-position: center center;
}

search_submit:HOVER {
    background-color: #000;
}

#search_details_button {
    position: absolute;
    top: 0px;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    z-index: 2;
}

#search:TARGET #search_details_button {
    display: none;
}

#search_details_button a {
    padding: 5px 10px;
    display: block;
}

#search_details_button:HOVER {
    background-color: #000;
}

#search_details {
    position: relative;
    margin-top: 10px;
    padding: 20px;
    background-color: rgba(255,255,255,0);
    height: 32px;
    overflow: hidden;
}

#search_details_close {
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    background-color: rgba(0,0,0,0.7);
    z-index: 100;
    background-image: url('../img/icn_close.png');
    background-position: center center;
    background-size: 100% 100%;
    display: none;
}

#search_details_close:HOVER {
    background-color: #000;
}

#search:TARGET #search_details_close {
    display: block;
}

#search_body {
    position: relative;
    opacity: 0;
    height: auto;
    padding-top: 32px;
    z-index: 1;
}

#page_body {
    position: relative;
    background-color: rgba(255,255,255,0.5);
    padding: 30px;
    margin-bottom: 4px;
}

#search:TARGET #search_details {
    min-height: 155px;
    height: auto;
    background-color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

#search:TARGET #search_body {
    opacity: 1;
}

#search_body .form_label {
    position: absolute;
    top: -25px;
}

.search_detail_box {
    position: relative;
    display: block;
    width: 33.333%;
    height: auto;
    float: left;
    padding: 5px;
}

#search_details_submit {
    bottom: 0;
    right: 0;
    padding: 5px 10px;
    color: #fff;
    opacity: 0;
    z-index: 100;
}

#search:TARGET #search_details_submit {
    opacity: 1;
}

#offerlist_table {
    display: block;
    padding: 0;
    margin: 0;
    margin-bottom: 2px;
}

#offerlist_table,
#offerlist_table_head,
.offerlist_table_row {
    width: 100%;
}

#offerlist_table_head,
.offerlist_table_row {
    display: block;
}

.offerlist_table_row {
    width: 100%;
}

.offerlist_table_th,
.offerlist_table_tc {
    padding: 10px;
    float: left;
    white-space: nowrap;
    margin-bottom: 2px;
}

.offerlist_table_tc {
    overflow-x: hidden;
    background-color: rgba(255,255,255,0.7);
}

.offerlist_table_row:NTH-CHILD(2n) .offerlist_table_tc {
    background-color: rgba(255,255,255,0.5);
}

.offerlist_table_row:HOVER .offerlist_table_tc {
    background-color: rgba(255,255,255,1);
}

.offerlist_table_th {
    position: relative;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
}

.offerlist_table_th a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.offerlist_table_sort {
    position: absolute;
    right: 0;
    top: 0;
    height: 42px;
    width: 26px;
    background-image: url('../img/icn_search_sort.png');
    opacity: 0.3;
}

.sort_up {
    background-image: url('../img/icn_search_sort_up.png');
    opacity: 0.7;
}

.sort_down {
    background-image: url('../img/icn_search_sort_down.png');
    opacity: 0.7;
}

.offerlist_table_th:HOVER {
    background-color: #000;
}

.offerlist_table_th:HOVER .offerlist_table_sort {
    opacity: 1;
    background-image: url('../img/icn_search_sort.png');
}

.list_wherefrom,
.list_intern,
.list_extern {
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 100%;
    padding-left: 40px;
}

.list_wherefrom {
    background-image: url('../img/icn_wherefrom.png');
}

.list_intern {
    background-image: url('../img/icn_intern.png');
}

.list_extern {
    background-image: url('../img/icn_extern.png');
}

.table_col4 {
    width: 30%;
}

.table_col4_1 {
    width: 80%;
    display: inline-block;
    text-align: right;
}

.table_col4_2 {
    width: 20%;
    display: inline-block;
    text-align: left;
}

.table_col4_2.offerlist_nocur{
    display: none;
}

.table_col4_1.offerlist_nocur{
    width: 100%;
    text-align: right;
}

.table_col3, .table_col2 {
    width: 15%;
}

.table_col3 {
    text-align: right;
}

.offerlist_table_th.table_col3 {
    text-align: left;
}

.table_col1 {
    width: 70%;
}

.table_distance .table_col1,
.table_date .table_col1 {
    width: 65%;
}

.table_both .table_col4,
.table_both .table_col4,
.table_distance .table_col4,
.table_date .table_col4 {
    width: 20%;
}

.table_both .table_col1,
.table_both .table_col1 {
    width: 50%;
}

.offerlist_feature_box {
    position: relative;
}

.offerlist_feature {
    position: relative;
    width: -webkit-calc(25% - 3px);
    width: -moz-calc(25% - 3px);
    width: calc(25% - 3px);
    min-width: 24.5%;
    height: 10em;
    background-color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
    margin-right: 4px;
    float: left;
    background-position: center center;
    background-size: cover;
}

.offerlist_feature a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.offerlist_feature_total .offerlist_feature_show_all {
    opacity: 0;
}

.offerlist_feature_show_all {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 10px;
}

.offerlist_feature_total:HOVER .offerlist_feature_show_all {
    opacity: 1;
}

.offerlist_feature_4n {
    margin-right: 0px;
}

.offerlist_feature_total h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform:    translate(-50%, -50%);
    -ms-transform:     translate(-50%, -50%);
    -o-transform:      translate(-50%, -50%);
    transform:         translate(-50%, -50%);
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    line-height: 1;
}

.offerlist_feature_total h3 span {
    font-size: 30px;
    font-weight: bold;
    display: block;
}

.offerlist_feature h4 {
    position: absolute;
    left: 0;
    bottom: 0;
    float: left;
    background-color: rgba(255,255,255,0.7);
    padding: 5px 10px;
    margin: 0;
    opacity: 0;
}

.offerlist_feature_price {
    position: absolute;
    right: 0;
    top: 0;
    background-color: rgba(0,0,0,0.7);
    padding: 5px 10px;
    color: #fff;
    margin: 0;
    opacity: 0;
}

.offerlist_feature:HOVER h4,
.offerlist_feature:HOVER
.offerlist_feature_price {
    opacity: 1;
}

.headline {
    position: relative;
    background-color: rgba(255,255,255,0.9);
    padding: 10px 30px;
    margin: 0;
    margin-bottom: 4px;
    font-weight: normal;
}

.userlist_feature_user {
    position: relative;
    width: 24.5%;
    width: -webkit-calc(25% - 3px);
    width: -moz-calc(25% - 3px);
    width: calc(25% - 3px);
    height: 150px;
    background-color: rgba(255,255,255,0.5);
    float: right;
    margin-bottom: 4px;
    margin-right: 4px;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}

.userlist_other_featured_user{
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background-position: center center;
    background-image: url(../img/icn_other_featured.png);
    z-index: 2;
}

.userlist_feature_user_logo {
    position: absolute;
    height: auto;
    max-height: 80%;
    max-width: 80%;
    width: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.userlist_feature_user_2n {
    margin-right: 0px;
}

.userlist_feature_user_overlay h2 {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 20px;
    left: 0px;
    color: #fff;
    margin: 0;
    padding: 5px 10px;
    font-size: 20px;
    display: none;
}

.userlist_feature_user_overlay h2 span {
    display: block;
    font-weight: normal;
    font-size: 18px;
}

.userlist_feature_user_1st {
    position: relative;
    float: left;
    width: 49.5%;
    width: -webkit-calc(50% - 2px);
    width: -moz-calc(50% - 2px);
    width: calc(50% - 2px);
    height: 304px;
    background-position: center center;
    background-size: cover;
}

.userlist_feature_user_1st .userlist_feature_user_logo {
    max-width: 40%;
    max-height: 40%;
}

.userlist_feature_user_1st
.userlist_feature_user_overlay h2 {
    display: block;
}

.userlist_feature_user_overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    opacity: 0;
    z-index: 1;
}

.userlist_feature_user:HOVER
.userlist_feature_user_overlay {
    opacity: 1;
}

#user_box h4 {
    padding: 0;
    margin: 0;
    margin-bottom: 4px;
    padding: 30px;
    background-color: rgba(255,255,255,0.7);
}

#user_box p {
    padding: 0;
    margin: 0;
    margin-bottom: 4px;
    padding: 30px;
    background-color: rgba(255,255,255,0.8);
}

.fullbutton {
    position: relative;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px 20px;
    font-family: inherit;
    font-size: inherit;
    border: 0;
    width: 100%;
    text-align: center;
}

.fullbutton:HOVER {
    background-color: #000;
}

.left {
    float: left;
    position: relative;
}

.right {
    float: right;
    position: relative;
}

.margin4 {
    margin-bottom: 4px;
}

.half {
    width: 48.5%;
    width: -webkit-calc(50% - 2px) !important;
    width: -moz-calc(50% - 2px) !important;
    width: calc(50% - 2px) !important;
}

.onethird {
    width: 37%;
    width: -webkit-calc(37.5% - 2px) !important;
    width: -moz-calc(37.5% - 2px) !important;
    width: calc(37.5% - 2px) !important;
}

.twothird {
    width: 62.5%;
    width: -webkit-calc(62.5% - 2px) !important;
    width: -moz-calc(62.5% - 2px) !important;
    width: calc(62.5% - 2px) !important;
}

.onequarter {
    width: 24%;
    width: -webkit-calc(25% - 2px) !important;
    width: -moz-calc(25% - 2px) !important;
    width: calc(25% - 2px) !important;
}

.feedback {
    margin: 0;
    margin-bottom: 4px;
    padding: 30px;
    color: #fff;
    background-position: right center;
    background-repeat: no-repeat;
}

.error {
    background-color: #ff0000;
    background-image: url('../img/icn_error.png');
}

.success {
    background-color: #127f00;
    background-image: url('../img/icn_success.png');
}

footer {
    position: relative;
    width: 100%;
    min-height: 200px;
    height: auto;
    background-color: rgba(0,0,0,0.7);
}

#footer_text {
    position: relative;
    padding: 30px;
}

#footer_text h4 {
    color: #fff;
    margin: 0;
    font-size: 30px;
    color: rgba(255,255,255,0.5);
}

#footer_text h5 {
    color: rgba(255,255,255,0.3);
    margin: 0;
    font-size: 20px;
}

#footer_text p {
    color: #fff;
    color: rgba(255,255,255,0.5);
}

.footer_nav {
    height: 100%;
    min-height: 200px;
    border-left:  4px solid rgba(255,255,255,0.1);
}

.footer_nav
.menu {
    display: block;
}

.footer_nav
.menu li {
    float: none;
    height: auto;
}

.footer_nav
.menu li ul {
    display: block;
    right: auto;
    left: 0;
    width: 100%;
    position: relative;
    border: 0;
}

.footer_nav
.menu li ul li {
    margin-left: -4px;
}

.footer_nav
.menu li ul li a {
}

.footer_nav
.menu li ul li a:HOVER {
    background-color: #fff;
    color: #000;
    padding-left: 25px;
    margin-left: 1px;
}

.footer_nav
.menu li:hover a {
    background-color: transparent;
}

#aboutsoftware {
    position: relative;
    margin-top: 4px;
    background-color: #000;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,0.7);
    padding: 10px;
    font-size: 14px;
}

#aboutsoftware span {
    opacity: 0.3;
}

#protagonist_box h3 {
    margin-bottom: 0px;
    background-color: #fff;
    border-bottom: 4px solid rgba(0,0,0,0.4);
}

.external_offer_headline {
    font-size: 24px;
    font-family: sen;
    background-color: #ff0000!important;
    color: #fff!important;
    background-image: url('../img/icn_extern.png');
    background-position: center right;
    background-repeat: no-repeat;
}

#protagonist_box div p a {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    padding: 2px 5px;
    display: inline-block;
    margin-top: 5px;
}

#protagonist_box div p a:HOVER {
    background-color: #000;
}

#protagonist_adress,
#protagonist_extern,
#protagonist_openinghours,
#protagonist_more {
    background-color: rgba(255,255,255,0.8);
    margin-bottom: 4px;
}

#protagonist_adress p,
#protagonist_about p,
#protagonist_extern p,
#protagonist_openinghours p,
#protagonist_more p {
    margin: 0;
    padding: 30px;
}

#protagonist_about {
    position: relative;
    width: 62.5%;
    float: right;
    background-color: rgba(255,255,255,0.8);
}

.protagonist_list,
.search_list {
    position: relative;
    width: 100%;
    background-color: rgba(255,255,255,0.8);
    padding-bottom: 40px;
    margin-bottom: 4px;
}

.protagonist_list h2,
.search_list h2 {
    background-color: #fff;
    margin: 0;
    padding: 5px 10px;
    font-size: 24px;
    white-space: nowrap;
    margin-bottom: 4px;
}

.protagonist_list ul li,
.search_list ul li {
    position: relative;
    padding: 5px 10px;
    overflow: hidden;
}

.protagonist_list ul li:HOVER,
.search_list ul li:HOVER {
    background-color: #fff;
}

.protagonist_list ul li div:NTH-CHILD(1),
.search_list ul li div:NTH-CHILD(1) {
    float: left;
    width: 74%;
    white-space: nowrap;
    overflow: hidden;
}

.protagonist_list ul li div:NTH-CHILD(2),
.search_list ul li div:NTH-CHILD(2) {
    float: right;
    width: 25%;
    white-space: nowrap;
    text-align: right;
}

#offer_image {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 4px;
    background-position: center center;
    background-size: cover;
}

.offer_featured {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-image: url('../img/icn_featured.png');
    background-position: center center;
    background-color: rgba(0,0,0,0.1);
}

#offer_about, #offer_price,
#offer_tags, #distance {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 4px;
    background-color: rgba(255,255,255,0.8);
    padding: 30px;
}

#offer_dates {
    position: absolute;
    bottom: 10px;
    right: 30px;
    font-size: 14px;
    color: rgba(0,0,0,0.5);
    font-family: sen;
}

#offer_price,
#distance {
    font-family: sen_bold;
    text-align: right;
}

#distance_edit_button {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: rgba(0,0,0,0.3);
    background-image: url('../img/icn_edit.png');
    background-position: center center;
    background-size: 100% 100%;
}

#distance_edit_button:HOVER {
    background-color: rgba(0,0,0,0.9);
}

#distance_edit {
    position: relative;
    height: 0px;
    overflow: hidden;
}

#distance:TARGET #distance_edit {
    height: 80px;
}

#distance_edit form {
    position: relative;
    height: auto;
    margin: 10px 0;
}

#distance_edit_submit {
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border: 0;
    background-color: rgba(0,0,0,0.5);
    background-image: url('../img/icn_save.png');
    background-position: center center;
    cursor: pointer;
}

#distance_edit_submit:HOVER {
    background-color: rgba(0,0,0,0.9);
}

#distance_edit_input {
    padding: 12px 20px;
}

#offer_tags {
    text-align: right;
    line-height: 1.9;
}

.offer_label {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #fff;
    padding: 2px 10px;
    font-weight: normal;
    line-height: 1.2;
    font-family: sen;
}

#offer_tags a {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    padding: 2px 5px;
    margin-left: 4px;
}

#offer_tags a:HOVER {
    background-color: #000;
}

/* graceful degradation for ie8 */
input[type='checkbox'],
input[type='radio'] {
    width: auto;
    float: left;
    margin-right: .75em;
    background: transparent;
    border: none;
}

/* better styling only for modern browsers. To identify them, check for pseudoclass (:checked, :not(:checked)) */

/* hide standard inputs */
input[type='checkbox']:checked,
input[type='checkbox']:not(:checked),
input[type='radio']:checked,
input[type='radio']:not(:checked) {
    background: transparent;
    position: relative;
    visibility: hidden;
    margin: 0;
    padding: 0;
}

input[type='checkbox'] + label,
input[type='radio'] + label {
    cursor: pointer;
    display: block;
    background-color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
    padding: 5px;
    opacity: 0.5
}

/* add custom inputs with ::before */
input[type='checkbox']:checked + label::before, 
input[type='checkbox']:not(:checked) + label::before,
input[type='radio']:checked + label::before,
input[type='radio']:not(:checked) + label::before {
    content: ' ';
    display: inline-block;
    width: 17px;
    height: 17px;
    position: relative;
    top: 4px;
    border: 1px solid #bbb;
    background: white;
    margin-right: 10px;
}

input[type=radio]:checked + label::before,
input[type=radio]:not(:checked) + label::before {
    border-radius: 30px;
}

input[type='checkbox']:hover  + label::before,
input[type='radio']:hover  + label::before {
    background:#ddd;
}

input[type='checkbox']:hover  + label,
input[type='radio']:hover  + label {
    opacity: 1;
}

input[type='checkbox']:checked  + label::before,
input[type='radio']:checked  + label::before {
    background:black;
}

input[type='checkbox']:checked  + label {
    opacity: 1;
    background-color: rgba(255,255,255,0.8);
}

#login_box,
#login_box_new {
    position: relative;
    margin-bottom: 4px;
    background-color: rgba(255,255,255,0.2);
    padding: 30px;
}

#login_box h2,
#login_box_new h2 {
    padding: 0;
    margin: 0;
    margin-bottom: 30px;
}

#login_register_button {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.login_newpw_button {
    position: absolute;
    bottom: 0px;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    padding: 5px 10px;
    color: #fff;
}

#login_register_button:HOVER,
.login_newpw_button:HOVER {
    background-color: #000;
}

#resetemail_box,
#resetemailexplain_box {
    position: relative;
    padding: 30px;
    background-color: rgba(255,255,255,0.5);
}

.form_label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.form_label span {
    background-color: rgba(0,0,0,0.2);
    padding: 2px 5px;
}

.form_checkbox {
    padding: 20px !important;
}

.form_element,
.form_submit {
    width: 100%;
    padding: 20px;
    border: 0;
    margin-bottom: 30px;
    background-position: center right;
    background-repeat: no-repeat;
    background-color: rgba(255,255,255,0.5);
    clear: both;
    font-size: inherit;
    font-family: inherit;
}

select.form_element {
    padding: 0;
    padding-left: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    background-image:url('../img/icn_more_select.png');
    background-position: right center;
    background-repeat: no-repeat;
}

select.form_element option:selected {
    color:#f00;
    font-weight:bold;
}

select.form_element option {
    padding: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid #ccc;
}

.form_element:FOCUS {
    background-color: #fff;
}

.unit_accent {
    background-color: #ccc;
    padding-left: 40px !important;
}

.unit_short {
    position: absolute;
    right: 0;
    background-color: #ccc;
}

.form_submit {
    width: 50%;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    cursor: pointer;
}

.form_submit:HOVER {
    background-color: #000;
}

#login_box_2 {
    position: relative;
    background-color: rgba(255,255,255,0.8);
    margin-bottom: 4px;
    padding: 30px;
}

#login_navi,
#register_info,
#edit_sidebar {
    position: relative;
    background-color: rgba(255,255,255,0.8);
}

#register_info {
    padding: 30px;
}

#login_navi li a {
    padding: 30px;
    display: block;
}

#login_navi li a:HOVER {
    background-color: #fff;
}

#captcha_box {
    position: relative;
    background-color: rgba(255,255,255,0.2);
    padding: 10px;
}

#captcha {
    display: block;
    margin: auto;
    max-width: 100%;
}

#new_captcha {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 10px;
    background-color: rgba(255,255,255,0.4);
    padding: 2px 10px;
}

#new_captcha:HOVER {
    background-color: #fff;
}
    
.profile_subbox {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 4px;
    background-color: rgba(255,255,255,0.5);
    padding: 30px;
    padding-bottom: 50px;
}

.profile_subbox_newoffer {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    padding: 2px 5px;
    display: inline-block;
    margin-top: 5px;
}

.profile_subbox_newoffer:HOVER {
    background-color: #000;
}

.profile_subbox hr {
    border: 0;
    background-color: #fff;
    height: 4px;
    margin: 20px 0;
}

#edit_sidebar {
    background-color: transparent;
}

.edit_sidebar_box {
    position: relative;
    margin-bottom: 4px;
    background-color: rgba(255,255,255,0.5);
    min-height: 170px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.logoimage,
.platformlogo {
    background-size: auto 90%;
}

.edit_sidebar_label {
    position: absolute;
    top: 2px;
    left: 0px;
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    z-index: 100;
}

.edit_sidebar_label span {
    background-color: rgba(0,0,0,0.5);
    padding: 2px 5px;
    color: #fff;
}

.edit_sidebar_delete_button {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.2);
    background-image: url('../img/icn_delete.png');
    background-position: center center;
    z-index: 100;
    cursor: pointer;
}

.edit_sidebar_delete_button:HOVER {
    background-color: rgba(0,0,0,0.8);
}

#edit_backgroundimage {
    position: relative;
    width: 100%;
    background-position: center center;
    background-size: cover;
}

#edit_logo {
    text-align: center;
}

#edit_logo img {
    height: 120px;
    width: auto;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 1.05)      and (max-width: 1280px),
only screen and (   -moz-min-device-pixel-ratio: 1.05)      and (max-width: 1280px),
only screen and (     -o-min-device-pixel-ratio: 1.05/1)    and (max-width: 1280px),
only screen and (        min-device-pixel-ratio: 1.05)      and (max-width: 1280px),
only screen and (                min-resolution: 1.05dppx)  and (max-width: 1280px),
only screen and                                                 (orientation: portrait)
{
    #wrapper {
        width: 100%;
        padding: 4px;
    }

    #nav_top {
        width: 100%;
    }

    #bg {
        display: none;
    }

    #header_logo {
        left: 50%;
        margin-left: -75px;
        top: 70px;
    }

    #header_logo:HOVER {
        left: 50%;
        top: 60px;
        margin-left: -85px;
    }

    header h2, header h1 {
        width: 100%;
        text-align: center;
        bottom: 0px;
        left: 0px;
    }

    header h1 {
        bottom: 50px;
    }

    .userlist_feature_user_overlay{
        opacity: 1;
        background-color: rgba(0,0,0,0.3);
    }

    .offerlist_feature,
    .userlist_feature_user {
        width: 49%;
        width: -webkit-calc(50% - 2px);
        width: -moz-calc(50% - 2px);
        width: calc(50% - 2px);
    }

    .offerlist_feature_2n {
        margin-right: 0px;
    }

    .userlist_feature_user_1st {
        width: 100%;
    }

    nav .market_name {
        display: none;
    }

    .table_col2,
    .table_col3 {
        display: none;
    }

    .table_col1,
    .table_date
    .table_col1,
    .table_distance
    .table_col1,
    .table_both
    .table_col1 {
        width: 70%;
    }

    .table_col4,
    .table_date
    .table_col4,
    .table_distance
    .table_col4,
    .table_both
    .table_col4 {
        width: 30%;
    }

    .onethird,
    .twothird,
    .half {
        width: 100%;
        width: -webkit-calc(100% - 0px) !important;
        width: -moz-calc(100% - 0px) !important;
        width: calc(100% - 0px) !important;
        float: none;
        margin-bottom: 4px;
    }

    .search_detail_box {
        float: none;
        width: 100%;
        margin-bottom: 30px;
    }

    #search_input{
        width: 100%;
    }
    
    #search_zip_input_box{
        position: relative;
        margin-top: 20px;
        width: 100%;
        padding-left: 0px;
    }
    
    .search_detail_box_last {
        margin-bottom: 0;
    }

    footer {
        min-height: 0;
    }

    .footer_nav {
        display: none;
    }

    .headline {
        text-align: center;
    }

    .form_label {
        line-height: 1.5;
    }

    .error,
    .success {
        background-image: none;
    }

    #plattform_contact,
    #plattform_about,
    #page_body,
    #user_box h4,
    #user_box p,
    .feedback,
    #footer_text,
    #protagonist_adress p,
    #protagonist_about p,
    #protagonist_openinghours p,
    #protagonist_more p,
    #offer_about,
    #offer_price,
    #offer_tags,
    #distance,
    #login_box,
    #login_box_new,
    #resetemail_box,
    #resetemailexplain_box,
    #login_box_2,
    #register_info,
    #login_navi li a,
    #search,
    .profile_subbox {
        padding: 15px;
    }

    #distance,
    #offer_price,
    #offer_about,
    #offer_tags {
        padding: 30px 15px;
    }

    .profile_subbox,
    #plattform_contact,
    #plattform_about {
        min-height: 0;
        padding-bottom: 50px;
    }
}
