.measures_listing_item {
  display: block;
  margin-top: 15px;
  border: 1px solid #ccc;
  position: relative;
}

.measures_listing_item a {
  display: block;
  padding-top: 5px;
  padding-right: 15px;
  padding-left: 15px;
  background-color: #fbfce8;
  text-decoration: none !important;
}
/*.measures_listing_item:hover {
			margin: -2PX;
			margin-bottom: 13px;
			}*/
.measures_listing_item a:hover {
  background-color: #ffdd00;
  /*padding: 2px 15px;
			margin: -2PX;*/
}
.measures_listing_item a span {
  text-decoration: none !important;
  color: #333333;
}
.measures_listing_item span {
  /*display: inline-block;*/
  padding: 3px;
  /*margin-top: -10px;*/
}
.measures_listing_item span:nth-child(1) {
  margin-top: 15px;
  /*width: 100px;*/
}
.measures_listing_item span:nth-child(1) img {
  width: 10px;
}
.measures_listing_item span:nth-child(2) {
  /*width: 100px;*/
  margin-top: -10px;
}
.measures_listing_item span:nth-child(3) {
  /*width: 100px;*/
}
.measures_listing_item span:nth-child(3):before {
  /*content:" - ";*/
}
.measures_listing_item span:nth-child(4) {
  /*width: 100px;*/
  float: right;
  padding-right: 40px;
  padding-top: 0px !important;
}
.measures_listing_item span:nth-child(4):before {
  /* content: "Bewerbungsfrist -"; */
  margin-top: -10px;
}
.measures_listing_item span:nth-child(5) {
  /*font-size: 20px;*/
  font-weight: 700;
  width: 100%;
  padding-left: 20px;
  display: block;
  clear: right;
  color: #555;
}
.measures_listing_item span:nth-child(6) {
  position: absolute;
  right: 10px;
  top: 0px;
}
.measures_listing_item span:nth-child(6) img {
  width: 30px;
}
.item-row-wrapper {
  width: 100%;
	position: absolute;
  top: -250px;
  background-color: rgba(255, 235, 135, 0.90);
  padding: 5px;
  display: none;
  height:1px;
	z-index:99;
}
.show_details {
  display: block;
  height:auto;
}
.measures_listing_item.show_details a {
	border:0px;
	background-color: rgba(255, 235, 135, 0.90);
}
.item-row-wrapper {
	-webkit-transition: 1.5s all;
	-moz-transition: 1.5s all;
	-ms-transition: 1.5s all;
	-o-transition: 1.5s all;
	transition: 1.5s all;
}
.close-item-detail {
  display: block;
  text-align: right;
  padding: 5px 10px;
  color: #333333;
  font-weight: 700;
}
.close-item-detail:before {
  content: 'X';
  padding-right: 10px;
}
.item-row {
  margin-bottom: 5px;
  display: flex;
  background-color: #FFFFFF;
  padding: 5px 0.5%;
}
.item-row-first {
  width: 39%;
  display: inline-block;
  margin-right: 1%;
}
.item-row-second {
  width: 70%;
  display: inline-block;
}
.register-button {
  padding: 20px;
  text-align: center;
  display: block;
  background-color: #7c837d;
  color: #fff;
  font-weight: 700;
  margin: 10px;
  border-radius: 5px;
}
.quick-search-wrapper {
padding: 10px;
	background-color: #FBFCE8;
	border: 1px solid #CCCCCC;
}
.quick-search-wrapper input[type="text"] {
	width: 100%; 
	margin-bottom: 10px;
	background-color:#fafafa ;
	padding: 5px;
	border: 1px solid #cccccc;
}
.quick-search-wrapper input[type="submit"] {
	width: 100%; 
	margin-bottom: 10px;
	background-color:#13B013 ;
	color: #ffffff;
	padding: 5px;
	border: 1px solid #cccccc;
}
.option-wrapper {
display: flex;
align-items: flex-start;
}
.option-wrapper input[type="radio"]{
	margin-top: 5px;
}
.quick-search-wrapper label {
	margin-left: 5px;
	width: 100%; margin-bottom: 10px;
}
.official_contact-wrapper {
display: none;
}
.f-content {
	z-index: 0;
}
.content .column.right {
	z-index: 0;
}

