
/* =========================================================
   forumTENERIFFA / VBMARKET
   FINALE BEREINIGTE style.css
   ========================================================= */


/* =========================================================
   GRUNDLAGEN
   
   Text: #252C2F
   Titelblau: #2379B5
   Rot: #C81919
   
   background: none 0 0,#F8F8F8;
   border: 1px solid #CCD1D5;
   
   Button:   
   Blau: #1B3197
   border-color: #C81919;
   
   Grün:
   Text: #1c703f
   background: #eafdf1
   
   
   conversation-ad ???
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;

    font: 14px Helvetica,Arial,Verdana,sans-serif;
    color: #252C2F;

    background: url("/images/css/bg.jpg") repeat-x 0 0,#EAEBEC;
    background-attachment: fixed;
    
    min-width: 0;
}

img {
    max-width: 100%;
}

a {
    color: #2379B5;
}

a:hover {
    color: #C81919;
}

nav a {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: Arial, Helvetica, sans-serif;
}

.anzeigen-titel {
    color: #2379B5;
    font-weight: bold;
}

.grund-page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;    
    background: #FFFFFF;
}

.grund-box-header {
    padding: 8px 15px;
    background: url(/images/css/bg4.jpg);
    color: #FFFFFF;
    font-weight: bold;
    line-height: 1.1;
}

.grund-box-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 8px 12px;
    background: #ECECEC;
    border: 1px solid #CCD1D5;
}

/* =========================================================
   ALLGEMEINE FORMULARE
   ========================================================= */

.form-group {
    margin: 0 0 15px;
}

.form-group label {
    display: block;
    margin: 0 0 6px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-file {
	width: 100%;
    min-height: 0;
    padding: 7px 14px;    
}

/* =========================================================
   MARKTPLATZ
   ========================================================= */

.marketplace-box {
    width: 100%;
    
    margin: 0;
    padding: 0;
    
    background: #fff;
}

.marketplace-navigation {

	min-height: 2.8rem;
  	line-height: 2.2rem;

  	margin-bottom: 0;
  	position: relative;
  	border-radius: 3px;
  	
  	width: 100%;
  min-width: 320px;
  max-width: 1280px;
  margin: auto;
  border-bottom: 1px solid #C4C7C8;
  border-top: 0px;
  height: 3.5rem;
}

/* ---------------------------------------------------------
   Kopf
   --------------------------------------------------------- */
   
#header {
  	background:transparent url(/images/css/header-bg.jpg);
  	width:100%;
  	min-width:320px;
  	max-width:100%;
  	height:101px;
}

#header .site-logo {
  	padding:0px 0px 10px 50px;
  	height: auto;
	width: auto;
}

#header .site-bilder {
	float: right;
	padding:1px 10px;
	max-width: 100%;
	height: auto;
}

.marketplace-nav-desktop {
    width: 100%;
	margin: 0 auto;
	color: #fff;
  	background: url(/images/css/bg4.jpg);
}

.marketplace-nav-mobile {
    display: none;
}

.navigation-bg4 {
	width: 100%;
	margin: 0 auto;
	color: #fff;
  	background: url(/images/css/bg4.jpg);
}

.navigation-text {
	max-width: 1280px;
    margin: 0 auto;
    padding: 9px 0;
    font-size: 14px;
	text-transform:none;  
}

.navigation-text a {
    color: #fff;
    text-decoration: none;
	padding:5px;
}

.navigation-text a:hover {
	text-decoration: underline;
}

.marketplace-willkommen {	
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;
    padding: 12px 20px 12px 20px;
    
    background: #fff;
}

.marketplace-willkommen-text {	
  	margin: 0 auto;
  	padding: 0 20px;
  	background: none 0 0,#F8F8F8;
  	border: 1px solid #CCD1D5;
  	border-radius: 4px;
  	font-size: 14px;
  	color: #777;
}


.marketplace-willkommen-title {
  font-size: 20px;
  color: #2379B5;
}

.marketplace-page-title {
  font-size: 20px;
  color: #2379B5;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
	width: 100%;
	max-width: 1280px;
	background: url(/images/css/bg4.jpg);

	margin: 0 auto;

	font-size:1.1rem;
}

.marketplace-box-footer { 
	font-size: 12px;   
    padding: 19px 33px;
    
    color: #D2D2D2;
}

.marketplace-box-footer-rechts {	
	float: right;
	font-size: 12px;
	
	color: #D2D2D2;
	
	text-transform: uppercase;
	text-decoration: none;
	padding:0 10px;
}

.marketplace-box-footer-rechts a {
	padding:5px;
	color: #D2D2D2;	
	text-decoration: none;

}

.marketplace-box-footer-rechts a:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------
   Suche
   --------------------------------------------------------- */

.marketplace-search {
    width: 100%;
    margin: 0 0 15px;
    padding: 10px 12px;

    background: #f5f5f5;

    border: 1px solid #CCD1D5;
    border-radius: 0 0 4px 4px;
}

.marketplace-search form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.marketplace-search-row {
    display: flex;
    align-items: center;
    gap: 7px;

    width: 100%;
}

.marketplace-search-input {
    flex: 1 1 auto;

    min-width: 0;
    width: auto;
    height: 34px;

    padding: 6px 9px;

    background: none 0 0,#FFF;

    border: 1px solid #CCD1D5;
    border-radius: 4px;

    font-size: 13px;
}

.marketplace-search-input:focus {
    outline: none;
    border-color: #777;
}

.marketplace-sort {
    flex: 0 0 155px;

    width: 155px;
    height: 34px;

    padding: 5px 8px;

    background: none 0 0,#FFF;

    border: 1px solid #CCD1D5;
    border-radius: 4px;

    font-size: 13px;
}

.marketplace-search-button {
    flex: 0 0 auto;

    height: 34px;

    padding: 5px 14px;

    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#C81919;

    border: 1px solid #1B3197;
    border-radius: 4px;

    color: #FFF;

    font-size: 13px;
    font-weight: bold;

    cursor: pointer;
}

.marketplace-search-button:hover {
    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#1B3197;
    border-color: #C81919;
}


/* ---------------------------------------------------------
   Keine Anzeigen
   --------------------------------------------------------- */

.marketplace-empty {
    width: 100%;
    padding: 15px;

    background: none 0 0,#F8F8F8;

    border: 1px solid #CCD1D5;
    border-radius: 4px;

    color: #555;
    font-size: 14px;
}


/* =========================================================
   ANZEIGEN-GRID
   ========================================================= */

.marketplace-ad-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    width: 100%;
}


/* =========================================================
   ANZEIGEN-KARTE
   ========================================================= */

.marketplace-card {
    position: relative;

    width: 100%;
    min-width: 0;

    background: none 0 0,#F8F8F8;

    border: 1px solid #CCD1D5;
    border-radius: 4px;

    overflow: hidden;
}

.marketplace-card-link {
    display: block;

    width: 100%;

    color: inherit;
    text-decoration: none;
}


/* ---------------------------------------------------------
   Bild
   --------------------------------------------------------- */

.marketplace-card-image {
    position: relative;

    width: 100%;
    height: 230px;

    overflow: hidden;

    background: #eee;
}

.marketplace-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    transition: transform .2s ease;
}

.marketplace-card:hover .marketplace-card-image img {
    transform: scale(1.02);
}


/* ---------------------------------------------------------
   Karteninhalt
   --------------------------------------------------------- */

.marketplace-card-body {
    position: relative;

    min-height: 145px;

    padding: 12px;
}


/* ---------------------------------------------------------
   Titel
   --------------------------------------------------------- */

.marketplace-card-title {
    margin: 0 0 20px 0;
    
    color: #2379B5;

    font-size: 18px;
    font-weight: bold;

    line-height: 1.3;

    word-break: break-word;
}

.marketplace-card:hover .marketplace-card-title {
    color: #C81919;
    text-decoration: underline;
}


/* ---------------------------------------------------------
   Preis
   --------------------------------------------------------- */

.marketplace-card-price {
    position: absolute;

    top: 10px;
    right: 10px;

    padding: 4px 8px 0 8px;

    background: #fff;

    border: 1px solid #CCD1D5;
    border-radius: 4px;

    color: #C81919;

    font-size: 17px;
    font-weight: bold;

    line-height: 1.2;

    white-space: nowrap;

    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}


/* =========================================================
   ORT / AVATAR / BENUTZER
   ========================================================= */

/* ---------------------------------------------------------
   Ort
   --------------------------------------------------------- */

.marketplace-card-location {
	font-size: 15px;
	color: #777;
	font-weight: bold;
	
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    min-width: 0;
}

.location-text {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.marketplace-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    min-width: 0;
}

/* ---------------------------------------------------------
   Avatar
   --------------------------------------------------------- */

.marketplace-card-body .ad-user-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
}

.marketplace-card-body .ad-user-avatar-default {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #eee;

    font-size: 20px;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Benutzer
   --------------------------------------------------------- */

.marketplace-card-body .ad-user {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    min-height: 42px;

    margin-top: 18px;
    margin-bottom: 8px;

    box-sizing: border-box;
}


.marketplace-card-body .ad-user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-left: auto;
}


.marketplace-card-body .ad-user-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ---------------------------------------------------------
   Datum + Aufrufe
   --------------------------------------------------------- */

.marketplace-card-footer {
    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 9px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-top: 7px;

    border-top: 1px solid #CCD1D5;

    color: #777;

    font-size: 11px;
    line-height: 1.2;
}

.marketplace-card-footer span {
    display: inline-flex;

    align-items: center;

    min-width: 0;

    white-space: nowrap;
}

.marketplace-card-footer span:last-child {
    justify-content: flex-end;

    text-align: right;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.marketplace-pagination {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    width: 100%;

    margin: 22px 0 15px;
}

.marketplace-pagination a,
.marketplace-pagination span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 34px;

    padding: 0 9px;

    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#FFFFFF;

    border: 1px solid #BFC5C9;
    border-radius: 4px;

    font-size: 13px;
	color: #333333;
    text-decoration: none;
}

.marketplace-pagination a:hover {
    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#eeeeee;
    border-color: #555555;
}

.marketplace-pagination span.active {
    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#C81919;
    border-color: #1B3197;

    color: #fff;
    font-weight: bold;
}


/* =========================================================
   DETAILSEITE
   ========================================================= */

.ad-detail {
    width: 100%;
}


/* ---------------------------------------------------------
   Titel
   --------------------------------------------------------- */

.ad-detail-header {
    margin: 0 0 18px;
}

.ad-detail-header h1 {
    margin: 0;

    color: #2379B5;

    font-size: 26px;
    font-weight: bold;

    line-height: 1.25;

    word-break: break-word;
}


/* ---------------------------------------------------------
   Hauptbereich
   --------------------------------------------------------- */

.ad-detail-content {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(280px, 1fr);

    gap: 20px;

    width: 100%;

    align-items: start;
}

.ad-detail-gallery,
.marketplace-edit-main {
    width: 100%;
    min-width: 0;  
}