@media (max-width: 1024px) {
	.content .sli .print {
	display: none;
	}
	.content .sli .share {
    right: 0px;
		line-height:normal;
}
.sli {
	height: auto;
	}
.content .sli .sli_link {
    padding: 2px 6px 2px 0;
	
	}
  .item-row-wrapper {
    position: absolute;
    /*display: block;*/
    width: calc(100% - 10px);
    top: -320px;
	  z-index: 1300;
	  left: 5px;
			right: 5px;
  }
  .content .column.center {
    width: 100%;
  }
}


@media (max-width: 800px) {
		.item-row {
    width: 100%;
    display: block;
			}
.item-row-first {
	font-weight: 700;
	}
.item-row-second
 {
    width: 100%;
}

@media (max-width: 450px) {
	.item-row-first {
    width: 100%;
    display: block;
		
}
.item-row-wrapper {
    top: -170px;
}
.item-row-second {
    width: 100%;
    display: block;
}
	
	.measures_listing_item span:nth-child(5) {
		padding: 0;
	}
	.measures_listing_item span:nth-child(4)::before {
  content: "";
}

    .option-wrapper {
        margin-bottom: 15px;
    }
    
    .official_contact-wrapper {
        display: none;
        margin-top: 15px;
        border-radius: 4px;
    }
    
    .official_contact-wrapper.form-show {
        display: block;
    }
    
    .checkbox {
        margin-right: 10px;
    }
    
    button[type="submit"] {
        background-color: #005495;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        width: 100%;
        margin-top: 20px;
    }
    
    button[type="submit"]:hover {
        background-color: #004480;
    }
    
    .contactinfo {
        margin-top: 20px;
        font-size: 0.9em;
    }
    
    .required {
        color: red;
    }
    
    .success-message {
        background-color: #dff0d8;
        color: #3c763d;
        padding: 15px;
        margin-bottom: 20px;
        border: 1px solid #d6e9c6;
        border-radius: 4px;
    }
    
    .error-message {
        background-color: #f2dede;
        color: #a94442;
        padding: 15px;
        margin-bottom: 20px;
        border: 1px solid #ebccd1;
        border-radius: 4px;
    }
    
    .form-section input, 
    .official_contact-wrapper input {
        margin-bottom: 10px;
        padding: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-datenschutz {
        position: relative; 
        left: 0; 
        margin-right: 10px; 
        display: inline-block !important;
        width: auto !important;
    }

    .quick-search-wrapper {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.quick-search-wrapper h3 {
    margin-top: 0;
    color: #005495;
}

.option-wrapper {
    margin-bottom: 10px;
}

.option-wrapper input[type="radio"] {
    margin-right: 5px;
}

.quick-search-wrapper input[type="text"] {
    padding: 8px;
    margin: 5px 0;
    width: 100%;
    box-sizing: border-box;
}

.quick-search-wrapper input[type="submit"] {
    background-color: #005495;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.quick-search-wrapper input[type="submit"]:hover {
    background-color: #004480;
}

.search-params {
    background-color: #e9f7ff;
    padding: 10px 20px;
    border-left: 4px solid #005495;
    margin-bottom: 20px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.results-table th, .results-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.results-table th {
    background-color: #005495;
    color: white;
}

.results-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.btn-details, .btn-register {
    display: inline-block;
    margin-right: 5px;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
    color: white;
}

.btn-details {
    background-color: #4CAF50;
}

.btn-register {
    background-color: #005495;
}

.btn-details:hover, .btn-register:hover {
    opacity: 0.8;
}

.no-results {
    padding: 20px;
    background-color: #f8f8f8;
    border-left: 4px solid #ff9800;
}

/* Datepicker styles */
.datepicker {
    width: 48%;
    display: inline-block;
}