.ad-detail-sidebar,
.marketplace-edit-sidebar {
	width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0px;
}


/* ---------------------------------------------------------
   Hauptbild
   --------------------------------------------------------- */

.ad-main-image-wrapper {
    width: 100%;
    min-width: 0;
  	margin-top: 20px;
    height: 480px;
    overflow: hidden;
    background: #F8F8F8;;
    border: 1px solid #CCD1D5;	
    border-radius: 4px;
    cursor: zoom-in;
}

.ad-main-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    background: none 0 0,#F8F8F8;
}

.ad-image-counter {
    margin-top: 7px;

    color: #777;

    font-size: 12px;

    text-align: center;
}


/* ---------------------------------------------------------
   Thumbnails
   --------------------------------------------------------- */

.ad-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.ad-thumbnail {
    display: block;

    flex: 0 0 76px;

    width: 100px;
    height: 80px;

    object-fit: cover;

    background: #eee;

    border: 2px solid #ccc;
    border-radius: 4px;

    cursor: pointer;

    opacity: .85;
}

.ad-thumbnail:hover {
    opacity: 1;
    border-color: #C81919;
}

.ad-thumbnail.active {
    opacity: 1;
    border-color: #C81919;
}


/* ---------------------------------------------------------
   Info-Boxen
   --------------------------------------------------------- */

.ad-detail-info,
.ad-detail-contact,
.ad-detail-description,
.marketplace-create-form,

.marketplace-edit-tool-box {
	
    width: 100%;
    min-width: 0;
    
    margin-top: 20px;
    padding: 20px;

    background: none 0 0,#F8F8F8;
    border: 1px solid #CCD1D5;
    border-radius: 4px;
}

/* ---------------------------------------------------------
   Preiszeile
   --------------------------------------------------------- */

.ad-detail-info-price {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   Preis Detailseite
   --------------------------------------------------------- */

.ad-detail-price {
	white-space: nowrap;

	padding: 6px 10px 0 10px;	
	
    background: none 0 0,#FFF;
    color: #C81919;

    font-size: 28px;
    font-weight: bold;
    
    border: 1px solid #CCD1D5;
    border-radius: 4px;
}


/* ---------------------------------------------------------
   Benutzer Detailseite
   --------------------------------------------------------- */

.ad-detail-user {
    padding: 0;
    display: flex;
    margin-left: auto;
    min-width: 0;
}

.ad-detail-user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 0;
}

.ad-detail-user-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    object-fit: cover;
    border: 1px solid #fff;
    border-radius: 50%;
}

.ad-detail-user-avatar:hover {
    border: 1px solid #C81919;
}


.ad-detail-user-avatar-default {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ad-detail-user-name {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ad-detail-user-name:hover {
    color: #C81919;
	text-decoration: underline;
}

.ad-detail-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 16px;
    min-width: 0;
}

/* ---------------------------------------------------------
   Infozeilen
   --------------------------------------------------------- */

.ad-detail-info-row {
    display: flex;

    align-items: flex-start;

    gap: 40px;

    padding: 9px 0;

    border-top: 1px solid #CCD1D5;
}

.ad-detail-info-row:last-child {
    border-bottom: 1px solid #CCD1D5;
}

.ad-detail-label {
    flex: 0 0 90px;

    color: #777;

    font-size: 14px;
    font-weight: bold;

    text-transform: uppercase;
}

.ad-detail-value {
    min-width: 0;

    font-size: 14px;

    word-break: break-word;
}


/* ---------------------------------------------------------
   Kontakt, Show
   --------------------------------------------------------- */

.ad-detail-description h2,
.ad-detail-contact h2 {
    margin: 0 0 10px;
    
    color: #777;

    font-size: 18px;
    line-height: 1.3;
}

.ad-login-hint {
    margin: 0;

    font-size: 14px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Roter Button
   --------------------------------------------------------- */

a.ad-contact-button,
button.ad-contact-button,
.message-form .ad-contact-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 0 15px;

    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#C81919;;

    border: 1px solid #1B3197;
    border-radius: 4px;

    color: #fff !important;

    font-size: 13px;
    font-weight: bold;

    line-height: 1;

    text-decoration: none !important;

    cursor: pointer;
}

a.ad-contact-button:hover,
button.ad-contact-button:hover,
.message-form .ad-contact-button:hover {
    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#1B3197;

    border-color: #C81919;
}


/* ---------------------------------------------------------
   Zurück / Abbrechen
   --------------------------------------------------------- */
   
   
   a.ad-back-link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 0 15px;

    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#FFFFFF;

    border: 1px solid #BFC5C9;
    border-radius: 4px;

    color: #333333;

    font-size: 13px;

    line-height: 1;

    text-decoration: none;

    cursor: pointer;
}

a.ad-back-link:hover {
	background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#eeeeee;
	align-items: center;

    border-color: #555555;
}

   a.ad-back-link-my {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 0 15px;

    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#FFFFFF;

    border: 1px solid #BFC5C9;
    border-radius: 4px;

    color: #333333;

    font-size: 13px;

    line-height: 1;

    text-decoration: none;

    cursor: pointer;
}

a.ad-back-link-my:hover {
	background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#eeeeee;
	align-items: center;

    border-color: #555555;
}



/* ---------------------------------------------------------
   Beschreibung
   --------------------------------------------------------- */


.ad-detail-description-text {

    line-height: 1.6;

    overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   Metadaten
   --------------------------------------------------------- */

.ad-detail-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 20px;
    padding-top: 10px;

    border-top: 1px solid #CCD1D5;

    color: #777;

    font-size: 12px;
}

.ad-detail-meta span {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   Zurück zu Anzeigen
   --------------------------------------------------------- */

.ad-detail-back {
    margin-top: 18px;
}

/* =========================================================
   NACHRICHTENFORMULAR
   ========================================================= */

.message-create {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;
}

.message-create h1 {
    margin: 0 0 14px;

    color: #2379B5;

    font-size: 24px;
    line-height: 1.3;
}

.message-create > p {
    margin: 0 0 16px;

    color: #555;

    font-size: 14px;
    line-height: 1.5;
}

.message-form {
    width: 100%;

    margin: 0;
    padding: 0;
}

.message-form .form-group {
    margin: 0 0 10px;
}

.message-form label {
    display: block;

    margin: 0 0 5px;

    font-size: 14px;
    font-weight: bold;
}

.message-form textarea {
    display: block;

    width: 100%;
    min-height: 120px;
    max-height: 220px;

    padding: 10px 11px;

    background: #fff;

    border: 1px solid #ccc;
    border-radius: 4px;

    font-size: 14px;
    line-height: 1.45;

    resize: vertical;
}

.message-form textarea:focus {
    outline: none;

    border-color: #2379B5;

    box-shadow: 0 0 0 2px rgba(48, 108, 171, .12);
}

.message-form textarea::placeholder {
    color: #999;
}

.message-form .form-actions {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 10px;
}


/* =========================================================
   MEINE NACHRICHTEN
   ========================================================= */

.messages-list {
	max-width: 1280px;
    margin: 0 auto;
    width: 100%;

    padding: 0;
}

.message-item {
    width: 100%;

    margin: 0 0 12px;
    padding: 0;

    background: #fff;

    border: 1px solid #ccc;
    border-radius: 4px;

    overflow: hidden;
}

.message-item.unread {
    border-left: 4px solid #c40000;

    background: #fffdfd;
}

/* ---------------------------------------------------------
   Nachrichtenkopf
   --------------------------------------------------------- */

.message-header {
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 7px 10px;
    background: none 0 0,#F8F8F8;
    border-bottom: 1px solid #CCD1D5;
}

.message-header h2 {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
}

.message-header small {
    margin-left: 15px;
    color: #777;
    font-size: 12px;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   Neu
   --------------------------------------------------------- */

.message-new {
    display: inline-block;

    margin-left: 7px;
    padding: 2px 6px;

    background: #C81919;

    border-radius: 4px;

    color: #fff;

    font-size: 10px;
    font-weight: bold;

    line-height: 1.3;

    vertical-align: middle;
}


/* ---------------------------------------------------------
   Absender
   --------------------------------------------------------- */

.message-sender {
    margin: 0;
    padding: 10px 12px 3px;

    font-size: 13px;
}

.message-sender strong {
    color: #222;
}


/* ---------------------------------------------------------
   Nachrichtentext
   --------------------------------------------------------- */

.message-text {
    margin: 0;
    padding: 5px 12px 12px;
    line-height: 1.55;
    word-break: break-word;
}


/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.message-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 8px 12px;
    background: none 0 0,#ECECEC;
    border-top: 1px solid #CCD1D5;
}

.ad-contact-button {
    min-height: 0;
    padding: 7px 14px;    
}

.ad-back-link {
    display: inline-block;

    min-height: 0;
	padding: 7px 14px;

    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#FFFFFF;

    border: 1px solid #BFC5C9;
    border-radius: 4px;

    font-size: 13px;
    font-weight: normal;

    text-decoration: none;
    cursor: pointer;
}

.ad-back-link:hover {
    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#eeeeee;

    border-color: #555555;
}

/* ---------------------------------------------------------
   Nachrichten-Zähler
   --------------------------------------------------------- */

.message-unread-count {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 17px;
    height: 17px;

    margin-left: 4px;
    padding: 0 4px;

    background: #c40000;

    border-radius: 4px;

    color: #fff;

    font-size: 10px;
    font-weight: bold;

    line-height: 1;
}

/* ---------------------------------------------------------
   Erfolgsmeldung
   --------------------------------------------------------- */

.message-success {
	margin: 20px 0 0 0;
  	padding: 15px;
  	background: #edf7ed;
  	border: 1px solid #b7d8b7;
  	border-radius: 4px;
  	color: #286628;
  	font-size: 16px;
  	text-align: center;
  	font-weight: bold;
}

/* =========================================================
   KOMPATIBLE NACHRICHTENLISTE
   ========================================================= */

.message-list {
    width: 100%;
}

.message-list-item {
    margin-bottom: 10px;
    padding: 12px;

    background: #fff;

    border: 1px solid #CCD1D5;
    border-radius: 4px;
}

.message-list-item a {
    color: #2379B5;

    text-decoration: none;
}

.message-list-item a:hover {
    color: #C81919;
}

/* =========================================================
   UNTERHALTUNG
   ========================================================= */

.unterhaltung-header {
    display: flex;
    margin: 0 0 15px 0;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 7px 10px;
    background: none 0 0,#F8F8F8;
    border: 1px solid #CCD1D5;
    border-radius: 0 0 4px 4px;
}

.unterhaltung-header h2 {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
}

.unterhaltung-footer,
.marketplace-edit-actions {
	width: 100%;
	margin-top: 20px;
	display: flex;
  	align-items: center;
  	gap: 15px;
  	padding: 15px;
  	background: none 0 0,#ECECEC;
  	border: 1px solid #CCD1D5;
  	border-radius: 4px;
}

.marketplace-edit-actions22 {
	width: 100%;
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 14px;
    padding: 9px 12px;

    background: #EEE;

    border: 1px solid #CCD1D5;
    border-radius: 4px;
}

.conversation {
    width: 100%;
    max-width: 800px;

    margin: 20px auto;
}

.conversation-header {
    margin-bottom: 18px;
}

.conversation-header h1 {
    margin: 0 0 12px;

    color: #2379B5;
}

.conversation-ad,
.conversation-advertisement {
    width: 100%;

    margin: 0 0 12px;
    padding: 11px 14px;

    background: #f3f3f3;

    border: 1px solid #d0d0d0;
    border-radius: 4px;
}

.conversation-ad strong,
.conversation-advertisement strong {
    color: #222;
}

.conversation-list {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

/* ---------------------------------------------------------
   Alte und neue Nachrichtenklassen kompatibel
   --------------------------------------------------------- */

.conversation-message {
    width: fit-content;
    max-width: 70%;
    min-width: 500px;

    margin: 0 0 10px;
    padding: 12px 14px;

    border: 1px solid #CCD1D5;
    border-radius: 4px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .25);

    overflow-wrap: anywhere;
}

.conversation-message-other {
    margin-right: auto;
    border-left: 5px solid #C81919;
    background: #fbeded;
}

.conversation-message-mine {
    margin-left: auto;
    border-left: 5px solid #08a401;
    background: #e0ffde;
}

/* ---------------------------------------------------------
   Nachrichtenkopf
   --------------------------------------------------------- */

.conversation-header-inner,
.conversation-message-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 8px;
    padding-bottom: 7px;

    border-bottom: 1px solid #e1e1e1;
}

.conversation-message-header strong {
    font-size: 15px;
}

.conversation-message-mine .conversation-message-header strong,
.conversation-message.mine .conversation-message-header strong {
    color: #08a401;
}

.conversation-message-header time,
.conversation-header small {
    color: #777;

    font-size: 12px;

    white-space: nowrap;
}

.conversation-message-text {
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* ---------------------------------------------------------
   Aktionen
   --------------------------------------------------------- */

.conversation-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 20px;
    padding-top: 15px;

    border-top: 1px solid #d0d0d0;
}

.conversation-empty {
    padding: 15px;

    background: #fff;

    border: 1px solid #d0d0d0;
    border-radius: 4px;

    color: #555;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.image-lightbox {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 0, 0, .88);
}

.image-lightbox.open {
    display: flex;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox-image {
    display: block;

    max-width: 92vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    box-shadow: 0 5px 30px rgba(0, 0, 0, .5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;

    background: rgba(0, 0, 0, .55);

    color: #fff;

    cursor: pointer;

    line-height: 1;
}

.lightbox-close {
    top: 15px;
    right: 20px;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    font-size: 30px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;

    width: 48px;
    height: 64px;

    margin-top: -32px;

    border-radius: 4px;

    font-size: 45px;
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: #C81919;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .marketplace-ad-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .marketplace-card-image {
        height: 210px;
    }

    .marketplace-card-title {
        font-size: 16px;
    }

    .ad-detail-content {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(250px, 40%);

        gap: 18px;
    }

    .ad-main-image-wrapper {
        height: 400px;
    }
    
    .marketplace-willkommen-title {
	    font-size: 16px;
	}
	
	.marketplace-create-form {
        max-width: 100%;
    }

    .marketplace-image-preview {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

/* =========================================================
   HANDY
   ========================================================= */

@media (max-width: 700px) {

    /* Suche */

    .marketplace-search-row {
        display: flex;

        flex-direction: column;
        align-items: stretch;

        gap: 7px;
    }

    .marketplace-search-input,
    .marketplace-sort,
    .marketplace-search-button {
        width: 100%;
        flex-basis: auto;
    }


    /* Grid */

    .marketplace-ad-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    /* Kartenbild */

    .marketplace-card-image {
        height: 200px;
    }


    /* Karteninhalt */

    .marketplace-card-body {
        min-height: 145px;
    }

    .marketplace-card-title {
        font-size: 17px;

        padding-right: 110px;
    }

    .marketplace-card-price {
        font-size: 16px;
    }
    
    .marketplace-willkommen-title {
	    font-size: 16px;
	}

    /* Avatar */

    .marketplace-card-body .ad-user {
        top: 16px;
        right: 10px;
    }

    .marketplace-card-body .ad-user-avatar {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

    .marketplace-card-body .ad-user-link span {
        font-size: 14px;
    }


    /* Ort */

    .marketplace-card-location {
        left: 10px;
        bottom: 48px;
        max-width: 100%;
        font-size: 12px;
    }


    /* Footer */

    .marketplace-card-footer {
        left: 10px;
        right: 10px;
        bottom: 8px;

        font-size: 11px;
    }


    /* Detailseite */

    .ad-detail {
        width: 100%;
        max-width: none;
    }

    .ad-detail-header {
        margin-bottom: 15px;
    }

    .ad-detail-header h1 {
        font-size: 23px;
    }

    .ad-detail-gallery {
        margin-bottom: 15px;
    }

    .ad-main-image-wrapper {
        height: 300px;
    }

    .ad-detail-price {
        font-size: 24px;
    }

    .ad-detail-info,
	.ad-detail-contact,
	.ad-detail-description,
	.marketplace-create-form,
	.marketplace-edit-tool-box {
        margin-top: 15px;
        padding: 15px;
    }

    .ad-detail-meta {
        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }


    /* Thumbnails */

    .ad-thumbnails {
        flex-wrap: nowrap;

        width: 100%;

        overflow-x: auto;

        padding-bottom: 6px;

        -webkit-overflow-scrolling: touch;
    }

    .ad-thumbnail {
        flex: 0 0 76px;

        width: 76px;
        height: 58px;
    }


    /* Nachrichten */

    .message-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 4px;
    }

    .message-header small {
        margin-left: 0;

        white-space: normal;
    }

    .message-footer {
        align-items: stretch;

        flex-direction: column;
    }

    .message-footer .ad-contact-button,
    .message-footer .ad-back-link {
        width: 100%;

        text-align: center;
    }


    /* Unterhaltung */

    .conversation {
        width: 100%;

        margin: 15px 0;
    }

    .conversation-message {
        width: 94%;
        max-width: 94%;

        min-width: 0;
    }

    .conversation-message-header {
        display: block;
    }

    .conversation-message-header time {
        display: block;

        margin-top: 3px;
    }


    /* Formular */

    .message-create {
        max-width: 100%;
    }

    .message-form .form-actions {
        flex-wrap: wrap;
    }


    /* Lightbox */

    .image-lightbox {
        padding: 15px;
    }

    .lightbox-image {
        max-width: 96vw;
        max-height: 82vh;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 55px;

        margin-top: -27px;

        font-size: 38px;
    }

    .lightbox-prev {
        left: 6px;
    }

    .lightbox-next {
        right: 6px;
    }

    .lightbox-close {
        top: 8px;
        right: 8px;
    }
    
    /* Bilder rechts ausblenden */
    .site-bilder {
		display: none;
	}
	
	/* Menu */
	
	/* Desktop-Navigation weg */
    .marketplace-nav-desktop {
        display: none;
    }

    /* Mobile-Navigation anzeigen */
    .marketplace-nav-mobile {
        display: block;
        position: relative;
        width: 100%;
    }

    /* Menübutton */
    .marketplace-menu-button {
        display: flex;
        align-items: center;
        gap: 8px;

        width: 100%;
        height: 42px;

        padding: 0 12px;

        background: url(/images/css/bg4.jpg);

        border: 0;
        border-bottom: 1px solid #CCD1D5;

        color: #fff;

        font-size: 15px;
        font-weight: bold;

        text-align: left;
        cursor: pointer;
    }

    .marketplace-menu-button:hover {
        background: #1B3197;
    }

    /* Aufgeklapptes Menü */
    .marketplace-mobile-menu {
        display: none;

        width: 100%;

        background: #fff;

        border: 1px solid #CCD1D5;
        border-top: 0;
    }

    .marketplace-mobile-menu.open {
        display: block;
    }

    .marketplace-mobile-menu a {
        display: block;

        padding: 11px 12px;

        color: #2379B5;

        font-size: 14px;
        font-weight: bold;

        text-decoration: none;

        border-bottom: 1px solid #CCD1D5;
    }

    .marketplace-mobile-menu a:last-child {
        border-bottom: 0;
    }

    .marketplace-mobile-menu a:hover {
        background: #F3F3F3;
        color: #C81919;
    }
    
    .marketplace-create-form {
        width: 100%;
    }

    .marketplace-create-form .unterhaltung-footer {
        flex-direction: column;

        align-items: stretch;

        gap: 8px;
    }

    .marketplace-create-form .ad-contact-button,
    .marketplace-create-form .ad-back-link {
        width: 100%;

        text-align: center;
    }

    .marketplace-image-preview {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .marketplace-image-preview-item {
        height: 110px;
    }

}


/* =========================================================
   SEHR KLEINE HANDYS
   ========================================================= */

@media (max-width: 420px) {

    .grund-box-header {
        font-size: 17px;
    }

    .marketplace-card-image {
        height: 180px;
    }

    .marketplace-card-title {
        font-size: 16px;

        padding-right: 100px;
    }
    
    .marketplace-willkommen-title {
	    font-size: 14px;
	}

    .marketplace-card-price {
        font-size: 15px;

        padding: 5px 7px;
    }

    .marketplace-card-body .ad-user-avatar {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

    .marketplace-card-body .ad-user-link span {

        font-size: 13px;
    }

    .marketplace-card-footer {
        font-size: 10px;
    }

    .ad-main-image-wrapper {
        height: 260px;
    }

    .ad-detail-price {
        font-size: 22px;
    }

    .ad-detail-user-avatar {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .marketplace-form-input,
    .marketplace-form-textarea,
    .marketplace-create-form select {
        font-size: 13px;
    }

    .marketplace-image-preview {
        grid-template-columns: 1fr 1fr;
    }

    .marketplace-image-preview-item {
        height: 95px;
    }
}

/* =========================================================
   Neue Anzeige
   ========================================================= */



/* =========================================================
   FORMULAR Andreas
   ========================================================= */

/* =========================================================
   NEUE ANZEIGE
   ========================================================= */

.marketplace-create-form {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   Formulargruppen
   --------------------------------------------------------- */

.marketplace-form-group {
    width: 100%;
    margin: 0 0 15px;
}

.marketplace-form-label {
    display: block;

    margin: 0 0 6px;

    color: #777;

    font-size: 14px;
    font-weight: bold;
}


/* ---------------------------------------------------------
   Eingabefelder
   --------------------------------------------------------- */

.marketplace-form-input,
.marketplace-form-textarea,
.marketplace-create-form select {
    display: block;

    width: 100%;

    padding: 8px 10px;

    background: #fff;

    border: 1px solid #CCD1D5;
    border-radius: 4px;

    color: #252C2F;

    font-size: 14px;
    line-height: 1.4;

    outline: none;
}

.marketplace-form-input {
    height: 38px;
}

.marketplace-form-textarea {
    min-height: 180px;

    resize: vertical;
}

.marketplace-form-input:focus,
.marketplace-form-textarea:focus,
.marketplace-create-form select:focus {
    border-color: #2379B5;

    box-shadow:
        0 0 0 2px rgba(35, 121, 181, .10);
}


/* ---------------------------------------------------------
   Kategorie
   --------------------------------------------------------- */

.marketplace-create-form select.marketplace-sort {
    width: 100%;
    height: 38px;

    padding: 7px 10px;

    background: #fff;

    font-size: 14px;
}


/* ---------------------------------------------------------
   Bilder
   --------------------------------------------------------- */

.marketplace-form-file {
    display: block;

    width: 100%;

    padding: 8px;

    background: #fff;

    border: 1px solid #CCD1D5;
    border-radius: 4px;

    font-size: 13px;
}

.marketplace-form-hint {
    margin-top: 7px;

    color: #777;

    font-size: 12px;
}


/* ---------------------------------------------------------
   Bildvorschau
   --------------------------------------------------------- */

.marketplace-image-preview {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;

    margin-top: 12px;
}

.marketplace-image-preview-item {
    position: relative;

    width: 100%;
    height: 120px;

    overflow: hidden;

    background: #eee;

    border: 1px solid #CCD1D5;
    border-radius: 4px;
}

.marketplace-image-preview-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   ANZEIGE BEARBEITEN
   ========================================================= */

.marketplace-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
    gap: 20px;

    width: 100%;
    align-items: start;
}


/* =========================================================
   LINKE SEITE – FORMULAR
   ========================================================= */

.marketplace-edit-main .marketplace-form-group {
    width: 100%;
    margin: 0 0 14px;
}

.marketplace-edit-main .marketplace-form-label {
    display: block;

    margin: 0 0 6px;

    color: #777;

    font-size: 14px;
    font-weight: bold;
}

.marketplace-edit-main .marketplace-form-input,
.marketplace-edit-main .marketplace-form-textarea,
.marketplace-edit-main .marketplace-sort {
    display: block;

    width: 100%;
    max-width: none;

    padding: 8px 10px;

    background: #fff;

    border: 1px solid #CCD1D5;
    border-radius: 4px;

    color: #252C2F;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.marketplace-edit-main .marketplace-form-input,
.marketplace-edit-main .marketplace-sort {
    height: 38px;
}

.marketplace-edit-main .marketplace-form-textarea {
    min-height: 186px;
    line-height: 1;
    resize: vertical;
}

.marketplace-edit-main .marketplace-form-input:focus,
.marketplace-edit-main .marketplace-form-textarea:focus,
.marketplace-edit-main .marketplace-sort:focus {
    outline: none;

    border-color: #2379B5;

    box-shadow: 0 0 0 2px rgba(35, 121, 181, .10);
}


/* =========================================================
   PREIS
   ========================================================= */

.marketplace-price-input {
    position: relative;

    width: 100%;
}

.marketplace-price-input .marketplace-form-input {
    padding-right: 40px;
}

.marketplace-price-symbol {
    position: absolute;

    top: 50%;
    right: 14px;

    transform: translateY(-50%);

    color: #777;

    font-weight: bold;

    pointer-events: none;
}

/* =========================================================
   BOXEN RECHTS
   ========================================================= */

.marketplace-edit-tool-title {
    display: block;

    margin: 0 0 12px;

    color: #777;

    font-size: 16px;
    font-weight: bold;
}


/* =========================================================
   VORHANDENE BILDER
   ========================================================= */

.marketplace-edit-images {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.marketplace-edit-image-item {
    width: 232px;
    padding: 5px;
    background: #fff;
    border: 1px solid #CCD1D5;
    border-radius: 4px;
}

.marketplace-edit-image {
    display: block;

    width: 100%;
    height: 105px;

    object-fit: cover;

    border-radius: 4px;
}

.marketplace-edit-image-delete-form {
    margin-top: 5px;
    text-align: center;
}


/* =========================================================
   DATEI UPLOAD
   ========================================================= */

.marketplace-edit-sidebar .marketplace-form-file {
    display: block;

    width: 100%;

    padding: 8px;

    background: #fff;

    border: 1px solid #CCD1D5;
    border-radius: 4px;

    font-size: 13px;
}

.marketplace-form-hint {
    margin-top: 7px;

    color: #777;

    font-size: 12px;
}


/* =========================================================
   NEUE BILDER VORSCHAU
   ========================================================= */

.marketplace-image-preview {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 10px;
}

.marketplace-image-preview-item {
    width: 100px;
    height: 75px;

    padding: 3px;

    background: #fff;

    border: 1px solid #CCD1D5;
    border-radius: 4px;
}

.marketplace-image-preview-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   LÖSCHEN BOX
   ========================================================= */

.marketplace-edit-delete-box p {
    margin: 0 0 14px;

    color: #777;

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .marketplace-edit-layout {
        grid-template-columns: minmax(0, 1fr) 320px;

        gap: 16px;
    }

}

@media (max-width: 1280px) {

	.marketplace-edit-image-item {
	    width: 200px;
	}
}
	
@media (max-width: 1120px) {

	.marketplace-edit-image-item {
	    width: 170px;
	}
}
	
@media (max-width: 970px) {

	.marketplace-edit-image-item {
	    width: 150px;
	}
}
	
@media (max-width: 750px) {

	.marketplace-edit-image-item {
	    width: 130px;
	}
}

/* =========================================================
   HANDY
   ========================================================= */

@media (max-width: 700px) {
	
	.marketplace-edit-image-item {
	    width: 200px;
	}

    .marketplace-edit-layout {
        display: block;
    }

    .marketplace-edit-main .marketplace-form-textarea {
        min-height: 200px;
    }

    .marketplace-edit-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .marketplace-edit-actions .ad-contact-button,
    .marketplace-edit-actions .ad-back-link {
        width: 100%;
    }
    
    .marketplace-extend-button {
        width: 100%;
    }
    
    .marketplace-button-sold {
        width: 100%;
    }

}


/* =========================================================
   SEHR KLEINE HANDYS
   ========================================================= */

@media (max-width: 420px) {

    .marketplace-edit-image-item {
        width: 100%;
    }

    .marketplace-edit-image {
        height: 160px;
    }

}

/* =========================================================
   ANZEIGE VERLÄNGERN
   ========================================================= */

.marketplace-extend-box p {
    margin: 0 0 12px;

    color: #777;

    font-size: 13px;
    line-height: 1.5;
}

.marketplace-expiry-info {
    padding: 9px 10px;

    background: #fff;

    border: 1px solid #CCD1D5;
    border-radius: 4px;
}

.marketplace-expiry-info strong {
    color: #2379B5;
}


/* ---------------------------------------------------------
   Verlängern Button
   --------------------------------------------------------- */

.marketplace-extend-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 0 15px;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.10) 0%,
            rgba(255,255,255,0) 50%,
            rgba(255,255,255,.70) 100%
        ),
        #2379B5;

    border: 1px solid #1B3197;
    border-radius: 4px;

    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;

    cursor: pointer;
}

.marketplace-extend-button:hover {
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.10) 0%,
            rgba(255,255,255,0) 50%,
            rgba(255,255,255,.70) 100%
        ),
        #1B3197;

    border-color: #C81919;
}

/* =========================================================
   STATUS
   ========================================================= */

.my-marketplace-card .marketplace-card-image::after {
    position: absolute !important;

    top: 10px !important;
    left: 10px !important;

    z-index: 9999 !important;

    display: inline-block !important;

    width: auto !important;
    height: auto !important;

    padding: 6px 10px !important;

    border-radius: 4px;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;

    white-space: nowrap;

    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);

    pointer-events: none;
}

.my-card-info {
	display: block !important;
    visibility: visible !important;
    font-size: 13px;
    color: #777;
    padding: 11px 11px !important;
    
    background: none 0 0,#ECECEC;
	border-top: 1px solid #CCD1D5;
}

.my-card-info strong {
    color: #C81919 !important;
    font-weight: bold;
}

.my-card-runtime {
	display: block !important;
    visibility: visible !important;
    font-size: 13px;
    color: #777;
}

.my-card-runtime strong {
    color: #C81919 !important;
    font-weight: bold;
}

/* =========================================================
   GELÖSCHT
   ========================================================= */

.my-marketplace-card.status-deleted
.marketplace-card-image::after {
    content: "Gelöscht";

    background: #C81919 !important;

    border: 1px solid #1B3197 !important;

    color: #FFFFFF !important;
}


/* =========================================================
   AKTIV
   ========================================================= */

.my-marketplace-card.status-active
.marketplace-card-image::after {
    content: "Aktiv";

    background: #2379B5 !important;

    border: 1px solid #1B3197 !important;

    color: #FFFFFF !important;
}


/* =========================================================
   VERKAUFT
   ========================================================= */

.my-marketplace-card.status-sold
.marketplace-card-image::after {
    content: "Verkauft";

    background: #dcfaec !important;

    border: 1px solid #1c703f !important;

    color: #1c703f !important;
}


/* =========================================================
   ABGELAUFEN
   ========================================================= */

.my-marketplace-card.status-expired
.marketplace-card-image::after {
    content: "Abgelaufen";

    background: #777777 !important;

    border: 1px solid #555555 !important;

    color: #FFFFFF !important;
}


/* =========================================================
   ENTWURF
   ========================================================= */

.my-marketplace-card.status-draft
.marketplace-card-image::after {
    content: "Entwurf";

    background: #EEEEEE !important;

    border: 1px solid #AAAAAA !important;

    color: #555555 !important;
}

/* =========================================================
   Als verkauft markieren
   ========================================================= */

.marketplace-button-sold {
	display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 0 15px;
	
	background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#dcfaec;
    border: 1px solid #1c703f;
    border-radius: 4px;

    color: #1c703f;
    
    font-size: 13px;
    font-weight: bold;

    line-height: 1;

    text-decoration: none !important;

    cursor: pointer;
}

.marketplace-button-sold:hover {
    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#1B3197;

    border-color: #C81919;
    
    color: #fff !important;
}

/* =========================================================
   VERKAUFT – MARKTPLATZ-KARTE
   ========================================================= */

.marketplace-card-image {
    position: relative;
}

.marketplace-card-sold,
.advertisement-sold-notice {
    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px 10px;

     background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#dcfaec;
    border: 1px solid #1c703f;
    border-radius: 4px;

    color: #1c703f;

    font-size: 13px;
    font-weight: bold;
    line-height: 1;

    text-transform: uppercase;

    box-shadow:
        0 1px 3px
        rgba(0, 0, 0, 0.25);
}

.conversation-closed {
    display: inline-block;
    padding: 8px 12px;
    background: none 0 0,linear-gradient(to top,rgba(0,0,0,0.1) 0%,rgba(255,255,255,0.0) 50%,rgba(255,255,255,0.7) 100%),#C81919;

    border: 1px solid #1B3197;
    border-radius: 4px;

    color: #fff !important;

    font-size: 13px;
    font-weight: bold;
}